@robotical/martyblocks 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.min.js +1 -1
- package/package.json +1 -1
package/dist/lib.min.js
CHANGED
|
@@ -93,7 +93,7 @@ e.exports=function(){"use strict";var e=Object.hasOwnProperty,A=Object.setProtot
|
|
|
93
93
|
* @author Yotam Mann
|
|
94
94
|
* @license http://opensource.org/licenses/MIT MIT License
|
|
95
95
|
* @copyright 2016 Yotam Mann
|
|
96
|
-
*/n=[],void 0===(a="function"==typeof(o=function(){var e=function(e,A){this._dragged=!1,this._element=e,this._bindedMove=this._moved.bind(this),this._bindedEnd=this._ended.bind(this,A),e.addEventListener("touchstart",this._bindedEnd),e.addEventListener("touchmove",this._bindedMove),e.addEventListener("touchend",this._bindedEnd),e.addEventListener("mouseup",this._bindedEnd)};function A(e){return"running"===e.state}return e.prototype._moved=function(e){this._dragged=!0},e.prototype._ended=function(e){this._dragged||function(e){var A=e.createBuffer(1,1,e.sampleRate),t=e.createBufferSource();t.buffer=A,t.connect(e.destination),t.start(0),e.resume&&e.resume()}(e),this._dragged=!1},e.prototype.dispose=function(){this._element.removeEventListener("touchstart",this._bindedEnd),this._element.removeEventListener("touchmove",this._bindedMove),this._element.removeEventListener("touchend",this._bindedEnd),this._element.removeEventListener("mouseup",this._bindedEnd),this._bindedMove=null,this._bindedEnd=null,this._element=null},function(t,o,n){var a=new Promise(function(e){!function(e,t){A(e)?t():function o(){A(e)?t():(requestAnimationFrame(o),e.resume&&e.resume())}()}(t,e)}),i=[];return o||(o=document.body),function A(t,o,n){if(Array.isArray(t)||NodeList&&t instanceof NodeList)for(var a=0;a<t.length;a++)A(t[a],o,n);else if("string"==typeof t)A(document.querySelectorAll(t),o,n);else if(t.jquery&&"function"==typeof t.toArray)A(t.toArray(),o,n);else if(Element&&t instanceof Element){var i=new e(t,n);o.push(i)}}(o,i,t),a.then(function(){for(var e=0;e<i.length;e++)i[e].dispose();i=null,n&&n()}),a}})?o.apply(A,n):o)||(e.exports=a)},function(e,A,t){!function(A,o){e.exports=o(t(1),t(0))}("undefined"!=typeof self&&self,function(e,A){return function(e){var A={};function t(o){if(A[o])return A[o].exports;var n=A[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=A,t.d=function(e,A,o){t.o(e,A)||Object.defineProperty(e,A,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(A,"a",A),A},t.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},t.p="",t(t.s=2)}([function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){console.warn("[react-ga]",e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return e.replace(/^\s+|\s+$/g,"")}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.testModeAPI=A.OutboundLink=A.plugin=void 0;var o=Object.assign||function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};A.initialize=I,A.ga=Q,A.set=M,A.send=y,A.pageview=b,A.modalview=T,A.timing=S,A.event=D,A.exception=k,A.outboundLink=R;var a=d(t(3)),i=d(t(6)),r=d(t(1)),s=d(t(7)),l=d(t(0)),u=d(t(8)),c=d(t(9)),g=d(t(10));function d(e){return e&&e.__esModule?e:{default:e}}var B=!1,h=!0,E=!1,m=!0,p=function(){var e;return E?c.default.ga.apply(c.default,arguments):window.ga?(e=window).ga.apply(e,arguments):(0,l.default)("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually")};function C(e){return(0,a.default)(e,h)}function w(e){for(var A=arguments.length,t=Array(A>1?A-1:0),o=1;o<A;o++)t[o-1]=arguments[o];var n=t[0];if("function"==typeof p){if("string"!=typeof n)return void(0,l.default)("ga command must be a string");!m&&Array.isArray(e)||p.apply(void 0,t),Array.isArray(e)&&e.forEach(function(e){p.apply(void 0,function(e){if(Array.isArray(e)){for(var A=0,t=Array(e.length);A<e.length;A++)t[A]=e[A];return t}return Array.from(e)}([e+"."+n].concat(t.slice(1))))})}}function f(e,A){e?(A&&(A.debug&&!0===A.debug&&(B=!0),!1===A.titleCase&&(h=!1)),A&&A.gaOptions?p("create",e,A.gaOptions):p("create",e,"auto")):(0,l.default)("gaTrackingID is required in initialize()")}function I(e,A){if(A&&!0===A.testMode)E=!0;else{if("undefined"==typeof window)return!1;(0,s.default)(A)}return m=!A||"boolean"!=typeof A.alwaysSendToDefaultTracker||A.alwaysSendToDefaultTracker,Array.isArray(e)?e.forEach(function(e){"object"===(void 0===e?"undefined":n(e))?f(e.trackingId,e):(0,l.default)("All configs must be an object")}):f(e,A),!0}function Q(){for(var e=arguments.length,A=Array(e),t=0;t<e;t++)A[t]=arguments[t];return A.length>0&&(p.apply(void 0,A),B&&((0,u.default)("called ga('arguments');"),(0,u.default)("with arguments: "+JSON.stringify(A)))),window.ga}function M(e,A){e?"object"===(void 0===e?"undefined":n(e))?(0===Object.keys(e).length&&(0,l.default)("empty `fieldsObject` given to .set()"),w(A,"set",e),B&&((0,u.default)("called ga('set', fieldsObject);"),(0,u.default)("with fieldsObject: "+JSON.stringify(e)))):(0,l.default)("Expected `fieldsObject` arg to be an Object"):(0,l.default)("`fieldsObject` is required in .set()")}function y(e,A){w(A,"send",e),B&&((0,u.default)("called ga('send', fieldObject);"),(0,u.default)("with fieldObject: "+JSON.stringify(e)),(0,u.default)("with trackers: "+JSON.stringify(A)))}function b(e,A,t){if(e){var n=(0,r.default)(e);if(""!==n){var a={};if(t&&(a.title=t),w(A,"send",o({hitType:"pageview",page:n},a)),B){(0,u.default)("called ga('send', 'pageview', path);");var i="";t&&(i=" and title: "+t),(0,u.default)("with path: "+n+i)}}else(0,l.default)("path cannot be an empty string in .pageview()")}else(0,l.default)("path is required in .pageview()")}function T(e,A){if(e){var t=(0,i.default)((0,r.default)(e));if(""!==t){var o="/modal/"+t;w(A,"send","pageview",o),B&&((0,u.default)("called ga('send', 'pageview', path);"),(0,u.default)("with path: "+o))}else(0,l.default)("modalName cannot be an empty string or a single / in .modalview()")}else(0,l.default)("modalName is required in .modalview(modalName)")}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=e.category,t=e.variable,o=e.value,n=e.label,a=arguments[1];if(A&&t&&o&&"number"==typeof o){var i={hitType:"timing",timingCategory:C(A),timingVar:C(t),timingValue:o};n&&(i.timingLabel=C(n)),y(i,a)}else(0,l.default)("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=arguments[1],t=e.category,o=e.action,n=e.label,a=e.value,i=e.nonInteraction,r=e.transport,s=function(e,A){var t={};for(var o in e)A.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}(e,["category","action","label","value","nonInteraction","transport"]);if(t&&o){var u={hitType:"event",eventCategory:C(t),eventAction:C(o)};n&&(u.eventLabel=C(n)),void 0!==a&&("number"!=typeof a?(0,l.default)("Expected `args.value` arg to be a Number."):u.eventValue=a),void 0!==i&&("boolean"!=typeof i?(0,l.default)("`args.nonInteraction` must be a boolean."):u.nonInteraction=i),void 0!==r&&("string"!=typeof r?(0,l.default)("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(r)&&(0,l.default)("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=r)),Object.keys(s).filter(function(e){return"dimension"===e.substr(0,"dimension".length)}).forEach(function(e){u[e]=s[e]}),Object.keys(s).filter(function(e){return"metric"===e.substr(0,"metric".length)}).forEach(function(e){u[e]=s[e]}),y(u,A)}else(0,l.default)("args.category AND args.action are required in event()")}function k(e,A){var t=e.description,o=e.fatal,n={hitType:"exception"};t&&(n.exDescription=C(t)),void 0!==o&&("boolean"!=typeof o?(0,l.default)("`args.fatal` must be a boolean."):n.exFatal=o),y(n,A)}var N=A.plugin={require:function(e,A){if(e){var t=(0,r.default)(e);if(""!==t)if(A){if("object"!==(void 0===A?"undefined":n(A)))return void(0,l.default)("Expected `options` arg to be an Object");0===Object.keys(A).length&&(0,l.default)("Empty `options` given to .require()"),Q("require",t,A),B&&(0,u.default)("called ga('require', '"+t+"', "+JSON.stringify(A))}else Q("require",t),B&&(0,u.default)("called ga('require', '"+t+"');");else(0,l.default)("`name` cannot be an empty string in .require()")}else(0,l.default)("`name` is required in .require()")},execute:function(e,A){var t=void 0,o=void 0;if(1==(arguments.length<=2?0:arguments.length-2)?t=arguments.length<=2?void 0:arguments[2]:(o=arguments.length<=2?void 0:arguments[2],t=arguments.length<=3?void 0:arguments[3]),"string"!=typeof e)(0,l.default)("Expected `pluginName` arg to be a String.");else if("string"!=typeof A)(0,l.default)("Expected `action` arg to be a String.");else{var n=e+":"+A;t=t||null,o&&t?(Q(n,o,t),B&&((0,u.default)("called ga('"+n+"');"),(0,u.default)('actionType: "'+o+'" with payload: '+JSON.stringify(t)))):t?(Q(n,t),B&&((0,u.default)("called ga('"+n+"');"),(0,u.default)("with payload: "+JSON.stringify(t)))):(Q(n),B&&(0,u.default)("called ga('"+n+"');"))}}};function R(e,A,t){if("function"==typeof A)if(e&&e.label){var o={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:C(e.label)},n=!1,a=setTimeout(function(){n=!0,A()},250);o.hitCallback=function(){clearTimeout(a),n||A()},y(o,t)}else(0,l.default)("args.label is required in outboundLink()");else(0,l.default)("hitCallback function is required")}g.default.origTrackLink=g.default.trackLink,g.default.trackLink=R;var F=A.OutboundLink=g.default;A.testModeAPI=c.default;A.default={initialize:I,ga:Q,set:M,send:y,pageview:b,modalview:T,timing:S,event:D,exception:k,plugin:N,outboundLink:R,OutboundLink:F,testModeAPI:c.default}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e,A){if((0,o.default)(e))return(0,a.default)("This arg looks like an email address, redacting."),r;if(A)return(0,n.default)(e);return e};var o=i(t(4)),n=i(t(5)),a=i(t(0));function i(e){return e&&e.__esModule?e:{default:e}}var r="REDACTED (Potential Email Address)"},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return/[^@]+@[^@]+/.test(e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return(0,o.default)(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(e,A,t){return A>0&&A+e.length!==t.length&&e.search(n)>-1&&":"!==t.charAt(A-2)&&("-"!==t.charAt(A+e.length)||"-"===t.charAt(A-1))&&t.charAt(A-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})};var o=function(e){return e&&e.__esModule?e:{default:e}}(t(1));var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){if("/"===e.substring(0,1))return e.substring(1);return e}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){!function(e,A,t,o,n,a,i){e.GoogleAnalyticsObject=n,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,a=A.createElement(t),i=A.getElementsByTagName(t)[0],a.async=1,a.src=o,i.parentNode.insertBefore(a,i)}(window,document,"script",e&&e.gaAddress?e.gaAddress:"https://www.google-analytics.com/analytics.js","ga")}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){console.info("[react-ga]",e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var o=A.gaCalls=[];A.default={calls:o,ga:function(){for(var e=arguments.length,A=Array(e),t=0;t<e;t++)A[t]=arguments[t];o.push([].concat(A))}}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var o=Object.assign||function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},n=function(){function e(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(A,t,o){return t&&e(A.prototype,t),o&&e(A,o),A}}(),a=t(11),i=l(a),r=l(t(12)),s=l(t(0));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,A){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!A||"object"!=typeof A&&"function"!=typeof A?e:A}var c="_blank",g=1,d=function(e){function A(){var e,t,o;!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,A);for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];return t=o=u(this,(e=A.__proto__||Object.getPrototypeOf(A)).call.apply(e,[this].concat(a))),o.handleClick=function(e){var t=o.props,n=t.target,a=t.eventLabel,i=t.to,r=t.onClick,s={label:a},l=n!==c,u=!(e.ctrlKey||e.shiftKey||e.metaKey||e.button===g);l&&u?(e.preventDefault(),A.trackLink(s,function(){window.location.href=i})):A.trackLink(s,function(){}),r&&r(e)},u(o,t)}return function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function, not "+typeof A);e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(e,A):e.__proto__=A)}(A,a.Component),n(A,[{key:"render",value:function(){var e=o({},this.props,{href:this.props.to,onClick:this.handleClick});return delete e.eventLabel,i.default.createElement("a",e)}}]),A}();d.propTypes={eventLabel:r.default.string.isRequired,target:r.default.string,to:r.default.string,onClick:r.default.func},d.defaultProps={target:null,to:null,onClick:null},d.trackLink=function(){(0,s.default)("ga tracking not enabled")},A.default=d},function(A,t){A.exports=e},function(e,t){e.exports=A}])})},function(e,A,t){"use strict";(function(e,o){var n,a=t(576);n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var i=Object(a.a)(n);A.a=i}).call(this,t(36),t(1006)(e))},function(e,A,t){var o=t(1370);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/f3cd3bde88a384bf6757c9f30508cdd6.svg"},function(e,A,t){e.exports=t.p+"static/assets/abdb9221f6fe3367ae1d899e2352d2e3.svg"},function(e,A,t){e.exports=t.p+"static/assets/6e61fa7e48326bd2026d28e7a62884b1.svg"},function(e,A,t){e.exports=t.p+"static/assets/59c79fa681b1421547664294a259b2d8.svg"},function(e,A,t){var o=t(1471);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1504);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1510);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1512);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/610fb87d66b6749aeb96d475ceb62940.svg"},function(e,A,t){var o=t(1521);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1522);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/a80790c977586cc0595b5fe2f0bcb39a.svg"},function(e,A,t){e.exports=t.p+"static/assets/33592a76d0d0fdaa4a32b2ea41db5e16.svg"},function(e,A,t){var o=t(1617);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},,function(e,A,t){e.exports=t.p+"static/assets/8e7cb60d08d6316d55de80f880f1957c.gif"},function(e,A,t){e.exports=t.p+"static/assets/ac973b51892f4a335817a8509bc79a0a.gif"},function(e,A,t){e.exports=t.p+"static/assets/5c81be8fab4f5ed793554698938ff7f8.gif"},function(e,A,t){e.exports=t.p+"static/assets/514e6c5a07dde1ec563dea1c9f37f7a8.gif"},function(e,A,t){e.exports=t.p+"static/assets/95be8547447707daedc68ea89d7b9370.gif"},function(e,A,t){e.exports=t.p+"static/assets/184c344a10392a68baad7b825db5a822.gif"},function(e,A,t){e.exports=t.p+"static/assets/fff00873b289b4bf62356568b8852ff0.gif"},function(e,A,t){e.exports=t.p+"static/assets/7b80fcafc9fc92e3bd91a895acf4ca7a.gif"},function(e,A,t){e.exports=t.p+"static/assets/df28596aead9efac5480b1f106abdba3.gif"},function(e,A,t){e.exports=t.p+"static/assets/cbc57fb42f120b648895bb45f239e189.gif"},function(e,A,t){e.exports=t.p+"static/assets/4555e8b691e842b0d459d451bb259f4d.gif"},function(e,A,t){e.exports=t.p+"static/assets/22c4291ba7654bf25a16d92e827d0a43.gif"},function(e,A,t){e.exports=t.p+"static/assets/53d7e392dc0f35620dc77321555a936e.gif"},function(e,A,t){e.exports=t.p+"static/assets/65be0c15b22044e29d75368efe3c0203.gif"},function(e,A,t){e.exports=t.p+"static/assets/ace767df9a3f8b309d6f873c01afb4e4.gif"},function(e,A,t){e.exports=t.p+"static/assets/3cbe5be8dba7df255a9049fa3db394d4.gif"},function(e,A,t){e.exports=t.p+"static/assets/0ff20e4e8ba2ba2ed8a7095b99add518.gif"},function(e,A,t){e.exports=t.p+"static/assets/f79950112152d30a89c54961386d3333.png"},function(e,A,t){e.exports=t.p+"static/assets/818cc10dfee980fa11921930747a6cf9.png"},function(e,A,t){e.exports=t.p+"static/assets/81dc21a52d314d1c74b6f74ddc4e8e41.png"},function(e,A,t){e.exports=t.p+"static/assets/fa4d69d8edddf8ec00b0cf01c7ab0261.gif"},function(e,A,t){e.exports=t.p+"static/assets/f6f98a31ec06445bd1c27a3187ae25f0.png"},function(e,A,t){e.exports=t.p+"static/assets/dcd4e99c8ddf7634ce04803950b7e266.png"},function(e,A,t){e.exports=t.p+"static/assets/936c6f5135224fb98155587e33f3159f.gif"},function(e,A,t){e.exports=t.p+"static/assets/85a7793e786650bb42e91693642f26c9.png"},function(e,A,t){e.exports=t.p+"static/assets/276b880da7173e717f5265fa518a3729.gif"},function(e,A,t){e.exports=t.p+"static/assets/d859e71f6a54417d6f5d7ec226db6f43.png"},function(e,A,t){e.exports=t.p+"static/assets/a179def1e7266cfec58e468b70457ca0.png"},function(e,A,t){e.exports=t.p+"static/assets/eb965ba88ced446fbd45955fe708beba.png"},function(e,A,t){e.exports=t.p+"static/assets/4c04f0198c7c4910c95d5dc814024c7f.png"},function(e,A,t){e.exports=t.p+"static/assets/7fe1b937b85dc7fdeded6837bea60a67.png"},function(e,A,t){e.exports=t.p+"static/assets/bbf018f66a2d2b8c058dd17bf19930fd.png"},function(e,A,t){e.exports=t.p+"static/assets/d5f67ae3bf2225695aa7ed656082a31f.png"},function(e,A,t){e.exports=t.p+"static/assets/7382ef4a40ab40e4fec38b912a5c9ad7.png"},function(e,A,t){e.exports=t.p+"static/assets/ff0df5482586d3a39668fa088681b027.png"},function(e,A,t){e.exports=t.p+"static/assets/67b5215a40ed284e31bd327d6303741d.png"},function(e,A,t){e.exports=t.p+"static/assets/4fbcf2c035110247216ce61d5f7429fc.png"},function(e,A,t){e.exports=t.p+"static/assets/424584aa0d2284485934a8edf4645566.png"},function(e,A,t){e.exports=t.p+"static/assets/c2073917e0491bdcb2d046d298bcd083.png"},function(e,A,t){"use strict";var o={};Object.freeze(o),e.exports=o},function(e,A,t){"use strict";var o=function(e){};o=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")},e.exports=function(e,A,t,n,a,i,r,s){if(o(A),!e){var l;if(void 0===A)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,n,a,i,r,s],c=0;(l=new Error(A.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,A,t){"use strict";var o=t(228);o=function(e,A){if(void 0===A)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==A.indexOf("Failed Composite propType: ")&&!e){for(var t=arguments.length,o=Array(t>2?t-2:0),n=2;n<t;n++)o[n-2]=arguments[n];(function(e){for(var A=arguments.length,t=Array(A>1?A-1:0),o=1;o<A;o++)t[o-1]=arguments[o];var n=0,a="Warning: "+e.replace(/%s/g,function(){return t[n++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[A].concat(o))}},e.exports=o},function(e,A,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,A){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,A,t){var o=t(186),n=t(81).document,a=o(n)&&o(n.createElement);e.exports=function(e){return a?n.createElement(e):{}}},function(e,A,t){var o=t(81),n=t(308),a=t(427),i=t(428)("src"),r=Function.toString,s=(""+r).split("toString");t(121).inspectSource=function(e){return r.call(e)},(e.exports=function(e,A,t,r){var l="function"==typeof t;l&&(a(t,"name")||n(t,"name",A)),e[A]!==t&&(l&&(a(t,i)||n(t,i,e[A]?""+e[A]:s.join(String(A)))),e===o?e[A]=t:r?e[A]?e[A]=t:n(e,A,t):(delete e[A],n(e,A,t)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||r.call(this)})},function(e,A){var t={}.hasOwnProperty;e.exports=function(e,A){return t.call(e,A)}},function(e,A){var t=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+o).toString(36))}},function(e,A,t){var o=t(430),n=Math.min;e.exports=function(e){return e>0?n(o(e),9007199254740991):0}},function(e,A){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},function(e,A){e.exports=!1},function(e,A,t){var o=t(232),n=t(108)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=function(e){var A,t,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,A){try{return e[A]}catch(e){}}(A=Object(e),n))?t:a?o(A):"Object"==(i=o(A))&&"function"==typeof A.callee?"Arguments":i}},function(e,A){e.exports={}},function(e,A,t){var o=t(185),n=t(231),a=t(108)("species");e.exports=function(e,A){var t,i=o(e).constructor;return void 0===i||void 0==(t=o(i)[a])?A:n(t)}},function(e,A,t){var o,n,a,i=t(230),r=t(982),s=t(983),l=t(425),u=t(81),c=u.process,g=u.setImmediate,d=u.clearImmediate,B=u.MessageChannel,h=u.Dispatch,E=0,m={},p=function(){var e=+this;if(m.hasOwnProperty(e)){var A=m[e];delete m[e],A()}},C=function(e){p.call(e.data)};g&&d||(g=function(e){for(var A=[],t=1;arguments.length>t;)A.push(arguments[t++]);return m[++E]=function(){r("function"==typeof e?e:Function(e),A)},o(E),E},d=function(e){delete m[e]},"process"==t(232)(c)?o=function(e){c.nextTick(i(p,e,1))}:h&&h.now?o=function(e){h.now(i(p,e,1))}:B?(a=(n=new B).port2,n.port1.onmessage=C,o=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(o=function(e){u.postMessage(e+"","*")},u.addEventListener("message",C,!1)):o="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),p.call(e)}}:function(e){setTimeout(i(p,e,1),0)}),e.exports={set:g,clear:d}},function(e,A,t){"use strict";var o=t(231);e.exports.f=function(e){return new function(e){var A,t;this.promise=new e(function(e,o){if(void 0!==A||void 0!==t)throw TypeError("Bad Promise constructor");A=e,t=o}),this.resolve=o(A),this.reject=o(t)}(e)}},function(e,A,t){var o=t(185),n=t(186),a=t(436);e.exports=function(e,A){if(o(e),n(A)&&A.constructor===e)return A;var t=a.f(e);return(0,t.resolve)(A),t.promise}},function(e,A){var t={black:"#000",red:"#c23621",green:"#25bc26",yellow:"#bbbb00",blue:"#492ee1",magenta:"#d338d3",cyan:"#33bbc8",gray:"#808080",purple:"#708"};e.exports=function(e,A){return A?"color: #fff; background: "+t[e]+";":"color: "+t[e]+";"}},function(e,A,t){"use strict";A.extend=function(e){var A,t,n,a,i=Array.prototype.slice.call(arguments,1);for(A=0,t=i.length;A<t;A+=1)if(n=i[A])for(a in n)o.call(n,a)&&(e[a]=n[a]);return e};var o=Object.prototype.hasOwnProperty;A.hop=o},function(e,A,t){e.exports=t(1028)},function(e,A,t){const o=t(312),n=t(1032),{default:a}=t(1033),r=t(1039),s=t(444);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){const o=t(313),n=t(1040),{default:a}=t(1041),r=t(1047),s=t(448);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){(function(A,t,o){var n;e.exports=function e(A,t,o){function a(r,s){if(!t[r]){if(!A[r]){var l="function"==typeof n&&n;if(!s&&l)return n(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[r]={exports:{}};A[r][0].call(c.exports,function(e){var t=A[r][1][e];return a(t||e)},c,c.exports,e,A,t,o)}return t[r].exports}for(var i="function"==typeof n&&n,r=0;r<o.length;r++)a(o[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,A,t){"use strict";var o=e("./utils"),n=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e){for(var A,t,n,i,r,s,l,u=[],c=0,g=e.length,d=g,B="string"!==o.getTypeOf(e);c<e.length;)d=g-c,n=B?(A=e[c++],t=c<g?e[c++]:0,c<g?e[c++]:0):(A=e.charCodeAt(c++),t=c<g?e.charCodeAt(c++):0,c<g?e.charCodeAt(c++):0),i=A>>2,r=(3&A)<<4|t>>4,s=1<d?(15&t)<<2|n>>6:64,l=2<d?63&n:64,u.push(a.charAt(i)+a.charAt(r)+a.charAt(s)+a.charAt(l));return u.join("")},t.decode=function(e){var A,t,o,i,r,s,l=0,u=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&g--,e.charAt(e.length-2)===a.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|g):new Array(0|g);l<e.length;)A=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,t=(15&i)<<4|(r=a.indexOf(e.charAt(l++)))>>2,o=(3&r)<<6|(s=a.indexOf(e.charAt(l++))),c[u++]=A,64!==r&&(c[u++]=t),64!==s&&(c[u++]=o);return c}},{"./support":30,"./utils":32}],2:[function(e,A,t){"use strict";var o=e("./external"),n=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function r(e,A,t,o,n){this.compressedSize=e,this.uncompressedSize=A,this.crc32=t,this.compression=o,this.compressedContent=n}r.prototype={getContentWorker:function(){var e=new n(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),A=this;return e.on("end",function(){if(this.streamInfo.data_length!==A.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new n(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},r.createWorkerFrom=function(e,A,t){return e.pipe(new a).pipe(new i("uncompressedSize")).pipe(A.compressWorker(t)).pipe(new i("compressedSize")).withStreamInfo("compression",A)},A.exports=r},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,A,t){"use strict";var o=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(e){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,A,t){"use strict";var o=e("./utils"),n=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A){return void 0!==e&&e.length?"string"!==o.getTypeOf(e)?function(e,A,t){var o=n,a=0+t;e^=-1;for(var i=0;i<a;i++)e=e>>>8^o[255&(e^A[i])];return-1^e}(0|A,e,e.length):function(e,A,t){var o=n,a=0+t;e^=-1;for(var i=0;i<a;i++)e=e>>>8^o[255&(e^A.charCodeAt(i))];return-1^e}(0|A,e,e.length):0}},{"./utils":32}],5:[function(e,A,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,A,t){"use strict";var o;o="undefined"!=typeof Promise?Promise:e("lie"),A.exports={Promise:o}},{lie:37}],7:[function(e,A,t){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),a=e("./utils"),i=e("./stream/GenericWorker"),r=o?"uint8array":"array";function s(e,A){i.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=A,this.meta={}}t.magic="\b\0",a.inherits(s,i),s.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(r,e.data),!1)},s.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(A){e.push({data:A,meta:e.meta})}},t.compressWorker=function(e){return new s("Deflate",e)},t.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,A,t){"use strict";function o(e,A){var t,o="";for(t=0;t<A;t++)o+=String.fromCharCode(255&e),e>>>=8;return o}function n(e,A,t,n,i,u){var c,g,d=e.file,B=e.compression,h=u!==r.utf8encode,E=a.transformTo("string",u(d.name)),m=a.transformTo("string",r.utf8encode(d.name)),p=d.comment,C=a.transformTo("string",u(p)),w=a.transformTo("string",r.utf8encode(p)),f=m.length!==d.name.length,I=w.length!==p.length,Q="",M="",y="",b=d.dir,T=d.date,S={crc32:0,compressedSize:0,uncompressedSize:0};A&&!t||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var D=0;A&&(D|=8),h||!f&&!I||(D|=2048);var k,N=0,R=0;b&&(N|=16),"UNIX"===i?(R=798,N|=((k=d.unixPermissions)||(k=b?16893:33204),(65535&k)<<16)):(R=20,N|=63&(d.dosPermissions||0)),c=T.getUTCHours(),c<<=6,c|=T.getUTCMinutes(),c<<=5,c|=T.getUTCSeconds()/2,g=T.getUTCFullYear()-1980,g<<=4,g|=T.getUTCMonth()+1,g<<=5,g|=T.getUTCDate(),f&&(Q+="up"+o((M=o(1,1)+o(s(E),4)+m).length,2)+M),I&&(Q+="uc"+o((y=o(1,1)+o(s(C),4)+w).length,2)+y);var F="";return F+="\n\0",F+=o(D,2),F+=B.magic,F+=o(c,2),F+=o(g,2),F+=o(S.crc32,4),F+=o(S.compressedSize,4),F+=o(S.uncompressedSize,4),F+=o(E.length,2),F+=o(Q.length,2),{fileRecord:l.LOCAL_FILE_HEADER+F+E+Q,dirRecord:l.CENTRAL_FILE_HEADER+o(R,2)+F+o(C.length,2)+"\0\0\0\0"+o(N,4)+o(n,4)+E+Q+C}}var a=e("../utils"),i=e("../stream/GenericWorker"),r=e("../utf8"),s=e("../crc32"),l=e("../signature");function u(e,A,t,o){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=A,this.zipPlatform=t,this.encodeFileName=o,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,i),u.prototype.push=function(e){var A=e.meta.percent||0,t=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:t?(A+100*(t-o-1))/t:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var A=this.streamFiles&&!e.file.dir;if(A){var t=n(e,A,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var A,t=this.streamFiles&&!e.file.dir,a=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),t)this.push({data:(A=e,l.DATA_DESCRIPTOR+o(A.crc32,4)+o(A.compressedSize,4)+o(A.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,A=0;A<this.dirRecords.length;A++)this.push({data:this.dirRecords[A],meta:{percent:100}});var t,n,i,r,s,u,c=this.bytesWritten-e,g=(t=this.dirRecords.length,n=c,i=e,r=this.zipComment,s=this.encodeFileName,u=a.transformTo("string",s(r)),l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(t,2)+o(t,2)+o(n,4)+o(i,4)+o(u.length,2)+u);this.push({data:g,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var A=this;return e.on("data",function(e){A.processChunk(e)}),e.on("end",function(){A.closedSource(A.previous.streamInfo),A._sources.length?A.prepareNextSource():A.end()}),e.on("error",function(e){A.error(e)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var A=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var t=0;t<A.length;t++)try{A[t].error(e)}catch(e){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,A=0;A<e.length;A++)e[A].lock()},A.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,A,t){"use strict";var o=e("../compressions"),n=e("./ZipFileWorker");t.generateWorker=function(e,A,t){var a=new n(A.streamFiles,t,A.platform,A.encodeFileName),i=0;try{e.forEach(function(e,t){i++;var n=function(e,A){var t=e||A,n=o[t];if(!n)throw new Error(t+" is not a valid compression method !");return n}(t.options.compression,A.compression),r=t.options.compressionOptions||A.compressionOptions||{},s=t.dir,l=t.date;t._compressWorker(n,r).withStreamInfo("file",{name:e,dir:s,date:l,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(a)}),a.entriesCount=i}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,A,t){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new o;for(var A in this)"function"!=typeof this[A]&&(e[A]=this[A]);return e}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.5.0",o.loadAsync=function(e,A){return(new o).loadAsync(e,A)},o.external=e("./external"),A.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,A,t){"use strict";var o=e("./utils"),n=e("./external"),a=e("./utf8"),i=e("./zipEntries"),r=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function l(e){return new n.Promise(function(A,t){var o=e.decompressed.getContentWorker().pipe(new r);o.on("error",function(e){t(e)}).on("end",function(){o.streamInfo.crc32!==e.decompressed.crc32?t(new Error("Corrupted zip : CRC32 mismatch")):A()}).resume()})}A.exports=function(e,A){var t=this;return A=o.extend(A||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),s.isNode&&s.isStream(e)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",e,!0,A.optimizedBinaryString,A.base64).then(function(e){var t=new i(A);return t.load(e),t}).then(function(e){var t=[n.Promise.resolve(e)],o=e.files;if(A.checkCRC32)for(var a=0;a<o.length;a++)t.push(l(o[a]));return n.Promise.all(t)}).then(function(e){for(var o=e.shift(),n=o.files,a=0;a<n.length;a++){var i=n[a];t.file(i.fileNameStr,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileCommentStr.length?i.fileCommentStr:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:A.createFolders})}return o.zipComment.length&&(t.comment=o.zipComment),t})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,A,t){"use strict";var o=e("../utils"),n=e("../stream/GenericWorker");function a(e,A){n.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(A)}o.inherits(a,n),a.prototype._bindStream=function(e){var A=this;(this._stream=e).pause(),e.on("data",function(e){A.push({data:e,meta:{percent:0}})}).on("error",function(e){A.isPaused?this.generatedError=e:A.error(e)}).on("end",function(){A.isPaused?A._upstreamEnded=!0:A.end()})},a.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},A.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,A,t){"use strict";var o=e("readable-stream").Readable;function n(e,A,t){o.call(this,A),this._helper=e;var n=this;e.on("data",function(e,A){n.push(e)||n._helper.pause(),t&&t(A)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}e("../utils").inherits(n,o),n.prototype._read=function(){this._helper.resume()},A.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,A,o){"use strict";A.exports={isNode:void 0!==t,newBufferFrom:function(e,A){if(t.from&&t.from!==Uint8Array.from)return t.from(e,A);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,A)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var A=new t(e);return A.fill(0),A},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,A,t){"use strict";function o(e,A,t){var o,a=i.getTypeOf(A),s=i.extend(t||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=n(e)),s.createFolders&&(o=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var A=e.lastIndexOf("/");return 0<A?e.substring(0,A):""}(e))&&h.call(this,o,!0);var g,E="string"===a&&!1===s.binary&&!1===s.base64;t&&void 0!==t.binary||(s.binary=!E),(A instanceof u&&0===A.uncompressedSize||s.dir||!A||0===A.length)&&(s.base64=!1,s.binary=!0,A="",s.compression="STORE",a="string"),g=A instanceof u||A instanceof r?A:d.isNode&&d.isStream(A)?new B(e,A):i.prepareContent(e,A,s.binary,s.optimizedBinaryString,s.base64);var m=new c(e,g,s);this.files[e]=m}function n(e){return"/"!==e.slice(-1)&&(e+="/"),e}var a=e("./utf8"),i=e("./utils"),r=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),g=e("./generate"),d=e("./nodejsUtils"),B=e("./nodejs/NodejsStreamInputAdapter"),h=function(e,A){return A=void 0!==A?A:l.createFolders,e=n(e),this.files[e]||o.call(this,e,null,{dir:!0,createFolders:A}),this.files[e]};function E(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var A,t,o;for(A in this.files)this.files.hasOwnProperty(A)&&(o=this.files[A],(t=A.slice(this.root.length,A.length))&&A.slice(0,this.root.length)===this.root&&e(t,o))},filter:function(e){var A=[];return this.forEach(function(t,o){e(t,o)&&A.push(o)}),A},file:function(e,A,t){if(1!==arguments.length)return e=this.root+e,o.call(this,e,A,t),this;if(E(e)){var n=e;return this.filter(function(e,A){return!A.dir&&n.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(E(e))return this.filter(function(A,t){return t.dir&&e.test(A)});var A=this.root+e,t=h.call(this,A),o=this.clone();return o.root=t.name,o},remove:function(e){e=this.root+e;var A=this.files[e];if(A||("/"!==e.slice(-1)&&(e+="/"),A=this.files[e]),A&&!A.dir)delete this.files[e];else for(var t=this.filter(function(A,t){return t.name.slice(0,e.length)===e}),o=0;o<t.length;o++)delete this.files[t[o].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var A,t={};try{if((t=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=t.type.toLowerCase(),t.compression=t.compression.toUpperCase(),"binarystring"===t.type&&(t.type="string"),!t.type)throw new Error("No output type specified.");i.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var o=t.comment||this.comment||"";A=g.generateWorker(this,t,o)}catch(e){(A=new r("error")).error(e)}return new s(A,t.type||"string",t.mimeType)},generateAsync:function(e,A){return this.generateInternalStream(e).accumulate(A)},generateNodeStream:function(e,A){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(A)}};A.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,A,t){A.exports=e("stream")},{stream:void 0}],17:[function(e,A,t){"use strict";var o=e("./DataReader");function n(e){o.call(this,e);for(var A=0;A<this.data.length;A++)e[A]=255&e[A]}e("../utils").inherits(n,o),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===A&&this.data[a+1]===t&&this.data[a+2]===o&&this.data[a+3]===n)return a-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return A===a[0]&&t===a[1]&&o===a[2]&&n===a[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,A,t){"use strict";var o=e("../utils");function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var A,t=0;for(this.checkOffset(e),A=this.index+e-1;A>=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},A.exports=n},{"../utils":32}],19:[function(e,A,t){"use strict";var o=e("./Uint8ArrayReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,A,t){"use strict";var o=e("./DataReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,A,t){"use strict";var o=e("./ArrayReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,A,t){"use strict";var o=e("../utils"),n=e("../support"),a=e("./ArrayReader"),i=e("./StringReader"),r=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");A.exports=function(e){var A=o.getTypeOf(e);return o.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new r(e):n.uint8array?new s(o.transformTo("uint8array",e)):new a(o.transformTo("array",e)):new i(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,A,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,A,t){"use strict";var o=e("./GenericWorker"),n=e("../utils");function a(e){o.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(a,o),a.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},A.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,A,t){"use strict";var o=e("./GenericWorker"),n=e("../crc32");function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,o),a.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},A.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,A,t){"use strict";var o=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(a,n),a.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},A.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,A,t){"use strict";var o=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=o.getTypeOf(e),A.isPaused||A._tickAndRepeat()},function(e){A.error(e)})}o.inherits(a,n),a.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},A.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,A,t){"use strict";function o(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,A){return this._listeners[e].push(A),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,A){if(this._listeners[e])for(var t=0;t<this._listeners[e].length;t++)this._listeners[e][t].call(this,A)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var A=this;return e.on("data",function(e){A.processChunk(e)}),e.on("end",function(){A.end()}),e.on("error",function(e){A.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,A){return this.extraStreamInfo[e]=A,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},A.exports=o},{}],29:[function(e,A,o){"use strict";var n=e("../utils"),a=e("./ConvertWorker"),i=e("./GenericWorker"),r=e("../base64"),s=e("../support"),l=e("../external"),u=null;if(s.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,A,t){var o=A;switch(A){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=A,this._mimeType=t,n.checkSupport(o),this._worker=e.pipe(new a(o)),e.lock()}catch(e){this._worker=new i("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return A=this,o=e,new l.Promise(function(e,a){var i=[],s=A._internalType,l=A._outputType,u=A._mimeType;A.on("data",function(e,A){i.push(e),o&&o(A)}).on("error",function(e){i=[],a(e)}).on("end",function(){try{var A=function(e,A,t){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",A),t);case"base64":return r.encode(A);default:return n.transformTo(e,A)}}(l,function(e,A){var o,n=0,a=null,i=0;for(o=0;o<A.length;o++)i+=A[o].length;switch(e){case"string":return A.join("");case"array":return Array.prototype.concat.apply([],A);case"uint8array":for(a=new Uint8Array(i),o=0;o<A.length;o++)a.set(A[o],n),n+=A[o].length;return a;case"nodebuffer":return t.concat(A);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,i),u);e(A)}catch(A){a(A)}i=[]}).resume()});var A,o},on:function(e,A){var t=this;return"data"===e?this._worker.on(e,function(e){A.call(t,e.data,e.meta)}):this._worker.on(e,function(){n.delay(A,arguments,t)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},A.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,A,o){"use strict";if(o.base64=!0,o.array=!0,o.string=!0,o.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,o.nodebuffer=void 0!==t,o.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)o.blob=!1;else{var n=new ArrayBuffer(0);try{o.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(n),o.blob=0===a.getBlob("application/zip").size}catch(e){o.blob=!1}}}try{o.nodestream=!!e("readable-stream").Readable}catch(e){o.nodestream=!1}},{"readable-stream":16}],31:[function(e,A,t){"use strict";for(var o=e("./utils"),n=e("./support"),a=e("./nodejsUtils"),i=e("./stream/GenericWorker"),r=new Array(256),s=0;s<256;s++)r[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}r[254]=r[254]=1,t.utf8encode=function(e){return n.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var A,t,o,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(o=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(o-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=n.uint8array?new Uint8Array(s):new Array(s),a=i=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(o=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(o-56320),a++),t<128?A[i++]=t:(t<2048?A[i++]=192|t>>>6:(t<65536?A[i++]=224|t>>>12:(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63),A[i++]=128|t>>>6&63),A[i++]=128|63&t);return A}(e)},t.utf8decode=function(e){return n.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var A,t,n,a,i=e.length,s=new Array(2*i);for(A=t=0;A<i;)if((n=e[A++])<128)s[t++]=n;else if(4<(a=r[n]))s[t++]=65533,A+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&A<i;)n=n<<6|63&e[A++],a--;1<a?s[t++]=65533:n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|1023&n)}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),o.applyFromCharCode(s)}(e=o.transformTo(n.uint8array?"uint8array":"array",e))},o.inherits(l,i),l.prototype.processChunk=function(e){var A=o.transformTo(n.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var a=A;(A=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),A.set(a,this.leftOver.length)}else A=this.leftOver.concat(A);this.leftOver=null}var i=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+r[e[t]]>A?t:A}(A),s=A;i!==A.length&&(n.uint8array?(s=A.subarray(0,i),this.leftOver=A.subarray(i,A.length)):(s=A.slice(0,i),this.leftOver=A.slice(i,A.length))),this.push({data:t.utf8decode(s),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,o.inherits(u,i),u.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,A,t){"use strict";var o=e("./support"),n=e("./base64"),a=e("./nodejsUtils"),i=e("set-immediate-shim"),r=e("./external");function s(e){return e}function l(e,A){for(var t=0;t<e.length;++t)A[t]=255&e.charCodeAt(t);return A}t.newBlob=function(e,A){t.checkSupport("blob");try{return new Blob([e],{type:A})}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(e),o.getBlob(A)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,A,t){var o=[],n=0,a=e.length;if(a<=t)return String.fromCharCode.apply(null,e);for(;n<a;)"array"===A||"nodebuffer"===A?o.push(String.fromCharCode.apply(null,e.slice(n,Math.min(n+t,a)))):o.push(String.fromCharCode.apply(null,e.subarray(n,Math.min(n+t,a)))),n+=t;return o.join("")},stringifyByChar:function(e){for(var A="",t=0;t<e.length;t++)A+=String.fromCharCode(e[t]);return A},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var A=65536,o=t.getTypeOf(e),n=!0;if("uint8array"===o?n=u.applyCanBeUsed.uint8array:"nodebuffer"===o&&(n=u.applyCanBeUsed.nodebuffer),n)for(;1<A;)try{return u.stringifyByChunk(e,o,A)}catch(e){A=Math.floor(A/2)}return u.stringifyByChar(e)}function g(e,A){for(var t=0;t<e.length;t++)A[t]=e[t];return A}t.applyFromCharCode=c;var d={};d.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,a.allocBuffer(e.length))}},d.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},d.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return g(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:c,array:function(e){return g(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},d.nodebuffer={string:c,array:function(e){return g(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return g(e,new Uint8Array(e.length))},nodebuffer:s},t.transformTo=function(e,A){if(A=A||"",!e)return A;t.checkSupport(e);var o=t.getTypeOf(A);return d[o][e](A)},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":o.nodebuffer&&a.isBuffer(e)?"nodebuffer":o.uint8array&&e instanceof Uint8Array?"uint8array":o.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!o[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var A,t,o="";for(t=0;t<(e||"").length;t++)o+="\\x"+((A=e.charCodeAt(t))<16?"0":"")+A.toString(16).toUpperCase();return o},t.delay=function(e,A,t){i(function(){e.apply(t||null,A||[])})},t.inherits=function(e,A){function t(){}t.prototype=A.prototype,e.prototype=new t},t.extend=function(){var e,A,t={};for(e=0;e<arguments.length;e++)for(A in arguments[e])arguments[e].hasOwnProperty(A)&&void 0===t[A]&&(t[A]=arguments[e][A]);return t},t.prepareContent=function(e,A,a,i,s){return r.Promise.resolve(A).then(function(e){return o.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new r.Promise(function(A,t){var o=new FileReader;o.onload=function(e){A(e.target.result)},o.onerror=function(e){t(e.target.error)},o.readAsArrayBuffer(e)}):e}).then(function(A){var u,c=t.getTypeOf(A);return c?("arraybuffer"===c?A=t.transformTo("uint8array",A):"string"===c&&(s?A=n.decode(A):a&&!0!==i&&(A=l(u=A,o.uint8array?new Uint8Array(u.length):new Array(u.length)))),A):r.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,A,t){"use strict";var o=e("./reader/readerFor"),n=e("./utils"),a=e("./signature"),i=e("./zipEntry"),r=(e("./utf8"),e("./support"));function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var A=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(A)+", expected "+n.pretty(e)+")")}},isSignature:function(e,A){var t=this.reader.index;this.reader.setIndex(e);var o=this.reader.readString(4)===A;return this.reader.setIndex(t),o},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),A=r.uint8array?"uint8array":"array",t=n.transformTo(A,e);this.zipComment=this.loadOptions.decodeFileName(t)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,A,t,o=this.zip64EndOfCentralSize-44;0<o;)e=this.reader.readInt(2),A=this.reader.readInt(4),t=this.reader.readData(A),this.zip64ExtensibleData[e]={id:e,length:A,value:t}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,A;for(e=0;e<this.files.length;e++)A=this.files[e],this.reader.setIndex(A.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),A.readLocalPart(this.reader),A.handleUTF8(),A.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var A=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var t=this.centralDirOffset+this.centralDirSize;this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize);var o=A-t;if(0<o)this.isSignature(A,a.CENTRAL_FILE_HEADER)||(this.reader.zero=o);else if(o<0)throw new Error("Corrupted zip: missing "+Math.abs(o)+" bytes.")},prepareReader:function(e){this.reader=o(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},A.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,A,t){"use strict";var o=e("./reader/readerFor"),n=e("./utils"),a=e("./compressedObject"),i=e("./crc32"),r=e("./utf8"),s=e("./compressions"),l=e("./support");function u(e,A){this.options=e,this.loadOptions=A}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var A,t;if(e.skip(22),this.fileNameLength=e.readInt(2),t=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(t),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(A=function(e){for(var A in s)if(s.hasOwnProperty(A)&&s[A].magic===e)return s[A];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,A,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var A=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(A),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var A=o(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=A.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=A.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=A.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=A.readInt(4))}},readExtraFields:function(e){var A,t,o,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<n;)A=e.readInt(2),t=e.readInt(2),o=e.readData(t),this.extraFields[A]={id:A,length:t,value:o};e.setIndex(n)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=r.utf8decode(this.fileName),this.fileCommentStr=r.utf8decode(this.fileComment);else{var A=this.findExtraFieldUnicodePath();if(null!==A)this.fileNameStr=A;else{var t=n.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(t)}var o=this.findExtraFieldUnicodeComment();if(null!==o)this.fileCommentStr=o;else{var a=n.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var A=o(e.value);return 1!==A.readInt(1)?null:i(this.fileName)!==A.readInt(4)?null:r.utf8decode(A.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var A=o(e.value);return 1!==A.readInt(1)?null:i(this.fileComment)!==A.readInt(4)?null:r.utf8decode(A.readData(e.length-5))}return null}},A.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,A,t){"use strict";function o(e,A,t){this.name=e,this.dir=t.dir,this.date=t.date,this.comment=t.comment,this.unixPermissions=t.unixPermissions,this.dosPermissions=t.dosPermissions,this._data=A,this._dataBinary=t.binary,this.options={compression:t.compression,compressionOptions:t.compressionOptions}}var n=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),i=e("./utf8"),r=e("./compressedObject"),s=e("./stream/GenericWorker");o.prototype={internalStream:function(e){var A=null,t="string";try{if(!e)throw new Error("No output type specified.");var o="string"===(t=e.toLowerCase())||"text"===t;"binarystring"!==t&&"text"!==t||(t="string"),A=this._decompressWorker();var a=!this._dataBinary;a&&!o&&(A=A.pipe(new i.Utf8EncodeWorker)),!a&&o&&(A=A.pipe(new i.Utf8DecodeWorker))}catch(e){(A=new s("error")).error(e)}return new n(A,t,"")},async:function(e,A){return this.internalStream(e).accumulate(A)},nodeStream:function(e,A){return this.internalStream(e||"nodebuffer").toNodejsStream(A)},_compressWorker:function(e,A){if(this._data instanceof r&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var t=this._decompressWorker();return this._dataBinary||(t=t.pipe(new i.Utf8EncodeWorker)),r.createWorkerFrom(t,e,A)},_decompressWorker:function(){return this._data instanceof r?this._data.getContentWorker():this._data instanceof s?this._data:new a(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<l.length;c++)o.prototype[l[c]]=u;A.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,o){(function(e){"use strict";var A,o,n=e.MutationObserver||e.WebKitMutationObserver;if(n){var a=0,i=new n(u),r=e.document.createTextNode("");i.observe(r,{characterData:!0}),A=function(){r.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)A="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var A=e.document.createElement("script");A.onreadystatechange=function(){u(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},e.document.documentElement.appendChild(A)}:function(){setTimeout(u,0)};else{var s=new e.MessageChannel;s.port1.onmessage=u,A=function(){s.port2.postMessage(0)}}var l=[];function u(){var e,A;o=!0;for(var t=l.length;t;){for(A=l,l=[],e=-1;++e<t;)A[e]();t=l.length}o=!1}t.exports=function(e){1!==l.push(e)||o||A()}}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,A,t){"use strict";var o=e("immediate");function n(){}var a={},i=["REJECTED"],r=["FULFILLED"],s=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,e!==n&&d(this,e)}function u(e,A,t){this.promise=e,"function"==typeof A&&(this.onFulfilled=A,this.callFulfilled=this.otherCallFulfilled),"function"==typeof t&&(this.onRejected=t,this.callRejected=this.otherCallRejected)}function c(e,A,t){o(function(){var o;try{o=A(t)}catch(o){return a.reject(e,o)}o===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,o)})}function g(e){var A=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof A)return function(){A.apply(e,arguments)}}function d(e,A){var t=!1;function o(A){t||(t=!0,a.reject(e,A))}function n(A){t||(t=!0,a.resolve(e,A))}var i=B(function(){A(n,o)});"error"===i.status&&o(i.value)}function B(e,A){var t={};try{t.value=e(A),t.status="success"}catch(e){t.status="error",t.value=e}return t}(A.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var A=this.constructor;return this.then(function(t){return A.resolve(e()).then(function(){return t})},function(t){return A.resolve(e()).then(function(){throw t})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,A){if("function"!=typeof e&&this.state===r||"function"!=typeof A&&this.state===i)return this;var t=new this.constructor(n);return this.state!==s?c(t,this.state===r?e:A,this.outcome):this.queue.push(new u(t,e,A)),t},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},a.resolve=function(e,A){var t=B(g,A);if("error"===t.status)return a.reject(e,t.value);var o=t.value;if(o)d(e,o);else{e.state=r,e.outcome=A;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callFulfilled(A)}return e},a.reject=function(e,A){e.state=i,e.outcome=A;for(var t=-1,o=e.queue.length;++t<o;)e.queue[t].callRejected(A);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(n),e)},l.reject=function(e){var A=new this(n);return a.reject(A,e)},l.all=function(e){var A=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,o=!1;if(!t)return this.resolve([]);for(var i=new Array(t),r=0,s=-1,l=new this(n);++s<t;)u(e[s],s);return l;function u(e,n){A.resolve(e).then(function(e){i[n]=e,++r!==t||o||(o=!0,a.resolve(l,i))},function(e){o||(o=!0,a.reject(l,e))})}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var A=e.length,t=!1;if(!A)return this.resolve([]);for(var o,i=-1,r=new this(n);++i<A;)o=e[i],this.resolve(o).then(function(e){t||(t=!0,a.resolve(r,e))},function(e){t||(t=!0,a.reject(r,e))});return r}},{immediate:36}],38:[function(e,A,t){"use strict";var o={};(0,e("./lib/utils/common").assign)(o,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),A.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,A,t){"use strict";var o=e("./zlib/deflate"),n=e("./utils/common"),a=e("./utils/strings"),i=e("./zlib/messages"),r=e("./zlib/zstream"),s=Object.prototype.toString,l=0,u=-1,c=0,g=8;function d(e){if(!(this instanceof d))return new d(e);this.options=n.assign({level:u,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:""},e||{});var A=this.options;A.raw&&0<A.windowBits?A.windowBits=-A.windowBits:A.gzip&&0<A.windowBits&&A.windowBits<16&&(A.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var t=o.deflateInit2(this.strm,A.level,A.method,A.windowBits,A.memLevel,A.strategy);if(t!==l)throw new Error(i[t]);if(A.header&&o.deflateSetHeader(this.strm,A.header),A.dictionary){var B;if(B="string"==typeof A.dictionary?a.string2buf(A.dictionary):"[object ArrayBuffer]"===s.call(A.dictionary)?new Uint8Array(A.dictionary):A.dictionary,(t=o.deflateSetDictionary(this.strm,B))!==l)throw new Error(i[t]);this._dict_set=!0}}function B(e,A){var t=new d(A);if(t.push(e,!0),t.err)throw t.msg||i[t.err];return t.result}d.prototype.push=function(e,A){var t,i,r=this.strm,u=this.options.chunkSize;if(this.ended)return!1;i=A===~~A?A:!0===A?4:0,"string"==typeof e?r.input=a.string2buf(e):"[object ArrayBuffer]"===s.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new n.Buf8(u),r.next_out=0,r.avail_out=u),1!==(t=o.deflate(r,i))&&t!==l)return this.onEnd(t),!(this.ended=!0);0!==r.avail_out&&(0!==r.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(a.buf2binstring(n.shrinkBuf(r.output,r.next_out))):this.onData(n.shrinkBuf(r.output,r.next_out)))}while((0<r.avail_in||0===r.avail_out)&&1!==t);return 4===i?(t=o.deflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===l):2!==i||(this.onEnd(l),!(r.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=d,t.deflate=B,t.deflateRaw=function(e,A){return(A=A||{}).raw=!0,B(e,A)},t.gzip=function(e,A){return(A=A||{}).gzip=!0,B(e,A)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,A,t){"use strict";var o=e("./zlib/inflate"),n=e("./utils/common"),a=e("./utils/strings"),i=e("./zlib/constants"),r=e("./zlib/messages"),s=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var A=this.options;A.raw&&0<=A.windowBits&&A.windowBits<16&&(A.windowBits=-A.windowBits,0===A.windowBits&&(A.windowBits=-15)),!(0<=A.windowBits&&A.windowBits<16)||e&&e.windowBits||(A.windowBits+=32),15<A.windowBits&&A.windowBits<48&&0==(15&A.windowBits)&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var t=o.inflateInit2(this.strm,A.windowBits);if(t!==i.Z_OK)throw new Error(r[t]);this.header=new l,o.inflateGetHeader(this.strm,this.header)}function g(e,A){var t=new c(A);if(t.push(e,!0),t.err)throw t.msg||r[t.err];return t.result}c.prototype.push=function(e,A){var t,r,s,l,c,g,d=this.strm,B=this.options.chunkSize,h=this.options.dictionary,E=!1;if(this.ended)return!1;r=A===~~A?A:!0===A?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof e?d.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new n.Buf8(B),d.next_out=0,d.avail_out=B),(t=o.inflate(d,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&h&&(g="string"==typeof h?a.string2buf(h):"[object ArrayBuffer]"===u.call(h)?new Uint8Array(h):h,t=o.inflateSetDictionary(this.strm,g)),t===i.Z_BUF_ERROR&&!0===E&&(t=i.Z_OK,E=!1),t!==i.Z_STREAM_END&&t!==i.Z_OK)return this.onEnd(t),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&t!==i.Z_STREAM_END&&(0!==d.avail_in||r!==i.Z_FINISH&&r!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(s=a.utf8border(d.output,d.next_out),l=d.next_out-s,c=a.buf2string(d.output,s),d.next_out=l,d.avail_out=B-l,l&&n.arraySet(d.output,d.output,s,l,0),this.onData(c)):this.onData(n.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(E=!0)}while((0<d.avail_in||0===d.avail_out)&&t!==i.Z_STREAM_END);return t===i.Z_STREAM_END&&(r=i.Z_FINISH),r===i.Z_FINISH?(t=o.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===i.Z_OK):r!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(d.avail_out=0))},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=c,t.inflate=g,t.inflateRaw=function(e,A){return(A=A||{}).raw=!0,g(e,A)},t.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,A,t){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var A=Array.prototype.slice.call(arguments,1);A.length;){var t=A.shift();if(t){if("object"!=typeof t)throw new TypeError(t+"must be non-object");for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}}return e},t.shrinkBuf=function(e,A){return e.length===A?e:e.subarray?e.subarray(0,A):(e.length=A,e)};var n={arraySet:function(e,A,t,o,n){if(A.subarray&&e.subarray)e.set(A.subarray(t,t+o),n);else for(var a=0;a<o;a++)e[n+a]=A[t+a]},flattenChunks:function(e){var A,t,o,n,a,i;for(A=o=0,t=e.length;A<t;A++)o+=e[A].length;for(i=new Uint8Array(o),A=n=0,t=e.length;A<t;A++)a=e[A],i.set(a,n),n+=a.length;return i}},a={arraySet:function(e,A,t,o,n){for(var a=0;a<o;a++)e[n+a]=A[t+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(o)},{}],42:[function(e,A,t){"use strict";var o=e("./common"),n=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var i=new o.Buf8(256),r=0;r<256;r++)i[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function s(e,A){if(A<65537&&(e.subarray&&a||!e.subarray&&n))return String.fromCharCode.apply(null,o.shrinkBuf(e,A));for(var t="",i=0;i<A;i++)t+=String.fromCharCode(e[i]);return t}i[254]=i[254]=1,t.string2buf=function(e){var A,t,n,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=new o.Buf8(s),a=i=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),t<128?A[i++]=t:(t<2048?A[i++]=192|t>>>6:(t<65536?A[i++]=224|t>>>12:(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63),A[i++]=128|t>>>6&63),A[i++]=128|63&t);return A},t.buf2binstring=function(e){return s(e,e.length)},t.binstring2buf=function(e){for(var A=new o.Buf8(e.length),t=0,n=A.length;t<n;t++)A[t]=e.charCodeAt(t);return A},t.buf2string=function(e,A){var t,o,n,a,r=A||e.length,l=new Array(2*r);for(t=o=0;t<r;)if((n=e[t++])<128)l[o++]=n;else if(4<(a=i[n]))l[o++]=65533,t+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&t<r;)n=n<<6|63&e[t++],a--;1<a?l[o++]=65533:n<65536?l[o++]=n:(n-=65536,l[o++]=55296|n>>10&1023,l[o++]=56320|1023&n)}return s(l,o)},t.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+i[e[t]]>A?t:A}},{"./common":41}],43:[function(e,A,t){"use strict";A.exports=function(e,A,t,o){for(var n=65535&e|0,a=e>>>16&65535|0,i=0;0!==t;){for(t-=i=2e3<t?2e3:t;a=a+(n=n+A[o++]|0)|0,--i;);n%=65521,a%=65521}return n|a<<16|0}},{}],44:[function(e,A,t){"use strict";A.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,A,t){"use strict";var o=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A,t,n){var a=o,i=n+t;e^=-1;for(var r=n;r<i;r++)e=e>>>8^a[255&(e^A[r])];return-1^e}},{}],46:[function(e,A,t){"use strict";var o,n=e("../utils/common"),a=e("./trees"),i=e("./adler32"),r=e("./crc32"),s=e("./messages"),l=0,u=0,c=-2,g=2,d=8,B=286,h=30,E=19,m=2*B+1,p=15,C=3,w=258,f=w+C+1,I=42,Q=113;function M(e,A){return e.msg=s[A],A}function y(e){return(e<<1)-(4<e?9:0)}function b(e){for(var A=e.length;0<=--A;)e[A]=0}function T(e){var A=e.state,t=A.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(n.arraySet(e.output,A.pending_buf,A.pending_out,t,e.next_out),e.next_out+=t,A.pending_out+=t,e.total_out+=t,e.avail_out-=t,A.pending-=t,0===A.pending&&(A.pending_out=0))}function S(e,A){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,A),e.block_start=e.strstart,T(e.strm)}function D(e,A){e.pending_buf[e.pending++]=A}function k(e,A){e.pending_buf[e.pending++]=A>>>8&255,e.pending_buf[e.pending++]=255&A}function N(e,A){var t,o,n=e.max_chain_length,a=e.strstart,i=e.prev_length,r=e.nice_match,s=e.strstart>e.w_size-f?e.strstart-(e.w_size-f):0,l=e.window,u=e.w_mask,c=e.prev,g=e.strstart+w,d=l[a+i-1],B=l[a+i];e.prev_length>=e.good_match&&(n>>=2),r>e.lookahead&&(r=e.lookahead);do{if(l[(t=A)+i]===B&&l[t+i-1]===d&&l[t]===l[a]&&l[++t]===l[a+1]){a+=2,t++;do{}while(l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&a<g);if(o=w-(g-a),a=g-w,i<o){if(e.match_start=A,r<=(i=o))break;d=l[a+i-1],B=l[a+i]}}}while((A=c[A&u])>s&&0!=--n);return i<=e.lookahead?i:e.lookahead}function R(e){var A,t,o,a,s,l,u,c,g,d,B=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=B+(B-f)){for(n.arraySet(e.window,e.window,B,B,0),e.match_start-=B,e.strstart-=B,e.block_start-=B,A=t=e.hash_size;o=e.head[--A],e.head[A]=B<=o?o-B:0,--t;);for(A=t=B;o=e.prev[--A],e.prev[A]=B<=o?o-B:0,--t;);a+=B}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,c=e.strstart+e.lookahead,d=void 0,(g=a)<(d=l.avail_in)&&(d=g),t=0===d?0:(l.avail_in-=d,n.arraySet(u,l.input,l.next_in,d,c),1===l.state.wrap?l.adler=i(l.adler,u,d,c):2===l.state.wrap&&(l.adler=r(l.adler,u,d,c)),l.next_in+=d,l.total_in+=d,d),e.lookahead+=t,e.lookahead+e.insert>=C)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+C-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<f&&0!==e.strm.avail_in)}function F(e,A){for(var t,o;;){if(e.lookahead<f){if(R(e),e.lookahead<f&&A===l)return 1;if(0===e.lookahead)break}if(t=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==t&&e.strstart-t<=e.w_size-f&&(e.match_length=N(e,t)),e.match_length>=C)if(o=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else o=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(o&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<C-1?e.strstart:C-1,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}function O(e,A){for(var t,o,n;;){if(e.lookahead<f){if(R(e),e.lookahead<f&&A===l)return 1;if(0===e.lookahead)break}if(t=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,0!==t&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-f&&(e.match_length=N(e,t),e.match_length<=5&&(1===e.strategy||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-C,o=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=C-1,e.strstart++,o&&(S(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((o=a._tr_tally(e,0,e.window[e.strstart-1]))&&S(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(o=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<C-1?e.strstart:C-1,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}function Y(e,A,t,o,n){this.good_length=e,this.max_lazy=A,this.nice_length=t,this.max_chain=o,this.func=n}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=d,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*m),this.dyn_dtree=new n.Buf16(2*(2*h+1)),this.bl_tree=new n.Buf16(2*(2*E+1)),b(this.dyn_ltree),b(this.dyn_dtree),b(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(p+1),this.heap=new n.Buf16(2*B+1),b(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*B+1),b(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function U(e){var A;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(A=e.state).pending=0,A.pending_out=0,A.wrap<0&&(A.wrap=-A.wrap),A.status=A.wrap?I:Q,e.adler=2===A.wrap?0:1,A.last_flush=l,a._tr_init(A),u):M(e,c)}function G(e){var A,t=U(e);return t===u&&((A=e.state).window_size=2*A.w_size,b(A.head),A.max_lazy_match=o[A.level].max_lazy,A.good_match=o[A.level].good_length,A.nice_match=o[A.level].nice_length,A.max_chain_length=o[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=C-1,A.match_available=0,A.ins_h=0),t}function _(e,A,t,o,a,i){if(!e)return c;var r=1;if(-1===A&&(A=6),o<0?(r=0,o=-o):15<o&&(r=2,o-=16),a<1||9<a||t!==d||o<8||15<o||A<0||9<A||i<0||4<i)return M(e,c);8===o&&(o=9);var s=new v;return(e.state=s).strm=e,s.wrap=r,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+C-1)/C),s.window=new n.Buf8(2*s.w_size),s.head=new n.Buf16(s.hash_size),s.prev=new n.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new n.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=A,s.strategy=i,s.method=t,G(e)}o=[new Y(0,0,0,0,function(e,A){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(R(e),0===e.lookahead&&A===l)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var o=e.block_start+t;if((0===e.strstart||e.strstart>=o)&&(e.lookahead=e.strstart-o,e.strstart=o,S(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-f&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(S(e,!1),e.strm.avail_out),1)}),new Y(4,4,8,4,F),new Y(4,5,16,8,F),new Y(4,6,32,32,F),new Y(4,4,16,16,O),new Y(8,16,32,32,O),new Y(8,16,128,128,O),new Y(8,32,128,256,O),new Y(32,128,258,1024,O),new Y(32,258,258,4096,O)],t.deflateInit=function(e,A){return _(e,A,d,15,8,0)},t.deflateInit2=_,t.deflateReset=G,t.deflateResetKeep=U,t.deflateSetHeader=function(e,A){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=A,u):c},t.deflate=function(e,A){var t,n,i,s;if(!e||!e.state||5<A||A<0)return e?M(e,c):c;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==A)return M(e,0===e.avail_out?-5:c);if(n.strm=e,t=n.last_flush,n.last_flush=A,n.status===I)if(2===n.wrap)e.adler=0,D(n,31),D(n,139),D(n,8),n.gzhead?(D(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),D(n,255&n.gzhead.time),D(n,n.gzhead.time>>8&255),D(n,n.gzhead.time>>16&255),D(n,n.gzhead.time>>24&255),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(D(n,255&n.gzhead.extra.length),D(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=r(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(D(n,0),D(n,0),D(n,0),D(n,0),D(n,0),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,3),n.status=Q);else{var g=d+(n.w_bits-8<<4)<<8;g|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(g|=32),g+=31-g%31,n.status=Q,k(n,g),0!==n.strstart&&(k(n,e.adler>>>16),k(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending!==n.pending_buf_size));)D(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,D(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,D(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&T(e),n.pending+2<=n.pending_buf_size&&(D(n,255&e.adler),D(n,e.adler>>8&255),e.adler=0,n.status=Q)):n.status=Q),0!==n.pending){if(T(e),0===e.avail_out)return n.last_flush=-1,u}else if(0===e.avail_in&&y(A)<=y(t)&&4!==A)return M(e,-5);if(666===n.status&&0!==e.avail_in)return M(e,-5);if(0!==e.avail_in||0!==n.lookahead||A!==l&&666!==n.status){var B=2===n.strategy?function(e,A){for(var t;;){if(0===e.lookahead&&(R(e),0===e.lookahead)){if(A===l)return 1;break}if(e.match_length=0,t=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}(n,A):3===n.strategy?function(e,A){for(var t,o,n,i,r=e.window;;){if(e.lookahead<=w){if(R(e),e.lookahead<=w&&A===l)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(o=r[n=e.strstart-1])===r[++n]&&o===r[++n]&&o===r[++n]){i=e.strstart+w;do{}while(o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&n<i);e.match_length=w-(i-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(t=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}(n,A):o[n.level].func(n,A);if(3!==B&&4!==B||(n.status=666),1===B||3===B)return 0===e.avail_out&&(n.last_flush=-1),u;if(2===B&&(1===A?a._tr_align(n):5!==A&&(a._tr_stored_block(n,0,0,!1),3===A&&(b(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),T(e),0===e.avail_out))return n.last_flush=-1,u}return 4!==A?u:n.wrap<=0?1:(2===n.wrap?(D(n,255&e.adler),D(n,e.adler>>8&255),D(n,e.adler>>16&255),D(n,e.adler>>24&255),D(n,255&e.total_in),D(n,e.total_in>>8&255),D(n,e.total_in>>16&255),D(n,e.total_in>>24&255)):(k(n,e.adler>>>16),k(n,65535&e.adler)),T(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?u:1)},t.deflateEnd=function(e){var A;return e&&e.state?(A=e.state.status)!==I&&69!==A&&73!==A&&91!==A&&103!==A&&A!==Q&&666!==A?M(e,c):(e.state=null,A===Q?M(e,-3):u):c},t.deflateSetDictionary=function(e,A){var t,o,a,r,s,l,g,d,B=A.length;if(!e||!e.state)return c;if(2===(r=(t=e.state).wrap)||1===r&&t.status!==I||t.lookahead)return c;for(1===r&&(e.adler=i(e.adler,A,B,0)),t.wrap=0,B>=t.w_size&&(0===r&&(b(t.head),t.strstart=0,t.block_start=0,t.insert=0),d=new n.Buf8(t.w_size),n.arraySet(d,A,B-t.w_size,t.w_size,0),A=d,B=t.w_size),s=e.avail_in,l=e.next_in,g=e.input,e.avail_in=B,e.next_in=0,e.input=A,R(t);t.lookahead>=C;){for(o=t.strstart,a=t.lookahead-(C-1);t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+C-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,--a;);t.strstart=o,t.lookahead=C-1,R(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=C-1,t.match_available=0,e.next_in=l,e.input=g,e.avail_in=s,t.wrap=r,u},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,A,t){"use strict";A.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,A,t){"use strict";A.exports=function(e,A){var t,o,n,a,i,r,s,l,u,c,g,d,B,h,E,m,p,C,w,f,I,Q,M,y,b;t=e.state,o=e.next_in,y=e.input,n=o+(e.avail_in-5),a=e.next_out,b=e.output,i=a-(A-e.avail_out),r=a+(e.avail_out-257),s=t.dmax,l=t.wsize,u=t.whave,c=t.wnext,g=t.window,d=t.hold,B=t.bits,h=t.lencode,E=t.distcode,m=(1<<t.lenbits)-1,p=(1<<t.distbits)-1;e:do{B<15&&(d+=y[o++]<<B,B+=8,d+=y[o++]<<B,B+=8),C=h[d&m];A:for(;;){if(d>>>=w=C>>>24,B-=w,0==(w=C>>>16&255))b[a++]=65535&C;else{if(!(16&w)){if(0==(64&w)){C=h[(65535&C)+(d&(1<<w)-1)];continue A}if(32&w){t.mode=12;break e}e.msg="invalid literal/length code",t.mode=30;break e}f=65535&C,(w&=15)&&(B<w&&(d+=y[o++]<<B,B+=8),f+=d&(1<<w)-1,d>>>=w,B-=w),B<15&&(d+=y[o++]<<B,B+=8,d+=y[o++]<<B,B+=8),C=E[d&p];t:for(;;){if(d>>>=w=C>>>24,B-=w,!(16&(w=C>>>16&255))){if(0==(64&w)){C=E[(65535&C)+(d&(1<<w)-1)];continue t}e.msg="invalid distance code",t.mode=30;break e}if(I=65535&C,B<(w&=15)&&(d+=y[o++]<<B,(B+=8)<w&&(d+=y[o++]<<B,B+=8)),s<(I+=d&(1<<w)-1)){e.msg="invalid distance too far back",t.mode=30;break e}if(d>>>=w,B-=w,(w=a-i)<I){if(u<(w=I-w)&&t.sane){e.msg="invalid distance too far back",t.mode=30;break e}if(M=g,(Q=0)===c){if(Q+=l-w,w<f){for(f-=w;b[a++]=g[Q++],--w;);Q=a-I,M=b}}else if(c<w){if(Q+=l+c-w,(w-=c)<f){for(f-=w;b[a++]=g[Q++],--w;);if(Q=0,c<f){for(f-=w=c;b[a++]=g[Q++],--w;);Q=a-I,M=b}}}else if(Q+=c-w,w<f){for(f-=w;b[a++]=g[Q++],--w;);Q=a-I,M=b}for(;2<f;)b[a++]=M[Q++],b[a++]=M[Q++],b[a++]=M[Q++],f-=3;f&&(b[a++]=M[Q++],1<f&&(b[a++]=M[Q++]))}else{for(Q=a-I;b[a++]=b[Q++],b[a++]=b[Q++],b[a++]=b[Q++],2<(f-=3););f&&(b[a++]=b[Q++],1<f&&(b[a++]=b[Q++]))}break}}break}}while(o<n&&a<r);o-=f=B>>3,d&=(1<<(B-=f<<3))-1,e.next_in=o,e.next_out=a,e.avail_in=o<n?n-o+5:5-(o-n),e.avail_out=a<r?r-a+257:257-(a-r),t.hold=d,t.bits=B}},{}],49:[function(e,A,t){"use strict";var o=e("../utils/common"),n=e("./adler32"),a=e("./crc32"),i=e("./inffast"),r=e("./inftrees"),s=1,l=2,u=0,c=-2,g=1,d=852,B=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function E(e){var A;return e&&e.state?(A=e.state,e.total_in=e.total_out=A.total=0,e.msg="",A.wrap&&(e.adler=1&A.wrap),A.mode=g,A.last=0,A.havedict=0,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new o.Buf32(d),A.distcode=A.distdyn=new o.Buf32(B),A.sane=1,A.back=-1,u):c}function m(e){var A;return e&&e.state?((A=e.state).wsize=0,A.whave=0,A.wnext=0,E(e)):c}function p(e,A){var t,o;return e&&e.state?(o=e.state,A<0?(t=0,A=-A):(t=1+(A>>4),A<48&&(A&=15)),A&&(A<8||15<A)?c:(null!==o.window&&o.wbits!==A&&(o.window=null),o.wrap=t,o.wbits=A,m(e))):c}function C(e,A){var t,n;return e?(n=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},(e.state=n).window=null,(t=p(e,A))!==u&&(e.state=null),t):c}var w,f,I=!0;function Q(e){if(I){var A;for(w=new o.Buf32(512),f=new o.Buf32(32),A=0;A<144;)e.lens[A++]=8;for(;A<256;)e.lens[A++]=9;for(;A<280;)e.lens[A++]=7;for(;A<288;)e.lens[A++]=8;for(r(s,e.lens,0,288,w,0,e.work,{bits:9}),A=0;A<32;)e.lens[A++]=5;r(l,e.lens,0,32,f,0,e.work,{bits:5}),I=!1}e.lencode=w,e.lenbits=9,e.distcode=f,e.distbits=5}function M(e,A,t,n){var a,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new o.Buf8(i.wsize)),n>=i.wsize?(o.arraySet(i.window,A,t-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(a=i.wsize-i.wnext)&&(a=n),o.arraySet(i.window,A,t-n,a,i.wnext),(n-=a)?(o.arraySet(i.window,A,t-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=a))),0}t.inflateReset=m,t.inflateReset2=p,t.inflateResetKeep=E,t.inflateInit=function(e){return C(e,15)},t.inflateInit2=C,t.inflate=function(e,A){var t,d,B,E,m,p,C,w,f,I,y,b,T,S,D,k,N,R,F,O,Y,v,U,G,_=0,L=new o.Buf8(4),x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return c;12===(t=e.state).mode&&(t.mode=13),m=e.next_out,B=e.output,C=e.avail_out,E=e.next_in,d=e.input,p=e.avail_in,w=t.hold,f=t.bits,I=p,y=C,v=u;e:for(;;)switch(t.mode){case g:if(0===t.wrap){t.mode=13;break}for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(2&t.wrap&&35615===w){L[t.check=0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0),f=w=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",t.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",t.mode=30;break}if(f-=4,Y=8+(15&(w>>>=4)),0===t.wbits)t.wbits=Y;else if(Y>t.wbits){e.msg="invalid window size",t.mode=30;break}t.dmax=1<<Y,e.adler=t.check=1,t.mode=512&w?10:12,f=w=0;break;case 2:for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(t.flags=w,8!=(255&t.flags)){e.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){e.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=w>>8&1),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0,t.mode=3;case 3:for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.head&&(t.head.time=w),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,L[2]=w>>>16&255,L[3]=w>>>24&255,t.check=a(t.check,L,4,0)),f=w=0,t.mode=4;case 4:for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.head&&(t.head.xflags=255&w,t.head.os=w>>8),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0,t.mode=5;case 5:if(1024&t.flags){for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.length=w,t.head&&(t.head.extra_len=w),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(p<(b=t.length)&&(b=p),b&&(t.head&&(Y=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),o.arraySet(t.head.extra,d,E,b,Y)),512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,t.length-=b),t.length))break e;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===p)break e;for(b=0;Y=d[E+b++],t.head&&Y&&t.length<65536&&(t.head.name+=String.fromCharCode(Y)),Y&&b<p;);if(512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,Y)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(0===p)break e;for(b=0;Y=d[E+b++],t.head&&Y&&t.length<65536&&(t.head.comment+=String.fromCharCode(Y)),Y&&b<p;);if(512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,Y)break e}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w!==(65535&t.check)){e.msg="header crc mismatch",t.mode=30;break}f=w=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=12;break;case 10:for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}e.adler=t.check=h(w),f=w=0,t.mode=11;case 11:if(0===t.havedict)return e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,2;e.adler=t.check=1,t.mode=12;case 12:if(5===A||6===A)break e;case 13:if(t.last){w>>>=7&f,f-=7&f,t.mode=27;break}for(;f<3;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}switch(t.last=1&w,f-=1,3&(w>>>=1)){case 0:t.mode=14;break;case 1:if(Q(t),t.mode=20,6!==A)break;w>>>=2,f-=2;break e;case 2:t.mode=17;break;case 3:e.msg="invalid block type",t.mode=30}w>>>=2,f-=2;break;case 14:for(w>>>=7&f,f-=7&f;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&w,f=w=0,t.mode=15,6===A)break e;case 15:t.mode=16;case 16:if(b=t.length){if(p<b&&(b=p),C<b&&(b=C),0===b)break e;o.arraySet(B,d,E,b,m),p-=b,E+=b,C-=b,m+=b,t.length-=b;break}t.mode=12;break;case 17:for(;f<14;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(t.nlen=257+(31&w),w>>>=5,f-=5,t.ndist=1+(31&w),w>>>=5,f-=5,t.ncode=4+(15&w),w>>>=4,f-=4,286<t.nlen||30<t.ndist){e.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;f<3;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.lens[x[t.have++]]=7&w,w>>>=3,f-=3}for(;t.have<19;)t.lens[x[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,U={bits:t.lenbits},v=r(0,t.lens,0,19,t.lencode,0,t.work,U),t.lenbits=U.bits,v){e.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;k=(_=t.lencode[w&(1<<t.lenbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(N<16)w>>>=D,f-=D,t.lens[t.have++]=N;else{if(16===N){for(G=D+2;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w>>>=D,f-=D,0===t.have){e.msg="invalid bit length repeat",t.mode=30;break}Y=t.lens[t.have-1],b=3+(3&w),w>>>=2,f-=2}else if(17===N){for(G=D+3;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}f-=D,Y=0,b=3+(7&(w>>>=D)),w>>>=3,f-=3}else{for(G=D+7;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}f-=D,Y=0,b=11+(127&(w>>>=D)),w>>>=7,f-=7}if(t.have+b>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=30;break}for(;b--;)t.lens[t.have++]=Y}}if(30===t.mode)break;if(0===t.lens[256]){e.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,U={bits:t.lenbits},v=r(s,t.lens,0,t.nlen,t.lencode,0,t.work,U),t.lenbits=U.bits,v){e.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,U={bits:t.distbits},v=r(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,U),t.distbits=U.bits,v){e.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===A)break e;case 20:t.mode=21;case 21:if(6<=p&&258<=C){e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,i(e,y),m=e.next_out,B=e.output,C=e.avail_out,E=e.next_in,d=e.input,p=e.avail_in,w=t.hold,f=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(_=t.lencode[w&(1<<t.lenbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(k&&0==(240&k)){for(R=D,F=k,O=N;k=(_=t.lencode[O+((w&(1<<R+F)-1)>>R)])>>>16&255,N=65535&_,!(R+(D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}w>>>=R,f-=R,t.back+=R}if(w>>>=D,f-=D,t.back+=D,t.length=N,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){e.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(G=t.extra;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.length+=w&(1<<t.extra)-1,w>>>=t.extra,f-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(_=t.distcode[w&(1<<t.distbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(0==(240&k)){for(R=D,F=k,O=N;k=(_=t.distcode[O+((w&(1<<R+F)-1)>>R)])>>>16&255,N=65535&_,!(R+(D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}w>>>=R,f-=R,t.back+=R}if(w>>>=D,f-=D,t.back+=D,64&k){e.msg="invalid distance code",t.mode=30;break}t.offset=N,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(G=t.extra;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.offset+=w&(1<<t.extra)-1,w>>>=t.extra,f-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===C)break e;if(b=y-C,t.offset>b){if((b=t.offset-b)>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=30;break}T=b>t.wnext?(b-=t.wnext,t.wsize-b):t.wnext-b,b>t.length&&(b=t.length),S=t.window}else S=B,T=m-t.offset,b=t.length;for(C<b&&(b=C),C-=b,t.length-=b;B[m++]=S[T++],--b;);0===t.length&&(t.mode=21);break;case 26:if(0===C)break e;B[m++]=t.length,C--,t.mode=21;break;case 27:if(t.wrap){for(;f<32;){if(0===p)break e;p--,w|=d[E++]<<f,f+=8}if(y-=C,e.total_out+=y,t.total+=y,y&&(e.adler=t.check=t.flags?a(t.check,B,y,m-y):n(t.check,B,y,m-y)),y=C,(t.flags?w:h(w))!==t.check){e.msg="incorrect data check",t.mode=30;break}f=w=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w!==(4294967295&t.total)){e.msg="incorrect length check",t.mode=30;break}f=w=0}t.mode=29;case 29:v=1;break e;case 30:v=-3;break e;case 31:return-4;case 32:default:return c}return e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,(t.wsize||y!==e.avail_out&&t.mode<30&&(t.mode<27||4!==A))&&M(e,e.output,e.next_out,y-e.avail_out)?(t.mode=31,-4):(I-=e.avail_in,y-=e.avail_out,e.total_in+=I,e.total_out+=y,t.total+=y,t.wrap&&y&&(e.adler=t.check=t.flags?a(t.check,B,y,e.next_out-y):n(t.check,B,y,e.next_out-y)),e.data_type=t.bits+(t.last?64:0)+(12===t.mode?128:0)+(20===t.mode||15===t.mode?256:0),(0==I&&0===y||4===A)&&v===u&&(v=-5),v)},t.inflateEnd=function(e){if(!e||!e.state)return c;var A=e.state;return A.window&&(A.window=null),e.state=null,u},t.inflateGetHeader=function(e,A){var t;return e&&e.state?0==(2&(t=e.state).wrap)?c:((t.head=A).done=!1,u):c},t.inflateSetDictionary=function(e,A){var t,o=A.length;return e&&e.state?0!==(t=e.state).wrap&&11!==t.mode?c:11===t.mode&&n(1,A,o,0)!==t.check?-3:M(e,A,o,o)?(t.mode=31,-4):(t.havedict=1,u):c},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,A,t){"use strict";var o=e("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],r=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];A.exports=function(e,A,t,s,l,u,c,g){var d,B,h,E,m,p,C,w,f,I=g.bits,Q=0,M=0,y=0,b=0,T=0,S=0,D=0,k=0,N=0,R=0,F=null,O=0,Y=new o.Buf16(16),v=new o.Buf16(16),U=null,G=0;for(Q=0;Q<=15;Q++)Y[Q]=0;for(M=0;M<s;M++)Y[A[t+M]]++;for(T=I,b=15;1<=b&&0===Y[b];b--);if(b<T&&(T=b),0===b)return l[u++]=20971520,l[u++]=20971520,g.bits=1,0;for(y=1;y<b&&0===Y[y];y++);for(T<y&&(T=y),Q=k=1;Q<=15;Q++)if(k<<=1,(k-=Y[Q])<0)return-1;if(0<k&&(0===e||1!==b))return-1;for(v[1]=0,Q=1;Q<15;Q++)v[Q+1]=v[Q]+Y[Q];for(M=0;M<s;M++)0!==A[t+M]&&(c[v[A[t+M]]++]=M);if(p=0===e?(F=U=c,19):1===e?(F=n,O-=257,U=a,G-=257,256):(F=i,U=r,-1),Q=y,m=u,D=M=R=0,h=-1,E=(N=1<<(S=T))-1,1===e&&852<N||2===e&&592<N)return 1;for(;;){for(C=Q-D,f=c[M]<p?(w=0,c[M]):c[M]>p?(w=U[G+c[M]],F[O+c[M]]):(w=96,0),d=1<<Q-D,y=B=1<<S;l[m+(R>>D)+(B-=d)]=C<<24|w<<16|f|0,0!==B;);for(d=1<<Q-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,M++,0==--Y[Q]){if(Q===b)break;Q=A[t+c[M]]}if(T<Q&&(R&E)!==h){for(0===D&&(D=T),m+=y,k=1<<(S=Q-D);S+D<b&&!((k-=Y[S+D])<=0);)S++,k<<=1;if(N+=1<<S,1===e&&852<N||2===e&&592<N)return 1;l[h=R&E]=T<<24|S<<16|m-u|0}}return 0!==R&&(l[m+R]=Q-D<<24|64<<16|0),g.bits=T,0}},{"../utils/common":41}],51:[function(e,A,t){"use strict";A.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,A,t){"use strict";var o=e("../utils/common");function n(e){for(var A=e.length;0<=--A;)e[A]=0}var a=15,i=16,r=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);n(c);var g=new Array(60);n(g);var d=new Array(512);n(d);var B=new Array(256);n(B);var h=new Array(29);n(h);var E,m,p,C=new Array(30);function w(e,A,t,o,n){this.static_tree=e,this.extra_bits=A,this.extra_base=t,this.elems=o,this.max_length=n,this.has_stree=e&&e.length}function f(e,A){this.dyn_tree=e,this.max_code=0,this.stat_desc=A}function I(e){return e<256?d[e]:d[256+(e>>>7)]}function Q(e,A){e.pending_buf[e.pending++]=255&A,e.pending_buf[e.pending++]=A>>>8&255}function M(e,A,t){e.bi_valid>i-t?(e.bi_buf|=A<<e.bi_valid&65535,Q(e,e.bi_buf),e.bi_buf=A>>i-e.bi_valid,e.bi_valid+=t-i):(e.bi_buf|=A<<e.bi_valid&65535,e.bi_valid+=t)}function y(e,A,t){M(e,t[2*A],t[2*A+1])}function b(e,A){for(var t=0;t|=1&e,e>>>=1,t<<=1,0<--A;);return t>>>1}function T(e,A,t){var o,n,i=new Array(a+1),r=0;for(o=1;o<=a;o++)i[o]=r=r+t[o-1]<<1;for(n=0;n<=A;n++){var s=e[2*n+1];0!==s&&(e[2*n]=b(i[s]++,s))}}function S(e){var A;for(A=0;A<286;A++)e.dyn_ltree[2*A]=0;for(A=0;A<30;A++)e.dyn_dtree[2*A]=0;for(A=0;A<19;A++)e.bl_tree[2*A]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){8<e.bi_valid?Q(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function k(e,A,t,o){var n=2*A,a=2*t;return e[n]<e[a]||e[n]===e[a]&&o[A]<=o[t]}function N(e,A,t){for(var o=e.heap[t],n=t<<1;n<=e.heap_len&&(n<e.heap_len&&k(A,e.heap[n+1],e.heap[n],e.depth)&&n++,!k(A,o,e.heap[n],e.depth));)e.heap[t]=e.heap[n],t=n,n<<=1;e.heap[t]=o}function R(e,A,t){var o,n,a,i,l=0;if(0!==e.last_lit)for(;o=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],n=e.pending_buf[e.l_buf+l],l++,0===o?y(e,n,A):(y(e,(a=B[n])+256+1,A),0!==(i=r[a])&&M(e,n-=h[a],i),y(e,a=I(--o),t),0!==(i=s[a])&&M(e,o-=C[a],i)),l<e.last_lit;);y(e,256,A)}function F(e,A){var t,o,n,i=A.dyn_tree,r=A.stat_desc.static_tree,s=A.stat_desc.has_stree,l=A.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,t=0;t<l;t++)0!==i[2*t]?(e.heap[++e.heap_len]=u=t,e.depth[t]=0):i[2*t+1]=0;for(;e.heap_len<2;)i[2*(n=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[n]=0,e.opt_len--,s&&(e.static_len-=r[2*n+1]);for(A.max_code=u,t=e.heap_len>>1;1<=t;t--)N(e,i,t);for(n=l;t=e.heap[1],e.heap[1]=e.heap[e.heap_len--],N(e,i,1),o=e.heap[1],e.heap[--e.heap_max]=t,e.heap[--e.heap_max]=o,i[2*n]=i[2*t]+i[2*o],e.depth[n]=(e.depth[t]>=e.depth[o]?e.depth[t]:e.depth[o])+1,i[2*t+1]=i[2*o+1]=n,e.heap[1]=n++,N(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,A){var t,o,n,i,r,s,l=A.dyn_tree,u=A.max_code,c=A.stat_desc.static_tree,g=A.stat_desc.has_stree,d=A.stat_desc.extra_bits,B=A.stat_desc.extra_base,h=A.stat_desc.max_length,E=0;for(i=0;i<=a;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,t=e.heap_max+1;t<573;t++)h<(i=l[2*l[2*(o=e.heap[t])+1]+1]+1)&&(i=h,E++),l[2*o+1]=i,u<o||(e.bl_count[i]++,r=0,B<=o&&(r=d[o-B]),s=l[2*o],e.opt_len+=s*(i+r),g&&(e.static_len+=s*(c[2*o+1]+r)));if(0!==E){do{for(i=h-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[h]--,E-=2}while(0<E);for(i=h;0!==i;i--)for(o=e.bl_count[i];0!==o;)u<(n=e.heap[--t])||(l[2*n+1]!==i&&(e.opt_len+=(i-l[2*n+1])*l[2*n],l[2*n+1]=i),o--)}}(e,A),T(i,u,e.bl_count)}function O(e,A,t){var o,n,a=-1,i=A[1],r=0,s=7,l=4;for(0===i&&(s=138,l=3),A[2*(t+1)+1]=65535,o=0;o<=t;o++)n=i,i=A[2*(o+1)+1],++r<s&&n===i||(r<l?e.bl_tree[2*n]+=r:0!==n?(n!==a&&e.bl_tree[2*n]++,e.bl_tree[32]++):r<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=n,l=(r=0)===i?(s=138,3):n===i?(s=6,3):(s=7,4))}function Y(e,A,t){var o,n,a=-1,i=A[1],r=0,s=7,l=4;for(0===i&&(s=138,l=3),o=0;o<=t;o++)if(n=i,i=A[2*(o+1)+1],!(++r<s&&n===i)){if(r<l)for(;y(e,n,e.bl_tree),0!=--r;);else 0!==n?(n!==a&&(y(e,n,e.bl_tree),r--),y(e,16,e.bl_tree),M(e,r-3,2)):r<=10?(y(e,17,e.bl_tree),M(e,r-3,3)):(y(e,18,e.bl_tree),M(e,r-11,7));a=n,l=(r=0)===i?(s=138,3):n===i?(s=6,3):(s=7,4)}}n(C);var v=!1;function U(e,A,t,n){var a,i,r;M(e,0+(n?1:0),3),i=A,r=t,D(a=e),Q(a,r),Q(a,~r),o.arraySet(a.pending_buf,a.window,i,r,a.pending),a.pending+=r}t._tr_init=function(e){v||(function(){var e,A,t,o,n,i=new Array(a+1);for(o=t=0;o<28;o++)for(h[o]=t,e=0;e<1<<r[o];e++)B[t++]=o;for(B[t-1]=o,o=n=0;o<16;o++)for(C[o]=n,e=0;e<1<<s[o];e++)d[n++]=o;for(n>>=7;o<30;o++)for(C[o]=n<<7,e=0;e<1<<s[o]-7;e++)d[256+n++]=o;for(A=0;A<=a;A++)i[A]=0;for(e=0;e<=143;)c[2*e+1]=8,e++,i[8]++;for(;e<=255;)c[2*e+1]=9,e++,i[9]++;for(;e<=279;)c[2*e+1]=7,e++,i[7]++;for(;e<=287;)c[2*e+1]=8,e++,i[8]++;for(T(c,287,i),e=0;e<30;e++)g[2*e+1]=5,g[2*e]=b(e,5);E=new w(c,r,257,286,a),m=new w(g,s,0,30,a),p=new w(new Array(0),l,0,19,7)}(),v=!0),e.l_desc=new f(e.dyn_ltree,E),e.d_desc=new f(e.dyn_dtree,m),e.bl_desc=new f(e.bl_tree,p),e.bi_buf=0,e.bi_valid=0,S(e)},t._tr_stored_block=U,t._tr_flush_block=function(e,A,t,o){var n,a,i=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var A,t=4093624447;for(A=0;A<=31;A++,t>>>=1)if(1&t&&0!==e.dyn_ltree[2*A])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(A=32;A<256;A++)if(0!==e.dyn_ltree[2*A])return 1;return 0}(e)),F(e,e.l_desc),F(e,e.d_desc),i=function(e){var A;for(O(e,e.dyn_ltree,e.l_desc.max_code),O(e,e.dyn_dtree,e.d_desc.max_code),F(e,e.bl_desc),A=18;3<=A&&0===e.bl_tree[2*u[A]+1];A--);return e.opt_len+=3*(A+1)+5+5+4,A}(e),n=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=n&&(n=a)):n=a=t+5,t+4<=n&&-1!==A?U(e,A,t,o):4===e.strategy||a===n?(M(e,2+(o?1:0),3),R(e,c,g)):(M(e,4+(o?1:0),3),function(e,A,t,o){var n;for(M(e,A-257,5),M(e,t-1,5),M(e,o-4,4),n=0;n<o;n++)M(e,e.bl_tree[2*u[n]+1],3);Y(e,e.dyn_ltree,A-1),Y(e,e.dyn_dtree,t-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),R(e,e.dyn_ltree,e.dyn_dtree)),S(e),o&&D(e)},t._tr_tally=function(e,A,t){return e.pending_buf[e.d_buf+2*e.last_lit]=A>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&A,e.pending_buf[e.l_buf+e.last_lit]=255&t,e.last_lit++,0===A?e.dyn_ltree[2*t]++:(e.matches++,A--,e.dyn_ltree[2*(B[t]+256+1)]++,e.dyn_dtree[2*I(A)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){var A;M(e,2,3),y(e,256,c),16===(A=e).bi_valid?(Q(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,A,t){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,A,t){"use strict";A.exports="function"==typeof o?o:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}).call(this,t(36),t(66).Buffer,t(451).setImmediate)},function(e,A){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},function(e,A,t){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function a(e,A){this._id=e,this._clearFn=A}A.setTimeout=function(){return new a(n.call(setTimeout,o,arguments),clearTimeout)},A.setInterval=function(){return new a(n.call(setInterval,o,arguments),clearInterval)},A.clearTimeout=A.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(o,this._id)},A.enroll=function(e,A){clearTimeout(e._idleTimeoutId),e._idleTimeout=A},A.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},A._unrefActive=A.active=function(e){clearTimeout(e._idleTimeoutId);var A=e._idleTimeout;A>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},A))},t(1053),A.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,A.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,t(36))},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,A){return(a=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function i(e){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var t,n=r(e);if(A){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return function(e,A){if(A&&("object"===o(A)||"function"==typeof A))return A;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=t(1054),l=t(39),u=function(e){!function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),A&&a(e,A)}(t,s);var A=i(t);function t(){var e;return function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),(e=A.call(this)).services={},e.workerClass="undefined"==typeof Worker?null:Worker,e.workers=[],e}return function(e,A,t){A&&n(e.prototype,A),t&&n(e,t)}(t,[{key:"callSync",value:function(e,A){var t=this._getServiceProvider(e),o=t.provider,n=t.isRemote;if(o){if(n)throw new Error("Cannot use 'callSync' on remote provider for service ".concat(e,"."));for(var a=arguments.length,i=new Array(a>2?a-2:0),r=2;r<a;r++)i[r-2]=arguments[r];return o[A].apply(o,i)}throw new Error("Provider not found for service: ".concat(e))}},{key:"setServiceSync",value:function(e,A){this.services.hasOwnProperty(e)&&l.warn("Central dispatch replacing existing service provider for ".concat(e)),this.services[e]=A}},{key:"setService",value:function(e,A){try{return this.setServiceSync(e,A),Promise.resolve()}catch(e){return Promise.reject(e)}}},{key:"addWorker",value:function(e){-1===this.workers.indexOf(e)?(this.workers.push(e),e.onmessage=this._onMessage.bind(this,e),this._remoteCall(e,"dispatch","handshake").catch(function(e){l.error("Could not handshake with worker: ".concat(JSON.stringify(e)))})):l.warn("Central dispatch ignoring attempt to add duplicate worker")}},{key:"_getServiceProvider",value:function(e){var A=this.services[e];return A&&{provider:A,isRemote:Boolean(this.workerClass&&A instanceof this.workerClass)}}},{key:"_onDispatchMessage",value:function(e,A){var t;switch(A.method){case"setService":t=this.setService(A.args[0],e);break;default:l.error("Central dispatch received message for unknown method: ".concat(A.method))}return t}}]),t}();e.exports=new u},function(e,A,t){var o=t(1055),n=o.enable,a=o.disable,i="undefined"!=typeof navigator&&/chrome/i.test(navigator.userAgent),r=t(1058);if(o.defaultBackend=i?r.minilog:r,"undefined"!=typeof window){try{o.enable(JSON.parse(window.localStorage.minilogSettings))}catch(e){}if(window.location&&window.location.search){var s=RegExp("[?&]minilog=([^&]*)").exec(window.location.search);s&&o.enable(decodeURIComponent(s[1]))}}o.enable=function(){n.call(o,!0);try{window.localStorage.minilogSettings=JSON.stringify(!0)}catch(e){}return this},o.disable=function(){a.call(o);try{delete window.localStorage.minilogSettings}catch(e){}return this},(e.exports=o).backends={array:t(1061),browser:o.defaultBackend,localStorage:t(1062),jQuery:t(1063)}},function(e,A){var t={black:"#000",red:"#c23621",green:"#25bc26",yellow:"#bbbb00",blue:"#492ee1",magenta:"#d338d3",cyan:"#33bbc8",gray:"#808080",purple:"#708"};e.exports=function(e,A){return A?"color: #fff; background: "+t[e]+";":"color: "+t[e]+";"}},function(e,A,t){var o=t(76);e.exports=function(e,A,t){return e&&e.id&&e.default?o(e,A,t):e}},function(e,A,t){"use strict";var o="one",n="two",a="few",i="many",r="other",s=[function(e){return 1===+e?o:r},function(e){var A=+e;return 0<=A&&A<=1?o:r},function(e){return 0===Math.floor(Math.abs(+e))||1===+e?o:r},function(e){var A=+e;return 0===A?"zero":1===A?o:2===A?n:3<=A%100&&A%100<=10?a:11<=A%100&&A%100<=99?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:r},function(e){var A=+e;return A%10==1&&A%100!=11?o:2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:A%10==0||5<=A%10&&A%10<=9||11<=A%100&&A%100<=14?i:r},function(e){var A=+e;return A%10==1&&A%100!=11&&A%100!=71&&A%100!=91?o:A%10==2&&A%100!=12&&A%100!=72&&A%100!=92?n:(3<=A%10&&A%10<=4||A%10==9)&&(A%100<10||19<A%100)&&(A%100<70||79<A%100)&&(A%100<90||99<A%100)?a:0!==A&&A%1e6==0?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&A%10==1&&A%100!=11||n%10==1&&n%100!=11?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)||2<=n%10&&n%10<=4&&(n%100<12||14<n%100)?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:2<=A&&A<=4&&0===t?a:0!==t?i:r},function(e){var A=+e;return 0===A?"zero":1===A?o:2===A?n:3===A?a:6===A?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(""+e).replace(/^[^.]*.?|0+$/g,"");return 1===+e||0!==t&&(0===A||1===A)?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,i=+(e+".").split(".")[1];return 0===t&&A%100==1||i%100==1?o:0===t&&A%100==2||i%100==2?n:0===t&&3<=A%100&&A%100<=4||3<=i%100&&i%100<=4?a:r},function(e){var A=Math.floor(Math.abs(+e));return 0===A||1===A?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&(1===A||2===A||3===A)||0===t&&A%10!=4&&A%10!=6&&A%10!=9||0!==t&&n%10!=4&&n%10!=6&&n%10!=9?o:r},function(e){var A=+e;return 1===A?o:2===A?n:3<=A&&A<=6?a:7<=A&&A<=10?i:r},function(e){var A=+e;return 1===A||11===A?o:2===A||12===A?n:3<=A&&A<=10||13<=A&&A<=19?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%10==1?o:0===t&&A%10==2?n:0!==t||A%100!=0&&A%100!=20&&A%100!=40&&A%100!=60&&A%100!=80?0!==t?i:r:a},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,a=+e;return 1===A&&0===t?o:2===A&&0===t?n:0===t&&(a<0||10<a)&&a%10==0?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(""+e).replace(/^[^.]*.?|0+$/g,"");return 0===t&&A%10==1&&A%100!=11||0!==t?o:r},function(e){var A=+e;return 1===A?o:2===A?n:r},function(e){var A=+e;return 0===A?"zero":1===A?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=+e;return 0===t?"zero":0!==A&&1!==A||0===t?r:o},function(e){var A=+(e+".").split(".")[1],t=+e;return t%10==1&&(t%100<11||19<t%100)?o:2<=t%10&&t%10<=9&&(t%100<11||19<t%100)?a:0!==A?i:r},function(e){var A=(e+".").split(".")[1].length,t=+(e+".").split(".")[1],n=+e;return n%10==0||11<=n%100&&n%100<=19||2===A&&11<=t%100&&t%100<=19?"zero":n%10==1&&n%100!=11||2===A&&t%10==1&&t%100!=11||2!==A&&t%10==1?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&A%10==1&&A%100!=11||n%10==1&&n%100!=11?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+e;return 1===A&&0===t?o:0!==t||0===n||1!==n&&1<=n%100&&n%100<=19?a:r},function(e){var A=+e;return 1===A?o:0===A||2<=A%100&&A%100<=10?a:11<=A%100&&A%100<=19?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:0===t&&1!==A&&0<=A%10&&A%10<=1||0===t&&5<=A%10&&A%10<=9||0===t&&12<=A%100&&A%100<=14?i:r},function(e){var A=Math.floor(Math.abs(+e));return 0<=A&&A<=1?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%10==1&&A%100!=11?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:0===t&&A%10==0||0===t&&5<=A%10&&A%10<=9||0===t&&11<=A%100&&A%100<=14?i:r},function(e){var A=+e;return 0===Math.floor(Math.abs(+e))||1===A?o:2<=A&&A<=10?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(e+".").split(".")[1],n=+e;return 0===n||1===n||0===A&&1===t?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%100==1?o:0===t&&A%100==2?n:0===t&&3<=A%100&&A%100<=4||0!==t?a:r},function(e){var A=+e;return 0<=A&&A<=1||11<=A&&A<=99?o:r},function(e){var A=+e;return 1===A||5===A||7===A||8===A||9===A||10===A?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=Math.floor(Math.abs(+e));return A%10==1||A%10==2||A%10==5||A%10==7||A%10==8||A%100==20||A%100==50||A%100==70||A%100==80?o:A%10==3||A%10==4||A%1e3==100||A%1e3==200||A%1e3==300||A%1e3==400||A%1e3==500||A%1e3==600||A%1e3==700||A%1e3==800||A%1e3==900?a:0===A||A%10==6||A%100==40||A%100==60||A%100==90?i:r},function(e){var A=+e;return A%10!=2&&A%10!=3||A%100==12||A%100==13?r:a},function(e){var A=+e;return 1===A||3===A?o:2===A?n:4===A?a:r},function(e){var A=+e;return 0===A||7===A||8===A||9===A?"zero":1===A?o:2===A?n:3===A||4===A?a:5===A||6===A?i:r},function(e){var A=+e;return A%10==1&&A%100!=11?o:A%10==2&&A%100!=12?n:A%10==3&&A%100!=13?a:r},function(e){var A=+e;return 1===A?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=+e;return 1===A||5===A?o:r},function(e){var A=+e;return 11===A||8===A||80===A||800===A?i:r},function(e){var A=Math.floor(Math.abs(+e));return 1===A?o:0===A||2<=A%100&&A%100<=20||A%100==40||A%100==60||A%100==80?i:r},function(e){var A=+e;return A%10==6||A%10==9||A%10==0&&0!==A?i:r},function(e){var A=Math.floor(Math.abs(+e));return A%10==1&&A%100!=11?o:A%10==2&&A%100!=12?n:A%10!=7&&A%10!=8||A%100==17||A%100==18?r:i},function(e){var A=+e;return 1===A?o:2===A||3===A?n:4===A?a:r},function(e){var A=+e;return 1<=A&&A<=4?o:r},function(e){var A=+e;return 1===A||5===A||7<=A&&A<=9?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=+e;return 1===A?o:A%10==4&&A%100!=14?i:r},function(e){var A=+e;return A%10!=1&&A%10!=2||A%100==11||A%100==12?r:o},function(e){var A=+e;return A%10==6||A%10==9||10===A?a:r},function(e){var A=+e;return A%10==3&&A%100!=13?a:r}];e.exports={af:{cardinal:s[0]},ak:{cardinal:s[1]},am:{cardinal:s[2]},ar:{cardinal:s[3]},ars:{cardinal:s[3]},as:{cardinal:s[2],ordinal:s[34]},asa:{cardinal:s[0]},ast:{cardinal:s[4]},az:{cardinal:s[0],ordinal:s[35]},be:{cardinal:s[5],ordinal:s[36]},bem:{cardinal:s[0]},bez:{cardinal:s[0]},bg:{cardinal:s[0]},bh:{cardinal:s[1]},bn:{cardinal:s[2],ordinal:s[34]},br:{cardinal:s[6]},brx:{cardinal:s[0]},bs:{cardinal:s[7]},ca:{cardinal:s[4],ordinal:s[37]},ce:{cardinal:s[0]},cgg:{cardinal:s[0]},chr:{cardinal:s[0]},ckb:{cardinal:s[0]},cs:{cardinal:s[8]},cy:{cardinal:s[9],ordinal:s[38]},da:{cardinal:s[10]},de:{cardinal:s[4]},dsb:{cardinal:s[11]},dv:{cardinal:s[0]},ee:{cardinal:s[0]},el:{cardinal:s[0]},en:{cardinal:s[4],ordinal:s[39]},eo:{cardinal:s[0]},es:{cardinal:s[0]},et:{cardinal:s[4]},eu:{cardinal:s[0]},fa:{cardinal:s[2]},ff:{cardinal:s[12]},fi:{cardinal:s[4]},fil:{cardinal:s[13],ordinal:s[0]},fo:{cardinal:s[0]},fr:{cardinal:s[12],ordinal:s[0]},fur:{cardinal:s[0]},fy:{cardinal:s[4]},ga:{cardinal:s[14],ordinal:s[0]},gd:{cardinal:s[15]},gl:{cardinal:s[4]},gsw:{cardinal:s[0]},gu:{cardinal:s[2],ordinal:s[40]},guw:{cardinal:s[1]},gv:{cardinal:s[16]},ha:{cardinal:s[0]},haw:{cardinal:s[0]},he:{cardinal:s[17]},hi:{cardinal:s[2],ordinal:s[40]},hr:{cardinal:s[7]},hsb:{cardinal:s[11]},hu:{cardinal:s[0],ordinal:s[41]},hy:{cardinal:s[12],ordinal:s[0]},io:{cardinal:s[4]},is:{cardinal:s[18]},it:{cardinal:s[4],ordinal:s[42]},iu:{cardinal:s[19]},iw:{cardinal:s[17]},jgo:{cardinal:s[0]},ji:{cardinal:s[4]},jmc:{cardinal:s[0]},ka:{cardinal:s[0],ordinal:s[43]},kab:{cardinal:s[12]},kaj:{cardinal:s[0]},kcg:{cardinal:s[0]},kk:{cardinal:s[0],ordinal:s[44]},kkj:{cardinal:s[0]},kl:{cardinal:s[0]},kn:{cardinal:s[2]},ks:{cardinal:s[0]},ksb:{cardinal:s[0]},ksh:{cardinal:s[20]},ku:{cardinal:s[0]},kw:{cardinal:s[19]},ky:{cardinal:s[0]},lag:{cardinal:s[21]},lb:{cardinal:s[0]},lg:{cardinal:s[0]},ln:{cardinal:s[1]},lt:{cardinal:s[22]},lv:{cardinal:s[23]},mas:{cardinal:s[0]},mg:{cardinal:s[1]},mgo:{cardinal:s[0]},mk:{cardinal:s[24],ordinal:s[45]},ml:{cardinal:s[0]},mn:{cardinal:s[0]},mo:{cardinal:s[25],ordinal:s[0]},mr:{cardinal:s[2],ordinal:s[46]},mt:{cardinal:s[26]},nah:{cardinal:s[0]},naq:{cardinal:s[19]},nb:{cardinal:s[0]},nd:{cardinal:s[0]},ne:{cardinal:s[0],ordinal:s[47]},nl:{cardinal:s[4]},nn:{cardinal:s[0]},nnh:{cardinal:s[0]},no:{cardinal:s[0]},nr:{cardinal:s[0]},nso:{cardinal:s[1]},ny:{cardinal:s[0]},nyn:{cardinal:s[0]},om:{cardinal:s[0]},or:{cardinal:s[0],ordinal:s[48]},os:{cardinal:s[0]},pa:{cardinal:s[1]},pap:{cardinal:s[0]},pl:{cardinal:s[27]},prg:{cardinal:s[23]},ps:{cardinal:s[0]},pt:{cardinal:s[28]},"pt-PT":{cardinal:s[4]},rm:{cardinal:s[0]},ro:{cardinal:s[25],ordinal:s[0]},rof:{cardinal:s[0]},ru:{cardinal:s[29]},rwk:{cardinal:s[0]},saq:{cardinal:s[0]},scn:{cardinal:s[4],ordinal:s[42]},sd:{cardinal:s[0]},sdh:{cardinal:s[0]},se:{cardinal:s[19]},seh:{cardinal:s[0]},sh:{cardinal:s[7]},shi:{cardinal:s[30]},si:{cardinal:s[31]},sk:{cardinal:s[8]},sl:{cardinal:s[32]},sma:{cardinal:s[19]},smi:{cardinal:s[19]},smj:{cardinal:s[19]},smn:{cardinal:s[19]},sms:{cardinal:s[19]},sn:{cardinal:s[0]},so:{cardinal:s[0]},sq:{cardinal:s[0],ordinal:s[49]},sr:{cardinal:s[7]},ss:{cardinal:s[0]},ssy:{cardinal:s[0]},st:{cardinal:s[0]},sv:{cardinal:s[4],ordinal:s[50]},sw:{cardinal:s[4]},syr:{cardinal:s[0]},ta:{cardinal:s[0]},te:{cardinal:s[0]},teo:{cardinal:s[0]},ti:{cardinal:s[1]},tig:{cardinal:s[0]},tk:{cardinal:s[0],ordinal:s[51]},tl:{cardinal:s[13],ordinal:s[0]},tn:{cardinal:s[0]},tr:{cardinal:s[0]},ts:{cardinal:s[0]},tzm:{cardinal:s[33]},ug:{cardinal:s[0]},uk:{cardinal:s[29],ordinal:s[52]},ur:{cardinal:s[4]},uz:{cardinal:s[0]},ve:{cardinal:s[0]},vo:{cardinal:s[0]},vun:{cardinal:s[0]},wa:{cardinal:s[1]},wae:{cardinal:s[0]},xh:{cardinal:s[0]},xog:{cardinal:s[0]},yi:{cardinal:s[4]},zu:{cardinal:s[2]},lo:{ordinal:s[0]},ms:{ordinal:s[0]},vi:{ordinal:s[0]}}},function(e,A){e.exports={SPRITE:"sprite",STAGE:"stage"}},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=t(164),a=t(1095);e.exports=function(e){return function e(A){var t=Object.create(null);for(var o in t.tagName=A.name,t.children=[],A.attribs)"xmlns"!==o&&(t[o]=a(A.attribs[o]),"blockinfo"===o&&(t.blockInfo=JSON.parse(t.blockinfo),delete t.blockinfo));for(var n=0;n<A.children.length;n++)t.children.push(e(A.children[n]));return t}("object"===o(e)?e:n.parseDOM(e)[0])}},function(e,A,t){var o=t(460),n={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:n,input:n,output:n,button:n,datalist:n,textarea:n,option:{option:!0},optgroup:{optgroup:!0}},i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},r={__proto__:null,math:!0,svg:!0},s={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(e,A){this._options=A||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(o=this._options.Tokenizer),this._tokenizer=new o(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}t(234)(u,t(99).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var A;(A=this._stack[this._stack.length-1])in a[e];this.onclosetag(A));!this._options.xmlMode&&e in i||(this._stack.push(e),e in r?this._foreignContext.push(!0):e in s&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in i&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in i&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var A=this._stack.lastIndexOf(e);if(-1!==A)if(this._cbs.onclosetag)for(A=this._stack.length-A;A--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=A;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop(),(e in r||e in s)&&this._foreignContext.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var A=e.search(l),t=A<0?e:e.substr(0,A);return this._lowerCaseTagNames&&(t=t.toLowerCase()),t},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var A=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+A,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var A=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+A,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},function(e,A,t){e.exports=Ee;var o=t(461),n=t(314),a=t(462),i=t(315),r=0,s=r++,l=r++,u=r++,c=r++,g=r++,d=r++,B=r++,h=r++,E=r++,m=r++,p=r++,C=r++,w=r++,f=r++,I=r++,Q=r++,M=r++,y=r++,b=r++,T=r++,S=r++,D=r++,k=r++,N=r++,R=r++,F=r++,O=r++,Y=r++,v=r++,U=r++,G=r++,_=r++,L=r++,x=r++,H=r++,P=r++,j=r++,J=r++,z=r++,W=r++,K=r++,V=r++,X=r++,q=r++,Z=r++,$=r++,ee=r++,Ae=r++,te=r++,oe=r++,ne=r++,ae=r++,ie=r++,re=r++,se=r++,le=0,ue=le++,ce=le++,ge=le++;function de(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function Be(e,A,t){var o=e.toLowerCase();return e===o?function(e){e===o?this._state=A:(this._state=t,this._index--)}:function(n){n===o||n===e?this._state=A:(this._state=t,this._index--)}}function he(e,A){var t=e.toLowerCase();return function(o){o===t||o===e?this._state=A:(this._state=u,this._index--)}}function Ee(e,A){this._state=s,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=s,this._special=ue,this._cbs=A,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}Ee.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=s,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateBeforeTagName=function(e){"/"===e?this._state=g:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||de(e)?this._state=s:"!"===e?(this._state=I,this._sectionStart=this._index+1):"?"===e?(this._state=M,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:G,this._sectionStart=this._index)},Ee.prototype._stateInTagName=function(e){("/"===e||">"===e||de(e))&&(this._emitToken("onopentagname"),this._state=h,this._index--)},Ee.prototype._stateBeforeCloseingTagName=function(e){de(e)||(">"===e?this._state=s:this._special!==ue?"s"===e||"S"===e?this._state=_:(this._state=s,this._index--):(this._state=d,this._sectionStart=this._index))},Ee.prototype._stateInCloseingTagName=function(e){(">"===e||de(e))&&(this._emitToken("onclosetag"),this._state=B,this._index--)},Ee.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=s,this._sectionStart=this._index+1):"/"===e?this._state=c:de(e)||(this._state=E,this._sectionStart=this._index)},Ee.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=s,this._sectionStart=this._index+1):de(e)||(this._state=h,this._index--)},Ee.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||de(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},Ee.prototype._stateAfterAttributeName=function(e){"="===e?this._state=p:"/"===e||">"===e?(this._cbs.onattribend(),this._state=h,this._index--):de(e)||(this._cbs.onattribend(),this._state=E,this._sectionStart=this._index)},Ee.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=C,this._sectionStart=this._index+1):"'"===e?(this._state=w,this._sectionStart=this._index+1):de(e)||(this._state=f,this._sectionStart=this._index,this._index--)},Ee.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateInAttributeValueNoQuotes=function(e){de(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateBeforeDeclaration=function(e){this._state="["===e?D:"-"===e?y:Q},Ee.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateBeforeComment=function(e){"-"===e?(this._state=b,this._sectionStart=this._index+1):this._state=Q},Ee.prototype._stateInComment=function(e){"-"===e&&(this._state=T)},Ee.prototype._stateAfterComment1=function(e){this._state="-"===e?S:b},Ee.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=s,this._sectionStart=this._index+1):"-"!==e&&(this._state=b)},Ee.prototype._stateBeforeCdata1=Be("C",k,Q),Ee.prototype._stateBeforeCdata2=Be("D",N,Q),Ee.prototype._stateBeforeCdata3=Be("A",R,Q),Ee.prototype._stateBeforeCdata4=Be("T",F,Q),Ee.prototype._stateBeforeCdata5=Be("A",O,Q),Ee.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=Y,this._sectionStart=this._index+1):(this._state=Q,this._index--)},Ee.prototype._stateInCdata=function(e){"]"===e&&(this._state=v)},Ee.prototype._stateAfterCdata1=function(e){this._state="]"===e?U:Y},Ee.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=s,this._sectionStart=this._index+1):"]"!==e&&(this._state=Y)},Ee.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=L:"t"===e||"T"===e?this._state=X:(this._state=u,this._index--)},Ee.prototype._stateBeforeSpecialEnd=function(e){this._special!==ce||"c"!==e&&"C"!==e?this._special!==ge||"t"!==e&&"T"!==e?this._state=s:this._state=ee:this._state=J},Ee.prototype._stateBeforeScript1=he("R",x),Ee.prototype._stateBeforeScript2=he("I",H),Ee.prototype._stateBeforeScript3=he("P",P),Ee.prototype._stateBeforeScript4=he("T",j),Ee.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||de(e))&&(this._special=ce),this._state=u,this._index--},Ee.prototype._stateAfterScript1=Be("R",z,s),Ee.prototype._stateAfterScript2=Be("I",W,s),Ee.prototype._stateAfterScript3=Be("P",K,s),Ee.prototype._stateAfterScript4=Be("T",V,s),Ee.prototype._stateAfterScript5=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=s},Ee.prototype._stateBeforeStyle1=he("Y",q),Ee.prototype._stateBeforeStyle2=he("L",Z),Ee.prototype._stateBeforeStyle3=he("E",$),Ee.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||de(e))&&(this._special=ge),this._state=u,this._index--},Ee.prototype._stateAfterStyle1=Be("Y",Ae,s),Ee.prototype._stateAfterStyle2=Be("L",te,s),Ee.prototype._stateAfterStyle3=Be("E",oe,s),Ee.prototype._stateAfterStyle4=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=s},Ee.prototype._stateBeforeEntity=Be("#",ae,ie),Ee.prototype._stateBeforeNumericEntity=Be("X",se,re),Ee.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),A=this._xmlMode?i:n;A.hasOwnProperty(e)&&(this._emitPartial(A[e]),this._sectionStart=this._index+1)}},Ee.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,A=this._index-e;for(A>6&&(A=6);A>=2;){var t=this._buffer.substr(e,A);if(a.hasOwnProperty(t))return this._emitPartial(a[t]),void(this._sectionStart+=A+1);A--}},Ee.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==s?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},Ee.prototype._decodeNumericEntity=function(e,A){var t=this._sectionStart+e;if(t!==this._index){var n=this._buffer.substring(t,this._index),a=parseInt(n,A);this._emitPartial(o(a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},Ee.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},Ee.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},Ee.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===s?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},Ee.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},Ee.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===s?this._stateText(e):this._state===l?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===g?this._stateBeforeCloseingTagName(e):this._state===d?this._stateInCloseingTagName(e):this._state===B?this._stateAfterCloseingTagName(e):this._state===c?this._stateInSelfClosingTag(e):this._state===h?this._stateBeforeAttributeName(e):this._state===E?this._stateInAttributeName(e):this._state===m?this._stateAfterAttributeName(e):this._state===p?this._stateBeforeAttributeValue(e):this._state===C?this._stateInAttributeValueDoubleQuotes(e):this._state===w?this._stateInAttributeValueSingleQuotes(e):this._state===f?this._stateInAttributeValueNoQuotes(e):this._state===I?this._stateBeforeDeclaration(e):this._state===Q?this._stateInDeclaration(e):this._state===M?this._stateInProcessingInstruction(e):this._state===y?this._stateBeforeComment(e):this._state===b?this._stateInComment(e):this._state===T?this._stateAfterComment1(e):this._state===S?this._stateAfterComment2(e):this._state===D?this._stateBeforeCdata1(e):this._state===k?this._stateBeforeCdata2(e):this._state===N?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===F?this._stateBeforeCdata5(e):this._state===O?this._stateBeforeCdata6(e):this._state===Y?this._stateInCdata(e):this._state===v?this._stateAfterCdata1(e):this._state===U?this._stateAfterCdata2(e):this._state===G?this._stateBeforeSpecial(e):this._state===_?this._stateBeforeSpecialEnd(e):this._state===L?this._stateBeforeScript1(e):this._state===x?this._stateBeforeScript2(e):this._state===H?this._stateBeforeScript3(e):this._state===P?this._stateBeforeScript4(e):this._state===j?this._stateBeforeScript5(e):this._state===J?this._stateAfterScript1(e):this._state===z?this._stateAfterScript2(e):this._state===W?this._stateAfterScript3(e):this._state===K?this._stateAfterScript4(e):this._state===V?this._stateAfterScript5(e):this._state===X?this._stateBeforeStyle1(e):this._state===q?this._stateBeforeStyle2(e):this._state===Z?this._stateBeforeStyle3(e):this._state===$?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===Ae?this._stateAfterStyle2(e):this._state===te?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ne?this._stateBeforeEntity(e):this._state===ae?this._stateBeforeNumericEntity(e):this._state===ie?this._stateInNamedEntity(e):this._state===re?this._stateInNumericEntity(e):this._state===se?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},Ee.prototype.pause=function(){this._running=!1},Ee.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},Ee.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},Ee.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},Ee.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===Y||this._state===v||this._state===U?this._cbs.oncdata(e):this._state===b||this._state===T||this._state===S?this._cbs.oncomment(e):this._state!==ie||this._xmlMode?this._state!==re||this._xmlMode?this._state!==se||this._xmlMode?this._state!==u&&this._state!==h&&this._state!==p&&this._state!==m&&this._state!==E&&this._state!==w&&this._state!==C&&this._state!==f&&this._state!==d&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},Ee.prototype.reset=function(){Ee.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},Ee.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},Ee.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},Ee.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},Ee.prototype._emitPartial=function(e){this._baseState!==s?this._cbs.onattribdata(e):this._cbs.ontext(e)}},function(e,A,t){var o=t(1075);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in o&&(e=o[e]);var A="";e>65535&&(e-=65536,A+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return A+=String.fromCharCode(e)}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e,A){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},o={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(o).forEach(function(e){var A=o[e];Object.defineProperty(t,e,{get:function(){return this[A]||null},set:function(e){return this[A]=e,e}})})},function(e,A,t){e.exports=r;var o=t(459),n=t(1080).Writable,a=t(316).StringDecoder,i=t(66).Buffer;function r(e,A){var t=this._parser=new o(e,A),i=this._decoder=new a;n.call(this,{decodeStrings:!1}),this.once("finish",function(){t.end(i.end())})}t(234)(r,n),n.prototype._write=function(e,A,t){e instanceof i&&(e=this._decoder.write(e)),this._parser.write(e),t()}},function(e,A,t){A.getCached=function(){throw new Error("blocks.js has not initialized BlocksExecuteCache")},t(148)},function(e,A,t){A.getScripts=function(){throw new Error("blocks.js has not initialized BlocksRuntimeCache")},A._RuntimeScriptCache=function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=A,this.blockId=t;var o=A.getBlock(t),n=A.getFields(o);if(this.fieldsOfInputs=Object.assign({},n),0===Object.keys(n).length){var a=A.getInputs(o);for(var i in a)if(a.hasOwnProperty(i)){var r=a[i].block,s=A.getBlock(r),l=A.getFields(s);Object.assign(this.fieldsOfInputs,l)}}for(var u in this.fieldsOfInputs){var c=this.fieldsOfInputs[u]=Object.assign({},this.fieldsOfInputs[u]);c.value.toUpperCase&&(c.value=c.value.toUpperCase())}},t(148)},function(e,A){function t(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var o=function(){function e(){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,A,o){A&&t(e.prototype,A),o&&t(e,o)}(e,null,[{key:"_mergeVarRefObjects",value:function(e,A){for(var t in A)e[t]?e[t]=e[t].concat(A[t]):e[t]=A[t];return e}},{key:"getAllVarRefsForTargets",value:function(A,t){return A.map(function(e){return e.blocks.getAllVariableAndListReferences(null,t)}).reduce(e._mergeVarRefObjects,{})}},{key:"updateVariableIdentifiers",value:function(e,A,t){e.map(function(e){return e.referencingField.id=A,t&&(e.referencingField.value=t),e})}}]),e}();e.exports=o},function(e,A){function t(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var o=function(){function e(){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this._requestID=0,this._openRequests={}}return function(e,A,o){A&&t(e.prototype,A),o&&t(e,o)}(e,[{key:"sendRemoteRequest",value:function(e,A){var t=this,o=this._requestID++,n=new Promise(function(e,A){t._openRequests[o]={resolve:e,reject:A}});return this._sendRequest(e,A,o),n}},{key:"sendRemoteNotification",value:function(e,A){this._sendRequest(e,A)}},{key:"didReceiveCall",value:function(){throw new Error("Must override didReceiveCall")}},{key:"_sendMessage",value:function(){throw new Error("Must override _sendMessage")}},{key:"_sendRequest",value:function(e,A,t){var o={jsonrpc:"2.0",method:e,params:A};null!==t&&(o.id=t),this._sendMessage(o)}},{key:"_handleMessage",value:function(e){if("2.0"!==e.jsonrpc)throw new Error("Bad or missing JSON-RPC version in message: ".concat(e));e.hasOwnProperty("method")?this._handleRequest(e):this._handleResponse(e)}},{key:"_sendResponse",value:function(e,A,t){var o={jsonrpc:"2.0",id:e};t?o.error=t:o.result=A||null,this._sendMessage(o)}},{key:"_handleResponse",value:function(e){var A=e.result,t=e.error,o=e.id,n=this._openRequests[o];delete this._openRequests[o],n&&(t?n.reject(t):n.resolve(A))}},{key:"_handleRequest",value:function(e){var A=this,t=e.method,o=e.params,n=e.id,a=this.didReceiveCall(t,o);null!==n&&void 0!==n&&Promise.resolve(a).then(function(e){A._sendResponse(n,e)},function(e){A._sendResponse(n,null,e)})}}]),e}();e.exports=o},function(e){e.exports=JSON.parse('{"menuMap":{"cs":[{"code":"am","name":"amharština"},{"code":"en","name":"angličtina"},{"code":"ar","name":"arabština"},{"code":"az","name":"ázerbájdžánština"},{"code":"eu","name":"baskičtina"},{"code":"bg","name":"bulharština"},{"code":"cs","name":"čeština"},{"code":"zh-tw","name":"čínština (tradiční)"},{"code":"zh-cn","name":"čínština (zjednodušená)"},{"code":"da","name":"dánština"},{"code":"et","name":"estonština"},{"code":"fi","name":"finština"},{"code":"fr","name":"francouzština"},{"code":"gl","name":"galicijština"},{"code":"he","name":"hebrejština"},{"code":"nl","name":"holandština"},{"code":"hr","name":"chorvatština"},{"code":"id","name":"indonéština"},{"code":"ga","name":"irština"},{"code":"is","name":"islandština"},{"code":"it","name":"italština"},{"code":"ja","name":"japonština"},{"code":"ca","name":"katalánština"},{"code":"ko","name":"korejština"},{"code":"lt","name":"litevština"},{"code":"lv","name":"lotyština"},{"code":"hu","name":"maďarština"},{"code":"mi","name":"maorština"},{"code":"de","name":"němčina"},{"code":"nb","name":"norština"},{"code":"fa","name":"perština"},{"code":"pl","name":"polština"},{"code":"pt","name":"portugalština"},{"code":"ro","name":"rumunština"},{"code":"ru","name":"ruština"},{"code":"el","name":"řečtina"},{"code":"gd","name":"skotská gaelština"},{"code":"sk","name":"slovenština"},{"code":"sl","name":"slovinština"},{"code":"sr","name":"srbština"},{"code":"es","name":"španělština"},{"code":"sv","name":"švédština"},{"code":"th","name":"thajština"},{"code":"tr","name":"turečtina"},{"code":"uk","name":"ukrajinština"},{"code":"cy","name":"velština"},{"code":"vi","name":"vietnamština"},{"code":"zu","name":"zulu"}],"da":[{"code":"am","name":"Amharisk"},{"code":"ar","name":"Arabisk"},{"code":"az","name":"Aserbajdsjansk"},{"code":"eu","name":"Baskisk"},{"code":"bg","name":"Bulgarsk"},{"code":"da","name":"Dansk"},{"code":"en","name":"Engelsk"},{"code":"et","name":"Estisk"},{"code":"fi","name":"Finsk"},{"code":"fr","name":"Fransk"},{"code":"gl","name":"Galicisk"},{"code":"el","name":"Græsk"},{"code":"he","name":"Hebraisk"},{"code":"nl","name":"Hollandsk"},{"code":"id","name":"Indonesisk"},{"code":"ga","name":"Irsk"},{"code":"is","name":"Islandsk"},{"code":"it","name":"Italiensk"},{"code":"ja","name":"Japansk"},{"code":"ca","name":"Katalansk"},{"code":"zh-cn","name":"Kinesisk (forenklet)"},{"code":"zh-tw","name":"Kinesisk (traditionelt)"},{"code":"ko","name":"Koreansk"},{"code":"hr","name":"Kroatisk"},{"code":"lv","name":"Lettisk"},{"code":"lt","name":"Litauisk"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norsk"},{"code":"fa","name":"Persisk"},{"code":"pl","name":"Polsk"},{"code":"pt","name":"Portugisisk"},{"code":"ro","name":"Rumænsk"},{"code":"ru","name":"Russisk"},{"code":"sr","name":"Serbisk"},{"code":"gd","name":"Skotsk gælisk"},{"code":"sk","name":"Slovakisk"},{"code":"sl","name":"Slovensk"},{"code":"es","name":"Spansk"},{"code":"sv","name":"Svensk"},{"code":"th","name":"Thailandsk"},{"code":"cs","name":"Tjekkisk"},{"code":"tr","name":"Tyrkisk"},{"code":"de","name":"Tysk"},{"code":"uk","name":"Ukrainsk"},{"code":"hu","name":"Ungarsk"},{"code":"vi","name":"Vietnamesisk"},{"code":"cy","name":"Walisisk"},{"code":"zu","name":"Zulu"}],"gl":[{"code":"az","name":"acerbaixano"},{"code":"de","name":"alemán"},{"code":"am","name":"amárico"},{"code":"ar","name":"árabe"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chinés (simplificado)"},{"code":"zh-tw","name":"chinés (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"dinamarqués"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estoniano"},{"code":"eu","name":"éuscaro"},{"code":"fi","name":"finés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"gl","name":"galego"},{"code":"cy","name":"galés"},{"code":"el","name":"grego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruegués"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"romanés"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraíno"},{"code":"vi","name":"vietnamita"},{"code":"ja","name":"xaponés"},{"code":"zu","name":"zulú"}],"sl":[{"code":"am","name":"amharščina"},{"code":"en","name":"angleščina"},{"code":"ar","name":"arabščina"},{"code":"az","name":"azerbajdžanščina"},{"code":"eu","name":"baskovščina"},{"code":"bg","name":"bolgarščina"},{"code":"cs","name":"češčina"},{"code":"da","name":"danščina"},{"code":"et","name":"estonščina"},{"code":"fi","name":"finščina"},{"code":"fr","name":"francoščina"},{"code":"gl","name":"galicijščina"},{"code":"el","name":"grščina"},{"code":"he","name":"hebrejščina"},{"code":"hr","name":"hrvaščina"},{"code":"id","name":"indonezijščina"},{"code":"ga","name":"irščina"},{"code":"is","name":"islandščina"},{"code":"it","name":"italijanščina"},{"code":"ja","name":"japonščina"},{"code":"ca","name":"katalonščina"},{"code":"zh-cn","name":"kitajščina (poenostavljena)"},{"code":"zh-tw","name":"kitajščina (tradicionalna)"},{"code":"ko","name":"korejščina"},{"code":"lv","name":"latvijščina"},{"code":"lt","name":"litovščina"},{"code":"hu","name":"madžarščina"},{"code":"mi","name":"maorščina"},{"code":"de","name":"nemščina"},{"code":"nl","name":"nizozemščina"},{"code":"nb","name":"norveščina"},{"code":"fa","name":"perzijščina"},{"code":"pl","name":"poljščina"},{"code":"pt","name":"portugalščina"},{"code":"ro","name":"romunščina"},{"code":"ru","name":"ruščina"},{"code":"sk","name":"slovaščina"},{"code":"sl","name":"slovenščina"},{"code":"sr","name":"srbščina"},{"code":"gd","name":"škotska gelščina"},{"code":"es","name":"španščina"},{"code":"sv","name":"švedščina"},{"code":"th","name":"tajščina"},{"code":"tr","name":"turščina"},{"code":"uk","name":"ukrajinščina"},{"code":"cy","name":"valižanščina"},{"code":"vi","name":"vietnamščina"},{"code":"zu","name":"zulujščina"}],"fr":[{"code":"de","name":"Allemand"},{"code":"am","name":"Amharique"},{"code":"en","name":"Anglais"},{"code":"ar","name":"Arabe"},{"code":"az","name":"Azéri"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgare"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinois (simplifié)"},{"code":"zh-tw","name":"Chinois (traditionnel)"},{"code":"ko","name":"Coréen"},{"code":"hr","name":"Croate"},{"code":"da","name":"Danois"},{"code":"es","name":"Espagnol"},{"code":"et","name":"Estonien"},{"code":"fi","name":"Finnois"},{"code":"fr","name":"Français"},{"code":"gd","name":"Gaélique (Écosse)"},{"code":"gl","name":"Galicien"},{"code":"cy","name":"Gallois"},{"code":"el","name":"Grec"},{"code":"he","name":"Hébreu"},{"code":"hu","name":"Hongrois"},{"code":"id","name":"Indonésien"},{"code":"ga","name":"Irlandais"},{"code":"is","name":"Islandais"},{"code":"it","name":"Italien"},{"code":"ja","name":"Japonais"},{"code":"lv","name":"Letton"},{"code":"lt","name":"Lituanien"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Néerlandais"},{"code":"nb","name":"Norvégien"},{"code":"fa","name":"Persan"},{"code":"pl","name":"Polonais"},{"code":"pt","name":"Portugais"},{"code":"ro","name":"Roumain"},{"code":"ru","name":"Russe"},{"code":"sr","name":"Serbe"},{"code":"sk","name":"Slovaque"},{"code":"sl","name":"Slovène"},{"code":"sv","name":"Suédois"},{"code":"cs","name":"Tchèque"},{"code":"th","name":"Thaï"},{"code":"tr","name":"Turc"},{"code":"uk","name":"Ukrainien"},{"code":"vi","name":"Vietnamien"},{"code":"zu","name":"Zoulou"}],"hu":[{"code":"am","name":"amhara"},{"code":"en","name":"angol"},{"code":"ar","name":"arab"},{"code":"az","name":"azeri"},{"code":"eu","name":"baszk"},{"code":"bg","name":"bolgár"},{"code":"cs","name":"cseh"},{"code":"da","name":"dán"},{"code":"et","name":"észt"},{"code":"fi","name":"finn"},{"code":"fr","name":"francia"},{"code":"gl","name":"galíciai"},{"code":"el","name":"görög"},{"code":"he","name":"héber"},{"code":"nl","name":"holland"},{"code":"hr","name":"horvát"},{"code":"id","name":"indonéz"},{"code":"ga","name":"ír"},{"code":"is","name":"izlandi"},{"code":"ja","name":"japán"},{"code":"ca","name":"katalán"},{"code":"zh-cn","name":"kínai (egyszerűsített)"},{"code":"zh-tw","name":"kínai (hagyományos)"},{"code":"ko","name":"koreai"},{"code":"pl","name":"lengyel"},{"code":"lv","name":"lett"},{"code":"lt","name":"litván"},{"code":"hu","name":"magyar"},{"code":"mi","name":"maori"},{"code":"de","name":"német"},{"code":"nb","name":"norvég"},{"code":"it","name":"olasz"},{"code":"ru","name":"orosz"},{"code":"fa","name":"perzsa"},{"code":"pt","name":"portugál"},{"code":"ro","name":"román"},{"code":"gd","name":"skót-gael"},{"code":"es","name":"spanyol"},{"code":"sv","name":"svéd"},{"code":"sr","name":"szerb"},{"code":"sk","name":"szlovák"},{"code":"sl","name":"szlovén"},{"code":"th","name":"thai"},{"code":"tr","name":"török"},{"code":"uk","name":"ukrán"},{"code":"vi","name":"vietnami"},{"code":"cy","name":"walesi"},{"code":"zu","name":"zulu"}],"uk":[{"code":"az","name":"азербайджанська"},{"code":"am","name":"амхарська"},{"code":"en","name":"англійська"},{"code":"ar","name":"арабська"},{"code":"eu","name":"баскська"},{"code":"bg","name":"болгарська"},{"code":"vi","name":"в’єтнамська"},{"code":"cy","name":"валлійська"},{"code":"el","name":"грецька"},{"code":"gl","name":"ґалісійська"},{"code":"da","name":"данська"},{"code":"et","name":"естонська"},{"code":"zu","name":"зулу"},{"code":"he","name":"іврит"},{"code":"id","name":"індонезійська"},{"code":"ga","name":"ірландська"},{"code":"is","name":"ісландська"},{"code":"es","name":"іспанська"},{"code":"it","name":"італійська"},{"code":"ca","name":"каталанська"},{"code":"zh-cn","name":"китайська (спрощена)"},{"code":"zh-tw","name":"китайська (традиційна)"},{"code":"ko","name":"корейська"},{"code":"lv","name":"латиська"},{"code":"lt","name":"литовська"},{"code":"mi","name":"маорі"},{"code":"nl","name":"нідерландська"},{"code":"de","name":"німецька"},{"code":"nb","name":"норвезька"},{"code":"fa","name":"перська"},{"code":"pl","name":"польська"},{"code":"pt","name":"португальська"},{"code":"ru","name":"російська"},{"code":"ro","name":"румунська"},{"code":"sr","name":"сербська"},{"code":"sk","name":"словацька"},{"code":"sl","name":"словенська"},{"code":"th","name":"тайська"},{"code":"tr","name":"турецька"},{"code":"hu","name":"угорська"},{"code":"uk","name":"українська"},{"code":"fi","name":"фінська"},{"code":"fr","name":"французька"},{"code":"hr","name":"хорватська"},{"code":"cs","name":"чеська"},{"code":"sv","name":"шведська"},{"code":"gd","name":"шотландська (ґельська)"},{"code":"ja","name":"японська"}],"zh-tw":[{"code":"tr","name":"土耳其文"},{"code":"zh-tw","name":"中文(繁體)"},{"code":"zh-cn","name":"中文(簡體)"},{"code":"da","name":"丹麥文"},{"code":"eu","name":"巴斯克文"},{"code":"ja","name":"日文"},{"code":"mi","name":"毛利文"},{"code":"gl","name":"加里西亞文"},{"code":"ca","name":"加泰羅尼亞文"},{"code":"lt","name":"立陶宛文"},{"code":"is","name":"冰島文"},{"code":"hu","name":"匈牙利文"},{"code":"id","name":"印尼文"},{"code":"es","name":"西班牙文"},{"code":"hr","name":"克羅埃西亞文"},{"code":"he","name":"希伯來文"},{"code":"el","name":"希臘文"},{"code":"az","name":"亞塞拜然文"},{"code":"lv","name":"拉脫維亞文"},{"code":"fr","name":"法文"},{"code":"fa","name":"波斯文"},{"code":"pl","name":"波蘭文"},{"code":"fi","name":"芬蘭文"},{"code":"am","name":"阿姆哈拉文"},{"code":"ar","name":"阿拉伯文"},{"code":"ru","name":"俄文"},{"code":"bg","name":"保加利亞文"},{"code":"zu","name":"南非祖魯文"},{"code":"cy","name":"威爾斯文"},{"code":"en","name":"英文"},{"code":"nb","name":"挪威文"},{"code":"th","name":"泰文"},{"code":"uk","name":"烏克蘭文"},{"code":"cs","name":"捷克文"},{"code":"nl","name":"荷蘭文"},{"code":"sk","name":"斯洛伐克文"},{"code":"sl","name":"斯洛維尼亞文"},{"code":"vi","name":"越南文"},{"code":"sr","name":"塞爾維亞文"},{"code":"et","name":"愛沙尼亞文"},{"code":"ga","name":"愛爾蘭文"},{"code":"sv","name":"瑞典文"},{"code":"it","name":"義大利文"},{"code":"pt","name":"葡萄牙文"},{"code":"de","name":"德文"},{"code":"ko","name":"韓文"},{"code":"ro","name":"羅馬尼亞文"},{"code":"gd","name":"蘇格蘭的蓋爾文"}],"pt":[{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabic"},{"code":"az","name":"Azerbaijani"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgarian"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinese (Simplified)"},{"code":"zh-tw","name":"Chinese (Traditional)"},{"code":"hr","name":"Croatian"},{"code":"cs","name":"Czech"},{"code":"da","name":"Danish"},{"code":"nl","name":"Dutch"},{"code":"en","name":"English"},{"code":"et","name":"Estonian"},{"code":"fi","name":"Finnish"},{"code":"fr","name":"French"},{"code":"gl","name":"Galician"},{"code":"de","name":"German"},{"code":"el","name":"Greek"},{"code":"he","name":"Hebrew"},{"code":"hu","name":"Hungarian"},{"code":"is","name":"Icelandic"},{"code":"id","name":"Indonesian"},{"code":"ga","name":"Irish"},{"code":"it","name":"Italian"},{"code":"ja","name":"Japanese"},{"code":"ko","name":"Korean"},{"code":"lv","name":"Latvian"},{"code":"lt","name":"Lithuanian"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwegian"},{"code":"fa","name":"Persian"},{"code":"pl","name":"Polish"},{"code":"pt","name":"Portuguese"},{"code":"ro","name":"Romanian"},{"code":"ru","name":"Russian"},{"code":"gd","name":"Scots Gaelic"},{"code":"sr","name":"Serbian"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Slovenian"},{"code":"es","name":"Spanish"},{"code":"sv","name":"Swedish"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turkish"},{"code":"uk","name":"Ukrainian"},{"code":"vi","name":"Vietnamese"},{"code":"cy","name":"Welsh"},{"code":"zu","name":"Zulu"}],"pt-br":[{"code":"de","name":"Alemão"},{"code":"am","name":"Amárico"},{"code":"ar","name":"Árabe"},{"code":"az","name":"Azerbaijano"},{"code":"eu","name":"Basco"},{"code":"bg","name":"Búlgaro"},{"code":"ca","name":"Catalão"},{"code":"zh-cn","name":"Chinês (simplificado)"},{"code":"zh-tw","name":"Chinês (tradicional)"},{"code":"ko","name":"Coreano"},{"code":"hr","name":"Croata"},{"code":"da","name":"Dinamarquês"},{"code":"sk","name":"Eslovaco"},{"code":"sl","name":"Esloveno"},{"code":"es","name":"Espanhol"},{"code":"et","name":"Estoniano"},{"code":"fi","name":"Finlandês"},{"code":"fr","name":"Francês"},{"code":"gd","name":"Gaélico escocês"},{"code":"gl","name":"Galego"},{"code":"cy","name":"Galês"},{"code":"el","name":"Grego"},{"code":"he","name":"Hebraico"},{"code":"nl","name":"Holandês"},{"code":"hu","name":"Húngaro"},{"code":"id","name":"Indonésio"},{"code":"en","name":"Inglês"},{"code":"ga","name":"Irlandês"},{"code":"is","name":"Islandês"},{"code":"it","name":"Italiano"},{"code":"ja","name":"Japonês"},{"code":"lv","name":"Letão"},{"code":"lt","name":"Lituano"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norueguês"},{"code":"fa","name":"Persa"},{"code":"pl","name":"Polonês"},{"code":"pt","name":"Português"},{"code":"ro","name":"Romeno"},{"code":"ru","name":"Russo"},{"code":"sr","name":"Sérvio"},{"code":"sv","name":"Sueco"},{"code":"th","name":"Tailandês"},{"code":"cs","name":"Tcheco"},{"code":"tr","name":"Turco"},{"code":"uk","name":"Ucraniano"},{"code":"vi","name":"Vietnamita"},{"code":"zu","name":"Zulu"}],"tr":[{"code":"de","name":"Almanca"},{"code":"ar","name":"Arapça"},{"code":"az","name":"Azerice"},{"code":"eu","name":"Baskça"},{"code":"bg","name":"Bulgarca"},{"code":"cs","name":"Çekçe"},{"code":"zh-cn","name":"Çince (Basitleştirilmiş)"},{"code":"zh-tw","name":"Çince (Geleneksel)"},{"code":"da","name":"Danca"},{"code":"id","name":"Endonezya Dili"},{"code":"et","name":"Estonyaca"},{"code":"fa","name":"Farsça"},{"code":"nl","name":"Felemenkçe"},{"code":"fi","name":"Fince"},{"code":"fr","name":"Fransızca"},{"code":"cy","name":"Galce"},{"code":"gl","name":"Galiçyaca"},{"code":"am","name":"Habeşçe"},{"code":"hr","name":"Hırvatça"},{"code":"he","name":"İbranice"},{"code":"en","name":"İngilizce"},{"code":"ga","name":"İrlandaca"},{"code":"es","name":"İspanyolca"},{"code":"sv","name":"İsveççe"},{"code":"it","name":"İtalyanca"},{"code":"is","name":"İzlandaca"},{"code":"ja","name":"Japonca"},{"code":"ca","name":"Katalanca"},{"code":"ko","name":"Korece"},{"code":"gd","name":"Kuzey İskoç Dili"},{"code":"pl","name":"Lehçe"},{"code":"lv","name":"Letonca"},{"code":"lt","name":"Litvanca"},{"code":"hu","name":"Macarca"},{"code":"mi","name":"Maori Dili"},{"code":"nb","name":"Norveççe"},{"code":"pt","name":"Portekizce"},{"code":"ro","name":"Romence"},{"code":"ru","name":"Rusça"},{"code":"sr","name":"Sırpça"},{"code":"sk","name":"Slovakça"},{"code":"sl","name":"Slovence"},{"code":"th","name":"Tay Dili"},{"code":"tr","name":"Türkçe"},{"code":"uk","name":"Ukraynaca"},{"code":"vi","name":"Vietnamca"},{"code":"el","name":"Yunanca"},{"code":"zu","name":"Zulu"}],"ga":[{"code":"am","name":"Amárais"},{"code":"ar","name":"Araibis"},{"code":"az","name":"Asarbaiseáinis"},{"code":"eu","name":"Bascais"},{"code":"en","name":"Béarla"},{"code":"cy","name":"Breatnais"},{"code":"bg","name":"Bulgáiris"},{"code":"ca","name":"Catalóinis"},{"code":"ko","name":"Cóiréis"},{"code":"hr","name":"Cróitis"},{"code":"da","name":"Danmhairgis"},{"code":"he","name":"Eabhrais"},{"code":"et","name":"Eastóinis"},{"code":"fi","name":"Fionlainnis"},{"code":"fr","name":"Fraincis"},{"code":"ga","name":"Gaeilge"},{"code":"gd","name":"Gaeilge na hAlban"},{"code":"gl","name":"Gailísis"},{"code":"de","name":"Gearmáinis"},{"code":"el","name":"Gréigis"},{"code":"id","name":"Indinéisis"},{"code":"it","name":"Iodáilis"},{"code":"nb","name":"Ioruais"},{"code":"is","name":"Íoslainnis"},{"code":"lv","name":"Laitvis"},{"code":"lt","name":"Liotuáinis"},{"code":"mi","name":"Maorais"},{"code":"nl","name":"Ollainnis"},{"code":"fa","name":"Peirsis"},{"code":"pl","name":"Polainnis"},{"code":"pt","name":"Portaingéilis"},{"code":"ro","name":"Rómáinis"},{"code":"ru","name":"Rúisis"},{"code":"ja","name":"Seapáinis"},{"code":"cs","name":"Seicis"},{"code":"sr","name":"Seirbis"},{"code":"zh-cn","name":"Sínis (Simplithe)"},{"code":"zh-tw","name":"Sínis (Traidisiúnta)"},{"code":"sl","name":"Slóivéinis"},{"code":"sk","name":"Slóvaicis"},{"code":"es","name":"Spáinnis"},{"code":"sv","name":"Sualainnis"},{"code":"zu","name":"Súlúis"},{"code":"th","name":"Téalainnis"},{"code":"tr","name":"Tuircis"},{"code":"uk","name":"Úcráinis"},{"code":"hu","name":"Ungáiris"},{"code":"vi","name":"Vítneaimis"}],"th":[{"code":"el","name":"ภาษากรีก"},{"code":"gl","name":"ภาษากาลิเชียน"},{"code":"gd","name":"ภาษาเกลิกในสก็อต"},{"code":"ko","name":"ภาษาเกาหลี"},{"code":"ca","name":"ภาษาคาตาลัน"},{"code":"hr","name":"ภาษาโครเอเชีย"},{"code":"zh-tw","name":"ภาษาจีน (ดั้งเดิม)"},{"code":"zh-cn","name":"ภาษาจีน (แบบย่อ)"},{"code":"cs","name":"ภาษาเช็ก"},{"code":"zu","name":"ภาษาซูลู"},{"code":"sr","name":"ภาษาเซอร์เบียน"},{"code":"ja","name":"ภาษาญี่ปุ่น"},{"code":"nl","name":"ภาษาดัตช์"},{"code":"da","name":"ภาษาเดนมาร์ก"},{"code":"tr","name":"ภาษาตุรกี"},{"code":"th","name":"ภาษาไทย"},{"code":"nb","name":"ภาษานอร์เวย์"},{"code":"bg","name":"ภาษาบัลกาเรีย"},{"code":"eu","name":"ภาษาบาสก์"},{"code":"fa","name":"ภาษาเปอร์เซีย"},{"code":"pt","name":"ภาษาโปรตุเกส"},{"code":"pl","name":"ภาษาโปแลนด์"},{"code":"fr","name":"ภาษาฝรั่งเศส"},{"code":"fi","name":"ภาษาฟินแลนด์"},{"code":"mi","name":"ภาษาเมารี"},{"code":"uk","name":"ภาษายูเครน"},{"code":"de","name":"ภาษาเยอรมัน"},{"code":"ru","name":"ภาษารัสเซีย"},{"code":"ro","name":"ภาษาโรมาเนีย"},{"code":"lv","name":"ภาษาลัทเวีย"},{"code":"lt","name":"ภาษาลิทัวเนีย"},{"code":"cy","name":"ภาษาเวลส์"},{"code":"vi","name":"ภาษาเวียดนาม"},{"code":"es","name":"ภาษาสเปน"},{"code":"sk","name":"ภาษาสโลวัก"},{"code":"sl","name":"ภาษาสโลเวเนีย"},{"code":"sv","name":"ภาษาสวีเดน"},{"code":"en","name":"ภาษาอังกฤษ"},{"code":"am","name":"ภาษาอัมฮาริก"},{"code":"az","name":"ภาษาอาร์เซอร์ไบจัน"},{"code":"ar","name":"ภาษาอาหรับ"},{"code":"it","name":"ภาษาอิตาลี"},{"code":"id","name":"ภาษาอินโดนีเซีย"},{"code":"et","name":"ภาษาเอสโทเนีย"},{"code":"is","name":"ภาษาไอซ์แลนดิก"},{"code":"ga","name":"ภาษาไอริช"},{"code":"hu","name":"ภาษาฮังการี"},{"code":"he","name":"ภาษาฮิบรู"}],"ja":[{"code":"is","name":"アイスランド語"},{"code":"ga","name":"アイルランド語"},{"code":"az","name":"アゼルバイジャン語"},{"code":"am","name":"アムハラ語"},{"code":"ar","name":"アラビア語"},{"code":"it","name":"イタリア語"},{"code":"id","name":"インドネシア語"},{"code":"cy","name":"ウェールズ語"},{"code":"uk","name":"ウクライナ語"},{"code":"et","name":"エストニア語"},{"code":"nl","name":"オランダ語"},{"code":"ca","name":"カタルーニャ語"},{"code":"gl","name":"ガリシア語"},{"code":"el","name":"ギリシャ語"},{"code":"hr","name":"クロアチア語"},{"code":"sv","name":"スウェーデン語"},{"code":"zu","name":"ズールー語"},{"code":"gd","name":"スコットランド ゲール語"},{"code":"es","name":"スペイン語"},{"code":"sk","name":"スロバキア語"},{"code":"sl","name":"スロベニア語"},{"code":"sr","name":"セルビア語"},{"code":"th","name":"タイ語"},{"code":"cs","name":"チェコ語"},{"code":"da","name":"デンマーク語"},{"code":"de","name":"ドイツ語"},{"code":"tr","name":"トルコ語"},{"code":"nb","name":"ノルウェー語"},{"code":"eu","name":"バスク語"},{"code":"hu","name":"ハンガリー語"},{"code":"fi","name":"フィンランド語"},{"code":"fr","name":"フランス語"},{"code":"bg","name":"ブルガリア語"},{"code":"vi","name":"ベトナム語"},{"code":"he","name":"ヘブライ語"},{"code":"fa","name":"ペルシャ語"},{"code":"pl","name":"ポーランド語"},{"code":"pt","name":"ポルトガル語"},{"code":"mi","name":"マオリ語"},{"code":"lv","name":"ラトビア語"},{"code":"lt","name":"リトアニア語"},{"code":"ro","name":"ルーマニア語"},{"code":"ru","name":"ロシア語"},{"code":"en","name":"英語"},{"code":"ko","name":"韓国語"},{"code":"zh-cn","name":"中国語(簡体)"},{"code":"zh-tw","name":"中国語(繁体)"},{"code":"ja","name":"日本語"}],"ja-hira":[{"code":"is","name":"アイスランド語"},{"code":"ga","name":"アイルランド語"},{"code":"az","name":"アゼルバイジャン語"},{"code":"am","name":"アムハラ語"},{"code":"ar","name":"アラビア語"},{"code":"it","name":"イタリア語"},{"code":"id","name":"インドネシア語"},{"code":"cy","name":"ウェールズ語"},{"code":"uk","name":"ウクライナ語"},{"code":"et","name":"エストニア語"},{"code":"nl","name":"オランダ語"},{"code":"ca","name":"カタルーニャ語"},{"code":"gl","name":"ガリシア語"},{"code":"el","name":"ギリシャ語"},{"code":"hr","name":"クロアチア語"},{"code":"sv","name":"スウェーデン語"},{"code":"zu","name":"ズールー語"},{"code":"gd","name":"スコットランド ゲール語"},{"code":"es","name":"スペイン語"},{"code":"sk","name":"スロバキア語"},{"code":"sl","name":"スロベニア語"},{"code":"sr","name":"セルビア語"},{"code":"th","name":"タイ語"},{"code":"cs","name":"チェコ語"},{"code":"da","name":"デンマーク語"},{"code":"de","name":"ドイツ語"},{"code":"tr","name":"トルコ語"},{"code":"nb","name":"ノルウェー語"},{"code":"eu","name":"バスク語"},{"code":"hu","name":"ハンガリー語"},{"code":"fi","name":"フィンランド語"},{"code":"fr","name":"フランス語"},{"code":"bg","name":"ブルガリア語"},{"code":"vi","name":"ベトナム語"},{"code":"he","name":"ヘブライ語"},{"code":"fa","name":"ペルシャ語"},{"code":"pl","name":"ポーランド語"},{"code":"pt","name":"ポルトガル語"},{"code":"mi","name":"マオリ語"},{"code":"lv","name":"ラトビア語"},{"code":"lt","name":"リトアニア語"},{"code":"ro","name":"ルーマニア語"},{"code":"ru","name":"ロシア語"},{"code":"en","name":"英語"},{"code":"ko","name":"韓国語"},{"code":"zh-cn","name":"中国語(簡体)"},{"code":"zh-tw","name":"中国語(繁体)"},{"code":"ja","name":"日本語"}],"nl":[{"code":"am","name":"Amharisch"},{"code":"ar","name":"Arabisch"},{"code":"az","name":"Azerbeidzjaans"},{"code":"eu","name":"Baskisch"},{"code":"bg","name":"Bulgaars"},{"code":"ca","name":"Catalaans"},{"code":"zh-tw","name":"Chinees (traditioneel)"},{"code":"zh-cn","name":"Chinees (vereenvoudigd)"},{"code":"da","name":"Deens"},{"code":"de","name":"Duits"},{"code":"en","name":"Engels"},{"code":"et","name":"Ests"},{"code":"fi","name":"Fins"},{"code":"fr","name":"Frans"},{"code":"gl","name":"Galicisch"},{"code":"el","name":"Grieks"},{"code":"he","name":"Hebreeuws"},{"code":"hu","name":"Hongaars"},{"code":"ga","name":"Iers"},{"code":"is","name":"IJslands"},{"code":"id","name":"Indonesisch"},{"code":"it","name":"Italiaans"},{"code":"ja","name":"Japans"},{"code":"ko","name":"Koreaans"},{"code":"hr","name":"Kroatisch"},{"code":"lv","name":"Lets"},{"code":"lt","name":"Litouws"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Nederlands"},{"code":"nb","name":"Noors"},{"code":"uk","name":"Oekraïens"},{"code":"fa","name":"Perzisch"},{"code":"pl","name":"Pools"},{"code":"pt","name":"Portugees"},{"code":"ro","name":"Roemeens"},{"code":"ru","name":"Russisch"},{"code":"gd","name":"Schots Keltisch"},{"code":"sr","name":"Servisch"},{"code":"sk","name":"Slovaaks"},{"code":"sl","name":"Sloveens"},{"code":"es","name":"Spaans"},{"code":"th","name":"Thai"},{"code":"cs","name":"Tsjechisch"},{"code":"tr","name":"Turks"},{"code":"vi","name":"Vietnamees"},{"code":"cy","name":"Wels"},{"code":"zu","name":"Zoeloe"},{"code":"sv","name":"Zweeds"}],"gd":[{"code":"am","name":"Amtharais"},{"code":"ar","name":"Arabais"},{"code":"az","name":"Asarbaideànais"},{"code":"eu","name":"Basgais"},{"code":"en","name":"Beurla"},{"code":"vi","name":"Bhiet-Namais"},{"code":"bg","name":"Bulgarais"},{"code":"th","name":"Cànan nan Tàidh"},{"code":"ca","name":"Catalanais"},{"code":"ko","name":"Coirèanais"},{"code":"hr","name":"Cròthaisis"},{"code":"cy","name":"Cuimris"},{"code":"da","name":"Danmhairgis"},{"code":"nl","name":"Duitsis"},{"code":"he","name":"Eabhra"},{"code":"it","name":"Eadailtis"},{"code":"et","name":"Eastoinis"},{"code":"fi","name":"Fionnlannais"},{"code":"fr","name":"Fraingis"},{"code":"ga","name":"Gaeilge"},{"code":"gd","name":"Gàidhlig"},{"code":"gl","name":"Gailìsis"},{"code":"de","name":"Gearmailtis"},{"code":"el","name":"Grèigis"},{"code":"id","name":"Innd-Innsis"},{"code":"is","name":"Innis-Tìlis"},{"code":"lv","name":"Laitbheis"},{"code":"lt","name":"Liotuainis"},{"code":"mi","name":"Māori"},{"code":"nb","name":"Nirribhis"},{"code":"fa","name":"Peirsis"},{"code":"pl","name":"Pòlainnis"},{"code":"pt","name":"Portagailis"},{"code":"ro","name":"Romàinis"},{"code":"ru","name":"Ruisis"},{"code":"cs","name":"Seacais"},{"code":"ja","name":"Seapanais"},{"code":"sr","name":"Sèirbis"},{"code":"zh-tw","name":"Sìonais (seann-nòsach)"},{"code":"zh-cn","name":"Sìonais (sìmplichte)"},{"code":"sk","name":"Slòbhacais"},{"code":"sl","name":"Slòbhainis"},{"code":"es","name":"Spàinntis"},{"code":"sv","name":"Suainis"},{"code":"tr","name":"Turcais"},{"code":"uk","name":"Ucràinis"},{"code":"hu","name":"Ungairis"},{"code":"zu","name":"Zulu"}],"nb":[{"code":"am","name":"amharisk"},{"code":"ar","name":"arabisk"},{"code":"az","name":"aserbajdsjansk"},{"code":"eu","name":"baskisk"},{"code":"bg","name":"bulgarsk"},{"code":"da","name":"dansk"},{"code":"en","name":"engelsk"},{"code":"et","name":"estisk"},{"code":"fa","name":"farsi"},{"code":"fi","name":"finsk"},{"code":"fr","name":"fransk"},{"code":"gl","name":"galisisk"},{"code":"el","name":"gresk"},{"code":"he","name":"hebraisk"},{"code":"id","name":"indonesisk"},{"code":"ga","name":"irsk"},{"code":"is","name":"islandsk"},{"code":"it","name":"italiensk"},{"code":"ja","name":"japansk"},{"code":"ca","name":"katalansk"},{"code":"zh-cn","name":"kinesisk (forenklet)"},{"code":"zh-tw","name":"kinesisk (tradisjonell)"},{"code":"ko","name":"koreansk"},{"code":"hr","name":"kroatisk"},{"code":"lv","name":"latvisk"},{"code":"lt","name":"litauisk"},{"code":"mi","name":"maori"},{"code":"nl","name":"nederlandsk"},{"code":"nb","name":"norsk"},{"code":"pl","name":"polsk"},{"code":"pt","name":"portugisisk"},{"code":"ro","name":"rumensk"},{"code":"ru","name":"russisk"},{"code":"sr","name":"serbisk"},{"code":"gd","name":"skotsk gælisk"},{"code":"sk","name":"slovakisk"},{"code":"sl","name":"slovensk"},{"code":"es","name":"spansk"},{"code":"sv","name":"svensk"},{"code":"th","name":"thai"},{"code":"cs","name":"tsjekkisk"},{"code":"tr","name":"tyrkisk"},{"code":"de","name":"tysk"},{"code":"uk","name":"ukrainsk"},{"code":"hu","name":"ungarsk"},{"code":"vi","name":"vietnamesisk"},{"code":"cy","name":"walisisk"},{"code":"zu","name":"zulu"}],"de":[{"code":"am","name":"Amharisch"},{"code":"ar","name":"Arabisch"},{"code":"az","name":"Aserbaidschanisch"},{"code":"eu","name":"Baskisch"},{"code":"bg","name":"Bulgarisch"},{"code":"zh-tw","name":"Chinesisch (traditionell)"},{"code":"zh-cn","name":"Chinesisch (vereinfacht)"},{"code":"da","name":"Dänisch"},{"code":"de","name":"Deutsch"},{"code":"en","name":"Englisch"},{"code":"et","name":"Estnisch"},{"code":"fi","name":"Finnisch"},{"code":"fr","name":"Französisch"},{"code":"gl","name":"Galizisch"},{"code":"el","name":"Griechisch"},{"code":"he","name":"Hebräisch"},{"code":"id","name":"Indonesisch"},{"code":"ga","name":"Irisch"},{"code":"is","name":"Isländisch"},{"code":"it","name":"Italienisch"},{"code":"ja","name":"Japanisch"},{"code":"ca","name":"Katalanisch"},{"code":"ko","name":"Koreanisch"},{"code":"hr","name":"Kroatisch"},{"code":"lv","name":"Lettisch"},{"code":"lt","name":"Litauisch"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Niederländisch"},{"code":"nb","name":"Norwegisch"},{"code":"fa","name":"Persisch"},{"code":"pl","name":"Polnisch"},{"code":"pt","name":"Portugiesisch"},{"code":"ro","name":"Rumänisch"},{"code":"ru","name":"Russisch"},{"code":"gd","name":"Schottisch-Gälisch"},{"code":"sv","name":"Schwedisch"},{"code":"sr","name":"Serbisch"},{"code":"sk","name":"Slowakisch"},{"code":"sl","name":"Slowenisch"},{"code":"es","name":"Spanisch"},{"code":"th","name":"Thailändisch"},{"code":"cs","name":"Tschechisch"},{"code":"tr","name":"Türkisch"},{"code":"uk","name":"Ukrainisch"},{"code":"hu","name":"Ungarisch"},{"code":"vi","name":"Vietnamesisch"},{"code":"cy","name":"Walisisch"},{"code":"zu","name":"Zulu"}],"he":[{"code":"uk","name":"אוקראינית"},{"code":"az","name":"אזרית"},{"code":"it","name":"איטלקית"},{"code":"id","name":"אינדונזית"},{"code":"is","name":"איסלנדית"},{"code":"ga","name":"אירית"},{"code":"am","name":"אמהרית"},{"code":"en","name":"אנגלית"},{"code":"et","name":"אסטונית"},{"code":"eu","name":"באסקית"},{"code":"bg","name":"בולגרית"},{"code":"gl","name":"גליציאנית"},{"code":"de","name":"גרמנית"},{"code":"da","name":"דנית"},{"code":"nl","name":"הולנדית"},{"code":"hu","name":"הונגרית"},{"code":"cy","name":"וולשית"},{"code":"vi","name":"וייטנאמית"},{"code":"zu","name":"זולו"},{"code":"tr","name":"טורקית"},{"code":"el","name":"יוונית"},{"code":"ja","name":"יפנית"},{"code":"lv","name":"לטווית"},{"code":"lt","name":"ליטאית"},{"code":"mi","name":"מאורית"},{"code":"nb","name":"נורווגית"},{"code":"zh-tw","name":"סינית (מסורתית)"},{"code":"zh-cn","name":"סינית (פשוטה)"},{"code":"sl","name":"סלובנית"},{"code":"sk","name":"סלובקית"},{"code":"es","name":"ספרדית"},{"code":"gd","name":"סקוטית גאלית"},{"code":"sr","name":"סרבית"},{"code":"he","name":"עברית"},{"code":"ar","name":"ערבית"},{"code":"pl","name":"פולנית"},{"code":"pt","name":"פורטוגזית"},{"code":"fi","name":"פינית"},{"code":"fa","name":"פרסית"},{"code":"cs","name":"צ\'כית"},{"code":"fr","name":"צרפתית"},{"code":"ko","name":"קוריאנית"},{"code":"ca","name":"קטלאנית"},{"code":"hr","name":"קרואטית"},{"code":"ro","name":"רומנית"},{"code":"ru","name":"רוסית"},{"code":"sv","name":"שוודית"},{"code":"th","name":"תאילנדית"}],"sk":[{"code":"am","name":"amharčina"},{"code":"en","name":"angličtina"},{"code":"ar","name":"arabčina"},{"code":"az","name":"azerbajdžančina"},{"code":"eu","name":"baskičtina"},{"code":"bg","name":"bulharčina"},{"code":"cs","name":"čeština"},{"code":"zh-tw","name":"čínština (tradičná)"},{"code":"zh-cn","name":"čínština (zjednodušená)"},{"code":"da","name":"dánčina"},{"code":"et","name":"estónčina"},{"code":"fi","name":"fínčina"},{"code":"fr","name":"francúzština"},{"code":"gl","name":"galícijčina"},{"code":"el","name":"gréčtina"},{"code":"he","name":"hebrejčina"},{"code":"nl","name":"holandčina"},{"code":"hr","name":"chorvátčina"},{"code":"id","name":"indonézština"},{"code":"ga","name":"írčina"},{"code":"is","name":"islandčina"},{"code":"ja","name":"japončina"},{"code":"ca","name":"katalánčina"},{"code":"ko","name":"kórejčina"},{"code":"lt","name":"litovčina"},{"code":"lv","name":"lotyština"},{"code":"hu","name":"maďarčina"},{"code":"mi","name":"maorijčina"},{"code":"de","name":"nemčina"},{"code":"nb","name":"nórčina"},{"code":"fa","name":"perzština"},{"code":"pl","name":"poľština"},{"code":"pt","name":"portugalčina"},{"code":"ro","name":"rumunčina"},{"code":"ru","name":"ruština"},{"code":"sk","name":"slovenčina"},{"code":"sl","name":"slovinčina"},{"code":"sr","name":"srbčina"},{"code":"gd","name":"škótska gaelčina"},{"code":"es","name":"španielčina"},{"code":"sv","name":"švédčina"},{"code":"it","name":"taliančina"},{"code":"th","name":"thajčina"},{"code":"tr","name":"turečtina"},{"code":"uk","name":"ukrajinčina"},{"code":"vi","name":"vietnamčina"},{"code":"cy","name":"waleština"},{"code":"zu","name":"zuluština"}],"zu":[{"code":"am","name":"isi-Amharic"},{"code":"ar","name":"isi-Arabic"},{"code":"az","name":"Isi-Azerbaijani"},{"code":"eu","name":"isi-Basque"},{"code":"bg","name":"isi-Bulgarian"},{"code":"ca","name":"isi-Catalan"},{"code":"zh-cn","name":"isi-Chinese (Simplified)"},{"code":"zh-tw","name":"isi-Chinese (Traditional)"},{"code":"hr","name":"isi-Croatian"},{"code":"cs","name":"isi-Czech"},{"code":"da","name":"isi-Danish"},{"code":"nl","name":"isi-Dutch"},{"code":"en","name":"isi-English"},{"code":"et","name":"isi-Estonian"},{"code":"fi","name":"isi-Finnish"},{"code":"fr","name":"isi-French"},{"code":"gl","name":"isi-Galician"},{"code":"de","name":"isi-German"},{"code":"el","name":"isi-Greek"},{"code":"hu","name":"isi-Hangarian"},{"code":"he","name":"isi-Hebrew"},{"code":"is","name":"isi-Icelandic"},{"code":"id","name":"isi-Indonesian"},{"code":"ga","name":"isi-Irish"},{"code":"it","name":"isi-Italian"},{"code":"ja","name":"isi-Japanese"},{"code":"ko","name":"isi-Korean"},{"code":"lv","name":"isi-Latvian"},{"code":"lt","name":"isi-Lithuanian"},{"code":"mi","name":"isi-Maori"},{"code":"nb","name":"isi-Norwegian"},{"code":"fa","name":"isi-Persian"},{"code":"pl","name":"isi-Polish"},{"code":"pt","name":"isi-Portuguese"},{"code":"ro","name":"isi-Romanian"},{"code":"ru","name":"isi-Russian"},{"code":"gd","name":"isi-Scots Gaelic"},{"code":"sr","name":"isi-Serbian"},{"code":"sk","name":"isi-Slovak"},{"code":"sl","name":"isi-Slovenian"},{"code":"es","name":"isi-Spanish"},{"code":"sv","name":"isi-Swedish"},{"code":"th","name":"isi-Thai"},{"code":"tr","name":"isi-Turkish"},{"code":"uk","name":"isi-Ukrainian"},{"code":"vi","name":"isi-Vietnamese"},{"code":"cy","name":"isi-Welsh"},{"code":"zu","name":"isiZulu"}],"ru":[{"code":"az","name":"азербайджанский"},{"code":"am","name":"амхарский"},{"code":"en","name":"английский"},{"code":"ar","name":"арабский"},{"code":"eu","name":"баскский"},{"code":"bg","name":"болгарский"},{"code":"cy","name":"валлийский"},{"code":"hu","name":"венгерский"},{"code":"vi","name":"вьетнамский"},{"code":"gl","name":"галисийский"},{"code":"el","name":"греческий"},{"code":"da","name":"датский"},{"code":"zu","name":"зулу"},{"code":"he","name":"иврит"},{"code":"id","name":"индонезийский"},{"code":"ga","name":"ирландский"},{"code":"is","name":"исландский"},{"code":"es","name":"испанский"},{"code":"it","name":"итальянский"},{"code":"ca","name":"каталанский"},{"code":"zh-tw","name":"китайский (традиционный)"},{"code":"zh-cn","name":"китайский (упрощенный)"},{"code":"ko","name":"корейский"},{"code":"lv","name":"латышский"},{"code":"lt","name":"литовский"},{"code":"mi","name":"маори"},{"code":"de","name":"немецкий"},{"code":"nl","name":"нидерландский"},{"code":"nb","name":"норвежский"},{"code":"fa","name":"персидский"},{"code":"pl","name":"польский"},{"code":"pt","name":"португальский"},{"code":"ro","name":"румынский"},{"code":"ru","name":"русский"},{"code":"sr","name":"сербский"},{"code":"sk","name":"словацкий"},{"code":"sl","name":"словенский"},{"code":"th","name":"тайский"},{"code":"tr","name":"турецкий"},{"code":"uk","name":"украинский"},{"code":"fi","name":"финский"},{"code":"fr","name":"французский"},{"code":"hr","name":"хорватский"},{"code":"cs","name":"чешский"},{"code":"sv","name":"шведский"},{"code":"gd","name":"шотландский (гэльский)"},{"code":"et","name":"эстонский"},{"code":"ja","name":"японский"}],"pl":[{"code":"am","name":"amharski"},{"code":"en","name":"angielski"},{"code":"ar","name":"arabski"},{"code":"az","name":"azerski"},{"code":"eu","name":"baskijski"},{"code":"bg","name":"bułgarski"},{"code":"zh-tw","name":"chiński (tradycyjny)"},{"code":"zh-cn","name":"chiński (uproszczony)"},{"code":"hr","name":"chorwacki"},{"code":"cs","name":"czeski"},{"code":"da","name":"duński"},{"code":"et","name":"estoński"},{"code":"fi","name":"fiński"},{"code":"fr","name":"francuski"},{"code":"gl","name":"galicyjski"},{"code":"el","name":"grecki"},{"code":"he","name":"hebrajski"},{"code":"es","name":"hiszpański"},{"code":"id","name":"indonezyjski"},{"code":"ga","name":"irlandzki"},{"code":"is","name":"islandzki"},{"code":"ja","name":"japoński"},{"code":"ca","name":"kataloński"},{"code":"ko","name":"koreański"},{"code":"lt","name":"litewski"},{"code":"lv","name":"łotewski"},{"code":"mi","name":"maori"},{"code":"nl","name":"niderlandzki"},{"code":"de","name":"niemiecki"},{"code":"nb","name":"norweski"},{"code":"fa","name":"perski"},{"code":"pl","name":"polski"},{"code":"pt","name":"portugalski"},{"code":"ru","name":"rosyjski"},{"code":"ro","name":"rumuński"},{"code":"sr","name":"serbski"},{"code":"sk","name":"słowacki"},{"code":"sl","name":"słoweński"},{"code":"gd","name":"szkocki gaelicki"},{"code":"sv","name":"szwedzki"},{"code":"th","name":"tajski"},{"code":"tr","name":"turecki"},{"code":"uk","name":"ukraiński"},{"code":"cy","name":"walijski"},{"code":"hu","name":"węgierski"},{"code":"vi","name":"wietnamski"},{"code":"it","name":"włoski"},{"code":"zu","name":"zulu"}],"am":[{"code":"hu","name":"ሀንጋሪኛ"},{"code":"lt","name":"ሊትዌንኛ"},{"code":"lv","name":"ላትቪያኛ"},{"code":"mi","name":"ማዮሪኛ"},{"code":"ru","name":"ራሽያኛ"},{"code":"ro","name":"ሮማኒያንኛ"},{"code":"sr","name":"ሰርቢያኛ"},{"code":"sk","name":"ስሎቫክኛ"},{"code":"sl","name":"ስሎቬንያኛ"},{"code":"sv","name":"ስዊድንኛ"},{"code":"es","name":"ስፓኒሽኛ"},{"code":"bg","name":"ቡልጋሪያኛ"},{"code":"eu","name":"ባስክኛ"},{"code":"vi","name":"ቪትናምኛ"},{"code":"tr","name":"ቱርክኛ"},{"code":"th","name":"ታይኛ"},{"code":"zh-cn","name":"ቻይንኛ (ቀላሉ)"},{"code":"zh-tw","name":"ቻይንኛ (ባሕላዊው)"},{"code":"cs","name":"ቼክኛ"},{"code":"nb","name":"ኖርዌጅያንኛ"},{"code":"am","name":"አማርኛ"},{"code":"az","name":"አዜርባይጃንኛ"},{"code":"ga","name":"አይሪሽ"},{"code":"is","name":"አይስላንድኛ"},{"code":"et","name":"ኤስቶኒያኛ"},{"code":"id","name":"እንዶኔዢያኛ"},{"code":"en","name":"እንግሊዝኛ"},{"code":"ca","name":"ካታላንኛ"},{"code":"hr","name":"ክሮኤሽያኛ"},{"code":"ko","name":"ኮሪያኛ"},{"code":"cy","name":"ዌልሽ"},{"code":"ar","name":"ዐረብኛ"},{"code":"he","name":"ዕብራይስጥ"},{"code":"zu","name":"ዙሉኛ"},{"code":"gd","name":"የስኮት ጌልክኛ"},{"code":"uk","name":"ዩክሬንኛ"},{"code":"nl","name":"ደችኛ"},{"code":"da","name":"ዴንሽኛ"},{"code":"de","name":"ጀርመንኛ"},{"code":"ja","name":"ጃፓንኛ"},{"code":"gl","name":"ጋሊሺያኛ"},{"code":"el","name":"ግሪክኛ"},{"code":"it","name":"ጣሊያንኛ"},{"code":"fr","name":"ፈረንሳይኛ"},{"code":"fi","name":"ፊኒሽኛ"},{"code":"fa","name":"ፐርሺያኛ"},{"code":"pl","name":"ፖሊሽኛ"},{"code":"pt","name":"ፖርቱጋሊኛ"}],"az":[{"code":"de","name":"Alman"},{"code":"am","name":"Amarikcə"},{"code":"az","name":"Azərbaycan dili"},{"code":"eu","name":"Bask"},{"code":"bg","name":"Bolqar"},{"code":"cs","name":"Çex"},{"code":"zh-tw","name":"Çin (Ən\'ənəvi)"},{"code":"zh-cn","name":"Çin (Sadələşdirilmiş)"},{"code":"da","name":"Danimarka"},{"code":"et","name":"Eston"},{"code":"ar","name":"Ərəb"},{"code":"fa","name":"Fars Dili"},{"code":"fi","name":"Fin"},{"code":"fr","name":"Fransız"},{"code":"nl","name":"Holland"},{"code":"hr","name":"Xorvat"},{"code":"es","name":"Ispan"},{"code":"id","name":"İndoneziya"},{"code":"en","name":"İngilis"},{"code":"ga","name":"İrland"},{"code":"is","name":"İsland"},{"code":"sv","name":"İsveç"},{"code":"it","name":"İtalyan"},{"code":"he","name":"İvrit"},{"code":"ca","name":"Katalan"},{"code":"ko","name":"Koreya"},{"code":"gl","name":"Qalisian"},{"code":"lv","name":"Latış"},{"code":"lt","name":"Litva"},{"code":"hu","name":"Macar"},{"code":"mi","name":"Maoricə"},{"code":"nb","name":"Norveç"},{"code":"pl","name":"Polyak"},{"code":"pt","name":"Portuqal"},{"code":"ro","name":"Rumın"},{"code":"ru","name":"Rus"},{"code":"sr","name":"Serb"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Sloven"},{"code":"gd","name":"Şotland (Kelt)"},{"code":"th","name":"Tayca"},{"code":"tr","name":"Türk"},{"code":"cy","name":"Uels"},{"code":"uk","name":"Ukrayna"},{"code":"vi","name":"Vyetnam"},{"code":"ja","name":"Yapon"},{"code":"el","name":"Yunan"},{"code":"zu","name":"Zulu dili"}],"hr":[{"code":"am","name":"amharik"},{"code":"ar","name":"arapski"},{"code":"az","name":"azerbajdžanski"},{"code":"eu","name":"baskijski"},{"code":"bg","name":"bugarski"},{"code":"cs","name":"češki"},{"code":"da","name":"danski"},{"code":"en","name":"engleski"},{"code":"et","name":"estonski"},{"code":"fi","name":"finski"},{"code":"fr","name":"francuski"},{"code":"gl","name":"galski"},{"code":"el","name":"grčki"},{"code":"he","name":"hebrejski"},{"code":"hr","name":"hrvatski"},{"code":"id","name":"indonezijski"},{"code":"ga","name":"irski"},{"code":"is","name":"islandski"},{"code":"ja","name":"japanski"},{"code":"ca","name":"katalonski"},{"code":"zh-cn","name":"kineski (pojednost.)"},{"code":"zh-tw","name":"kineski (tradicionalni)"},{"code":"ko","name":"korejski"},{"code":"lv","name":"latvijski/letonski"},{"code":"lt","name":"litvanski"},{"code":"hu","name":"mađarski"},{"code":"mi","name":"maori"},{"code":"nl","name":"nizozemski"},{"code":"nb","name":"norveški"},{"code":"de","name":"njemački"},{"code":"fa","name":"perzijski"},{"code":"pl","name":"poljski"},{"code":"pt","name":"portugalski"},{"code":"ro","name":"rumunjski"},{"code":"ru","name":"ruski"},{"code":"sk","name":"slovački"},{"code":"sl","name":"slovenski"},{"code":"sr","name":"srpski"},{"code":"gd","name":"škotski keltski"},{"code":"es","name":"španjolski"},{"code":"sv","name":"švedski"},{"code":"th","name":"tajlandski"},{"code":"it","name":"talijanski"},{"code":"tr","name":"turski"},{"code":"uk","name":"ukrajinski"},{"code":"cy","name":"velški"},{"code":"vi","name":"vijetnamski"},{"code":"zu","name":"zulu"}],"fa":[{"code":"az","name":"آذرباﻳﺠﺎﻧﻰ"},{"code":"de","name":"آلمانی"},{"code":"es","name":"اسپانیایی"},{"code":"et","name":"استونيايی"},{"code":"sk","name":"اسلواکی"},{"code":"sl","name":"اسلونیایی"},{"code":"uk","name":"اکراينی"},{"code":"am","name":"امهری"},{"code":"id","name":"اندونزيايی"},{"code":"en","name":"انگلیسی"},{"code":"it","name":"ایتالیایی"},{"code":"ga","name":"ایرلندی"},{"code":"is","name":"ايسلندی"},{"code":"eu","name":"باسکی"},{"code":"bg","name":"بلغاری"},{"code":"pt","name":"پرتغالی"},{"code":"th","name":"تايلندی"},{"code":"tr","name":"ترکی استانبولی"},{"code":"cs","name":"چک"},{"code":"zh-cn","name":"چینی (سادهشده)"},{"code":"zh-tw","name":"چینی (سنتی)"},{"code":"da","name":"دانمارکی"},{"code":"ru","name":"روسی"},{"code":"ro","name":"رومانيايی"},{"code":"zu","name":"زولو"},{"code":"ja","name":"ژاپنی"},{"code":"sv","name":"سوئدی"},{"code":"sr","name":"صربی"},{"code":"he","name":"عبری"},{"code":"ar","name":"عربی"},{"code":"fa","name":"فارسی"},{"code":"fr","name":"فرانسوی"},{"code":"fi","name":"فنلاندی"},{"code":"ca","name":"کاتالان"},{"code":"hr","name":"کرواتی"},{"code":"ko","name":"کرهای"},{"code":"gl","name":"گالیسی"},{"code":"gd","name":"گاليک اسکاتلندی"},{"code":"lv","name":"لتونيايی"},{"code":"pl","name":"لهستانی"},{"code":"lt","name":"ليتوانيايی"},{"code":"mi","name":"مائوری"},{"code":"hu","name":"مجاری"},{"code":"nb","name":"نروژی"},{"code":"cy","name":"ولزی"},{"code":"vi","name":"ويتنامی"},{"code":"nl","name":"هلندی"},{"code":"el","name":"يونانی"}],"mi":[{"code":"az","name":"Ahepaitani"},{"code":"ga","name":"Airihi"},{"code":"am","name":"Amariki"},{"code":"ar","name":"Arapi"},{"code":"et","name":"Etōnia"},{"code":"zh-tw","name":"Haina (Onamata)"},{"code":"zh-cn","name":"Hainamana (Kua whakamāmātia)"},{"code":"hu","name":"Hanekeria"},{"code":"ja","name":"Hapanihi"},{"code":"sr","name":"Herepia"},{"code":"fi","name":"Hinerangi"},{"code":"he","name":"Hiperu"},{"code":"sk","name":"Horowākia"},{"code":"sl","name":"Horowinia"},{"code":"sv","name":"Huitene"},{"code":"zu","name":"Huru"},{"code":"en","name":"Ingarihi"},{"code":"id","name":"Initonīhia"},{"code":"it","name":"Itāriana"},{"code":"gl","name":"Karihia"},{"code":"ca","name":"Katarāna"},{"code":"el","name":"Kiriki"},{"code":"ko","name":"Kōreana"},{"code":"hr","name":"Koroātiana"},{"code":"tr","name":"Korukoru"},{"code":"mi","name":"Māori"},{"code":"nb","name":"Nōwei"},{"code":"eu","name":"Pākihi"},{"code":"es","name":"Pāniora"},{"code":"fa","name":"Perēhia"},{"code":"pl","name":"Pōrana"},{"code":"pt","name":"Potukīhi"},{"code":"bg","name":"Purukāriana"},{"code":"lv","name":"Rāwhiana"},{"code":"lt","name":"Rituānia"},{"code":"ro","name":"Romānia"},{"code":"ru","name":"Rūhia"},{"code":"th","name":"Tai"},{"code":"nl","name":"Tati"},{"code":"da","name":"Tenemāka"},{"code":"de","name":"Tiamana"},{"code":"cs","name":"Tieke"},{"code":"is","name":"Tiorangi"},{"code":"gd","name":"Tuauri Kotarangi"},{"code":"uk","name":"Ūkareiana"},{"code":"cy","name":"Wēra"},{"code":"vi","name":"Whitināmu"},{"code":"fr","name":"Wīwī"}],"el":[{"code":"en","name":"Αγγλικά"},{"code":"az","name":"Αζερμπαϊτζανικά"},{"code":"am","name":"Αμχαρικά"},{"code":"ar","name":"Αραβικά"},{"code":"eu","name":"Βασκικά"},{"code":"vi","name":"Βιετναμεζικά"},{"code":"bg","name":"Βουλγαρικά"},{"code":"gd","name":"Γαελικά Σκοτίας"},{"code":"gl","name":"Γαλικιακά"},{"code":"fr","name":"Γαλλικά"},{"code":"de","name":"Γερμανικά"},{"code":"da","name":"Δανικά"},{"code":"he","name":"Εβραϊκά"},{"code":"el","name":"Ελληνικά"},{"code":"et","name":"Εσθονικά"},{"code":"zu","name":"Ζουλού"},{"code":"ja","name":"Ιαπωνικά"},{"code":"id","name":"Ινδονησιακά"},{"code":"ga","name":"Ιρλανδικά"},{"code":"is","name":"Ισλανδικά"},{"code":"es","name":"Ισπανικά"},{"code":"it","name":"Ιταλικά"},{"code":"ca","name":"Καταλανικά"},{"code":"zh-cn","name":"Κινέζικα (Απλοποιημένα)"},{"code":"zh-tw","name":"Κινέζικα (Παραδοσιακά)"},{"code":"ko","name":"Κορεατικά"},{"code":"hr","name":"Κροατικά"},{"code":"lv","name":"Λετονικά"},{"code":"lt","name":"Λιθουανικά"},{"code":"mi","name":"Μαορί"},{"code":"nb","name":"Νορβηγικά"},{"code":"nl","name":"Ολλανδικά"},{"code":"cy","name":"Ουαλικά"},{"code":"hu","name":"Ουγγρικά"},{"code":"uk","name":"Ουκρανικά"},{"code":"fa","name":"Περσικά"},{"code":"pl","name":"Πολωνικά"},{"code":"pt","name":"Πορτογαλικά"},{"code":"ro","name":"Ρουμανικά"},{"code":"ru","name":"Ρωσικά"},{"code":"sr","name":"Σερβικά"},{"code":"sk","name":"Σλοβακικά"},{"code":"sl","name":"Σλοβενικά"},{"code":"sv","name":"Σουηδικά"},{"code":"th","name":"Ταϊλανδεζικά"},{"code":"tr","name":"Τούρκικα"},{"code":"cs","name":"Τσεχικά"},{"code":"fi","name":"Φινλανδικά"}],"is":[{"code":"am","name":"amharísku"},{"code":"ar","name":"arabíska"},{"code":"az","name":"aserska"},{"code":"eu","name":"baskneska"},{"code":"bg","name":"búlgarska"},{"code":"da","name":"danska"},{"code":"et","name":"eistneska"},{"code":"en","name":"enska"},{"code":"fi","name":"finnska"},{"code":"fr","name":"franska"},{"code":"gl","name":"galisíska"},{"code":"el","name":"gríska"},{"code":"he","name":"hebreska"},{"code":"nl","name":"hollenska"},{"code":"id","name":"indónesíska"},{"code":"ga","name":"írska"},{"code":"is","name":"íslenska"},{"code":"it","name":"ítalska"},{"code":"ja","name":"japanska"},{"code":"ca","name":"katalónska"},{"code":"zh-cn","name":"kínverska (einfölduð)"},{"code":"zh-tw","name":"kínverska (hefðbundin)"},{"code":"ko","name":"kóreska"},{"code":"hr","name":"króatíska"},{"code":"lv","name":"lettneska"},{"code":"lt","name":"litháíska"},{"code":"mi","name":"maoríska"},{"code":"nb","name":"norska"},{"code":"fa","name":"persneska"},{"code":"pt","name":"portúgalska"},{"code":"pl","name":"pólska"},{"code":"ro","name":"rúmenska"},{"code":"ru","name":"rússneska"},{"code":"sr","name":"serbneska"},{"code":"gd","name":"skosk-gelíska"},{"code":"sk","name":"slóvakíska"},{"code":"sl","name":"slóvenska"},{"code":"es","name":"spænska"},{"code":"zu","name":"súlú"},{"code":"sv","name":"sænska"},{"code":"th","name":"taílenska"},{"code":"cs","name":"tékkneska"},{"code":"tr","name":"tyrkneska"},{"code":"hu","name":"ungverska"},{"code":"uk","name":"úkraínska"},{"code":"cy","name":"velska"},{"code":"vi","name":"víetnamska"},{"code":"de","name":"þýska"}],"fi":[{"code":"am","name":"amhara"},{"code":"ar","name":"arabia"},{"code":"az","name":"azeri"},{"code":"eu","name":"baski"},{"code":"bg","name":"bulgaria"},{"code":"en","name":"englanti"},{"code":"es","name":"espanja"},{"code":"gl","name":"galicia"},{"code":"he","name":"heprea"},{"code":"nl","name":"hollanti"},{"code":"ga","name":"iiri"},{"code":"id","name":"indonesia"},{"code":"is","name":"islanti"},{"code":"it","name":"italia"},{"code":"ja","name":"japani"},{"code":"ca","name":"katalaani"},{"code":"zh-tw","name":"kiina (perinteinen)"},{"code":"zh-cn","name":"kiina (yksinkert.)"},{"code":"ko","name":"korea"},{"code":"el","name":"kreikka"},{"code":"hr","name":"kroatia"},{"code":"cy","name":"kymri"},{"code":"lv","name":"latvia"},{"code":"lt","name":"liettua"},{"code":"mi","name":"maori"},{"code":"nb","name":"norja"},{"code":"fa","name":"persia"},{"code":"pt","name":"portugali"},{"code":"pl","name":"puola"},{"code":"fr","name":"ranska"},{"code":"ro","name":"romania"},{"code":"sv","name":"ruotsi"},{"code":"de","name":"saksa"},{"code":"sr","name":"serbia"},{"code":"gd","name":"skottigaeli"},{"code":"sk","name":"slovakia"},{"code":"sl","name":"slovenia"},{"code":"fi","name":"suomi"},{"code":"da","name":"tanska"},{"code":"th","name":"thai"},{"code":"cs","name":"tsekki"},{"code":"tr","name":"turkki"},{"code":"uk","name":"ukraina"},{"code":"hu","name":"unkari"},{"code":"ru","name":"venäjä"},{"code":"vi","name":"vietnam"},{"code":"et","name":"viro"},{"code":"zu","name":"zulu"}],"eu":[{"code":"de","name":"alemana"},{"code":"am","name":"amharera"},{"code":"ar","name":"arabiera"},{"code":"az","name":"azerbaijanera"},{"code":"bg","name":"bulgariera"},{"code":"da","name":"daniera"},{"code":"ro","name":"errumaniera"},{"code":"ru","name":"errusiera"},{"code":"gd","name":"Eskoziako gaelera"},{"code":"sk","name":"eslovakiera"},{"code":"sl","name":"esloveniera"},{"code":"et","name":"estoniera"},{"code":"eu","name":"euskara"},{"code":"fr","name":"frantsesa"},{"code":"cy","name":"gaelera"},{"code":"gl","name":"galiziera"},{"code":"es","name":"gaztelania"},{"code":"el","name":"greziera"},{"code":"he","name":"hebreera"},{"code":"hu","name":"hungariera"},{"code":"id","name":"indonesiera"},{"code":"en","name":"ingelesa"},{"code":"ga","name":"irlandera"},{"code":"is","name":"islandiera"},{"code":"it","name":"italiera"},{"code":"ja","name":"japoniera"},{"code":"ca","name":"katalana"},{"code":"ko","name":"koreera"},{"code":"hr","name":"kroaziera"},{"code":"lv","name":"letoniera"},{"code":"lt","name":"lituaniera"},{"code":"mi","name":"maoriera"},{"code":"nl","name":"nederlandera"},{"code":"nb","name":"norvegiera"},{"code":"fa","name":"persiera"},{"code":"pl","name":"poloniera"},{"code":"pt","name":"portugesa"},{"code":"sr","name":"serbiera"},{"code":"sv","name":"suediera"},{"code":"fi","name":"suomiera"},{"code":"th","name":"thaiera"},{"code":"tr","name":"turkiera"},{"code":"cs","name":"txekiera"},{"code":"zh-cn","name":"txinera (soildua)"},{"code":"zh-tw","name":"txinera (tradizionala)"},{"code":"uk","name":"ukrainera"},{"code":"vi","name":"vietnamera"},{"code":"zu","name":"zuluera"}],"ca":[{"code":"de","name":"alemany"},{"code":"am","name":"amhàric"},{"code":"en","name":"anglès"},{"code":"ar","name":"àrab"},{"code":"az","name":"àzeri"},{"code":"eu","name":"basc"},{"code":"bg","name":"búlgar"},{"code":"es","name":"castellà"},{"code":"ca","name":"català"},{"code":"ko","name":"coreà"},{"code":"hr","name":"croat"},{"code":"da","name":"danès"},{"code":"sk","name":"eslovac"},{"code":"sl","name":"eslovè"},{"code":"et","name":"estonià"},{"code":"fi","name":"finès"},{"code":"fr","name":"francès"},{"code":"gd","name":"gaèlic escocès"},{"code":"gl","name":"gallec"},{"code":"cy","name":"gal·lès"},{"code":"el","name":"grec"},{"code":"he","name":"hebreu"},{"code":"hu","name":"hongarès"},{"code":"id","name":"indonesi"},{"code":"ga","name":"irlandès"},{"code":"is","name":"islandès"},{"code":"it","name":"italià"},{"code":"ja","name":"japonès"},{"code":"lv","name":"letó"},{"code":"lt","name":"lituà"},{"code":"mi","name":"maori"},{"code":"nl","name":"neerlandès"},{"code":"nb","name":"noruec"},{"code":"fa","name":"persa"},{"code":"pl","name":"polonès"},{"code":"pt","name":"portuguès"},{"code":"ro","name":"romanès"},{"code":"ru","name":"rus"},{"code":"sr","name":"serbi"},{"code":"sv","name":"suec"},{"code":"th","name":"tai"},{"code":"tr","name":"turc"},{"code":"cs","name":"txec"},{"code":"uk","name":"ucraïnès"},{"code":"vi","name":"vietnamita"},{"code":"zh-cn","name":"xinès (simplificat)"},{"code":"zh-tw","name":"xinès (tradicional)"},{"code":"zu","name":"zulú"}],"lv":[{"code":"am","name":"amharu"},{"code":"en","name":"angļu"},{"code":"ar","name":"arābu"},{"code":"az","name":"azerbaidžāņu"},{"code":"eu","name":"basku"},{"code":"bg","name":"bulgāru"},{"code":"cs","name":"čehu"},{"code":"da","name":"dāņu"},{"code":"he","name":"ebreju (ivrits)"},{"code":"fr","name":"franču"},{"code":"gl","name":"galisiešu"},{"code":"el","name":"grieķu"},{"code":"nl","name":"holandiešu"},{"code":"hr","name":"horvātu"},{"code":"et","name":"igauņu"},{"code":"id","name":"indonēziešu"},{"code":"ga","name":"īru"},{"code":"is","name":"īslandiešu"},{"code":"it","name":"itāļu"},{"code":"ja","name":"japāņu"},{"code":"ca","name":"katalāņu"},{"code":"ko","name":"korejiešu"},{"code":"ru","name":"krievu"},{"code":"zh-tw","name":"ķīniešu (tradicionālā)"},{"code":"zh-cn","name":"ķīniešu (vienkāršotā)"},{"code":"lv","name":"latviešu"},{"code":"lt","name":"lietuviešu"},{"code":"mi","name":"maori"},{"code":"nb","name":"norvēģu"},{"code":"fa","name":"persiešu"},{"code":"pl","name":"poļu"},{"code":"pt","name":"portugāļu"},{"code":"ro","name":"rumāņu"},{"code":"sr","name":"serbu"},{"code":"gd","name":"skotu gēlu"},{"code":"sk","name":"slovāku"},{"code":"sl","name":"slovēņu"},{"code":"fi","name":"somu"},{"code":"es","name":"spāņu"},{"code":"th","name":"taju"},{"code":"tr","name":"turku"},{"code":"uk","name":"ukraiņu"},{"code":"hu","name":"ungāru"},{"code":"de","name":"vācu"},{"code":"cy","name":"velsiešu"},{"code":"vi","name":"vjetnamiešu"},{"code":"zu","name":"zulu"},{"code":"sv","name":"zviedru"}],"id":[{"code":"am","name":"Amhara"},{"code":"ar","name":"Arab"},{"code":"az","name":"Azerbaijan"},{"code":"eu","name":"Basque"},{"code":"nl","name":"Belanda"},{"code":"bg","name":"Bulgaria"},{"code":"cs","name":"Cek"},{"code":"zh-cn","name":"China (Aks. Sederhana)"},{"code":"zh-tw","name":"China (Aks. Tradisional)"},{"code":"da","name":"Denmark"},{"code":"et","name":"Estonia"},{"code":"fa","name":"Farsi"},{"code":"fi","name":"Finlandia"},{"code":"ga","name":"Gaelig"},{"code":"gd","name":"Gaelik Skotlandia"},{"code":"gl","name":"Galisia"},{"code":"he","name":"Ibrani"},{"code":"id","name":"Indonesia"},{"code":"en","name":"Inggris"},{"code":"is","name":"Islan"},{"code":"it","name":"Italia"},{"code":"ja","name":"Jepang"},{"code":"de","name":"Jerman"},{"code":"ca","name":"Katala"},{"code":"ko","name":"Korea"},{"code":"hr","name":"Kroat"},{"code":"lv","name":"Latvia"},{"code":"lt","name":"Lituania"},{"code":"hu","name":"Magyar"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norsk"},{"code":"pl","name":"Polandia"},{"code":"pt","name":"Portugis"},{"code":"fr","name":"Prancis"},{"code":"ro","name":"Rumania"},{"code":"ru","name":"Rusia"},{"code":"sr","name":"Serb"},{"code":"sk","name":"Slovakia"},{"code":"sl","name":"Slovenia"},{"code":"es","name":"Spanyol"},{"code":"sv","name":"Swensk"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turki"},{"code":"uk","name":"Ukraina"},{"code":"vi","name":"Vietnam"},{"code":"cy","name":"Wales"},{"code":"el","name":"Yunani"},{"code":"zu","name":"Zulu"}],"es":[{"code":"de","name":"alemán"},{"code":"am","name":"amhárico"},{"code":"ar","name":"árabe"},{"code":"az","name":"azerí"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chino (simplificado)"},{"code":"zh-tw","name":"chino (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"danés"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estonio"},{"code":"eu","name":"euskera"},{"code":"fi","name":"finlandés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"cy","name":"galés"},{"code":"gl","name":"gallego"},{"code":"el","name":"griego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"ja","name":"japonés"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruego"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"rumano"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraniano"},{"code":"vi","name":"vietnamita"},{"code":"zu","name":"zulú"}],"es-419":[{"code":"de","name":"alemán"},{"code":"am","name":"amhárico"},{"code":"ar","name":"árabe"},{"code":"az","name":"azerí"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chino (simplificado)"},{"code":"zh-tw","name":"chino (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"danés"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estonio"},{"code":"eu","name":"euskera"},{"code":"fi","name":"finlandés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"cy","name":"galés"},{"code":"gl","name":"gallego"},{"code":"el","name":"griego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"ja","name":"japonés"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruego"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"rumano"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraniano"},{"code":"vi","name":"vietnamita"},{"code":"zu","name":"zulú"}],"et":[{"code":"am","name":"amhaari"},{"code":"ar","name":"araabia"},{"code":"az","name":"aserbaidžaani"},{"code":"eu","name":"baski"},{"code":"bg","name":"bulgaaria"},{"code":"et","name":"eesti"},{"code":"gl","name":"galeegi"},{"code":"he","name":"heebrea"},{"code":"es","name":"hispaania"},{"code":"nl","name":"hollandi"},{"code":"hr","name":"horvaadi"},{"code":"ga","name":"iiri"},{"code":"id","name":"indoneesia"},{"code":"en","name":"inglise"},{"code":"is","name":"islandi"},{"code":"it","name":"itaalia"},{"code":"ja","name":"jaapani"},{"code":"ca","name":"katalaani"},{"code":"ko","name":"korea"},{"code":"el","name":"kreeka"},{"code":"lt","name":"leedu"},{"code":"zh-cn","name":"lihtsustatud hiina"},{"code":"lv","name":"läti"},{"code":"mi","name":"maoori"},{"code":"nb","name":"norra"},{"code":"pl","name":"poola"},{"code":"pt","name":"portugali"},{"code":"fr","name":"prantsuse"},{"code":"fa","name":"pärsia"},{"code":"sv","name":"rootsi"},{"code":"ro","name":"rumeenia"},{"code":"de","name":"saksa"},{"code":"sr","name":"serbia"},{"code":"sk","name":"slovaki"},{"code":"sl","name":"sloveeni"},{"code":"fi","name":"soome"},{"code":"zu","name":"suulu"},{"code":"gd","name":"šoti"},{"code":"da","name":"taani"},{"code":"th","name":"tai"},{"code":"zh-tw","name":"traditsiooniline hiina"},{"code":"cs","name":"tšehhi"},{"code":"tr","name":"türgi"},{"code":"cy","name":"uelsi"},{"code":"uk","name":"ukraina"},{"code":"hu","name":"ungari"},{"code":"ru","name":"vene"},{"code":"vi","name":"vietnami"}],"cy":[{"code":"de","name":"Almaeneg"},{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabeg"},{"code":"az","name":"Aserbaijaneg"},{"code":"eu","name":"Basgeg"},{"code":"bg","name":"Bwlgaraidd"},{"code":"ca","name":"Catalaneg"},{"code":"hr","name":"Croateg"},{"code":"cy","name":"Cymraeg"},{"code":"da","name":"Daneg"},{"code":"it","name":"Eidaleg"},{"code":"et","name":"Estoneg"},{"code":"vi","name":"Fietnameg"},{"code":"fi","name":"Ffineg"},{"code":"nl","name":"Fflemeg"},{"code":"fr","name":"Ffrangeg"},{"code":"gd","name":"Gaeleg yr Alban"},{"code":"gl","name":"Galisaidd"},{"code":"el","name":"Groeg"},{"code":"ga","name":"Gwyddeleg"},{"code":"he","name":"Hebraeg"},{"code":"hu","name":"Hwngareg"},{"code":"ko","name":"Iaith Corea"},{"code":"id","name":"Indonesieg"},{"code":"is","name":"Islandeg"},{"code":"uk","name":"Iwcraineg"},{"code":"ja","name":"Japaneg"},{"code":"lv","name":"Latfieg"},{"code":"lt","name":"Lithwaneg"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwyeg"},{"code":"fa","name":"Perseg"},{"code":"pt","name":"Portiwgaleg"},{"code":"pl","name":"Pwyleg"},{"code":"ro","name":"Rwmaneg"},{"code":"ru","name":"Rwsieg"},{"code":"en","name":"Saesneg"},{"code":"es","name":"Sbaeneg"},{"code":"sr","name":"Serbeg"},{"code":"sk","name":"Slofac"},{"code":"sl","name":"Slofenia"},{"code":"sv","name":"Swedeg"},{"code":"zu","name":"Swlw"},{"code":"th","name":"Tai"},{"code":"cs","name":"Tsieceg"},{"code":"zh-tw","name":"Tsieineeg (Traddodiadol)"},{"code":"zh-cn","name":"Tsieineeg (Wedi symleiddio)"},{"code":"tr","name":"Twrceg"}],"zh-cn":[{"code":"ar","name":"阿拉伯语"},{"code":"am","name":"阿姆哈拉语"},{"code":"az","name":"阿塞拜疆语"},{"code":"ga","name":"爱尔兰语"},{"code":"et","name":"爱沙尼亚语"},{"code":"eu","name":"巴斯克语"},{"code":"bg","name":"保加利亚语"},{"code":"is","name":"冰岛语"},{"code":"pl","name":"波兰语"},{"code":"fa","name":"波斯语"},{"code":"da","name":"丹麦语"},{"code":"de","name":"德语"},{"code":"ru","name":"俄语"},{"code":"fr","name":"法语"},{"code":"fi","name":"芬兰语"},{"code":"ko","name":"韩语"},{"code":"nl","name":"荷兰语"},{"code":"gl","name":"加利西亚语"},{"code":"ca","name":"加泰罗尼亚语"},{"code":"cs","name":"捷克语"},{"code":"hr","name":"克罗地亚语"},{"code":"lv","name":"拉脱维亚语"},{"code":"lt","name":"立陶宛语"},{"code":"ro","name":"罗马尼亚语"},{"code":"mi","name":"毛利语"},{"code":"zu","name":"南非祖鲁语"},{"code":"nb","name":"挪威语"},{"code":"pt","name":"葡萄牙语"},{"code":"ja","name":"日语"},{"code":"sv","name":"瑞典语"},{"code":"sr","name":"塞尔维亚语"},{"code":"sk","name":"斯洛伐克语"},{"code":"sl","name":"斯洛文尼亚语"},{"code":"gd","name":"苏格兰盖尔语"},{"code":"th","name":"泰语"},{"code":"tr","name":"土耳其语"},{"code":"cy","name":"威尔士语"},{"code":"uk","name":"乌克兰语"},{"code":"es","name":"西班牙语"},{"code":"he","name":"希伯来语"},{"code":"el","name":"希腊语"},{"code":"hu","name":"匈牙利语"},{"code":"it","name":"意大利语"},{"code":"id","name":"印尼语"},{"code":"en","name":"英语"},{"code":"vi","name":"越南语"},{"code":"zh-tw","name":"中文(繁体)"},{"code":"zh-cn","name":"中文(简体)"}],"bg":[{"code":"az","name":"азербайджански"},{"code":"am","name":"амхарски"},{"code":"en","name":"английски"},{"code":"ar","name":"арабски"},{"code":"eu","name":"баски"},{"code":"bg","name":"български"},{"code":"vi","name":"виетнамски"},{"code":"gl","name":"галисийски"},{"code":"el","name":"гръцки"},{"code":"da","name":"датски"},{"code":"et","name":"естонски"},{"code":"zu","name":"зулу"},{"code":"he","name":"иврит"},{"code":"id","name":"индонезийски"},{"code":"ga","name":"ирландски"},{"code":"is","name":"исландски"},{"code":"es","name":"испански"},{"code":"it","name":"италиански"},{"code":"ca","name":"каталонски"},{"code":"zh-cn","name":"китайски (опростен)"},{"code":"zh-tw","name":"китайски (традиционен)"},{"code":"ko","name":"корейски"},{"code":"lv","name":"латвийски"},{"code":"lt","name":"литовски"},{"code":"mi","name":"маорски"},{"code":"de","name":"немски"},{"code":"nl","name":"нидерландски"},{"code":"nb","name":"норвежки"},{"code":"fa","name":"персийски"},{"code":"pl","name":"полски"},{"code":"pt","name":"португалски"},{"code":"ro","name":"румънски"},{"code":"ru","name":"руски"},{"code":"sk","name":"словашки"},{"code":"sl","name":"словенски"},{"code":"sr","name":"сръбски"},{"code":"th","name":"тайландски"},{"code":"tr","name":"турски"},{"code":"cy","name":"уелски"},{"code":"uk","name":"украински"},{"code":"hu","name":"унгарски"},{"code":"fi","name":"финландски"},{"code":"fr","name":"френски"},{"code":"hr","name":"хърватски"},{"code":"cs","name":"чешки"},{"code":"sv","name":"шведски"},{"code":"gd","name":"шотландски келтски"},{"code":"ja","name":"японски"}],"ar":[{"code":"is","name":"الآيسلندية"},{"code":"az","name":"الأذرية"},{"code":"es","name":"الإسبانية"},{"code":"et","name":"الإستونية"},{"code":"gd","name":"الاسكتلندية الغالية"},{"code":"de","name":"الألمانية"},{"code":"am","name":"الأمهرية"},{"code":"en","name":"الإنجليزية"},{"code":"id","name":"الإندونيسية"},{"code":"uk","name":"الأوكرانية"},{"code":"ga","name":"الأيرلندية"},{"code":"it","name":"الإيطالية"},{"code":"eu","name":"الباسكية"},{"code":"pt","name":"البرتغالية"},{"code":"bg","name":"البلغارية"},{"code":"pl","name":"البولندية"},{"code":"th","name":"التايلاندية"},{"code":"tr","name":"التركية"},{"code":"cs","name":"التشيكية"},{"code":"gl","name":"الجاليكية"},{"code":"da","name":"الدانماركية"},{"code":"ru","name":"الروسية"},{"code":"ro","name":"الرومانية"},{"code":"zu","name":"الزولوية"},{"code":"sk","name":"السلوفاكية"},{"code":"sl","name":"السلوفينية"},{"code":"sv","name":"السويدية"},{"code":"sr","name":"الصربية"},{"code":"zh-tw","name":"الصينية (التقليدية)"},{"code":"zh-cn","name":"الصينية (المبسطة)"},{"code":"he","name":"العبرية"},{"code":"ar","name":"العربية"},{"code":"fa","name":"الفارسية"},{"code":"fr","name":"الفرنسية"},{"code":"fi","name":"الفنلندية"},{"code":"vi","name":"الفيتنامية"},{"code":"ca","name":"القطلونية"},{"code":"hr","name":"الكرواتية"},{"code":"ko","name":"الكورية"},{"code":"lv","name":"اللاتفية"},{"code":"lt","name":"الليتوانية"},{"code":"mi","name":"الماورية"},{"code":"nb","name":"النرويجية"},{"code":"hu","name":"الهنغارية"},{"code":"nl","name":"الهولندية"},{"code":"cy","name":"الويلزية"},{"code":"ja","name":"اليابانية"},{"code":"el","name":"اليونانية"}],"en":[{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabic"},{"code":"az","name":"Azerbaijani"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgarian"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinese (Simplified)"},{"code":"zh-tw","name":"Chinese (Traditional)"},{"code":"hr","name":"Croatian"},{"code":"cs","name":"Czech"},{"code":"da","name":"Danish"},{"code":"nl","name":"Dutch"},{"code":"en","name":"English"},{"code":"et","name":"Estonian"},{"code":"fi","name":"Finnish"},{"code":"fr","name":"French"},{"code":"gl","name":"Galician"},{"code":"de","name":"German"},{"code":"el","name":"Greek"},{"code":"he","name":"Hebrew"},{"code":"hu","name":"Hungarian"},{"code":"is","name":"Icelandic"},{"code":"id","name":"Indonesian"},{"code":"ga","name":"Irish"},{"code":"it","name":"Italian"},{"code":"ja","name":"Japanese"},{"code":"ko","name":"Korean"},{"code":"lv","name":"Latvian"},{"code":"lt","name":"Lithuanian"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwegian"},{"code":"fa","name":"Persian"},{"code":"pl","name":"Polish"},{"code":"pt","name":"Portuguese"},{"code":"ro","name":"Romanian"},{"code":"ru","name":"Russian"},{"code":"gd","name":"Scots Gaelic"},{"code":"sr","name":"Serbian"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Slovenian"},{"code":"es","name":"Spanish"},{"code":"sv","name":"Swedish"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turkish"},{"code":"uk","name":"Ukrainian"},{"code":"vi","name":"Vietnamese"},{"code":"cy","name":"Welsh"},{"code":"zu","name":"Zulu"}],"sr":[{"code":"az","name":"азербејџански"},{"code":"am","name":"амхарски"},{"code":"ar","name":"арапски"},{"code":"eu","name":"баскијски"},{"code":"bg","name":"бугарски"},{"code":"cy","name":"велшки"},{"code":"vi","name":"вијетнамски"},{"code":"gl","name":"галски"},{"code":"el","name":"грчки"},{"code":"da","name":"дански"},{"code":"en","name":"енглески"},{"code":"et","name":"естонски"},{"code":"zu","name":"зулу"},{"code":"id","name":"индонежански"},{"code":"ga","name":"ирски"},{"code":"is","name":"исландски"},{"code":"it","name":"италијански"},{"code":"ja","name":"јапански"},{"code":"ca","name":"каталонски"},{"code":"zh-cn","name":"кинески (поједностављени)"},{"code":"zh-tw","name":"кинески (традиционални)"},{"code":"ko","name":"корејски"},{"code":"lv","name":"летонски"},{"code":"lt","name":"литвански"},{"code":"hu","name":"мађарски"},{"code":"mi","name":"маорски"},{"code":"de","name":"немачки"},{"code":"nb","name":"норвешки"},{"code":"fa","name":"персијски"},{"code":"pl","name":"пољски"},{"code":"pt","name":"португалски"},{"code":"ro","name":"румунски"},{"code":"ru","name":"руски"},{"code":"sk","name":"словачки"},{"code":"sl","name":"словеначки"},{"code":"sr","name":"српски"},{"code":"th","name":"тајски"},{"code":"tr","name":"турски"},{"code":"uk","name":"украјински"},{"code":"fi","name":"фински"},{"code":"fr","name":"француски"},{"code":"he","name":"хебрејски"},{"code":"nl","name":"холандски"},{"code":"hr","name":"хрватски"},{"code":"cs","name":"чешки"},{"code":"sv","name":"шведски"},{"code":"gd","name":"шкотски галски"},{"code":"es","name":"шпански"}],"sv":[{"code":"am","name":"amhariska"},{"code":"ar","name":"arabiska"},{"code":"az","name":"azerbajdzjanska"},{"code":"eu","name":"baskiska"},{"code":"bg","name":"bulgariska"},{"code":"da","name":"danska"},{"code":"en","name":"engelska"},{"code":"et","name":"estniska"},{"code":"fi","name":"finska"},{"code":"fr","name":"franska"},{"code":"gd","name":"gaeliska"},{"code":"gl","name":"galiciska"},{"code":"el","name":"grekiska"},{"code":"he","name":"hebreiska"},{"code":"id","name":"indonesiska"},{"code":"ga","name":"irländska"},{"code":"is","name":"isländska"},{"code":"it","name":"italienska"},{"code":"ja","name":"japanska"},{"code":"ca","name":"katalanska"},{"code":"zh-cn","name":"kinesiska (förenklad)"},{"code":"zh-tw","name":"kinesiska (traditionell)"},{"code":"ko","name":"koreanska"},{"code":"hr","name":"kroatiska"},{"code":"lv","name":"lettiska"},{"code":"lt","name":"litauiska"},{"code":"mi","name":"maori"},{"code":"nl","name":"nederländska"},{"code":"nb","name":"norska"},{"code":"fa","name":"persiska"},{"code":"pl","name":"polska"},{"code":"pt","name":"portugisiska"},{"code":"ro","name":"rumänska"},{"code":"ru","name":"ryska"},{"code":"sr","name":"serbiska"},{"code":"sk","name":"slovakiska"},{"code":"sl","name":"slovenska"},{"code":"es","name":"spanska"},{"code":"sv","name":"svenska"},{"code":"th","name":"thailändska"},{"code":"cs","name":"tjeckiska"},{"code":"tr","name":"turkiska"},{"code":"de","name":"tyska"},{"code":"uk","name":"ukrainska"},{"code":"hu","name":"ungerska"},{"code":"vi","name":"vietnamesiska"},{"code":"cy","name":"walesiska"},{"code":"zu","name":"zulu"}],"ro":[{"code":"am","name":"Amharică"},{"code":"ar","name":"Arabă"},{"code":"az","name":"Azerbaidjană"},{"code":"eu","name":"Bască"},{"code":"bg","name":"Bulgară"},{"code":"ca","name":"Catalană"},{"code":"cs","name":"Cehă"},{"code":"zh-cn","name":"Chineză (Simplificată)"},{"code":"zh-tw","name":"Chineză (Tradițională)"},{"code":"ko","name":"Coreeană"},{"code":"hr","name":"Croată"},{"code":"da","name":"Daneză"},{"code":"he","name":"Ebraică"},{"code":"en","name":"Engleză"},{"code":"et","name":"Estonă"},{"code":"fi","name":"Finlandeză"},{"code":"fr","name":"Franceză"},{"code":"cy","name":"Galeză"},{"code":"gd","name":"Galica scoțiană"},{"code":"gl","name":"Galiciană"},{"code":"de","name":"Germană"},{"code":"el","name":"Greacă"},{"code":"id","name":"Indoneziană"},{"code":"ga","name":"Irlandeză"},{"code":"is","name":"Islandeză"},{"code":"it","name":"Italiană"},{"code":"ja","name":"Japoneză"},{"code":"lv","name":"Letonă"},{"code":"lt","name":"Lituaniană"},{"code":"hu","name":"Maghiară"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Neerlandeză"},{"code":"nb","name":"Norvegiană"},{"code":"fa","name":"Persană"},{"code":"pl","name":"Poloneză"},{"code":"pt","name":"Portugheză"},{"code":"ro","name":"Română"},{"code":"ru","name":"Rusă"},{"code":"sr","name":"Sârbă"},{"code":"sk","name":"Slovacă"},{"code":"sl","name":"Slovenă"},{"code":"es","name":"Spaniolă"},{"code":"sv","name":"Suedeză"},{"code":"th","name":"Thailandeză"},{"code":"tr","name":"Turcă"},{"code":"uk","name":"Ucraineană"},{"code":"vi","name":"Vietnameză"},{"code":"zu","name":"Zulu"}],"lt":[{"code":"ga","name":"airių"},{"code":"am","name":"amharų"},{"code":"en","name":"anglų"},{"code":"ar","name":"arabų"},{"code":"az","name":"Azerbaidžaniečių"},{"code":"eu","name":"baskų"},{"code":"bg","name":"bulgarų"},{"code":"cs","name":"čekų"},{"code":"da","name":"danų"},{"code":"et","name":"estų"},{"code":"gl","name":"galisų"},{"code":"el","name":"graikų"},{"code":"he","name":"hebrajų"},{"code":"id","name":"indoneziečių"},{"code":"is","name":"islandų"},{"code":"es","name":"ispanų"},{"code":"it","name":"italų"},{"code":"ja","name":"japonų"},{"code":"ca","name":"kataloniečių"},{"code":"zh-cn","name":"kinų (supaprastinta)"},{"code":"zh-tw","name":"kinų (tradicinė)"},{"code":"ko","name":"korėjiečių"},{"code":"hr","name":"kroatų"},{"code":"lv","name":"latvių"},{"code":"pl","name":"lenkų"},{"code":"lt","name":"lietuvių"},{"code":"mi","name":"maorių"},{"code":"nb","name":"norvegų"},{"code":"nl","name":"olandų"},{"code":"fa","name":"persų"},{"code":"pt","name":"portugalų"},{"code":"fr","name":"prancūzų"},{"code":"ro","name":"rumunų"},{"code":"ru","name":"rusų"},{"code":"sr","name":"serbų"},{"code":"sk","name":"slovakų"},{"code":"sl","name":"slovėnų"},{"code":"fi","name":"suomių"},{"code":"gd","name":"škotų (gėlų)"},{"code":"sv","name":"švedų"},{"code":"th","name":"tajų"},{"code":"tr","name":"turkų"},{"code":"uk","name":"ukrainiečių"},{"code":"cy","name":"valų"},{"code":"hu","name":"vengrų"},{"code":"vi","name":"vietnamiečių"},{"code":"de","name":"vokiečių"},{"code":"zu","name":"zulusų"}],"ko":[{"code":"gl","name":"갈리시아어"},{"code":"el","name":"그리스어"},{"code":"nl","name":"네덜란드어"},{"code":"nb","name":"노르웨이어"},{"code":"da","name":"덴마크어"},{"code":"de","name":"독일어"},{"code":"lv","name":"라트비아어"},{"code":"ru","name":"러시아어"},{"code":"ro","name":"루마니아어"},{"code":"lt","name":"리투아니아어"},{"code":"mi","name":"마오리어"},{"code":"eu","name":"바스크어"},{"code":"vi","name":"베트남어"},{"code":"bg","name":"불가리아어"},{"code":"sr","name":"세르비아어"},{"code":"sv","name":"스웨덴어"},{"code":"gd","name":"스코틀랜드 게일어"},{"code":"es","name":"스페인어"},{"code":"sk","name":"슬로바키아어"},{"code":"sl","name":"슬로베니아어"},{"code":"ar","name":"아랍어"},{"code":"is","name":"아이슬란드어"},{"code":"ga","name":"아일랜드어"},{"code":"az","name":"아제르바이잔어"},{"code":"am","name":"암하라어"},{"code":"et","name":"에스토니아어"},{"code":"en","name":"영어"},{"code":"uk","name":"우크라이나어"},{"code":"cy","name":"웨일즈어"},{"code":"it","name":"이탈리아어"},{"code":"id","name":"인도네시아어"},{"code":"ja","name":"일본어"},{"code":"zu","name":"줄루어"},{"code":"zh-cn","name":"중국어(간체)"},{"code":"zh-tw","name":"중국어(번체)"},{"code":"cs","name":"체코어"},{"code":"ca","name":"카탈로니아어"},{"code":"hr","name":"크로아티아어"},{"code":"th","name":"태국어"},{"code":"tr","name":"터키어"},{"code":"fa","name":"페르시아어"},{"code":"pt","name":"포르투갈어"},{"code":"pl","name":"폴란드어"},{"code":"fr","name":"프랑스어"},{"code":"fi","name":"핀란드어"},{"code":"ko","name":"한국어"},{"code":"hu","name":"헝가리어"},{"code":"he","name":"히브리어"}],"it":[{"code":"am","name":"Amarico"},{"code":"ar","name":"Arabo"},{"code":"az","name":"Azero"},{"code":"eu","name":"Basco"},{"code":"bg","name":"Bulgaro"},{"code":"ca","name":"Catalano"},{"code":"cs","name":"Ceco"},{"code":"zh-cn","name":"Cinese (semplificato)"},{"code":"zh-tw","name":"Cinese (tradizionale)"},{"code":"ko","name":"Coreano"},{"code":"hr","name":"Croato"},{"code":"da","name":"Danese"},{"code":"he","name":"Ebraico"},{"code":"et","name":"Estone"},{"code":"fi","name":"Finlandese"},{"code":"fr","name":"Francese"},{"code":"gd","name":"Gaelico scozzese"},{"code":"gl","name":"Galiziano"},{"code":"cy","name":"Gallese"},{"code":"ja","name":"Giapponese"},{"code":"el","name":"Greco"},{"code":"id","name":"Indonesiano"},{"code":"en","name":"Inglese"},{"code":"ga","name":"Irlandese"},{"code":"is","name":"Islandese"},{"code":"it","name":"Italiano"},{"code":"lv","name":"Lettone"},{"code":"lt","name":"Lituano"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norvegese"},{"code":"nl","name":"Olandese"},{"code":"fa","name":"Persiano"},{"code":"pl","name":"Polacco"},{"code":"pt","name":"Portoghese"},{"code":"ro","name":"Rumeno"},{"code":"ru","name":"Russo"},{"code":"sr","name":"Serbo"},{"code":"sk","name":"Slovacco"},{"code":"sl","name":"Sloveno"},{"code":"es","name":"Spagnolo"},{"code":"sv","name":"Svedese"},{"code":"th","name":"Tailandese"},{"code":"de","name":"Tedesco"},{"code":"tr","name":"Turco"},{"code":"uk","name":"Ucraino"},{"code":"hu","name":"Ungherese"},{"code":"vi","name":"Vietnamita"},{"code":"zu","name":"Zulu"}],"vi":[{"code":"ar","name":"Tiếng Ả Rập"},{"code":"am","name":"Tiếng Amharic"},{"code":"en","name":"Tiếng Anh"},{"code":"az","name":"Tiếng Azerbaijan"},{"code":"pl","name":"Tiếng Ba Lan"},{"code":"fa","name":"Tiếng Ba Tư"},{"code":"eu","name":"Tiếng Basque"},{"code":"pt","name":"Tiếng Bồ Đào Nha"},{"code":"bg","name":"Tiếng Bulgaria"},{"code":"ca","name":"Tiếng Catalan"},{"code":"hr","name":"Tiếng Croatia"},{"code":"he","name":"Tiếng Do Thái"},{"code":"da","name":"Tiếng Đan Mạch"},{"code":"de","name":"Tiếng Đức"},{"code":"et","name":"Tiếng Estonia"},{"code":"gd","name":"Tiếng Gael Scotland"},{"code":"gl","name":"Tiếng Galicia"},{"code":"nl","name":"Tiếng Hà Lan"},{"code":"ko","name":"Tiếng Hàn"},{"code":"hu","name":"Tiếng Hungary"},{"code":"el","name":"Tiếng Hy Lạp"},{"code":"is","name":"Tiếng Iceland"},{"code":"id","name":"Tiếng Indonesia"},{"code":"ga","name":"Tiếng Ireland"},{"code":"lv","name":"Tiếng Latvia"},{"code":"lt","name":"Tiếng Litva"},{"code":"mi","name":"Tiếng Maori"},{"code":"nb","name":"Tiếng Na Uy"},{"code":"ru","name":"Tiếng Nga"},{"code":"ja","name":"Tiếng Nhật"},{"code":"fr","name":"Tiếng Pháp"},{"code":"fi","name":"Tiếng Phần Lan"},{"code":"ro","name":"Tiếng Rumani"},{"code":"cs","name":"Tiếng Séc"},{"code":"sr","name":"Tiếng Serbia"},{"code":"sk","name":"Tiếng Slovak"},{"code":"sl","name":"Tiếng Slovenia"},{"code":"es","name":"Tiếng Tây Ban Nha"},{"code":"th","name":"Tiếng Thái"},{"code":"tr","name":"Tiếng Thổ Nhĩ Kỳ"},{"code":"sv","name":"Tiếng Thụy Điển"},{"code":"zh-cn","name":"Tiếng Trung (Giản Thể)"},{"code":"zh-tw","name":"Tiếng Trung (Phồn thể)"},{"code":"uk","name":"Tiếng Ukraina"},{"code":"vi","name":"Tiếng Việt"},{"code":"cy","name":"Tiếng Xứ Wales"},{"code":"it","name":"Tiếng Ý"},{"code":"zu","name":"Tiếng Zulu"}]},"nameMap":{"albánština":"sq","amharština":"am","angličtina":"en","arabština":"ar","arménština":"hy","ázerbájdžánština":"az","barmština":"my","baskičtina":"eu","běloruština":"be","bulharština":"bg","čeština":"cs","čínština (tradiční)":"zh-tw","čínština (zjednodušená)":"zh-cn","dánština":"da","esperanto":"eo","estonština":"et","finština":"fi","francouzština":"fr","galicijština":"gl","haitská kreolština":"ht","hebrejština":"he","hindština":"hi","holandština":"nl","chorvatština":"hr","indonéština":"id","irština":"ga","islandština":"is","italština":"it","japonština":"ja","kannadština":"kn","katalánština":"ca","korejština":"ko","kurdština":"ku","latina":"la","litevština":"lt","lotyština":"lv","maďarština":"hu","makedonština":"mk","malajálamština":"ml","malajština":"ms","maltština":"mt","maorština":"mi","marátština":"mr","mongolština":"mn","němčina":"de","norština":"nb","perština":"fa","polština":"pl","portugalština":"pt","rumunština":"ro","ruština":"ru","řečtina":"el","skotská gaelština":"gd","slovenština":"sk","slovinština":"sl","srbština":"sr","španělština":"es","švédština":"sv","telužština":"te","thajština":"th","turečtina":"tr","ukrajinština":"uk","uzbečtina":"uz","velština":"cy","vietnamština":"vi","zulu":"zu","albansk":"sq","amharisk":"am","arabisk":"ar","armensk":"hy","aserbajdsjansk":"az","baskisk":"eu","bulgarsk":"bg","burmesisk":"my","dansk":"da","engelsk":"en","estisk":"et","finsk":"fi","fransk":"fr","galicisk":"gl","græsk":"el","haitisk kreolsk":"ht","hebraisk":"he","hindi":"hi","hollandsk":"nl","hviderussisk":"be","indonesisk":"id","irsk":"ga","islandsk":"is","italiensk":"it","japansk":"ja","kannada":"kn","katalansk":"ca","kinesisk (forenklet)":"zh-cn","kinesisk (traditionelt)":"zh-tw","koreansk":"ko","kroatisk":"hr","kurdisk":"ku","latin":"la","lettisk":"lv","litauisk":"lt","makedonsk":"mk","malajisk":"ms","malayalam":"ml","maltesisk":"mt","maori":"mi","marathi":"mr","mongolsk":"mn","norsk":"nb","persisk":"fa","polsk":"pl","portugisisk":"pt","rumænsk":"ro","russisk":"ru","serbisk":"sr","skotsk gælisk":"gd","slovakisk":"sk","slovensk":"sl","spansk":"es","svensk":"sv","telugu":"te","thailandsk":"th","tjekkisk":"cs","tyrkisk":"tr","tysk":"de","ukrainsk":"uk","ungarsk":"hu","usbekisk":"uz","vietnamesisk":"vi","walisisk":"cy","acerbaixano":"az","albanés":"sq","alemán":"de","amárico":"am","árabe":"ar","armenio":"hy","bielorruso":"be","birmano":"my","búlgaro":"bg","canarés":"kn","catalán":"ca","checo":"cs","chinés (simplificado)":"zh-cn","chinés (tradicional)":"zh-tw","coreano":"ko","crioulo haitiano":"ht","croata":"hr","curdo":"ku","dinamarqués":"da","eslovaco":"sk","esloveno":"sl","español":"es","estoniano":"et","éuscaro":"eu","finés":"fi","francés":"fr","gaélico escocés":"gd","galego":"gl","galés":"cy","grego":"el","hebreo":"he","húngaro":"hu","indonesio":"id","inglés":"en","irlandés":"ga","islandés":"is","italiano":"it","latín":"la","letón":"lv","lituano":"lt","macedonio":"mk","malabar":"ml","malaio":"ms","maltés":"mt","maorí":"mi","mongol":"mn","neerlandés":"nl","noruegués":"nb","persa":"fa","polaco":"pl","portugués":"pt","romanés":"ro","ruso":"ru","serbio":"sr","sueco":"sv","tailandés":"th","telugú":"te","turco":"tr","ucraíno":"uk","usbeco":"uz","vietnamita":"vi","xaponés":"ja","zulú":"zu","albanščina":"sq","amharščina":"am","angleščina":"en","arabščina":"ar","armenščina":"hy","azerbajdžanščina":"az","baskovščina":"eu","beloruščina":"be","bolgarščina":"bg","burmanščina":"my","češčina":"cs","danščina":"da","estonščina":"et","finščina":"fi","francoščina":"fr","galicijščina":"gl","grščina":"el","haitijska kreolščina":"ht","hebrejščina":"he","hindijščina":"hi","hrvaščina":"hr","indonezijščina":"id","irščina":"ga","islandščina":"is","italijanščina":"it","japonščina":"ja","kanareščina":"kn","katalonščina":"ca","kitajščina (poenostavljena)":"zh-cn","kitajščina (tradicionalna)":"zh-tw","korejščina":"ko","kurdščina":"ku","latinščina":"la","latvijščina":"lv","litovščina":"lt","madžarščina":"hu","makedonščina":"mk","malajalščina":"ml","malajščina":"ms","malteščina":"mt","maorščina":"mi","maratščina":"mr","mongolščina":"mn","nemščina":"de","nizozemščina":"nl","norveščina":"nb","perzijščina":"fa","poljščina":"pl","portugalščina":"pt","romunščina":"ro","ruščina":"ru","slovaščina":"sk","slovenščina":"sl","srbščina":"sr","škotska gelščina":"gd","španščina":"es","švedščina":"sv","tajščina":"th","teluščina":"te","turščina":"tr","ukrajinščina":"uk","uzbeščina":"uz","valižanščina":"cy","vietnamščina":"vi","zulujščina":"zu","albanais":"sq","allemand":"de","amharique":"am","anglais":"en","arabe":"ar","arménien":"hy","azéri":"az","basque":"eu","biélorusse":"be","birman":"my","bulgare":"bg","catalan":"ca","chinois (simplifié)":"zh-cn","chinois (traditionnel)":"zh-tw","coréen":"ko","créole haïtien":"ht","croate":"hr","danois":"da","espagnol":"es","espéranto":"eo","estonien":"et","finnois":"fi","français":"fr","gaélique (écosse)":"gd","galicien":"gl","gallois":"cy","grec":"el","hébreu":"he","hongrois":"hu","indonésien":"id","irlandais":"ga","islandais":"is","italien":"it","japonais":"ja","kurde":"ku","letton":"lv","lituanien":"lt","macédonien":"mk","malaisien":"ms","maltais":"mt","néerlandais":"nl","norvégien":"nb","ouzbek":"uz","persan":"fa","polonais":"pl","portugais":"pt","roumain":"ro","russe":"ru","serbe":"sr","slovaque":"sk","slovène":"sl","suédois":"sv","tchèque":"cs","thaï":"th","turc":"tr","ukrainien":"uk","vietnamien":"vi","zoulou":"zu","albán":"sq","amhara":"am","angol":"en","arab":"ar","azeri":"az","baszk":"eu","belorusz":"be","bolgár":"bg","burmai":"my","cseh":"cs","dán":"da","eszperantó":"eo","észt":"et","finn":"fi","francia":"fr","galíciai":"gl","görög":"el","haiti kreol":"ht","héber":"he","holland":"nl","horvát":"hr","indonéz":"id","ír":"ga","izlandi":"is","japán":"ja","katalán":"ca","kínai (egyszerűsített)":"zh-cn","kínai (hagyományos)":"zh-tw","koreai":"ko","kurd":"ku","lengyel":"pl","lett":"lv","litván":"lt","macedón":"mk","magyar":"hu","maláj":"ms","malajálam":"ml","máltai":"mt","maráthi":"mr","német":"de","norvég":"nb","olasz":"it","orosz":"ru","örmény":"hy","perzsa":"fa","portugál":"pt","román":"ro","skót-gael":"gd","spanyol":"es","svéd":"sv","szerb":"sr","szlovák":"sk","szlovén":"sl","thai":"th","török":"tr","ukrán":"uk","üzbég":"uz","vietnami":"vi","walesi":"cy","азербайджанська":"az","албанська":"sq","амхарська":"am","англійська":"en","арабська":"ar","баскська":"eu","білоруська":"be","бірманська":"my","болгарська":"bg","в’єтнамська":"vi","валлійська":"cy","вірменська":"hy","гаїтянська креольська":"ht","гінді":"hi","грецька":"el","ґалісійська":"gl","данська":"da","есперанто":"eo","естонська":"et","зулу":"zu","іврит":"he","індонезійська":"id","ірландська":"ga","ісландська":"is","іспанська":"es","італійська":"it","каннада":"kn","каталанська":"ca","китайська (спрощена)":"zh-cn","китайська (традиційна)":"zh-tw","корейська":"ko","курдська":"ku","латинська":"la","латиська":"lv","литовська":"lt","македонська":"mk","малайська":"ms","малаялам":"ml","мальтійська":"mt","маорі":"mi","маратхі":"mr","монгольська":"mn","нідерландська":"nl","німецька":"de","норвезька":"nb","перська":"fa","польська":"pl","португальська":"pt","російська":"ru","румунська":"ro","сербська":"sr","словацька":"sk","словенська":"sl","тайська":"th","телуґу":"te","турецька":"tr","угорська":"hu","узбецька":"uz","українська":"uk","фінська":"fi","французька":"fr","хорватська":"hr","чеська":"cs","шведська":"sv","шотландська (ґельська)":"gd","японська":"ja","土耳其文":"tr","中文(繁體)":"zh-tw","中文(簡體)":"zh-cn","丹麥文":"da","巴斯克文":"eu","日文":"ja","毛利文":"mi","世界語":"eo","加里西亞文":"gl","加泰羅尼亞文":"ca","卡納達文":"kn","白俄羅斯文":"be","立陶宛文":"lt","冰島文":"is","匈牙利文":"hu","印尼文":"id","印度文":"hi","西班牙文":"es","克羅埃西亞文":"hr","希伯來文":"he","希臘文":"el","亞美尼亞文":"hy","亞塞拜然文":"az","拉丁文":"la","拉脫維亞文":"lv","法文":"fr","波斯文":"fa","波蘭文":"pl","芬蘭文":"fi","阿姆哈拉文":"am","阿拉伯文":"ar","阿爾巴尼亞文":"sq","俄文":"ru","保加利亞文":"bg","南非祖魯文":"zu","威爾斯文":"cy","英文":"en","庫德文":"ku","挪威文":"nb","泰文":"th","泰盧固文":"te","海地克里奧文":"ht","烏克蘭文":"uk","烏茲別克文":"uz","馬耳他文":"mt","馬來文":"ms","馬其頓文":"mk","馬拉地文":"mr","馬拉雅拉姆文":"ml","捷克文":"cs","荷蘭文":"nl","斯洛伐克文":"sk","斯洛維尼亞文":"sl","越南文":"vi","塞爾維亞文":"sr","愛沙尼亞文":"et","愛爾蘭文":"ga","瑞典文":"sv","義大利文":"it","葡萄牙文":"pt","蒙古文":"mn","德文":"de","緬甸文":"my","韓文":"ko","羅馬尼亞文":"ro","蘇格蘭的蓋爾文":"gd","अझरबैजानी":"az","अम्हारिक":"am","अरबी":"ar","अर्मेनियन":"hy","अल्बानियन":"sq","आइसलँडिक":"is","आयरिश":"ga","इंग्रजी":"en","इंडोनेशियन":"id","इटालियन":"it","उझ्बेक":"uz","एस्टोनियन":"et","एस्परँटो":"eo","कन्नड":"kn","कुर्दिश (कुर्मांजी)":"ku","कॅटलान":"ca","कोरियन":"ko","क्रोएशियन":"hr","गॅलिशियन":"gl","ग्रीक":"el","चीनी (पारंपारिक)":"zh-tw","चीनी (सरलीकृत)":"zh-cn","जपानी":"ja","जर्मन":"de","झुलु":"zu","झेक":"cs","डच":"nl","डॅनिश":"da","तुर्की":"tr","तेलगू":"te","थाई":"th","नॉर्वेजियन":"nb","पोर्तुगीज":"pt","पोलिश":"pl","फारसी":"fa","फिन्निश":"fi","फ्रेंच":"fr","बल्गेरियन":"bg","बास्क":"eu","बेलारुशियन":"be","मंगोलियन":"mn","मराठी":"mr","मलय":"ms","मल्याळम":"ml","माओरी":"mi","माल्टीज":"mt","मॅसेडोनियन":"mk","म्यानमार (बर्मीज)":"my","युक्रेनियन":"uk","रशियन":"ru","रोमानियन":"ro","लाट्वियन":"lv","लिथुआनियन":"lt","लॅटिन":"la","वेल्श":"cy","व्हिएतनामी":"vi","सर्बियन":"sr","स्कॉट्स गेलिक":"gd","स्पॅनिश":"es","स्लोव्हाक":"sk","स्लोव्हेनियन":"sl","स्वीडिश":"sv","हंगेरियन":"hu","हिन्दी":"hi","हिब्रू":"he","हैतीयन क्रेओल":"ht","albanian":"sq","amharic":"am","arabic":"ar","armenian":"hy","azerbaijani":"az","belarusian":"be","bulgarian":"bg","chinese (simplified)":"zh-cn","chinese (traditional)":"zh-tw","croatian":"hr","czech":"cs","danish":"da","dutch":"nl","english":"en","estonian":"et","finnish":"fi","french":"fr","galician":"gl","german":"de","greek":"el","haitian creole":"ht","hebrew":"he","hungarian":"hu","icelandic":"is","indonesian":"id","irish":"ga","italian":"it","japanese":"ja","korean":"ko","kurdish (kurmanji)":"ku","latvian":"lv","lithuanian":"lt","macedonian":"mk","malay":"ms","maltese":"mt","mongolian":"mn","myanmar (burmese)":"my","norwegian":"nb","persian":"fa","polish":"pl","portuguese":"pt","romanian":"ro","russian":"ru","scots gaelic":"gd","serbian":"sr","slovak":"sk","slovenian":"sl","spanish":"es","swedish":"sv","turkish":"tr","ukrainian":"uk","uzbek":"uz","vietnamese":"vi","welsh":"cy","albanês":"sq","alemão":"de","armênio":"hy","azerbaijano":"az","basco":"eu","bielo-russo":"be","birmanês":"my","canarês":"kn","catalão":"ca","chinês (simplificado)":"zh-cn","chinês (tradicional)":"zh-tw","dinamarquês":"da","espanhol":"es","finlandês":"fi","francês":"fr","gaélico escocês":"gd","galês":"cy","hebraico":"he","holandês":"nl","indonésio":"id","inglês":"en","irlandês":"ga","islandês":"is","japonês":"ja","latim":"la","letão":"lv","macedônio":"mk","malaiala":"ml","maltês":"mt","marata":"mr","norueguês":"nb","polonês":"pl","português":"pt","romeno":"ro","russo":"ru","sérvio":"sr","tailandês":"th","tcheco":"cs","telugo":"te","ucraniano":"uk","uzbeque":"uz","almanca":"de","arapça":"ar","arnavutça":"sq","azerice":"az","baskça":"eu","belarusça":"be","bulgarca":"bg","burmaca":"my","çekçe":"cs","çince (basitleştirilmiş)":"zh-cn","çince (geleneksel)":"zh-tw","danca":"da","endonezya dili":"id","ermenice":"hy","esperantoca":"eo","estonyaca":"et","farsça":"fa","felemenkçe":"nl","fince":"fi","fransızca":"fr","galce":"cy","galiçyaca":"gl","habeşçe":"am","haiti creole dili":"ht","hırvatça":"hr","hintçe":"hi","i̇branice":"he","i̇ngilizce":"en","i̇rlandaca":"ga","i̇spanyolca":"es","i̇sveççe":"sv","i̇talyanca":"it","i̇zlandaca":"is","japonca":"ja","katalanca":"ca","korece":"ko","kuzey i̇skoç dili":"gd","kürtçe":"ku","latince":"la","lehçe":"pl","letonca":"lv","litvanca":"lt","macarca":"hu","makedonca":"mk","malezya dili":"ms","malta dili":"mt","maori dili":"mi","moğolca":"mn","norveççe":"nb","özbekçe":"uz","portekizce":"pt","romence":"ro","rusça":"ru","sırpça":"sr","slovakça":"sk","slovence":"sl","tay dili":"th","telugu dili":"te","türkçe":"tr","ukraynaca":"uk","vietnamca":"vi","yunanca":"el","airméinis":"hy","albáinis":"sq","amárais":"am","araibis":"ar","asarbaiseáinis":"az","bascais":"eu","bealarúisis":"be","béarla":"en","breatnais":"cy","bulgáiris":"bg","cannadais":"kn","catalóinis":"ca","coirdis (curmainsis)":"ku","cóiréis":"ko","criól háítí":"ht","cróitis":"hr","danmhairgis":"da","eabhrais":"he","eastóinis":"et","fionlainnis":"fi","fraincis":"fr","gaeilge":"ga","gaeilge na halban":"gd","gailísis":"gl","gearmáinis":"de","gréigis":"el","hiondúis":"hi","indinéisis":"id","iodáilis":"it","ioruais":"nb","íoslainnis":"is","laidin":"la","laitvis":"lv","liotuáinis":"lt","macadóinis":"mk","maenmar (burmais)":"my","mailéalaimis":"ml","malaeis":"ms","máltais":"mt","maorais":"mi","maraitis":"mr","mongóilis":"mn","ollainnis":"nl","peirsis":"fa","polainnis":"pl","portaingéilis":"pt","rómáinis":"ro","rúisis":"ru","seapáinis":"ja","seicis":"cs","seirbis":"sr","sínis (simplithe)":"zh-cn","sínis (traidisiúnta)":"zh-tw","slóivéinis":"sl","slóvaicis":"sk","spáinnis":"es","sualainnis":"sv","súlúis":"zu","téalainnis":"th","teileagúis":"te","tuircis":"tr","úcráinis":"uk","úisbéiceastáinis":"uz","ungáiris":"hu","vítneaimis":"vi","ภาษากรีก":"el","ภาษากันนาดา":"kn","ภาษากาลิเชียน":"gl","ภาษาเกลิกในสก็อต":"gd","ภาษาเกาหลี":"ko","ภาษาคาตาลัน":"ca","ภาษาเคิร์ด":"ku","ภาษาโครเอเชีย":"hr","ภาษาจีน (ดั้งเดิม)":"zh-tw","ภาษาจีน (แบบย่อ)":"zh-cn","ภาษาเช็ก":"cs","ภาษาซูลู":"zu","ภาษาเซอร์เบียน":"sr","ภาษาญี่ปุ่น":"ja","ภาษาดัตช์":"nl","ภาษาเดนมาร์ก":"da","ภาษาตุรกี":"tr","ภาษาเตลูกู":"te","ภาษาไทย":"th","ภาษานอร์เวย์":"nb","ภาษาบัลกาเรีย":"bg","ภาษาบาสก์":"eu","ภาษาเบลารูเชียน":"be","ภาษาเปอร์เซีย":"fa","ภาษาโปรตุเกส":"pt","ภาษาโปแลนด์":"pl","ภาษาฝรั่งเศส":"fr","ภาษาฟินแลนด์":"fi","ภาษามองโกเลีย":"mn","ภาษามัลทีส":"mt","ภาษามาซีโดเนีย":"mk","ภาษามาราฐี":"mr","ภาษามาลายาลัม":"ml","ภาษามาเลย์":"ms","ภาษาเมารี":"mi","ภาษาเมียนมา (พม่า)":"my","ภาษายูเครน":"uk","ภาษาเยอรมัน":"de","ภาษารัสเซีย":"ru","ภาษาโรมาเนีย":"ro","ภาษาละติน":"la","ภาษาลัทเวีย":"lv","ภาษาลิทัวเนีย":"lt","ภาษาเวลส์":"cy","ภาษาเวียดนาม":"vi","ภาษาสเปน":"es","ภาษาสโลวัก":"sk","ภาษาสโลเวเนีย":"sl","ภาษาสวีเดน":"sv","ภาษาอังกฤษ":"en","ภาษาอัมฮาริก":"am","ภาษาอัลบาเนีย":"sq","ภาษาอาร์เซอร์ไบจัน":"az","ภาษาอาร์เมเนีย":"hy","ภาษาอาหรับ":"ar","ภาษาอิตาลี":"it","ภาษาอินโดนีเซีย":"id","ภาษาอุสเบกิสถาน":"uz","ภาษาเอสโทเนีย":"et","ภาษาเอสเปอแรนโต":"eo","ภาษาไอซ์แลนดิก":"is","ภาษาไอริช":"ga","ภาษาฮังการี":"hu","ภาษาฮินดี":"hi","ภาษาฮิบรู":"he","ภาษาเฮติครีโอล":"ht","アイスランド語":"is","アイルランド語":"ga","アゼルバイジャン語":"az","アムハラ語":"am","アラビア語":"ar","アルバニア語":"sq","アルメニア語":"hy","イタリア語":"it","インドネシア語":"id","ウェールズ語":"cy","ウクライナ語":"uk","ウズベク語":"uz","エストニア語":"et","エスペラント語":"eo","オランダ語":"nl","カタルーニャ語":"ca","ガリシア語":"gl","カンナダ語":"kn","ギリシャ語":"el","クルド語":"ku","クロアチア語":"hr","スウェーデン語":"sv","ズールー語":"zu","スコットランド ゲール語":"gd","スペイン語":"es","スロバキア語":"sk","スロベニア語":"sl","セルビア語":"sr","タイ語":"th","チェコ語":"cs","テルグ語":"te","デンマーク語":"da","ドイツ語":"de","トルコ語":"tr","ノルウェー語":"nb","ハイチ語":"ht","バスク語":"eu","ハンガリー語":"hu","ヒンディー語":"hi","フィンランド語":"fi","フランス語":"fr","ブルガリア語":"bg","ベトナム語":"vi","ヘブライ語":"he","ベラルーシ語":"be","ペルシャ語":"fa","ポーランド語":"pl","ポルトガル語":"pt","マオリ語":"mi","マケドニア語":"mk","マラーティー語":"mr","マラヤーラム語":"ml","マルタ語":"mt","マレー語":"ms","ミャンマー語":"my","モンゴル語":"mn","ラテン語":"la","ラトビア語":"lv","リトアニア語":"lt","ルーマニア語":"ro","ロシア語":"ru","英語":"en","韓国語":"ko","中国語(簡体)":"zh-cn","中国語(繁体)":"zh-tw","日本語":"ja","albanees":"sq","amharisch":"am","arabisch":"ar","armeens":"hy","azerbeidzjaans":"az","baskisch":"eu","birmaans":"my","bulgaars":"bg","catalaans":"ca","chinees (traditioneel)":"zh-tw","chinees (vereenvoudigd)":"zh-cn","deens":"da","duits":"de","engels":"en","ests":"et","fins":"fi","frans":"fr","galicisch":"gl","grieks":"el","haïtiaans creools":"ht","hebreeuws":"he","hongaars":"hu","iers":"ga","ijslands":"is","indonesisch":"id","italiaans":"it","japans":"ja","koerdisch":"ku","koreaans":"ko","kroatisch":"hr","latijn":"la","lets":"lv","litouws":"lt","macedonisch":"mk","maleis":"ms","maltees":"mt","mongools":"mn","nederlands":"nl","noors":"nb","oekraïens":"uk","oezbeeks":"uz","perzisch":"fa","pools":"pl","portugees":"pt","roemeens":"ro","russisch":"ru","schots keltisch":"gd","servisch":"sr","slovaaks":"sk","sloveens":"sl","spaans":"es","tsjechisch":"cs","turks":"tr","vietnamees":"vi","wels":"cy","wit-russisch":"be","zoeloe":"zu","zweeds":"sv","airmeinis":"hy","albàinis":"sq","amtharais":"am","arabais":"ar","asarbaideànais":"az","basgais":"eu","bealaruisis":"be","beurla":"en","bhiet-namais":"vi","bulgarais":"bg","cànan nan tàidh":"th","catalanais":"ca","coirèanais":"ko","crìtheol haidhti":"ht","cròthaisis":"hr","cuimris":"cy","cùrdais (kurmanji)":"ku","duitsis":"nl","eabhra":"he","eadailtis":"it","eastoinis":"et","fionnlannais":"fi","fraingis":"fr","gàidhlig":"gd","gailìsis":"gl","gearmailtis":"de","grèigis":"el","hindis":"hi","innd-innsis":"id","innis-tìlis":"is","laideann":"la","laitbheis":"lv","liotuainis":"lt","malaidhis":"ms","māori":"mi","masadonais":"mk","miànmar (burmais)":"my","mongolais":"mn","nirribhis":"nb","pòlainnis":"pl","portagailis":"pt","romàinis":"ro","ruisis":"ru","seacais":"cs","seapanais":"ja","sèirbis":"sr","sìonais (seann-nòsach)":"zh-tw","sìonais (sìmplichte)":"zh-cn","slòbhacais":"sk","slòbhainis":"sl","spàinntis":"es","suainis":"sv","turcais":"tr","ucràinis":"uk","ungairis":"hu","usbagais":"uz","farsi":"fa","galisisk":"gl","gresk":"el","hviterussisk":"be","kinesisk (tradisjonell)":"zh-tw","kreol (haiti)":"ht","latvisk":"lv","malayisk":"ms","nederlandsk":"nl","rumensk":"ro","tsjekkisk":"cs","albanisch":"sq","armenisch":"hy","aserbaidschanisch":"az","birmanisch":"my","bulgarisch":"bg","chinesisch (traditionell)":"zh-tw","chinesisch (vereinfacht)":"zh-cn","dänisch":"da","deutsch":"de","englisch":"en","estnisch":"et","finnisch":"fi","französisch":"fr","galizisch":"gl","griechisch":"el","haitianisch":"ht","hebräisch":"he","irisch":"ga","isländisch":"is","italienisch":"it","japanisch":"ja","katalanisch":"ca","koreanisch":"ko","kurdisch (kurmandschi)":"ku","lateinisch":"la","lettisch":"lv","litauisch":"lt","malaysisch":"ms","maltesisch":"mt","mazedonisch":"mk","mongolisch":"mn","niederländisch":"nl","norwegisch":"nb","persisch":"fa","polnisch":"pl","portugiesisch":"pt","rumänisch":"ro","schottisch-gälisch":"gd","schwedisch":"sv","serbisch":"sr","slowakisch":"sk","slowenisch":"sl","spanisch":"es","thailändisch":"th","tschechisch":"cs","türkisch":"tr","ukrainisch":"uk","ungarisch":"hu","usbekisch":"uz","vietnamesisch":"vi","walisisch":"cy","weißrussisch":"be","ကနာဒါ":"kn","ကာ့ဒ် (ကာမန်ဂျီ)":"ku","ကိုရီးယား":"ko","ကက်တလန်":"ca","ခရိုအေးရှား":"hr","ချက်":"cs","ဂရိ":"el","ဂယ်လိရှ":"gl","ဂျပန်":"ja","ဂျာမန်":"de","စကော့ ဂေးလစ်":"gd","စပိန်":"es","ဆလိုဗေးနီးယား":"sl","ဆလိုဗက်":"sk","ဆားဘီးယား":"sr","ဆွီဒင်":"sv","ဇူးလူး":"zu","တရုတ် (ရိုးရာ)":"zh-tw","တရုတ် (အလွယ်)":"zh-cn","တူရကီ":"tr","တယ်လူဂူ":"te","ထိုင်း":"th","ဒတ်ချ်":"nl","ဒိန်းမတ်":"da","နော်ဝေ":"nb","ပါရှန်":"fa","ပေါ်တူဂီ":"pt","ပိုလန်":"pl","ပြင်သစ်":"fr","ဖင်လန်":"fi","ဗီယက်နမ်":"vi","ဘာ့စ်":"eu","ဘူဂေးရီးယား":"bg","ဘယ်လာရုစ်":"be","မလေယာလမ်":"ml","မလေး":"ms","မာရာသီ":"mr","မော်ရီ":"mi","မော်လတာ":"mt","မက်ဆီဒိုးနီးယား":"mk","မြန်မာ (မြန်မာ)":"my","မွန်ဂိုလီးယား":"mn","ယူကရိန်း":"uk","ရုရှား":"ru","ရိုမေးနီးယား":"ro","လက်တင်":"la","လစ်သူယေးနီးယား":"lt","လတ်ဗီယာ":"lv","ဝေလ":"cy","ဟီဘရူး":"he","ဟေတီ ခရီအိုး":"ht","ဟင်ဒီ":"hi","ဟန်ဂေရီ":"hu","အဇာဘိုင်ဂျန်":"az","အာမေးနီးယား":"hy","အာရေဗျ":"ar","အီတလီ":"it","ဥဇဘက်":"uz","အက်စတိုးနီးယား":"et","အက်စ်ပဲရန်တို":"eo","အိုက်စလန်":"is","အင်္ဂလိပ်":"en","အင်ဒိုနီးရှား":"id","အိုင်းရစ်ရှ်":"ga","အမ်ဟဲရစ်ခ်":"am","အယ်လ်ဘေးနီးယား":"sq","אוזבקית":"uz","אוקראינית":"uk","אזרית":"az","איטלקית":"it","אינדונזית":"id","איסלנדית":"is","אירית":"ga","אלבנית":"sq","אמהרית":"am","אנגלית":"en","אסטונית":"et","אספרנטו":"eo","ארמנית":"hy","באסקית":"eu","בולגרית":"bg","בורמזית":"my","בלארוסית":"be","גליציאנית":"gl","גרמנית":"de","דנית":"da","הולנדית":"nl","הונגרית":"hu","הינדי":"hi","וולשית":"cy","וייטנאמית":"vi","זולו":"zu","טורקית":"tr","טלוגו":"te","יוונית":"el","יפנית":"ja","כורדית":"ku","לטווית":"lv","לטינית":"la","ליטאית":"lt","מאורית":"mi","מאלאיאלם":"ml","מאלזית":"ms","מאראתי":"mr","מונגולית":"mn","מלטית":"mt","מקדונית":"mk","נורווגית":"nb","סינית (מסורתית)":"zh-tw","סינית (פשוטה)":"zh-cn","סלובנית":"sl","סלובקית":"sk","ספרדית":"es","סקוטית גאלית":"gd","סרבית":"sr","עברית":"he","ערבית":"ar","פולנית":"pl","פורטוגזית":"pt","פינית":"fi","פרסית":"fa","צ\'כית":"cs","צרפתית":"fr","קאנאדה":"kn","קוריאנית":"ko","קטלאנית":"ca","קרואטית":"hr","קריאולית האיטית":"ht","רומנית":"ro","רוסית":"ru","שוודית":"sv","תאילנדית":"th","азербејџански":"az","албански":"sq","амхарски":"am","англиски":"en","арапски":"ar","баскиски":"eu","белоруски":"be","бугарски":"bg","бурмански":"my","велшки":"cy","виетнамски":"vi","галициски":"gl","германски":"de","грчки":"el","дански":"da","ерменски":"hy","естонски":"et","индонезиски":"id","ирски":"ga","исландски":"is","италијански":"it","јапонски":"ja","канада":"kn","каталонски":"ca","кинески (поедноставен)":"zh-cn","кинески (традиционален)":"zh-tw","корејски":"ko","курдски":"ku","латвиски":"lv","латински":"la","литвански":"lt","македонски":"mk","малајалам":"ml","малајски":"ms","малтешки":"mt","маорски":"mi","маратхи":"mr","монголски":"mn","норвешки":"nb","персиски":"fa","полски":"pl","португалски":"pt","романски":"ro","руски":"ru","словачки":"sk","словенечки":"sl","српски":"sr","тајландски":"th","телугу":"te","турски":"tr","узбечки":"uz","украински":"uk","унгарски":"hu","фински":"fi","француски":"fr","хаитски креолски":"ht","хебрејски":"he","хиндиски":"hi","холандски":"nl","хрватски":"hr","чешки":"cs","шведски":"sv","шкотски галски":"gd","шпански":"es","ಅಜರ್ಬೈಜಾನಿ":"az","ಅಮಹಾರಿಕ್":"am","ಅರಬ್ಬಿ":"ar","ಆರ್ಮೇನಿಯನ್":"hy","ಆಲ್ಬೇನಿಯನ್":"sq","ಇಂಗ್ಲಿಷ್":"en","ಇಂಡೋನೇಷಿಯನ್":"id","ಇಟಾಲಿಯನ್":"it","ಉಜ್ಬೆಕ್":"uz","ಎಸ್ಟೋನಿಯನ್":"et","ಎಸ್ಪೆರಾಂಟೋ":"eo","ಐರಿಷ್":"ga","ಐಸ್ಲ್ಯಾಂಡಿಕ್":"is","ಕನ್ನಡ":"kn","ಕುರ್ದಿಶ್":"ku","ಕೊರಿಯನ್":"ko","ಕ್ಯಾಟಲನ್":"ca","ಕ್ರೊಯೇಷಿಯನ್":"hr","ಗ್ಯಾಲೀಷಿಯನ್":"gl","ಗ್ರೀಕ್":"el","ಚೀನಿ (ಸರಳೀಕೃತ)":"zh-cn","ಚೀನಿ (ಸಾಂಪ್ರದಾಯಿಕ)":"zh-tw","ಜಪಾನಿ":"ja","ಜರ್ಮನ್":"de","ಜುಲು":"zu","ಝೆಕ್":"cs","ಟರ್ಕಿಷ್":"tr","ಡಚ್":"nl","ಡ್ಯಾನಿಷ್":"da","ತೆಲುಗು":"te","ಥಾಯ್":"th","ನಾರ್ವೇಜಿಯನ್":"nb","ಪೋರ್ಚುಗೀಸ್":"pt","ಪೋಲಿಷ್":"pl","ಫಾರ್ಸಿ":"fa","ಫಿನ್ನಿಷ್":"fi","ಫ್ರೆಂಚ್":"fr","ಬರ್ಮೀಸ್":"my","ಬಲ್ಗೇರಿಯನ್":"bg","ಬಾಸ್ಕ್":"eu","ಬೆಲರೂಸಿಯನ್":"be","ಮಂಗೋಲಿಯನ್":"mn","ಮರಾಠಿ":"mr","ಮಲಯ":"ms","ಮಲಯಾಳಂ":"ml","ಮಾಲ್ಟೀಸ್":"mt","ಮಾವೋರಿ":"mi","ಮ್ಯಾಸೆಡೋನಿಯನ್":"mk","ಯುಕ್ರೇನಿಯನ್":"uk","ರಷಿಯನ್":"ru","ರೊಮೇನಿಯನ್":"ro","ಲಿಥುವೇನಿಯನ್":"lt","ಲ್ಯಾಟಿನ್":"la","ಲ್ಯಾಟ್ವಿಯನ್":"lv","ವಿಯೆಟ್ನಾಮಿ":"vi","ವೆಲ್ಶ್":"cy","ಸರ್ಬಿಯನ್":"sr","ಸ್ಕಾಟ್ಸ್ ಗ್ಯಾಲಿಕ್":"gd","ಸ್ಪ್ಯಾನಿಷ್":"es","ಸ್ಲೊವಾಕ್":"sk","ಸ್ಲೊವೆನಿಯನ್":"sl","ಸ್ವೀಡಿಷ್":"sv","ಹಂಗೇರಿಯನ್":"hu","ಹಯಥಿಯನ್ ಕ್ರಿಯೋಲ್":"ht","ಹಿಂದಿ":"hi","ಹೀಬ್ರೂ":"he","അമാറിക്":"am","അർമേനിയൻ":"hy","അൽബേനിയൻ":"sq","അസർബൈജാനി":"az","അറബിക്":"ar","ഇന്തോനേഷ്യൻ":"id","ഇംഗ്ലീഷ്":"en","ഇറ്റാലിയൻ":"it","ഉക്രേനിയൻ":"uk","ഉസ്ബെക്ക്":"uz","എസ്പെരന്തോ":"eo","എസ്റ്റോണിയൻ":"et","ഐസ്ലാൻഡിക്":"is","ഐറിഷ്":"ga","കന്നട":"kn","കാറ്റലൻ":"ca","കുർദ്ദിഷ്":"ku","കൊറിയൻ":"ko","ക്രൊയേഷ്യൻ":"hr","ഗലീഷ്യൻ":"gl","ഗ്രീക്ക്":"el","ചെക്ക്":"cs","ചൈനീസ് (പരമ്പരാഗതം)":"zh-tw","ചൈനീസ് (ലഘൂകരിച്ചത്)":"zh-cn","ജർമ്മൻ":"de","ജാപ്പനീസ്":"ja","ടർക്കിഷ്":"tr","ഡച്ച്":"nl","ഡാനിഷ്":"da","തായ്":"th","തെലുങ്ക്":"te","നോർവീജിയൻ":"nb","പേർഷ്യൻ":"fa","പോർച്ചുഗീസ്":"pt","പോളിഷ്":"pl","ഫിന്നിഷ്":"fi","ഫ്രെഞ്ച്":"fr","ബർമീസ്":"my","ബൾഗേറിയൻ":"bg","ബാസ്ക്":"eu","ബെലാറുഷ്യൻ":"be","മംഗോളിയൻ":"mn","മലയാളം":"ml","മലയ്":"ms","മറാഠി":"mr","മാസഡോണിയൻ":"mk","മാൾട്ടീസ്":"mt","മൗറി":"mi","ലാറ്റിൻ":"la","ലാറ്റ്വിയൻ":"lv","ലിത്വേനിയൻ":"lt","വിയറ്റ്നാമീസ്":"vi","വെൽഷ്":"cy","സുളു":"zu","സെർബിയൻ":"sr","സ്കോട്ട്സ് ഗ്യാലിക്":"gd","സ്പാനിഷ്":"es","സ്ലോവാക്":"sk","സ്ലോവേനിയൻ":"sl","സ്വീഡിഷ്":"sv","ഹംഗേറിയൻ":"hu","ഹിന്ദി":"hi","ഹീബ്രു":"he","ഹെയ്തിയൻ ക്രയോൾ":"ht","റഷ്യൻ":"ru","റൊമേനിയൻ":"ro","albánčina":"sq","amharčina":"am","arabčina":"ar","arménčina":"hy","azerbajdžančina":"az","barmčina":"my","bieloruština":"be","bulharčina":"bg","čínština (tradičná)":"zh-tw","dánčina":"da","estónčina":"et","fínčina":"fi","francúzština":"fr","galícijčina":"gl","gréčtina":"el","haitská kreolčina":"ht","hebrejčina":"he","hindčina":"hi","holandčina":"nl","chorvátčina":"hr","indonézština":"id","írčina":"ga","islandčina":"is","japončina":"ja","kannadčina":"kn","katalánčina":"ca","kórejčina":"ko","kurdčina":"ku","latinčina":"la","litovčina":"lt","macedónčina":"mk","maďarčina":"hu","malajámčina":"ml","malajčina":"ms","maltčina":"mt","maorijčina":"mi","maratčina":"mr","mongolčina":"mn","nemčina":"de","nórčina":"nb","perzština":"fa","poľština":"pl","portugalčina":"pt","rumunčina":"ro","slovenčina":"sk","slovinčina":"sl","srbčina":"sr","škótska gaelčina":"gd","španielčina":"es","švédčina":"sv","taliančina":"it","telugčina":"te","thajčina":"th","ukrajinčina":"uk","vietnamčina":"vi","waleština":"cy","zuluština":"zu","isi-albania":"sq","isi-amharic":"am","isi-arabic":"ar","isi-armenian":"hy","isi-azerbaijani":"az","isi-basque":"eu","isi-belarusian":"be","isi-bulgarian":"bg","isi-burmese":"my","isi-catalan":"ca","isi-chinese (simplified)":"zh-cn","isi-chinese (traditional)":"zh-tw","isi-croatian":"hr","isi-czech":"cs","isi-danish":"da","isi-dutch":"nl","isi-english":"en","isi-esperanto":"eo","isi-estonian":"et","isi-finnish":"fi","isi-french":"fr","isi-galician":"gl","isi-german":"de","isi-greek":"el","isi-haitian creole":"ht","isi-hangarian":"hu","isi-hebrew":"he","isi-hindi":"hi","isi-icelandic":"is","isi-indonesian":"id","isi-irish":"ga","isi-italian":"it","isi-japanese":"ja","isi-kannada":"kn","isi-korean":"ko","isi-kurdish":"ku","isi-latin":"la","isi-latvian":"lv","isi-lithuanian":"lt","isi-macedonian":"mk","isi-malay":"ms","isi-malayalam":"ml","isi-maltese":"mt","isi-maori":"mi","isi-marathi":"mr","isi-mongolian":"mn","isi-norwegian":"nb","isi-persian":"fa","isi-polish":"pl","isi-portuguese":"pt","isi-romanian":"ro","isi-russian":"ru","isi-scots gaelic":"gd","isi-serbian":"sr","isi-slovak":"sk","isi-slovenian":"sl","isi-spanish":"es","isi-swedish":"sv","isi-telugu":"te","isi-thai":"th","isi-turkish":"tr","isi-ukrainian":"uk","isi-uzbek":"uz","isi-vietnamese":"vi","isi-welsh":"cy","isizulu":"zu","albania":"sq","armenia":"hy","azerbaijan":"az","belanda":"nl","belarus":"be","bulgaria":"bg","cina (mudah)":"zh-cn","cina (tradisional)":"zh-tw","croatia":"hr","denmark":"da","estonia":"et","finland":"fi","gaelic scotland":"gd","galicia":"gl","hungary":"hu","ibrani":"he","iceland":"is","indonesia":"id","inggeris":"en","ireland":"ga","itali":"it","jepun":"ja","jerman":"de","korea":"ko","kreol haiti":"ht","kurdistan":"ku","latvia":"lv","lithuania":"lt","macedonia":"mk","malta":"mt","melayu":"ms","mongolia":"mn","myanmar":"my","norway":"nb","parsi":"fa","perancis":"fr","poland":"pl","portugis":"pt","romania":"ro","rusia":"ru","sepanyol":"es","serbia":"sr","slovenia":"sl","sweden":"sv","turki":"tr","ukraine":"uk","vietnam":"vi","wales":"cy","азербайджанский":"az","албанский":"sq","амхарский":"am","английский":"en","арабский":"ar","армянский":"hy","баскский":"eu","белорусский":"be","бирманский":"my","болгарский":"bg","валлийский":"cy","венгерский":"hu","вьетнамский":"vi","галисийский":"gl","греческий":"el","датский":"da","иврит":"he","индонезийский":"id","ирландский":"ga","исландский":"is","испанский":"es","итальянский":"it","каталанский":"ca","китайский (традиционный)":"zh-tw","китайский (упрощенный)":"zh-cn","корейский":"ko","креольский (гаити)":"ht","курманджи":"ku","латинский":"la","латышский":"lv","литовский":"lt","македонский":"mk","малайский":"ms","мальтийский":"mt","маори":"mi","монгольский":"mn","немецкий":"de","нидерландский":"nl","норвежский":"nb","персидский":"fa","польский":"pl","португальский":"pt","румынский":"ro","русский":"ru","сербский":"sr","словацкий":"sk","словенский":"sl","тайский":"th","турецкий":"tr","узбекский":"uz","украинский":"uk","финский":"fi","французский":"fr","хинди":"hi","хорватский":"hr","чешский":"cs","шведский":"sv","шотландский (гэльский)":"gd","эсперанто":"eo","эстонский":"et","японский":"ja","albański":"sq","amharski":"am","angielski":"en","arabski":"ar","azerski":"az","baskijski":"eu","białoruski":"be","birmański":"my","bułgarski":"bg","chiński (tradycyjny)":"zh-tw","chiński (uproszczony)":"zh-cn","chorwacki":"hr","czeski":"cs","duński":"da","estoński":"et","fiński":"fi","francuski":"fr","galicyjski":"gl","grecki":"el","hebrajski":"he","hiszpański":"es","indonezyjski":"id","irlandzki":"ga","islandzki":"is","japoński":"ja","kataloński":"ca","koreański":"ko","kreolski (haiti)":"ht","kurdyjski":"ku","litewski":"lt","łaciński":"la","łotewski":"lv","macedoński":"mk","malajalam":"ml","malajski":"ms","maltański":"mt","mongolski":"mn","niderlandzki":"nl","niemiecki":"de","norweski":"nb","ormiański":"hy","perski":"fa","polski":"pl","portugalski":"pt","rosyjski":"ru","rumuński":"ro","serbski":"sr","słowacki":"sk","słoweński":"sl","szkocki gaelicki":"gd","szwedzki":"sv","tajski":"th","turecki":"tr","ukraiński":"uk","uzbecki":"uz","walijski":"cy","węgierski":"hu","wietnamski":"vi","włoski":"it","азербайджанская":"az","албанская":"sq","амхарская":"am","англійская":"en","арабская":"ar","армянская":"hy","балгарская":"bg","баскская":"eu","беларуская":"be","в\'етнамская":"vi","валійская":"cy","венгерская":"hu","гаіцянская крэольская":"ht","галандская":"nl","галісійская":"gl","грэчаская":"el","дацкая":"da","інданезійская":"id","ірландская":"ga","ісландская":"is","іспанская":"es","італьянская":"it","іўрыт":"he","карэйская":"ko","каталонская":"ca","кітайская (спрошчаная)":"zh-cn","кітайская (традыцыйная)":"zh-tw","курдская (курманджы)":"ku","латышская":"lv","лацінская":"la","літоўская":"lt","м\'янманская (бірманская)":"my","маары":"mi","македонская":"mk","малайская":"ms","мальтыйская":"mt","мангольская":"mn","нарвежская":"nb","нямецкая":"de","партугальская":"pt","персідская":"fa","польская":"pl","румынская":"ro","руская":"ru","сербская":"sr","славацкая":"sk","славенская":"sl","тайская":"th","турэцкая":"tr","тэлугу":"te","узбекская":"uz","украінская":"uk","фінская":"fi","французская":"fr","харвацкая":"hr","хіндзі":"hi","чэшская":"cs","шатландская гэльская":"gd","шведская":"sv","эсперанта":"eo","эстонская":"et","японская":"ja","amarikisht":"am","anglisht":"en","arabisht":"ar","armenisht":"hy","azerisht":"az","baskisht":"eu","birmanisht":"my","bjellorusisht":"be","bullgarisht":"bg","çekisht":"cs","danisht":"da","estonisht":"et","finlandisht":"fi","frëngjisht":"fr","galicianisht":"gl","galishte skoceze":"gd","greqisht":"el","gjermanisht":"de","hebraisht":"he","hindisht":"hi","holandisht":"nl","hungarisht":"hu","indonezisht":"id","irlandisht":"ga","islandisht":"is","italisht":"it","japonisht":"ja","kanada":"kn","katalonisht":"ca","kinezisht (e thjeshtuar)":"zh-cn","kinezisht (tradicionale)":"zh-tw","koreanisht":"ko","kreolishte haitiane":"ht","kroatisht":"hr","latinisht":"la","letonisht":"lv","lituanisht":"lt","malajalamisht":"ml","malajzisht":"ms","malteze":"mt","maorisht":"mi","maqedonisht":"mk","maratisht":"mr","mongolisht":"mn","norvegjisht":"nb","persisht":"fa","polonisht":"pl","portugalisht":"pt","rumanisht":"ro","rusisht":"ru","serbisht":"sr","sllovakisht":"sk","sllovenisht":"sl","spanjisht":"es","suedisht":"sv","shqip":"sq","tajlandisht":"th","telugisht":"te","turqisht":"tr","uellsisht":"cy","ukrainisht":"uk","uzbekisht":"uz","vietnamisht":"vi","ሀንጋሪኛ":"hu","ህንድኛ":"hi","ሊትዌንኛ":"lt","ላቲንኛ":"la","ላትቪያኛ":"lv","ማላያላምኛ":"ml","ማላይኛ":"ms","ማልቲስኛ":"mt","ማራቲኛ":"mr","ማዮሪኛ":"mi","ሜቄዶኒያኛ":"mk","ሞንጎሊያኛ":"mn","ራሽያኛ":"ru","ሮማኒያንኛ":"ro","ሰርቢያኛ":"sr","ስሎቫክኛ":"sk","ስሎቬንያኛ":"sl","ስዊድንኛ":"sv","ስፓኒሽኛ":"es","በርማኛ":"my","ቡልጋሪያኛ":"bg","ባስክኛ":"eu","ቤላሩስኛ":"be","ቪትናምኛ":"vi","ቱርክኛ":"tr","ታይኛ":"th","ቴሉጉኛ":"te","ቻይንኛ (ቀላሉ)":"zh-cn","ቻይንኛ (ባሕላዊው)":"zh-tw","ቼክኛ":"cs","ኖርዌጅያንኛ":"nb","አልባንያኛ":"sq","አማርኛ":"am","አርመኒያኛ":"hy","አዜርባይጃንኛ":"az","አይሪሽ":"ga","አይስላንድኛ":"is","ኡዝቤክኛ":"uz","ኤስቶኒያኛ":"et","ኤስፐራንቶ":"eo","እንዶኔዢያኛ":"id","እንግሊዝኛ":"en","ኩርድሽኛ":"ku","ካታላንኛ":"ca","ካናዳኛ":"kn","ክሮኤሽያኛ":"hr","ኮሪያኛ":"ko","ዌልሽ":"cy","ዐረብኛ":"ar","ዕብራይስጥ":"he","ዙሉኛ":"zu","የሃይቲ ክረኦሌኛ":"ht","የስኮት ጌልክኛ":"gd","ዩክሬንኛ":"uk","ደችኛ":"nl","ዴንሽኛ":"da","ጀርመንኛ":"de","ጃፓንኛ":"ja","ጋሊሺያኛ":"gl","ግሪክኛ":"el","ጣሊያንኛ":"it","ፈረንሳይኛ":"fr","ፊኒሽኛ":"fi","ፐርሺያኛ":"fa","ፖሊሽኛ":"pl","ፖርቱጋሊኛ":"pt","alban":"sq","alman":"de","amarikcə":"am","azərbaycan dili":"az","bask":"eu","belarusca":"be","bolqar":"bg","çex":"cs","çin (ən\'ənəvi)":"zh-tw","çin (sadələşdirilmiş)":"zh-cn","danimarka":"da","erməni":"hy","eston":"et","ərəb":"ar","fars dili":"fa","fin":"fi","fransız":"fr","haiti kreol dili":"ht","hind":"hi","xorvat":"hr","ispan":"es","i̇ndoneziya":"id","i̇ngilis":"en","i̇rland":"ga","i̇sland":"is","i̇sveç":"sv","i̇talyan":"it","i̇vrit":"he","katalan":"ca","koreya":"ko","kürd dili (kurmanci)":"ku","qalisian":"gl","latın":"la","latış":"lv","litva":"lt","macar":"hu","makedoniya":"mk","maoricə":"mi","monqolca":"mn","myanma (birma) dili":"my","norveç":"nb","özbək":"uz","polyak":"pl","portuqal":"pt","rumın":"ro","rus":"ru","serb":"sr","sloven":"sl","şotland (kelt)":"gd","tayca":"th","teluqu":"te","türk":"tr","uels":"cy","ukrayna":"uk","vyetnam":"vi","yapon":"ja","yunan":"el","zulu dili":"zu","albaniż":"sq","amħari":"am","armen":"hy","ażerbajġani":"az","belarussu":"be","bulgaru":"bg","ċek":"cs","ċiniż (semplifikat)":"zh-cn","ċiniż (tradizzjonali)":"zh-tw","creole haiti":"ht","daniż":"da","ebrajk":"he","estonjan":"et","finlandiż":"fi","franċiż":"fr","ġappuniż":"ja","ġermaniż":"de","gaelic tal-iskoċċiżi":"gd","galizjan":"gl","grieg":"el","għarbi":"ar","ħindi":"hi","indoneżjan":"id","ingliż":"en","irlandiż":"ga","islandiż":"is","kroat":"hr","kurd (kurmanji)":"ku","latvjan":"lv","litwen":"lt","maċedonjan":"mk","malasjan":"ms","malti":"mt","marati":"mr","mjanmar (burma)":"my","mongoljan":"mn","norveġiż":"nb","olandiż":"nl","persjan":"fa","pollakk":"pl","portugiż":"pt","rumen":"ro","russu":"ru","slovakk":"sk","spanjol":"es","svediż":"sv","tajlandiż":"th","taljan":"it","tork":"tr","ukren":"uk","ungeriż":"hu","użbek":"uz","vjetnamiż":"vi","żulu":"zu","albanski":"sq","amharik":"am","arapski":"ar","armenijski":"hy","azerbajdžanski":"az","bjeloruski":"be","bugarski":"bg","burmanski":"my","češki":"cs","danski":"da","engleski":"en","estonski":"et","finski":"fi","galski":"gl","grčki":"el","haićansko-kreolski":"ht","hebrejski":"he","hindu":"hi","hrvatski":"hr","indonezijski":"id","irski":"ga","islandski":"is","japanski":"ja","katalonski":"ca","kineski (pojednost.)":"zh-cn","kineski (tradicionalni)":"zh-tw","korejski":"ko","kurdski":"ku","latinski":"la","latvijski/letonski":"lv","litvanski":"lt","mađarski":"hu","makedonski":"mk","malezijski":"ms","malteški":"mt","nizozemski":"nl","norveški":"nb","njemački":"de","perzijski":"fa","poljski":"pl","rumunjski":"ro","ruski":"ru","slovački":"sk","slovenski":"sl","srpski":"sr","škotski keltski":"gd","španjolski":"es","švedski":"sv","tajlandski":"th","talijanski":"it","turski":"tr","ukrajinski":"uk","uzbekistanski":"uz","velški":"cy","vijetnamski":"vi","آذرباﻳﺠﺎﻧﻰ":"az","آلبانیایی":"sq","آلمانی":"de","ارمنی":"hy","ازبکی":"uz","اسپانیایی":"es","اسپرانتو":"eo","استونيايی":"et","اسلواکی":"sk","اسلونیایی":"sl","اکراينی":"uk","امهری":"am","اندونزيايی":"id","انگلیسی":"en","ایتالیایی":"it","ایرلندی":"ga","ايسلندی":"is","باسکی":"eu","برمهای":"my","بلاروسی":"be","بلغاری":"bg","پرتغالی":"pt","تايلندی":"th","ترکی استانبولی":"tr","تلوگو":"te","چک":"cs","چینی (سادهشده)":"zh-cn","چینی (سنتی)":"zh-tw","دانمارکی":"da","روسی":"ru","رومانيايی":"ro","زولو":"zu","ژاپنی":"ja","سوئدی":"sv","صربی":"sr","عبری":"he","عربی":"ar","فارسی":"fa","فرانسوی":"fr","فنلاندی":"fi","کاتالان":"ca","کانارا":"kn","کرئول هائیتی":"ht","کردی":"ku","کرواتی":"hr","کرهای":"ko","گالیسی":"gl","گاليک اسکاتلندی":"gd","لاتين":"la","لتونيايی":"lv","لهستانی":"pl","ليتوانيايی":"lt","مائوری":"mi","مالایالمی":"ml","مالايی":"ms","مالتی":"mt","مجاری":"hu","مراتی":"mr","مغولی":"mn","مقدونيهای":"mk","نروژی":"nb","ولزی":"cy","ويتنامی":"vi","هلندی":"nl","هندی":"hi","يونانی":"el","ahepaitani":"az","airihi":"ga","amariki":"am","amēniana":"hy","arapeinia":"sq","arapi":"ar","eperānato":"eo","etōnia":"et","haina (onamata)":"zh-tw","hainamana (kua whakamāmātia)":"zh-cn","hanekeria":"hu","hapanihi":"ja","herepia":"sr","hinerangi":"fi","hīni":"hi","hiperu":"he","horowākia":"sk","horowinia":"sl","huitene":"sv","huru":"zu","ingarihi":"en","initonīhia":"id","itāriana":"it","kanata":"kn","karihia":"gl","katarāna":"ca","kereore haiti":"ht","kiriki":"el","kōreana":"ko","koroātiana":"hr","korukoru":"tr","kūrihi":"ku","makerōnia":"mk","māratihi":"mt","marei":"ms","mareiarama":"ml","mongōriana":"mn","nōwei":"nb","pākihi":"eu","pāniora":"es","pēma (purumīhi)":"my","peraruhia":"be","perēhia":"fa","pōrana":"pl","potukīhi":"pt","purukāriana":"bg","rātini":"la","rāwhiana":"lv","rituānia":"lt","romānia":"ro","rūhia":"ru","tai":"th","tati":"nl","tenemāka":"da","teruku":"te","tiamana":"de","tieke":"cs","tiorangi":"is","tuauri kotarangi":"gd","uhipeke":"uz","ūkareiana":"uk","wēra":"cy","whitināmu":"vi","wīwī":"fr","αγγλικά":"en","αζερμπαϊτζανικά":"az","αλβανικά":"sq","αμχαρικά":"am","αραβικά":"ar","αρμενικά":"hy","βασκικά":"eu","βιετναμεζικά":"vi","βιρμανικά":"my","βουλγαρικά":"bg","γαελικά σκοτίας":"gd","γαλικιακά":"gl","γαλλικά":"fr","γερμανικά":"de","δανικά":"da","εβραϊκά":"he","ελληνικά":"el","εσθονικά":"et","εσπεράντο":"eo","ζουλού":"zu","ιαπωνικά":"ja","ινδονησιακά":"id","ιρλανδικά":"ga","ισλανδικά":"is","ισπανικά":"es","ιταλικά":"it","κανάντα":"kn","καταλανικά":"ca","κινέζικα (απλοποιημένα)":"zh-cn","κινέζικα (παραδοσιακά)":"zh-tw","κορεατικά":"ko","κουρδικά":"ku","κρεόλ αϊτής":"ht","κροατικά":"hr","λατινικά":"la","λετονικά":"lv","λευκορωσικά":"be","λιθουανικά":"lt","μαλαγιάλαμ":"ml","μαλέι":"ms","μαλτεζικά":"mt","μαορί":"mi","μαραθικά":"mr","μογγολικά":"mn","νορβηγικά":"nb","ολλανδικά":"nl","ουαλικά":"cy","ουγγρικά":"hu","ουζμπεκικά":"uz","ουκρανικά":"uk","περσικά":"fa","πολωνικά":"pl","πορτογαλικά":"pt","ρουμανικά":"ro","ρωσικά":"ru","σερβικά":"sr","σλαβομακεδονικά":"mk","σλοβακικά":"sk","σλοβενικά":"sl","σουηδικά":"sv","ταϊλανδεζικά":"th","τελούγκου":"te","τούρκικα":"tr","τσεχικά":"cs","φινλανδικά":"fi","χίντι":"hi","amxar":"am","arman":"hy","bolgar":"bg","dat":"da","fors":"fa","fransuz":"fr","gaiti-kreol":"ht","galisiy":"gl","golland":"nl","grek":"el","ibroniy":"he","indonez":"id","ingliz":"en","irland":"ga","island":"is","italyan":"it","koreys":"ko","kurd (kurmonji)":"ku","latish":"lv","lotin":"la","makedon":"mk","maltiy":"mt","maratxi":"mr","mo‘g‘ul":"mn","nemis":"de","norveg":"nb","ozarbayjon":"az","portugal":"pt","rumin":"ro","tay":"th","turk":"tr","ukrain":"uk","valliy":"cy","venger":"hu","xitoy (an’anaviy)":"zh-tw","xitoy (soddalashgan)":"zh-cn","o‘zbek":"uz","shotland-gel":"gd","shved":"sv","chex":"cs","albanska":"sq","amharísku":"am","arabíska":"ar","armenska":"hy","aserska":"az","baskneska":"eu","búlgarska":"bg","búrmíska":"my","danska":"da","eistneska":"et","enska":"en","esperantó":"eo","finnska":"fi","franska":"fr","galisíska":"gl","gríska":"el","haítískt kreólamál":"ht","hebreska":"he","hindí":"hi","hollenska":"nl","hvítrússneska":"be","indónesíska":"id","írska":"ga","íslenska":"is","ítalska":"it","japanska":"ja","katalónska":"ca","kínverska (einfölduð)":"zh-cn","kínverska (hefðbundin)":"zh-tw","kóreska":"ko","króatíska":"hr","kúrdíska":"ku","latína":"la","lettneska":"lv","litháíska":"lt","makedónska":"mk","malajíska":"ms","maltneska":"mt","maoríska":"mi","maratí":"mr","mongólska":"mn","norska":"nb","persneska":"fa","portúgalska":"pt","pólska":"pl","rúmenska":"ro","rússneska":"ru","serbneska":"sr","skosk-gelíska":"gd","slóvakíska":"sk","slóvenska":"sl","spænska":"es","súlú":"zu","sænska":"sv","taílenska":"th","tékkneska":"cs","tyrkneska":"tr","ungverska":"hu","úkraínska":"uk","úsbekíska":"uz","velska":"cy","víetnamska":"vi","þýska":"de","ադրբեջաներեն":"az","ալբաներեն":"sq","ամհարերեն":"am","անգլերեն":"en","արաբերեն":"ar","բասկերեն":"eu","բելառուսերեն":"be","բիրմաներեն":"my","բուլղարերեն":"bg","գալիսերեն":"gl","գերմաներեն":"de","դանիերեն":"da","եբրայերեն":"he","զուլուսերեն":"zu","էսպերանտո":"eo","էստոներեն":"et","թայերեն":"th","թուրքերեն":"tr","ինդոնեզերեն":"id","իռլանդերեն":"ga","իսլանդերեն":"is","իսպաներեն":"es","իտալերեն":"it","լատիներեն":"la","լատվիերեն":"lv","լեհերեն":"pl","լիտվերեն":"lt","խորվաթերեն":"hr","կաննադա":"kn","կատալաներեն":"ca","կելտական շոտլանդերեն":"gd","կորեերեն":"ko","կրեոլերեն (հայիթի)":"ht","հայերեն":"hy","հինդի":"hi","հոլանդերեն":"nl","հունարեն":"el","հունգարերեն":"hu","ճապոներեն":"ja","մալայալամ":"ml","մալայերեն":"ms","մալթերեն":"mt","մակեդոներեն":"mk","մաորի":"mi","մարաթի":"mr","մոնղոլերեն":"mn","նորվեգերեն":"nb","շվեդերեն":"sv","ուզբեկերեն":"uz","ուկրաիներեն":"uk","չեխերեն":"cs","չինարեն (ավանդական)":"zh-tw","չինարեն (պարզեցված)":"zh-cn","պարսկերեն":"fa","պորտուգալերեն":"pt","ռումիներեն":"ro","ռուսերեն":"ru","սերբերեն":"sr","սլովակերեն":"sk","սլովեներեն":"sl","վալերեն":"cy","վիետնամերեն":"vi","տելուգու":"te","քրդերեն (քուրմանջի)":"ku","ֆիններեն":"fi","ֆրանսերեն":"fr","arabia":"ar","baski":"eu","burma":"my","englanti":"en","espanja":"es","haitinkreoli":"ht","heprea":"he","hollanti":"nl","iiri":"ga","islanti":"is","italia":"it","japani":"ja","katalaani":"ca","kiina (perinteinen)":"zh-tw","kiina (yksinkert.)":"zh-cn","kreikka":"el","kroatia":"hr","kurdi":"ku","kymri":"cy","liettua":"lt","makedonia":"mk","malaiji":"ms","norja":"nb","persia":"fa","portugali":"pt","puola":"pl","ranska":"fr","ruotsi":"sv","saksa":"de","skottigaeli":"gd","slovakia":"sk","suomi":"fi","tanska":"da","tsekki":"cs","turkki":"tr","ukraina":"uk","unkari":"hu","uzbekki":"uz","valkovenäjä":"be","venäjä":"ru","viro":"et","albaniera":"sq","alemana":"de","amharera":"am","arabiera":"ar","armeniera":"hy","azerbaijanera":"az","bielorrusiera":"be","birmaniera":"my","bulgariera":"bg","daniera":"da","errumaniera":"ro","errusiera":"ru","eskoziako gaelera":"gd","eslovakiera":"sk","esloveniera":"sl","esperantoa":"eo","estoniera":"et","euskara":"eu","frantsesa":"fr","gaelera":"cy","galiziera":"gl","gaztelania":"es","greziera":"el","hebreera":"he","hindia":"hi","hungariera":"hu","indonesiera":"id","ingelesa":"en","irlandera":"ga","islandiera":"is","italiera":"it","japoniera":"ja","katalana":"ca","koreera":"ko","kreolera (haiti)":"ht","kroaziera":"hr","kurduera":"ku","letoniera":"lv","lituaniera":"lt","malabarera":"ml","malaysiera":"ms","maltera":"mt","maoriera":"mi","marathera":"mr","mazedoniera":"mk","mongoliera":"mn","nederlandera":"nl","norvegiera":"nb","persiera":"fa","poloniera":"pl","portugesa":"pt","serbiera":"sr","suediera":"sv","suomiera":"fi","telugua":"te","thaiera":"th","turkiera":"tr","txekiera":"cs","txinera (soildua)":"zh-cn","txinera (tradizionala)":"zh-tw","ukrainera":"uk","uzbekera":"uz","vietnamera":"vi","zuluera":"zu","albanès":"sq","alemany":"de","amhàric":"am","anglès":"en","àrab":"ar","armeni":"hy","àzeri":"az","basc":"eu","bielorús":"be","birmà":"my","búlgar":"bg","castellà":"es","català":"ca","coreà":"ko","crioll d\'haití":"ht","croat":"hr","danès":"da","eslovac":"sk","eslovè":"sl","estonià":"et","finès":"fi","francès":"fr","gaèlic escocès":"gd","gallec":"gl","gal·lès":"cy","hebreu":"he","hongarès":"hu","indonesi":"id","irlandès":"ga","islandès":"is","italià":"it","japonès":"ja","letó":"lv","lituà":"lt","llatí":"la","macedònic":"mk","malai":"ms","malaiàlam":"ml","maltès":"mt","neerlandès":"nl","noruec":"nb","polonès":"pl","portuguès":"pt","romanès":"ro","serbi":"sr","suec":"sv","txec":"cs","ucraïnès":"uk","xinès (simplificat)":"zh-cn","xinès (tradicional)":"zh-tw","albāņu":"sq","amharu":"am","angļu":"en","arābu":"ar","armēņu":"hy","azerbaidžāņu":"az","baltkrievu":"be","basku":"eu","birmiešu":"my","bulgāru":"bg","čehu":"cs","dāņu":"da","ebreju (ivrits)":"he","franču":"fr","galisiešu":"gl","grieķu":"el","holandiešu":"nl","horvātu":"hr","igauņu":"et","indonēziešu":"id","īru":"ga","īslandiešu":"is","itāļu":"it","japāņu":"ja","katalāņu":"ca","korejiešu":"ko","kreolu (haiti)":"ht","krievu":"ru","kurdu":"ku","ķīniešu (tradicionālā)":"zh-tw","ķīniešu (vienkāršotā)":"zh-cn","latīņu":"la","latviešu":"lv","lietuviešu":"lt","maķedoniešu":"mk","malajalamiešu":"ml","malajiešu":"ms","maltiešu":"mt","maratu":"mr","mongoļu":"mn","norvēģu":"nb","persiešu":"fa","poļu":"pl","portugāļu":"pt","rumāņu":"ro","serbu":"sr","skotu gēlu":"gd","slovāku":"sk","slovēņu":"sl","somu":"fi","spāņu":"es","taju":"th","turku":"tr","ukraiņu":"uk","ungāru":"hu","uzbeku":"uz","vācu":"de","velsiešu":"cy","vjetnamiešu":"vi","zviedru":"sv","belarussia":"be","cek":"cs","china (aks. sederhana)":"zh-cn","china (aks. tradisional)":"zh-tw","finlandia":"fi","gaelig":"ga","gaelik skotlandia":"gd","galisia":"gl","inggris":"en","islan":"is","jepang":"ja","katala":"ca","lituania":"lt","polandia":"pl","prancis":"fr","rumania":"ro","swensk":"sv","yunani":"el","అజర్బైజాని":"az","అర్మేనియన్":"hy","అల్బేనియన్":"sq","ఆంగ్లము":"en","ఆమ్హారిక్":"am","ఆరబిక్":"ar","ఇండొనేసియన్":"id","ఇటాలియన్":"it","ఉజ్బెక్":"uz","ఎస్పెరాంటో":"eo","ఏస్టోనియన్":"et","ఐరిష్":"ga","ఐస్ లాండిక్":"is","కన్నడ":"kn","కర్డిష్":"ku","కొరియన్":"ko","క్యాటలాన్":"ca","క్రొయేషియన్":"hr","గాలిసియన్":"gl","గ్రీక్":"el","చెక్":"cs","చైనీస్ (సరళమైన)":"zh-cn","చైనీస్ (సామ్ప్రదాయమైన)":"zh-tw","జపనీస్":"ja","జర్మన్":"de","జులు":"zu","టర్కిష్":"tr","డచ్":"nl","డానిష్":"da","తెలుగు":"te","థాయ్":"th","నార్విజియన్":"nb","పర్షియన్":"fa","పోర్చుగీస్":"pt","పోలిష్":"pl","ఫిన్నిష్":"fi","ఫ్రెంచ్":"fr","బర్మీస్":"my","బల్గేరియన్":"bg","బాస్క్":"eu","బెలారుషియన్":"be","మంగోలియన్":"mn","మయోరి":"mi","మరాఠీ":"mr","మలయాళం":"ml","మాలై":"ms","మాల్టీస్":"mt","మాసిడోనియన్":"mk","యుక్రేనియన్":"uk","రష్యన్":"ru","రొమేనియన్":"ro","లాటిన్":"la","లాట్వియన్":"lv","లిథువేనియన్":"lt","వియత్నామీస్":"vi","వెల్ష్":"cy","సెర్బియన్":"sr","స్కాట్స్ గేలిక్":"gd","స్పానిష్":"es","స్లోవక్":"sk","స్లోవేనియన్":"sl","స్వీడిష్":"sv","హంగేరియన్":"hu","హిందీ":"hi","హీబ్రూ":"he","హైయేటియన్ క్రియోల్":"ht","amhárico":"am","azerí":"az","chino (simplificado)":"zh-cn","chino (tradicional)":"zh-tw","criollo haitiano":"ht","danés":"da","estonio":"et","euskera":"eu","finlandés":"fi","gallego":"gl","griego":"el","japonés":"ja","kurdo":"ku","malayo":"ms","noruego":"nb","rumano":"ro","uzbeco":"uz","albaania":"sq","amhaari":"am","araabia":"ar","armeenia":"hy","aserbaidžaani":"az","birma":"my","bulgaaria":"bg","eesti":"et","galeegi":"gl","haitikreooli":"ht","heebrea":"he","hispaania":"es","hollandi":"nl","horvaadi":"hr","indoneesia":"id","inglise":"en","islandi":"is","itaalia":"it","jaapani":"ja","kreeka":"el","ladina":"la","leedu":"lt","lihtsustatud hiina":"zh-cn","läti":"lv","makedoonia":"mk","malajalaami":"ml","maoori":"mi","mongoli":"mn","norra":"nb","poola":"pl","prantsuse":"fr","pärsia":"fa","rootsi":"sv","rumeenia":"ro","slovaki":"sk","sloveeni":"sl","soome":"fi","suulu":"zu","šoti":"gd","taani":"da","traditsiooniline hiina":"zh-tw","tšehhi":"cs","türgi":"tr","uelsi":"cy","ungari":"hu","usbeki":"uz","valgevene":"be","vene":"ru","albanyen":"sq","amenyen":"hy","anglè":"en","azèbajani":"az","belarisyen":"be","bilgaryen":"bg","chinwa (senp)":"zh-cn","chinwa (tradisyonèl)":"zh-tw","danwa":"da","ebre":"he","endonezyen":"id","endou":"hi","estonyen":"et","fenlandè":"fi","franse":"fr","gaelik ekosè":"gd","galisyen":"gl","grèk":"el","ikrenyen":"uk","ilandè":"ga","islandè":"is","italyen":"it","izbèk":"uz","japonè":"ja","koreyen":"ko","kreyòl ayisyen":"ht","kurde (kurmandji)":"ku","kwoasyen":"hr","laten":"la","letonyen":"lv","lityanyen":"lt","malè":"ms","malt":"mt","masedonyen":"mk","mongolyen":"mn","myanma (burmese)":"my","nòvejyen":"nb","olandè, neyèlandè":"nl","onngaryen":"hu","panyòl":"es","pèsyen":"fa","polonè":"pl","pòtigè":"pt","ris":"ru","romanyen":"ro","sèb":"sr","slovenyen":"sl","syedwa":"sv","tuk":"tr","tyèk":"cs","vyetnamyen":"vi","albaneg":"sq","almaeneg":"de","arabeg":"ar","armeneg":"hy","aserbaijaneg":"az","basgeg":"eu","belarwseg":"be","bwlgaraidd":"bg","catalaneg":"ca","creol haiti":"ht","croateg":"hr","cymraeg":"cy","cyrdeg (kurmandji)":"ku","daneg":"da","eidaleg":"it","estoneg":"et","fietnameg":"vi","ffineg":"fi","fflemeg":"nl","ffrangeg":"fr","gaeleg yr alban":"gd","galisaidd":"gl","groeg":"el","gwyddeleg":"ga","hebraeg":"he","hwngareg":"hu","iaith corea":"ko","indonesieg":"id","islandeg":"is","iwcraineg":"uk","japaneg":"ja","latfieg":"lv","lithwaneg":"lt","lladin":"la","macedoneg":"mk","malteseg":"mt","mongoleg":"mn","myanmar (byrma)":"my","norwyeg":"nb","perseg":"fa","portiwgaleg":"pt","pwyleg":"pl","rwmaneg":"ro","rwsieg":"ru","saesneg":"en","sbaeneg":"es","serbeg":"sr","slofac":"sk","slofenia":"sl","swedeg":"sv","swlw":"zu","tsieceg":"cs","tsieineeg (traddodiadol)":"zh-tw","tsieineeg (wedi symleiddio)":"zh-cn","twrceg":"tr","usbec":"uz","अंग्रेज़ी":"en","अज़रबैजानी":"az","अल्बेनियन":"sq","आइसलैंडिक":"is","आर्मेनियन":"hy","इटैलियन":"it","उज़्बेक":"uz","एस्तोनियन":"et","एस्पेरांटो":"eo","ऐम्हेरिक":"am","कन्नड़":"kn","कुर्दिश (करमंजी)":"ku","कैटेलन":"ca","गैलिशियन":"gl","चीनी (परंपरागत)":"zh-tw","चेक":"cs","जापानी":"ja","ज़ुलु":"zu","डैनिश":"da","तुर्क":"tr","तेलुगु":"te","पुर्तगाली":"pt","फ़िनिश":"fi","फ़्रेंच":"fr","बर्मी":"my","बुल्गारियन":"bg","बेलारूसीयन":"be","बैस्क":"eu","मलयालम":"ml","माऔरी":"mi","माल्टी":"mt","मेसीडोनियन":"mk","यूक्रेनियन":"uk","रूसी":"ru","रोमेनियन":"ro","लातवियन":"lv","लैटिन":"la","वियतनामी":"vi","सर्बियाई":"sr","स्पैनिश":"es","स्लोवाक":"sk","स्लोवेनियन":"sl","हंगरियन":"hu","हीब्रू":"he","हैतियन क्रिओल":"ht","阿尔巴尼亚语":"sq","阿拉伯语":"ar","阿姆哈拉语":"am","阿塞拜疆语":"az","爱尔兰语":"ga","爱沙尼亚语":"et","巴斯克语":"eu","白俄罗斯语":"be","保加利亚语":"bg","冰岛语":"is","波兰语":"pl","波斯语":"fa","丹麦语":"da","德语":"de","俄语":"ru","法语":"fr","芬兰语":"fi","海地克里奥尔语":"ht","韩语":"ko","荷兰语":"nl","加利西亚语":"gl","加泰罗尼亚语":"ca","捷克语":"cs","卡纳达语":"kn","克罗地亚语":"hr","库尔德语":"ku","拉丁语":"la","拉脱维亚语":"lv","立陶宛语":"lt","罗马尼亚语":"ro","马耳他语":"mt","马拉地语":"mr","马拉雅拉姆语":"ml","马来语":"ms","马其顿语":"mk","毛利语":"mi","蒙古语":"mn","缅甸语":"my","南非祖鲁语":"zu","挪威语":"nb","葡萄牙语":"pt","日语":"ja","瑞典语":"sv","塞尔维亚语":"sr","世界语":"eo","斯洛伐克语":"sk","斯洛文尼亚语":"sl","苏格兰盖尔语":"gd","泰卢固语":"te","泰语":"th","土耳其语":"tr","威尔士语":"cy","乌克兰语":"uk","乌兹别克语":"uz","西班牙语":"es","希伯来语":"he","希腊语":"el","匈牙利语":"hu","亚美尼亚语":"hy","意大利语":"it","印地语":"hi","印尼语":"id","英语":"en","越南语":"vi","中文(繁体)":"zh-tw","中文(简体)":"zh-cn","азербайджански":"az","английски":"en","арабски":"ar","арменски":"hy","баски":"eu","беларуски":"be","бирмански":"my","български":"bg","галисийски":"gl","гръцки":"el","датски":"da","индонезийски":"id","ирландски":"ga","испански":"es","италиански":"it","китайски (опростен)":"zh-cn","китайски (традиционен)":"zh-tw","корейски":"ko","кюрдски":"ku","латвийски":"lv","литовски":"lt","малайски":"ms","малтийски":"mt","немски":"de","нидерландски":"nl","норвежки":"nb","персийски":"fa","румънски":"ro","словашки":"sk","словенски":"sl","сръбски":"sr","тайландски":"th","уелски":"cy","узбекски":"uz","финландски":"fi","френски":"fr","хаитянски креолски":"ht","хърватски":"hr","шотландски келтски":"gd","японски":"ja","الآيسلندية":"is","الأذرية":"az","الارمنية":"hy","الإسبانية":"es","الاسبرانتو":"eo","الإستونية":"et","الاسكتلندية الغالية":"gd","الألبانية":"sq","الألمانية":"de","الأمهرية":"am","الإنجليزية":"en","الإندونيسية":"id","الأوزبكية":"uz","الأوكرانية":"uk","الأيرلندية":"ga","الإيطالية":"it","الباسكية":"eu","البرتغالية":"pt","البلغارية":"bg","البورمية":"my","البولندية":"pl","البيلاروسية":"be","التايلاندية":"th","التركية":"tr","التشيكية":"cs","التيلوجو":"te","الجاليكية":"gl","الدانماركية":"da","الروسية":"ru","الرومانية":"ro","الزولوية":"zu","السلوفاكية":"sk","السلوفينية":"sl","السويدية":"sv","الصربية":"sr","الصينية (التقليدية)":"zh-tw","الصينية (المبسطة)":"zh-cn","العبرية":"he","العربية":"ar","الفارسية":"fa","الفرنسية":"fr","الفنلندية":"fi","الفيتنامية":"vi","القطلونية":"ca","الكانادا":"kn","الكردية":"ku","الكرواتية":"hr","الكورية":"ko","اللاتفية":"lv","اللاتينية":"la","اللغة الكريولية الهايتية":"ht","الليتوانية":"lt","المالايالامية":"ml","المالطيّة":"mt","الماورية":"mi","المقدونية":"mk","الملايو":"ms","المنغولية":"mn","المهراتية":"mr","النرويجية":"nb","الهندية":"hi","الهنغارية":"hu","الهولندية":"nl","الويلزية":"cy","اليابانية":"ja","اليونانية":"el","баскијски":"eu","вијетнамски":"vi","галски":"gl","енглески":"en","индонежански":"id","јапански":"ja","јерменски":"hy","кинески (поједностављени)":"zh-cn","кинески (традиционални)":"zh-tw","креолски (хаити)":"ht","летонски":"lv","мађарски":"hu","марати":"mr","немачки":"de","персијски":"fa","пољски":"pl","румунски":"ro","словеначки":"sl","тајски":"th","украјински":"uk","азербайжан":"az","албани":"sq","амхарик":"am","англи":"en","араб":"ar","армени":"hy","баск":"eu","беларусь":"be","бирм":"my","болгар":"bg","вьетнам":"vi","гаити креол":"ht","галик":"gl","гаэл":"gd","герман":"de","голланд":"nl","грек":"el","дани":"da","индонези":"id","ирланд":"ga","исланд":"is","испани":"es","итали":"it","каталан":"ca","кипр":"he","курд":"ku","латви":"lv","латин":"la","литва":"lt","македон":"mk","малай":"ms","малайлам":"ml","малти":"mt","монгол":"mn","норвеги":"nb","орос":"ru","перс":"fa","польш":"pl","португаль":"pt","румын":"ro","серби":"sr","словак":"sk","словени":"sl","солонгос":"ko","тай":"th","турк":"tr","тэлүгү":"te","узбек":"uz","украин":"uk","унгар":"hu","уэльс":"cy","финлянд":"fi","франц":"fr","хорват":"hr","хятад (ердийн)":"zh-cn","хятад (уламжлалт)":"zh-tw","чех":"cs","швед":"sv","эстони":"et","япон":"ja","amhariska":"am","arabiska":"ar","armeniska":"hy","azerbajdzjanska":"az","baskiska":"eu","bulgariska":"bg","burmesiska":"my","engelska":"en","estniska":"et","finska":"fi","gaeliska":"gd","galiciska":"gl","grekiska":"el","haitiska":"ht","hebreiska":"he","indonesiska":"id","irländska":"ga","isländska":"is","italienska":"it","kanaresiska":"kn","katalanska":"ca","kinesiska (förenklad)":"zh-cn","kinesiska (traditionell)":"zh-tw","koreanska":"ko","kroatiska":"hr","kurdiska":"ku","lettiska":"lv","litauiska":"lt","makedonska":"mk","malaysiska":"ms","maltesiska":"mt","mongoliska":"mn","nederländska":"nl","persiska":"fa","polska":"pl","portugisiska":"pt","rumänska":"ro","ryska":"ru","serbiska":"sr","slovakiska":"sk","slovenska":"sl","spanska":"es","svenska":"sv","thailändska":"th","tjeckiska":"cs","turkiska":"tr","tyska":"de","ukrainska":"uk","ungerska":"hu","uzbekiska":"uz","vietnamesiska":"vi","vitryska":"be","walesiska":"cy","albaneză":"sq","amharică":"am","arabă":"ar","armeană":"hy","azerbaidjană":"az","bască":"eu","bielorusă":"be","birmană":"my","bulgară":"bg","catalană":"ca","cehă":"cs","chineză (simplificată)":"zh-cn","chineză (tradițională)":"zh-tw","coreeană":"ko","creolă haitiană":"ht","croată":"hr","daneză":"da","ebraică":"he","engleză":"en","estonă":"et","finlandeză":"fi","franceză":"fr","galeză":"cy","galica scoțiană":"gd","galiciană":"gl","germană":"de","greacă":"el","indoneziană":"id","irlandeză":"ga","islandeză":"is","italiană":"it","japoneză":"ja","kurdă":"ku","latină":"la","letonă":"lv","lituaniană":"lt","macedoneană":"mk","maghiară":"hu","malaeză":"ms","malteză":"mt","mongolă":"mn","neerlandeză":"nl","norvegiană":"nb","persană":"fa","poloneză":"pl","portugheză":"pt","română":"ro","rusă":"ru","sârbă":"sr","slovacă":"sk","slovenă":"sl","spaniolă":"es","suedeză":"sv","thailandeză":"th","turcă":"tr","ucraineană":"uk","uzbecă":"uz","vietnameză":"vi","airių":"ga","albanų":"sq","amharų":"am","anglų":"en","arabų":"ar","armėnų":"hy","azerbaidžaniečių":"az","baltarusių":"be","baskų":"eu","birmiečių":"my","bulgarų":"bg","čekų":"cs","danų":"da","estų":"et","galisų":"gl","graikų":"el","haičio kreolų":"ht","hebrajų":"he","indoneziečių":"id","islandų":"is","ispanų":"es","italų":"it","japonų":"ja","kanadų":"kn","kataloniečių":"ca","kinų (supaprastinta)":"zh-cn","kinų (tradicinė)":"zh-tw","korėjiečių":"ko","kroatų":"hr","kurdų":"ku","latvių":"lv","lenkų":"pl","lietuvių":"lt","lotynų":"la","makedoniečių":"mk","malajalių":"ml","malajiečių":"ms","maltiečių":"mt","maorių":"mi","maratų":"mr","mongolų":"mn","norvegų":"nb","olandų":"nl","persų":"fa","portugalų":"pt","prancūzų":"fr","rumunų":"ro","rusų":"ru","serbų":"sr","slovakų":"sk","slovėnų":"sl","suomių":"fi","škotų (gėlų)":"gd","švedų":"sv","tajų":"th","telugų":"te","turkų":"tr","ukrainiečių":"uk","uzbekų":"uz","valų":"cy","vengrų":"hu","vietnamiečių":"vi","vokiečių":"de","zulusų":"zu","갈리시아어":"gl","그리스어":"el","네덜란드어":"nl","노르웨이어":"nb","덴마크어":"da","독일어":"de","라트비아어":"lv","라틴어":"la","러시아어":"ru","루마니아어":"ro","리투아니아어":"lt","마라티어":"mr","마오리어":"mi","마케도니아어":"mk","말라얄람어":"ml","말레이어":"ms","몰타어":"mt","몽골어":"mn","미얀마어 (버마어)":"my","바스크어":"eu","베트남어":"vi","벨라루스어":"be","불가리아어":"bg","세르비아어":"sr","스웨덴어":"sv","스코틀랜드 게일어":"gd","스페인어":"es","슬로바키아어":"sk","슬로베니아어":"sl","아랍어":"ar","아르메니아어":"hy","아이슬란드어":"is","아이티 크리올어":"ht","아일랜드어":"ga","아제르바이잔어":"az","알바니아어":"sq","암하라어":"am","에스토니아어":"et","에스페란토어":"eo","영어":"en","우즈베크어":"uz","우크라이나어":"uk","웨일즈어":"cy","이탈리아어":"it","인도네시아어":"id","일본어":"ja","줄루어":"zu","중국어(간체)":"zh-cn","중국어(번체)":"zh-tw","체코어":"cs","카탈로니아어":"ca","칸나다어":"kn","쿠르드어":"ku","크로아티아어":"hr","태국어":"th","터키어":"tr","텔루구어":"te","페르시아어":"fa","포르투갈어":"pt","폴란드어":"pl","프랑스어":"fr","핀란드어":"fi","한국어":"ko","헝가리어":"hu","히브리어":"he","힌디어":"hi","albanese":"sq","amarico":"am","arabo":"ar","armeno":"hy","azero":"az","bielorusso":"be","bulgaro":"bg","catalano":"ca","ceco":"cs","cinese (semplificato)":"zh-cn","cinese (tradizionale)":"zh-tw","creolo haitiano":"ht","croato":"hr","curdo (kurmanji)":"ku","danese":"da","ebraico":"he","estone":"et","finlandese":"fi","francese":"fr","gaelico scozzese":"gd","galiziano":"gl","gallese":"cy","giapponese":"ja","greco":"el","indonesiano":"id","inglese":"en","irlandese":"ga","islandese":"is","latino":"la","lettone":"lv","macedone":"mk","malese":"ms","mongolo":"mn","norvegese":"nb","olandese":"nl","persiano":"fa","polacco":"pl","portoghese":"pt","rumeno":"ro","serbo":"sr","slovacco":"sk","sloveno":"sl","spagnolo":"es","svedese":"sv","tailandese":"th","tedesco":"de","ucraino":"uk","ungherese":"hu","quốc tế ngữ":"eo","tiếng ả rập":"ar","tiếng albania":"sq","tiếng amharic":"am","tiếng anh":"en","tiếng armenia":"hy","tiếng azerbaijan":"az","tiếng ba lan":"pl","tiếng ba tư":"fa","tiếng basque":"eu","tiếng belarus":"be","tiếng bồ đào nha":"pt","tiếng bulgaria":"bg","tiếng catalan":"ca","tiếng creole ở haiti":"ht","tiếng croatia":"hr","tiếng do thái":"he","tiếng đan mạch":"da","tiếng đức":"de","tiếng estonia":"et","tiếng gael scotland":"gd","tiếng galicia":"gl","tiếng hà lan":"nl","tiếng hàn":"ko","tiếng hindi":"hi","tiếng hungary":"hu","tiếng hy lạp":"el","tiếng iceland":"is","tiếng indonesia":"id","tiếng ireland":"ga","tiếng kannada":"kn","tiếng kurd":"ku","tiếng latinh":"la","tiếng latvia":"lv","tiếng litva":"lt","tiếng mã lai":"ms","tiếng macedonia":"mk","tiếng malayalam":"ml","tiếng malta":"mt","tiếng maori":"mi","tiếng marathi":"mr","tiếng mông cổ":"mn","tiếng myanmar":"my","tiếng na uy":"nb","tiếng nga":"ru","tiếng nhật":"ja","tiếng pháp":"fr","tiếng phần lan":"fi","tiếng rumani":"ro","tiếng séc":"cs","tiếng serbia":"sr","tiếng slovak":"sk","tiếng slovenia":"sl","tiếng tây ban nha":"es","tiếng telugu":"te","tiếng thái":"th","tiếng thổ nhĩ kỳ":"tr","tiếng thụy điển":"sv","tiếng trung (giản thể)":"zh-cn","tiếng trung (phồn thể)":"zh-tw","tiếng ukraina":"uk","tiếng uzbek":"uz","tiếng việt":"vi","tiếng xứ wales":"cy","tiếng ý":"it","tiếng zulu":"zu","にほんご":"ja"},"scratchToGoogleMap":{"zh-cn":"zh","nb":"no","he":"iw","es-419":"es","pt-br":"pt","ja-hira":"ja"},"previouslySupported":["ab","ms","be","eo","hy","hi","kn","ht","ku","la","mk","ml","mt","mr","mn","my","nn","sq","te","uz"],"spokenLanguages":{"en":[{"code":"zh-cn","name":"Chinese (Mandarin)"}],"cy":[{"code":"zh-cn","name":"Tsieineaidd (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portiwgaleg (Brasil)"},{"code":"es-419","name":"Sbaeneg (America Ladin)"}],"zu":[{"code":"zh-cn","name":"IsiShayina (isiMandarin)"},{"code":"hi","name":"IsiHindi"},{"code":"pt-br","name":"IsiPutukezi (saseBrazil)"},{"code":"es-419","name":"ISpanishi (Latin American)"}],"ko":[{"code":"zh-cn","name":"중국어 (북경어)"},{"code":"hi","name":"힌디 어"},{"code":"pt-br","name":"포르투갈어 (브라질)"},{"code":"es-419","name":"스페인어 (라틴 아메리카)"}],"az":[{"code":"zh-cn","name":"Çin (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portuqal (Braziliya)"},{"code":"es-419","name":"İspan (Latın Amerikası)"}],"he":[{"code":"zh-cn","name":"סינית (מנדרינית)"},{"code":"hi","name":"הינדי"},{"code":"pt-br","name":"פורטוגזית (ברזילאית)"},{"code":"es-419","name":"ספרדית (אמריקה הלטינית)"}],"mk":[{"code":"zh-cn","name":"Кинески (мандарински)"},{"code":"hi","name":"Хинди"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Шпански (Латинска Америка)"}],"am":[{"code":"zh-cn","name":"ቻይንኛ (ማንዳሪን)"},{"code":"hi","name":"ሂንዲ"},{"code":"pt-br","name":"ፖርቱጋልኛ (ብራዚላዊ)"},{"code":"es-419","name":"ስፓኒሽ (ላቲን አሜሪካ)"}],"mr":[{"code":"zh-cn","name":"चीनी (मंदारिन)"},{"code":"hi","name":"हिंदी"},{"code":"pt-br","name":"पोर्तुगीज (ब्राझिलियन)"},{"code":"es-419","name":"स्पॅनिश (लॅटिन अमेरिकन)"}],"cs":[{"code":"zh-cn","name":"Čínština (mandarinka)"},{"code":"hi","name":"hindština"},{"code":"pt-br","name":"Portugalština (brazilská)"},{"code":"es-419","name":"Španělština (latinskoamerická)"}],"zh-cn":[{"code":"zh-cn","name":"中文"},{"code":"hi","name":"印地语"},{"code":"pt-br","name":"葡萄牙语(巴西)"},{"code":"es-419","name":"西班牙语(拉丁美洲)"}],"la":[{"code":"zh-cn","name":"Seres (Latin)"},{"code":"hi","name":"Hibernica"},{"code":"pt-br","name":"Portuguese (Spanish)"},{"code":"es-419","name":"Hispanica (Latin American)"}],"nn":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"my":[{"code":"zh-cn","name":"တရုတ် (တရုတ်)"},{"code":"hi","name":"ဟိန္ဒီ"},{"code":"pt-br","name":"ပေါ်တူဂီ (ဘရာဇီး)"},{"code":"es-419","name":"စပိန်ဘာသာစကား (လက်တင်အမေရိက)"}],"ga":[{"code":"zh-cn","name":"Sínis (Mandairínis)"},{"code":"hi","name":"Hiondúis"},{"code":"pt-br","name":"Portaingéilis (Brasaíle)"},{"code":"es-419","name":"Spáinnis (Meiriceá Laidineach)"}],"es":[{"code":"zh-cn","name":"Chino (Mandarín)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugués (brasileño)"},{"code":"es-419","name":"Español (latinoamericano)"}],"nl":[{"code":"zh-cn","name":"Chinees (Mandarijn)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugees (Braziliaans)"},{"code":"es-419","name":"Spaans (Latijns-Amerikaans)"}],"zh-tw":[{"code":"zh-cn","name":"中文"},{"code":"hi","name":"印地語"},{"code":"pt-br","name":"葡萄牙語(巴西)"},{"code":"es-419","name":"西班牙語(拉丁美洲)"}],"pt-br":[{"code":"zh-cn","name":"Mandarim (chinês)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Português (brasileiro)"},{"code":"es-419","name":"Espanhol (latino-americano)"}],"kn":[{"code":"zh-cn","name":"ಚೈನೀಸ್ (ಮ್ಯಾಂಡರಿನ್)"},{"code":"hi","name":"ಹಿಂದಿ"},{"code":"pt-br","name":"ಪೋರ್ಚುಗೀಸ್ (ಬ್ರೆಜಿಲಿಯನ್)"},{"code":"es-419","name":"ಸ್ಪ್ಯಾನಿಷ್ (ಲ್ಯಾಟಿನ್ ಅಮೇರಿಕನ್)"}],"uz":[{"code":"zh-cn","name":"Xitoy (Mandarin)"},{"code":"hi","name":"Hindcha"},{"code":"pt-br","name":"Portugal (Braziliya)"},{"code":"es-419","name":"Ispan (Lotin Amerikasi)"}],"ja":[{"code":"zh-cn","name":"中国語(標準語)"},{"code":"hi","name":"ヒンディー語"},{"code":"pt-br","name":"ポルトガル語(ブラジル)"},{"code":"es-419","name":"スペイン語(ラテンアメリカ)"}],"is":[{"code":"zh-cn","name":"Kínverska (Mandarin)"},{"code":"hi","name":"Hindí"},{"code":"pt-br","name":"Portúgalska (brasilíska)"},{"code":"es-419","name":"Spænska (rómönsku-ameríska)"}],"sk":[{"code":"zh-cn","name":"Čínština (mandarínska)"},{"code":"hi","name":"hindčina"},{"code":"pt-br","name":"Portugalčina (brazílska)"},{"code":"es-419","name":"Španielčina (latinskoamerická)"}],"ht":[{"code":"zh-cn","name":"Chinwa (Mandaren)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Pòtigè (brezilyen)"},{"code":"es-419","name":"Panyòl (Amerik Latin)"}],"bg":[{"code":"zh-cn","name":"Китайски (мандарин)"},{"code":"hi","name":"хинди"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Испански (латиноамерикански)"}],"de":[{"code":"zh-cn","name":"Chinesisch (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugiesisch (brasilianisch)"},{"code":"es-419","name":"Spanisch (Lateinamerikanisch)"}],"gd":[{"code":"zh-cn","name":"Sìneach (Mandarin)"},{"code":"hi","name":"Indeach"},{"code":"pt-br","name":"Portuguese (Brazilian)"},{"code":"es-419","name":"Spàinntis (Ameireagaidh Laidinn)"}],"et":[{"code":"zh-cn","name":"Hiina (mandariini)"},{"code":"hi","name":"Hindi keel"},{"code":"pt-br","name":"Portugali (Brasiilia)"},{"code":"es-419","name":"Hispaania keel (Ladina-Ameerika)"}],"fi":[{"code":"zh-cn","name":"Kiina (mandariini)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugali (brasilia)"},{"code":"es-419","name":"Espanja (Latinalainen Amerikka)"}],"ar":[{"code":"zh-cn","name":"الصينية (الماندرين)"},{"code":"hi","name":"الهندية"},{"code":"pt-br","name":"البرتغالية (البرازيلية)"},{"code":"es-419","name":"الإسبانية (أمريكا اللاتينية)"}],"hu":[{"code":"zh-cn","name":"Kínai (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugál (brazil)"},{"code":"es-419","name":"Spanyol (latin-amerikai)"}],"mt":[{"code":"zh-cn","name":"Ċiniż (Mandarin)"},{"code":"hi","name":"Ħindi"},{"code":"pt-br","name":"Portugiż (Brażiljan)"},{"code":"es-419","name":"Spanjol (Latin-Amerikan)"}],"ro":[{"code":"zh-cn","name":"Chineză (mandarină)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugheză (braziliană)"},{"code":"es-419","name":"Spaniolă (latino-americană)"}],"fa":[{"code":"zh-cn","name":"چینی (ماندارین)"},{"code":"hi","name":"هندی"},{"code":"pt-br","name":"پرتغالی (برزیلی)"},{"code":"es-419","name":"اسپانیایی (آمریکای لاتین)"}],"hi":[{"code":"zh-cn","name":"चीनी (मंदारिन)"},{"code":"hi","name":"हिन्दी"},{"code":"pt-br","name":"पुर्तगाली (ब्राजील)"},{"code":"es-419","name":"स्पेनिश (लैटिन अमेरिकी)"}],"eo":[{"code":"zh-cn","name":"Ĉina (mandarena)"},{"code":"hi","name":"Hinda"},{"code":"pt-br","name":"Portugala (brazila)"},{"code":"es-419","name":"Hispana (latina)"}],"lt":[{"code":"zh-cn","name":"Kinų (mandarinų)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugalų (Brazilijos)"},{"code":"es-419","name":"Ispanų (Lotynų Amerikos)"}],"it":[{"code":"zh-cn","name":"Cinese (mandarino)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portoghese (brasiliano)"},{"code":"es-419","name":"Spagnolo (latino-americano)"}],"el":[{"code":"zh-cn","name":"Κινέζικα (μανταρινικά)"},{"code":"hi","name":"Χίντι"},{"code":"pt-br","name":"Πορτογαλικά (Βραζιλίας)"},{"code":"es-419","name":"Ισπανικά (Λατινικής Αμερικής)"}],"mi":[{"code":"zh-cn","name":"Hainamana (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Potukua (Brazil)"},{"code":"es-419","name":"Pāniora (Latin American)"}],"hr":[{"code":"zh-cn","name":"Kineski (mandarinski)"},{"code":"hi","name":"hindski"},{"code":"pt-br","name":"Portugalski (brazilski)"},{"code":"es-419","name":"Španjolski (latinoamerički)"}],"ca":[{"code":"zh-cn","name":"Xinès (mandarí)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portuguès (brasiler)"},{"code":"es-419","name":"Espanyol (llatinoamericà)"}],"th":[{"code":"zh-cn","name":"จีน (แมนดาริน)"},{"code":"hi","name":"ภาษาฮินดี"},{"code":"pt-br","name":"โปรตุเกส (บราซิล)"},{"code":"es-419","name":"สเปน (ละตินอเมริกา)"}],"hy":[{"code":"zh-cn","name":"Չինարեն (մանդարին)"},{"code":"hi","name":"Հինդի"},{"code":"pt-br","name":"Պորտուգալերեն (բրազիլական)"},{"code":"es-419","name":"Իսպաներեն (լատինաամերիկյան)"}],"id":[{"code":"zh-cn","name":"Mandarin (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugis (Brasil)"},{"code":"es-419","name":"Spanyol (Amerika Latin)"}],"eu":[{"code":"zh-cn","name":"Txinera (mandarina)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugesa (brasildarra)"},{"code":"es-419","name":"Espainiera (latinoamerikarra)"}],"da":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"ru":[{"code":"zh-cn","name":"Китайский (мандарин)"},{"code":"hi","name":"хинди"},{"code":"pt-br","name":"Португальский (бразильский)"},{"code":"es-419","name":"Испанский (латиноамериканский)"}],"sr":[{"code":"zh-cn","name":"Кинески (мандарински)"},{"code":"hi","name":"Хиндски"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Шпански (латиноамерички)"}],"gl":[{"code":"zh-cn","name":"Chinés (mandarín)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugués (brasileiro)"},{"code":"es-419","name":"Español (latinoamericano)"}],"lv":[{"code":"zh-cn","name":"Ķīniešu (mandarīnu)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugāļu (Brazīlijas)"},{"code":"es-419","name":"Spāņu (latīņamerikāņu)"}],"nb":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"tr":[{"code":"zh-cn","name":"Çin (mandalinası)"},{"code":"hi","name":"Hintçe"},{"code":"pt-br","name":"Portekizce (Brezilya)"},{"code":"es-419","name":"İspanyolca (Latin Amerika)"}],"fr":[{"code":"zh-cn","name":"Mandarin (chinois)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugais (brésilien)"},{"code":"es-419","name":"Espagnol (latino-américain)"}],"sv":[{"code":"zh-cn","name":"Kinesiska (mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugisiska (brasilianska)"},{"code":"es-419","name":"Spanska (latinamerikanska)"}],"sl":[{"code":"zh-cn","name":"Kitajščina (mandarina)"},{"code":"hi","name":"Hindujščina"},{"code":"pt-br","name":"Portugalščina (brazilska)"},{"code":"es-419","name":"Španščina (latinskoameriška)"}],"ml":[{"code":"zh-cn","name":"ചൈനീസ് (മന്ദാരിൻ)"},{"code":"hi","name":"ഹിന്ദി"},{"code":"pt-br","name":"പോർച്ചുഗീസ് (ബ്രസീൽ)"},{"code":"es-419","name":"സ്പാനിഷ് (ലാറ്റിൻ അമേരിക്കൻ)"}],"be":[{"code":"zh-cn","name":"Кітайская (мандарын)"},{"code":"hi","name":"Хіндзі"},{"code":"pt-br","name":"Партугальская (бразільскі)"},{"code":"es-419","name":"Іспанская (лацінаамерыканская)"}],"pl":[{"code":"zh-cn","name":"Chiński (mandaryński)"},{"code":"hi","name":"hinduski"},{"code":"pt-br","name":"Portugalski (brazylijski)"},{"code":"es-419","name":"Hiszpański (latynoamerykański)"}],"pt":[{"code":"zh-cn","name":"Mandarim (chinês)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Português (brasileiro)"},{"code":"es-419","name":"Espanhol (latino-americano)"}],"ku":[{"code":"zh-cn","name":"Chinese (Mandarin)"},{"code":"hi","name":"Hindî"},{"code":"pt-br","name":"Portekîz (Brazilian)"},{"code":"es-419","name":"Spanish (Amerîkaya Latîn)"}],"sq":[{"code":"zh-cn","name":"Kinezisht (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugeze (Braziliane)"},{"code":"es-419","name":"Spanjisht (Amerika Latine)"}],"ms":[{"code":"zh-cn","name":"Cina (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugis (Brazil)"},{"code":"es-419","name":"Sepanyol (Amerika Latin)"}],"vi":[{"code":"zh-cn","name":"Tiếng trung quốc"},{"code":"hi","name":"Tiếng Hindi"},{"code":"pt-br","name":"Bồ Đào Nha (Brazil)"},{"code":"es-419","name":"Tây Ban Nha (Mỹ Latinh)"}],"te":[{"code":"zh-cn","name":"చైనీస్ (మాండరిన్)"},{"code":"hi","name":"హిందీ"},{"code":"pt-br","name":"పోర్చుగీస్ (బ్రెజిలియన్)"},{"code":"es-419","name":"స్పానిష్ (లాటిన్ అమెరికన్)"}],"uk":[{"code":"zh-cn","name":"Китайська (мандарин)"},{"code":"hi","name":"Хінді"},{"code":"pt-br","name":"Португальська (бразильська)"},{"code":"es-419","name":"Іспанська (латиноамериканська)"}],"mn":[{"code":"zh-cn","name":"Хятад хэл (Мандарин)"},{"code":"hi","name":"Хинди хэл"},{"code":"pt-br","name":"Португал хэл (Бразил)"},{"code":"es-419","name":"Испани хэл (Латин Америк)"}],"es-419":[{"code":"zh-cn","name":"Chino (Mandarín)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugués (brasileño)"},{"code":"es-419","name":"Español (latinoamericano)"}],"ja-hira":[{"code":"zh-cn","name":"中国語(標準語)"},{"code":"hi","name":"ヒンディー語"},{"code":"pt-br","name":"ポルトガル語(ブラジル)"},{"code":"es-419","name":"スペイン語(ラテンアメリカ)"}]}}')},function(e,A){e.exports=function(e,A,t){var o=null,n=window.AbortController?new window.AbortController:null,a=n?n.signal:null;return Promise.race([fetch(e,Object.assign({signal:a},A)).then(function(e){return clearTimeout(o),e}),new Promise(function(e,A){o=setTimeout(function(){n&&n.abort(),A(new Error("Fetch timed out after ".concat(t," ms")))},t)})])}},function(e,A,t){const o=t(1164),n=t(1165),{default:a}=t(1166),r=t(1172),s=t(474);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){function o(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,n,a=[],i=!0,r=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!A||a.length!==A);i=!0);}catch(e){r=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(r)throw n}}return a}(e,A)||r(e,A)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=r(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(s)throw a}}}}function r(e,A){if(e){if("string"==typeof e)return s(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,A):void 0}}function s(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function l(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,A){return(u=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function c(e){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var t,o=d(e);if(A){var n=d(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return function(e,A){if(A&&("object"===a(A)||"function"==typeof A))return A;return g(e)}(this,t)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B=t(99),h=t(189).OrderedMap,E=t(61),m=t(148),p=t(466),C=t(47),w=t(1175),f=t(1176),I=t(476),Q=t(1178),M=t(457),y=t(239),b=t(39),T=t(455),S=t(126),D=t(125),k=t(236),N=t(1179),R=t(1180),F=t(1181),O=t(1182),Y=t(1183),v=t(1184),U=t(1185),G=t(477),_=t(109),L=t(100),x={scratch3_control:t(1186),scratch3_event:t(1187),scratch3_looks:t(1188),scratch3_motion:t(1189),scratch3_operators:t(1190),scratch3_sound:t(1191),scratch3_sensing:t(1192),scratch3_data:t(1193),scratch3_procedures:t(1194),scratch3_mv2:t(471)},H=["#0FBD8C","#0DA57A","#0B8E69"],P=function(){var e={};return e[E.ANGLE]={shadow:{type:"math_angle",fieldName:"NUM"}},e[E.COLOR]={shadow:{type:"colour_picker",fieldName:"COLOUR"}},e[E.NUMBER]={shadow:{type:"math_number",fieldName:"NUM"}},e[E.STRING]={shadow:{type:"text",fieldName:"TEXT"}},e[E.BOOLEAN]={check:"Boolean"},e[E.MATRIX]={shadow:{type:"matrix",fieldName:"MATRIX"}},e[E.NOTE]={shadow:{type:"note",fieldName:"NOTE"}},e[E.IMAGE]={fieldType:"field_image"},e}(),j=function(){var e=0;return{canAddCloudVariable:function(){return e<10},addCloudVariable:function(){e++},removeCloudVariable:function(){e--},hasCloudVariables:function(){return e>0}}},J=-1,z=-1,W=-1,K=function(e){!function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),A&&u(e,A)}(t,B);var A=c(t);function t(){var e;!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),(e=A.call(this)).targets=[],e.executableTargets=[],e.threads=[],e.sequencer=new f(g(e)),e.flyoutBlocks=new m(g(e),!0),e.monitorBlocks=new m(g(e),!0),e._editingTarget=null,e._primitives={},e._blockInfo=[],e._hats={},e._scriptGlowsPreviousFrame=[],e._nonMonitorThreadCount=0,e._lastStepDoneThreads=null,e._cloneCounter=0,e._refreshTargets=!1,e.monitorBlockInfo={},e._monitorState=h({}),e._prevMonitorState=h({}),e.turboMode=!1,e.compatibilityMode=!1,e._steppingInterval=null,e.currentStepTime=null,e.updateCurrentMSecs(),e.redrawRequested=!1,e._registerBlockPackages(),e.ioDevices={clock:new R(g(e)),cloud:new F(g(e)),keyboard:new O(g(e)),mouse:new Y(g(e)),mouseWheel:new v(g(e)),userData:new U,video:new G(g(e))},e.peripheralExtensions={},e.profiler=null;var o=j();return e.hasCloudData=o.hasCloudVariables,e.canAddCloudVariable=o.canAddCloudVariable,e.addCloudVariable=e._initializeAddCloudVariable(o),e.removeCloudVariable=e._initializeRemoveCloudVariable(o),e.origin=null,e}return function(e,A,t){A&&l(e.prototype,A),t&&l(e,t)}(t,[{key:"_initializeAddCloudVariable",value:function(e){var A=this;return function(){var o=A.hasCloudData();e.addCloudVariable(),!o&&A.hasCloudData()&&A.emit(t.HAS_CLOUD_DATA_UPDATE,!0)}}},{key:"_initializeRemoveCloudVariable",value:function(e){var A=this;return function(){var o=A.hasCloudData();e.removeCloudVariable(),o&&!A.hasCloudData()&&A.emit(t.HAS_CLOUD_DATA_UPDATE,!1)}}},{key:"_registerBlockPackages",value:function(){for(var e in x)if(x.hasOwnProperty(e)){var A=new x[e](this);if(A.getPrimitives){var t=A.getPrimitives();for(var o in t)t.hasOwnProperty(o)&&(this._primitives[o]=t[o].bind(A))}if(A.getHats){var n=A.getHats();for(var a in n)n.hasOwnProperty(a)&&(this._hats[a]=n[a])}A.getMonitored&&(this.monitorBlockInfo=Object.assign({},this.monitorBlockInfo,A.getMonitored()))}}},{key:"getMonitorState",value:function(){return this._monitorState}},{key:"_makeExtensionMenuId",value:function(e,A){return"".concat(A,"_menu_").concat(k(e))}},{key:"makeMessageContextForTarget",value:function(e){(e=e||this.getEditingTarget()||this.getTargetForStage())&&(e.isStage?M.STAGE:M.SPRITE)}},{key:"_registerExtensionPrimitives",value:function(e){var A={id:e.id,name:T(e.name),showStatusButton:e.showStatusButton,blockIconURI:e.blockIconURI,menuIconURI:e.menuIconURI};for(var o in e.color1?(A.color1=e.color1,A.color2=e.color2,A.color3=e.color3):(A.color1=H[0],A.color2=H[1],A.color3=H[2]),this._blockInfo.push(A),this._fillExtensionCategory(A,e),A.customFieldTypes)if(e.customFieldTypes.hasOwnProperty(o)){var n=A.customFieldTypes[o];this.emit(t.EXTENSION_FIELD_ADDED,{name:"field_".concat(n.extendedName),implementation:n.fieldImplementation})}this.emit(t.EXTENSION_ADDED,A)}},{key:"_refreshExtensionPrimitives",value:function(e){var A=this._blockInfo.find(function(A){return A.id===e.id});A&&(A.name=T(e.name),this._fillExtensionCategory(A,e),this.emit(t.BLOCKSINFO_UPDATE,A))}},{key:"_fillExtensionCategory",value:function(e,A){for(var t in e.blocks=[],e.customFieldTypes={},e.menus=[],e.menuInfo={},A.menus)if(A.menus.hasOwnProperty(t)){var o=A.menus[t],n=this._buildMenuForScratchBlocks(t,o,e);e.menus.push(n),e.menuInfo[t]=o}for(var a in A.customFieldTypes)if(A.customFieldTypes.hasOwnProperty(a)){var r=A.customFieldTypes[a],s=this._buildCustomFieldInfo(a,r,A.id,e);e.customFieldTypes[a]=s}var l,u=i(A.blocks);try{for(u.s();!(l=u.n()).done;){var c=l.value;try{var g=this._convertForScratchBlocks(c,e);if(e.blocks.push(g),g.json){var d=g.json.type;c.blockType!==C.EVENT&&(this._primitives[d]=g.info.func),c.blockType!==C.EVENT&&c.blockType!==C.HAT||(this._hats[d]={edgeActivated:c.isEdgeActivated,restartExistingThreads:c.shouldRestartExistingThreads})}}catch(e){b.error("Error parsing block: ",{block:c,error:e})}}}catch(e){u.e(e)}finally{u.f()}}},{key:"_convertMenuItems",value:function(e){if("function"!=typeof e){var A=this.makeMessageContextForTarget();return e.map(function(e){var t=T(e,A);switch(a(t)){case"string":return[t,t];case"object":return[T(e.text,A),e.value];default:throw new Error("Can't interpret menu item: ".concat(JSON.stringify(e)))}})}return e}},{key:"_buildMenuForScratchBlocks",value:function(e,A,t){var o=this._makeExtensionMenuId(e,t.id),n=this._convertMenuItems(A.items);return{json:{message0:"%1",type:o,inputsInline:!0,output:"String",colour:t.color1,colourSecondary:t.color2,colourTertiary:t.color3,outputShape:A.acceptReporters?Q.OUTPUT_SHAPE_ROUND:Q.OUTPUT_SHAPE_SQUARE,args0:[{type:"field_dropdown",name:e,options:n}]}}}},{key:"_buildCustomFieldInfo",value:function(e,A,t,o){var n="".concat(t,"_").concat(e);return{fieldName:e,extendedName:n,argumentTypeInfo:{shadow:{type:n,fieldName:"field_".concat(n)}},scratchBlocksDefinition:this._buildCustomFieldTypeForScratchBlocks(n,A.output,A.outputShape,o),fieldImplementation:A.implementation}}},{key:"_buildCustomFieldTypeForScratchBlocks",value:function(e,A,t,o){return{json:{type:e,message0:"%1",inputsInline:!0,output:A,colour:o.color1,colourSecondary:o.color2,colourTertiary:o.color3,outputShape:t,args0:[{name:"field_".concat(e),type:"field_".concat(e)}]}}}},{key:"_convertForScratchBlocks",value:function(e,A){return"---"===e?this._convertSeparatorForScratchBlocks(e):e.blockType===C.BUTTON?this._convertButtonForScratchBlocks(e):this._convertBlockForScratchBlocks(e,A)}},{key:"_convertBlockForScratchBlocks",value:function(e,A){var t="".concat(A.id,"_").concat(e.opcode),o={type:t,inputsInline:!0,category:A.name,colour:A.color1,colourSecondary:A.color2,colourTertiary:A.color3},n={argsMap:{},blockJSON:o,categoryInfo:A,blockInfo:e,inputList:[]},a=e.blockIconURI||A.blockIconURI;if(a){o.extensions=["scratch_extension"],o.message0="%1 %2";var i={type:"field_image",src:a,width:40,height:40};o.args0=[i,{type:"field_vertical_separator"}]}switch(e.blockType){case C.COMMAND:o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.previousStatement=null,e.isTerminal||(o.nextStatement=null);break;case C.REPORTER:o.output="String",o.outputShape=Q.OUTPUT_SHAPE_ROUND;break;case C.BOOLEAN:o.output="Boolean",o.outputShape=Q.OUTPUT_SHAPE_HEXAGONAL;break;case C.HAT:case C.EVENT:e.hasOwnProperty("isEdgeActivated")||(e.isEdgeActivated=!0),o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.nextStatement=null;break;case C.CONDITIONAL:case C.LOOP:e.branchCount=e.branchCount||1,o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.previousStatement=null,e.isTerminal||(o.nextStatement=null)}for(var r=Array.isArray(e.text)?e.text:[e.text],s=0,l=0,u=0,c=this._convertPlaceholders.bind(this,n),g=this.makeMessageContextForTarget();s<r.length||l<e.branchCount;){if(s<r.length){n.outLineNum=u;var d=T(r[s],g).replace(/\[(.+?)]/g,c);o["message".concat(u)]?o["message".concat(u)]+=d:o["message".concat(u)]=d,++s,++u}l<e.branchCount&&(o["message".concat(u)]="%1",o["args".concat(u)]=[{type:"input_statement",name:"SUBSTACK".concat(l>0?l+1:"")}],++l,++u)}e.blockType===C.REPORTER?e.disableMonitor||0!==n.inputList.length||(o.checkboxInFlyout=!0):e.blockType===C.LOOP&&(o["lastDummyAlign".concat(u)]="RIGHT",o["message".concat(u)]="%1",o["args".concat(u)]=[{type:"field_image",src:"./static/blocks-media/repeat.svg",width:24,height:24,alt:"*",flip_rtl:!0}],++u);var B=e.isDynamic?'<mutation blockInfo="'.concat(k(JSON.stringify(e)),'"/>'):"",h=n.inputList.join(""),E='<block type="'.concat(t,'">').concat(B).concat(h,"</block>");return{info:n.blockInfo,json:n.blockJSON,xml:E}}},{key:"_convertSeparatorForScratchBlocks",value:function(e){return{info:e,xml:'<sep gap="36"/>'}}},{key:"_convertButtonForScratchBlocks",value:function(e){["MAKE_A_LIST","MAKE_A_PROCEDURE","MAKE_A_VARIABLE"].indexOf(e.func)<0&&b.error("Custom button callbacks not supported yet: ".concat(e.func));var A=this.makeMessageContextForTarget(),t=T(e.text,A);return{info:e,xml:'<button text="'.concat(t,'" callbackKey="').concat(e.func,'"></button>')}}},{key:"_constructInlineImageJson",value:function(e){return e.dataURI||b.warn("Missing data URI in extension block with argument type IMAGE"),{type:"field_image",src:e.dataURI||"",width:24,height:24,flip_rtl:e.flipRTL||!1}}},{key:"_convertPlaceholders",value:function(e,A,t){t=t.replace(/[<"&]/,"_");var o,n=e.blockInfo.arguments[t]||{},a=P[n.type]||{};if(!P[n.type]&&e.categoryInfo.customFieldTypes[n.type]&&(a=e.categoryInfo.customFieldTypes[n.type].argumentTypeInfo),"field_image"===a.fieldType)o=this._constructInlineImageJson(n);else{o={type:"input_value",name:t};var i,r,s,l=void 0===n.defaultValue?"":k(T(n.defaultValue,this.makeMessageContextForTarget()).toString());if(a.check&&(o.check=a.check),n.menu){var u=e.categoryInfo.menuInfo[n.menu];u.acceptReporters?(i=t,r=this._makeExtensionMenuId(n.menu,e.categoryInfo.id),s=n.menu):(o.type="field_dropdown",o.options=this._convertMenuItems(u.items),i=null,r=null,s=t)}else i=t,r=a.shadow&&a.shadow.type||null,s=a.shadow&&a.shadow.fieldName||null;i&&e.inputList.push('<value name="'.concat(t,'">')),r&&e.inputList.push('<shadow type="'.concat(r,'">')),l&&s&&e.inputList.push('<field name="'.concat(s,'">').concat(l,"</field>")),r&&e.inputList.push("</shadow>"),i&&e.inputList.push("</value>")}var c="args".concat(e.outLineNum),g=e.blockJSON[c]=e.blockJSON[c]||[];o&&g.push(o);var d=g.length;return e.argsMap[t]=d,"%".concat(d)}},{key:"getBlocksXML",value:function(e){return this._blockInfo.map(function(A){var t=A.name,o=A.color1,n=A.color2,a=A.blocks.filter(function(A){var t=!0;return e&&A.info.filter&&(t=A.info.filter.includes(e.isStage?M.STAGE:M.SPRITE)),t&&!A.info.hideFromPalette}),i='colour="'.concat(o,'" secondaryColour="').concat(n,'"'),r="";A.menuIconURI?r=A.menuIconURI:A.blockIconURI&&(r=A.blockIconURI);var s=r?'iconURI="'.concat(r,'"'):"",l="";return A.showStatusButton&&(l='showStatusButton="true"'),{id:A.id,xml:'<category name="'.concat(t,'" id="').concat(A.id,'" ').concat(l," ").concat(i," ").concat(s,">").concat(a.map(function(e){return e.xml}).join(""),"</category>")}})}},{key:"getBlocksJSON",value:function(){return this._blockInfo.reduce(function(e,A){return e.concat(A.blocks.map(function(e){return e.json}))},[])}},{key:"getScratchLinkSocket",value:function(e){return(this._linkSocketFactory||this._defaultScratchLinkSocketFactory)(e)}},{key:"configureScratchLinkSocketFactory",value:function(e){this._linkSocketFactory=e}},{key:"_defaultScratchLinkSocketFactory",value:function(e){return new N(e)}},{key:"registerPeripheralExtension",value:function(e,A){this.peripheralExtensions[e]=A}},{key:"scanForPeripheral",value:function(e){this.peripheralExtensions[e]&&this.peripheralExtensions[e].scan()}},{key:"connectPeripheral",value:function(e,A){this.peripheralExtensions[e]&&this.peripheralExtensions[e].connect(A)}},{key:"disconnectPeripheral",value:function(e){this.peripheralExtensions[e]&&this.peripheralExtensions[e].disconnect()}},{key:"getPeripheralIsConnected",value:function(e){var A=!1;return this.peripheralExtensions[e]&&(A=this.peripheralExtensions[e].isConnected()),A}},{key:"emitMicListening",value:function(e){this.emit(t.MIC_LISTENING,e)}},{key:"getOpcodeFunction",value:function(e){return this._primitives[e]}},{key:"getIsHat",value:function(e){return this._hats.hasOwnProperty(e)}},{key:"getIsEdgeActivatedHat",value:function(e){return this._hats.hasOwnProperty(e)&&this._hats[e].edgeActivated}},{key:"attachAudioEngine",value:function(e){this.audioEngine=e}},{key:"attachRenderer",value:function(e){this.renderer=e,this.renderer.setLayerGroupOrdering(S.LAYER_GROUPS)}},{key:"attachV2BitmapAdapter",value:function(e){this.v2BitmapAdapter=e}},{key:"attachStorage",value:function(e){this.storage=e}},{key:"_pushThread",value:function(e,A,t){var o=new y(e);return o.target=A,o.stackClick=Boolean(t&&t.stackClick),o.updateMonitor=Boolean(t&&t.updateMonitor),o.blockContainer=o.updateMonitor?this.monitorBlocks:A.blocks,o.pushStack(e),this.threads.push(o),o}},{key:"_stopThread",value:function(e){e.isKilled=!0,this.sequencer.retireThread(e)}},{key:"_restartThread",value:function(e){var A=new y(e.topBlock);A.target=e.target,A.stackClick=e.stackClick,A.updateMonitor=e.updateMonitor,A.blockContainer=e.blockContainer,A.pushStack(e.topBlock);var t=this.threads.indexOf(e);return t>-1?(this.threads[t]=A,A):(this.threads.push(e),e)}},{key:"isActiveThread",value:function(e){return e.stack.length>0&&e.status!==y.STATUS_DONE&&this.threads.indexOf(e)>-1}},{key:"isWaitingThread",value:function(e){return e.status===y.STATUS_PROMISE_WAIT||e.status===y.STATUS_YIELD_TICK||!this.isActiveThread(e)}},{key:"toggleScript",value:function(e,A){A=Object.assign({target:this._editingTarget,stackClick:!1},A);for(var t=0;t<this.threads.length;t++)if(this.threads[t].topBlock===e&&this.threads[t].status!==y.STATUS_DONE){var o=A.target.blocks,n=o.getOpcode(o.getBlock(e));if(this.getIsEdgeActivatedHat(n)&&this.threads[t].stackClick!==A.stackClick)continue;return void this._stopThread(this.threads[t])}this._pushThread(e,A.target,A)}},{key:"addMonitorScript",value:function(e,A){A||(A=this._editingTarget);for(var t=0;t<this.threads.length;t++)if(this.threads[t].topBlock===e&&this.threads[t].status!==y.STATUS_DONE&&this.threads[t].updateMonitor)return;this._pushThread(e,A,{updateMonitor:!0})}},{key:"allScriptsDo",value:function(e,A){var t=this.executableTargets;A&&(t=[A]);for(var o=t.length-1;o>=0;o--)for(var n=t[o],a=n.blocks.getScripts(),i=0;i<a.length;i++){e(a[i],n)}}},{key:"allScriptsByOpcodeDo",value:function(e,A,t){var o=this.executableTargets;t&&(o=[t]);for(var n=o.length-1;n>=0;n--)for(var a=o[n],i=p.getScripts(a.blocks,e),r=0;r<i.length;r++)A(i[r],a)}},{key:"startHats",value:function(e,A,t){var o=this;if(this._hats.hasOwnProperty(e)){var n=[],a=this._hats[e];for(var i in A)A.hasOwnProperty(i)&&(A[i]=A[i].toUpperCase());return this.allScriptsByOpcodeDo(e,function(e,t){var i=e.blockId,r=e.fieldsOfInputs;for(var s in A)if(r[s].value!==A[s])return;if(a.restartExistingThreads){for(var l=0;l<o.threads.length;l++)if(o.threads[l].target===t&&o.threads[l].topBlock===i&&!o.threads[l].stackClick)return void n.push(o._restartThread(o.threads[l]))}else for(var u=0;u<o.threads.length;u++)if(o.threads[u].target===t&&o.threads[u].topBlock===i&&!o.threads[u].stackClick&&o.threads[u].status!==y.STATUS_DONE)return;n.push(o._pushThread(i,t))},t),n.forEach(function(e){I(o.sequencer,e),e.goToNextBlock()}),n}}},{key:"dispose",value:function(){this.stopAll(),this.targets.forEach(function(e){e.isOriginal&&e.deleteMonitors()}),this.targets.map(this.disposeTarget,this),this._monitorState=h({}),this.emit(t.RUNTIME_DISPOSED),this.ioDevices.clock.resetProjectTimer(),this.hasCloudData()&&this.emit(t.HAS_CLOUD_DATA_UPDATE,!1),this.ioDevices.cloud.clear();var e=j();this.hasCloudData=e.hasCloudVariables,this.canAddCloudVariable=e.canAddCloudVariable,this.addCloudVariable=this._initializeAddCloudVariable(e),this.removeCloudVariable=this._initializeRemoveCloudVariable(e)}},{key:"addTarget",value:function(e){this.targets.push(e),this.executableTargets.push(e)}},{key:"moveExecutable",value:function(e,A){var t=this.executableTargets.indexOf(e);this.executableTargets.splice(t,1);var o=t+A;return o>this.executableTargets.length&&(o=this.executableTargets.length),o<=0&&(o=this.executableTargets.length>0&&this.executableTargets[0].isStage?1:0),this.executableTargets.splice(o,0,e),o}},{key:"setExecutablePosition",value:function(e,A){var t=this.executableTargets.indexOf(e);return this.moveExecutable(e,A-t)}},{key:"removeExecutable",value:function(e){var A=this.executableTargets.indexOf(e);A>-1&&this.executableTargets.splice(A,1)}},{key:"disposeTarget",value:function(e){this.targets=this.targets.filter(function(A){return e!==A||(A.dispose(),!1)})}},{key:"stopForTarget",value:function(e,A){this.emit(t.STOP_FOR_TARGET,e,A);for(var o=0;o<this.threads.length;o++)this.threads[o]!==A&&this.threads[o].target===e&&this._stopThread(this.threads[o])}},{key:"greenFlag",value:function(){this.stopAll(),this.emit(t.PROJECT_START),this.ioDevices.clock.resetProjectTimer(),this.targets.forEach(function(e){return e.clearEdgeActivatedValues()});for(var e=0;e<this.targets.length;e++)this.targets[e].onGreenFlag();this.startHats("event_whenflagclicked")}},{key:"stopAll",value:function(){this.emit(t.PROJECT_STOP_ALL);for(var e=[],A=0;A<this.targets.length;A++)this.targets[A].onStopAll(),this.targets[A].hasOwnProperty("isOriginal")&&!this.targets[A].isOriginal?this.targets[A].dispose():e.push(this.targets[A]);this.targets=e,null!==this.sequencer.activeThread&&this._stopThread(this.sequencer.activeThread),this.threads=[]}},{key:"_step",value:function(){for(var e in null!==this.profiler&&(-1===J&&(J=this.profiler.idByName("Runtime._step")),this.profiler.start(J)),this.threads=this.threads.filter(function(e){return!e.isKilled}),this._hats){if(this._hats.hasOwnProperty(e))this._hats[e].edgeActivated&&this.startHats(e)}this.redrawRequested=!1,this._pushMonitors(),null!==this.profiler&&(-1===z&&(z=this.profiler.idByName("Sequencer.stepThreads")),this.profiler.start(z));var A=this.sequencer.stepThreads();null!==this.profiler&&this.profiler.stop(),this._updateGlows(A),this._emitProjectRunStatus(this.threads.length+A.length-this._getMonitorThreadCount([].concat(n(this.threads),n(A)))),this._lastStepDoneThreads=A,this.renderer&&(null!==this.profiler&&(-1===W&&(W=this.profiler.idByName("RenderWebGL.draw")),this.profiler.start(W)),this.renderer.draw(),null!==this.profiler&&this.profiler.stop()),this._refreshTargets&&(this.emit(t.TARGETS_UPDATE,!1),this._refreshTargets=!1),this._prevMonitorState.equals(this._monitorState)||(this.emit(t.MONITORS_UPDATE,this._monitorState),this._prevMonitorState=this._monitorState),null!==this.profiler&&(this.profiler.stop(),this.profiler.reportFrames())}},{key:"_getMonitorThreadCount",value:function(e){var A=0;return e.forEach(function(e){e.updateMonitor&&A++}),A}},{key:"_pushMonitors",value:function(){this.monitorBlocks.runAllMonitored(this)}},{key:"setEditingTarget",value:function(e){var A=this._editingTarget;this._editingTarget=e,this._scriptGlowsPreviousFrame=[],this._updateGlows(),A!==this._editingTarget&&this.requestToolboxExtensionsUpdate()}},{key:"setCompatibilityMode",value:function(e){this.compatibilityMode=e,this._steppingInterval&&(clearInterval(this._steppingInterval),this._steppingInterval=null,this.start())}},{key:"_updateGlows",value:function(e){var A=[];A.push.apply(A,this.threads),e&&A.push.apply(A,e);for(var t=[],o=[],n=0;n<A.length;n++){var a=A[n],i=a.target;if(i===this._editingTarget){var r=a.blockGlowInFrame;if(a.requestScriptGlowInFrame||a.stackClick){var s=i.blocks.getTopLevelScript(r);s||(s=this.flyoutBlocks.getTopLevelScript(r)),s&&t.push(s)}}}for(var l=0;l<this._scriptGlowsPreviousFrame.length;l++){var u=this._scriptGlowsPreviousFrame[l];t.indexOf(u)<0?this.glowScript(u,!1):o.push(u)}for(var c=0;c<t.length;c++){var g=t[c];this._scriptGlowsPreviousFrame.indexOf(g)<0&&(this.glowScript(g,!0),o.push(g))}this._scriptGlowsPreviousFrame=o}},{key:"_emitProjectRunStatus",value:function(e){0===this._nonMonitorThreadCount&&e>0&&this.emit(t.PROJECT_RUN_START),this._nonMonitorThreadCount>0&&0===e&&this.emit(t.PROJECT_RUN_STOP),this._nonMonitorThreadCount=e}},{key:"quietGlow",value:function(e){var A=this._scriptGlowsPreviousFrame.indexOf(e);A>-1&&this._scriptGlowsPreviousFrame.splice(A,1)}},{key:"glowBlock",value:function(e,A){A?this.emit(t.BLOCK_GLOW_ON,{id:e}):this.emit(t.BLOCK_GLOW_OFF,{id:e})}},{key:"glowScript",value:function(e,A){A?this.emit(t.SCRIPT_GLOW_ON,{id:e}):this.emit(t.SCRIPT_GLOW_OFF,{id:e})}},{key:"emitBlockDragUpdate",value:function(e){this.emit(t.BLOCK_DRAG_UPDATE,e)}},{key:"emitBlockEndDrag",value:function(e,A){this.emit(t.BLOCK_DRAG_END,e,A)}},{key:"visualReport",value:function(e,A){this.emit(t.VISUAL_REPORT,{id:e,value:String(A)})}},{key:"requestAddMonitor",value:function(e){var A=e.get("id");this.requestUpdateMonitor(e)||(this._monitorState=this._monitorState.set(A,e))}},{key:"requestUpdateMonitor",value:function(e){var A=e.get("id");return!!this._monitorState.has(A)&&(this._monitorState=this._monitorState.set(A,this._monitorState.get(A).mergeWith(function(e,A){return void 0===A||null===A?e:A},e)),!0)}},{key:"requestRemoveMonitor",value:function(e){this._monitorState=this._monitorState.delete(e)}},{key:"requestHideMonitor",value:function(e){return this.requestUpdateMonitor(new Map([["id",e],["visible",!1]]))}},{key:"requestShowMonitor",value:function(e){return this.requestUpdateMonitor(new Map([["id",e],["visible",!0]]))}},{key:"requestRemoveMonitorByTargetId",value:function(e){this._monitorState=this._monitorState.filterNot(function(A){return A.targetId===e})}},{key:"getTargetById",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(t.id===e)return t}}},{key:"getSpriteTargetByName",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(!t.isStage&&(t.sprite&&t.sprite.name===e))return t}}},{key:"getTargetByDrawableId",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(t.drawableID===e)return t}}},{key:"changeCloneCounter",value:function(e){this._cloneCounter+=e}},{key:"clonesAvailable",value:function(){return this._cloneCounter<t.MAX_CLONES}},{key:"emitProjectLoaded",value:function(){this.emit(t.PROJECT_LOADED)}},{key:"emitProjectChanged",value:function(){this.emit(t.PROJECT_CHANGED)}},{key:"fireTargetWasCreated",value:function(e,A){this.emit("targetWasCreated",e,A)}},{key:"fireTargetWasRemoved",value:function(e){this.emit("targetWasRemoved",e)}},{key:"getTargetForStage",value:function(){for(var e=0;e<this.targets.length;e++){var A=this.targets[e];if(A.isStage)return A}}},{key:"getEditingTarget",value:function(){return this._editingTarget}},{key:"getAllVarNamesOfType",value:function(e){var A,t=[],o=i(this.targets);try{for(o.s();!(A=o.n()).done;){var n=A.value.getAllVariableNamesInScopeByType(e,!0);t=t.concat(n)}}catch(e){o.e(e)}finally{o.f()}return t}},{key:"getLabelForOpcode",value:function(e){var A=o(_.splitFirst(e,"_"),2),t=A[0],n=A[1];if(t&&n){var a=this._blockInfo.find(function(e){return e.id===t});if(a){var i=a.blocks.find(function(e){return e.info.opcode===n});if(i)return{category:"extension",label:"".concat(a.name,": ").concat(i.info.text)}}}}},{key:"createNewGlobalVariable",value:function(e,A,t){var o="string"==typeof t?t:D.SCALAR_TYPE,n=this.getAllVarNamesOfType(o),a=_.unusedName(e,n),i=new D(A||L(),a,o);return this.getTargetForStage().variables[i.id]=i,i}},{key:"requestRedraw",value:function(){this.redrawRequested=!0}},{key:"requestTargetsUpdate",value:function(e){e.isOriginal&&(this._refreshTargets=!0)}},{key:"requestBlocksUpdate",value:function(){this.emit(t.BLOCKS_NEED_UPDATE)}},{key:"requestToolboxExtensionsUpdate",value:function(){this.emit(t.TOOLBOX_EXTENSIONS_NEED_UPDATE)}},{key:"start",value:function(){var e=this;if(!this._steppingInterval){var A=t.THREAD_STEP_INTERVAL;this.compatibilityMode&&(A=t.THREAD_STEP_INTERVAL_COMPATIBILITY),this.currentStepTime=A,this._steppingInterval=setInterval(function(){e._step()},A),this.emit(t.RUNTIME_STARTED)}}},{key:"enableProfiling",value:function(e){w.available()&&(this.profiler=new w(e))}},{key:"disableProfiling",value:function(){this.profiler=null}},{key:"updateCurrentMSecs",value:function(){this.currentMSecs=Date.now()}}],[{key:"STAGE_WIDTH",get:function(){return 480}},{key:"STAGE_HEIGHT",get:function(){return 360}},{key:"SCRIPT_GLOW_ON",get:function(){return"SCRIPT_GLOW_ON"}},{key:"SCRIPT_GLOW_OFF",get:function(){return"SCRIPT_GLOW_OFF"}},{key:"BLOCK_GLOW_ON",get:function(){return"BLOCK_GLOW_ON"}},{key:"BLOCK_GLOW_OFF",get:function(){return"BLOCK_GLOW_OFF"}},{key:"HAS_CLOUD_DATA_UPDATE",get:function(){return"HAS_CLOUD_DATA_UPDATE"}},{key:"TURBO_MODE_ON",get:function(){return"TURBO_MODE_ON"}},{key:"TURBO_MODE_OFF",get:function(){return"TURBO_MODE_OFF"}},{key:"PROJECT_START",get:function(){return"PROJECT_START"}},{key:"PROJECT_RUN_START",get:function(){return"PROJECT_RUN_START"}},{key:"PROJECT_RUN_STOP",get:function(){return"PROJECT_RUN_STOP"}},{key:"PROJECT_STOP_ALL",get:function(){return"PROJECT_STOP_ALL"}},{key:"STOP_FOR_TARGET",get:function(){return"STOP_FOR_TARGET"}},{key:"VISUAL_REPORT",get:function(){return"VISUAL_REPORT"}},{key:"PROJECT_LOADED",get:function(){return"PROJECT_LOADED"}},{key:"PROJECT_CHANGED",get:function(){return"PROJECT_CHANGED"}},{key:"TOOLBOX_EXTENSIONS_NEED_UPDATE",get:function(){return"TOOLBOX_EXTENSIONS_NEED_UPDATE"}},{key:"TARGETS_UPDATE",get:function(){return"TARGETS_UPDATE"}},{key:"MONITORS_UPDATE",get:function(){return"MONITORS_UPDATE"}},{key:"BLOCK_DRAG_UPDATE",get:function(){return"BLOCK_DRAG_UPDATE"}},{key:"BLOCK_DRAG_END",get:function(){return"BLOCK_DRAG_END"}},{key:"EXTENSION_ADDED",get:function(){return"EXTENSION_ADDED"}},{key:"EXTENSION_FIELD_ADDED",get:function(){return"EXTENSION_FIELD_ADDED"}},{key:"PERIPHERAL_LIST_UPDATE",get:function(){return"PERIPHERAL_LIST_UPDATE"}},{key:"USER_PICKED_PERIPHERAL",get:function(){return"USER_PICKED_PERIPHERAL"}},{key:"PERIPHERAL_CONNECTED",get:function(){return"PERIPHERAL_CONNECTED"}},{key:"PERIPHERAL_DISCONNECTED",get:function(){return"PERIPHERAL_DISCONNECTED"}},{key:"PERIPHERAL_REQUEST_ERROR",get:function(){return"PERIPHERAL_REQUEST_ERROR"}},{key:"PERIPHERAL_CONNECTION_LOST_ERROR",get:function(){return"PERIPHERAL_CONNECTION_LOST_ERROR"}},{key:"PERIPHERAL_SCAN_TIMEOUT",get:function(){return"PERIPHERAL_SCAN_TIMEOUT"}},{key:"MIC_LISTENING",get:function(){return"MIC_LISTENING"}},{key:"BLOCKSINFO_UPDATE",get:function(){return"BLOCKSINFO_UPDATE"}},{key:"RUNTIME_STARTED",get:function(){return"RUNTIME_STARTED"}},{key:"RUNTIME_DISPOSED",get:function(){return"RUNTIME_DISPOSED"}},{key:"BLOCKS_NEED_UPDATE",get:function(){return"BLOCKS_NEED_UPDATE"}},{key:"THREAD_STEP_INTERVAL",get:function(){return 1e3/60}},{key:"THREAD_STEP_INTERVAL_COMPATIBILITY",get:function(){return 1e3/30}},{key:"MAX_CLONES",get:function(){return 300}}]),t}();e.exports=K},function(e,A,t){function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=t(1177),r=t(465),s=t(39),l=t(239),u=t(189).Map,c=t(50),g=new i,d=-1,B=function(e){return null!==e&&"object"===a(e)&&"function"==typeof e.then},h=function(e,A,t,o,n){var a=o.id,i=o.opcode,r=o._isHat;if(t.pushReportedValue(e),r)if(A.runtime.getIsEdgeActivatedHat(i)){if(!t.stackClick){var s=t.target.hasEdgeActivatedValue(a),c=t.target.updateEdgeActivatedValue(a,e);(s?!c&&e:e)||A.retireThread(t)}}else e||A.retireThread(t);else{if(n&&void 0!==e&&t.atStackTop()&&(t.stackClick&&A.runtime.visualReport(a,e),t.updateMonitor)){var g=A.runtime.monitorBlocks.getBlock(a).targetId;if(g&&!A.runtime.getTargetById(g))return;A.runtime.requestUpdateMonitor(u({id:a,spriteName:g?A.runtime.getTargetById(g).getName():null,value:e}))}t.status=l.STATUS_RUNNING}},E=function(e,A,t,o,n){t.status===l.STATUS_RUNNING&&(t.status=l.STATUS_PROMISE_WAIT),e.then(function(e){if(h(e,A,t,o,n),n){var a,i;do{var r=t.popStack();if(null===r)return;if(null!==(i=t.target.blocks.getNextBlock(r)))break;a=t.peekStackFrame()}while(null!==a&&!a.isLoop);t.pushStack(i)}},function(e){s.warn("Primitive rejected promise: ",e),t.status=l.STATUS_RUNNING,t.popStack()})},m=function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t.id,this.opcode=t.opcode,this.fields=t.fields,this.inputs=t.inputs,this.mutation=t.mutation,this._profiler=null,this._profilerFrame=null,this._isHat=!1,this._blockFunction=null,this._definedBlockFunction=!1,this._isShadowBlock=!1,this._shadowValue=null,this._fields=Object.assign({},this.fields),this._inputs=Object.assign({},this.inputs),this._argValues={mutation:this.mutation},this._parentKey=null,this._parentValues=null,this._ops=[];var n=g.sequencer.runtime,a=this.opcode,i=this.fields,s=this.inputs;this._isHat=n.getIsHat(a),this._blockFunction=n.getOpcodeFunction(a),this._definedBlockFunction=void 0!==this._blockFunction;var l=Object.keys(i);for(var u in this._isShadowBlock=!this._definedBlockFunction&&1===l.length&&0===Object.keys(s).length,this._shadowValue=this._isShadowBlock&&i[l[0]].value,i)this._argValues[u]="VARIABLE"===u||"LIST"===u||"BROADCAST_OPTION"===u?{id:i[u].id,name:i[u].value}:i[u].value;if(delete this._inputs.custom_block,"BROADCAST_INPUT"in this._inputs){this._argValues.BROADCAST_OPTION={id:null,name:null};var c=this._inputs.BROADCAST_INPUT;if(c.block===c.shadow){var d=A.getBlock(c.shadow).fields.BROADCAST_OPTION;this._argValues.BROADCAST_OPTION.id=d.id,this._argValues.BROADCAST_OPTION.name=d.value,delete this._inputs.BROADCAST_INPUT}}for(var B in this._inputs){var h=this._inputs[B];if(h.block){var E,m=r.getCached(A,h.block,e);if(m._isHat)continue;(E=this._ops).push.apply(E,o(m._ops)),m._parentKey=B,m._parentValues=this._argValues,m._isShadowBlock&&(this._argValues[B]=m._shadowValue)}}this._definedBlockFunction&&this._ops.push(this)};e.exports=function(e,A){var t=e.runtime;g.sequencer=e,g.thread=A;var o=A.peekStack(),n=A.peekStackFrame(),a=A.blockContainer,i=r.getCached(a,o,m);if(null!==i||(a=t.flyoutBlocks,null!==(i=r.getCached(a,o,m)))){var s=i._ops,u=s.length,p=0;if(null!==n.reported){for(var C=n.reported,w=function(){var e=C[p],A=e.opCached,t=e.inputValue,o=s.find(function(e){return e.id===A});if(o){var n=o._parentKey,a=o._parentValues;"BROADCAST_INPUT"===n?(a.BROADCAST_OPTION.id=null,a.BROADCAST_OPTION.name=c.toString(t)):a[n]=t}};p<C.length;p++)w();if(C.length>0){var f=C.reverse().find(function(e){return s.find(function(A){return A.id===e.opCached})});p=f?s.findIndex(function(e){return e.id===f.opCached})+1:0}if(null!==A.justReported&&s[p]&&s[p].id===n.reporting){var I=s[p],Q=A.justReported;A.justReported=null;var M=I._parentKey,y=I._parentValues;"BROADCAST_INPUT"===M?(y.BROADCAST_OPTION.id=null,y.BROADCAST_OPTION.name=c.toString(Q)):y[M]=Q,p+=1}n.reporting=null,n.reported=null}for(var b=p;p<u;p++){var T=p===u-1,S=s[p],D=S._blockFunction,k=S._argValues;a.forceNoGlow||(A.requestScriptGlowInFrame=!0);var N=D(k,g);if(B(N)){E(N,e,A,S,T),A.justReported=null,n.reporting=s[p].id,n.reported=s.slice(0,p).map(function(e){var A=e._parentKey,t=e._parentValues;return"BROADCAST_INPUT"===A?{opCached:e.id,inputValue:t[A].BROADCAST_OPTION.name}:{opCached:e.id,inputValue:t[A]}});break}if(A.status===l.STATUS_RUNNING)if(T)h(N,e,A,S,T);else{var R=S._parentKey,F=S._parentValues;"BROADCAST_INPUT"===R?(F.BROADCAST_OPTION.id=null,F.BROADCAST_OPTION.name=c.toString(N)):F[R]=N}}if(null!==t.profiler){i._profiler!==t.profiler&&function(e,A){A._profiler=e,-1===d&&(d=e.idByName("blockFunction"));for(var t=A._ops,o=0;o<t.length;o++)t[o]._profilerFrame=e.frame(d,t[o].opcode)}(t.profiler,i);for(var O=Math.min(p+1,u),Y=b;Y<O;Y++)s[Y]._profilerFrame.count+=1}}else e.retireThread(A)}},function(e,A,t){function o(e,A,t){return(o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,A,t){var o=[null];o.push.apply(o,A);var a=new(Function.bind.apply(e,o));return t&&n(a,t.prototype),a}).apply(null,arguments)}function n(e,A){return(n=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function a(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,A){if(!e)return;if("string"==typeof e)return i(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,A)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function r(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=t(126),l=function(){function e(A){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.runtime=A,this.provider=null,this._skinId=-1,this._drawable=-1,this._ghost=0,this._forceTransparentPreview=!1}return function(e,A,t){A&&r(e.prototype,A),t&&r(e,t)}(e,[{key:"setProvider",value:function(e){this.provider=e}},{key:"enableVideo",value:function(){var e=this;return this.provider?this.provider.enableVideo().then(function(){return e._setupPreview()}):null}},{key:"disableVideo",value:function(){if(this._disablePreview(),!this.provider)return null;this.provider.disableVideo()}},{key:"getFrame",value:function(A){var t=A.dimensions,o=void 0===t?e.DIMENSIONS:t,n=A.mirror,a=void 0===n?this.mirror:n,i=A.format,r=void 0===i?e.FORMAT_IMAGE_DATA:i,s=A.cacheTimeout,l=void 0===s?this._frameCacheTimeout:s;return this.provider?this.provider.getFrame({dimensions:o,mirror:a,format:r,cacheTimeout:l}):null}},{key:"setPreviewGhost",value:function(e){this._ghost=e,-1!==this._drawable&&this.runtime.renderer.updateDrawableEffect(this._drawable,"ghost",this._forceTransparentPreview?100:e)}},{key:"_disablePreview",value:function(){-1!==this._skinId&&(this.runtime.renderer.updateBitmapSkin(this._skinId,o(ImageData,a(e.DIMENSIONS)),1),this.runtime.renderer.updateDrawableVisible(this._drawable,!1)),this._renderPreviewFrame=null}},{key:"_setupPreview",value:function(){var A=this,t=this.runtime.renderer;t&&(-1===this._skinId&&-1===this._drawable&&(this._skinId=t.createBitmapSkin(o(ImageData,a(e.DIMENSIONS)),1),this._drawable=t.createDrawable(s.VIDEO_LAYER),t.updateDrawableSkinId(this._drawable,this._skinId)),this._renderPreviewFrame||(t.updateDrawableEffect(this._drawable,"ghost",this._forceTransparentPreview?100:this._ghost),t.updateDrawableVisible(this._drawable,!0),this._renderPreviewFrame=function(){if(clearTimeout(A._renderPreviewTimeout),A._renderPreviewFrame){A._renderPreviewTimeout=setTimeout(A._renderPreviewFrame,A.runtime.currentStepTime);var n=A.getFrame({format:e.FORMAT_IMAGE_DATA,cacheTimeout:A.runtime.currentStepTime});n?(t.updateBitmapSkin(A._skinId,n,1),A.runtime.requestRedraw()):t.updateBitmapSkin(A._skinId,o(ImageData,a(e.DIMENSIONS)),1)}},this._renderPreviewFrame()))}},{key:"videoReady",get:function(){return!!this.provider&&this.provider.videoReady}},{key:"postData",value:function(e){var A=e.forceTransparentPreview;this._forceTransparentPreview=A,this.setPreviewGhost(this._ghost)}}],[{key:"FORMAT_IMAGE_DATA",get:function(){return"image-data"}},{key:"FORMAT_CANVAS",get:function(){return"canvas"}},{key:"DIMENSIONS",get:function(){return[480,360]}},{key:"ORDER",get:function(){return 1}}]),e}();e.exports=l},function(e,A,t){var o=t(100);e.exports=function(e){for(var A={},t=0;t<e.length;t++){var n=o(),a=e[t].id;e[t].id=A[a]=n}for(var i=0;i<e.length;i++){for(var r in e[i].inputs){var s=e[i].inputs[r];s.block=A[s.block],s.shadow=A[s.shadow]}e[i].parent&&(e[i].parent=A[e[i].parent]),e[i].next&&(e[i].next=A[e[i].next])}}},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var a=t(1207),i=t(321),r=t(480),s=t(1208),l=t(1209),u=function(e,A){var t=[];return function e(o){o.localName!==A&&void 0!==A||!o.getAttribute||t.push(o);for(var n=0;n<o.childNodes.length;n++)e(o.childNodes[n])}(e),t},c=function(e){var A,t,o=document.createElement("span"),n=e.outerHTML,i=a.sanitize(n,{USE_PROFILES:{svg:!0},FORBID_TAGS:["a","audio","canvas","video"],ADD_DATA_URI_TAGS:["image"]});try{o.innerHTML=i,document.body.appendChild(o),A=o.children[0].getBBox()}finally{document.body.removeChild(o)}t=0===A.width||0===A.height?0:function(e){var A=0;return function e(t){t.getAttribute&&(t.getAttribute("stroke")&&(A=Math.max(A,1)),t.getAttribute("stroke-width")&&(A=Math.max(A,Number(t.getAttribute("stroke-width"))||0)));for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e),A}(e)/2;var r=A.width+2*t,s=A.height+2*t,l=A.x-t,u=A.y-t;e.setAttribute("width",r),e.setAttribute("height",s),e.setAttribute("viewBox","".concat(l," ").concat(u," ").concat(r," ").concat(s))},g=function(e,A){A&&function(e){var A,t=o(u(e,"linearGradient"));try{for(t.s();!(A=t.n()).done;){var n=A.value;n.getAttribute("x2")||n.setAttribute("x2","0")}}catch(e){t.e(e)}finally{t.f()}}(e),l(e,window),function(e){var A,t="image-rendering: optimizespeed; image-rendering: pixelated;",n=o(u(e,"image"));try{for(n.s();!(A=n.n()).done;){var a=A.value;a.getAttribute("style")?a.setAttribute("style","".concat(t," ").concat(a.getAttribute("style"))):a.setAttribute("style",t)}}catch(e){n.e(e)}finally{n.f()}}(e),A?(function(e){var A=[];!function e(t){"text"===t.localName&&A.push(t);for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e),r(e);for(var t=0,n=A;t<n.length;t++){var a=n[t];a.removeAttribute("x"),a.removeAttribute("y"),a.setAttribute("alignment-baseline","text-before-edge"),a.setAttribute("xml:space","preserve"),a.getAttribute("font-size")||a.setAttribute("font-size","18");var s=a.textContent,l=parseFloat(a.getAttribute("font-size")),u=0,c=1.2;if("Handwriting"===a.getAttribute("font-family")?(c=2,u=-11*l/22):"Scratch"===a.getAttribute("font-family")?(c=.89,u=-3*l/22):"Curly"===a.getAttribute("font-family")?(c=1.38,u=-6*l/22):"Marker"===a.getAttribute("font-family")?(c=1.45,u=-6*l/22):"Sans Serif"===a.getAttribute("font-family")?(c=1.13,u=-3*l/22):"Serif"===a.getAttribute("font-family")&&(c=1.25,u=-4*l/22),0===a.transform.baseVal.numberOfItems){var g=e.createSVGTransform();a.transform.baseVal.appendItem(g)}var d=a.transform.baseVal.getItem(0).matrix;if(d.e+=2*d.a+d.c*u,d.f+=2*d.b+d.d*u,s&&0===a.childElementCount){a.textContent="";var B=s.split("\n");s="";var h,E=o(B);try{for(E.s();!(h=E.n()).done;){var m=h.value,p=i.create("tspan");p.setAttribute("x","0"),p.setAttribute("style","white-space: pre"),p.setAttribute("dy","".concat(c,"em")),p.textContent=m||" ",a.appendChild(p)}}catch(e){E.e(e)}finally{E.f()}}}}(e),c(e),function(e){var A,t=o(u(e));try{for(t.s();!(A=t.n()).done;){var n=A.value;if(n.style){var a=n.style.stroke||n.getAttribute("stroke");a&&a.match(/^url\(#.*\)$/)&&(n.style["stroke-linejoin"]="round",n.style["stroke-linecap"]="round")}}}catch(e){t.e(e)}finally{t.f()}}(e)):e.getAttribute("viewBox")?e.getAttribute("width")&&e.getAttribute("height")||(e.setAttribute("width",e.viewBox.baseVal.width),e.setAttribute("height",e.viewBox.baseVal.height)):c(e)};e.exports=function(e,A){var t=new DOMParser;e=s(e);var o=t.parseFromString(e,"text/xml");if(o.childNodes.length<1||"svg"!==o.documentElement.localName)throw new Error("Document does not appear to be SVG.");var n=o.documentElement;return g(n,A),n}},function(e,A){e.exports=function(e){var A=[];!function e(t){"text"===t.localName&&A.push(t);for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e);for(var t=0,o=A;t<o.length;t++){var n=o[t];n.getAttribute("font-family")&&"Helvetica"!==n.getAttribute("font-family")?"Mystery"===n.getAttribute("font-family")?n.setAttribute("font-family","Curly"):"Gloria"===n.getAttribute("font-family")?n.setAttribute("font-family","Handwriting"):"Donegal"===n.getAttribute("font-family")&&n.setAttribute("font-family","Serif"):n.setAttribute("font-family","Sans Serif")}}},function(e,A,t){var o=t(482);e.exports=function(e,A){var t=(new XMLSerializer).serializeToString(e);return A&&(t=o(t)),t}},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var a=t(1212);e.exports=function(e){var A=a();if("string"!=typeof e)throw new Error("SVG to be inlined is not a string");for(var t=new Set,n=/font-family="([^"]*)"/g,i=n.exec(e);i;)t.add(i[1]),i=n.exec(e);if(t.size>0){var r,s="<defs><style>",l=o(t);try{for(l.s();!(r=l.n()).done;){var u=r.value;Object.prototype.hasOwnProperty.call(A,u)&&(s+="".concat(A[u]))}}catch(e){l.e(e)}finally{l.f()}return s+="</style></defs>",e=e.replace(/<svg[^>]*>/,"$&".concat(s))}return e}},function(e,A,t){var o=t(1224),n=o(t(1225)),a=o(t(1276)),i=o(t(1277));e.exports=function(e,A,t){n(e,A).then(function(e){return a(e[0]).then(i.bind(null,A)).then(function(A){return[A,e[1]]})}).then(t.bind(null,null),t)}},function(e,A,t){e.exports=t(1229)},function(e,A,t){"use strict";(function(A,o){var n=t(242);e.exports=C;var a,i=t(450);C.ReadableState=p;t(99).EventEmitter;var r=function(e,A){return e.listeners(A).length},s=t(486),l=t(235).Buffer,u=A.Uint8Array||function(){};var c=t(191);c.inherits=t(166);var g=t(1230),d=void 0;d=g&&g.debuglog?g.debuglog("stream"):function(){};var B,h=t(1231),E=t(487);c.inherits(C,s);var m=["error","close","destroy","pause","resume"];function p(e,A){a=a||t(150),e=e||{};var o=A instanceof a;this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o&&(i||0===i)?i:r,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(B||(B=t(316).StringDecoder),this.decoder=new B(e.encoding),this.encoding=e.encoding)}function C(e){if(a=a||t(150),!(this instanceof C))return new C(e);this._readableState=new p(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function w(e,A,t,o,n){var a,i=e._readableState;null===A?(i.reading=!1,function(e,A){if(A.ended)return;if(A.decoder){var t=A.decoder.end();t&&t.length&&(A.buffer.push(t),A.length+=A.objectMode?1:t.length)}A.ended=!0,M(e)}(e,i)):(n||(a=function(e,A){var t;(function(e){return l.isBuffer(e)||e instanceof u})(A)||"string"==typeof A||void 0===A||e.objectMode||(t=new TypeError("Invalid non-string/buffer chunk"));return t}(i,A)),a?e.emit("error",a):i.objectMode||A&&A.length>0?("string"==typeof A||i.objectMode||Object.getPrototypeOf(A)===l.prototype||(A=function(e){return l.from(e)}(A)),o?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):f(e,i,A,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!t?(A=i.decoder.write(A),i.objectMode||0!==A.length?f(e,i,A,!1):b(e,i)):f(e,i,A,!1))):o||(i.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function f(e,A,t,o){A.flowing&&0===A.length&&!A.sync?(e.emit("data",t),e.read(0)):(A.length+=A.objectMode?1:t.length,o?A.buffer.unshift(t):A.buffer.push(t),A.needReadable&&M(e)),b(e,A)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),C.prototype.destroy=E.destroy,C.prototype._undestroy=E.undestroy,C.prototype._destroy=function(e,A){this.push(null),A(e)},C.prototype.push=function(e,A){var t,o=this._readableState;return o.objectMode?t=!0:"string"==typeof e&&((A=A||o.defaultEncoding)!==o.encoding&&(e=l.from(e,A),A=""),t=!0),w(this,e,A,!1,t)},C.prototype.unshift=function(e){return w(this,e,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(e){return B||(B=t(316).StringDecoder),this._readableState.decoder=new B(e),this._readableState.encoding=e,this};var I=8388608;function Q(e,A){return e<=0||0===A.length&&A.ended?0:A.objectMode?1:e!=e?A.flowing&&A.length?A.buffer.head.data.length:A.length:(e>A.highWaterMark&&(A.highWaterMark=function(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=A.length?e:A.ended?A.length:(A.needReadable=!0,0))}function M(e){var A=e._readableState;A.needReadable=!1,A.emittedReadable||(d("emitReadable",A.flowing),A.emittedReadable=!0,A.sync?n.nextTick(y,e):y(e))}function y(e){d("emit readable"),e.emit("readable"),k(e)}function b(e,A){A.readingMore||(A.readingMore=!0,n.nextTick(T,e,A))}function T(e,A){for(var t=A.length;!A.reading&&!A.flowing&&!A.ended&&A.length<A.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),t!==A.length);)t=A.length;A.readingMore=!1}function S(e){d("readable nexttick read 0"),e.read(0)}function D(e,A){A.reading||(d("resume read 0"),e.read(0)),A.resumeScheduled=!1,A.awaitDrain=0,e.emit("resume"),k(e),A.flowing&&!A.reading&&e.read(0)}function k(e){var A=e._readableState;for(d("flow",A.flowing);A.flowing&&null!==e.read(););}function N(e,A){return 0===A.length?null:(A.objectMode?t=A.buffer.shift():!e||e>=A.length?(t=A.decoder?A.buffer.join(""):1===A.buffer.length?A.buffer.head.data:A.buffer.concat(A.length),A.buffer.clear()):t=function(e,A,t){var o;e<A.head.data.length?(o=A.head.data.slice(0,e),A.head.data=A.head.data.slice(e)):o=e===A.head.data.length?A.shift():t?function(e,A){var t=A.head,o=1,n=t.data;e-=n.length;for(;t=t.next;){var a=t.data,i=e>a.length?a.length:e;if(i===a.length?n+=a:n+=a.slice(0,e),0===(e-=i)){i===a.length?(++o,t.next?A.head=t.next:A.head=A.tail=null):(A.head=t,t.data=a.slice(i));break}++o}return A.length-=o,n}(e,A):function(e,A){var t=l.allocUnsafe(e),o=A.head,n=1;o.data.copy(t),e-=o.data.length;for(;o=o.next;){var a=o.data,i=e>a.length?a.length:e;if(a.copy(t,t.length-e,0,i),0===(e-=i)){i===a.length?(++n,o.next?A.head=o.next:A.head=A.tail=null):(A.head=o,o.data=a.slice(i));break}++n}return A.length-=n,t}(e,A);return o}(e,A.buffer,A.decoder),t);var t}function R(e){var A=e._readableState;if(A.length>0)throw new Error('"endReadable()" called on non-empty stream');A.endEmitted||(A.ended=!0,n.nextTick(F,A,e))}function F(e,A){e.endEmitted||0!==e.length||(e.endEmitted=!0,A.readable=!1,A.emit("end"))}function O(e,A){for(var t=0,o=e.length;t<o;t++)if(e[t]===A)return t;return-1}C.prototype.read=function(e){d("read",e),e=parseInt(e,10);var A=this._readableState,t=e;if(0!==e&&(A.emittedReadable=!1),0===e&&A.needReadable&&(A.length>=A.highWaterMark||A.ended))return d("read: emitReadable",A.length,A.ended),0===A.length&&A.ended?R(this):M(this),null;if(0===(e=Q(e,A))&&A.ended)return 0===A.length&&R(this),null;var o,n=A.needReadable;return d("need readable",n),(0===A.length||A.length-e<A.highWaterMark)&&d("length less than watermark",n=!0),A.ended||A.reading?d("reading or ended",n=!1):n&&(d("do read"),A.reading=!0,A.sync=!0,0===A.length&&(A.needReadable=!0),this._read(A.highWaterMark),A.sync=!1,A.reading||(e=Q(t,A))),null===(o=e>0?N(e,A):null)?(A.needReadable=!0,e=0):A.length-=e,0===A.length&&(A.ended||(A.needReadable=!0),t!==e&&A.ended&&R(this)),null!==o&&this.emit("data",o),o},C.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(e,A){var t=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,A);var s=(!A||!1!==A.end)&&e!==o.stdout&&e!==o.stderr?u:C;function l(A,o){d("onunpipe"),A===t&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,d("cleanup"),e.removeListener("close",m),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",E),e.removeListener("unpipe",l),t.removeListener("end",u),t.removeListener("end",C),t.removeListener("data",h),g=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){d("onend"),e.end()}a.endEmitted?n.nextTick(s):t.once("end",s),e.on("unpipe",l);var c=function(e){return function(){var A=e._readableState;d("pipeOnDrain",A.awaitDrain),A.awaitDrain&&A.awaitDrain--,0===A.awaitDrain&&r(e,"data")&&(A.flowing=!0,k(e))}}(t);e.on("drain",c);var g=!1;var B=!1;function h(A){d("ondata"),B=!1,!1!==e.write(A)||B||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==O(a.pipes,e))&&!g&&(d("false write response, pause",t._readableState.awaitDrain),t._readableState.awaitDrain++,B=!0),t.pause())}function E(A){d("onerror",A),C(),e.removeListener("error",E),0===r(e,"error")&&e.emit("error",A)}function m(){e.removeListener("finish",p),C()}function p(){d("onfinish"),e.removeListener("close",m),C()}function C(){d("unpipe"),t.unpipe(e)}return t.on("data",h),function(e,A,t){if("function"==typeof e.prependListener)return e.prependListener(A,t);e._events&&e._events[A]?i(e._events[A])?e._events[A].unshift(t):e._events[A]=[t,e._events[A]]:e.on(A,t)}(e,"error",E),e.once("close",m),e.once("finish",p),e.emit("pipe",t),a.flowing||(d("pipe resume"),t.resume()),e},C.prototype.unpipe=function(e){var A=this._readableState,t={hasUnpiped:!1};if(0===A.pipesCount)return this;if(1===A.pipesCount)return e&&e!==A.pipes?this:(e||(e=A.pipes),A.pipes=null,A.pipesCount=0,A.flowing=!1,e&&e.emit("unpipe",this,t),this);if(!e){var o=A.pipes,n=A.pipesCount;A.pipes=null,A.pipesCount=0,A.flowing=!1;for(var a=0;a<n;a++)o[a].emit("unpipe",this,t);return this}var i=O(A.pipes,e);return-1===i?this:(A.pipes.splice(i,1),A.pipesCount-=1,1===A.pipesCount&&(A.pipes=A.pipes[0]),e.emit("unpipe",this,t),this)},C.prototype.on=function(e,A){var t=s.prototype.on.call(this,e,A);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var o=this._readableState;o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.emittedReadable=!1,o.reading?o.length&&M(this):n.nextTick(S,this))}return t},C.prototype.addListener=C.prototype.on,C.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,A){A.resumeScheduled||(A.resumeScheduled=!0,n.nextTick(D,e,A))}(this,e)),this},C.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},C.prototype.wrap=function(e){var A=this,t=this._readableState,o=!1;for(var n in e.on("end",function(){if(d("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&A.push(e)}A.push(null)}),e.on("data",function(n){(d("wrapped data"),t.decoder&&(n=t.decoder.write(n)),!t.objectMode||null!==n&&void 0!==n)&&((t.objectMode||n&&n.length)&&(A.push(n)||(o=!0,e.pause())))}),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(A){return function(){return e[A].apply(e,arguments)}}(n));for(var a=0;a<m.length;a++)e.on(m[a],this.emit.bind(this,m[a]));return this._read=function(A){d("wrapped _read",A),o&&(o=!1,e.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=N}).call(this,t(36),t(98))},function(e,A,t){e.exports=t(99).EventEmitter},function(e,A,t){"use strict";var o=t(242);function n(e,A){e.emit("error",A)}e.exports={destroy:function(e,A){var t=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(A?A(e):!e||this._writableState&&this._writableState.errorEmitted||o.nextTick(n,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!A&&e?(o.nextTick(n,t,e),t._writableState&&(t._writableState.errorEmitted=!0)):A&&A(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,A,t){"use strict";e.exports=a;var o=t(150),n=t(191);function a(e){if(!(this instanceof a))return new a(e);o.call(this,e),this._transformState={afterTransform:function(e,A){var t=this._transformState;t.transforming=!1;var o=t.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));t.writechunk=null,t.writecb=null,null!=A&&this.push(A),o(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush(function(A,t){r(e,A,t)}):r(this,null,null)}function r(e,A,t){if(A)return e.emit("error",A);if(null!=t&&e.push(t),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}n.inherits=t(166),n.inherits(a,o),a.prototype.push=function(e,A){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,A)},a.prototype._transform=function(e,A,t){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,A,t){var o=this._transformState;if(o.writecb=t,o.writechunk=e,o.writeencoding=A,!o.transforming){var n=this._readableState;(o.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},a.prototype._read=function(e){var A=this._transformState;null!==A.writechunk&&A.writecb&&!A.transforming?(A.transforming=!0,this._transform(A.writechunk,A.writeencoding,A.afterTransform)):A.needTransform=!0},a.prototype._destroy=function(e,A){var t=this;o.prototype._destroy.call(this,e,function(e){A(e),t.emit("close")})}},function(e,A,t){"use strict";var o=t(45),n=t(127),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";A.encode=function(e){for(var A,t,n,i,r,s,l,u=[],c=0,g=e.length,d=g,B="string"!==o.getTypeOf(e);c<e.length;)d=g-c,B?(A=e[c++],t=c<g?e[c++]:0,n=c<g?e[c++]:0):(A=e.charCodeAt(c++),t=c<g?e.charCodeAt(c++):0,n=c<g?e.charCodeAt(c++):0),i=A>>2,r=(3&A)<<4|t>>4,s=d>1?(15&t)<<2|n>>6:64,l=d>2?63&n:64,u.push(a.charAt(i)+a.charAt(r)+a.charAt(s)+a.charAt(l));return u.join("")},A.decode=function(e){var A,t,o,i,r,s,l=0,u=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&g--,e.charAt(e.length-2)===a.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|g):new Array(0|g);l<e.length;)A=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,t=(15&i)<<4|(r=a.indexOf(e.charAt(l++)))>>2,o=(3&r)<<6|(s=a.indexOf(e.charAt(l++))),c[u++]=A,64!==r&&(c[u++]=t),64!==s&&(c[u++]=o);return c}},function(e,A){var t=e.exports={version:"2.3.0"};"number"==typeof __e&&(__e=t)},function(e,A,t){var o=t(1242);e.exports=function(e,A,t){if(o(e),void 0===A)return e;switch(t){case 1:return function(t){return e.call(A,t)};case 2:return function(t,o){return e.call(A,t,o)};case 3:return function(t,o,n){return e.call(A,t,o,n)}}return function(){return e.apply(A,arguments)}}},function(e,A){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,A,t){var o=t(324),n=t(244).document,a=o(n)&&o(n.createElement);e.exports=function(e){return a?n.createElement(e):{}}},function(e,A,t){"use strict";(function(A){var o=t(45),n=t(1255),a=t(82),i=t(489),r=t(127),s=t(192),l=null;if(r.nodestream)try{l=t(1256)}catch(e){}function u(e,t){return new s.Promise(function(n,a){var r=[],s=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",function(e,A){r.push(e),t&&t(A)}).on("error",function(e){r=[],a(e)}).on("end",function(){try{var e=function(e,A,t){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",A),t);case"base64":return i.encode(A);default:return o.transformTo(e,A)}}(l,function(e,t){var o,n=0,a=null,i=0;for(o=0;o<t.length;o++)i+=t[o].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(i),o=0;o<t.length;o++)a.set(t[o],n),n+=t[o].length;return a;case"nodebuffer":return A.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,r),u);n(e)}catch(e){a(e)}r=[]}).resume()})}function c(e,A,t){var i=A;switch(A){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=A,this._mimeType=t,o.checkSupport(i),this._worker=e.pipe(new n(i)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return u(this,e)},on:function(e,A){var t=this;return"data"===e?this._worker.on(e,function(e){A.call(t,e.data,e.meta)}):this._worker.on(e,function(){o.delay(A,arguments,t)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},e.exports=c}).call(this,t(66).Buffer)},function(e,A,t){"use strict";A.base64=!1,A.binary=!1,A.dir=!1,A.createFolders=!0,A.date=null,A.compression=null,A.compressionOptions=null,A.comment=null,A.unixPermissions=null,A.dosPermissions=null},function(e,A,t){"use strict";var o=t(45),n=t(82);function a(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=o.getTypeOf(e),A.isPaused||A._tickAndRepeat()},function(e){A.error(e)})}o.inherits(a,n),a.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=a},function(e,A,t){"use strict";var o=t(45),n=t(82);function a(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(a,n),a.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},e.exports=a},function(e,A,t){"use strict";var o=t(82),n=t(327);function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t(45).inherits(a,o),a.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=a},function(e,A,t){"use strict";var o=t(82);A.STORE={magic:"\0\0",compressWorker:function(e){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},A.DEFLATE=t(1259)},function(e,A,t){"use strict";e.exports=function(e,A,t,o){for(var n=65535&e|0,a=e>>>16&65535|0,i=0;0!==t;){t-=i=t>2e3?2e3:t;do{a=a+(n=n+A[o++]|0)|0}while(--i);n%=65521,a%=65521}return n|a<<16|0}},function(e,A,t){"use strict";var o=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();e.exports=function(e,A,t,n){var a=o,i=n+t;e^=-1;for(var r=n;r<i;r++)e=e>>>8^a[255&(e^A[r])];return-1^e}},function(e,A,t){"use strict";var o=t(128),n=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var i=new o.Buf8(256),r=0;r<256;r++)i[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;function s(e,A){if(A<65537&&(e.subarray&&a||!e.subarray&&n))return String.fromCharCode.apply(null,o.shrinkBuf(e,A));for(var t="",i=0;i<A;i++)t+=String.fromCharCode(e[i]);return t}i[254]=i[254]=1,A.string2buf=function(e){var A,t,n,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=new o.Buf8(s),i=0,a=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),t<128?A[i++]=t:t<2048?(A[i++]=192|t>>>6,A[i++]=128|63&t):t<65536?(A[i++]=224|t>>>12,A[i++]=128|t>>>6&63,A[i++]=128|63&t):(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63,A[i++]=128|t>>>6&63,A[i++]=128|63&t);return A},A.buf2binstring=function(e){return s(e,e.length)},A.binstring2buf=function(e){for(var A=new o.Buf8(e.length),t=0,n=A.length;t<n;t++)A[t]=e.charCodeAt(t);return A},A.buf2string=function(e,A){var t,o,n,a,r=A||e.length,l=new Array(2*r);for(o=0,t=0;t<r;)if((n=e[t++])<128)l[o++]=n;else if((a=i[n])>4)l[o++]=65533,t+=a-1;else{for(n&=2===a?31:3===a?15:7;a>1&&t<r;)n=n<<6|63&e[t++],a--;a>1?l[o++]=65533:n<65536?l[o++]=n:(n-=65536,l[o++]=55296|n>>10&1023,l[o++]=56320|1023&n)}return s(l,o)},A.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;t>=0&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+i[e[t]]>A?t:A}},function(e,A,t){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,A,t){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,A,t){"use strict";A.LOCAL_FILE_HEADER="PK",A.CENTRAL_FILE_HEADER="PK",A.CENTRAL_DIRECTORY_END="PK",A.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",A.ZIP64_CENTRAL_DIRECTORY_END="PK",A.DATA_DESCRIPTOR="PK\b"},function(e,A,t){"use strict";var o=t(45),n=t(127),a=t(507),i=t(1273),r=t(1274),s=t(509);e.exports=function(e){var A=o.getTypeOf(e);return o.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new r(e):n.uint8array?new s(o.transformTo("uint8array",e)):new a(o.transformTo("array",e)):new i(e)}},function(e,A,t){"use strict";var o=t(508);function n(e){o.call(this,e);for(var A=0;A<this.data.length;A++)e[A]=255&e[A]}t(45).inherits(n,o),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===A&&this.data[a+1]===t&&this.data[a+2]===o&&this.data[a+3]===n)return a-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return A===a[0]&&t===a[1]&&o===a[2]&&n===a[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},e.exports=n},function(e,A,t){"use strict";var o=t(45);function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var A,t=0;for(this.checkOffset(e),A=this.index+e-1;A>=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=n},function(e,A,t){"use strict";var o=t(507);function n(e){o.call(this,e)}t(45).inherits(n,o),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},e.exports=n},function(e,A,t){"use strict";var o=t(167);e.exports=function(e){o.copy(e,this)}},function(e,A,t){"use strict";e.exports=function(e,A){A||(A={}),"function"==typeof A&&(A={cmp:A});var t="boolean"==typeof A.cycles&&A.cycles,o=A.cmp&&function(e){return function(A){return function(t,o){var n={key:t,value:A[t]},a={key:o,value:A[o]};return e(n,a)}}}(A.cmp),n=[];return function e(A){if(A&&A.toJSON&&"function"==typeof A.toJSON&&(A=A.toJSON()),void 0!==A){if("number"==typeof A)return isFinite(A)?""+A:"null";if("object"!=typeof A)return JSON.stringify(A);var a,i;if(Array.isArray(A)){for(i="[",a=0;a<A.length;a++)a&&(i+=","),i+=e(A[a])||"null";return i+"]"}if(null===A)return"null";if(-1!==n.indexOf(A)){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var r=n.push(A)-1,s=Object.keys(A).sort(o&&o(A));for(i="",a=0;a<s.length;a++){var l=s[a],u=e(A[l]);u&&(i&&(i+=","),i+=JSON.stringify(l)+":"+u)}return n.splice(r,1),"{"+i+"}"}}(e)}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o="",n=!0===e.schema.$async,a=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),i=e.self._getId(e.schema);if(e.isTop&&(o+=" var validate = ",n&&(e.async=!0,o+="async "),o+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",i&&(e.opts.sourceCode||e.opts.processCode)&&(o+=" /*# sourceURL="+i+" */ ")),"boolean"==typeof e.schema||!a&&!e.schema.$ref){var r=e.level,s=e.dataLevel,l=e.schema["false schema"],u=e.schemaPath+e.util.getProperty("false schema"),c=e.errSchemaPath+"/false schema",g=!e.opts.allErrors,d="data"+(s||""),B="valid"+r;if(!1===e.schema){e.isTop?g=!0:o+=" var "+B+" = false; ",(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: 'boolean schema is false' "),e.opts.verbose&&(o+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?o+=n?" return data; ":" validate.errors = null; return true; ":o+=" var "+B+" = true; ";return e.isTop&&(o+=" }; return validate; "),o}if(e.isTop){var E=e.isTop;r=e.level=0,s=e.dataLevel=0,d="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[void 0],o+=" var vErrors = null; ",o+=" var errors = 0; ",o+=" if (rootData === undefined) rootData = data; "}else{r=e.level,d="data"+((s=e.dataLevel)||"");if(i&&(e.baseId=e.resolve.url(e.baseId,i)),n&&!e.async)throw new Error("async schema in sync schema");o+=" var errs_"+r+" = errors;"}B="valid"+r,g=!e.opts.allErrors;var m,p="",C="",w=e.schema.type,f=Array.isArray(w);if(f&&1==w.length&&(w=w[0],f=!1),e.schema.$ref&&a){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(a=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(o+=" "+e.RULES.all.$comment.code(e,"$comment")),w){if(e.opts.coerceTypes)var I=e.util.coerceToTypes(e.opts.coerceTypes,w);var Q=e.RULES.types[w];if(I||f||!0===Q||Q&&!q(Q)){u=e.schemaPath+".type",c=e.errSchemaPath+"/type",u=e.schemaPath+".type",c=e.errSchemaPath+"/type";var M=f?"checkDataTypes":"checkDataType";if(o+=" if ("+e.util[M](w,d,!0)+") { ",I){var y="dataType"+r,b="coerced"+r;o+=" var "+y+" = typeof "+d+"; ","array"==e.opts.coerceTypes&&(o+=" if ("+y+" == 'object' && Array.isArray("+d+")) "+y+" = 'array'; "),o+=" var "+b+" = undefined; ";var T="",S=I;if(S)for(var D,k=-1,N=S.length-1;k<N;)D=S[k+=1],k&&(o+=" if ("+b+" === undefined) { ",T+="}"),"array"==e.opts.coerceTypes&&"array"!=D&&(o+=" if ("+y+" == 'array' && "+d+".length == 1) { "+b+" = "+d+" = "+d+"[0]; "+y+" = typeof "+d+"; } "),"string"==D?o+=" if ("+y+" == 'number' || "+y+" == 'boolean') "+b+" = '' + "+d+"; else if ("+d+" === null) "+b+" = ''; ":"number"==D||"integer"==D?(o+=" if ("+y+" == 'boolean' || "+d+" === null || ("+y+" == 'string' && "+d+" && "+d+" == +"+d+" ","integer"==D&&(o+=" && !("+d+" % 1)"),o+=")) "+b+" = +"+d+"; "):"boolean"==D?o+=" if ("+d+" === 'false' || "+d+" === 0 || "+d+" === null) "+b+" = false; else if ("+d+" === 'true' || "+d+" === 1) "+b+" = true; ":"null"==D?o+=" if ("+d+" === '' || "+d+" === 0 || "+d+" === false) "+b+" = null; ":"array"==e.opts.coerceTypes&&"array"==D&&(o+=" if ("+y+" == 'string' || "+y+" == 'number' || "+y+" == 'boolean' || "+d+" == null) "+b+" = ["+d+"]; ");o+=" "+T+" if ("+b+" === undefined) { ",(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else { ";var R=s?"data"+(s-1||""):"parentData",F=s?e.dataPathArr[s]:"parentDataProperty";o+=" "+d+" = "+b+"; ",s||(o+="if ("+R+" !== undefined)"),o+=" "+R+"["+F+"] = "+b+"; } "}else{(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}o+=" } "}}if(e.schema.$ref&&!a)o+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",g&&(o+=" } if (errors === ",o+=E?"0":"errs_"+r,o+=") { ",C+="}");else{var O=e.RULES;if(O)for(var Y=-1,v=O.length-1;Y<v;)if(q(Q=O[Y+=1])){if(Q.type&&(o+=" if ("+e.util.checkDataType(Q.type,d)+") { "),e.opts.useDefaults&&!e.compositeRule)if("object"==Q.type&&e.schema.properties){l=e.schema.properties;var U=Object.keys(l);if(U)for(var G,_=-1,L=U.length-1;_<L;){if(void 0!==(H=l[G=U[_+=1]]).default)o+=" if ("+(j=d+e.util.getProperty(G))+" === undefined) "+j+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(H.default)+" ":o+=" "+JSON.stringify(H.default)+" ",o+="; "}}else if("array"==Q.type&&Array.isArray(e.schema.items)){var x=e.schema.items;if(x){k=-1;for(var H,P=x.length-1;k<P;){var j;if(void 0!==(H=x[k+=1]).default)o+=" if ("+(j=d+"["+k+"]")+" === undefined) "+j+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(H.default)+" ":o+=" "+JSON.stringify(H.default)+" ",o+="; "}}}var J=Q.rules;if(J)for(var z,W=-1,K=J.length-1;W<K;)if(Z(z=J[W+=1])){var V=z.code(e,z.keyword,Q.type);V&&(o+=" "+V+" ",g&&(p+="}"))}if(g&&(o+=" "+p+" ",p=""),Q.type&&(o+=" } ",w&&w===Q.type&&!I)){o+=" else { ";var X;u=e.schemaPath+".type",c=e.errSchemaPath+"/type";(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } "}g&&(o+=" if (errors === ",o+=E?"0":"errs_"+r,o+=") { ",C+="}")}}function q(e){for(var A=e.rules,t=0;t<A.length;t++)if(Z(A[t]))return!0}function Z(A){return void 0!==e.schema[A.keyword]||A.implements&&function(A){for(var t=A.implements,o=0;o<t.length;o++)if(void 0!==e.schema[t[o]])return!0}(A)}return g&&(o+=" "+C+" "),E?(n?(o+=" if (errors === 0) return data; ",o+=" else throw new ValidationError(vErrors); "):(o+=" validate.errors = vErrors; ",o+=" return errors === 0; "),o+=" }; return validate;"):o+=" var "+B+" = errors === errs_"+r+";",o=e.util.cleanUpCode(o),E&&(o=e.util.finalCleanUpCode(o,n)),o}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r;var d="maximum"==A,B=d?"exclusiveMaximum":"exclusiveMinimum",h=e.schema[B],E=e.opts.$data&&h&&h.$data,m=d?"<":">",p=d?">":"<",C=void 0;if(E){var w=e.util.getData(h.$data,i,e.dataPathArr),f="exclusive"+a,I="exclType"+a,Q="exclIsNumber"+a,M="' + "+(T="op"+a)+" + '";n+=" var schemaExcl"+a+" = "+w+"; ",n+=" var "+f+"; var "+I+" = typeof "+(w="schemaExcl"+a)+"; if ("+I+" != 'boolean' && "+I+" != 'undefined' && "+I+" != 'number') { ";var y;C=B;(y=y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(C||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: '"+B+" should be boolean' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var b=n;n=y.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+b+"]); ":n+=" validate.errors = ["+b+"]; return false; ":n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+I+" == 'number' ? ( ("+f+" = "+o+" === undefined || "+w+" "+m+"= "+o+") ? "+c+" "+p+"= "+w+" : "+c+" "+p+" "+o+" ) : ( ("+f+" = "+w+" === true) ? "+c+" "+p+"= "+o+" : "+c+" "+p+" "+o+" ) || "+c+" !== "+c+") { var op"+a+" = "+f+" ? '"+m+"' : '"+m+"='; ",void 0===r&&(C=B,l=e.errSchemaPath+"/"+B,o=w,g=E)}else{M=m;if((Q="number"==typeof h)&&g){var T="'"+M+"'";n+=" if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" ( "+o+" === undefined || "+h+" "+m+"= "+o+" ? "+c+" "+p+"= "+h+" : "+c+" "+p+" "+o+" ) || "+c+" !== "+c+") { "}else{Q&&void 0===r?(f=!0,C=B,l=e.errSchemaPath+"/"+B,o=h,p+="="):(Q&&(o=Math[d?"min":"max"](h,r)),h===(!Q||o)?(f=!0,C=B,l=e.errSchemaPath+"/"+B,p+="="):(f=!1,M+="="));T="'"+M+"'";n+=" if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+c+" "+p+" "+o+" || "+c+" !== "+c+") { "}}C=C||A,(y=y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(C||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+T+", limit: "+o+", exclusive: "+f+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be "+M+" ",n+=g?"' + "+o:o+"'"),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";b=n;return n=y.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+b+"]); ":n+=" validate.errors = ["+b+"]; return false; ":n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r,n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+c+".length "+("maxItems"==A?">":"<")+" "+o+") { ";var d=A,B=B||[];B.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxItems"==A?"more":"less",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" items' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var h=n;return n=B.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+h+"]); ":n+=" validate.errors = ["+h+"]; return false; ":n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r;var d="maxLength"==A?">":"<";n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),!1===e.opts.unicode?n+=" "+c+".length ":n+=" ucs2length("+c+") ",n+=" "+d+" "+o+") { ";var B=A,h=h||[];h.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(B||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be ",n+="maxLength"==A?"longer":"shorter",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" characters' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var E=n;return n=h.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+E+"]); ":n+=" validate.errors = ["+E+"]; return false; ":n+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r,n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" Object.keys("+c+").length "+("maxProperties"==A?">":"<")+" "+o+") { ";var d=A,B=B||[];B.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxProperties"==A?"more":"less",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" properties' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var h=n;return n=B.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+h+"]); ":n+=" validate.errors = ["+h+"]; return false; ":n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A){(function(A){e.exports=A}).call(this,{})},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function a(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var i=t(233),r=t(148),s=t(241).loadSoundFromAsset,l=t(240).loadCostumeFromAsset,u=t(478),c=t(109),g=t(126),d=function(){function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.runtime=t,A||(A=new r(t)),this.blocks=A,this.name="",this.costumes_=[],this.sounds=[],this.clones=[],this.soundBank=null,this.runtime&&this.runtime.audioEngine&&(this.soundBank=this.runtime.audioEngine.createBank())}return function(e,A,t){A&&a(e.prototype,A),t&&a(e,t)}(e,[{key:"costumes",get:function(){return this.costumes_},set:function(e){this.costumes_=[];var A,t=o(e);try{for(t.s();!(A=t.n()).done;){var n=A.value;this.addCostumeAt(n,this.costumes_.length)}}catch(e){t.e(e)}finally{t.f()}}},{key:"addCostumeAt",value:function(e,A){e.name||(e.name="");var t=this.costumes_.map(function(e){return e.name});e.name=c.unusedName(e.name,t),this.costumes_.splice(A,0,e)}},{key:"deleteCostumeAt",value:function(e){return this.costumes.splice(e,1)[0]}},{key:"createClone",value:function(e){var A=new i(this,this.runtime);if(A.isOriginal=0===this.clones.length,this.clones.push(A),A.initAudio(),A.isOriginal){var t="string"==typeof e?e:g.SPRITE_LAYER;A.initDrawable(t),this.runtime.fireTargetWasCreated(A)}else this.runtime.fireTargetWasCreated(A,this.clones[0]);return A}},{key:"removeClone",value:function(e){this.runtime.fireTargetWasRemoved(e);var A=this.clones.indexOf(e);A>=0&&this.clones.splice(A,1)}},{key:"duplicate",value:function(){var A=this,t=new e(null,this.runtime),o=this.blocks._blocks,n=Object.keys(o).map(function(e){return o[e]}),a=JSON.parse(JSON.stringify(n));u(a),a.forEach(function(e){t.blocks.createBlock(e)});var i=this.runtime.targets.map(function(e){return e.sprite.name});t.name=c.unusedName(this.name,i);var r=[];return t.costumes=this.costumes_.map(function(e){var t=Object.assign({},e);return r.push(l(t,A.runtime)),t}),t.sounds=this.sounds.map(function(e){var o=Object.assign({},e),n=e.asset;return r.push(s(o,n,A.runtime,t.soundBank)),o}),Promise.all(r).then(function(){return t})}},{key:"dispose",value:function(){this.soundBank&&this.soundBank.dispose()}}]),e}();e.exports=d},function(e,A,t){var o=t(449),n=t(39);e.exports={deserializeSound:function(e,A,t,a){var i=a||e.md5,r=A.storage;if(!r)return n.warn("No storage module present; cannot load sound asset: ",i),Promise.resolve(null);if(!t)return Promise.resolve(null);var s=t.file(i);if(!s){var l=new RegExp("^([^/]*/)?".concat(i,"$"));s=t.file(l)[0]}if(!s)return n.error("Could not find sound file associated with the ".concat(e.name," sound.")),Promise.resolve(null);if(!o.support.uint8array)return n.error("JSZip uint8array is not supported in this browser."),Promise.resolve(null);var u="mp3"===e.dataFormat.toLowerCase()?r.DataFormat.MP3:r.DataFormat.WAV;return s.async("uint8array").then(function(e){return r.createAsset(r.AssetType.Sound,u,e,null,!0)}).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)})},deserializeCostume:function(e,A,t,a,i){var r=A.storage,s=e.assetId,l=a||"".concat(s,".").concat(e.dataFormat);if(!r)return n.warn("No storage module present; cannot load costume asset: ",l),Promise.resolve(null);if(e.asset)return Promise.resolve(r.createAsset(e.asset.assetType,e.asset.dataFormat,new Uint8Array(Object.keys(e.asset.data).map(function(A){return e.asset.data[A]})),null,!0)).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)});if(!t)return Promise.resolve(null);var u=t.file(l);if(!u){var c=new RegExp("^([^/]*/)?".concat(l,"$"));u=t.file(c)[0]}if(!u)return n.error("Could not find costume file associated with the ".concat(e.name," costume.")),Promise.resolve(null);var g,d=null,B=e.dataFormat.toLowerCase();if("svg"===B?d=r.AssetType.ImageVector:["png","bmp","jpeg","jpg","gif"].indexOf(B)>=0?d=r.AssetType.ImageBitmap:n.error("Unexpected file format for costume: ".concat(B)),!o.support.uint8array)return n.error("JSZip uint8array is not supported in this browser."),Promise.resolve(null);if(e.textLayerMD5){var h=t.file(i);if(!h)return n.error("Could not find text layer file associated with the ".concat(e.name," costume.")),Promise.resolve(null);g=h.async("uint8array").then(function(A){return r.createAsset(r.AssetType.ImageBitmap,"png",A,e.textLayerMD5)}).then(function(A){e.textLayerAsset=A})}else g=Promise.resolve(null);return Promise.all([g,u.async("uint8array").then(function(e){return r.createAsset(d,B,e,null,!0)}).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)})])}}},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,n,a=[],i=!0,r=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!A||a.length!==A);i=!0);}catch(e){r=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(r)throw n}}return a}(e,A)||a(e,A)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,A){if(e){if("string"==typeof e)return i(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,A):void 0}}function i(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var r=t(148),s=t(233),l=t(518),u=t(187),c=t(39),g=t(100),d=t(109),B=t(60),h=t(1324),E=t(319),m=t(125),p=t(317),C=t(126),w=t(240).loadCostume,f=t(241).loadSound,I=t(519),Q=I.deserializeCostume,M=I.deserializeSound,y=["argument","control","data","event","looks","math","motion","operator","procedures","sensing","sound"],b=function(e){for(var A=[{}],t=0,o=e.split(/(?=[^\\]%[nbs])/),n=0;n<o.length;n++){var a=o[n].trim();if("%"===a.substring(0,1)){var i=a.substring(1,2),r={type:"input",inputName:"input"+t++};"n"===i?r.inputOp="math_number":"s"===i?r.inputOp="text":"b"===i&&(r.inputOp="boolean"),A.push(r)}}return A},T=function(e){return b(e).map(function(e){return e.inputName}).filter(function(e){return e})},S=function e(A){for(var t=[],o=0;o<A.length;o++){var n=A[o];t.push(n),n.children&&(t=t.concat(e(n.children))),delete n.children}return t},D=function(e,A,t,o,n,a,i){for(var r=[],s=null,l=0;l<e.length;l++){var u=e[l],c=Y(u,A,t,o,n,a,i),g=c[0];i=c[1],g&&(s&&(g.parent=s.id,s.next=g.id),s=g,r.push(g))}return[r,i]},k=function(){var e={},A=function(e,A,t){return"".concat(e,"-").concat(d.replaceUnsafeChars(A),"-").concat(t)};return function(t,o){return o&&(e={}),function(n,a){return o?(e["".concat(n,"-").concat(a)]=A(t,n,a),e["".concat(n,"-").concat(a)]):e["".concat(n,"-").concat(a)]?e["".concat(n,"-").concat(a)]:A(t,n,a)}}}(),N=function(){var e={},A=[],t=g();return function(o){return o&&(e={}),{broadcastMsgMapUpdater:function(o,n){return""===(o=o.toLowerCase())&&(o=t),e[o]="broadcastMsgId-".concat(d.replaceUnsafeChars(o)),A.push(n),e[o]},globalBroadcastMsgs:e,allBroadcastFields:A,emptyMsgName:t}}}(),R=function(e,A,t,o){if(h[e.cmd]){var a=h[e.cmd].opcode,i=a.indexOf("_"),r=a.substring(0,i);if("videoSensing"!==r&&(-1!==y.indexOf(r)||""===r||o.extensionIDs.has(r)||e.visible)){var s=null;if(!e.hasOwnProperty("target"))for(var l=function(A){var o=t[A];Object.keys(o.variables).filter(function(A){var t=o.variables[A];return t.type===m.LIST_TYPE&&t.name===e.listName}).length>0&&(s=o,e.target=o.getName())},u=0;u<t.length;u++)l(u);if(!(s=s||t.filter(function(A){return A.getName()===e.target})[0]))throw new Error("Cannot create monitor for target that cannot be found by name");var g=k(s.id,!1),d=n(Y([e.cmd,e.param],null,g,o,{},null,null),2),B=d[0];d[1];"getVar:"===e.cmd?B.id=g(e.param,m.SCALAR_TYPE):"contentsOfList:"===e.cmd?B.id=g(e.param,m.LIST_TYPE):A.monitorBlockInfo.hasOwnProperty(B.opcode)?B.id=A.monitorBlockInfo[B.opcode].getId(s.id,B.fields):B.id=B.opcode,B.targetId=s.isStage?null:s.id,B.isMonitored=e.visible;var E=A.monitorBlocks._blocks[B.id];if(E)E.isMonitored=e.visible,E.targetId=B.targetId;else for(var C=S([B]),w=0;w<C.length;w++)A.monitorBlocks.createBlock(C[w]);switch(e.mode){case 1:e.mode="default";break;case 2:e.mode="large";break;case 3:e.mode="slider"}A.requestAddMonitor(p({id:B.id,targetId:B.targetId,spriteName:B.targetId?e.target:null,opcode:B.opcode,params:A.monitorBlocks._getBlockParams(B),value:"",mode:e.mode,sliderMin:e.sliderMin,sliderMax:e.sliderMax,isDiscrete:e.isDiscrete,x:e.x,y:e.y,width:e.width,height:e.height,visible:e.visible}))}}else c.warn("Could not find monitor block with opcode: ".concat(e.cmd))},F=function e(A,t,o,i,u,c){if(!A.hasOwnProperty("objName"))return A.hasOwnProperty("listName")&&(A.cmd="contentsOfList:",A.param=A.listName,A.mode="list"),A.deferredMonitor=!0,Promise.resolve(A);var g=new r(t),d=new l(g,t);if(A.hasOwnProperty("objName")){if(i&&"Stage"!==A.objName){var h,p=function(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=a(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}(A.children);try{for(p.s();!(h=p.n()).done;){var w=h.value;w.hasOwnProperty("objName")||w.target!==A.objName||(w.target="Stage")}}catch(e){p.e(e)}finally{p.f()}A.objName="Stage"}d.name=A.objName}var f=c.costumePromises,I=c.soundBank,Q=c.soundPromises,M=d.createClone(i?C.BACKGROUND_LAYER:C.SPRITE_LAYER),y=k(M.id,i),b=N(i),T=b.broadcastMsgMapUpdater;if(A.hasOwnProperty("variables"))for(var F=0;F<A.variables.length;F++){var O=A.variables[F],Y=O.isPersistent&&i&&t.canAddCloudVariable(),v=new m(y(O.name,m.SCALAR_TYPE),O.name,m.SCALAR_TYPE,Y);Y&&t.addCloudVariable(),v.value=O.value,M.variables[v.id]=v}var U={};A.hasOwnProperty("scriptComments")&&A.scriptComments.map(function(e){var A=n(e,7),t=A[0],o=A[1],a=A[2],i=A[3],r=A[4],s=A[5],l=A[6],u=e[5]>=0,c=new E(null,l,u?null:1.5*t,u?null:2.2*o,1.5*a,2.2*i,!r);return u&&(c.blockId=s,U.hasOwnProperty(s)?U[s].push(c):U[s]=[c]),c}).forEach(function(e){M.comments[e.id]=e});for(var G in A.hasOwnProperty("scripts")&&function(e,A,t,o,a,i){for(var r=0,s=0;s<e.length;s++){var l=e[s],u=l[0],c=l[1],g=l[2],d=n(D(g,t,o,a,{},i,r),2),B=d[0];r=d[1],B[0]&&(B[0].x=1.5*u,B[0].y=2.2*c,B[0].topLevel=!0,B[0].parent=null);for(var h=S(B),E=0;E<h.length;E++)A.createBlock(h[E])}}(A.scripts,g,T,y,o,U),U){U[G].forEach(function(e){"number"==typeof e.blockId&&(e.blockId=null)})}if(g.updateTargetSpecificBlocks(i),A.hasOwnProperty("lists"))for(var _=0;_<A.lists.length;_++){var L=A.lists[_],x=new m(y(L.listName,m.LIST_TYPE),L.listName,m.LIST_TYPE,!1);x.value=L.contents,M.variables[x.id]=x}A.hasOwnProperty("scratchX")&&(M.x=A.scratchX),A.hasOwnProperty("scratchY")&&(M.y=A.scratchY),A.hasOwnProperty("direction")&&(M.direction=A.direction),A.hasOwnProperty("isDraggable")&&(M.draggable=A.isDraggable),A.hasOwnProperty("scale")&&(M.size=100*A.scale),A.hasOwnProperty("visible")&&(M.visible=A.visible),A.hasOwnProperty("currentCostumeIndex")&&(M.currentCostume=B.clamp(Math.floor(A.currentCostumeIndex),0,A.costumes.length-1)),A.hasOwnProperty("rotationStyle")&&("none"===A.rotationStyle?M.rotationStyle=s.ROTATION_STYLE_NONE:"leftRight"===A.rotationStyle?M.rotationStyle=s.ROTATION_STYLE_LEFT_RIGHT:"normal"===A.rotationStyle&&(M.rotationStyle=s.ROTATION_STYLE_ALL_AROUND)),A.hasOwnProperty("tempoBPM")&&(M.tempo=A.tempoBPM),A.hasOwnProperty("videoAlpha")&&(M.videoTransparency=100-100*A.videoAlpha),A.hasOwnProperty("info")&&A.info.hasOwnProperty("videoOn")&&(A.info.videoOn?M.videoState=s.VIDEO_STATE.ON:M.videoState=s.VIDEO_STATE.OFF),A.hasOwnProperty("indexInLibrary")&&(M.targetPaneOrder=A.indexInLibrary),M.isStage=i,Promise.all(f).then(function(e){d.costumes=e}),Promise.all(Q).then(function(e){d.sounds=e,d.soundBank=I||null});var H=[];if(A.children)for(var P=0;P<A.children.length;P++)H.push(e(A.children[P],t,o,!1,u,c.children[P]));return Promise.all(f.concat(Q)).then(function(){return Promise.all(H).then(function(e){if(M.isStage){var A=b.globalBroadcastMsgs,n=b.allBroadcastFields,a=b.emptyMsgName;if(A[a]){for(var i=1;A["message".concat(i)];)i+=1;var r="message".concat(i);A[r]=A[a],delete A[a];for(var s=0;s<n.length;s++)""===n[s].value&&(n[s].value=r)}for(var l in A){var u=A[l],c=new m(u,l,m.BROADCAST_MESSAGE_TYPE,!1);M.variables[c.id]=c}}for(var g=[M],d=[],B=0;B<e.length;B++)e[B]&&(e[B].deferredMonitor?d.push(e[B]):g=g.concat(e[B]));for(var h=0;h<d.length;h++)R(d[h],t,g,o);return g})})},O=function(e){var A=e.map(function(e,A){return e.layerOrder=A,e}).sort(function(e,A){return e.targetPaneOrder-A.targetPaneOrder});return A.forEach(function(e){delete e.targetPaneOrder}),A},Y=function e(A,t,a,i,r,s,l){var d=s&&"number"==typeof l&&!isNaN(l)?s[l]:null,B=function(e){var A=e[0],t=A&&h[A];return t?"function"==typeof t?t(e):t:(c.warn("Couldn't find SB2 block: ".concat(A)),null)}(A);if(!B)return d&&d.forEach(function(e){e.blockId=null,e.x=e.y=0}),[null,l+1];var E=A[0],p=B.opcode.indexOf("_"),C=B.opcode.substring(0,p);-1===y.indexOf(C)&&""!==C&&i.extensionIDs.add(C);var w={id:g(),opcode:B.opcode,inputs:{},fields:{},next:null,shadow:!1,children:[]};d&&(w.comment=d[d.length-1].id,d.forEach(function(e){e.id===w.comment?e.blockId=w.id:(e.blockId=null,e.x=e.y=0)})),l++;var f=r.expectedArg;"call"===E&&(B.argMap=b(A[1]));for(var I=0;I<B.argMap.length;I++){var Q=B.argMap[I],M=A[I+1],S=!1;if("input"===Q.type){var k=g();if(w.inputs[Q.inputName]={name:Q.inputName,block:null,shadow:null},"object"===o(M)&&M){var N=void 0;if(r.expectedArg=Q,"object"===o(M[0])&&M[0]){var R=n(D(M,t,a,i,r,s,l),2);N=R[0],l=R[1]}else{var F=e(M,t,a,i,r,s,l);N=F[0]?[F[0]]:[],l=F[1]}if(r.expectedArg=f,N.length>0){for(var O=null,Y=0;Y<N.length;Y++)N[Y].parent=0===Y?w.id:O,O=N[Y].id;w.inputs[Q.inputName].block=N[0].id,w.children=w.children.concat(N)}S=!0}if(!Q.inputOp){c.warn("Unknown input operation for input ".concat(Q.inputName," of opcode ").concat(w.opcode,"."));continue}if("boolean"===Q.inputOp||"substack"===Q.inputOp)continue;var v=M,U=Q.inputName;"math_number"===Q.inputOp||"math_whole_number"===Q.inputOp||"math_positive_number"===Q.inputOp||"math_integer"===Q.inputOp||"math_angle"===Q.inputOp?(U="NUM",S&&(v=10)):"text"===Q.inputOp?(U="TEXT",S&&(v="")):"colour_picker"===Q.inputOp?(v=u.decimalToHex(M),U="COLOUR",S&&(v="#990000")):"event_broadcast_menu"===Q.inputOp?(U="BROADCAST_OPTION",S&&(v="")):"sensing_of_object_menu"===Q.inputOp?S?v="_stage_":"Stage"===v&&(v="_stage_"):"note"===Q.inputOp?S&&(v=60):"music.menu.DRUM"===Q.inputOp?S&&(v=1):"music.menu.INSTRUMENT"===Q.inputOp?S&&(v=1):"videoSensing.menu.ATTRIBUTE"===Q.inputOp?S&&(v="motion"):"videoSensing.menu.SUBJECT"===Q.inputOp?S&&(v="this sprite"):"videoSensing.menu.VIDEO_STATE"===Q.inputOp?S&&(v="on"):S&&(v="");var G={};if(G[U]={name:U,value:v},"event_broadcast_menu"===Q.inputOp){var _=t(v,G[U]);G[U].id=_,G[U].variableType=Q.variableType}w.children.push({id:k,opcode:Q.inputOp,inputs:{},fields:G,next:null,topLevel:!1,parent:w.id,shadow:!0}),w.inputs[Q.inputName].shadow=k,w.inputs[Q.inputName].block||(w.inputs[Q.inputName].block=k)}else if("field"===Q.type){if(w.fields[Q.fieldName]={name:Q.fieldName,value:M},"CURRENTMENU"===Q.fieldName&&(w.fields[Q.fieldName].value=M.toUpperCase(),"day of week"===M&&(w.fields[Q.fieldName].value="DAYOFWEEK")),"VARIABLE"===Q.fieldName)w.fields[Q.fieldName].id=a(M,m.SCALAR_TYPE);else if("LIST"===Q.fieldName)w.fields[Q.fieldName].id=a(M,m.LIST_TYPE);else if("BROADCAST_OPTION"===Q.fieldName){var L=t(M,w.fields[Q.fieldName]);w.fields[Q.fieldName].id=L}var x=Q.variableType;"string"==typeof x&&(w.fields[Q.fieldName].variableType=x)}}switch(E){case"comeToFront":w.fields.FRONT_BACK={name:"FRONT_BACK",value:"front"};break;case"goBackByLayers:":w.fields.FORWARD_BACKWARD={name:"FORWARD_BACKWARD",value:"backward"};break;case"backgroundIndex":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"number"};break;case"sceneName":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"name"};break;case"costumeIndex":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"number"};break;case"costumeName":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"name"}}if("stopScripts"===E)"other scripts in sprite"!==A[1]&&"other scripts in stage"!==A[1]||(w.mutation={tagName:"mutation",hasnext:"true",children:[]});else if("procDef"===E){var H=A.slice(1),P=g();w.inputs.custom_block={name:"custom_block",block:P,shadow:P},w.children=[{id:P,opcode:"procedures_prototype",inputs:{},fields:{},next:null,shadow:!0,children:[],mutation:{tagName:"mutation",proccode:H[0],argumentnames:JSON.stringify(H[1]),argumentids:JSON.stringify(T(H[0])),argumentdefaults:JSON.stringify(H[2]),warp:H[3],children:[]}}]}else if("call"===E)w.mutation={tagName:"mutation",children:[],proccode:A[1],argumentids:JSON.stringify(T(A[1]))};else if("getParam"===E){var j=A[2];switch(f&&"boolean"===f.inputOp&&"b"!==j&&(j="b"),j){case"r":w.opcode="argument_reporter_string_number";break;case"b":w.opcode="argument_reporter_boolean"}}return[w,l]};e.exports={deserialize:function(e,A,t,o){var n={extensionIDs:new Set,extensionURLs:new Map};return Promise.resolve(function e(A,t,o,n){if(!A.hasOwnProperty("objName"))return null;var a={costumePromises:[],soundPromises:[],soundBank:t.audioEngine&&t.audioEngine.createBank(),children:[]},i=a.costumePromises;if(A.hasOwnProperty("costumes"))for(var r=function(e){var a=A.costumes[e],r=a.bitmapResolution||1,s={name:a.costumeName,bitmapResolution:r,rotationCenterX:o?240*r:a.rotationCenterX,rotationCenterY:o?180*r:a.rotationCenterY,md5:a.baseLayerMD5,skinId:null},l=a.baseLayerMD5,u=d.splitFirst(l,"."),c=u[0],g=void 0;2===u.length&&u[1]?g=u[1]:(g="png",s.md5="".concat(s.md5,".").concat(g)),s.dataFormat=g,s.assetId=c,a.textLayerMD5&&(s.textLayerMD5=d.splitFirst(a.textLayerMD5,".")[0]);var B="".concat(a.baseLayerID,".").concat(g),h=a.textLayerID?"".concat(a.textLayerID,".png"):null;i.push(Q(s,t,n,B,h).then(function(){return w(s.md5,s,t,2)}))},s=0;s<A.costumes.length;s++)r(s);var l=a.soundBank,u=a.soundPromises;if(A.hasOwnProperty("sounds"))for(var c=function(e){var o=A.sounds[e],a={name:o.soundName,format:o.format,rate:o.rate,sampleCount:o.sampleCount,md5:o.md5,data:null},i=o.md5,r=d.splitFirst(i,"."),s=r[0],c=r[1].toLowerCase();a.dataFormat=c,a.assetId=s;var g="".concat(o.soundID,".").concat(c);u.push(M(a,t,n,g).then(function(){return f(a,t,l)}))},g=0;g<A.sounds.length;g++)c(g);var B=a.children;if(A.children)for(var h=0;h<A.children.length;h++)B.push(e(A.children[h],t,!1,n));return a}(e,A,!t,o)).then(function(e){return Promise.resolve(e)}).then(function(a){return F(e,A,n,!t,o,a)}).then(O).then(function(e){return{targets:e,extensions:n}})}}},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
96
|
+
*/n=[],void 0===(a="function"==typeof(o=function(){var e=function(e,A){this._dragged=!1,this._element=e,this._bindedMove=this._moved.bind(this),this._bindedEnd=this._ended.bind(this,A),e.addEventListener("touchstart",this._bindedEnd),e.addEventListener("touchmove",this._bindedMove),e.addEventListener("touchend",this._bindedEnd),e.addEventListener("mouseup",this._bindedEnd)};function A(e){return"running"===e.state}return e.prototype._moved=function(e){this._dragged=!0},e.prototype._ended=function(e){this._dragged||function(e){var A=e.createBuffer(1,1,e.sampleRate),t=e.createBufferSource();t.buffer=A,t.connect(e.destination),t.start(0),e.resume&&e.resume()}(e),this._dragged=!1},e.prototype.dispose=function(){this._element.removeEventListener("touchstart",this._bindedEnd),this._element.removeEventListener("touchmove",this._bindedMove),this._element.removeEventListener("touchend",this._bindedEnd),this._element.removeEventListener("mouseup",this._bindedEnd),this._bindedMove=null,this._bindedEnd=null,this._element=null},function(t,o,n){var a=new Promise(function(e){!function(e,t){A(e)?t():function o(){A(e)?t():(requestAnimationFrame(o),e.resume&&e.resume())}()}(t,e)}),i=[];return o||(o=document.body),function A(t,o,n){if(Array.isArray(t)||NodeList&&t instanceof NodeList)for(var a=0;a<t.length;a++)A(t[a],o,n);else if("string"==typeof t)A(document.querySelectorAll(t),o,n);else if(t.jquery&&"function"==typeof t.toArray)A(t.toArray(),o,n);else if(Element&&t instanceof Element){var i=new e(t,n);o.push(i)}}(o,i,t),a.then(function(){for(var e=0;e<i.length;e++)i[e].dispose();i=null,n&&n()}),a}})?o.apply(A,n):o)||(e.exports=a)},function(e,A,t){!function(A,o){e.exports=o(t(1),t(0))}("undefined"!=typeof self&&self,function(e,A){return function(e){var A={};function t(o){if(A[o])return A[o].exports;var n=A[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=A,t.d=function(e,A,o){t.o(e,A)||Object.defineProperty(e,A,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var A=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(A,"a",A),A},t.o=function(e,A){return Object.prototype.hasOwnProperty.call(e,A)},t.p="",t(t.s=2)}([function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){console.warn("[react-ga]",e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return e.replace(/^\s+|\s+$/g,"")}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.testModeAPI=A.OutboundLink=A.plugin=void 0;var o=Object.assign||function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};A.initialize=I,A.ga=Q,A.set=M,A.send=y,A.pageview=b,A.modalview=T,A.timing=S,A.event=D,A.exception=k,A.outboundLink=R;var a=d(t(3)),i=d(t(6)),r=d(t(1)),s=d(t(7)),l=d(t(0)),u=d(t(8)),c=d(t(9)),g=d(t(10));function d(e){return e&&e.__esModule?e:{default:e}}var B=!1,h=!0,E=!1,m=!0,p=function(){var e;return E?c.default.ga.apply(c.default,arguments):window.ga?(e=window).ga.apply(e,arguments):(0,l.default)("ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually")};function C(e){return(0,a.default)(e,h)}function w(e){for(var A=arguments.length,t=Array(A>1?A-1:0),o=1;o<A;o++)t[o-1]=arguments[o];var n=t[0];if("function"==typeof p){if("string"!=typeof n)return void(0,l.default)("ga command must be a string");!m&&Array.isArray(e)||p.apply(void 0,t),Array.isArray(e)&&e.forEach(function(e){p.apply(void 0,function(e){if(Array.isArray(e)){for(var A=0,t=Array(e.length);A<e.length;A++)t[A]=e[A];return t}return Array.from(e)}([e+"."+n].concat(t.slice(1))))})}}function f(e,A){e?(A&&(A.debug&&!0===A.debug&&(B=!0),!1===A.titleCase&&(h=!1)),A&&A.gaOptions?p("create",e,A.gaOptions):p("create",e,"auto")):(0,l.default)("gaTrackingID is required in initialize()")}function I(e,A){if(A&&!0===A.testMode)E=!0;else{if("undefined"==typeof window)return!1;(0,s.default)(A)}return m=!A||"boolean"!=typeof A.alwaysSendToDefaultTracker||A.alwaysSendToDefaultTracker,Array.isArray(e)?e.forEach(function(e){"object"===(void 0===e?"undefined":n(e))?f(e.trackingId,e):(0,l.default)("All configs must be an object")}):f(e,A),!0}function Q(){for(var e=arguments.length,A=Array(e),t=0;t<e;t++)A[t]=arguments[t];return A.length>0&&(p.apply(void 0,A),B&&((0,u.default)("called ga('arguments');"),(0,u.default)("with arguments: "+JSON.stringify(A)))),window.ga}function M(e,A){e?"object"===(void 0===e?"undefined":n(e))?(0===Object.keys(e).length&&(0,l.default)("empty `fieldsObject` given to .set()"),w(A,"set",e),B&&((0,u.default)("called ga('set', fieldsObject);"),(0,u.default)("with fieldsObject: "+JSON.stringify(e)))):(0,l.default)("Expected `fieldsObject` arg to be an Object"):(0,l.default)("`fieldsObject` is required in .set()")}function y(e,A){w(A,"send",e),B&&((0,u.default)("called ga('send', fieldObject);"),(0,u.default)("with fieldObject: "+JSON.stringify(e)),(0,u.default)("with trackers: "+JSON.stringify(A)))}function b(e,A,t){if(e){var n=(0,r.default)(e);if(""!==n){var a={};if(t&&(a.title=t),w(A,"send",o({hitType:"pageview",page:n},a)),B){(0,u.default)("called ga('send', 'pageview', path);");var i="";t&&(i=" and title: "+t),(0,u.default)("with path: "+n+i)}}else(0,l.default)("path cannot be an empty string in .pageview()")}else(0,l.default)("path is required in .pageview()")}function T(e,A){if(e){var t=(0,i.default)((0,r.default)(e));if(""!==t){var o="/modal/"+t;w(A,"send","pageview",o),B&&((0,u.default)("called ga('send', 'pageview', path);"),(0,u.default)("with path: "+o))}else(0,l.default)("modalName cannot be an empty string or a single / in .modalview()")}else(0,l.default)("modalName is required in .modalview(modalName)")}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=e.category,t=e.variable,o=e.value,n=e.label,a=arguments[1];if(A&&t&&o&&"number"==typeof o){var i={hitType:"timing",timingCategory:C(A),timingVar:C(t),timingValue:o};n&&(i.timingLabel=C(n)),y(i,a)}else(0,l.default)("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},A=arguments[1],t=e.category,o=e.action,n=e.label,a=e.value,i=e.nonInteraction,r=e.transport,s=function(e,A){var t={};for(var o in e)A.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}(e,["category","action","label","value","nonInteraction","transport"]);if(t&&o){var u={hitType:"event",eventCategory:C(t),eventAction:C(o)};n&&(u.eventLabel=C(n)),void 0!==a&&("number"!=typeof a?(0,l.default)("Expected `args.value` arg to be a Number."):u.eventValue=a),void 0!==i&&("boolean"!=typeof i?(0,l.default)("`args.nonInteraction` must be a boolean."):u.nonInteraction=i),void 0!==r&&("string"!=typeof r?(0,l.default)("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(r)&&(0,l.default)("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=r)),Object.keys(s).filter(function(e){return"dimension"===e.substr(0,"dimension".length)}).forEach(function(e){u[e]=s[e]}),Object.keys(s).filter(function(e){return"metric"===e.substr(0,"metric".length)}).forEach(function(e){u[e]=s[e]}),y(u,A)}else(0,l.default)("args.category AND args.action are required in event()")}function k(e,A){var t=e.description,o=e.fatal,n={hitType:"exception"};t&&(n.exDescription=C(t)),void 0!==o&&("boolean"!=typeof o?(0,l.default)("`args.fatal` must be a boolean."):n.exFatal=o),y(n,A)}var N=A.plugin={require:function(e,A){if(e){var t=(0,r.default)(e);if(""!==t)if(A){if("object"!==(void 0===A?"undefined":n(A)))return void(0,l.default)("Expected `options` arg to be an Object");0===Object.keys(A).length&&(0,l.default)("Empty `options` given to .require()"),Q("require",t,A),B&&(0,u.default)("called ga('require', '"+t+"', "+JSON.stringify(A))}else Q("require",t),B&&(0,u.default)("called ga('require', '"+t+"');");else(0,l.default)("`name` cannot be an empty string in .require()")}else(0,l.default)("`name` is required in .require()")},execute:function(e,A){var t=void 0,o=void 0;if(1==(arguments.length<=2?0:arguments.length-2)?t=arguments.length<=2?void 0:arguments[2]:(o=arguments.length<=2?void 0:arguments[2],t=arguments.length<=3?void 0:arguments[3]),"string"!=typeof e)(0,l.default)("Expected `pluginName` arg to be a String.");else if("string"!=typeof A)(0,l.default)("Expected `action` arg to be a String.");else{var n=e+":"+A;t=t||null,o&&t?(Q(n,o,t),B&&((0,u.default)("called ga('"+n+"');"),(0,u.default)('actionType: "'+o+'" with payload: '+JSON.stringify(t)))):t?(Q(n,t),B&&((0,u.default)("called ga('"+n+"');"),(0,u.default)("with payload: "+JSON.stringify(t)))):(Q(n),B&&(0,u.default)("called ga('"+n+"');"))}}};function R(e,A,t){if("function"==typeof A)if(e&&e.label){var o={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:C(e.label)},n=!1,a=setTimeout(function(){n=!0,A()},250);o.hitCallback=function(){clearTimeout(a),n||A()},y(o,t)}else(0,l.default)("args.label is required in outboundLink()");else(0,l.default)("hitCallback function is required")}g.default.origTrackLink=g.default.trackLink,g.default.trackLink=R;var F=A.OutboundLink=g.default;A.testModeAPI=c.default;A.default={initialize:I,ga:Q,set:M,send:y,pageview:b,modalview:T,timing:S,event:D,exception:k,plugin:N,outboundLink:R,OutboundLink:F,testModeAPI:c.default}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e,A){if((0,o.default)(e))return(0,a.default)("This arg looks like an email address, redacting."),r;if(A)return(0,n.default)(e);return e};var o=i(t(4)),n=i(t(5)),a=i(t(0));function i(e){return e&&e.__esModule?e:{default:e}}var r="REDACTED (Potential Email Address)"},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return/[^@]+@[^@]+/.test(e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){return(0,o.default)(e).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(e,A,t){return A>0&&A+e.length!==t.length&&e.search(n)>-1&&":"!==t.charAt(A-2)&&("-"!==t.charAt(A+e.length)||"-"===t.charAt(A-1))&&t.charAt(A-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})};var o=function(e){return e&&e.__esModule?e:{default:e}}(t(1));var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){if("/"===e.substring(0,1))return e.substring(1);return e}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){!function(e,A,t,o,n,a,i){e.GoogleAnalyticsObject=n,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,a=A.createElement(t),i=A.getElementsByTagName(t)[0],a.async=1,a.src=o,i.parentNode.insertBefore(a,i)}(window,document,"script",e&&e.gaAddress?e.gaAddress:"https://www.google-analytics.com/analytics.js","ga")}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(e){console.info("[react-ga]",e)}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var o=A.gaCalls=[];A.default={calls:o,ga:function(){for(var e=arguments.length,A=Array(e),t=0;t<e;t++)A[t]=arguments[t];o.push([].concat(A))}}},function(e,A,t){"use strict";Object.defineProperty(A,"__esModule",{value:!0});var o=Object.assign||function(e){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},n=function(){function e(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(A,t,o){return t&&e(A.prototype,t),o&&e(A,o),A}}(),a=t(11),i=l(a),r=l(t(12)),s=l(t(0));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,A){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!A||"object"!=typeof A&&"function"!=typeof A?e:A}var c="_blank",g=1,d=function(e){function A(){var e,t,o;!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,A);for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];return t=o=u(this,(e=A.__proto__||Object.getPrototypeOf(A)).call.apply(e,[this].concat(a))),o.handleClick=function(e){var t=o.props,n=t.target,a=t.eventLabel,i=t.to,r=t.onClick,s={label:a},l=n!==c,u=!(e.ctrlKey||e.shiftKey||e.metaKey||e.button===g);l&&u?(e.preventDefault(),A.trackLink(s,function(){window.location.href=i})):A.trackLink(s,function(){}),r&&r(e)},u(o,t)}return function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function, not "+typeof A);e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(e,A):e.__proto__=A)}(A,a.Component),n(A,[{key:"render",value:function(){var e=o({},this.props,{href:this.props.to,onClick:this.handleClick});return delete e.eventLabel,i.default.createElement("a",e)}}]),A}();d.propTypes={eventLabel:r.default.string.isRequired,target:r.default.string,to:r.default.string,onClick:r.default.func},d.defaultProps={target:null,to:null,onClick:null},d.trackLink=function(){(0,s.default)("ga tracking not enabled")},A.default=d},function(A,t){A.exports=e},function(e,t){e.exports=A}])})},function(e,A,t){"use strict";(function(e,o){var n,a=t(576);n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var i=Object(a.a)(n);A.a=i}).call(this,t(36),t(1006)(e))},function(e,A,t){var o=t(1370);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/f3cd3bde88a384bf6757c9f30508cdd6.svg"},function(e,A,t){e.exports=t.p+"static/assets/abdb9221f6fe3367ae1d899e2352d2e3.svg"},function(e,A,t){e.exports=t.p+"static/assets/6e61fa7e48326bd2026d28e7a62884b1.svg"},function(e,A,t){e.exports=t.p+"static/assets/59c79fa681b1421547664294a259b2d8.svg"},function(e,A,t){var o=t(1471);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1504);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1510);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1512);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/610fb87d66b6749aeb96d475ceb62940.svg"},function(e,A,t){var o=t(1521);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){var o=t(1522);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},function(e,A,t){e.exports=t.p+"static/assets/a80790c977586cc0595b5fe2f0bcb39a.svg"},function(e,A,t){e.exports=t.p+"static/assets/33592a76d0d0fdaa4a32b2ea41db5e16.svg"},function(e,A,t){var o=t(1617);"string"==typeof o&&(o=[[e.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t(10)(o,n);o.locals&&(e.exports=o.locals)},,function(e,A,t){e.exports=t.p+"static/assets/8e7cb60d08d6316d55de80f880f1957c.gif"},function(e,A,t){e.exports=t.p+"static/assets/ac973b51892f4a335817a8509bc79a0a.gif"},function(e,A,t){e.exports=t.p+"static/assets/5c81be8fab4f5ed793554698938ff7f8.gif"},function(e,A,t){e.exports=t.p+"static/assets/514e6c5a07dde1ec563dea1c9f37f7a8.gif"},function(e,A,t){e.exports=t.p+"static/assets/95be8547447707daedc68ea89d7b9370.gif"},function(e,A,t){e.exports=t.p+"static/assets/184c344a10392a68baad7b825db5a822.gif"},function(e,A,t){e.exports=t.p+"static/assets/fff00873b289b4bf62356568b8852ff0.gif"},function(e,A,t){e.exports=t.p+"static/assets/7b80fcafc9fc92e3bd91a895acf4ca7a.gif"},function(e,A,t){e.exports=t.p+"static/assets/df28596aead9efac5480b1f106abdba3.gif"},function(e,A,t){e.exports=t.p+"static/assets/cbc57fb42f120b648895bb45f239e189.gif"},function(e,A,t){e.exports=t.p+"static/assets/4555e8b691e842b0d459d451bb259f4d.gif"},function(e,A,t){e.exports=t.p+"static/assets/22c4291ba7654bf25a16d92e827d0a43.gif"},function(e,A,t){e.exports=t.p+"static/assets/53d7e392dc0f35620dc77321555a936e.gif"},function(e,A,t){e.exports=t.p+"static/assets/65be0c15b22044e29d75368efe3c0203.gif"},function(e,A,t){e.exports=t.p+"static/assets/ace767df9a3f8b309d6f873c01afb4e4.gif"},function(e,A,t){e.exports=t.p+"static/assets/3cbe5be8dba7df255a9049fa3db394d4.gif"},function(e,A,t){e.exports=t.p+"static/assets/0ff20e4e8ba2ba2ed8a7095b99add518.gif"},function(e,A,t){e.exports=t.p+"static/assets/f79950112152d30a89c54961386d3333.png"},function(e,A,t){e.exports=t.p+"static/assets/818cc10dfee980fa11921930747a6cf9.png"},function(e,A,t){e.exports=t.p+"static/assets/81dc21a52d314d1c74b6f74ddc4e8e41.png"},function(e,A,t){e.exports=t.p+"static/assets/fa4d69d8edddf8ec00b0cf01c7ab0261.gif"},function(e,A,t){e.exports=t.p+"static/assets/f6f98a31ec06445bd1c27a3187ae25f0.png"},function(e,A,t){e.exports=t.p+"static/assets/dcd4e99c8ddf7634ce04803950b7e266.png"},function(e,A,t){e.exports=t.p+"static/assets/936c6f5135224fb98155587e33f3159f.gif"},function(e,A,t){e.exports=t.p+"static/assets/85a7793e786650bb42e91693642f26c9.png"},function(e,A,t){e.exports=t.p+"static/assets/276b880da7173e717f5265fa518a3729.gif"},function(e,A,t){e.exports=t.p+"static/assets/d859e71f6a54417d6f5d7ec226db6f43.png"},function(e,A,t){e.exports=t.p+"static/assets/a179def1e7266cfec58e468b70457ca0.png"},function(e,A,t){e.exports=t.p+"static/assets/eb965ba88ced446fbd45955fe708beba.png"},function(e,A,t){e.exports=t.p+"static/assets/4c04f0198c7c4910c95d5dc814024c7f.png"},function(e,A,t){e.exports=t.p+"static/assets/7fe1b937b85dc7fdeded6837bea60a67.png"},function(e,A,t){e.exports=t.p+"static/assets/bbf018f66a2d2b8c058dd17bf19930fd.png"},function(e,A,t){e.exports=t.p+"static/assets/d5f67ae3bf2225695aa7ed656082a31f.png"},function(e,A,t){e.exports=t.p+"static/assets/7382ef4a40ab40e4fec38b912a5c9ad7.png"},function(e,A,t){e.exports=t.p+"static/assets/ff0df5482586d3a39668fa088681b027.png"},function(e,A,t){e.exports=t.p+"static/assets/67b5215a40ed284e31bd327d6303741d.png"},function(e,A,t){e.exports=t.p+"static/assets/4fbcf2c035110247216ce61d5f7429fc.png"},function(e,A,t){e.exports=t.p+"static/assets/424584aa0d2284485934a8edf4645566.png"},function(e,A,t){e.exports=t.p+"static/assets/c2073917e0491bdcb2d046d298bcd083.png"},function(e,A,t){"use strict";var o={};Object.freeze(o),e.exports=o},function(e,A,t){"use strict";var o=function(e){};o=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")},e.exports=function(e,A,t,n,a,i,r,s){if(o(A),!e){var l;if(void 0===A)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,n,a,i,r,s],c=0;(l=new Error(A.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,A,t){"use strict";var o=t(228);o=function(e,A){if(void 0===A)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==A.indexOf("Failed Composite propType: ")&&!e){for(var t=arguments.length,o=Array(t>2?t-2:0),n=2;n<t;n++)o[n-2]=arguments[n];(function(e){for(var A=arguments.length,t=Array(A>1?A-1:0),o=1;o<A;o++)t[o-1]=arguments[o];var n=0,a="Warning: "+e.replace(/%s/g,function(){return t[n++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[A].concat(o))}},e.exports=o},function(e,A,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,A){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,A,t){var o=t(186),n=t(81).document,a=o(n)&&o(n.createElement);e.exports=function(e){return a?n.createElement(e):{}}},function(e,A,t){var o=t(81),n=t(308),a=t(427),i=t(428)("src"),r=Function.toString,s=(""+r).split("toString");t(121).inspectSource=function(e){return r.call(e)},(e.exports=function(e,A,t,r){var l="function"==typeof t;l&&(a(t,"name")||n(t,"name",A)),e[A]!==t&&(l&&(a(t,i)||n(t,i,e[A]?""+e[A]:s.join(String(A)))),e===o?e[A]=t:r?e[A]?e[A]=t:n(e,A,t):(delete e[A],n(e,A,t)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||r.call(this)})},function(e,A){var t={}.hasOwnProperty;e.exports=function(e,A){return t.call(e,A)}},function(e,A){var t=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+o).toString(36))}},function(e,A,t){var o=t(430),n=Math.min;e.exports=function(e){return e>0?n(o(e),9007199254740991):0}},function(e,A){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},function(e,A){e.exports=!1},function(e,A,t){var o=t(232),n=t(108)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=function(e){var A,t,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,A){try{return e[A]}catch(e){}}(A=Object(e),n))?t:a?o(A):"Object"==(i=o(A))&&"function"==typeof A.callee?"Arguments":i}},function(e,A){e.exports={}},function(e,A,t){var o=t(185),n=t(231),a=t(108)("species");e.exports=function(e,A){var t,i=o(e).constructor;return void 0===i||void 0==(t=o(i)[a])?A:n(t)}},function(e,A,t){var o,n,a,i=t(230),r=t(982),s=t(983),l=t(425),u=t(81),c=u.process,g=u.setImmediate,d=u.clearImmediate,B=u.MessageChannel,h=u.Dispatch,E=0,m={},p=function(){var e=+this;if(m.hasOwnProperty(e)){var A=m[e];delete m[e],A()}},C=function(e){p.call(e.data)};g&&d||(g=function(e){for(var A=[],t=1;arguments.length>t;)A.push(arguments[t++]);return m[++E]=function(){r("function"==typeof e?e:Function(e),A)},o(E),E},d=function(e){delete m[e]},"process"==t(232)(c)?o=function(e){c.nextTick(i(p,e,1))}:h&&h.now?o=function(e){h.now(i(p,e,1))}:B?(a=(n=new B).port2,n.port1.onmessage=C,o=i(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(o=function(e){u.postMessage(e+"","*")},u.addEventListener("message",C,!1)):o="onreadystatechange"in l("script")?function(e){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),p.call(e)}}:function(e){setTimeout(i(p,e,1),0)}),e.exports={set:g,clear:d}},function(e,A,t){"use strict";var o=t(231);e.exports.f=function(e){return new function(e){var A,t;this.promise=new e(function(e,o){if(void 0!==A||void 0!==t)throw TypeError("Bad Promise constructor");A=e,t=o}),this.resolve=o(A),this.reject=o(t)}(e)}},function(e,A,t){var o=t(185),n=t(186),a=t(436);e.exports=function(e,A){if(o(e),n(A)&&A.constructor===e)return A;var t=a.f(e);return(0,t.resolve)(A),t.promise}},function(e,A){var t={black:"#000",red:"#c23621",green:"#25bc26",yellow:"#bbbb00",blue:"#492ee1",magenta:"#d338d3",cyan:"#33bbc8",gray:"#808080",purple:"#708"};e.exports=function(e,A){return A?"color: #fff; background: "+t[e]+";":"color: "+t[e]+";"}},function(e,A,t){"use strict";A.extend=function(e){var A,t,n,a,i=Array.prototype.slice.call(arguments,1);for(A=0,t=i.length;A<t;A+=1)if(n=i[A])for(a in n)o.call(n,a)&&(e[a]=n[a]);return e};var o=Object.prototype.hasOwnProperty;A.hop=o},function(e,A,t){e.exports=t(1028)},function(e,A,t){const o=t(312),n=t(1032),{default:a}=t(1033),r=t(1039),s=t(444);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return!t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){const o=t(313),n=t(1040),{default:a}=t(1041),r=t(1047),s=t(448);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return!t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){(function(A,t,o){var n;e.exports=function e(A,t,o){function a(r,s){if(!t[r]){if(!A[r]){var l="function"==typeof n&&n;if(!s&&l)return n(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[r]={exports:{}};A[r][0].call(c.exports,function(e){var t=A[r][1][e];return a(t||e)},c,c.exports,e,A,t,o)}return t[r].exports}for(var i="function"==typeof n&&n,r=0;r<o.length;r++)a(o[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,n,a){(function(A){!function(e){"object"==typeof a&&void 0!==n?n.exports=e():("undefined"!=typeof window?window:void 0!==A?A:"undefined"!=typeof self?self:this).JSZip=e()}(function(){return function A(t,o,n){function a(r,s){if(!o[r]){if(!t[r]){var l="function"==typeof e&&e;if(!s&&l)return l(r,!0);if(i)return i(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var c=o[r]={exports:{}};t[r][0].call(c.exports,function(e){return a(t[r][1][e]||e)},c,c.exports,A,t,o,n)}return o[r].exports}for(var i="function"==typeof e&&e,r=0;r<n.length;r++)a(n[r]);return a}({1:[function(e,A,t){"use strict";var o=e("./utils"),n=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e){for(var A,t,n,i,r,s,l,u=[],c=0,g=e.length,d=g,B="string"!==o.getTypeOf(e);c<e.length;)d=g-c,n=B?(A=e[c++],t=c<g?e[c++]:0,c<g?e[c++]:0):(A=e.charCodeAt(c++),t=c<g?e.charCodeAt(c++):0,c<g?e.charCodeAt(c++):0),i=A>>2,r=(3&A)<<4|t>>4,s=1<d?(15&t)<<2|n>>6:64,l=2<d?63&n:64,u.push(a.charAt(i)+a.charAt(r)+a.charAt(s)+a.charAt(l));return u.join("")},t.decode=function(e){var A,t,o,i,r,s,l=0,u=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&g--,e.charAt(e.length-2)===a.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|g):new Array(0|g);l<e.length;)A=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,t=(15&i)<<4|(r=a.indexOf(e.charAt(l++)))>>2,o=(3&r)<<6|(s=a.indexOf(e.charAt(l++))),c[u++]=A,64!==r&&(c[u++]=t),64!==s&&(c[u++]=o);return c}},{"./support":30,"./utils":32}],2:[function(e,A,t){"use strict";var o=e("./external"),n=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function r(e,A,t,o,n){this.compressedSize=e,this.uncompressedSize=A,this.crc32=t,this.compression=o,this.compressedContent=n}r.prototype={getContentWorker:function(){var e=new n(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),A=this;return e.on("end",function(){if(this.streamInfo.data_length!==A.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new n(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},r.createWorkerFrom=function(e,A,t){return e.pipe(new a).pipe(new i("uncompressedSize")).pipe(A.compressWorker(t)).pipe(new i("compressedSize")).withStreamInfo("compression",A)},A.exports=r},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,A,t){"use strict";var o=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(e){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,A,t){"use strict";var o=e("./utils"),n=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A){return void 0!==e&&e.length?"string"!==o.getTypeOf(e)?function(e,A,t){var o=n,a=0+t;e^=-1;for(var i=0;i<a;i++)e=e>>>8^o[255&(e^A[i])];return-1^e}(0|A,e,e.length):function(e,A,t){var o=n,a=0+t;e^=-1;for(var i=0;i<a;i++)e=e>>>8^o[255&(e^A.charCodeAt(i))];return-1^e}(0|A,e,e.length):0}},{"./utils":32}],5:[function(e,A,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,A,t){"use strict";var o;o="undefined"!=typeof Promise?Promise:e("lie"),A.exports={Promise:o}},{lie:37}],7:[function(e,A,t){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),a=e("./utils"),i=e("./stream/GenericWorker"),r=o?"uint8array":"array";function s(e,A){i.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=A,this.meta={}}t.magic="\b\0",a.inherits(s,i),s.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(r,e.data),!1)},s.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(A){e.push({data:A,meta:e.meta})}},t.compressWorker=function(e){return new s("Deflate",e)},t.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,A,t){"use strict";function o(e,A){var t,o="";for(t=0;t<A;t++)o+=String.fromCharCode(255&e),e>>>=8;return o}function n(e,A,t,n,i,u){var c,g,d=e.file,B=e.compression,h=u!==r.utf8encode,E=a.transformTo("string",u(d.name)),m=a.transformTo("string",r.utf8encode(d.name)),p=d.comment,C=a.transformTo("string",u(p)),w=a.transformTo("string",r.utf8encode(p)),f=m.length!==d.name.length,I=w.length!==p.length,Q="",M="",y="",b=d.dir,T=d.date,S={crc32:0,compressedSize:0,uncompressedSize:0};A&&!t||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var D=0;A&&(D|=8),h||!f&&!I||(D|=2048);var k,N=0,R=0;b&&(N|=16),"UNIX"===i?(R=798,N|=((k=d.unixPermissions)||(k=b?16893:33204),(65535&k)<<16)):(R=20,N|=63&(d.dosPermissions||0)),c=T.getUTCHours(),c<<=6,c|=T.getUTCMinutes(),c<<=5,c|=T.getUTCSeconds()/2,g=T.getUTCFullYear()-1980,g<<=4,g|=T.getUTCMonth()+1,g<<=5,g|=T.getUTCDate(),f&&(Q+="up"+o((M=o(1,1)+o(s(E),4)+m).length,2)+M),I&&(Q+="uc"+o((y=o(1,1)+o(s(C),4)+w).length,2)+y);var F="";return F+="\n\0",F+=o(D,2),F+=B.magic,F+=o(c,2),F+=o(g,2),F+=o(S.crc32,4),F+=o(S.compressedSize,4),F+=o(S.uncompressedSize,4),F+=o(E.length,2),F+=o(Q.length,2),{fileRecord:l.LOCAL_FILE_HEADER+F+E+Q,dirRecord:l.CENTRAL_FILE_HEADER+o(R,2)+F+o(C.length,2)+"\0\0\0\0"+o(N,4)+o(n,4)+E+Q+C}}var a=e("../utils"),i=e("../stream/GenericWorker"),r=e("../utf8"),s=e("../crc32"),l=e("../signature");function u(e,A,t,o){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=A,this.zipPlatform=t,this.encodeFileName=o,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,i),u.prototype.push=function(e){var A=e.meta.percent||0,t=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:t?(A+100*(t-o-1))/t:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var A=this.streamFiles&&!e.file.dir;if(A){var t=n(e,A,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var A,t=this.streamFiles&&!e.file.dir,a=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),t)this.push({data:(A=e,l.DATA_DESCRIPTOR+o(A.crc32,4)+o(A.compressedSize,4)+o(A.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,A=0;A<this.dirRecords.length;A++)this.push({data:this.dirRecords[A],meta:{percent:100}});var t,n,i,r,s,u,c=this.bytesWritten-e,g=(t=this.dirRecords.length,n=c,i=e,r=this.zipComment,s=this.encodeFileName,u=a.transformTo("string",s(r)),l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(t,2)+o(t,2)+o(n,4)+o(i,4)+o(u.length,2)+u);this.push({data:g,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var A=this;return e.on("data",function(e){A.processChunk(e)}),e.on("end",function(){A.closedSource(A.previous.streamInfo),A._sources.length?A.prepareNextSource():A.end()}),e.on("error",function(e){A.error(e)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var A=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var t=0;t<A.length;t++)try{A[t].error(e)}catch(e){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,A=0;A<e.length;A++)e[A].lock()},A.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,A,t){"use strict";var o=e("../compressions"),n=e("./ZipFileWorker");t.generateWorker=function(e,A,t){var a=new n(A.streamFiles,t,A.platform,A.encodeFileName),i=0;try{e.forEach(function(e,t){i++;var n=function(e,A){var t=e||A,n=o[t];if(!n)throw new Error(t+" is not a valid compression method !");return n}(t.options.compression,A.compression),r=t.options.compressionOptions||A.compressionOptions||{},s=t.dir,l=t.date;t._compressWorker(n,r).withStreamInfo("file",{name:e,dir:s,date:l,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(a)}),a.entriesCount=i}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,A,t){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new o;for(var A in this)"function"!=typeof this[A]&&(e[A]=this[A]);return e}}(o.prototype=e("./object")).loadAsync=e("./load"),o.support=e("./support"),o.defaults=e("./defaults"),o.version="3.5.0",o.loadAsync=function(e,A){return(new o).loadAsync(e,A)},o.external=e("./external"),A.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,A,t){"use strict";var o=e("./utils"),n=e("./external"),a=e("./utf8"),i=e("./zipEntries"),r=e("./stream/Crc32Probe"),s=e("./nodejsUtils");function l(e){return new n.Promise(function(A,t){var o=e.decompressed.getContentWorker().pipe(new r);o.on("error",function(e){t(e)}).on("end",function(){o.streamInfo.crc32!==e.decompressed.crc32?t(new Error("Corrupted zip : CRC32 mismatch")):A()}).resume()})}A.exports=function(e,A){var t=this;return A=o.extend(A||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),s.isNode&&s.isStream(e)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",e,!0,A.optimizedBinaryString,A.base64).then(function(e){var t=new i(A);return t.load(e),t}).then(function(e){var t=[n.Promise.resolve(e)],o=e.files;if(A.checkCRC32)for(var a=0;a<o.length;a++)t.push(l(o[a]));return n.Promise.all(t)}).then(function(e){for(var o=e.shift(),n=o.files,a=0;a<n.length;a++){var i=n[a];t.file(i.fileNameStr,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileCommentStr.length?i.fileCommentStr:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:A.createFolders})}return o.zipComment.length&&(t.comment=o.zipComment),t})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,A,t){"use strict";var o=e("../utils"),n=e("../stream/GenericWorker");function a(e,A){n.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(A)}o.inherits(a,n),a.prototype._bindStream=function(e){var A=this;(this._stream=e).pause(),e.on("data",function(e){A.push({data:e,meta:{percent:0}})}).on("error",function(e){A.isPaused?this.generatedError=e:A.error(e)}).on("end",function(){A.isPaused?A._upstreamEnded=!0:A.end()})},a.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},A.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,A,t){"use strict";var o=e("readable-stream").Readable;function n(e,A,t){o.call(this,A),this._helper=e;var n=this;e.on("data",function(e,A){n.push(e)||n._helper.pause(),t&&t(A)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}e("../utils").inherits(n,o),n.prototype._read=function(){this._helper.resume()},A.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,A,o){"use strict";A.exports={isNode:void 0!==t,newBufferFrom:function(e,A){if(t.from&&t.from!==Uint8Array.from)return t.from(e,A);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,A)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var A=new t(e);return A.fill(0),A},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,A,t){"use strict";function o(e,A,t){var o,a=i.getTypeOf(A),s=i.extend(t||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=n(e)),s.createFolders&&(o=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var A=e.lastIndexOf("/");return 0<A?e.substring(0,A):""}(e))&&h.call(this,o,!0);var g,E="string"===a&&!1===s.binary&&!1===s.base64;t&&void 0!==t.binary||(s.binary=!E),(A instanceof u&&0===A.uncompressedSize||s.dir||!A||0===A.length)&&(s.base64=!1,s.binary=!0,A="",s.compression="STORE",a="string"),g=A instanceof u||A instanceof r?A:d.isNode&&d.isStream(A)?new B(e,A):i.prepareContent(e,A,s.binary,s.optimizedBinaryString,s.base64);var m=new c(e,g,s);this.files[e]=m}function n(e){return"/"!==e.slice(-1)&&(e+="/"),e}var a=e("./utf8"),i=e("./utils"),r=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),u=e("./compressedObject"),c=e("./zipObject"),g=e("./generate"),d=e("./nodejsUtils"),B=e("./nodejs/NodejsStreamInputAdapter"),h=function(e,A){return A=void 0!==A?A:l.createFolders,e=n(e),this.files[e]||o.call(this,e,null,{dir:!0,createFolders:A}),this.files[e]};function E(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var A,t,o;for(A in this.files)this.files.hasOwnProperty(A)&&(o=this.files[A],(t=A.slice(this.root.length,A.length))&&A.slice(0,this.root.length)===this.root&&e(t,o))},filter:function(e){var A=[];return this.forEach(function(t,o){e(t,o)&&A.push(o)}),A},file:function(e,A,t){if(1!==arguments.length)return e=this.root+e,o.call(this,e,A,t),this;if(E(e)){var n=e;return this.filter(function(e,A){return!A.dir&&n.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(E(e))return this.filter(function(A,t){return t.dir&&e.test(A)});var A=this.root+e,t=h.call(this,A),o=this.clone();return o.root=t.name,o},remove:function(e){e=this.root+e;var A=this.files[e];if(A||("/"!==e.slice(-1)&&(e+="/"),A=this.files[e]),A&&!A.dir)delete this.files[e];else for(var t=this.filter(function(A,t){return t.name.slice(0,e.length)===e}),o=0;o<t.length;o++)delete this.files[t[o].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var A,t={};try{if((t=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=t.type.toLowerCase(),t.compression=t.compression.toUpperCase(),"binarystring"===t.type&&(t.type="string"),!t.type)throw new Error("No output type specified.");i.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var o=t.comment||this.comment||"";A=g.generateWorker(this,t,o)}catch(e){(A=new r("error")).error(e)}return new s(A,t.type||"string",t.mimeType)},generateAsync:function(e,A){return this.generateInternalStream(e).accumulate(A)},generateNodeStream:function(e,A){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(A)}};A.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,A,t){A.exports=e("stream")},{stream:void 0}],17:[function(e,A,t){"use strict";var o=e("./DataReader");function n(e){o.call(this,e);for(var A=0;A<this.data.length;A++)e[A]=255&e[A]}e("../utils").inherits(n,o),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===A&&this.data[a+1]===t&&this.data[a+2]===o&&this.data[a+3]===n)return a-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return A===a[0]&&t===a[1]&&o===a[2]&&n===a[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,A,t){"use strict";var o=e("../utils");function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var A,t=0;for(this.checkOffset(e),A=this.index+e-1;A>=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},A.exports=n},{"../utils":32}],19:[function(e,A,t){"use strict";var o=e("./Uint8ArrayReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,A,t){"use strict";var o=e("./DataReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,A,t){"use strict";var o=e("./ArrayReader");function n(e){o.call(this,e)}e("../utils").inherits(n,o),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,A,t){"use strict";var o=e("../utils"),n=e("../support"),a=e("./ArrayReader"),i=e("./StringReader"),r=e("./NodeBufferReader"),s=e("./Uint8ArrayReader");A.exports=function(e){var A=o.getTypeOf(e);return o.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new r(e):n.uint8array?new s(o.transformTo("uint8array",e)):new a(o.transformTo("array",e)):new i(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,A,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,A,t){"use strict";var o=e("./GenericWorker"),n=e("../utils");function a(e){o.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(a,o),a.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},A.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,A,t){"use strict";var o=e("./GenericWorker"),n=e("../crc32");function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,o),a.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},A.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,A,t){"use strict";var o=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(a,n),a.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},A.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,A,t){"use strict";var o=e("../utils"),n=e("./GenericWorker");function a(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=o.getTypeOf(e),A.isPaused||A._tickAndRepeat()},function(e){A.error(e)})}o.inherits(a,n),a.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},A.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,A,t){"use strict";function o(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,A){return this._listeners[e].push(A),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,A){if(this._listeners[e])for(var t=0;t<this._listeners[e].length;t++)this._listeners[e][t].call(this,A)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var A=this;return e.on("data",function(e){A.processChunk(e)}),e.on("end",function(){A.end()}),e.on("error",function(e){A.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,A){return this.extraStreamInfo[e]=A,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},A.exports=o},{}],29:[function(e,A,o){"use strict";var n=e("../utils"),a=e("./ConvertWorker"),i=e("./GenericWorker"),r=e("../base64"),s=e("../support"),l=e("../external"),u=null;if(s.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,A,t){var o=A;switch(A){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=A,this._mimeType=t,n.checkSupport(o),this._worker=e.pipe(new a(o)),e.lock()}catch(e){this._worker=new i("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return A=this,o=e,new l.Promise(function(e,a){var i=[],s=A._internalType,l=A._outputType,u=A._mimeType;A.on("data",function(e,A){i.push(e),o&&o(A)}).on("error",function(e){i=[],a(e)}).on("end",function(){try{var A=function(e,A,t){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",A),t);case"base64":return r.encode(A);default:return n.transformTo(e,A)}}(l,function(e,A){var o,n=0,a=null,i=0;for(o=0;o<A.length;o++)i+=A[o].length;switch(e){case"string":return A.join("");case"array":return Array.prototype.concat.apply([],A);case"uint8array":for(a=new Uint8Array(i),o=0;o<A.length;o++)a.set(A[o],n),n+=A[o].length;return a;case"nodebuffer":return t.concat(A);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,i),u);e(A)}catch(A){a(A)}i=[]}).resume()});var A,o},on:function(e,A){var t=this;return"data"===e?this._worker.on(e,function(e){A.call(t,e.data,e.meta)}):this._worker.on(e,function(){n.delay(A,arguments,t)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},A.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,A,o){"use strict";if(o.base64=!0,o.array=!0,o.string=!0,o.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,o.nodebuffer=void 0!==t,o.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)o.blob=!1;else{var n=new ArrayBuffer(0);try{o.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(n),o.blob=0===a.getBlob("application/zip").size}catch(e){o.blob=!1}}}try{o.nodestream=!!e("readable-stream").Readable}catch(e){o.nodestream=!1}},{"readable-stream":16}],31:[function(e,A,t){"use strict";for(var o=e("./utils"),n=e("./support"),a=e("./nodejsUtils"),i=e("./stream/GenericWorker"),r=new Array(256),s=0;s<256;s++)r[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}r[254]=r[254]=1,t.utf8encode=function(e){return n.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var A,t,o,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(o=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(o-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=n.uint8array?new Uint8Array(s):new Array(s),a=i=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(o=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(o-56320),a++),t<128?A[i++]=t:(t<2048?A[i++]=192|t>>>6:(t<65536?A[i++]=224|t>>>12:(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63),A[i++]=128|t>>>6&63),A[i++]=128|63&t);return A}(e)},t.utf8decode=function(e){return n.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var A,t,n,a,i=e.length,s=new Array(2*i);for(A=t=0;A<i;)if((n=e[A++])<128)s[t++]=n;else if(4<(a=r[n]))s[t++]=65533,A+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&A<i;)n=n<<6|63&e[A++],a--;1<a?s[t++]=65533:n<65536?s[t++]=n:(n-=65536,s[t++]=55296|n>>10&1023,s[t++]=56320|1023&n)}return s.length!==t&&(s.subarray?s=s.subarray(0,t):s.length=t),o.applyFromCharCode(s)}(e=o.transformTo(n.uint8array?"uint8array":"array",e))},o.inherits(l,i),l.prototype.processChunk=function(e){var A=o.transformTo(n.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var a=A;(A=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),A.set(a,this.leftOver.length)}else A=this.leftOver.concat(A);this.leftOver=null}var i=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+r[e[t]]>A?t:A}(A),s=A;i!==A.length&&(n.uint8array?(s=A.subarray(0,i),this.leftOver=A.subarray(i,A.length)):(s=A.slice(0,i),this.leftOver=A.slice(i,A.length))),this.push({data:t.utf8decode(s),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,o.inherits(u,i),u.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,A,t){"use strict";var o=e("./support"),n=e("./base64"),a=e("./nodejsUtils"),i=e("set-immediate-shim"),r=e("./external");function s(e){return e}function l(e,A){for(var t=0;t<e.length;++t)A[t]=255&e.charCodeAt(t);return A}t.newBlob=function(e,A){t.checkSupport("blob");try{return new Blob([e],{type:A})}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(e),o.getBlob(A)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,A,t){var o=[],n=0,a=e.length;if(a<=t)return String.fromCharCode.apply(null,e);for(;n<a;)"array"===A||"nodebuffer"===A?o.push(String.fromCharCode.apply(null,e.slice(n,Math.min(n+t,a)))):o.push(String.fromCharCode.apply(null,e.subarray(n,Math.min(n+t,a)))),n+=t;return o.join("")},stringifyByChar:function(e){for(var A="",t=0;t<e.length;t++)A+=String.fromCharCode(e[t]);return A},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var A=65536,o=t.getTypeOf(e),n=!0;if("uint8array"===o?n=u.applyCanBeUsed.uint8array:"nodebuffer"===o&&(n=u.applyCanBeUsed.nodebuffer),n)for(;1<A;)try{return u.stringifyByChunk(e,o,A)}catch(e){A=Math.floor(A/2)}return u.stringifyByChar(e)}function g(e,A){for(var t=0;t<e.length;t++)A[t]=e[t];return A}t.applyFromCharCode=c;var d={};d.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,a.allocBuffer(e.length))}},d.array={string:c,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},d.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return g(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:c,array:function(e){return g(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},d.nodebuffer={string:c,array:function(e){return g(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return g(e,new Uint8Array(e.length))},nodebuffer:s},t.transformTo=function(e,A){if(A=A||"",!e)return A;t.checkSupport(e);var o=t.getTypeOf(A);return d[o][e](A)},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":o.nodebuffer&&a.isBuffer(e)?"nodebuffer":o.uint8array&&e instanceof Uint8Array?"uint8array":o.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!o[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var A,t,o="";for(t=0;t<(e||"").length;t++)o+="\\x"+((A=e.charCodeAt(t))<16?"0":"")+A.toString(16).toUpperCase();return o},t.delay=function(e,A,t){i(function(){e.apply(t||null,A||[])})},t.inherits=function(e,A){function t(){}t.prototype=A.prototype,e.prototype=new t},t.extend=function(){var e,A,t={};for(e=0;e<arguments.length;e++)for(A in arguments[e])arguments[e].hasOwnProperty(A)&&void 0===t[A]&&(t[A]=arguments[e][A]);return t},t.prepareContent=function(e,A,a,i,s){return r.Promise.resolve(A).then(function(e){return o.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new r.Promise(function(A,t){var o=new FileReader;o.onload=function(e){A(e.target.result)},o.onerror=function(e){t(e.target.error)},o.readAsArrayBuffer(e)}):e}).then(function(A){var u,c=t.getTypeOf(A);return c?("arraybuffer"===c?A=t.transformTo("uint8array",A):"string"===c&&(s?A=n.decode(A):a&&!0!==i&&(A=l(u=A,o.uint8array?new Uint8Array(u.length):new Array(u.length)))),A):r.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(e,A,t){"use strict";var o=e("./reader/readerFor"),n=e("./utils"),a=e("./signature"),i=e("./zipEntry"),r=(e("./utf8"),e("./support"));function s(e){this.files=[],this.loadOptions=e}s.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var A=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(A)+", expected "+n.pretty(e)+")")}},isSignature:function(e,A){var t=this.reader.index;this.reader.setIndex(e);var o=this.reader.readString(4)===A;return this.reader.setIndex(t),o},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),A=r.uint8array?"uint8array":"array",t=n.transformTo(A,e);this.zipComment=this.loadOptions.decodeFileName(t)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,A,t,o=this.zip64EndOfCentralSize-44;0<o;)e=this.reader.readInt(2),A=this.reader.readInt(4),t=this.reader.readData(A),this.zip64ExtensibleData[e]={id:e,length:A,value:t}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,A;for(e=0;e<this.files.length;e++)A=this.files[e],this.reader.setIndex(A.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),A.readLocalPart(this.reader),A.handleUTF8(),A.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var A=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var t=this.centralDirOffset+this.centralDirSize;this.zip64&&(t+=20,t+=12+this.zip64EndOfCentralSize);var o=A-t;if(0<o)this.isSignature(A,a.CENTRAL_FILE_HEADER)||(this.reader.zero=o);else if(o<0)throw new Error("Corrupted zip: missing "+Math.abs(o)+" bytes.")},prepareReader:function(e){this.reader=o(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},A.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(e,A,t){"use strict";var o=e("./reader/readerFor"),n=e("./utils"),a=e("./compressedObject"),i=e("./crc32"),r=e("./utf8"),s=e("./compressions"),l=e("./support");function u(e,A){this.options=e,this.loadOptions=A}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var A,t;if(e.skip(22),this.fileNameLength=e.readInt(2),t=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(t),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(A=function(e){for(var A in s)if(s.hasOwnProperty(A)&&s[A].magic===e)return s[A];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,A,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var A=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(A),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var A=o(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=A.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=A.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=A.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=A.readInt(4))}},readExtraFields:function(e){var A,t,o,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<n;)A=e.readInt(2),t=e.readInt(2),o=e.readData(t),this.extraFields[A]={id:A,length:t,value:o};e.setIndex(n)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=r.utf8decode(this.fileName),this.fileCommentStr=r.utf8decode(this.fileComment);else{var A=this.findExtraFieldUnicodePath();if(null!==A)this.fileNameStr=A;else{var t=n.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(t)}var o=this.findExtraFieldUnicodeComment();if(null!==o)this.fileCommentStr=o;else{var a=n.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var A=o(e.value);return 1!==A.readInt(1)?null:i(this.fileName)!==A.readInt(4)?null:r.utf8decode(A.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var A=o(e.value);return 1!==A.readInt(1)?null:i(this.fileComment)!==A.readInt(4)?null:r.utf8decode(A.readData(e.length-5))}return null}},A.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,A,t){"use strict";function o(e,A,t){this.name=e,this.dir=t.dir,this.date=t.date,this.comment=t.comment,this.unixPermissions=t.unixPermissions,this.dosPermissions=t.dosPermissions,this._data=A,this._dataBinary=t.binary,this.options={compression:t.compression,compressionOptions:t.compressionOptions}}var n=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),i=e("./utf8"),r=e("./compressedObject"),s=e("./stream/GenericWorker");o.prototype={internalStream:function(e){var A=null,t="string";try{if(!e)throw new Error("No output type specified.");var o="string"===(t=e.toLowerCase())||"text"===t;"binarystring"!==t&&"text"!==t||(t="string"),A=this._decompressWorker();var a=!this._dataBinary;a&&!o&&(A=A.pipe(new i.Utf8EncodeWorker)),!a&&o&&(A=A.pipe(new i.Utf8DecodeWorker))}catch(e){(A=new s("error")).error(e)}return new n(A,t,"")},async:function(e,A){return this.internalStream(e).accumulate(A)},nodeStream:function(e,A){return this.internalStream(e||"nodebuffer").toNodejsStream(A)},_compressWorker:function(e,A){if(this._data instanceof r&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var t=this._decompressWorker();return this._dataBinary||(t=t.pipe(new i.Utf8EncodeWorker)),r.createWorkerFrom(t,e,A)},_decompressWorker:function(){return this._data instanceof r?this._data.getContentWorker():this._data instanceof s?this._data:new a(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<l.length;c++)o.prototype[l[c]]=u;A.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,o){(function(e){"use strict";var A,o,n=e.MutationObserver||e.WebKitMutationObserver;if(n){var a=0,i=new n(u),r=e.document.createTextNode("");i.observe(r,{characterData:!0}),A=function(){r.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)A="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var A=e.document.createElement("script");A.onreadystatechange=function(){u(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},e.document.documentElement.appendChild(A)}:function(){setTimeout(u,0)};else{var s=new e.MessageChannel;s.port1.onmessage=u,A=function(){s.port2.postMessage(0)}}var l=[];function u(){var e,A;o=!0;for(var t=l.length;t;){for(A=l,l=[],e=-1;++e<t;)A[e]();t=l.length}o=!1}t.exports=function(e){1!==l.push(e)||o||A()}}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,A,t){"use strict";var o=e("immediate");function n(){}var a={},i=["REJECTED"],r=["FULFILLED"],s=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,e!==n&&d(this,e)}function u(e,A,t){this.promise=e,"function"==typeof A&&(this.onFulfilled=A,this.callFulfilled=this.otherCallFulfilled),"function"==typeof t&&(this.onRejected=t,this.callRejected=this.otherCallRejected)}function c(e,A,t){o(function(){var o;try{o=A(t)}catch(o){return a.reject(e,o)}o===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,o)})}function g(e){var A=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof A)return function(){A.apply(e,arguments)}}function d(e,A){var t=!1;function o(A){t||(t=!0,a.reject(e,A))}function n(A){t||(t=!0,a.resolve(e,A))}var i=B(function(){A(n,o)});"error"===i.status&&o(i.value)}function B(e,A){var t={};try{t.value=e(A),t.status="success"}catch(e){t.status="error",t.value=e}return t}(A.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var A=this.constructor;return this.then(function(t){return A.resolve(e()).then(function(){return t})},function(t){return A.resolve(e()).then(function(){throw t})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,A){if("function"!=typeof e&&this.state===r||"function"!=typeof A&&this.state===i)return this;var t=new this.constructor(n);return this.state!==s?c(t,this.state===r?e:A,this.outcome):this.queue.push(new u(t,e,A)),t},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},a.resolve=function(e,A){var t=B(g,A);if("error"===t.status)return a.reject(e,t.value);var o=t.value;if(o)d(e,o);else{e.state=r,e.outcome=A;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callFulfilled(A)}return e},a.reject=function(e,A){e.state=i,e.outcome=A;for(var t=-1,o=e.queue.length;++t<o;)e.queue[t].callRejected(A);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(n),e)},l.reject=function(e){var A=new this(n);return a.reject(A,e)},l.all=function(e){var A=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,o=!1;if(!t)return this.resolve([]);for(var i=new Array(t),r=0,s=-1,l=new this(n);++s<t;)u(e[s],s);return l;function u(e,n){A.resolve(e).then(function(e){i[n]=e,++r!==t||o||(o=!0,a.resolve(l,i))},function(e){o||(o=!0,a.reject(l,e))})}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var A=e.length,t=!1;if(!A)return this.resolve([]);for(var o,i=-1,r=new this(n);++i<A;)o=e[i],this.resolve(o).then(function(e){t||(t=!0,a.resolve(r,e))},function(e){t||(t=!0,a.reject(r,e))});return r}},{immediate:36}],38:[function(e,A,t){"use strict";var o={};(0,e("./lib/utils/common").assign)(o,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),A.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,A,t){"use strict";var o=e("./zlib/deflate"),n=e("./utils/common"),a=e("./utils/strings"),i=e("./zlib/messages"),r=e("./zlib/zstream"),s=Object.prototype.toString,l=0,u=-1,c=0,g=8;function d(e){if(!(this instanceof d))return new d(e);this.options=n.assign({level:u,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:""},e||{});var A=this.options;A.raw&&0<A.windowBits?A.windowBits=-A.windowBits:A.gzip&&0<A.windowBits&&A.windowBits<16&&(A.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new r,this.strm.avail_out=0;var t=o.deflateInit2(this.strm,A.level,A.method,A.windowBits,A.memLevel,A.strategy);if(t!==l)throw new Error(i[t]);if(A.header&&o.deflateSetHeader(this.strm,A.header),A.dictionary){var B;if(B="string"==typeof A.dictionary?a.string2buf(A.dictionary):"[object ArrayBuffer]"===s.call(A.dictionary)?new Uint8Array(A.dictionary):A.dictionary,(t=o.deflateSetDictionary(this.strm,B))!==l)throw new Error(i[t]);this._dict_set=!0}}function B(e,A){var t=new d(A);if(t.push(e,!0),t.err)throw t.msg||i[t.err];return t.result}d.prototype.push=function(e,A){var t,i,r=this.strm,u=this.options.chunkSize;if(this.ended)return!1;i=A===~~A?A:!0===A?4:0,"string"==typeof e?r.input=a.string2buf(e):"[object ArrayBuffer]"===s.call(e)?r.input=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new n.Buf8(u),r.next_out=0,r.avail_out=u),1!==(t=o.deflate(r,i))&&t!==l)return this.onEnd(t),!(this.ended=!0);0!==r.avail_out&&(0!==r.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(a.buf2binstring(n.shrinkBuf(r.output,r.next_out))):this.onData(n.shrinkBuf(r.output,r.next_out)))}while((0<r.avail_in||0===r.avail_out)&&1!==t);return 4===i?(t=o.deflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===l):2!==i||(this.onEnd(l),!(r.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=d,t.deflate=B,t.deflateRaw=function(e,A){return(A=A||{}).raw=!0,B(e,A)},t.gzip=function(e,A){return(A=A||{}).gzip=!0,B(e,A)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,A,t){"use strict";var o=e("./zlib/inflate"),n=e("./utils/common"),a=e("./utils/strings"),i=e("./zlib/constants"),r=e("./zlib/messages"),s=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var A=this.options;A.raw&&0<=A.windowBits&&A.windowBits<16&&(A.windowBits=-A.windowBits,0===A.windowBits&&(A.windowBits=-15)),!(0<=A.windowBits&&A.windowBits<16)||e&&e.windowBits||(A.windowBits+=32),15<A.windowBits&&A.windowBits<48&&0==(15&A.windowBits)&&(A.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var t=o.inflateInit2(this.strm,A.windowBits);if(t!==i.Z_OK)throw new Error(r[t]);this.header=new l,o.inflateGetHeader(this.strm,this.header)}function g(e,A){var t=new c(A);if(t.push(e,!0),t.err)throw t.msg||r[t.err];return t.result}c.prototype.push=function(e,A){var t,r,s,l,c,g,d=this.strm,B=this.options.chunkSize,h=this.options.dictionary,E=!1;if(this.ended)return!1;r=A===~~A?A:!0===A?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof e?d.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new n.Buf8(B),d.next_out=0,d.avail_out=B),(t=o.inflate(d,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&h&&(g="string"==typeof h?a.string2buf(h):"[object ArrayBuffer]"===u.call(h)?new Uint8Array(h):h,t=o.inflateSetDictionary(this.strm,g)),t===i.Z_BUF_ERROR&&!0===E&&(t=i.Z_OK,E=!1),t!==i.Z_STREAM_END&&t!==i.Z_OK)return this.onEnd(t),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&t!==i.Z_STREAM_END&&(0!==d.avail_in||r!==i.Z_FINISH&&r!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(s=a.utf8border(d.output,d.next_out),l=d.next_out-s,c=a.buf2string(d.output,s),d.next_out=l,d.avail_out=B-l,l&&n.arraySet(d.output,d.output,s,l,0),this.onData(c)):this.onData(n.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(E=!0)}while((0<d.avail_in||0===d.avail_out)&&t!==i.Z_STREAM_END);return t===i.Z_STREAM_END&&(r=i.Z_FINISH),r===i.Z_FINISH?(t=o.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===i.Z_OK):r!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(d.avail_out=0))},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=c,t.inflate=g,t.inflateRaw=function(e,A){return(A=A||{}).raw=!0,g(e,A)},t.ungzip=g},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,A,t){"use strict";var o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var A=Array.prototype.slice.call(arguments,1);A.length;){var t=A.shift();if(t){if("object"!=typeof t)throw new TypeError(t+"must be non-object");for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}}return e},t.shrinkBuf=function(e,A){return e.length===A?e:e.subarray?e.subarray(0,A):(e.length=A,e)};var n={arraySet:function(e,A,t,o,n){if(A.subarray&&e.subarray)e.set(A.subarray(t,t+o),n);else for(var a=0;a<o;a++)e[n+a]=A[t+a]},flattenChunks:function(e){var A,t,o,n,a,i;for(A=o=0,t=e.length;A<t;A++)o+=e[A].length;for(i=new Uint8Array(o),A=n=0,t=e.length;A<t;A++)a=e[A],i.set(a,n),n+=a.length;return i}},a={arraySet:function(e,A,t,o,n){for(var a=0;a<o;a++)e[n+a]=A[t+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(o)},{}],42:[function(e,A,t){"use strict";var o=e("./common"),n=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var i=new o.Buf8(256),r=0;r<256;r++)i[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function s(e,A){if(A<65537&&(e.subarray&&a||!e.subarray&&n))return String.fromCharCode.apply(null,o.shrinkBuf(e,A));for(var t="",i=0;i<A;i++)t+=String.fromCharCode(e[i]);return t}i[254]=i[254]=1,t.string2buf=function(e){var A,t,n,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=new o.Buf8(s),a=i=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),t<128?A[i++]=t:(t<2048?A[i++]=192|t>>>6:(t<65536?A[i++]=224|t>>>12:(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63),A[i++]=128|t>>>6&63),A[i++]=128|63&t);return A},t.buf2binstring=function(e){return s(e,e.length)},t.binstring2buf=function(e){for(var A=new o.Buf8(e.length),t=0,n=A.length;t<n;t++)A[t]=e.charCodeAt(t);return A},t.buf2string=function(e,A){var t,o,n,a,r=A||e.length,l=new Array(2*r);for(t=o=0;t<r;)if((n=e[t++])<128)l[o++]=n;else if(4<(a=i[n]))l[o++]=65533,t+=a-1;else{for(n&=2===a?31:3===a?15:7;1<a&&t<r;)n=n<<6|63&e[t++],a--;1<a?l[o++]=65533:n<65536?l[o++]=n:(n-=65536,l[o++]=55296|n>>10&1023,l[o++]=56320|1023&n)}return s(l,o)},t.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+i[e[t]]>A?t:A}},{"./common":41}],43:[function(e,A,t){"use strict";A.exports=function(e,A,t,o){for(var n=65535&e|0,a=e>>>16&65535|0,i=0;0!==t;){for(t-=i=2e3<t?2e3:t;a=a+(n=n+A[o++]|0)|0,--i;);n%=65521,a%=65521}return n|a<<16|0}},{}],44:[function(e,A,t){"use strict";A.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,A,t){"use strict";var o=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A,t,n){var a=o,i=n+t;e^=-1;for(var r=n;r<i;r++)e=e>>>8^a[255&(e^A[r])];return-1^e}},{}],46:[function(e,A,t){"use strict";var o,n=e("../utils/common"),a=e("./trees"),i=e("./adler32"),r=e("./crc32"),s=e("./messages"),l=0,u=0,c=-2,g=2,d=8,B=286,h=30,E=19,m=2*B+1,p=15,C=3,w=258,f=w+C+1,I=42,Q=113;function M(e,A){return e.msg=s[A],A}function y(e){return(e<<1)-(4<e?9:0)}function b(e){for(var A=e.length;0<=--A;)e[A]=0}function T(e){var A=e.state,t=A.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(n.arraySet(e.output,A.pending_buf,A.pending_out,t,e.next_out),e.next_out+=t,A.pending_out+=t,e.total_out+=t,e.avail_out-=t,A.pending-=t,0===A.pending&&(A.pending_out=0))}function S(e,A){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,A),e.block_start=e.strstart,T(e.strm)}function D(e,A){e.pending_buf[e.pending++]=A}function k(e,A){e.pending_buf[e.pending++]=A>>>8&255,e.pending_buf[e.pending++]=255&A}function N(e,A){var t,o,n=e.max_chain_length,a=e.strstart,i=e.prev_length,r=e.nice_match,s=e.strstart>e.w_size-f?e.strstart-(e.w_size-f):0,l=e.window,u=e.w_mask,c=e.prev,g=e.strstart+w,d=l[a+i-1],B=l[a+i];e.prev_length>=e.good_match&&(n>>=2),r>e.lookahead&&(r=e.lookahead);do{if(l[(t=A)+i]===B&&l[t+i-1]===d&&l[t]===l[a]&&l[++t]===l[a+1]){a+=2,t++;do{}while(l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&l[++a]===l[++t]&&a<g);if(o=w-(g-a),a=g-w,i<o){if(e.match_start=A,r<=(i=o))break;d=l[a+i-1],B=l[a+i]}}}while((A=c[A&u])>s&&0!=--n);return i<=e.lookahead?i:e.lookahead}function R(e){var A,t,o,a,s,l,u,c,g,d,B=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=B+(B-f)){for(n.arraySet(e.window,e.window,B,B,0),e.match_start-=B,e.strstart-=B,e.block_start-=B,A=t=e.hash_size;o=e.head[--A],e.head[A]=B<=o?o-B:0,--t;);for(A=t=B;o=e.prev[--A],e.prev[A]=B<=o?o-B:0,--t;);a+=B}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,c=e.strstart+e.lookahead,d=void 0,(g=a)<(d=l.avail_in)&&(d=g),t=0===d?0:(l.avail_in-=d,n.arraySet(u,l.input,l.next_in,d,c),1===l.state.wrap?l.adler=i(l.adler,u,d,c):2===l.state.wrap&&(l.adler=r(l.adler,u,d,c)),l.next_in+=d,l.total_in+=d,d),e.lookahead+=t,e.lookahead+e.insert>=C)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+C-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<f&&0!==e.strm.avail_in)}function F(e,A){for(var t,o;;){if(e.lookahead<f){if(R(e),e.lookahead<f&&A===l)return 1;if(0===e.lookahead)break}if(t=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==t&&e.strstart-t<=e.w_size-f&&(e.match_length=N(e,t)),e.match_length>=C)if(o=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else o=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(o&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<C-1?e.strstart:C-1,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}function O(e,A){for(var t,o,n;;){if(e.lookahead<f){if(R(e),e.lookahead<f&&A===l)return 1;if(0===e.lookahead)break}if(t=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,0!==t&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-f&&(e.match_length=N(e,t),e.match_length<=5&&(1===e.strategy||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-C,o=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=C-1,e.strstart++,o&&(S(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((o=a._tr_tally(e,0,e.window[e.strstart-1]))&&S(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(o=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<C-1?e.strstart:C-1,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}function Y(e,A,t,o,n){this.good_length=e,this.max_lazy=A,this.nice_length=t,this.max_chain=o,this.func=n}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=d,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*m),this.dyn_dtree=new n.Buf16(2*(2*h+1)),this.bl_tree=new n.Buf16(2*(2*E+1)),b(this.dyn_ltree),b(this.dyn_dtree),b(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(p+1),this.heap=new n.Buf16(2*B+1),b(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*B+1),b(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function U(e){var A;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(A=e.state).pending=0,A.pending_out=0,A.wrap<0&&(A.wrap=-A.wrap),A.status=A.wrap?I:Q,e.adler=2===A.wrap?0:1,A.last_flush=l,a._tr_init(A),u):M(e,c)}function G(e){var A,t=U(e);return t===u&&((A=e.state).window_size=2*A.w_size,b(A.head),A.max_lazy_match=o[A.level].max_lazy,A.good_match=o[A.level].good_length,A.nice_match=o[A.level].nice_length,A.max_chain_length=o[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=C-1,A.match_available=0,A.ins_h=0),t}function _(e,A,t,o,a,i){if(!e)return c;var r=1;if(-1===A&&(A=6),o<0?(r=0,o=-o):15<o&&(r=2,o-=16),a<1||9<a||t!==d||o<8||15<o||A<0||9<A||i<0||4<i)return M(e,c);8===o&&(o=9);var s=new v;return(e.state=s).strm=e,s.wrap=r,s.gzhead=null,s.w_bits=o,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+C-1)/C),s.window=new n.Buf8(2*s.w_size),s.head=new n.Buf16(s.hash_size),s.prev=new n.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new n.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=A,s.strategy=i,s.method=t,G(e)}o=[new Y(0,0,0,0,function(e,A){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(R(e),0===e.lookahead&&A===l)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var o=e.block_start+t;if((0===e.strstart||e.strstart>=o)&&(e.lookahead=e.strstart-o,e.strstart=o,S(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-f&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(S(e,!1),e.strm.avail_out),1)}),new Y(4,4,8,4,F),new Y(4,5,16,8,F),new Y(4,6,32,32,F),new Y(4,4,16,16,O),new Y(8,16,32,32,O),new Y(8,16,128,128,O),new Y(8,32,128,256,O),new Y(32,128,258,1024,O),new Y(32,258,258,4096,O)],t.deflateInit=function(e,A){return _(e,A,d,15,8,0)},t.deflateInit2=_,t.deflateReset=G,t.deflateResetKeep=U,t.deflateSetHeader=function(e,A){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=A,u):c},t.deflate=function(e,A){var t,n,i,s;if(!e||!e.state||5<A||A<0)return e?M(e,c):c;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==A)return M(e,0===e.avail_out?-5:c);if(n.strm=e,t=n.last_flush,n.last_flush=A,n.status===I)if(2===n.wrap)e.adler=0,D(n,31),D(n,139),D(n,8),n.gzhead?(D(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),D(n,255&n.gzhead.time),D(n,n.gzhead.time>>8&255),D(n,n.gzhead.time>>16&255),D(n,n.gzhead.time>>24&255),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(D(n,255&n.gzhead.extra.length),D(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=r(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(D(n,0),D(n,0),D(n,0),D(n,0),D(n,0),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,3),n.status=Q);else{var g=d+(n.w_bits-8<<4)<<8;g|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(g|=32),g+=31-g%31,n.status=Q,k(n,g),0!==n.strstart&&(k(n,e.adler>>>16),k(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending!==n.pending_buf_size));)D(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,D(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),T(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,D(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>i&&(e.adler=r(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&T(e),n.pending+2<=n.pending_buf_size&&(D(n,255&e.adler),D(n,e.adler>>8&255),e.adler=0,n.status=Q)):n.status=Q),0!==n.pending){if(T(e),0===e.avail_out)return n.last_flush=-1,u}else if(0===e.avail_in&&y(A)<=y(t)&&4!==A)return M(e,-5);if(666===n.status&&0!==e.avail_in)return M(e,-5);if(0!==e.avail_in||0!==n.lookahead||A!==l&&666!==n.status){var B=2===n.strategy?function(e,A){for(var t;;){if(0===e.lookahead&&(R(e),0===e.lookahead)){if(A===l)return 1;break}if(e.match_length=0,t=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}(n,A):3===n.strategy?function(e,A){for(var t,o,n,i,r=e.window;;){if(e.lookahead<=w){if(R(e),e.lookahead<=w&&A===l)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(o=r[n=e.strstart-1])===r[++n]&&o===r[++n]&&o===r[++n]){i=e.strstart+w;do{}while(o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&o===r[++n]&&n<i);e.match_length=w-(i-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(t=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(S(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===A?(S(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(S(e,!1),0===e.strm.avail_out)?1:2}(n,A):o[n.level].func(n,A);if(3!==B&&4!==B||(n.status=666),1===B||3===B)return 0===e.avail_out&&(n.last_flush=-1),u;if(2===B&&(1===A?a._tr_align(n):5!==A&&(a._tr_stored_block(n,0,0,!1),3===A&&(b(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),T(e),0===e.avail_out))return n.last_flush=-1,u}return 4!==A?u:n.wrap<=0?1:(2===n.wrap?(D(n,255&e.adler),D(n,e.adler>>8&255),D(n,e.adler>>16&255),D(n,e.adler>>24&255),D(n,255&e.total_in),D(n,e.total_in>>8&255),D(n,e.total_in>>16&255),D(n,e.total_in>>24&255)):(k(n,e.adler>>>16),k(n,65535&e.adler)),T(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?u:1)},t.deflateEnd=function(e){var A;return e&&e.state?(A=e.state.status)!==I&&69!==A&&73!==A&&91!==A&&103!==A&&A!==Q&&666!==A?M(e,c):(e.state=null,A===Q?M(e,-3):u):c},t.deflateSetDictionary=function(e,A){var t,o,a,r,s,l,g,d,B=A.length;if(!e||!e.state)return c;if(2===(r=(t=e.state).wrap)||1===r&&t.status!==I||t.lookahead)return c;for(1===r&&(e.adler=i(e.adler,A,B,0)),t.wrap=0,B>=t.w_size&&(0===r&&(b(t.head),t.strstart=0,t.block_start=0,t.insert=0),d=new n.Buf8(t.w_size),n.arraySet(d,A,B-t.w_size,t.w_size,0),A=d,B=t.w_size),s=e.avail_in,l=e.next_in,g=e.input,e.avail_in=B,e.next_in=0,e.input=A,R(t);t.lookahead>=C;){for(o=t.strstart,a=t.lookahead-(C-1);t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+C-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,--a;);t.strstart=o,t.lookahead=C-1,R(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=C-1,t.match_available=0,e.next_in=l,e.input=g,e.avail_in=s,t.wrap=r,u},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,A,t){"use strict";A.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,A,t){"use strict";A.exports=function(e,A){var t,o,n,a,i,r,s,l,u,c,g,d,B,h,E,m,p,C,w,f,I,Q,M,y,b;t=e.state,o=e.next_in,y=e.input,n=o+(e.avail_in-5),a=e.next_out,b=e.output,i=a-(A-e.avail_out),r=a+(e.avail_out-257),s=t.dmax,l=t.wsize,u=t.whave,c=t.wnext,g=t.window,d=t.hold,B=t.bits,h=t.lencode,E=t.distcode,m=(1<<t.lenbits)-1,p=(1<<t.distbits)-1;e:do{B<15&&(d+=y[o++]<<B,B+=8,d+=y[o++]<<B,B+=8),C=h[d&m];A:for(;;){if(d>>>=w=C>>>24,B-=w,0==(w=C>>>16&255))b[a++]=65535&C;else{if(!(16&w)){if(0==(64&w)){C=h[(65535&C)+(d&(1<<w)-1)];continue A}if(32&w){t.mode=12;break e}e.msg="invalid literal/length code",t.mode=30;break e}f=65535&C,(w&=15)&&(B<w&&(d+=y[o++]<<B,B+=8),f+=d&(1<<w)-1,d>>>=w,B-=w),B<15&&(d+=y[o++]<<B,B+=8,d+=y[o++]<<B,B+=8),C=E[d&p];t:for(;;){if(d>>>=w=C>>>24,B-=w,!(16&(w=C>>>16&255))){if(0==(64&w)){C=E[(65535&C)+(d&(1<<w)-1)];continue t}e.msg="invalid distance code",t.mode=30;break e}if(I=65535&C,B<(w&=15)&&(d+=y[o++]<<B,(B+=8)<w&&(d+=y[o++]<<B,B+=8)),s<(I+=d&(1<<w)-1)){e.msg="invalid distance too far back",t.mode=30;break e}if(d>>>=w,B-=w,(w=a-i)<I){if(u<(w=I-w)&&t.sane){e.msg="invalid distance too far back",t.mode=30;break e}if(M=g,(Q=0)===c){if(Q+=l-w,w<f){for(f-=w;b[a++]=g[Q++],--w;);Q=a-I,M=b}}else if(c<w){if(Q+=l+c-w,(w-=c)<f){for(f-=w;b[a++]=g[Q++],--w;);if(Q=0,c<f){for(f-=w=c;b[a++]=g[Q++],--w;);Q=a-I,M=b}}}else if(Q+=c-w,w<f){for(f-=w;b[a++]=g[Q++],--w;);Q=a-I,M=b}for(;2<f;)b[a++]=M[Q++],b[a++]=M[Q++],b[a++]=M[Q++],f-=3;f&&(b[a++]=M[Q++],1<f&&(b[a++]=M[Q++]))}else{for(Q=a-I;b[a++]=b[Q++],b[a++]=b[Q++],b[a++]=b[Q++],2<(f-=3););f&&(b[a++]=b[Q++],1<f&&(b[a++]=b[Q++]))}break}}break}}while(o<n&&a<r);o-=f=B>>3,d&=(1<<(B-=f<<3))-1,e.next_in=o,e.next_out=a,e.avail_in=o<n?n-o+5:5-(o-n),e.avail_out=a<r?r-a+257:257-(a-r),t.hold=d,t.bits=B}},{}],49:[function(e,A,t){"use strict";var o=e("../utils/common"),n=e("./adler32"),a=e("./crc32"),i=e("./inffast"),r=e("./inftrees"),s=1,l=2,u=0,c=-2,g=1,d=852,B=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function E(e){var A;return e&&e.state?(A=e.state,e.total_in=e.total_out=A.total=0,e.msg="",A.wrap&&(e.adler=1&A.wrap),A.mode=g,A.last=0,A.havedict=0,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new o.Buf32(d),A.distcode=A.distdyn=new o.Buf32(B),A.sane=1,A.back=-1,u):c}function m(e){var A;return e&&e.state?((A=e.state).wsize=0,A.whave=0,A.wnext=0,E(e)):c}function p(e,A){var t,o;return e&&e.state?(o=e.state,A<0?(t=0,A=-A):(t=1+(A>>4),A<48&&(A&=15)),A&&(A<8||15<A)?c:(null!==o.window&&o.wbits!==A&&(o.window=null),o.wrap=t,o.wbits=A,m(e))):c}function C(e,A){var t,n;return e?(n=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},(e.state=n).window=null,(t=p(e,A))!==u&&(e.state=null),t):c}var w,f,I=!0;function Q(e){if(I){var A;for(w=new o.Buf32(512),f=new o.Buf32(32),A=0;A<144;)e.lens[A++]=8;for(;A<256;)e.lens[A++]=9;for(;A<280;)e.lens[A++]=7;for(;A<288;)e.lens[A++]=8;for(r(s,e.lens,0,288,w,0,e.work,{bits:9}),A=0;A<32;)e.lens[A++]=5;r(l,e.lens,0,32,f,0,e.work,{bits:5}),I=!1}e.lencode=w,e.lenbits=9,e.distcode=f,e.distbits=5}function M(e,A,t,n){var a,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new o.Buf8(i.wsize)),n>=i.wsize?(o.arraySet(i.window,A,t-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(a=i.wsize-i.wnext)&&(a=n),o.arraySet(i.window,A,t-n,a,i.wnext),(n-=a)?(o.arraySet(i.window,A,t-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=a))),0}t.inflateReset=m,t.inflateReset2=p,t.inflateResetKeep=E,t.inflateInit=function(e){return C(e,15)},t.inflateInit2=C,t.inflate=function(e,A){var t,d,B,E,m,p,C,w,f,I,y,b,T,S,D,k,N,R,F,O,Y,v,U,G,_=0,L=new o.Buf8(4),x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return c;12===(t=e.state).mode&&(t.mode=13),m=e.next_out,B=e.output,C=e.avail_out,E=e.next_in,d=e.input,p=e.avail_in,w=t.hold,f=t.bits,I=p,y=C,v=u;e:for(;;)switch(t.mode){case g:if(0===t.wrap){t.mode=13;break}for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(2&t.wrap&&35615===w){L[t.check=0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0),f=w=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",t.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",t.mode=30;break}if(f-=4,Y=8+(15&(w>>>=4)),0===t.wbits)t.wbits=Y;else if(Y>t.wbits){e.msg="invalid window size",t.mode=30;break}t.dmax=1<<Y,e.adler=t.check=1,t.mode=512&w?10:12,f=w=0;break;case 2:for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(t.flags=w,8!=(255&t.flags)){e.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){e.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=w>>8&1),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0,t.mode=3;case 3:for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.head&&(t.head.time=w),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,L[2]=w>>>16&255,L[3]=w>>>24&255,t.check=a(t.check,L,4,0)),f=w=0,t.mode=4;case 4:for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.head&&(t.head.xflags=255&w,t.head.os=w>>8),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0,t.mode=5;case 5:if(1024&t.flags){for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.length=w,t.head&&(t.head.extra_len=w),512&t.flags&&(L[0]=255&w,L[1]=w>>>8&255,t.check=a(t.check,L,2,0)),f=w=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(p<(b=t.length)&&(b=p),b&&(t.head&&(Y=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),o.arraySet(t.head.extra,d,E,b,Y)),512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,t.length-=b),t.length))break e;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===p)break e;for(b=0;Y=d[E+b++],t.head&&Y&&t.length<65536&&(t.head.name+=String.fromCharCode(Y)),Y&&b<p;);if(512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,Y)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(0===p)break e;for(b=0;Y=d[E+b++],t.head&&Y&&t.length<65536&&(t.head.comment+=String.fromCharCode(Y)),Y&&b<p;);if(512&t.flags&&(t.check=a(t.check,d,b,E)),p-=b,E+=b,Y)break e}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;f<16;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w!==(65535&t.check)){e.msg="header crc mismatch",t.mode=30;break}f=w=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=12;break;case 10:for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}e.adler=t.check=h(w),f=w=0,t.mode=11;case 11:if(0===t.havedict)return e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,2;e.adler=t.check=1,t.mode=12;case 12:if(5===A||6===A)break e;case 13:if(t.last){w>>>=7&f,f-=7&f,t.mode=27;break}for(;f<3;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}switch(t.last=1&w,f-=1,3&(w>>>=1)){case 0:t.mode=14;break;case 1:if(Q(t),t.mode=20,6!==A)break;w>>>=2,f-=2;break e;case 2:t.mode=17;break;case 3:e.msg="invalid block type",t.mode=30}w>>>=2,f-=2;break;case 14:for(w>>>=7&f,f-=7&f;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if((65535&w)!=(w>>>16^65535)){e.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&w,f=w=0,t.mode=15,6===A)break e;case 15:t.mode=16;case 16:if(b=t.length){if(p<b&&(b=p),C<b&&(b=C),0===b)break e;o.arraySet(B,d,E,b,m),p-=b,E+=b,C-=b,m+=b,t.length-=b;break}t.mode=12;break;case 17:for(;f<14;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(t.nlen=257+(31&w),w>>>=5,f-=5,t.ndist=1+(31&w),w>>>=5,f-=5,t.ncode=4+(15&w),w>>>=4,f-=4,286<t.nlen||30<t.ndist){e.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;f<3;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.lens[x[t.have++]]=7&w,w>>>=3,f-=3}for(;t.have<19;)t.lens[x[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,U={bits:t.lenbits},v=r(0,t.lens,0,19,t.lencode,0,t.work,U),t.lenbits=U.bits,v){e.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;k=(_=t.lencode[w&(1<<t.lenbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(N<16)w>>>=D,f-=D,t.lens[t.have++]=N;else{if(16===N){for(G=D+2;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w>>>=D,f-=D,0===t.have){e.msg="invalid bit length repeat",t.mode=30;break}Y=t.lens[t.have-1],b=3+(3&w),w>>>=2,f-=2}else if(17===N){for(G=D+3;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}f-=D,Y=0,b=3+(7&(w>>>=D)),w>>>=3,f-=3}else{for(G=D+7;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}f-=D,Y=0,b=11+(127&(w>>>=D)),w>>>=7,f-=7}if(t.have+b>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=30;break}for(;b--;)t.lens[t.have++]=Y}}if(30===t.mode)break;if(0===t.lens[256]){e.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,U={bits:t.lenbits},v=r(s,t.lens,0,t.nlen,t.lencode,0,t.work,U),t.lenbits=U.bits,v){e.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,U={bits:t.distbits},v=r(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,U),t.distbits=U.bits,v){e.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===A)break e;case 20:t.mode=21;case 21:if(6<=p&&258<=C){e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,i(e,y),m=e.next_out,B=e.output,C=e.avail_out,E=e.next_in,d=e.input,p=e.avail_in,w=t.hold,f=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(_=t.lencode[w&(1<<t.lenbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(k&&0==(240&k)){for(R=D,F=k,O=N;k=(_=t.lencode[O+((w&(1<<R+F)-1)>>R)])>>>16&255,N=65535&_,!(R+(D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}w>>>=R,f-=R,t.back+=R}if(w>>>=D,f-=D,t.back+=D,t.length=N,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){e.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(G=t.extra;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.length+=w&(1<<t.extra)-1,w>>>=t.extra,f-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(_=t.distcode[w&(1<<t.distbits)-1])>>>16&255,N=65535&_,!((D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(0==(240&k)){for(R=D,F=k,O=N;k=(_=t.distcode[O+((w&(1<<R+F)-1)>>R)])>>>16&255,N=65535&_,!(R+(D=_>>>24)<=f);){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}w>>>=R,f-=R,t.back+=R}if(w>>>=D,f-=D,t.back+=D,64&k){e.msg="invalid distance code",t.mode=30;break}t.offset=N,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(G=t.extra;f<G;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}t.offset+=w&(1<<t.extra)-1,w>>>=t.extra,f-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===C)break e;if(b=y-C,t.offset>b){if((b=t.offset-b)>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=30;break}T=b>t.wnext?(b-=t.wnext,t.wsize-b):t.wnext-b,b>t.length&&(b=t.length),S=t.window}else S=B,T=m-t.offset,b=t.length;for(C<b&&(b=C),C-=b,t.length-=b;B[m++]=S[T++],--b;);0===t.length&&(t.mode=21);break;case 26:if(0===C)break e;B[m++]=t.length,C--,t.mode=21;break;case 27:if(t.wrap){for(;f<32;){if(0===p)break e;p--,w|=d[E++]<<f,f+=8}if(y-=C,e.total_out+=y,t.total+=y,y&&(e.adler=t.check=t.flags?a(t.check,B,y,m-y):n(t.check,B,y,m-y)),y=C,(t.flags?w:h(w))!==t.check){e.msg="incorrect data check",t.mode=30;break}f=w=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;f<32;){if(0===p)break e;p--,w+=d[E++]<<f,f+=8}if(w!==(4294967295&t.total)){e.msg="incorrect length check",t.mode=30;break}f=w=0}t.mode=29;case 29:v=1;break e;case 30:v=-3;break e;case 31:return-4;case 32:default:return c}return e.next_out=m,e.avail_out=C,e.next_in=E,e.avail_in=p,t.hold=w,t.bits=f,(t.wsize||y!==e.avail_out&&t.mode<30&&(t.mode<27||4!==A))&&M(e,e.output,e.next_out,y-e.avail_out)?(t.mode=31,-4):(I-=e.avail_in,y-=e.avail_out,e.total_in+=I,e.total_out+=y,t.total+=y,t.wrap&&y&&(e.adler=t.check=t.flags?a(t.check,B,y,e.next_out-y):n(t.check,B,y,e.next_out-y)),e.data_type=t.bits+(t.last?64:0)+(12===t.mode?128:0)+(20===t.mode||15===t.mode?256:0),(0==I&&0===y||4===A)&&v===u&&(v=-5),v)},t.inflateEnd=function(e){if(!e||!e.state)return c;var A=e.state;return A.window&&(A.window=null),e.state=null,u},t.inflateGetHeader=function(e,A){var t;return e&&e.state?0==(2&(t=e.state).wrap)?c:((t.head=A).done=!1,u):c},t.inflateSetDictionary=function(e,A){var t,o=A.length;return e&&e.state?0!==(t=e.state).wrap&&11!==t.mode?c:11===t.mode&&n(1,A,o,0)!==t.check?-3:M(e,A,o,o)?(t.mode=31,-4):(t.havedict=1,u):c},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,A,t){"use strict";var o=e("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],r=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];A.exports=function(e,A,t,s,l,u,c,g){var d,B,h,E,m,p,C,w,f,I=g.bits,Q=0,M=0,y=0,b=0,T=0,S=0,D=0,k=0,N=0,R=0,F=null,O=0,Y=new o.Buf16(16),v=new o.Buf16(16),U=null,G=0;for(Q=0;Q<=15;Q++)Y[Q]=0;for(M=0;M<s;M++)Y[A[t+M]]++;for(T=I,b=15;1<=b&&0===Y[b];b--);if(b<T&&(T=b),0===b)return l[u++]=20971520,l[u++]=20971520,g.bits=1,0;for(y=1;y<b&&0===Y[y];y++);for(T<y&&(T=y),Q=k=1;Q<=15;Q++)if(k<<=1,(k-=Y[Q])<0)return-1;if(0<k&&(0===e||1!==b))return-1;for(v[1]=0,Q=1;Q<15;Q++)v[Q+1]=v[Q]+Y[Q];for(M=0;M<s;M++)0!==A[t+M]&&(c[v[A[t+M]]++]=M);if(p=0===e?(F=U=c,19):1===e?(F=n,O-=257,U=a,G-=257,256):(F=i,U=r,-1),Q=y,m=u,D=M=R=0,h=-1,E=(N=1<<(S=T))-1,1===e&&852<N||2===e&&592<N)return 1;for(;;){for(C=Q-D,f=c[M]<p?(w=0,c[M]):c[M]>p?(w=U[G+c[M]],F[O+c[M]]):(w=96,0),d=1<<Q-D,y=B=1<<S;l[m+(R>>D)+(B-=d)]=C<<24|w<<16|f|0,0!==B;);for(d=1<<Q-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,M++,0==--Y[Q]){if(Q===b)break;Q=A[t+c[M]]}if(T<Q&&(R&E)!==h){for(0===D&&(D=T),m+=y,k=1<<(S=Q-D);S+D<b&&!((k-=Y[S+D])<=0);)S++,k<<=1;if(N+=1<<S,1===e&&852<N||2===e&&592<N)return 1;l[h=R&E]=T<<24|S<<16|m-u|0}}return 0!==R&&(l[m+R]=Q-D<<24|64<<16|0),g.bits=T,0}},{"../utils/common":41}],51:[function(e,A,t){"use strict";A.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,A,t){"use strict";var o=e("../utils/common");function n(e){for(var A=e.length;0<=--A;)e[A]=0}var a=15,i=16,r=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);n(c);var g=new Array(60);n(g);var d=new Array(512);n(d);var B=new Array(256);n(B);var h=new Array(29);n(h);var E,m,p,C=new Array(30);function w(e,A,t,o,n){this.static_tree=e,this.extra_bits=A,this.extra_base=t,this.elems=o,this.max_length=n,this.has_stree=e&&e.length}function f(e,A){this.dyn_tree=e,this.max_code=0,this.stat_desc=A}function I(e){return e<256?d[e]:d[256+(e>>>7)]}function Q(e,A){e.pending_buf[e.pending++]=255&A,e.pending_buf[e.pending++]=A>>>8&255}function M(e,A,t){e.bi_valid>i-t?(e.bi_buf|=A<<e.bi_valid&65535,Q(e,e.bi_buf),e.bi_buf=A>>i-e.bi_valid,e.bi_valid+=t-i):(e.bi_buf|=A<<e.bi_valid&65535,e.bi_valid+=t)}function y(e,A,t){M(e,t[2*A],t[2*A+1])}function b(e,A){for(var t=0;t|=1&e,e>>>=1,t<<=1,0<--A;);return t>>>1}function T(e,A,t){var o,n,i=new Array(a+1),r=0;for(o=1;o<=a;o++)i[o]=r=r+t[o-1]<<1;for(n=0;n<=A;n++){var s=e[2*n+1];0!==s&&(e[2*n]=b(i[s]++,s))}}function S(e){var A;for(A=0;A<286;A++)e.dyn_ltree[2*A]=0;for(A=0;A<30;A++)e.dyn_dtree[2*A]=0;for(A=0;A<19;A++)e.bl_tree[2*A]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){8<e.bi_valid?Q(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function k(e,A,t,o){var n=2*A,a=2*t;return e[n]<e[a]||e[n]===e[a]&&o[A]<=o[t]}function N(e,A,t){for(var o=e.heap[t],n=t<<1;n<=e.heap_len&&(n<e.heap_len&&k(A,e.heap[n+1],e.heap[n],e.depth)&&n++,!k(A,o,e.heap[n],e.depth));)e.heap[t]=e.heap[n],t=n,n<<=1;e.heap[t]=o}function R(e,A,t){var o,n,a,i,l=0;if(0!==e.last_lit)for(;o=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],n=e.pending_buf[e.l_buf+l],l++,0===o?y(e,n,A):(y(e,(a=B[n])+256+1,A),0!==(i=r[a])&&M(e,n-=h[a],i),y(e,a=I(--o),t),0!==(i=s[a])&&M(e,o-=C[a],i)),l<e.last_lit;);y(e,256,A)}function F(e,A){var t,o,n,i=A.dyn_tree,r=A.stat_desc.static_tree,s=A.stat_desc.has_stree,l=A.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,t=0;t<l;t++)0!==i[2*t]?(e.heap[++e.heap_len]=u=t,e.depth[t]=0):i[2*t+1]=0;for(;e.heap_len<2;)i[2*(n=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[n]=0,e.opt_len--,s&&(e.static_len-=r[2*n+1]);for(A.max_code=u,t=e.heap_len>>1;1<=t;t--)N(e,i,t);for(n=l;t=e.heap[1],e.heap[1]=e.heap[e.heap_len--],N(e,i,1),o=e.heap[1],e.heap[--e.heap_max]=t,e.heap[--e.heap_max]=o,i[2*n]=i[2*t]+i[2*o],e.depth[n]=(e.depth[t]>=e.depth[o]?e.depth[t]:e.depth[o])+1,i[2*t+1]=i[2*o+1]=n,e.heap[1]=n++,N(e,i,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,A){var t,o,n,i,r,s,l=A.dyn_tree,u=A.max_code,c=A.stat_desc.static_tree,g=A.stat_desc.has_stree,d=A.stat_desc.extra_bits,B=A.stat_desc.extra_base,h=A.stat_desc.max_length,E=0;for(i=0;i<=a;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,t=e.heap_max+1;t<573;t++)h<(i=l[2*l[2*(o=e.heap[t])+1]+1]+1)&&(i=h,E++),l[2*o+1]=i,u<o||(e.bl_count[i]++,r=0,B<=o&&(r=d[o-B]),s=l[2*o],e.opt_len+=s*(i+r),g&&(e.static_len+=s*(c[2*o+1]+r)));if(0!==E){do{for(i=h-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[h]--,E-=2}while(0<E);for(i=h;0!==i;i--)for(o=e.bl_count[i];0!==o;)u<(n=e.heap[--t])||(l[2*n+1]!==i&&(e.opt_len+=(i-l[2*n+1])*l[2*n],l[2*n+1]=i),o--)}}(e,A),T(i,u,e.bl_count)}function O(e,A,t){var o,n,a=-1,i=A[1],r=0,s=7,l=4;for(0===i&&(s=138,l=3),A[2*(t+1)+1]=65535,o=0;o<=t;o++)n=i,i=A[2*(o+1)+1],++r<s&&n===i||(r<l?e.bl_tree[2*n]+=r:0!==n?(n!==a&&e.bl_tree[2*n]++,e.bl_tree[32]++):r<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=n,l=(r=0)===i?(s=138,3):n===i?(s=6,3):(s=7,4))}function Y(e,A,t){var o,n,a=-1,i=A[1],r=0,s=7,l=4;for(0===i&&(s=138,l=3),o=0;o<=t;o++)if(n=i,i=A[2*(o+1)+1],!(++r<s&&n===i)){if(r<l)for(;y(e,n,e.bl_tree),0!=--r;);else 0!==n?(n!==a&&(y(e,n,e.bl_tree),r--),y(e,16,e.bl_tree),M(e,r-3,2)):r<=10?(y(e,17,e.bl_tree),M(e,r-3,3)):(y(e,18,e.bl_tree),M(e,r-11,7));a=n,l=(r=0)===i?(s=138,3):n===i?(s=6,3):(s=7,4)}}n(C);var v=!1;function U(e,A,t,n){var a,i,r;M(e,0+(n?1:0),3),i=A,r=t,D(a=e),Q(a,r),Q(a,~r),o.arraySet(a.pending_buf,a.window,i,r,a.pending),a.pending+=r}t._tr_init=function(e){v||(function(){var e,A,t,o,n,i=new Array(a+1);for(o=t=0;o<28;o++)for(h[o]=t,e=0;e<1<<r[o];e++)B[t++]=o;for(B[t-1]=o,o=n=0;o<16;o++)for(C[o]=n,e=0;e<1<<s[o];e++)d[n++]=o;for(n>>=7;o<30;o++)for(C[o]=n<<7,e=0;e<1<<s[o]-7;e++)d[256+n++]=o;for(A=0;A<=a;A++)i[A]=0;for(e=0;e<=143;)c[2*e+1]=8,e++,i[8]++;for(;e<=255;)c[2*e+1]=9,e++,i[9]++;for(;e<=279;)c[2*e+1]=7,e++,i[7]++;for(;e<=287;)c[2*e+1]=8,e++,i[8]++;for(T(c,287,i),e=0;e<30;e++)g[2*e+1]=5,g[2*e]=b(e,5);E=new w(c,r,257,286,a),m=new w(g,s,0,30,a),p=new w(new Array(0),l,0,19,7)}(),v=!0),e.l_desc=new f(e.dyn_ltree,E),e.d_desc=new f(e.dyn_dtree,m),e.bl_desc=new f(e.bl_tree,p),e.bi_buf=0,e.bi_valid=0,S(e)},t._tr_stored_block=U,t._tr_flush_block=function(e,A,t,o){var n,a,i=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var A,t=4093624447;for(A=0;A<=31;A++,t>>>=1)if(1&t&&0!==e.dyn_ltree[2*A])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(A=32;A<256;A++)if(0!==e.dyn_ltree[2*A])return 1;return 0}(e)),F(e,e.l_desc),F(e,e.d_desc),i=function(e){var A;for(O(e,e.dyn_ltree,e.l_desc.max_code),O(e,e.dyn_dtree,e.d_desc.max_code),F(e,e.bl_desc),A=18;3<=A&&0===e.bl_tree[2*u[A]+1];A--);return e.opt_len+=3*(A+1)+5+5+4,A}(e),n=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=n&&(n=a)):n=a=t+5,t+4<=n&&-1!==A?U(e,A,t,o):4===e.strategy||a===n?(M(e,2+(o?1:0),3),R(e,c,g)):(M(e,4+(o?1:0),3),function(e,A,t,o){var n;for(M(e,A-257,5),M(e,t-1,5),M(e,o-4,4),n=0;n<o;n++)M(e,e.bl_tree[2*u[n]+1],3);Y(e,e.dyn_ltree,A-1),Y(e,e.dyn_dtree,t-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),R(e,e.dyn_ltree,e.dyn_dtree)),S(e),o&&D(e)},t._tr_tally=function(e,A,t){return e.pending_buf[e.d_buf+2*e.last_lit]=A>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&A,e.pending_buf[e.l_buf+e.last_lit]=255&t,e.last_lit++,0===A?e.dyn_ltree[2*t]++:(e.matches++,A--,e.dyn_ltree[2*(B[t]+256+1)]++,e.dyn_dtree[2*I(A)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){var A;M(e,2,3),y(e,256,c),16===(A=e).bi_valid?(Q(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,A,t){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,A,t){"use strict";A.exports="function"==typeof o?o:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==A?A:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}).call(this,t(36),t(66).Buffer,t(451).setImmediate)},function(e,A){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},function(e,A,t){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function a(e,A){this._id=e,this._clearFn=A}A.setTimeout=function(){return new a(n.call(setTimeout,o,arguments),clearTimeout)},A.setInterval=function(){return new a(n.call(setInterval,o,arguments),clearInterval)},A.clearTimeout=A.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(o,this._id)},A.enroll=function(e,A){clearTimeout(e._idleTimeoutId),e._idleTimeout=A},A.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},A._unrefActive=A.active=function(e){clearTimeout(e._idleTimeoutId);var A=e._idleTimeout;A>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},A))},t(1053),A.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,A.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,t(36))},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,A){return(a=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function i(e){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var t,n=r(e);if(A){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return function(e,A){if(A&&("object"===o(A)||"function"==typeof A))return A;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=t(1054),l=t(39),u=function(e){!function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),A&&a(e,A)}(t,s);var A=i(t);function t(){var e;return function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),(e=A.call(this)).services={},e.workerClass="undefined"==typeof Worker?null:Worker,e.workers=[],e}return function(e,A,t){A&&n(e.prototype,A),t&&n(e,t)}(t,[{key:"callSync",value:function(e,A){var t=this._getServiceProvider(e),o=t.provider,n=t.isRemote;if(o){if(n)throw new Error("Cannot use 'callSync' on remote provider for service ".concat(e,"."));for(var a=arguments.length,i=new Array(a>2?a-2:0),r=2;r<a;r++)i[r-2]=arguments[r];return o[A].apply(o,i)}throw new Error("Provider not found for service: ".concat(e))}},{key:"setServiceSync",value:function(e,A){this.services.hasOwnProperty(e)&&l.warn("Central dispatch replacing existing service provider for ".concat(e)),this.services[e]=A}},{key:"setService",value:function(e,A){try{return this.setServiceSync(e,A),Promise.resolve()}catch(e){return Promise.reject(e)}}},{key:"addWorker",value:function(e){-1===this.workers.indexOf(e)?(this.workers.push(e),e.onmessage=this._onMessage.bind(this,e),this._remoteCall(e,"dispatch","handshake").catch(function(e){l.error("Could not handshake with worker: ".concat(JSON.stringify(e)))})):l.warn("Central dispatch ignoring attempt to add duplicate worker")}},{key:"_getServiceProvider",value:function(e){var A=this.services[e];return A&&{provider:A,isRemote:Boolean(this.workerClass&&A instanceof this.workerClass)}}},{key:"_onDispatchMessage",value:function(e,A){var t;switch(A.method){case"setService":t=this.setService(A.args[0],e);break;default:l.error("Central dispatch received message for unknown method: ".concat(A.method))}return t}}]),t}();e.exports=new u},function(e,A,t){var o=t(1055),n=o.enable,a=o.disable,i="undefined"!=typeof navigator&&/chrome/i.test(navigator.userAgent),r=t(1058);if(o.defaultBackend=i?r.minilog:r,"undefined"!=typeof window){try{o.enable(JSON.parse(window.localStorage.minilogSettings))}catch(e){}if(window.location&&window.location.search){var s=RegExp("[?&]minilog=([^&]*)").exec(window.location.search);s&&o.enable(decodeURIComponent(s[1]))}}o.enable=function(){n.call(o,!0);try{window.localStorage.minilogSettings=JSON.stringify(!0)}catch(e){}return this},o.disable=function(){a.call(o);try{delete window.localStorage.minilogSettings}catch(e){}return this},(e.exports=o).backends={array:t(1061),browser:o.defaultBackend,localStorage:t(1062),jQuery:t(1063)}},function(e,A){var t={black:"#000",red:"#c23621",green:"#25bc26",yellow:"#bbbb00",blue:"#492ee1",magenta:"#d338d3",cyan:"#33bbc8",gray:"#808080",purple:"#708"};e.exports=function(e,A){return A?"color: #fff; background: "+t[e]+";":"color: "+t[e]+";"}},function(e,A,t){var o=t(76);e.exports=function(e,A,t){return e&&e.id&&e.default?o(e,A,t):e}},function(e,A,t){"use strict";var o="one",n="two",a="few",i="many",r="other",s=[function(e){return 1===+e?o:r},function(e){var A=+e;return 0<=A&&A<=1?o:r},function(e){return 0===Math.floor(Math.abs(+e))||1===+e?o:r},function(e){var A=+e;return 0===A?"zero":1===A?o:2===A?n:3<=A%100&&A%100<=10?a:11<=A%100&&A%100<=99?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:r},function(e){var A=+e;return A%10==1&&A%100!=11?o:2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:A%10==0||5<=A%10&&A%10<=9||11<=A%100&&A%100<=14?i:r},function(e){var A=+e;return A%10==1&&A%100!=11&&A%100!=71&&A%100!=91?o:A%10==2&&A%100!=12&&A%100!=72&&A%100!=92?n:(3<=A%10&&A%10<=4||A%10==9)&&(A%100<10||19<A%100)&&(A%100<70||79<A%100)&&(A%100<90||99<A%100)?a:0!==A&&A%1e6==0?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&A%10==1&&A%100!=11||n%10==1&&n%100!=11?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)||2<=n%10&&n%10<=4&&(n%100<12||14<n%100)?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:2<=A&&A<=4&&0===t?a:0!==t?i:r},function(e){var A=+e;return 0===A?"zero":1===A?o:2===A?n:3===A?a:6===A?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(""+e).replace(/^[^.]*.?|0+$/g,"");return 1===+e||0!==t&&(0===A||1===A)?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,i=+(e+".").split(".")[1];return 0===t&&A%100==1||i%100==1?o:0===t&&A%100==2||i%100==2?n:0===t&&3<=A%100&&A%100<=4||3<=i%100&&i%100<=4?a:r},function(e){var A=Math.floor(Math.abs(+e));return 0===A||1===A?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&(1===A||2===A||3===A)||0===t&&A%10!=4&&A%10!=6&&A%10!=9||0!==t&&n%10!=4&&n%10!=6&&n%10!=9?o:r},function(e){var A=+e;return 1===A?o:2===A?n:3<=A&&A<=6?a:7<=A&&A<=10?i:r},function(e){var A=+e;return 1===A||11===A?o:2===A||12===A?n:3<=A&&A<=10||13<=A&&A<=19?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%10==1?o:0===t&&A%10==2?n:0!==t||A%100!=0&&A%100!=20&&A%100!=40&&A%100!=60&&A%100!=80?0!==t?i:r:a},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,a=+e;return 1===A&&0===t?o:2===A&&0===t?n:0===t&&(a<0||10<a)&&a%10==0?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(""+e).replace(/^[^.]*.?|0+$/g,"");return 0===t&&A%10==1&&A%100!=11||0!==t?o:r},function(e){var A=+e;return 1===A?o:2===A?n:r},function(e){var A=+e;return 0===A?"zero":1===A?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=+e;return 0===t?"zero":0!==A&&1!==A||0===t?r:o},function(e){var A=+(e+".").split(".")[1],t=+e;return t%10==1&&(t%100<11||19<t%100)?o:2<=t%10&&t%10<=9&&(t%100<11||19<t%100)?a:0!==A?i:r},function(e){var A=(e+".").split(".")[1].length,t=+(e+".").split(".")[1],n=+e;return n%10==0||11<=n%100&&n%100<=19||2===A&&11<=t%100&&t%100<=19?"zero":n%10==1&&n%100!=11||2===A&&t%10==1&&t%100!=11||2!==A&&t%10==1?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+(e+".").split(".")[1];return 0===t&&A%10==1&&A%100!=11||n%10==1&&n%100!=11?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length,n=+e;return 1===A&&0===t?o:0!==t||0===n||1!==n&&1<=n%100&&n%100<=19?a:r},function(e){var A=+e;return 1===A?o:0===A||2<=A%100&&A%100<=10?a:11<=A%100&&A%100<=19?i:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 1===A&&0===t?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:0===t&&1!==A&&0<=A%10&&A%10<=1||0===t&&5<=A%10&&A%10<=9||0===t&&12<=A%100&&A%100<=14?i:r},function(e){var A=Math.floor(Math.abs(+e));return 0<=A&&A<=1?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%10==1&&A%100!=11?o:0===t&&2<=A%10&&A%10<=4&&(A%100<12||14<A%100)?a:0===t&&A%10==0||0===t&&5<=A%10&&A%10<=9||0===t&&11<=A%100&&A%100<=14?i:r},function(e){var A=+e;return 0===Math.floor(Math.abs(+e))||1===A?o:2<=A&&A<=10?a:r},function(e){var A=Math.floor(Math.abs(+e)),t=+(e+".").split(".")[1],n=+e;return 0===n||1===n||0===A&&1===t?o:r},function(e){var A=Math.floor(Math.abs(+e)),t=(e+".").split(".")[1].length;return 0===t&&A%100==1?o:0===t&&A%100==2?n:0===t&&3<=A%100&&A%100<=4||0!==t?a:r},function(e){var A=+e;return 0<=A&&A<=1||11<=A&&A<=99?o:r},function(e){var A=+e;return 1===A||5===A||7===A||8===A||9===A||10===A?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=Math.floor(Math.abs(+e));return A%10==1||A%10==2||A%10==5||A%10==7||A%10==8||A%100==20||A%100==50||A%100==70||A%100==80?o:A%10==3||A%10==4||A%1e3==100||A%1e3==200||A%1e3==300||A%1e3==400||A%1e3==500||A%1e3==600||A%1e3==700||A%1e3==800||A%1e3==900?a:0===A||A%10==6||A%100==40||A%100==60||A%100==90?i:r},function(e){var A=+e;return A%10!=2&&A%10!=3||A%100==12||A%100==13?r:a},function(e){var A=+e;return 1===A||3===A?o:2===A?n:4===A?a:r},function(e){var A=+e;return 0===A||7===A||8===A||9===A?"zero":1===A?o:2===A?n:3===A||4===A?a:5===A||6===A?i:r},function(e){var A=+e;return A%10==1&&A%100!=11?o:A%10==2&&A%100!=12?n:A%10==3&&A%100!=13?a:r},function(e){var A=+e;return 1===A?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=+e;return 1===A||5===A?o:r},function(e){var A=+e;return 11===A||8===A||80===A||800===A?i:r},function(e){var A=Math.floor(Math.abs(+e));return 1===A?o:0===A||2<=A%100&&A%100<=20||A%100==40||A%100==60||A%100==80?i:r},function(e){var A=+e;return A%10==6||A%10==9||A%10==0&&0!==A?i:r},function(e){var A=Math.floor(Math.abs(+e));return A%10==1&&A%100!=11?o:A%10==2&&A%100!=12?n:A%10!=7&&A%10!=8||A%100==17||A%100==18?r:i},function(e){var A=+e;return 1===A?o:2===A||3===A?n:4===A?a:r},function(e){var A=+e;return 1<=A&&A<=4?o:r},function(e){var A=+e;return 1===A||5===A||7<=A&&A<=9?o:2===A||3===A?n:4===A?a:6===A?i:r},function(e){var A=+e;return 1===A?o:A%10==4&&A%100!=14?i:r},function(e){var A=+e;return A%10!=1&&A%10!=2||A%100==11||A%100==12?r:o},function(e){var A=+e;return A%10==6||A%10==9||10===A?a:r},function(e){var A=+e;return A%10==3&&A%100!=13?a:r}];e.exports={af:{cardinal:s[0]},ak:{cardinal:s[1]},am:{cardinal:s[2]},ar:{cardinal:s[3]},ars:{cardinal:s[3]},as:{cardinal:s[2],ordinal:s[34]},asa:{cardinal:s[0]},ast:{cardinal:s[4]},az:{cardinal:s[0],ordinal:s[35]},be:{cardinal:s[5],ordinal:s[36]},bem:{cardinal:s[0]},bez:{cardinal:s[0]},bg:{cardinal:s[0]},bh:{cardinal:s[1]},bn:{cardinal:s[2],ordinal:s[34]},br:{cardinal:s[6]},brx:{cardinal:s[0]},bs:{cardinal:s[7]},ca:{cardinal:s[4],ordinal:s[37]},ce:{cardinal:s[0]},cgg:{cardinal:s[0]},chr:{cardinal:s[0]},ckb:{cardinal:s[0]},cs:{cardinal:s[8]},cy:{cardinal:s[9],ordinal:s[38]},da:{cardinal:s[10]},de:{cardinal:s[4]},dsb:{cardinal:s[11]},dv:{cardinal:s[0]},ee:{cardinal:s[0]},el:{cardinal:s[0]},en:{cardinal:s[4],ordinal:s[39]},eo:{cardinal:s[0]},es:{cardinal:s[0]},et:{cardinal:s[4]},eu:{cardinal:s[0]},fa:{cardinal:s[2]},ff:{cardinal:s[12]},fi:{cardinal:s[4]},fil:{cardinal:s[13],ordinal:s[0]},fo:{cardinal:s[0]},fr:{cardinal:s[12],ordinal:s[0]},fur:{cardinal:s[0]},fy:{cardinal:s[4]},ga:{cardinal:s[14],ordinal:s[0]},gd:{cardinal:s[15]},gl:{cardinal:s[4]},gsw:{cardinal:s[0]},gu:{cardinal:s[2],ordinal:s[40]},guw:{cardinal:s[1]},gv:{cardinal:s[16]},ha:{cardinal:s[0]},haw:{cardinal:s[0]},he:{cardinal:s[17]},hi:{cardinal:s[2],ordinal:s[40]},hr:{cardinal:s[7]},hsb:{cardinal:s[11]},hu:{cardinal:s[0],ordinal:s[41]},hy:{cardinal:s[12],ordinal:s[0]},io:{cardinal:s[4]},is:{cardinal:s[18]},it:{cardinal:s[4],ordinal:s[42]},iu:{cardinal:s[19]},iw:{cardinal:s[17]},jgo:{cardinal:s[0]},ji:{cardinal:s[4]},jmc:{cardinal:s[0]},ka:{cardinal:s[0],ordinal:s[43]},kab:{cardinal:s[12]},kaj:{cardinal:s[0]},kcg:{cardinal:s[0]},kk:{cardinal:s[0],ordinal:s[44]},kkj:{cardinal:s[0]},kl:{cardinal:s[0]},kn:{cardinal:s[2]},ks:{cardinal:s[0]},ksb:{cardinal:s[0]},ksh:{cardinal:s[20]},ku:{cardinal:s[0]},kw:{cardinal:s[19]},ky:{cardinal:s[0]},lag:{cardinal:s[21]},lb:{cardinal:s[0]},lg:{cardinal:s[0]},ln:{cardinal:s[1]},lt:{cardinal:s[22]},lv:{cardinal:s[23]},mas:{cardinal:s[0]},mg:{cardinal:s[1]},mgo:{cardinal:s[0]},mk:{cardinal:s[24],ordinal:s[45]},ml:{cardinal:s[0]},mn:{cardinal:s[0]},mo:{cardinal:s[25],ordinal:s[0]},mr:{cardinal:s[2],ordinal:s[46]},mt:{cardinal:s[26]},nah:{cardinal:s[0]},naq:{cardinal:s[19]},nb:{cardinal:s[0]},nd:{cardinal:s[0]},ne:{cardinal:s[0],ordinal:s[47]},nl:{cardinal:s[4]},nn:{cardinal:s[0]},nnh:{cardinal:s[0]},no:{cardinal:s[0]},nr:{cardinal:s[0]},nso:{cardinal:s[1]},ny:{cardinal:s[0]},nyn:{cardinal:s[0]},om:{cardinal:s[0]},or:{cardinal:s[0],ordinal:s[48]},os:{cardinal:s[0]},pa:{cardinal:s[1]},pap:{cardinal:s[0]},pl:{cardinal:s[27]},prg:{cardinal:s[23]},ps:{cardinal:s[0]},pt:{cardinal:s[28]},"pt-PT":{cardinal:s[4]},rm:{cardinal:s[0]},ro:{cardinal:s[25],ordinal:s[0]},rof:{cardinal:s[0]},ru:{cardinal:s[29]},rwk:{cardinal:s[0]},saq:{cardinal:s[0]},scn:{cardinal:s[4],ordinal:s[42]},sd:{cardinal:s[0]},sdh:{cardinal:s[0]},se:{cardinal:s[19]},seh:{cardinal:s[0]},sh:{cardinal:s[7]},shi:{cardinal:s[30]},si:{cardinal:s[31]},sk:{cardinal:s[8]},sl:{cardinal:s[32]},sma:{cardinal:s[19]},smi:{cardinal:s[19]},smj:{cardinal:s[19]},smn:{cardinal:s[19]},sms:{cardinal:s[19]},sn:{cardinal:s[0]},so:{cardinal:s[0]},sq:{cardinal:s[0],ordinal:s[49]},sr:{cardinal:s[7]},ss:{cardinal:s[0]},ssy:{cardinal:s[0]},st:{cardinal:s[0]},sv:{cardinal:s[4],ordinal:s[50]},sw:{cardinal:s[4]},syr:{cardinal:s[0]},ta:{cardinal:s[0]},te:{cardinal:s[0]},teo:{cardinal:s[0]},ti:{cardinal:s[1]},tig:{cardinal:s[0]},tk:{cardinal:s[0],ordinal:s[51]},tl:{cardinal:s[13],ordinal:s[0]},tn:{cardinal:s[0]},tr:{cardinal:s[0]},ts:{cardinal:s[0]},tzm:{cardinal:s[33]},ug:{cardinal:s[0]},uk:{cardinal:s[29],ordinal:s[52]},ur:{cardinal:s[4]},uz:{cardinal:s[0]},ve:{cardinal:s[0]},vo:{cardinal:s[0]},vun:{cardinal:s[0]},wa:{cardinal:s[1]},wae:{cardinal:s[0]},xh:{cardinal:s[0]},xog:{cardinal:s[0]},yi:{cardinal:s[4]},zu:{cardinal:s[2]},lo:{ordinal:s[0]},ms:{ordinal:s[0]},vi:{ordinal:s[0]}}},function(e,A){e.exports={SPRITE:"sprite",STAGE:"stage"}},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=t(164),a=t(1095);e.exports=function(e){return function e(A){var t=Object.create(null);for(var o in t.tagName=A.name,t.children=[],A.attribs)"xmlns"!==o&&(t[o]=a(A.attribs[o]),"blockinfo"===o&&(t.blockInfo=JSON.parse(t.blockinfo),delete t.blockinfo));for(var n=0;n<A.children.length;n++)t.children.push(e(A.children[n]));return t}("object"===o(e)?e:n.parseDOM(e)[0])}},function(e,A,t){var o=t(460),n={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:n,input:n,output:n,button:n,datalist:n,textarea:n,option:{option:!0},optgroup:{optgroup:!0}},i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},r={__proto__:null,math:!0,svg:!0},s={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(e,A){this._options=A||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(o=this._options.Tokenizer),this._tokenizer=new o(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}t(234)(u,t(99).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var A;(A=this._stack[this._stack.length-1])in a[e];this.onclosetag(A));!this._options.xmlMode&&e in i||(this._stack.push(e),e in r?this._foreignContext.push(!0):e in s&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in i&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in i&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var A=this._stack.lastIndexOf(e);if(-1!==A)if(this._cbs.onclosetag)for(A=this._stack.length-A;A--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=A;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop(),(e in r||e in s)&&this._foreignContext.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var A=e.search(l),t=A<0?e:e.substr(0,A);return this._lowerCaseTagNames&&(t=t.toLowerCase()),t},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var A=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+A,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var A=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+A,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},function(e,A,t){e.exports=Ee;var o=t(461),n=t(314),a=t(462),i=t(315),r=0,s=r++,l=r++,u=r++,c=r++,g=r++,d=r++,B=r++,h=r++,E=r++,m=r++,p=r++,C=r++,w=r++,f=r++,I=r++,Q=r++,M=r++,y=r++,b=r++,T=r++,S=r++,D=r++,k=r++,N=r++,R=r++,F=r++,O=r++,Y=r++,v=r++,U=r++,G=r++,_=r++,L=r++,x=r++,H=r++,P=r++,j=r++,J=r++,z=r++,W=r++,K=r++,V=r++,X=r++,q=r++,Z=r++,$=r++,ee=r++,Ae=r++,te=r++,oe=r++,ne=r++,ae=r++,ie=r++,re=r++,se=r++,le=0,ue=le++,ce=le++,ge=le++;function de(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function Be(e,A,t){var o=e.toLowerCase();return e===o?function(e){e===o?this._state=A:(this._state=t,this._index--)}:function(n){n===o||n===e?this._state=A:(this._state=t,this._index--)}}function he(e,A){var t=e.toLowerCase();return function(o){o===t||o===e?this._state=A:(this._state=u,this._index--)}}function Ee(e,A){this._state=s,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=s,this._special=ue,this._cbs=A,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}Ee.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=s,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateBeforeTagName=function(e){"/"===e?this._state=g:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||de(e)?this._state=s:"!"===e?(this._state=I,this._sectionStart=this._index+1):"?"===e?(this._state=M,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:G,this._sectionStart=this._index)},Ee.prototype._stateInTagName=function(e){("/"===e||">"===e||de(e))&&(this._emitToken("onopentagname"),this._state=h,this._index--)},Ee.prototype._stateBeforeCloseingTagName=function(e){de(e)||(">"===e?this._state=s:this._special!==ue?"s"===e||"S"===e?this._state=_:(this._state=s,this._index--):(this._state=d,this._sectionStart=this._index))},Ee.prototype._stateInCloseingTagName=function(e){(">"===e||de(e))&&(this._emitToken("onclosetag"),this._state=B,this._index--)},Ee.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=s,this._sectionStart=this._index+1):"/"===e?this._state=c:de(e)||(this._state=E,this._sectionStart=this._index)},Ee.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=s,this._sectionStart=this._index+1):de(e)||(this._state=h,this._index--)},Ee.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||de(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},Ee.prototype._stateAfterAttributeName=function(e){"="===e?this._state=p:"/"===e||">"===e?(this._cbs.onattribend(),this._state=h,this._index--):de(e)||(this._cbs.onattribend(),this._state=E,this._sectionStart=this._index)},Ee.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=C,this._sectionStart=this._index+1):"'"===e?(this._state=w,this._sectionStart=this._index+1):de(e)||(this._state=f,this._sectionStart=this._index,this._index--)},Ee.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateInAttributeValueNoQuotes=function(e){de(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=h,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ne,this._sectionStart=this._index)},Ee.prototype._stateBeforeDeclaration=function(e){this._state="["===e?D:"-"===e?y:Q},Ee.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=s,this._sectionStart=this._index+1)},Ee.prototype._stateBeforeComment=function(e){"-"===e?(this._state=b,this._sectionStart=this._index+1):this._state=Q},Ee.prototype._stateInComment=function(e){"-"===e&&(this._state=T)},Ee.prototype._stateAfterComment1=function(e){this._state="-"===e?S:b},Ee.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=s,this._sectionStart=this._index+1):"-"!==e&&(this._state=b)},Ee.prototype._stateBeforeCdata1=Be("C",k,Q),Ee.prototype._stateBeforeCdata2=Be("D",N,Q),Ee.prototype._stateBeforeCdata3=Be("A",R,Q),Ee.prototype._stateBeforeCdata4=Be("T",F,Q),Ee.prototype._stateBeforeCdata5=Be("A",O,Q),Ee.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=Y,this._sectionStart=this._index+1):(this._state=Q,this._index--)},Ee.prototype._stateInCdata=function(e){"]"===e&&(this._state=v)},Ee.prototype._stateAfterCdata1=function(e){this._state="]"===e?U:Y},Ee.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=s,this._sectionStart=this._index+1):"]"!==e&&(this._state=Y)},Ee.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=L:"t"===e||"T"===e?this._state=X:(this._state=u,this._index--)},Ee.prototype._stateBeforeSpecialEnd=function(e){this._special!==ce||"c"!==e&&"C"!==e?this._special!==ge||"t"!==e&&"T"!==e?this._state=s:this._state=ee:this._state=J},Ee.prototype._stateBeforeScript1=he("R",x),Ee.prototype._stateBeforeScript2=he("I",H),Ee.prototype._stateBeforeScript3=he("P",P),Ee.prototype._stateBeforeScript4=he("T",j),Ee.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||de(e))&&(this._special=ce),this._state=u,this._index--},Ee.prototype._stateAfterScript1=Be("R",z,s),Ee.prototype._stateAfterScript2=Be("I",W,s),Ee.prototype._stateAfterScript3=Be("P",K,s),Ee.prototype._stateAfterScript4=Be("T",V,s),Ee.prototype._stateAfterScript5=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=s},Ee.prototype._stateBeforeStyle1=he("Y",q),Ee.prototype._stateBeforeStyle2=he("L",Z),Ee.prototype._stateBeforeStyle3=he("E",$),Ee.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||de(e))&&(this._special=ge),this._state=u,this._index--},Ee.prototype._stateAfterStyle1=Be("Y",Ae,s),Ee.prototype._stateAfterStyle2=Be("L",te,s),Ee.prototype._stateAfterStyle3=Be("E",oe,s),Ee.prototype._stateAfterStyle4=function(e){">"===e||de(e)?(this._special=ue,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=s},Ee.prototype._stateBeforeEntity=Be("#",ae,ie),Ee.prototype._stateBeforeNumericEntity=Be("X",se,re),Ee.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),A=this._xmlMode?i:n;A.hasOwnProperty(e)&&(this._emitPartial(A[e]),this._sectionStart=this._index+1)}},Ee.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,A=this._index-e;for(A>6&&(A=6);A>=2;){var t=this._buffer.substr(e,A);if(a.hasOwnProperty(t))return this._emitPartial(a[t]),void(this._sectionStart+=A+1);A--}},Ee.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==s?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},Ee.prototype._decodeNumericEntity=function(e,A){var t=this._sectionStart+e;if(t!==this._index){var n=this._buffer.substring(t,this._index),a=parseInt(n,A);this._emitPartial(o(a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},Ee.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},Ee.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},Ee.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===s?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},Ee.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},Ee.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===s?this._stateText(e):this._state===l?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===g?this._stateBeforeCloseingTagName(e):this._state===d?this._stateInCloseingTagName(e):this._state===B?this._stateAfterCloseingTagName(e):this._state===c?this._stateInSelfClosingTag(e):this._state===h?this._stateBeforeAttributeName(e):this._state===E?this._stateInAttributeName(e):this._state===m?this._stateAfterAttributeName(e):this._state===p?this._stateBeforeAttributeValue(e):this._state===C?this._stateInAttributeValueDoubleQuotes(e):this._state===w?this._stateInAttributeValueSingleQuotes(e):this._state===f?this._stateInAttributeValueNoQuotes(e):this._state===I?this._stateBeforeDeclaration(e):this._state===Q?this._stateInDeclaration(e):this._state===M?this._stateInProcessingInstruction(e):this._state===y?this._stateBeforeComment(e):this._state===b?this._stateInComment(e):this._state===T?this._stateAfterComment1(e):this._state===S?this._stateAfterComment2(e):this._state===D?this._stateBeforeCdata1(e):this._state===k?this._stateBeforeCdata2(e):this._state===N?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===F?this._stateBeforeCdata5(e):this._state===O?this._stateBeforeCdata6(e):this._state===Y?this._stateInCdata(e):this._state===v?this._stateAfterCdata1(e):this._state===U?this._stateAfterCdata2(e):this._state===G?this._stateBeforeSpecial(e):this._state===_?this._stateBeforeSpecialEnd(e):this._state===L?this._stateBeforeScript1(e):this._state===x?this._stateBeforeScript2(e):this._state===H?this._stateBeforeScript3(e):this._state===P?this._stateBeforeScript4(e):this._state===j?this._stateBeforeScript5(e):this._state===J?this._stateAfterScript1(e):this._state===z?this._stateAfterScript2(e):this._state===W?this._stateAfterScript3(e):this._state===K?this._stateAfterScript4(e):this._state===V?this._stateAfterScript5(e):this._state===X?this._stateBeforeStyle1(e):this._state===q?this._stateBeforeStyle2(e):this._state===Z?this._stateBeforeStyle3(e):this._state===$?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===Ae?this._stateAfterStyle2(e):this._state===te?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ne?this._stateBeforeEntity(e):this._state===ae?this._stateBeforeNumericEntity(e):this._state===ie?this._stateInNamedEntity(e):this._state===re?this._stateInNumericEntity(e):this._state===se?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},Ee.prototype.pause=function(){this._running=!1},Ee.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},Ee.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},Ee.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},Ee.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===Y||this._state===v||this._state===U?this._cbs.oncdata(e):this._state===b||this._state===T||this._state===S?this._cbs.oncomment(e):this._state!==ie||this._xmlMode?this._state!==re||this._xmlMode?this._state!==se||this._xmlMode?this._state!==u&&this._state!==h&&this._state!==p&&this._state!==m&&this._state!==E&&this._state!==w&&this._state!==C&&this._state!==f&&this._state!==d&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},Ee.prototype.reset=function(){Ee.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},Ee.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},Ee.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},Ee.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},Ee.prototype._emitPartial=function(e){this._baseState!==s?this._cbs.onattribdata(e):this._cbs.ontext(e)}},function(e,A,t){var o=t(1075);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in o&&(e=o[e]);var A="";e>65535&&(e-=65536,A+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return A+=String.fromCharCode(e)}},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e,A){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},o={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(o).forEach(function(e){var A=o[e];Object.defineProperty(t,e,{get:function(){return this[A]||null},set:function(e){return this[A]=e,e}})})},function(e,A,t){e.exports=r;var o=t(459),n=t(1080).Writable,a=t(316).StringDecoder,i=t(66).Buffer;function r(e,A){var t=this._parser=new o(e,A),i=this._decoder=new a;n.call(this,{decodeStrings:!1}),this.once("finish",function(){t.end(i.end())})}t(234)(r,n),n.prototype._write=function(e,A,t){e instanceof i&&(e=this._decoder.write(e)),this._parser.write(e),t()}},function(e,A,t){A.getCached=function(){throw new Error("blocks.js has not initialized BlocksExecuteCache")},t(148)},function(e,A,t){A.getScripts=function(){throw new Error("blocks.js has not initialized BlocksRuntimeCache")},A._RuntimeScriptCache=function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=A,this.blockId=t;var o=A.getBlock(t),n=A.getFields(o);if(this.fieldsOfInputs=Object.assign({},n),0===Object.keys(n).length){var a=A.getInputs(o);for(var i in a)if(a.hasOwnProperty(i)){var r=a[i].block,s=A.getBlock(r),l=A.getFields(s);Object.assign(this.fieldsOfInputs,l)}}for(var u in this.fieldsOfInputs){var c=this.fieldsOfInputs[u]=Object.assign({},this.fieldsOfInputs[u]);c.value.toUpperCase&&(c.value=c.value.toUpperCase())}},t(148)},function(e,A){function t(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var o=function(){function e(){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e)}return function(e,A,o){A&&t(e.prototype,A),o&&t(e,o)}(e,null,[{key:"_mergeVarRefObjects",value:function(e,A){for(var t in A)e[t]?e[t]=e[t].concat(A[t]):e[t]=A[t];return e}},{key:"getAllVarRefsForTargets",value:function(A,t){return A.map(function(e){return e.blocks.getAllVariableAndListReferences(null,t)}).reduce(e._mergeVarRefObjects,{})}},{key:"updateVariableIdentifiers",value:function(e,A,t){e.map(function(e){return e.referencingField.id=A,t&&(e.referencingField.value=t),e})}}]),e}();e.exports=o},function(e,A){function t(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var o=function(){function e(){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this._requestID=0,this._openRequests={}}return function(e,A,o){A&&t(e.prototype,A),o&&t(e,o)}(e,[{key:"sendRemoteRequest",value:function(e,A){var t=this,o=this._requestID++,n=new Promise(function(e,A){t._openRequests[o]={resolve:e,reject:A}});return this._sendRequest(e,A,o),n}},{key:"sendRemoteNotification",value:function(e,A){this._sendRequest(e,A)}},{key:"didReceiveCall",value:function(){throw new Error("Must override didReceiveCall")}},{key:"_sendMessage",value:function(){throw new Error("Must override _sendMessage")}},{key:"_sendRequest",value:function(e,A,t){var o={jsonrpc:"2.0",method:e,params:A};null!==t&&(o.id=t),this._sendMessage(o)}},{key:"_handleMessage",value:function(e){if("2.0"!==e.jsonrpc)throw new Error("Bad or missing JSON-RPC version in message: ".concat(e));e.hasOwnProperty("method")?this._handleRequest(e):this._handleResponse(e)}},{key:"_sendResponse",value:function(e,A,t){var o={jsonrpc:"2.0",id:e};t?o.error=t:o.result=A||null,this._sendMessage(o)}},{key:"_handleResponse",value:function(e){var A=e.result,t=e.error,o=e.id,n=this._openRequests[o];delete this._openRequests[o],n&&(t?n.reject(t):n.resolve(A))}},{key:"_handleRequest",value:function(e){var A=this,t=e.method,o=e.params,n=e.id,a=this.didReceiveCall(t,o);null!==n&&void 0!==n&&Promise.resolve(a).then(function(e){A._sendResponse(n,e)},function(e){A._sendResponse(n,null,e)})}}]),e}();e.exports=o},function(e){e.exports=JSON.parse('{"menuMap":{"cs":[{"code":"am","name":"amharština"},{"code":"en","name":"angličtina"},{"code":"ar","name":"arabština"},{"code":"az","name":"ázerbájdžánština"},{"code":"eu","name":"baskičtina"},{"code":"bg","name":"bulharština"},{"code":"cs","name":"čeština"},{"code":"zh-tw","name":"čínština (tradiční)"},{"code":"zh-cn","name":"čínština (zjednodušená)"},{"code":"da","name":"dánština"},{"code":"et","name":"estonština"},{"code":"fi","name":"finština"},{"code":"fr","name":"francouzština"},{"code":"gl","name":"galicijština"},{"code":"he","name":"hebrejština"},{"code":"nl","name":"holandština"},{"code":"hr","name":"chorvatština"},{"code":"id","name":"indonéština"},{"code":"ga","name":"irština"},{"code":"is","name":"islandština"},{"code":"it","name":"italština"},{"code":"ja","name":"japonština"},{"code":"ca","name":"katalánština"},{"code":"ko","name":"korejština"},{"code":"lt","name":"litevština"},{"code":"lv","name":"lotyština"},{"code":"hu","name":"maďarština"},{"code":"mi","name":"maorština"},{"code":"de","name":"němčina"},{"code":"nb","name":"norština"},{"code":"fa","name":"perština"},{"code":"pl","name":"polština"},{"code":"pt","name":"portugalština"},{"code":"ro","name":"rumunština"},{"code":"ru","name":"ruština"},{"code":"el","name":"řečtina"},{"code":"gd","name":"skotská gaelština"},{"code":"sk","name":"slovenština"},{"code":"sl","name":"slovinština"},{"code":"sr","name":"srbština"},{"code":"es","name":"španělština"},{"code":"sv","name":"švédština"},{"code":"th","name":"thajština"},{"code":"tr","name":"turečtina"},{"code":"uk","name":"ukrajinština"},{"code":"cy","name":"velština"},{"code":"vi","name":"vietnamština"},{"code":"zu","name":"zulu"}],"da":[{"code":"am","name":"Amharisk"},{"code":"ar","name":"Arabisk"},{"code":"az","name":"Aserbajdsjansk"},{"code":"eu","name":"Baskisk"},{"code":"bg","name":"Bulgarsk"},{"code":"da","name":"Dansk"},{"code":"en","name":"Engelsk"},{"code":"et","name":"Estisk"},{"code":"fi","name":"Finsk"},{"code":"fr","name":"Fransk"},{"code":"gl","name":"Galicisk"},{"code":"el","name":"Græsk"},{"code":"he","name":"Hebraisk"},{"code":"nl","name":"Hollandsk"},{"code":"id","name":"Indonesisk"},{"code":"ga","name":"Irsk"},{"code":"is","name":"Islandsk"},{"code":"it","name":"Italiensk"},{"code":"ja","name":"Japansk"},{"code":"ca","name":"Katalansk"},{"code":"zh-cn","name":"Kinesisk (forenklet)"},{"code":"zh-tw","name":"Kinesisk (traditionelt)"},{"code":"ko","name":"Koreansk"},{"code":"hr","name":"Kroatisk"},{"code":"lv","name":"Lettisk"},{"code":"lt","name":"Litauisk"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norsk"},{"code":"fa","name":"Persisk"},{"code":"pl","name":"Polsk"},{"code":"pt","name":"Portugisisk"},{"code":"ro","name":"Rumænsk"},{"code":"ru","name":"Russisk"},{"code":"sr","name":"Serbisk"},{"code":"gd","name":"Skotsk gælisk"},{"code":"sk","name":"Slovakisk"},{"code":"sl","name":"Slovensk"},{"code":"es","name":"Spansk"},{"code":"sv","name":"Svensk"},{"code":"th","name":"Thailandsk"},{"code":"cs","name":"Tjekkisk"},{"code":"tr","name":"Tyrkisk"},{"code":"de","name":"Tysk"},{"code":"uk","name":"Ukrainsk"},{"code":"hu","name":"Ungarsk"},{"code":"vi","name":"Vietnamesisk"},{"code":"cy","name":"Walisisk"},{"code":"zu","name":"Zulu"}],"gl":[{"code":"az","name":"acerbaixano"},{"code":"de","name":"alemán"},{"code":"am","name":"amárico"},{"code":"ar","name":"árabe"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chinés (simplificado)"},{"code":"zh-tw","name":"chinés (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"dinamarqués"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estoniano"},{"code":"eu","name":"éuscaro"},{"code":"fi","name":"finés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"gl","name":"galego"},{"code":"cy","name":"galés"},{"code":"el","name":"grego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruegués"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"romanés"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraíno"},{"code":"vi","name":"vietnamita"},{"code":"ja","name":"xaponés"},{"code":"zu","name":"zulú"}],"sl":[{"code":"am","name":"amharščina"},{"code":"en","name":"angleščina"},{"code":"ar","name":"arabščina"},{"code":"az","name":"azerbajdžanščina"},{"code":"eu","name":"baskovščina"},{"code":"bg","name":"bolgarščina"},{"code":"cs","name":"češčina"},{"code":"da","name":"danščina"},{"code":"et","name":"estonščina"},{"code":"fi","name":"finščina"},{"code":"fr","name":"francoščina"},{"code":"gl","name":"galicijščina"},{"code":"el","name":"grščina"},{"code":"he","name":"hebrejščina"},{"code":"hr","name":"hrvaščina"},{"code":"id","name":"indonezijščina"},{"code":"ga","name":"irščina"},{"code":"is","name":"islandščina"},{"code":"it","name":"italijanščina"},{"code":"ja","name":"japonščina"},{"code":"ca","name":"katalonščina"},{"code":"zh-cn","name":"kitajščina (poenostavljena)"},{"code":"zh-tw","name":"kitajščina (tradicionalna)"},{"code":"ko","name":"korejščina"},{"code":"lv","name":"latvijščina"},{"code":"lt","name":"litovščina"},{"code":"hu","name":"madžarščina"},{"code":"mi","name":"maorščina"},{"code":"de","name":"nemščina"},{"code":"nl","name":"nizozemščina"},{"code":"nb","name":"norveščina"},{"code":"fa","name":"perzijščina"},{"code":"pl","name":"poljščina"},{"code":"pt","name":"portugalščina"},{"code":"ro","name":"romunščina"},{"code":"ru","name":"ruščina"},{"code":"sk","name":"slovaščina"},{"code":"sl","name":"slovenščina"},{"code":"sr","name":"srbščina"},{"code":"gd","name":"škotska gelščina"},{"code":"es","name":"španščina"},{"code":"sv","name":"švedščina"},{"code":"th","name":"tajščina"},{"code":"tr","name":"turščina"},{"code":"uk","name":"ukrajinščina"},{"code":"cy","name":"valižanščina"},{"code":"vi","name":"vietnamščina"},{"code":"zu","name":"zulujščina"}],"fr":[{"code":"de","name":"Allemand"},{"code":"am","name":"Amharique"},{"code":"en","name":"Anglais"},{"code":"ar","name":"Arabe"},{"code":"az","name":"Azéri"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgare"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinois (simplifié)"},{"code":"zh-tw","name":"Chinois (traditionnel)"},{"code":"ko","name":"Coréen"},{"code":"hr","name":"Croate"},{"code":"da","name":"Danois"},{"code":"es","name":"Espagnol"},{"code":"et","name":"Estonien"},{"code":"fi","name":"Finnois"},{"code":"fr","name":"Français"},{"code":"gd","name":"Gaélique (Écosse)"},{"code":"gl","name":"Galicien"},{"code":"cy","name":"Gallois"},{"code":"el","name":"Grec"},{"code":"he","name":"Hébreu"},{"code":"hu","name":"Hongrois"},{"code":"id","name":"Indonésien"},{"code":"ga","name":"Irlandais"},{"code":"is","name":"Islandais"},{"code":"it","name":"Italien"},{"code":"ja","name":"Japonais"},{"code":"lv","name":"Letton"},{"code":"lt","name":"Lituanien"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Néerlandais"},{"code":"nb","name":"Norvégien"},{"code":"fa","name":"Persan"},{"code":"pl","name":"Polonais"},{"code":"pt","name":"Portugais"},{"code":"ro","name":"Roumain"},{"code":"ru","name":"Russe"},{"code":"sr","name":"Serbe"},{"code":"sk","name":"Slovaque"},{"code":"sl","name":"Slovène"},{"code":"sv","name":"Suédois"},{"code":"cs","name":"Tchèque"},{"code":"th","name":"Thaï"},{"code":"tr","name":"Turc"},{"code":"uk","name":"Ukrainien"},{"code":"vi","name":"Vietnamien"},{"code":"zu","name":"Zoulou"}],"hu":[{"code":"am","name":"amhara"},{"code":"en","name":"angol"},{"code":"ar","name":"arab"},{"code":"az","name":"azeri"},{"code":"eu","name":"baszk"},{"code":"bg","name":"bolgár"},{"code":"cs","name":"cseh"},{"code":"da","name":"dán"},{"code":"et","name":"észt"},{"code":"fi","name":"finn"},{"code":"fr","name":"francia"},{"code":"gl","name":"galíciai"},{"code":"el","name":"görög"},{"code":"he","name":"héber"},{"code":"nl","name":"holland"},{"code":"hr","name":"horvát"},{"code":"id","name":"indonéz"},{"code":"ga","name":"ír"},{"code":"is","name":"izlandi"},{"code":"ja","name":"japán"},{"code":"ca","name":"katalán"},{"code":"zh-cn","name":"kínai (egyszerűsített)"},{"code":"zh-tw","name":"kínai (hagyományos)"},{"code":"ko","name":"koreai"},{"code":"pl","name":"lengyel"},{"code":"lv","name":"lett"},{"code":"lt","name":"litván"},{"code":"hu","name":"magyar"},{"code":"mi","name":"maori"},{"code":"de","name":"német"},{"code":"nb","name":"norvég"},{"code":"it","name":"olasz"},{"code":"ru","name":"orosz"},{"code":"fa","name":"perzsa"},{"code":"pt","name":"portugál"},{"code":"ro","name":"román"},{"code":"gd","name":"skót-gael"},{"code":"es","name":"spanyol"},{"code":"sv","name":"svéd"},{"code":"sr","name":"szerb"},{"code":"sk","name":"szlovák"},{"code":"sl","name":"szlovén"},{"code":"th","name":"thai"},{"code":"tr","name":"török"},{"code":"uk","name":"ukrán"},{"code":"vi","name":"vietnami"},{"code":"cy","name":"walesi"},{"code":"zu","name":"zulu"}],"uk":[{"code":"az","name":"азербайджанська"},{"code":"am","name":"амхарська"},{"code":"en","name":"англійська"},{"code":"ar","name":"арабська"},{"code":"eu","name":"баскська"},{"code":"bg","name":"болгарська"},{"code":"vi","name":"в’єтнамська"},{"code":"cy","name":"валлійська"},{"code":"el","name":"грецька"},{"code":"gl","name":"ґалісійська"},{"code":"da","name":"данська"},{"code":"et","name":"естонська"},{"code":"zu","name":"зулу"},{"code":"he","name":"іврит"},{"code":"id","name":"індонезійська"},{"code":"ga","name":"ірландська"},{"code":"is","name":"ісландська"},{"code":"es","name":"іспанська"},{"code":"it","name":"італійська"},{"code":"ca","name":"каталанська"},{"code":"zh-cn","name":"китайська (спрощена)"},{"code":"zh-tw","name":"китайська (традиційна)"},{"code":"ko","name":"корейська"},{"code":"lv","name":"латиська"},{"code":"lt","name":"литовська"},{"code":"mi","name":"маорі"},{"code":"nl","name":"нідерландська"},{"code":"de","name":"німецька"},{"code":"nb","name":"норвезька"},{"code":"fa","name":"перська"},{"code":"pl","name":"польська"},{"code":"pt","name":"португальська"},{"code":"ru","name":"російська"},{"code":"ro","name":"румунська"},{"code":"sr","name":"сербська"},{"code":"sk","name":"словацька"},{"code":"sl","name":"словенська"},{"code":"th","name":"тайська"},{"code":"tr","name":"турецька"},{"code":"hu","name":"угорська"},{"code":"uk","name":"українська"},{"code":"fi","name":"фінська"},{"code":"fr","name":"французька"},{"code":"hr","name":"хорватська"},{"code":"cs","name":"чеська"},{"code":"sv","name":"шведська"},{"code":"gd","name":"шотландська (ґельська)"},{"code":"ja","name":"японська"}],"zh-tw":[{"code":"tr","name":"土耳其文"},{"code":"zh-tw","name":"中文(繁體)"},{"code":"zh-cn","name":"中文(簡體)"},{"code":"da","name":"丹麥文"},{"code":"eu","name":"巴斯克文"},{"code":"ja","name":"日文"},{"code":"mi","name":"毛利文"},{"code":"gl","name":"加里西亞文"},{"code":"ca","name":"加泰羅尼亞文"},{"code":"lt","name":"立陶宛文"},{"code":"is","name":"冰島文"},{"code":"hu","name":"匈牙利文"},{"code":"id","name":"印尼文"},{"code":"es","name":"西班牙文"},{"code":"hr","name":"克羅埃西亞文"},{"code":"he","name":"希伯來文"},{"code":"el","name":"希臘文"},{"code":"az","name":"亞塞拜然文"},{"code":"lv","name":"拉脫維亞文"},{"code":"fr","name":"法文"},{"code":"fa","name":"波斯文"},{"code":"pl","name":"波蘭文"},{"code":"fi","name":"芬蘭文"},{"code":"am","name":"阿姆哈拉文"},{"code":"ar","name":"阿拉伯文"},{"code":"ru","name":"俄文"},{"code":"bg","name":"保加利亞文"},{"code":"zu","name":"南非祖魯文"},{"code":"cy","name":"威爾斯文"},{"code":"en","name":"英文"},{"code":"nb","name":"挪威文"},{"code":"th","name":"泰文"},{"code":"uk","name":"烏克蘭文"},{"code":"cs","name":"捷克文"},{"code":"nl","name":"荷蘭文"},{"code":"sk","name":"斯洛伐克文"},{"code":"sl","name":"斯洛維尼亞文"},{"code":"vi","name":"越南文"},{"code":"sr","name":"塞爾維亞文"},{"code":"et","name":"愛沙尼亞文"},{"code":"ga","name":"愛爾蘭文"},{"code":"sv","name":"瑞典文"},{"code":"it","name":"義大利文"},{"code":"pt","name":"葡萄牙文"},{"code":"de","name":"德文"},{"code":"ko","name":"韓文"},{"code":"ro","name":"羅馬尼亞文"},{"code":"gd","name":"蘇格蘭的蓋爾文"}],"pt":[{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabic"},{"code":"az","name":"Azerbaijani"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgarian"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinese (Simplified)"},{"code":"zh-tw","name":"Chinese (Traditional)"},{"code":"hr","name":"Croatian"},{"code":"cs","name":"Czech"},{"code":"da","name":"Danish"},{"code":"nl","name":"Dutch"},{"code":"en","name":"English"},{"code":"et","name":"Estonian"},{"code":"fi","name":"Finnish"},{"code":"fr","name":"French"},{"code":"gl","name":"Galician"},{"code":"de","name":"German"},{"code":"el","name":"Greek"},{"code":"he","name":"Hebrew"},{"code":"hu","name":"Hungarian"},{"code":"is","name":"Icelandic"},{"code":"id","name":"Indonesian"},{"code":"ga","name":"Irish"},{"code":"it","name":"Italian"},{"code":"ja","name":"Japanese"},{"code":"ko","name":"Korean"},{"code":"lv","name":"Latvian"},{"code":"lt","name":"Lithuanian"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwegian"},{"code":"fa","name":"Persian"},{"code":"pl","name":"Polish"},{"code":"pt","name":"Portuguese"},{"code":"ro","name":"Romanian"},{"code":"ru","name":"Russian"},{"code":"gd","name":"Scots Gaelic"},{"code":"sr","name":"Serbian"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Slovenian"},{"code":"es","name":"Spanish"},{"code":"sv","name":"Swedish"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turkish"},{"code":"uk","name":"Ukrainian"},{"code":"vi","name":"Vietnamese"},{"code":"cy","name":"Welsh"},{"code":"zu","name":"Zulu"}],"pt-br":[{"code":"de","name":"Alemão"},{"code":"am","name":"Amárico"},{"code":"ar","name":"Árabe"},{"code":"az","name":"Azerbaijano"},{"code":"eu","name":"Basco"},{"code":"bg","name":"Búlgaro"},{"code":"ca","name":"Catalão"},{"code":"zh-cn","name":"Chinês (simplificado)"},{"code":"zh-tw","name":"Chinês (tradicional)"},{"code":"ko","name":"Coreano"},{"code":"hr","name":"Croata"},{"code":"da","name":"Dinamarquês"},{"code":"sk","name":"Eslovaco"},{"code":"sl","name":"Esloveno"},{"code":"es","name":"Espanhol"},{"code":"et","name":"Estoniano"},{"code":"fi","name":"Finlandês"},{"code":"fr","name":"Francês"},{"code":"gd","name":"Gaélico escocês"},{"code":"gl","name":"Galego"},{"code":"cy","name":"Galês"},{"code":"el","name":"Grego"},{"code":"he","name":"Hebraico"},{"code":"nl","name":"Holandês"},{"code":"hu","name":"Húngaro"},{"code":"id","name":"Indonésio"},{"code":"en","name":"Inglês"},{"code":"ga","name":"Irlandês"},{"code":"is","name":"Islandês"},{"code":"it","name":"Italiano"},{"code":"ja","name":"Japonês"},{"code":"lv","name":"Letão"},{"code":"lt","name":"Lituano"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norueguês"},{"code":"fa","name":"Persa"},{"code":"pl","name":"Polonês"},{"code":"pt","name":"Português"},{"code":"ro","name":"Romeno"},{"code":"ru","name":"Russo"},{"code":"sr","name":"Sérvio"},{"code":"sv","name":"Sueco"},{"code":"th","name":"Tailandês"},{"code":"cs","name":"Tcheco"},{"code":"tr","name":"Turco"},{"code":"uk","name":"Ucraniano"},{"code":"vi","name":"Vietnamita"},{"code":"zu","name":"Zulu"}],"tr":[{"code":"de","name":"Almanca"},{"code":"ar","name":"Arapça"},{"code":"az","name":"Azerice"},{"code":"eu","name":"Baskça"},{"code":"bg","name":"Bulgarca"},{"code":"cs","name":"Çekçe"},{"code":"zh-cn","name":"Çince (Basitleştirilmiş)"},{"code":"zh-tw","name":"Çince (Geleneksel)"},{"code":"da","name":"Danca"},{"code":"id","name":"Endonezya Dili"},{"code":"et","name":"Estonyaca"},{"code":"fa","name":"Farsça"},{"code":"nl","name":"Felemenkçe"},{"code":"fi","name":"Fince"},{"code":"fr","name":"Fransızca"},{"code":"cy","name":"Galce"},{"code":"gl","name":"Galiçyaca"},{"code":"am","name":"Habeşçe"},{"code":"hr","name":"Hırvatça"},{"code":"he","name":"İbranice"},{"code":"en","name":"İngilizce"},{"code":"ga","name":"İrlandaca"},{"code":"es","name":"İspanyolca"},{"code":"sv","name":"İsveççe"},{"code":"it","name":"İtalyanca"},{"code":"is","name":"İzlandaca"},{"code":"ja","name":"Japonca"},{"code":"ca","name":"Katalanca"},{"code":"ko","name":"Korece"},{"code":"gd","name":"Kuzey İskoç Dili"},{"code":"pl","name":"Lehçe"},{"code":"lv","name":"Letonca"},{"code":"lt","name":"Litvanca"},{"code":"hu","name":"Macarca"},{"code":"mi","name":"Maori Dili"},{"code":"nb","name":"Norveççe"},{"code":"pt","name":"Portekizce"},{"code":"ro","name":"Romence"},{"code":"ru","name":"Rusça"},{"code":"sr","name":"Sırpça"},{"code":"sk","name":"Slovakça"},{"code":"sl","name":"Slovence"},{"code":"th","name":"Tay Dili"},{"code":"tr","name":"Türkçe"},{"code":"uk","name":"Ukraynaca"},{"code":"vi","name":"Vietnamca"},{"code":"el","name":"Yunanca"},{"code":"zu","name":"Zulu"}],"ga":[{"code":"am","name":"Amárais"},{"code":"ar","name":"Araibis"},{"code":"az","name":"Asarbaiseáinis"},{"code":"eu","name":"Bascais"},{"code":"en","name":"Béarla"},{"code":"cy","name":"Breatnais"},{"code":"bg","name":"Bulgáiris"},{"code":"ca","name":"Catalóinis"},{"code":"ko","name":"Cóiréis"},{"code":"hr","name":"Cróitis"},{"code":"da","name":"Danmhairgis"},{"code":"he","name":"Eabhrais"},{"code":"et","name":"Eastóinis"},{"code":"fi","name":"Fionlainnis"},{"code":"fr","name":"Fraincis"},{"code":"ga","name":"Gaeilge"},{"code":"gd","name":"Gaeilge na hAlban"},{"code":"gl","name":"Gailísis"},{"code":"de","name":"Gearmáinis"},{"code":"el","name":"Gréigis"},{"code":"id","name":"Indinéisis"},{"code":"it","name":"Iodáilis"},{"code":"nb","name":"Ioruais"},{"code":"is","name":"Íoslainnis"},{"code":"lv","name":"Laitvis"},{"code":"lt","name":"Liotuáinis"},{"code":"mi","name":"Maorais"},{"code":"nl","name":"Ollainnis"},{"code":"fa","name":"Peirsis"},{"code":"pl","name":"Polainnis"},{"code":"pt","name":"Portaingéilis"},{"code":"ro","name":"Rómáinis"},{"code":"ru","name":"Rúisis"},{"code":"ja","name":"Seapáinis"},{"code":"cs","name":"Seicis"},{"code":"sr","name":"Seirbis"},{"code":"zh-cn","name":"Sínis (Simplithe)"},{"code":"zh-tw","name":"Sínis (Traidisiúnta)"},{"code":"sl","name":"Slóivéinis"},{"code":"sk","name":"Slóvaicis"},{"code":"es","name":"Spáinnis"},{"code":"sv","name":"Sualainnis"},{"code":"zu","name":"Súlúis"},{"code":"th","name":"Téalainnis"},{"code":"tr","name":"Tuircis"},{"code":"uk","name":"Úcráinis"},{"code":"hu","name":"Ungáiris"},{"code":"vi","name":"Vítneaimis"}],"th":[{"code":"el","name":"ภาษากรีก"},{"code":"gl","name":"ภาษากาลิเชียน"},{"code":"gd","name":"ภาษาเกลิกในสก็อต"},{"code":"ko","name":"ภาษาเกาหลี"},{"code":"ca","name":"ภาษาคาตาลัน"},{"code":"hr","name":"ภาษาโครเอเชีย"},{"code":"zh-tw","name":"ภาษาจีน (ดั้งเดิม)"},{"code":"zh-cn","name":"ภาษาจีน (แบบย่อ)"},{"code":"cs","name":"ภาษาเช็ก"},{"code":"zu","name":"ภาษาซูลู"},{"code":"sr","name":"ภาษาเซอร์เบียน"},{"code":"ja","name":"ภาษาญี่ปุ่น"},{"code":"nl","name":"ภาษาดัตช์"},{"code":"da","name":"ภาษาเดนมาร์ก"},{"code":"tr","name":"ภาษาตุรกี"},{"code":"th","name":"ภาษาไทย"},{"code":"nb","name":"ภาษานอร์เวย์"},{"code":"bg","name":"ภาษาบัลกาเรีย"},{"code":"eu","name":"ภาษาบาสก์"},{"code":"fa","name":"ภาษาเปอร์เซีย"},{"code":"pt","name":"ภาษาโปรตุเกส"},{"code":"pl","name":"ภาษาโปแลนด์"},{"code":"fr","name":"ภาษาฝรั่งเศส"},{"code":"fi","name":"ภาษาฟินแลนด์"},{"code":"mi","name":"ภาษาเมารี"},{"code":"uk","name":"ภาษายูเครน"},{"code":"de","name":"ภาษาเยอรมัน"},{"code":"ru","name":"ภาษารัสเซีย"},{"code":"ro","name":"ภาษาโรมาเนีย"},{"code":"lv","name":"ภาษาลัทเวีย"},{"code":"lt","name":"ภาษาลิทัวเนีย"},{"code":"cy","name":"ภาษาเวลส์"},{"code":"vi","name":"ภาษาเวียดนาม"},{"code":"es","name":"ภาษาสเปน"},{"code":"sk","name":"ภาษาสโลวัก"},{"code":"sl","name":"ภาษาสโลเวเนีย"},{"code":"sv","name":"ภาษาสวีเดน"},{"code":"en","name":"ภาษาอังกฤษ"},{"code":"am","name":"ภาษาอัมฮาริก"},{"code":"az","name":"ภาษาอาร์เซอร์ไบจัน"},{"code":"ar","name":"ภาษาอาหรับ"},{"code":"it","name":"ภาษาอิตาลี"},{"code":"id","name":"ภาษาอินโดนีเซีย"},{"code":"et","name":"ภาษาเอสโทเนีย"},{"code":"is","name":"ภาษาไอซ์แลนดิก"},{"code":"ga","name":"ภาษาไอริช"},{"code":"hu","name":"ภาษาฮังการี"},{"code":"he","name":"ภาษาฮิบรู"}],"ja":[{"code":"is","name":"アイスランド語"},{"code":"ga","name":"アイルランド語"},{"code":"az","name":"アゼルバイジャン語"},{"code":"am","name":"アムハラ語"},{"code":"ar","name":"アラビア語"},{"code":"it","name":"イタリア語"},{"code":"id","name":"インドネシア語"},{"code":"cy","name":"ウェールズ語"},{"code":"uk","name":"ウクライナ語"},{"code":"et","name":"エストニア語"},{"code":"nl","name":"オランダ語"},{"code":"ca","name":"カタルーニャ語"},{"code":"gl","name":"ガリシア語"},{"code":"el","name":"ギリシャ語"},{"code":"hr","name":"クロアチア語"},{"code":"sv","name":"スウェーデン語"},{"code":"zu","name":"ズールー語"},{"code":"gd","name":"スコットランド ゲール語"},{"code":"es","name":"スペイン語"},{"code":"sk","name":"スロバキア語"},{"code":"sl","name":"スロベニア語"},{"code":"sr","name":"セルビア語"},{"code":"th","name":"タイ語"},{"code":"cs","name":"チェコ語"},{"code":"da","name":"デンマーク語"},{"code":"de","name":"ドイツ語"},{"code":"tr","name":"トルコ語"},{"code":"nb","name":"ノルウェー語"},{"code":"eu","name":"バスク語"},{"code":"hu","name":"ハンガリー語"},{"code":"fi","name":"フィンランド語"},{"code":"fr","name":"フランス語"},{"code":"bg","name":"ブルガリア語"},{"code":"vi","name":"ベトナム語"},{"code":"he","name":"ヘブライ語"},{"code":"fa","name":"ペルシャ語"},{"code":"pl","name":"ポーランド語"},{"code":"pt","name":"ポルトガル語"},{"code":"mi","name":"マオリ語"},{"code":"lv","name":"ラトビア語"},{"code":"lt","name":"リトアニア語"},{"code":"ro","name":"ルーマニア語"},{"code":"ru","name":"ロシア語"},{"code":"en","name":"英語"},{"code":"ko","name":"韓国語"},{"code":"zh-cn","name":"中国語(簡体)"},{"code":"zh-tw","name":"中国語(繁体)"},{"code":"ja","name":"日本語"}],"ja-hira":[{"code":"is","name":"アイスランド語"},{"code":"ga","name":"アイルランド語"},{"code":"az","name":"アゼルバイジャン語"},{"code":"am","name":"アムハラ語"},{"code":"ar","name":"アラビア語"},{"code":"it","name":"イタリア語"},{"code":"id","name":"インドネシア語"},{"code":"cy","name":"ウェールズ語"},{"code":"uk","name":"ウクライナ語"},{"code":"et","name":"エストニア語"},{"code":"nl","name":"オランダ語"},{"code":"ca","name":"カタルーニャ語"},{"code":"gl","name":"ガリシア語"},{"code":"el","name":"ギリシャ語"},{"code":"hr","name":"クロアチア語"},{"code":"sv","name":"スウェーデン語"},{"code":"zu","name":"ズールー語"},{"code":"gd","name":"スコットランド ゲール語"},{"code":"es","name":"スペイン語"},{"code":"sk","name":"スロバキア語"},{"code":"sl","name":"スロベニア語"},{"code":"sr","name":"セルビア語"},{"code":"th","name":"タイ語"},{"code":"cs","name":"チェコ語"},{"code":"da","name":"デンマーク語"},{"code":"de","name":"ドイツ語"},{"code":"tr","name":"トルコ語"},{"code":"nb","name":"ノルウェー語"},{"code":"eu","name":"バスク語"},{"code":"hu","name":"ハンガリー語"},{"code":"fi","name":"フィンランド語"},{"code":"fr","name":"フランス語"},{"code":"bg","name":"ブルガリア語"},{"code":"vi","name":"ベトナム語"},{"code":"he","name":"ヘブライ語"},{"code":"fa","name":"ペルシャ語"},{"code":"pl","name":"ポーランド語"},{"code":"pt","name":"ポルトガル語"},{"code":"mi","name":"マオリ語"},{"code":"lv","name":"ラトビア語"},{"code":"lt","name":"リトアニア語"},{"code":"ro","name":"ルーマニア語"},{"code":"ru","name":"ロシア語"},{"code":"en","name":"英語"},{"code":"ko","name":"韓国語"},{"code":"zh-cn","name":"中国語(簡体)"},{"code":"zh-tw","name":"中国語(繁体)"},{"code":"ja","name":"日本語"}],"nl":[{"code":"am","name":"Amharisch"},{"code":"ar","name":"Arabisch"},{"code":"az","name":"Azerbeidzjaans"},{"code":"eu","name":"Baskisch"},{"code":"bg","name":"Bulgaars"},{"code":"ca","name":"Catalaans"},{"code":"zh-tw","name":"Chinees (traditioneel)"},{"code":"zh-cn","name":"Chinees (vereenvoudigd)"},{"code":"da","name":"Deens"},{"code":"de","name":"Duits"},{"code":"en","name":"Engels"},{"code":"et","name":"Ests"},{"code":"fi","name":"Fins"},{"code":"fr","name":"Frans"},{"code":"gl","name":"Galicisch"},{"code":"el","name":"Grieks"},{"code":"he","name":"Hebreeuws"},{"code":"hu","name":"Hongaars"},{"code":"ga","name":"Iers"},{"code":"is","name":"IJslands"},{"code":"id","name":"Indonesisch"},{"code":"it","name":"Italiaans"},{"code":"ja","name":"Japans"},{"code":"ko","name":"Koreaans"},{"code":"hr","name":"Kroatisch"},{"code":"lv","name":"Lets"},{"code":"lt","name":"Litouws"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Nederlands"},{"code":"nb","name":"Noors"},{"code":"uk","name":"Oekraïens"},{"code":"fa","name":"Perzisch"},{"code":"pl","name":"Pools"},{"code":"pt","name":"Portugees"},{"code":"ro","name":"Roemeens"},{"code":"ru","name":"Russisch"},{"code":"gd","name":"Schots Keltisch"},{"code":"sr","name":"Servisch"},{"code":"sk","name":"Slovaaks"},{"code":"sl","name":"Sloveens"},{"code":"es","name":"Spaans"},{"code":"th","name":"Thai"},{"code":"cs","name":"Tsjechisch"},{"code":"tr","name":"Turks"},{"code":"vi","name":"Vietnamees"},{"code":"cy","name":"Wels"},{"code":"zu","name":"Zoeloe"},{"code":"sv","name":"Zweeds"}],"gd":[{"code":"am","name":"Amtharais"},{"code":"ar","name":"Arabais"},{"code":"az","name":"Asarbaideànais"},{"code":"eu","name":"Basgais"},{"code":"en","name":"Beurla"},{"code":"vi","name":"Bhiet-Namais"},{"code":"bg","name":"Bulgarais"},{"code":"th","name":"Cànan nan Tàidh"},{"code":"ca","name":"Catalanais"},{"code":"ko","name":"Coirèanais"},{"code":"hr","name":"Cròthaisis"},{"code":"cy","name":"Cuimris"},{"code":"da","name":"Danmhairgis"},{"code":"nl","name":"Duitsis"},{"code":"he","name":"Eabhra"},{"code":"it","name":"Eadailtis"},{"code":"et","name":"Eastoinis"},{"code":"fi","name":"Fionnlannais"},{"code":"fr","name":"Fraingis"},{"code":"ga","name":"Gaeilge"},{"code":"gd","name":"Gàidhlig"},{"code":"gl","name":"Gailìsis"},{"code":"de","name":"Gearmailtis"},{"code":"el","name":"Grèigis"},{"code":"id","name":"Innd-Innsis"},{"code":"is","name":"Innis-Tìlis"},{"code":"lv","name":"Laitbheis"},{"code":"lt","name":"Liotuainis"},{"code":"mi","name":"Māori"},{"code":"nb","name":"Nirribhis"},{"code":"fa","name":"Peirsis"},{"code":"pl","name":"Pòlainnis"},{"code":"pt","name":"Portagailis"},{"code":"ro","name":"Romàinis"},{"code":"ru","name":"Ruisis"},{"code":"cs","name":"Seacais"},{"code":"ja","name":"Seapanais"},{"code":"sr","name":"Sèirbis"},{"code":"zh-tw","name":"Sìonais (seann-nòsach)"},{"code":"zh-cn","name":"Sìonais (sìmplichte)"},{"code":"sk","name":"Slòbhacais"},{"code":"sl","name":"Slòbhainis"},{"code":"es","name":"Spàinntis"},{"code":"sv","name":"Suainis"},{"code":"tr","name":"Turcais"},{"code":"uk","name":"Ucràinis"},{"code":"hu","name":"Ungairis"},{"code":"zu","name":"Zulu"}],"nb":[{"code":"am","name":"amharisk"},{"code":"ar","name":"arabisk"},{"code":"az","name":"aserbajdsjansk"},{"code":"eu","name":"baskisk"},{"code":"bg","name":"bulgarsk"},{"code":"da","name":"dansk"},{"code":"en","name":"engelsk"},{"code":"et","name":"estisk"},{"code":"fa","name":"farsi"},{"code":"fi","name":"finsk"},{"code":"fr","name":"fransk"},{"code":"gl","name":"galisisk"},{"code":"el","name":"gresk"},{"code":"he","name":"hebraisk"},{"code":"id","name":"indonesisk"},{"code":"ga","name":"irsk"},{"code":"is","name":"islandsk"},{"code":"it","name":"italiensk"},{"code":"ja","name":"japansk"},{"code":"ca","name":"katalansk"},{"code":"zh-cn","name":"kinesisk (forenklet)"},{"code":"zh-tw","name":"kinesisk (tradisjonell)"},{"code":"ko","name":"koreansk"},{"code":"hr","name":"kroatisk"},{"code":"lv","name":"latvisk"},{"code":"lt","name":"litauisk"},{"code":"mi","name":"maori"},{"code":"nl","name":"nederlandsk"},{"code":"nb","name":"norsk"},{"code":"pl","name":"polsk"},{"code":"pt","name":"portugisisk"},{"code":"ro","name":"rumensk"},{"code":"ru","name":"russisk"},{"code":"sr","name":"serbisk"},{"code":"gd","name":"skotsk gælisk"},{"code":"sk","name":"slovakisk"},{"code":"sl","name":"slovensk"},{"code":"es","name":"spansk"},{"code":"sv","name":"svensk"},{"code":"th","name":"thai"},{"code":"cs","name":"tsjekkisk"},{"code":"tr","name":"tyrkisk"},{"code":"de","name":"tysk"},{"code":"uk","name":"ukrainsk"},{"code":"hu","name":"ungarsk"},{"code":"vi","name":"vietnamesisk"},{"code":"cy","name":"walisisk"},{"code":"zu","name":"zulu"}],"de":[{"code":"am","name":"Amharisch"},{"code":"ar","name":"Arabisch"},{"code":"az","name":"Aserbaidschanisch"},{"code":"eu","name":"Baskisch"},{"code":"bg","name":"Bulgarisch"},{"code":"zh-tw","name":"Chinesisch (traditionell)"},{"code":"zh-cn","name":"Chinesisch (vereinfacht)"},{"code":"da","name":"Dänisch"},{"code":"de","name":"Deutsch"},{"code":"en","name":"Englisch"},{"code":"et","name":"Estnisch"},{"code":"fi","name":"Finnisch"},{"code":"fr","name":"Französisch"},{"code":"gl","name":"Galizisch"},{"code":"el","name":"Griechisch"},{"code":"he","name":"Hebräisch"},{"code":"id","name":"Indonesisch"},{"code":"ga","name":"Irisch"},{"code":"is","name":"Isländisch"},{"code":"it","name":"Italienisch"},{"code":"ja","name":"Japanisch"},{"code":"ca","name":"Katalanisch"},{"code":"ko","name":"Koreanisch"},{"code":"hr","name":"Kroatisch"},{"code":"lv","name":"Lettisch"},{"code":"lt","name":"Litauisch"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Niederländisch"},{"code":"nb","name":"Norwegisch"},{"code":"fa","name":"Persisch"},{"code":"pl","name":"Polnisch"},{"code":"pt","name":"Portugiesisch"},{"code":"ro","name":"Rumänisch"},{"code":"ru","name":"Russisch"},{"code":"gd","name":"Schottisch-Gälisch"},{"code":"sv","name":"Schwedisch"},{"code":"sr","name":"Serbisch"},{"code":"sk","name":"Slowakisch"},{"code":"sl","name":"Slowenisch"},{"code":"es","name":"Spanisch"},{"code":"th","name":"Thailändisch"},{"code":"cs","name":"Tschechisch"},{"code":"tr","name":"Türkisch"},{"code":"uk","name":"Ukrainisch"},{"code":"hu","name":"Ungarisch"},{"code":"vi","name":"Vietnamesisch"},{"code":"cy","name":"Walisisch"},{"code":"zu","name":"Zulu"}],"he":[{"code":"uk","name":"אוקראינית"},{"code":"az","name":"אזרית"},{"code":"it","name":"איטלקית"},{"code":"id","name":"אינדונזית"},{"code":"is","name":"איסלנדית"},{"code":"ga","name":"אירית"},{"code":"am","name":"אמהרית"},{"code":"en","name":"אנגלית"},{"code":"et","name":"אסטונית"},{"code":"eu","name":"באסקית"},{"code":"bg","name":"בולגרית"},{"code":"gl","name":"גליציאנית"},{"code":"de","name":"גרמנית"},{"code":"da","name":"דנית"},{"code":"nl","name":"הולנדית"},{"code":"hu","name":"הונגרית"},{"code":"cy","name":"וולשית"},{"code":"vi","name":"וייטנאמית"},{"code":"zu","name":"זולו"},{"code":"tr","name":"טורקית"},{"code":"el","name":"יוונית"},{"code":"ja","name":"יפנית"},{"code":"lv","name":"לטווית"},{"code":"lt","name":"ליטאית"},{"code":"mi","name":"מאורית"},{"code":"nb","name":"נורווגית"},{"code":"zh-tw","name":"סינית (מסורתית)"},{"code":"zh-cn","name":"סינית (פשוטה)"},{"code":"sl","name":"סלובנית"},{"code":"sk","name":"סלובקית"},{"code":"es","name":"ספרדית"},{"code":"gd","name":"סקוטית גאלית"},{"code":"sr","name":"סרבית"},{"code":"he","name":"עברית"},{"code":"ar","name":"ערבית"},{"code":"pl","name":"פולנית"},{"code":"pt","name":"פורטוגזית"},{"code":"fi","name":"פינית"},{"code":"fa","name":"פרסית"},{"code":"cs","name":"צ\'כית"},{"code":"fr","name":"צרפתית"},{"code":"ko","name":"קוריאנית"},{"code":"ca","name":"קטלאנית"},{"code":"hr","name":"קרואטית"},{"code":"ro","name":"רומנית"},{"code":"ru","name":"רוסית"},{"code":"sv","name":"שוודית"},{"code":"th","name":"תאילנדית"}],"sk":[{"code":"am","name":"amharčina"},{"code":"en","name":"angličtina"},{"code":"ar","name":"arabčina"},{"code":"az","name":"azerbajdžančina"},{"code":"eu","name":"baskičtina"},{"code":"bg","name":"bulharčina"},{"code":"cs","name":"čeština"},{"code":"zh-tw","name":"čínština (tradičná)"},{"code":"zh-cn","name":"čínština (zjednodušená)"},{"code":"da","name":"dánčina"},{"code":"et","name":"estónčina"},{"code":"fi","name":"fínčina"},{"code":"fr","name":"francúzština"},{"code":"gl","name":"galícijčina"},{"code":"el","name":"gréčtina"},{"code":"he","name":"hebrejčina"},{"code":"nl","name":"holandčina"},{"code":"hr","name":"chorvátčina"},{"code":"id","name":"indonézština"},{"code":"ga","name":"írčina"},{"code":"is","name":"islandčina"},{"code":"ja","name":"japončina"},{"code":"ca","name":"katalánčina"},{"code":"ko","name":"kórejčina"},{"code":"lt","name":"litovčina"},{"code":"lv","name":"lotyština"},{"code":"hu","name":"maďarčina"},{"code":"mi","name":"maorijčina"},{"code":"de","name":"nemčina"},{"code":"nb","name":"nórčina"},{"code":"fa","name":"perzština"},{"code":"pl","name":"poľština"},{"code":"pt","name":"portugalčina"},{"code":"ro","name":"rumunčina"},{"code":"ru","name":"ruština"},{"code":"sk","name":"slovenčina"},{"code":"sl","name":"slovinčina"},{"code":"sr","name":"srbčina"},{"code":"gd","name":"škótska gaelčina"},{"code":"es","name":"španielčina"},{"code":"sv","name":"švédčina"},{"code":"it","name":"taliančina"},{"code":"th","name":"thajčina"},{"code":"tr","name":"turečtina"},{"code":"uk","name":"ukrajinčina"},{"code":"vi","name":"vietnamčina"},{"code":"cy","name":"waleština"},{"code":"zu","name":"zuluština"}],"zu":[{"code":"am","name":"isi-Amharic"},{"code":"ar","name":"isi-Arabic"},{"code":"az","name":"Isi-Azerbaijani"},{"code":"eu","name":"isi-Basque"},{"code":"bg","name":"isi-Bulgarian"},{"code":"ca","name":"isi-Catalan"},{"code":"zh-cn","name":"isi-Chinese (Simplified)"},{"code":"zh-tw","name":"isi-Chinese (Traditional)"},{"code":"hr","name":"isi-Croatian"},{"code":"cs","name":"isi-Czech"},{"code":"da","name":"isi-Danish"},{"code":"nl","name":"isi-Dutch"},{"code":"en","name":"isi-English"},{"code":"et","name":"isi-Estonian"},{"code":"fi","name":"isi-Finnish"},{"code":"fr","name":"isi-French"},{"code":"gl","name":"isi-Galician"},{"code":"de","name":"isi-German"},{"code":"el","name":"isi-Greek"},{"code":"hu","name":"isi-Hangarian"},{"code":"he","name":"isi-Hebrew"},{"code":"is","name":"isi-Icelandic"},{"code":"id","name":"isi-Indonesian"},{"code":"ga","name":"isi-Irish"},{"code":"it","name":"isi-Italian"},{"code":"ja","name":"isi-Japanese"},{"code":"ko","name":"isi-Korean"},{"code":"lv","name":"isi-Latvian"},{"code":"lt","name":"isi-Lithuanian"},{"code":"mi","name":"isi-Maori"},{"code":"nb","name":"isi-Norwegian"},{"code":"fa","name":"isi-Persian"},{"code":"pl","name":"isi-Polish"},{"code":"pt","name":"isi-Portuguese"},{"code":"ro","name":"isi-Romanian"},{"code":"ru","name":"isi-Russian"},{"code":"gd","name":"isi-Scots Gaelic"},{"code":"sr","name":"isi-Serbian"},{"code":"sk","name":"isi-Slovak"},{"code":"sl","name":"isi-Slovenian"},{"code":"es","name":"isi-Spanish"},{"code":"sv","name":"isi-Swedish"},{"code":"th","name":"isi-Thai"},{"code":"tr","name":"isi-Turkish"},{"code":"uk","name":"isi-Ukrainian"},{"code":"vi","name":"isi-Vietnamese"},{"code":"cy","name":"isi-Welsh"},{"code":"zu","name":"isiZulu"}],"ru":[{"code":"az","name":"азербайджанский"},{"code":"am","name":"амхарский"},{"code":"en","name":"английский"},{"code":"ar","name":"арабский"},{"code":"eu","name":"баскский"},{"code":"bg","name":"болгарский"},{"code":"cy","name":"валлийский"},{"code":"hu","name":"венгерский"},{"code":"vi","name":"вьетнамский"},{"code":"gl","name":"галисийский"},{"code":"el","name":"греческий"},{"code":"da","name":"датский"},{"code":"zu","name":"зулу"},{"code":"he","name":"иврит"},{"code":"id","name":"индонезийский"},{"code":"ga","name":"ирландский"},{"code":"is","name":"исландский"},{"code":"es","name":"испанский"},{"code":"it","name":"итальянский"},{"code":"ca","name":"каталанский"},{"code":"zh-tw","name":"китайский (традиционный)"},{"code":"zh-cn","name":"китайский (упрощенный)"},{"code":"ko","name":"корейский"},{"code":"lv","name":"латышский"},{"code":"lt","name":"литовский"},{"code":"mi","name":"маори"},{"code":"de","name":"немецкий"},{"code":"nl","name":"нидерландский"},{"code":"nb","name":"норвежский"},{"code":"fa","name":"персидский"},{"code":"pl","name":"польский"},{"code":"pt","name":"португальский"},{"code":"ro","name":"румынский"},{"code":"ru","name":"русский"},{"code":"sr","name":"сербский"},{"code":"sk","name":"словацкий"},{"code":"sl","name":"словенский"},{"code":"th","name":"тайский"},{"code":"tr","name":"турецкий"},{"code":"uk","name":"украинский"},{"code":"fi","name":"финский"},{"code":"fr","name":"французский"},{"code":"hr","name":"хорватский"},{"code":"cs","name":"чешский"},{"code":"sv","name":"шведский"},{"code":"gd","name":"шотландский (гэльский)"},{"code":"et","name":"эстонский"},{"code":"ja","name":"японский"}],"pl":[{"code":"am","name":"amharski"},{"code":"en","name":"angielski"},{"code":"ar","name":"arabski"},{"code":"az","name":"azerski"},{"code":"eu","name":"baskijski"},{"code":"bg","name":"bułgarski"},{"code":"zh-tw","name":"chiński (tradycyjny)"},{"code":"zh-cn","name":"chiński (uproszczony)"},{"code":"hr","name":"chorwacki"},{"code":"cs","name":"czeski"},{"code":"da","name":"duński"},{"code":"et","name":"estoński"},{"code":"fi","name":"fiński"},{"code":"fr","name":"francuski"},{"code":"gl","name":"galicyjski"},{"code":"el","name":"grecki"},{"code":"he","name":"hebrajski"},{"code":"es","name":"hiszpański"},{"code":"id","name":"indonezyjski"},{"code":"ga","name":"irlandzki"},{"code":"is","name":"islandzki"},{"code":"ja","name":"japoński"},{"code":"ca","name":"kataloński"},{"code":"ko","name":"koreański"},{"code":"lt","name":"litewski"},{"code":"lv","name":"łotewski"},{"code":"mi","name":"maori"},{"code":"nl","name":"niderlandzki"},{"code":"de","name":"niemiecki"},{"code":"nb","name":"norweski"},{"code":"fa","name":"perski"},{"code":"pl","name":"polski"},{"code":"pt","name":"portugalski"},{"code":"ru","name":"rosyjski"},{"code":"ro","name":"rumuński"},{"code":"sr","name":"serbski"},{"code":"sk","name":"słowacki"},{"code":"sl","name":"słoweński"},{"code":"gd","name":"szkocki gaelicki"},{"code":"sv","name":"szwedzki"},{"code":"th","name":"tajski"},{"code":"tr","name":"turecki"},{"code":"uk","name":"ukraiński"},{"code":"cy","name":"walijski"},{"code":"hu","name":"węgierski"},{"code":"vi","name":"wietnamski"},{"code":"it","name":"włoski"},{"code":"zu","name":"zulu"}],"am":[{"code":"hu","name":"ሀንጋሪኛ"},{"code":"lt","name":"ሊትዌንኛ"},{"code":"lv","name":"ላትቪያኛ"},{"code":"mi","name":"ማዮሪኛ"},{"code":"ru","name":"ራሽያኛ"},{"code":"ro","name":"ሮማኒያንኛ"},{"code":"sr","name":"ሰርቢያኛ"},{"code":"sk","name":"ስሎቫክኛ"},{"code":"sl","name":"ስሎቬንያኛ"},{"code":"sv","name":"ስዊድንኛ"},{"code":"es","name":"ስፓኒሽኛ"},{"code":"bg","name":"ቡልጋሪያኛ"},{"code":"eu","name":"ባስክኛ"},{"code":"vi","name":"ቪትናምኛ"},{"code":"tr","name":"ቱርክኛ"},{"code":"th","name":"ታይኛ"},{"code":"zh-cn","name":"ቻይንኛ (ቀላሉ)"},{"code":"zh-tw","name":"ቻይንኛ (ባሕላዊው)"},{"code":"cs","name":"ቼክኛ"},{"code":"nb","name":"ኖርዌጅያንኛ"},{"code":"am","name":"አማርኛ"},{"code":"az","name":"አዜርባይጃንኛ"},{"code":"ga","name":"አይሪሽ"},{"code":"is","name":"አይስላንድኛ"},{"code":"et","name":"ኤስቶኒያኛ"},{"code":"id","name":"እንዶኔዢያኛ"},{"code":"en","name":"እንግሊዝኛ"},{"code":"ca","name":"ካታላንኛ"},{"code":"hr","name":"ክሮኤሽያኛ"},{"code":"ko","name":"ኮሪያኛ"},{"code":"cy","name":"ዌልሽ"},{"code":"ar","name":"ዐረብኛ"},{"code":"he","name":"ዕብራይስጥ"},{"code":"zu","name":"ዙሉኛ"},{"code":"gd","name":"የስኮት ጌልክኛ"},{"code":"uk","name":"ዩክሬንኛ"},{"code":"nl","name":"ደችኛ"},{"code":"da","name":"ዴንሽኛ"},{"code":"de","name":"ጀርመንኛ"},{"code":"ja","name":"ጃፓንኛ"},{"code":"gl","name":"ጋሊሺያኛ"},{"code":"el","name":"ግሪክኛ"},{"code":"it","name":"ጣሊያንኛ"},{"code":"fr","name":"ፈረንሳይኛ"},{"code":"fi","name":"ፊኒሽኛ"},{"code":"fa","name":"ፐርሺያኛ"},{"code":"pl","name":"ፖሊሽኛ"},{"code":"pt","name":"ፖርቱጋሊኛ"}],"az":[{"code":"de","name":"Alman"},{"code":"am","name":"Amarikcə"},{"code":"az","name":"Azərbaycan dili"},{"code":"eu","name":"Bask"},{"code":"bg","name":"Bolqar"},{"code":"cs","name":"Çex"},{"code":"zh-tw","name":"Çin (Ən\'ənəvi)"},{"code":"zh-cn","name":"Çin (Sadələşdirilmiş)"},{"code":"da","name":"Danimarka"},{"code":"et","name":"Eston"},{"code":"ar","name":"Ərəb"},{"code":"fa","name":"Fars Dili"},{"code":"fi","name":"Fin"},{"code":"fr","name":"Fransız"},{"code":"nl","name":"Holland"},{"code":"hr","name":"Xorvat"},{"code":"es","name":"Ispan"},{"code":"id","name":"İndoneziya"},{"code":"en","name":"İngilis"},{"code":"ga","name":"İrland"},{"code":"is","name":"İsland"},{"code":"sv","name":"İsveç"},{"code":"it","name":"İtalyan"},{"code":"he","name":"İvrit"},{"code":"ca","name":"Katalan"},{"code":"ko","name":"Koreya"},{"code":"gl","name":"Qalisian"},{"code":"lv","name":"Latış"},{"code":"lt","name":"Litva"},{"code":"hu","name":"Macar"},{"code":"mi","name":"Maoricə"},{"code":"nb","name":"Norveç"},{"code":"pl","name":"Polyak"},{"code":"pt","name":"Portuqal"},{"code":"ro","name":"Rumın"},{"code":"ru","name":"Rus"},{"code":"sr","name":"Serb"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Sloven"},{"code":"gd","name":"Şotland (Kelt)"},{"code":"th","name":"Tayca"},{"code":"tr","name":"Türk"},{"code":"cy","name":"Uels"},{"code":"uk","name":"Ukrayna"},{"code":"vi","name":"Vyetnam"},{"code":"ja","name":"Yapon"},{"code":"el","name":"Yunan"},{"code":"zu","name":"Zulu dili"}],"hr":[{"code":"am","name":"amharik"},{"code":"ar","name":"arapski"},{"code":"az","name":"azerbajdžanski"},{"code":"eu","name":"baskijski"},{"code":"bg","name":"bugarski"},{"code":"cs","name":"češki"},{"code":"da","name":"danski"},{"code":"en","name":"engleski"},{"code":"et","name":"estonski"},{"code":"fi","name":"finski"},{"code":"fr","name":"francuski"},{"code":"gl","name":"galski"},{"code":"el","name":"grčki"},{"code":"he","name":"hebrejski"},{"code":"hr","name":"hrvatski"},{"code":"id","name":"indonezijski"},{"code":"ga","name":"irski"},{"code":"is","name":"islandski"},{"code":"ja","name":"japanski"},{"code":"ca","name":"katalonski"},{"code":"zh-cn","name":"kineski (pojednost.)"},{"code":"zh-tw","name":"kineski (tradicionalni)"},{"code":"ko","name":"korejski"},{"code":"lv","name":"latvijski/letonski"},{"code":"lt","name":"litvanski"},{"code":"hu","name":"mađarski"},{"code":"mi","name":"maori"},{"code":"nl","name":"nizozemski"},{"code":"nb","name":"norveški"},{"code":"de","name":"njemački"},{"code":"fa","name":"perzijski"},{"code":"pl","name":"poljski"},{"code":"pt","name":"portugalski"},{"code":"ro","name":"rumunjski"},{"code":"ru","name":"ruski"},{"code":"sk","name":"slovački"},{"code":"sl","name":"slovenski"},{"code":"sr","name":"srpski"},{"code":"gd","name":"škotski keltski"},{"code":"es","name":"španjolski"},{"code":"sv","name":"švedski"},{"code":"th","name":"tajlandski"},{"code":"it","name":"talijanski"},{"code":"tr","name":"turski"},{"code":"uk","name":"ukrajinski"},{"code":"cy","name":"velški"},{"code":"vi","name":"vijetnamski"},{"code":"zu","name":"zulu"}],"fa":[{"code":"az","name":"آذرباﻳﺠﺎﻧﻰ"},{"code":"de","name":"آلمانی"},{"code":"es","name":"اسپانیایی"},{"code":"et","name":"استونيايی"},{"code":"sk","name":"اسلواکی"},{"code":"sl","name":"اسلونیایی"},{"code":"uk","name":"اکراينی"},{"code":"am","name":"امهری"},{"code":"id","name":"اندونزيايی"},{"code":"en","name":"انگلیسی"},{"code":"it","name":"ایتالیایی"},{"code":"ga","name":"ایرلندی"},{"code":"is","name":"ايسلندی"},{"code":"eu","name":"باسکی"},{"code":"bg","name":"بلغاری"},{"code":"pt","name":"پرتغالی"},{"code":"th","name":"تايلندی"},{"code":"tr","name":"ترکی استانبولی"},{"code":"cs","name":"چک"},{"code":"zh-cn","name":"چینی (سادهشده)"},{"code":"zh-tw","name":"چینی (سنتی)"},{"code":"da","name":"دانمارکی"},{"code":"ru","name":"روسی"},{"code":"ro","name":"رومانيايی"},{"code":"zu","name":"زولو"},{"code":"ja","name":"ژاپنی"},{"code":"sv","name":"سوئدی"},{"code":"sr","name":"صربی"},{"code":"he","name":"عبری"},{"code":"ar","name":"عربی"},{"code":"fa","name":"فارسی"},{"code":"fr","name":"فرانسوی"},{"code":"fi","name":"فنلاندی"},{"code":"ca","name":"کاتالان"},{"code":"hr","name":"کرواتی"},{"code":"ko","name":"کرهای"},{"code":"gl","name":"گالیسی"},{"code":"gd","name":"گاليک اسکاتلندی"},{"code":"lv","name":"لتونيايی"},{"code":"pl","name":"لهستانی"},{"code":"lt","name":"ليتوانيايی"},{"code":"mi","name":"مائوری"},{"code":"hu","name":"مجاری"},{"code":"nb","name":"نروژی"},{"code":"cy","name":"ولزی"},{"code":"vi","name":"ويتنامی"},{"code":"nl","name":"هلندی"},{"code":"el","name":"يونانی"}],"mi":[{"code":"az","name":"Ahepaitani"},{"code":"ga","name":"Airihi"},{"code":"am","name":"Amariki"},{"code":"ar","name":"Arapi"},{"code":"et","name":"Etōnia"},{"code":"zh-tw","name":"Haina (Onamata)"},{"code":"zh-cn","name":"Hainamana (Kua whakamāmātia)"},{"code":"hu","name":"Hanekeria"},{"code":"ja","name":"Hapanihi"},{"code":"sr","name":"Herepia"},{"code":"fi","name":"Hinerangi"},{"code":"he","name":"Hiperu"},{"code":"sk","name":"Horowākia"},{"code":"sl","name":"Horowinia"},{"code":"sv","name":"Huitene"},{"code":"zu","name":"Huru"},{"code":"en","name":"Ingarihi"},{"code":"id","name":"Initonīhia"},{"code":"it","name":"Itāriana"},{"code":"gl","name":"Karihia"},{"code":"ca","name":"Katarāna"},{"code":"el","name":"Kiriki"},{"code":"ko","name":"Kōreana"},{"code":"hr","name":"Koroātiana"},{"code":"tr","name":"Korukoru"},{"code":"mi","name":"Māori"},{"code":"nb","name":"Nōwei"},{"code":"eu","name":"Pākihi"},{"code":"es","name":"Pāniora"},{"code":"fa","name":"Perēhia"},{"code":"pl","name":"Pōrana"},{"code":"pt","name":"Potukīhi"},{"code":"bg","name":"Purukāriana"},{"code":"lv","name":"Rāwhiana"},{"code":"lt","name":"Rituānia"},{"code":"ro","name":"Romānia"},{"code":"ru","name":"Rūhia"},{"code":"th","name":"Tai"},{"code":"nl","name":"Tati"},{"code":"da","name":"Tenemāka"},{"code":"de","name":"Tiamana"},{"code":"cs","name":"Tieke"},{"code":"is","name":"Tiorangi"},{"code":"gd","name":"Tuauri Kotarangi"},{"code":"uk","name":"Ūkareiana"},{"code":"cy","name":"Wēra"},{"code":"vi","name":"Whitināmu"},{"code":"fr","name":"Wīwī"}],"el":[{"code":"en","name":"Αγγλικά"},{"code":"az","name":"Αζερμπαϊτζανικά"},{"code":"am","name":"Αμχαρικά"},{"code":"ar","name":"Αραβικά"},{"code":"eu","name":"Βασκικά"},{"code":"vi","name":"Βιετναμεζικά"},{"code":"bg","name":"Βουλγαρικά"},{"code":"gd","name":"Γαελικά Σκοτίας"},{"code":"gl","name":"Γαλικιακά"},{"code":"fr","name":"Γαλλικά"},{"code":"de","name":"Γερμανικά"},{"code":"da","name":"Δανικά"},{"code":"he","name":"Εβραϊκά"},{"code":"el","name":"Ελληνικά"},{"code":"et","name":"Εσθονικά"},{"code":"zu","name":"Ζουλού"},{"code":"ja","name":"Ιαπωνικά"},{"code":"id","name":"Ινδονησιακά"},{"code":"ga","name":"Ιρλανδικά"},{"code":"is","name":"Ισλανδικά"},{"code":"es","name":"Ισπανικά"},{"code":"it","name":"Ιταλικά"},{"code":"ca","name":"Καταλανικά"},{"code":"zh-cn","name":"Κινέζικα (Απλοποιημένα)"},{"code":"zh-tw","name":"Κινέζικα (Παραδοσιακά)"},{"code":"ko","name":"Κορεατικά"},{"code":"hr","name":"Κροατικά"},{"code":"lv","name":"Λετονικά"},{"code":"lt","name":"Λιθουανικά"},{"code":"mi","name":"Μαορί"},{"code":"nb","name":"Νορβηγικά"},{"code":"nl","name":"Ολλανδικά"},{"code":"cy","name":"Ουαλικά"},{"code":"hu","name":"Ουγγρικά"},{"code":"uk","name":"Ουκρανικά"},{"code":"fa","name":"Περσικά"},{"code":"pl","name":"Πολωνικά"},{"code":"pt","name":"Πορτογαλικά"},{"code":"ro","name":"Ρουμανικά"},{"code":"ru","name":"Ρωσικά"},{"code":"sr","name":"Σερβικά"},{"code":"sk","name":"Σλοβακικά"},{"code":"sl","name":"Σλοβενικά"},{"code":"sv","name":"Σουηδικά"},{"code":"th","name":"Ταϊλανδεζικά"},{"code":"tr","name":"Τούρκικα"},{"code":"cs","name":"Τσεχικά"},{"code":"fi","name":"Φινλανδικά"}],"is":[{"code":"am","name":"amharísku"},{"code":"ar","name":"arabíska"},{"code":"az","name":"aserska"},{"code":"eu","name":"baskneska"},{"code":"bg","name":"búlgarska"},{"code":"da","name":"danska"},{"code":"et","name":"eistneska"},{"code":"en","name":"enska"},{"code":"fi","name":"finnska"},{"code":"fr","name":"franska"},{"code":"gl","name":"galisíska"},{"code":"el","name":"gríska"},{"code":"he","name":"hebreska"},{"code":"nl","name":"hollenska"},{"code":"id","name":"indónesíska"},{"code":"ga","name":"írska"},{"code":"is","name":"íslenska"},{"code":"it","name":"ítalska"},{"code":"ja","name":"japanska"},{"code":"ca","name":"katalónska"},{"code":"zh-cn","name":"kínverska (einfölduð)"},{"code":"zh-tw","name":"kínverska (hefðbundin)"},{"code":"ko","name":"kóreska"},{"code":"hr","name":"króatíska"},{"code":"lv","name":"lettneska"},{"code":"lt","name":"litháíska"},{"code":"mi","name":"maoríska"},{"code":"nb","name":"norska"},{"code":"fa","name":"persneska"},{"code":"pt","name":"portúgalska"},{"code":"pl","name":"pólska"},{"code":"ro","name":"rúmenska"},{"code":"ru","name":"rússneska"},{"code":"sr","name":"serbneska"},{"code":"gd","name":"skosk-gelíska"},{"code":"sk","name":"slóvakíska"},{"code":"sl","name":"slóvenska"},{"code":"es","name":"spænska"},{"code":"zu","name":"súlú"},{"code":"sv","name":"sænska"},{"code":"th","name":"taílenska"},{"code":"cs","name":"tékkneska"},{"code":"tr","name":"tyrkneska"},{"code":"hu","name":"ungverska"},{"code":"uk","name":"úkraínska"},{"code":"cy","name":"velska"},{"code":"vi","name":"víetnamska"},{"code":"de","name":"þýska"}],"fi":[{"code":"am","name":"amhara"},{"code":"ar","name":"arabia"},{"code":"az","name":"azeri"},{"code":"eu","name":"baski"},{"code":"bg","name":"bulgaria"},{"code":"en","name":"englanti"},{"code":"es","name":"espanja"},{"code":"gl","name":"galicia"},{"code":"he","name":"heprea"},{"code":"nl","name":"hollanti"},{"code":"ga","name":"iiri"},{"code":"id","name":"indonesia"},{"code":"is","name":"islanti"},{"code":"it","name":"italia"},{"code":"ja","name":"japani"},{"code":"ca","name":"katalaani"},{"code":"zh-tw","name":"kiina (perinteinen)"},{"code":"zh-cn","name":"kiina (yksinkert.)"},{"code":"ko","name":"korea"},{"code":"el","name":"kreikka"},{"code":"hr","name":"kroatia"},{"code":"cy","name":"kymri"},{"code":"lv","name":"latvia"},{"code":"lt","name":"liettua"},{"code":"mi","name":"maori"},{"code":"nb","name":"norja"},{"code":"fa","name":"persia"},{"code":"pt","name":"portugali"},{"code":"pl","name":"puola"},{"code":"fr","name":"ranska"},{"code":"ro","name":"romania"},{"code":"sv","name":"ruotsi"},{"code":"de","name":"saksa"},{"code":"sr","name":"serbia"},{"code":"gd","name":"skottigaeli"},{"code":"sk","name":"slovakia"},{"code":"sl","name":"slovenia"},{"code":"fi","name":"suomi"},{"code":"da","name":"tanska"},{"code":"th","name":"thai"},{"code":"cs","name":"tsekki"},{"code":"tr","name":"turkki"},{"code":"uk","name":"ukraina"},{"code":"hu","name":"unkari"},{"code":"ru","name":"venäjä"},{"code":"vi","name":"vietnam"},{"code":"et","name":"viro"},{"code":"zu","name":"zulu"}],"eu":[{"code":"de","name":"alemana"},{"code":"am","name":"amharera"},{"code":"ar","name":"arabiera"},{"code":"az","name":"azerbaijanera"},{"code":"bg","name":"bulgariera"},{"code":"da","name":"daniera"},{"code":"ro","name":"errumaniera"},{"code":"ru","name":"errusiera"},{"code":"gd","name":"Eskoziako gaelera"},{"code":"sk","name":"eslovakiera"},{"code":"sl","name":"esloveniera"},{"code":"et","name":"estoniera"},{"code":"eu","name":"euskara"},{"code":"fr","name":"frantsesa"},{"code":"cy","name":"gaelera"},{"code":"gl","name":"galiziera"},{"code":"es","name":"gaztelania"},{"code":"el","name":"greziera"},{"code":"he","name":"hebreera"},{"code":"hu","name":"hungariera"},{"code":"id","name":"indonesiera"},{"code":"en","name":"ingelesa"},{"code":"ga","name":"irlandera"},{"code":"is","name":"islandiera"},{"code":"it","name":"italiera"},{"code":"ja","name":"japoniera"},{"code":"ca","name":"katalana"},{"code":"ko","name":"koreera"},{"code":"hr","name":"kroaziera"},{"code":"lv","name":"letoniera"},{"code":"lt","name":"lituaniera"},{"code":"mi","name":"maoriera"},{"code":"nl","name":"nederlandera"},{"code":"nb","name":"norvegiera"},{"code":"fa","name":"persiera"},{"code":"pl","name":"poloniera"},{"code":"pt","name":"portugesa"},{"code":"sr","name":"serbiera"},{"code":"sv","name":"suediera"},{"code":"fi","name":"suomiera"},{"code":"th","name":"thaiera"},{"code":"tr","name":"turkiera"},{"code":"cs","name":"txekiera"},{"code":"zh-cn","name":"txinera (soildua)"},{"code":"zh-tw","name":"txinera (tradizionala)"},{"code":"uk","name":"ukrainera"},{"code":"vi","name":"vietnamera"},{"code":"zu","name":"zuluera"}],"ca":[{"code":"de","name":"alemany"},{"code":"am","name":"amhàric"},{"code":"en","name":"anglès"},{"code":"ar","name":"àrab"},{"code":"az","name":"àzeri"},{"code":"eu","name":"basc"},{"code":"bg","name":"búlgar"},{"code":"es","name":"castellà"},{"code":"ca","name":"català"},{"code":"ko","name":"coreà"},{"code":"hr","name":"croat"},{"code":"da","name":"danès"},{"code":"sk","name":"eslovac"},{"code":"sl","name":"eslovè"},{"code":"et","name":"estonià"},{"code":"fi","name":"finès"},{"code":"fr","name":"francès"},{"code":"gd","name":"gaèlic escocès"},{"code":"gl","name":"gallec"},{"code":"cy","name":"gal·lès"},{"code":"el","name":"grec"},{"code":"he","name":"hebreu"},{"code":"hu","name":"hongarès"},{"code":"id","name":"indonesi"},{"code":"ga","name":"irlandès"},{"code":"is","name":"islandès"},{"code":"it","name":"italià"},{"code":"ja","name":"japonès"},{"code":"lv","name":"letó"},{"code":"lt","name":"lituà"},{"code":"mi","name":"maori"},{"code":"nl","name":"neerlandès"},{"code":"nb","name":"noruec"},{"code":"fa","name":"persa"},{"code":"pl","name":"polonès"},{"code":"pt","name":"portuguès"},{"code":"ro","name":"romanès"},{"code":"ru","name":"rus"},{"code":"sr","name":"serbi"},{"code":"sv","name":"suec"},{"code":"th","name":"tai"},{"code":"tr","name":"turc"},{"code":"cs","name":"txec"},{"code":"uk","name":"ucraïnès"},{"code":"vi","name":"vietnamita"},{"code":"zh-cn","name":"xinès (simplificat)"},{"code":"zh-tw","name":"xinès (tradicional)"},{"code":"zu","name":"zulú"}],"lv":[{"code":"am","name":"amharu"},{"code":"en","name":"angļu"},{"code":"ar","name":"arābu"},{"code":"az","name":"azerbaidžāņu"},{"code":"eu","name":"basku"},{"code":"bg","name":"bulgāru"},{"code":"cs","name":"čehu"},{"code":"da","name":"dāņu"},{"code":"he","name":"ebreju (ivrits)"},{"code":"fr","name":"franču"},{"code":"gl","name":"galisiešu"},{"code":"el","name":"grieķu"},{"code":"nl","name":"holandiešu"},{"code":"hr","name":"horvātu"},{"code":"et","name":"igauņu"},{"code":"id","name":"indonēziešu"},{"code":"ga","name":"īru"},{"code":"is","name":"īslandiešu"},{"code":"it","name":"itāļu"},{"code":"ja","name":"japāņu"},{"code":"ca","name":"katalāņu"},{"code":"ko","name":"korejiešu"},{"code":"ru","name":"krievu"},{"code":"zh-tw","name":"ķīniešu (tradicionālā)"},{"code":"zh-cn","name":"ķīniešu (vienkāršotā)"},{"code":"lv","name":"latviešu"},{"code":"lt","name":"lietuviešu"},{"code":"mi","name":"maori"},{"code":"nb","name":"norvēģu"},{"code":"fa","name":"persiešu"},{"code":"pl","name":"poļu"},{"code":"pt","name":"portugāļu"},{"code":"ro","name":"rumāņu"},{"code":"sr","name":"serbu"},{"code":"gd","name":"skotu gēlu"},{"code":"sk","name":"slovāku"},{"code":"sl","name":"slovēņu"},{"code":"fi","name":"somu"},{"code":"es","name":"spāņu"},{"code":"th","name":"taju"},{"code":"tr","name":"turku"},{"code":"uk","name":"ukraiņu"},{"code":"hu","name":"ungāru"},{"code":"de","name":"vācu"},{"code":"cy","name":"velsiešu"},{"code":"vi","name":"vjetnamiešu"},{"code":"zu","name":"zulu"},{"code":"sv","name":"zviedru"}],"id":[{"code":"am","name":"Amhara"},{"code":"ar","name":"Arab"},{"code":"az","name":"Azerbaijan"},{"code":"eu","name":"Basque"},{"code":"nl","name":"Belanda"},{"code":"bg","name":"Bulgaria"},{"code":"cs","name":"Cek"},{"code":"zh-cn","name":"China (Aks. Sederhana)"},{"code":"zh-tw","name":"China (Aks. Tradisional)"},{"code":"da","name":"Denmark"},{"code":"et","name":"Estonia"},{"code":"fa","name":"Farsi"},{"code":"fi","name":"Finlandia"},{"code":"ga","name":"Gaelig"},{"code":"gd","name":"Gaelik Skotlandia"},{"code":"gl","name":"Galisia"},{"code":"he","name":"Ibrani"},{"code":"id","name":"Indonesia"},{"code":"en","name":"Inggris"},{"code":"is","name":"Islan"},{"code":"it","name":"Italia"},{"code":"ja","name":"Jepang"},{"code":"de","name":"Jerman"},{"code":"ca","name":"Katala"},{"code":"ko","name":"Korea"},{"code":"hr","name":"Kroat"},{"code":"lv","name":"Latvia"},{"code":"lt","name":"Lituania"},{"code":"hu","name":"Magyar"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norsk"},{"code":"pl","name":"Polandia"},{"code":"pt","name":"Portugis"},{"code":"fr","name":"Prancis"},{"code":"ro","name":"Rumania"},{"code":"ru","name":"Rusia"},{"code":"sr","name":"Serb"},{"code":"sk","name":"Slovakia"},{"code":"sl","name":"Slovenia"},{"code":"es","name":"Spanyol"},{"code":"sv","name":"Swensk"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turki"},{"code":"uk","name":"Ukraina"},{"code":"vi","name":"Vietnam"},{"code":"cy","name":"Wales"},{"code":"el","name":"Yunani"},{"code":"zu","name":"Zulu"}],"es":[{"code":"de","name":"alemán"},{"code":"am","name":"amhárico"},{"code":"ar","name":"árabe"},{"code":"az","name":"azerí"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chino (simplificado)"},{"code":"zh-tw","name":"chino (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"danés"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estonio"},{"code":"eu","name":"euskera"},{"code":"fi","name":"finlandés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"cy","name":"galés"},{"code":"gl","name":"gallego"},{"code":"el","name":"griego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"ja","name":"japonés"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruego"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"rumano"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraniano"},{"code":"vi","name":"vietnamita"},{"code":"zu","name":"zulú"}],"es-419":[{"code":"de","name":"alemán"},{"code":"am","name":"amhárico"},{"code":"ar","name":"árabe"},{"code":"az","name":"azerí"},{"code":"bg","name":"búlgaro"},{"code":"ca","name":"catalán"},{"code":"cs","name":"checo"},{"code":"zh-cn","name":"chino (simplificado)"},{"code":"zh-tw","name":"chino (tradicional)"},{"code":"ko","name":"coreano"},{"code":"hr","name":"croata"},{"code":"da","name":"danés"},{"code":"sk","name":"eslovaco"},{"code":"sl","name":"esloveno"},{"code":"es","name":"español"},{"code":"et","name":"estonio"},{"code":"eu","name":"euskera"},{"code":"fi","name":"finlandés"},{"code":"fr","name":"francés"},{"code":"gd","name":"gaélico escocés"},{"code":"cy","name":"galés"},{"code":"gl","name":"gallego"},{"code":"el","name":"griego"},{"code":"he","name":"hebreo"},{"code":"hu","name":"húngaro"},{"code":"id","name":"indonesio"},{"code":"en","name":"inglés"},{"code":"ga","name":"irlandés"},{"code":"is","name":"islandés"},{"code":"it","name":"italiano"},{"code":"ja","name":"japonés"},{"code":"lv","name":"letón"},{"code":"lt","name":"lituano"},{"code":"mi","name":"maorí"},{"code":"nl","name":"neerlandés"},{"code":"nb","name":"noruego"},{"code":"fa","name":"persa"},{"code":"pl","name":"polaco"},{"code":"pt","name":"portugués"},{"code":"ro","name":"rumano"},{"code":"ru","name":"ruso"},{"code":"sr","name":"serbio"},{"code":"sv","name":"sueco"},{"code":"th","name":"tailandés"},{"code":"tr","name":"turco"},{"code":"uk","name":"ucraniano"},{"code":"vi","name":"vietnamita"},{"code":"zu","name":"zulú"}],"et":[{"code":"am","name":"amhaari"},{"code":"ar","name":"araabia"},{"code":"az","name":"aserbaidžaani"},{"code":"eu","name":"baski"},{"code":"bg","name":"bulgaaria"},{"code":"et","name":"eesti"},{"code":"gl","name":"galeegi"},{"code":"he","name":"heebrea"},{"code":"es","name":"hispaania"},{"code":"nl","name":"hollandi"},{"code":"hr","name":"horvaadi"},{"code":"ga","name":"iiri"},{"code":"id","name":"indoneesia"},{"code":"en","name":"inglise"},{"code":"is","name":"islandi"},{"code":"it","name":"itaalia"},{"code":"ja","name":"jaapani"},{"code":"ca","name":"katalaani"},{"code":"ko","name":"korea"},{"code":"el","name":"kreeka"},{"code":"lt","name":"leedu"},{"code":"zh-cn","name":"lihtsustatud hiina"},{"code":"lv","name":"läti"},{"code":"mi","name":"maoori"},{"code":"nb","name":"norra"},{"code":"pl","name":"poola"},{"code":"pt","name":"portugali"},{"code":"fr","name":"prantsuse"},{"code":"fa","name":"pärsia"},{"code":"sv","name":"rootsi"},{"code":"ro","name":"rumeenia"},{"code":"de","name":"saksa"},{"code":"sr","name":"serbia"},{"code":"sk","name":"slovaki"},{"code":"sl","name":"sloveeni"},{"code":"fi","name":"soome"},{"code":"zu","name":"suulu"},{"code":"gd","name":"šoti"},{"code":"da","name":"taani"},{"code":"th","name":"tai"},{"code":"zh-tw","name":"traditsiooniline hiina"},{"code":"cs","name":"tšehhi"},{"code":"tr","name":"türgi"},{"code":"cy","name":"uelsi"},{"code":"uk","name":"ukraina"},{"code":"hu","name":"ungari"},{"code":"ru","name":"vene"},{"code":"vi","name":"vietnami"}],"cy":[{"code":"de","name":"Almaeneg"},{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabeg"},{"code":"az","name":"Aserbaijaneg"},{"code":"eu","name":"Basgeg"},{"code":"bg","name":"Bwlgaraidd"},{"code":"ca","name":"Catalaneg"},{"code":"hr","name":"Croateg"},{"code":"cy","name":"Cymraeg"},{"code":"da","name":"Daneg"},{"code":"it","name":"Eidaleg"},{"code":"et","name":"Estoneg"},{"code":"vi","name":"Fietnameg"},{"code":"fi","name":"Ffineg"},{"code":"nl","name":"Fflemeg"},{"code":"fr","name":"Ffrangeg"},{"code":"gd","name":"Gaeleg yr Alban"},{"code":"gl","name":"Galisaidd"},{"code":"el","name":"Groeg"},{"code":"ga","name":"Gwyddeleg"},{"code":"he","name":"Hebraeg"},{"code":"hu","name":"Hwngareg"},{"code":"ko","name":"Iaith Corea"},{"code":"id","name":"Indonesieg"},{"code":"is","name":"Islandeg"},{"code":"uk","name":"Iwcraineg"},{"code":"ja","name":"Japaneg"},{"code":"lv","name":"Latfieg"},{"code":"lt","name":"Lithwaneg"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwyeg"},{"code":"fa","name":"Perseg"},{"code":"pt","name":"Portiwgaleg"},{"code":"pl","name":"Pwyleg"},{"code":"ro","name":"Rwmaneg"},{"code":"ru","name":"Rwsieg"},{"code":"en","name":"Saesneg"},{"code":"es","name":"Sbaeneg"},{"code":"sr","name":"Serbeg"},{"code":"sk","name":"Slofac"},{"code":"sl","name":"Slofenia"},{"code":"sv","name":"Swedeg"},{"code":"zu","name":"Swlw"},{"code":"th","name":"Tai"},{"code":"cs","name":"Tsieceg"},{"code":"zh-tw","name":"Tsieineeg (Traddodiadol)"},{"code":"zh-cn","name":"Tsieineeg (Wedi symleiddio)"},{"code":"tr","name":"Twrceg"}],"zh-cn":[{"code":"ar","name":"阿拉伯语"},{"code":"am","name":"阿姆哈拉语"},{"code":"az","name":"阿塞拜疆语"},{"code":"ga","name":"爱尔兰语"},{"code":"et","name":"爱沙尼亚语"},{"code":"eu","name":"巴斯克语"},{"code":"bg","name":"保加利亚语"},{"code":"is","name":"冰岛语"},{"code":"pl","name":"波兰语"},{"code":"fa","name":"波斯语"},{"code":"da","name":"丹麦语"},{"code":"de","name":"德语"},{"code":"ru","name":"俄语"},{"code":"fr","name":"法语"},{"code":"fi","name":"芬兰语"},{"code":"ko","name":"韩语"},{"code":"nl","name":"荷兰语"},{"code":"gl","name":"加利西亚语"},{"code":"ca","name":"加泰罗尼亚语"},{"code":"cs","name":"捷克语"},{"code":"hr","name":"克罗地亚语"},{"code":"lv","name":"拉脱维亚语"},{"code":"lt","name":"立陶宛语"},{"code":"ro","name":"罗马尼亚语"},{"code":"mi","name":"毛利语"},{"code":"zu","name":"南非祖鲁语"},{"code":"nb","name":"挪威语"},{"code":"pt","name":"葡萄牙语"},{"code":"ja","name":"日语"},{"code":"sv","name":"瑞典语"},{"code":"sr","name":"塞尔维亚语"},{"code":"sk","name":"斯洛伐克语"},{"code":"sl","name":"斯洛文尼亚语"},{"code":"gd","name":"苏格兰盖尔语"},{"code":"th","name":"泰语"},{"code":"tr","name":"土耳其语"},{"code":"cy","name":"威尔士语"},{"code":"uk","name":"乌克兰语"},{"code":"es","name":"西班牙语"},{"code":"he","name":"希伯来语"},{"code":"el","name":"希腊语"},{"code":"hu","name":"匈牙利语"},{"code":"it","name":"意大利语"},{"code":"id","name":"印尼语"},{"code":"en","name":"英语"},{"code":"vi","name":"越南语"},{"code":"zh-tw","name":"中文(繁体)"},{"code":"zh-cn","name":"中文(简体)"}],"bg":[{"code":"az","name":"азербайджански"},{"code":"am","name":"амхарски"},{"code":"en","name":"английски"},{"code":"ar","name":"арабски"},{"code":"eu","name":"баски"},{"code":"bg","name":"български"},{"code":"vi","name":"виетнамски"},{"code":"gl","name":"галисийски"},{"code":"el","name":"гръцки"},{"code":"da","name":"датски"},{"code":"et","name":"естонски"},{"code":"zu","name":"зулу"},{"code":"he","name":"иврит"},{"code":"id","name":"индонезийски"},{"code":"ga","name":"ирландски"},{"code":"is","name":"исландски"},{"code":"es","name":"испански"},{"code":"it","name":"италиански"},{"code":"ca","name":"каталонски"},{"code":"zh-cn","name":"китайски (опростен)"},{"code":"zh-tw","name":"китайски (традиционен)"},{"code":"ko","name":"корейски"},{"code":"lv","name":"латвийски"},{"code":"lt","name":"литовски"},{"code":"mi","name":"маорски"},{"code":"de","name":"немски"},{"code":"nl","name":"нидерландски"},{"code":"nb","name":"норвежки"},{"code":"fa","name":"персийски"},{"code":"pl","name":"полски"},{"code":"pt","name":"португалски"},{"code":"ro","name":"румънски"},{"code":"ru","name":"руски"},{"code":"sk","name":"словашки"},{"code":"sl","name":"словенски"},{"code":"sr","name":"сръбски"},{"code":"th","name":"тайландски"},{"code":"tr","name":"турски"},{"code":"cy","name":"уелски"},{"code":"uk","name":"украински"},{"code":"hu","name":"унгарски"},{"code":"fi","name":"финландски"},{"code":"fr","name":"френски"},{"code":"hr","name":"хърватски"},{"code":"cs","name":"чешки"},{"code":"sv","name":"шведски"},{"code":"gd","name":"шотландски келтски"},{"code":"ja","name":"японски"}],"ar":[{"code":"is","name":"الآيسلندية"},{"code":"az","name":"الأذرية"},{"code":"es","name":"الإسبانية"},{"code":"et","name":"الإستونية"},{"code":"gd","name":"الاسكتلندية الغالية"},{"code":"de","name":"الألمانية"},{"code":"am","name":"الأمهرية"},{"code":"en","name":"الإنجليزية"},{"code":"id","name":"الإندونيسية"},{"code":"uk","name":"الأوكرانية"},{"code":"ga","name":"الأيرلندية"},{"code":"it","name":"الإيطالية"},{"code":"eu","name":"الباسكية"},{"code":"pt","name":"البرتغالية"},{"code":"bg","name":"البلغارية"},{"code":"pl","name":"البولندية"},{"code":"th","name":"التايلاندية"},{"code":"tr","name":"التركية"},{"code":"cs","name":"التشيكية"},{"code":"gl","name":"الجاليكية"},{"code":"da","name":"الدانماركية"},{"code":"ru","name":"الروسية"},{"code":"ro","name":"الرومانية"},{"code":"zu","name":"الزولوية"},{"code":"sk","name":"السلوفاكية"},{"code":"sl","name":"السلوفينية"},{"code":"sv","name":"السويدية"},{"code":"sr","name":"الصربية"},{"code":"zh-tw","name":"الصينية (التقليدية)"},{"code":"zh-cn","name":"الصينية (المبسطة)"},{"code":"he","name":"العبرية"},{"code":"ar","name":"العربية"},{"code":"fa","name":"الفارسية"},{"code":"fr","name":"الفرنسية"},{"code":"fi","name":"الفنلندية"},{"code":"vi","name":"الفيتنامية"},{"code":"ca","name":"القطلونية"},{"code":"hr","name":"الكرواتية"},{"code":"ko","name":"الكورية"},{"code":"lv","name":"اللاتفية"},{"code":"lt","name":"الليتوانية"},{"code":"mi","name":"الماورية"},{"code":"nb","name":"النرويجية"},{"code":"hu","name":"الهنغارية"},{"code":"nl","name":"الهولندية"},{"code":"cy","name":"الويلزية"},{"code":"ja","name":"اليابانية"},{"code":"el","name":"اليونانية"}],"en":[{"code":"am","name":"Amharic"},{"code":"ar","name":"Arabic"},{"code":"az","name":"Azerbaijani"},{"code":"eu","name":"Basque"},{"code":"bg","name":"Bulgarian"},{"code":"ca","name":"Catalan"},{"code":"zh-cn","name":"Chinese (Simplified)"},{"code":"zh-tw","name":"Chinese (Traditional)"},{"code":"hr","name":"Croatian"},{"code":"cs","name":"Czech"},{"code":"da","name":"Danish"},{"code":"nl","name":"Dutch"},{"code":"en","name":"English"},{"code":"et","name":"Estonian"},{"code":"fi","name":"Finnish"},{"code":"fr","name":"French"},{"code":"gl","name":"Galician"},{"code":"de","name":"German"},{"code":"el","name":"Greek"},{"code":"he","name":"Hebrew"},{"code":"hu","name":"Hungarian"},{"code":"is","name":"Icelandic"},{"code":"id","name":"Indonesian"},{"code":"ga","name":"Irish"},{"code":"it","name":"Italian"},{"code":"ja","name":"Japanese"},{"code":"ko","name":"Korean"},{"code":"lv","name":"Latvian"},{"code":"lt","name":"Lithuanian"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norwegian"},{"code":"fa","name":"Persian"},{"code":"pl","name":"Polish"},{"code":"pt","name":"Portuguese"},{"code":"ro","name":"Romanian"},{"code":"ru","name":"Russian"},{"code":"gd","name":"Scots Gaelic"},{"code":"sr","name":"Serbian"},{"code":"sk","name":"Slovak"},{"code":"sl","name":"Slovenian"},{"code":"es","name":"Spanish"},{"code":"sv","name":"Swedish"},{"code":"th","name":"Thai"},{"code":"tr","name":"Turkish"},{"code":"uk","name":"Ukrainian"},{"code":"vi","name":"Vietnamese"},{"code":"cy","name":"Welsh"},{"code":"zu","name":"Zulu"}],"sr":[{"code":"az","name":"азербејџански"},{"code":"am","name":"амхарски"},{"code":"ar","name":"арапски"},{"code":"eu","name":"баскијски"},{"code":"bg","name":"бугарски"},{"code":"cy","name":"велшки"},{"code":"vi","name":"вијетнамски"},{"code":"gl","name":"галски"},{"code":"el","name":"грчки"},{"code":"da","name":"дански"},{"code":"en","name":"енглески"},{"code":"et","name":"естонски"},{"code":"zu","name":"зулу"},{"code":"id","name":"индонежански"},{"code":"ga","name":"ирски"},{"code":"is","name":"исландски"},{"code":"it","name":"италијански"},{"code":"ja","name":"јапански"},{"code":"ca","name":"каталонски"},{"code":"zh-cn","name":"кинески (поједностављени)"},{"code":"zh-tw","name":"кинески (традиционални)"},{"code":"ko","name":"корејски"},{"code":"lv","name":"летонски"},{"code":"lt","name":"литвански"},{"code":"hu","name":"мађарски"},{"code":"mi","name":"маорски"},{"code":"de","name":"немачки"},{"code":"nb","name":"норвешки"},{"code":"fa","name":"персијски"},{"code":"pl","name":"пољски"},{"code":"pt","name":"португалски"},{"code":"ro","name":"румунски"},{"code":"ru","name":"руски"},{"code":"sk","name":"словачки"},{"code":"sl","name":"словеначки"},{"code":"sr","name":"српски"},{"code":"th","name":"тајски"},{"code":"tr","name":"турски"},{"code":"uk","name":"украјински"},{"code":"fi","name":"фински"},{"code":"fr","name":"француски"},{"code":"he","name":"хебрејски"},{"code":"nl","name":"холандски"},{"code":"hr","name":"хрватски"},{"code":"cs","name":"чешки"},{"code":"sv","name":"шведски"},{"code":"gd","name":"шкотски галски"},{"code":"es","name":"шпански"}],"sv":[{"code":"am","name":"amhariska"},{"code":"ar","name":"arabiska"},{"code":"az","name":"azerbajdzjanska"},{"code":"eu","name":"baskiska"},{"code":"bg","name":"bulgariska"},{"code":"da","name":"danska"},{"code":"en","name":"engelska"},{"code":"et","name":"estniska"},{"code":"fi","name":"finska"},{"code":"fr","name":"franska"},{"code":"gd","name":"gaeliska"},{"code":"gl","name":"galiciska"},{"code":"el","name":"grekiska"},{"code":"he","name":"hebreiska"},{"code":"id","name":"indonesiska"},{"code":"ga","name":"irländska"},{"code":"is","name":"isländska"},{"code":"it","name":"italienska"},{"code":"ja","name":"japanska"},{"code":"ca","name":"katalanska"},{"code":"zh-cn","name":"kinesiska (förenklad)"},{"code":"zh-tw","name":"kinesiska (traditionell)"},{"code":"ko","name":"koreanska"},{"code":"hr","name":"kroatiska"},{"code":"lv","name":"lettiska"},{"code":"lt","name":"litauiska"},{"code":"mi","name":"maori"},{"code":"nl","name":"nederländska"},{"code":"nb","name":"norska"},{"code":"fa","name":"persiska"},{"code":"pl","name":"polska"},{"code":"pt","name":"portugisiska"},{"code":"ro","name":"rumänska"},{"code":"ru","name":"ryska"},{"code":"sr","name":"serbiska"},{"code":"sk","name":"slovakiska"},{"code":"sl","name":"slovenska"},{"code":"es","name":"spanska"},{"code":"sv","name":"svenska"},{"code":"th","name":"thailändska"},{"code":"cs","name":"tjeckiska"},{"code":"tr","name":"turkiska"},{"code":"de","name":"tyska"},{"code":"uk","name":"ukrainska"},{"code":"hu","name":"ungerska"},{"code":"vi","name":"vietnamesiska"},{"code":"cy","name":"walesiska"},{"code":"zu","name":"zulu"}],"ro":[{"code":"am","name":"Amharică"},{"code":"ar","name":"Arabă"},{"code":"az","name":"Azerbaidjană"},{"code":"eu","name":"Bască"},{"code":"bg","name":"Bulgară"},{"code":"ca","name":"Catalană"},{"code":"cs","name":"Cehă"},{"code":"zh-cn","name":"Chineză (Simplificată)"},{"code":"zh-tw","name":"Chineză (Tradițională)"},{"code":"ko","name":"Coreeană"},{"code":"hr","name":"Croată"},{"code":"da","name":"Daneză"},{"code":"he","name":"Ebraică"},{"code":"en","name":"Engleză"},{"code":"et","name":"Estonă"},{"code":"fi","name":"Finlandeză"},{"code":"fr","name":"Franceză"},{"code":"cy","name":"Galeză"},{"code":"gd","name":"Galica scoțiană"},{"code":"gl","name":"Galiciană"},{"code":"de","name":"Germană"},{"code":"el","name":"Greacă"},{"code":"id","name":"Indoneziană"},{"code":"ga","name":"Irlandeză"},{"code":"is","name":"Islandeză"},{"code":"it","name":"Italiană"},{"code":"ja","name":"Japoneză"},{"code":"lv","name":"Letonă"},{"code":"lt","name":"Lituaniană"},{"code":"hu","name":"Maghiară"},{"code":"mi","name":"Maori"},{"code":"nl","name":"Neerlandeză"},{"code":"nb","name":"Norvegiană"},{"code":"fa","name":"Persană"},{"code":"pl","name":"Poloneză"},{"code":"pt","name":"Portugheză"},{"code":"ro","name":"Română"},{"code":"ru","name":"Rusă"},{"code":"sr","name":"Sârbă"},{"code":"sk","name":"Slovacă"},{"code":"sl","name":"Slovenă"},{"code":"es","name":"Spaniolă"},{"code":"sv","name":"Suedeză"},{"code":"th","name":"Thailandeză"},{"code":"tr","name":"Turcă"},{"code":"uk","name":"Ucraineană"},{"code":"vi","name":"Vietnameză"},{"code":"zu","name":"Zulu"}],"lt":[{"code":"ga","name":"airių"},{"code":"am","name":"amharų"},{"code":"en","name":"anglų"},{"code":"ar","name":"arabų"},{"code":"az","name":"Azerbaidžaniečių"},{"code":"eu","name":"baskų"},{"code":"bg","name":"bulgarų"},{"code":"cs","name":"čekų"},{"code":"da","name":"danų"},{"code":"et","name":"estų"},{"code":"gl","name":"galisų"},{"code":"el","name":"graikų"},{"code":"he","name":"hebrajų"},{"code":"id","name":"indoneziečių"},{"code":"is","name":"islandų"},{"code":"es","name":"ispanų"},{"code":"it","name":"italų"},{"code":"ja","name":"japonų"},{"code":"ca","name":"kataloniečių"},{"code":"zh-cn","name":"kinų (supaprastinta)"},{"code":"zh-tw","name":"kinų (tradicinė)"},{"code":"ko","name":"korėjiečių"},{"code":"hr","name":"kroatų"},{"code":"lv","name":"latvių"},{"code":"pl","name":"lenkų"},{"code":"lt","name":"lietuvių"},{"code":"mi","name":"maorių"},{"code":"nb","name":"norvegų"},{"code":"nl","name":"olandų"},{"code":"fa","name":"persų"},{"code":"pt","name":"portugalų"},{"code":"fr","name":"prancūzų"},{"code":"ro","name":"rumunų"},{"code":"ru","name":"rusų"},{"code":"sr","name":"serbų"},{"code":"sk","name":"slovakų"},{"code":"sl","name":"slovėnų"},{"code":"fi","name":"suomių"},{"code":"gd","name":"škotų (gėlų)"},{"code":"sv","name":"švedų"},{"code":"th","name":"tajų"},{"code":"tr","name":"turkų"},{"code":"uk","name":"ukrainiečių"},{"code":"cy","name":"valų"},{"code":"hu","name":"vengrų"},{"code":"vi","name":"vietnamiečių"},{"code":"de","name":"vokiečių"},{"code":"zu","name":"zulusų"}],"ko":[{"code":"gl","name":"갈리시아어"},{"code":"el","name":"그리스어"},{"code":"nl","name":"네덜란드어"},{"code":"nb","name":"노르웨이어"},{"code":"da","name":"덴마크어"},{"code":"de","name":"독일어"},{"code":"lv","name":"라트비아어"},{"code":"ru","name":"러시아어"},{"code":"ro","name":"루마니아어"},{"code":"lt","name":"리투아니아어"},{"code":"mi","name":"마오리어"},{"code":"eu","name":"바스크어"},{"code":"vi","name":"베트남어"},{"code":"bg","name":"불가리아어"},{"code":"sr","name":"세르비아어"},{"code":"sv","name":"스웨덴어"},{"code":"gd","name":"스코틀랜드 게일어"},{"code":"es","name":"스페인어"},{"code":"sk","name":"슬로바키아어"},{"code":"sl","name":"슬로베니아어"},{"code":"ar","name":"아랍어"},{"code":"is","name":"아이슬란드어"},{"code":"ga","name":"아일랜드어"},{"code":"az","name":"아제르바이잔어"},{"code":"am","name":"암하라어"},{"code":"et","name":"에스토니아어"},{"code":"en","name":"영어"},{"code":"uk","name":"우크라이나어"},{"code":"cy","name":"웨일즈어"},{"code":"it","name":"이탈리아어"},{"code":"id","name":"인도네시아어"},{"code":"ja","name":"일본어"},{"code":"zu","name":"줄루어"},{"code":"zh-cn","name":"중국어(간체)"},{"code":"zh-tw","name":"중국어(번체)"},{"code":"cs","name":"체코어"},{"code":"ca","name":"카탈로니아어"},{"code":"hr","name":"크로아티아어"},{"code":"th","name":"태국어"},{"code":"tr","name":"터키어"},{"code":"fa","name":"페르시아어"},{"code":"pt","name":"포르투갈어"},{"code":"pl","name":"폴란드어"},{"code":"fr","name":"프랑스어"},{"code":"fi","name":"핀란드어"},{"code":"ko","name":"한국어"},{"code":"hu","name":"헝가리어"},{"code":"he","name":"히브리어"}],"it":[{"code":"am","name":"Amarico"},{"code":"ar","name":"Arabo"},{"code":"az","name":"Azero"},{"code":"eu","name":"Basco"},{"code":"bg","name":"Bulgaro"},{"code":"ca","name":"Catalano"},{"code":"cs","name":"Ceco"},{"code":"zh-cn","name":"Cinese (semplificato)"},{"code":"zh-tw","name":"Cinese (tradizionale)"},{"code":"ko","name":"Coreano"},{"code":"hr","name":"Croato"},{"code":"da","name":"Danese"},{"code":"he","name":"Ebraico"},{"code":"et","name":"Estone"},{"code":"fi","name":"Finlandese"},{"code":"fr","name":"Francese"},{"code":"gd","name":"Gaelico scozzese"},{"code":"gl","name":"Galiziano"},{"code":"cy","name":"Gallese"},{"code":"ja","name":"Giapponese"},{"code":"el","name":"Greco"},{"code":"id","name":"Indonesiano"},{"code":"en","name":"Inglese"},{"code":"ga","name":"Irlandese"},{"code":"is","name":"Islandese"},{"code":"it","name":"Italiano"},{"code":"lv","name":"Lettone"},{"code":"lt","name":"Lituano"},{"code":"mi","name":"Maori"},{"code":"nb","name":"Norvegese"},{"code":"nl","name":"Olandese"},{"code":"fa","name":"Persiano"},{"code":"pl","name":"Polacco"},{"code":"pt","name":"Portoghese"},{"code":"ro","name":"Rumeno"},{"code":"ru","name":"Russo"},{"code":"sr","name":"Serbo"},{"code":"sk","name":"Slovacco"},{"code":"sl","name":"Sloveno"},{"code":"es","name":"Spagnolo"},{"code":"sv","name":"Svedese"},{"code":"th","name":"Tailandese"},{"code":"de","name":"Tedesco"},{"code":"tr","name":"Turco"},{"code":"uk","name":"Ucraino"},{"code":"hu","name":"Ungherese"},{"code":"vi","name":"Vietnamita"},{"code":"zu","name":"Zulu"}],"vi":[{"code":"ar","name":"Tiếng Ả Rập"},{"code":"am","name":"Tiếng Amharic"},{"code":"en","name":"Tiếng Anh"},{"code":"az","name":"Tiếng Azerbaijan"},{"code":"pl","name":"Tiếng Ba Lan"},{"code":"fa","name":"Tiếng Ba Tư"},{"code":"eu","name":"Tiếng Basque"},{"code":"pt","name":"Tiếng Bồ Đào Nha"},{"code":"bg","name":"Tiếng Bulgaria"},{"code":"ca","name":"Tiếng Catalan"},{"code":"hr","name":"Tiếng Croatia"},{"code":"he","name":"Tiếng Do Thái"},{"code":"da","name":"Tiếng Đan Mạch"},{"code":"de","name":"Tiếng Đức"},{"code":"et","name":"Tiếng Estonia"},{"code":"gd","name":"Tiếng Gael Scotland"},{"code":"gl","name":"Tiếng Galicia"},{"code":"nl","name":"Tiếng Hà Lan"},{"code":"ko","name":"Tiếng Hàn"},{"code":"hu","name":"Tiếng Hungary"},{"code":"el","name":"Tiếng Hy Lạp"},{"code":"is","name":"Tiếng Iceland"},{"code":"id","name":"Tiếng Indonesia"},{"code":"ga","name":"Tiếng Ireland"},{"code":"lv","name":"Tiếng Latvia"},{"code":"lt","name":"Tiếng Litva"},{"code":"mi","name":"Tiếng Maori"},{"code":"nb","name":"Tiếng Na Uy"},{"code":"ru","name":"Tiếng Nga"},{"code":"ja","name":"Tiếng Nhật"},{"code":"fr","name":"Tiếng Pháp"},{"code":"fi","name":"Tiếng Phần Lan"},{"code":"ro","name":"Tiếng Rumani"},{"code":"cs","name":"Tiếng Séc"},{"code":"sr","name":"Tiếng Serbia"},{"code":"sk","name":"Tiếng Slovak"},{"code":"sl","name":"Tiếng Slovenia"},{"code":"es","name":"Tiếng Tây Ban Nha"},{"code":"th","name":"Tiếng Thái"},{"code":"tr","name":"Tiếng Thổ Nhĩ Kỳ"},{"code":"sv","name":"Tiếng Thụy Điển"},{"code":"zh-cn","name":"Tiếng Trung (Giản Thể)"},{"code":"zh-tw","name":"Tiếng Trung (Phồn thể)"},{"code":"uk","name":"Tiếng Ukraina"},{"code":"vi","name":"Tiếng Việt"},{"code":"cy","name":"Tiếng Xứ Wales"},{"code":"it","name":"Tiếng Ý"},{"code":"zu","name":"Tiếng Zulu"}]},"nameMap":{"albánština":"sq","amharština":"am","angličtina":"en","arabština":"ar","arménština":"hy","ázerbájdžánština":"az","barmština":"my","baskičtina":"eu","běloruština":"be","bulharština":"bg","čeština":"cs","čínština (tradiční)":"zh-tw","čínština (zjednodušená)":"zh-cn","dánština":"da","esperanto":"eo","estonština":"et","finština":"fi","francouzština":"fr","galicijština":"gl","haitská kreolština":"ht","hebrejština":"he","hindština":"hi","holandština":"nl","chorvatština":"hr","indonéština":"id","irština":"ga","islandština":"is","italština":"it","japonština":"ja","kannadština":"kn","katalánština":"ca","korejština":"ko","kurdština":"ku","latina":"la","litevština":"lt","lotyština":"lv","maďarština":"hu","makedonština":"mk","malajálamština":"ml","malajština":"ms","maltština":"mt","maorština":"mi","marátština":"mr","mongolština":"mn","němčina":"de","norština":"nb","perština":"fa","polština":"pl","portugalština":"pt","rumunština":"ro","ruština":"ru","řečtina":"el","skotská gaelština":"gd","slovenština":"sk","slovinština":"sl","srbština":"sr","španělština":"es","švédština":"sv","telužština":"te","thajština":"th","turečtina":"tr","ukrajinština":"uk","uzbečtina":"uz","velština":"cy","vietnamština":"vi","zulu":"zu","albansk":"sq","amharisk":"am","arabisk":"ar","armensk":"hy","aserbajdsjansk":"az","baskisk":"eu","bulgarsk":"bg","burmesisk":"my","dansk":"da","engelsk":"en","estisk":"et","finsk":"fi","fransk":"fr","galicisk":"gl","græsk":"el","haitisk kreolsk":"ht","hebraisk":"he","hindi":"hi","hollandsk":"nl","hviderussisk":"be","indonesisk":"id","irsk":"ga","islandsk":"is","italiensk":"it","japansk":"ja","kannada":"kn","katalansk":"ca","kinesisk (forenklet)":"zh-cn","kinesisk (traditionelt)":"zh-tw","koreansk":"ko","kroatisk":"hr","kurdisk":"ku","latin":"la","lettisk":"lv","litauisk":"lt","makedonsk":"mk","malajisk":"ms","malayalam":"ml","maltesisk":"mt","maori":"mi","marathi":"mr","mongolsk":"mn","norsk":"nb","persisk":"fa","polsk":"pl","portugisisk":"pt","rumænsk":"ro","russisk":"ru","serbisk":"sr","skotsk gælisk":"gd","slovakisk":"sk","slovensk":"sl","spansk":"es","svensk":"sv","telugu":"te","thailandsk":"th","tjekkisk":"cs","tyrkisk":"tr","tysk":"de","ukrainsk":"uk","ungarsk":"hu","usbekisk":"uz","vietnamesisk":"vi","walisisk":"cy","acerbaixano":"az","albanés":"sq","alemán":"de","amárico":"am","árabe":"ar","armenio":"hy","bielorruso":"be","birmano":"my","búlgaro":"bg","canarés":"kn","catalán":"ca","checo":"cs","chinés (simplificado)":"zh-cn","chinés (tradicional)":"zh-tw","coreano":"ko","crioulo haitiano":"ht","croata":"hr","curdo":"ku","dinamarqués":"da","eslovaco":"sk","esloveno":"sl","español":"es","estoniano":"et","éuscaro":"eu","finés":"fi","francés":"fr","gaélico escocés":"gd","galego":"gl","galés":"cy","grego":"el","hebreo":"he","húngaro":"hu","indonesio":"id","inglés":"en","irlandés":"ga","islandés":"is","italiano":"it","latín":"la","letón":"lv","lituano":"lt","macedonio":"mk","malabar":"ml","malaio":"ms","maltés":"mt","maorí":"mi","mongol":"mn","neerlandés":"nl","noruegués":"nb","persa":"fa","polaco":"pl","portugués":"pt","romanés":"ro","ruso":"ru","serbio":"sr","sueco":"sv","tailandés":"th","telugú":"te","turco":"tr","ucraíno":"uk","usbeco":"uz","vietnamita":"vi","xaponés":"ja","zulú":"zu","albanščina":"sq","amharščina":"am","angleščina":"en","arabščina":"ar","armenščina":"hy","azerbajdžanščina":"az","baskovščina":"eu","beloruščina":"be","bolgarščina":"bg","burmanščina":"my","češčina":"cs","danščina":"da","estonščina":"et","finščina":"fi","francoščina":"fr","galicijščina":"gl","grščina":"el","haitijska kreolščina":"ht","hebrejščina":"he","hindijščina":"hi","hrvaščina":"hr","indonezijščina":"id","irščina":"ga","islandščina":"is","italijanščina":"it","japonščina":"ja","kanareščina":"kn","katalonščina":"ca","kitajščina (poenostavljena)":"zh-cn","kitajščina (tradicionalna)":"zh-tw","korejščina":"ko","kurdščina":"ku","latinščina":"la","latvijščina":"lv","litovščina":"lt","madžarščina":"hu","makedonščina":"mk","malajalščina":"ml","malajščina":"ms","malteščina":"mt","maorščina":"mi","maratščina":"mr","mongolščina":"mn","nemščina":"de","nizozemščina":"nl","norveščina":"nb","perzijščina":"fa","poljščina":"pl","portugalščina":"pt","romunščina":"ro","ruščina":"ru","slovaščina":"sk","slovenščina":"sl","srbščina":"sr","škotska gelščina":"gd","španščina":"es","švedščina":"sv","tajščina":"th","teluščina":"te","turščina":"tr","ukrajinščina":"uk","uzbeščina":"uz","valižanščina":"cy","vietnamščina":"vi","zulujščina":"zu","albanais":"sq","allemand":"de","amharique":"am","anglais":"en","arabe":"ar","arménien":"hy","azéri":"az","basque":"eu","biélorusse":"be","birman":"my","bulgare":"bg","catalan":"ca","chinois (simplifié)":"zh-cn","chinois (traditionnel)":"zh-tw","coréen":"ko","créole haïtien":"ht","croate":"hr","danois":"da","espagnol":"es","espéranto":"eo","estonien":"et","finnois":"fi","français":"fr","gaélique (écosse)":"gd","galicien":"gl","gallois":"cy","grec":"el","hébreu":"he","hongrois":"hu","indonésien":"id","irlandais":"ga","islandais":"is","italien":"it","japonais":"ja","kurde":"ku","letton":"lv","lituanien":"lt","macédonien":"mk","malaisien":"ms","maltais":"mt","néerlandais":"nl","norvégien":"nb","ouzbek":"uz","persan":"fa","polonais":"pl","portugais":"pt","roumain":"ro","russe":"ru","serbe":"sr","slovaque":"sk","slovène":"sl","suédois":"sv","tchèque":"cs","thaï":"th","turc":"tr","ukrainien":"uk","vietnamien":"vi","zoulou":"zu","albán":"sq","amhara":"am","angol":"en","arab":"ar","azeri":"az","baszk":"eu","belorusz":"be","bolgár":"bg","burmai":"my","cseh":"cs","dán":"da","eszperantó":"eo","észt":"et","finn":"fi","francia":"fr","galíciai":"gl","görög":"el","haiti kreol":"ht","héber":"he","holland":"nl","horvát":"hr","indonéz":"id","ír":"ga","izlandi":"is","japán":"ja","katalán":"ca","kínai (egyszerűsített)":"zh-cn","kínai (hagyományos)":"zh-tw","koreai":"ko","kurd":"ku","lengyel":"pl","lett":"lv","litván":"lt","macedón":"mk","magyar":"hu","maláj":"ms","malajálam":"ml","máltai":"mt","maráthi":"mr","német":"de","norvég":"nb","olasz":"it","orosz":"ru","örmény":"hy","perzsa":"fa","portugál":"pt","román":"ro","skót-gael":"gd","spanyol":"es","svéd":"sv","szerb":"sr","szlovák":"sk","szlovén":"sl","thai":"th","török":"tr","ukrán":"uk","üzbég":"uz","vietnami":"vi","walesi":"cy","азербайджанська":"az","албанська":"sq","амхарська":"am","англійська":"en","арабська":"ar","баскська":"eu","білоруська":"be","бірманська":"my","болгарська":"bg","в’єтнамська":"vi","валлійська":"cy","вірменська":"hy","гаїтянська креольська":"ht","гінді":"hi","грецька":"el","ґалісійська":"gl","данська":"da","есперанто":"eo","естонська":"et","зулу":"zu","іврит":"he","індонезійська":"id","ірландська":"ga","ісландська":"is","іспанська":"es","італійська":"it","каннада":"kn","каталанська":"ca","китайська (спрощена)":"zh-cn","китайська (традиційна)":"zh-tw","корейська":"ko","курдська":"ku","латинська":"la","латиська":"lv","литовська":"lt","македонська":"mk","малайська":"ms","малаялам":"ml","мальтійська":"mt","маорі":"mi","маратхі":"mr","монгольська":"mn","нідерландська":"nl","німецька":"de","норвезька":"nb","перська":"fa","польська":"pl","португальська":"pt","російська":"ru","румунська":"ro","сербська":"sr","словацька":"sk","словенська":"sl","тайська":"th","телуґу":"te","турецька":"tr","угорська":"hu","узбецька":"uz","українська":"uk","фінська":"fi","французька":"fr","хорватська":"hr","чеська":"cs","шведська":"sv","шотландська (ґельська)":"gd","японська":"ja","土耳其文":"tr","中文(繁體)":"zh-tw","中文(簡體)":"zh-cn","丹麥文":"da","巴斯克文":"eu","日文":"ja","毛利文":"mi","世界語":"eo","加里西亞文":"gl","加泰羅尼亞文":"ca","卡納達文":"kn","白俄羅斯文":"be","立陶宛文":"lt","冰島文":"is","匈牙利文":"hu","印尼文":"id","印度文":"hi","西班牙文":"es","克羅埃西亞文":"hr","希伯來文":"he","希臘文":"el","亞美尼亞文":"hy","亞塞拜然文":"az","拉丁文":"la","拉脫維亞文":"lv","法文":"fr","波斯文":"fa","波蘭文":"pl","芬蘭文":"fi","阿姆哈拉文":"am","阿拉伯文":"ar","阿爾巴尼亞文":"sq","俄文":"ru","保加利亞文":"bg","南非祖魯文":"zu","威爾斯文":"cy","英文":"en","庫德文":"ku","挪威文":"nb","泰文":"th","泰盧固文":"te","海地克里奧文":"ht","烏克蘭文":"uk","烏茲別克文":"uz","馬耳他文":"mt","馬來文":"ms","馬其頓文":"mk","馬拉地文":"mr","馬拉雅拉姆文":"ml","捷克文":"cs","荷蘭文":"nl","斯洛伐克文":"sk","斯洛維尼亞文":"sl","越南文":"vi","塞爾維亞文":"sr","愛沙尼亞文":"et","愛爾蘭文":"ga","瑞典文":"sv","義大利文":"it","葡萄牙文":"pt","蒙古文":"mn","德文":"de","緬甸文":"my","韓文":"ko","羅馬尼亞文":"ro","蘇格蘭的蓋爾文":"gd","अझरबैजानी":"az","अम्हारिक":"am","अरबी":"ar","अर्मेनियन":"hy","अल्बानियन":"sq","आइसलँडिक":"is","आयरिश":"ga","इंग्रजी":"en","इंडोनेशियन":"id","इटालियन":"it","उझ्बेक":"uz","एस्टोनियन":"et","एस्परँटो":"eo","कन्नड":"kn","कुर्दिश (कुर्मांजी)":"ku","कॅटलान":"ca","कोरियन":"ko","क्रोएशियन":"hr","गॅलिशियन":"gl","ग्रीक":"el","चीनी (पारंपारिक)":"zh-tw","चीनी (सरलीकृत)":"zh-cn","जपानी":"ja","जर्मन":"de","झुलु":"zu","झेक":"cs","डच":"nl","डॅनिश":"da","तुर्की":"tr","तेलगू":"te","थाई":"th","नॉर्वेजियन":"nb","पोर्तुगीज":"pt","पोलिश":"pl","फारसी":"fa","फिन्निश":"fi","फ्रेंच":"fr","बल्गेरियन":"bg","बास्क":"eu","बेलारुशियन":"be","मंगोलियन":"mn","मराठी":"mr","मलय":"ms","मल्याळम":"ml","माओरी":"mi","माल्टीज":"mt","मॅसेडोनियन":"mk","म्यानमार (बर्मीज)":"my","युक्रेनियन":"uk","रशियन":"ru","रोमानियन":"ro","लाट्वियन":"lv","लिथुआनियन":"lt","लॅटिन":"la","वेल्श":"cy","व्हिएतनामी":"vi","सर्बियन":"sr","स्कॉट्स गेलिक":"gd","स्पॅनिश":"es","स्लोव्हाक":"sk","स्लोव्हेनियन":"sl","स्वीडिश":"sv","हंगेरियन":"hu","हिन्दी":"hi","हिब्रू":"he","हैतीयन क्रेओल":"ht","albanian":"sq","amharic":"am","arabic":"ar","armenian":"hy","azerbaijani":"az","belarusian":"be","bulgarian":"bg","chinese (simplified)":"zh-cn","chinese (traditional)":"zh-tw","croatian":"hr","czech":"cs","danish":"da","dutch":"nl","english":"en","estonian":"et","finnish":"fi","french":"fr","galician":"gl","german":"de","greek":"el","haitian creole":"ht","hebrew":"he","hungarian":"hu","icelandic":"is","indonesian":"id","irish":"ga","italian":"it","japanese":"ja","korean":"ko","kurdish (kurmanji)":"ku","latvian":"lv","lithuanian":"lt","macedonian":"mk","malay":"ms","maltese":"mt","mongolian":"mn","myanmar (burmese)":"my","norwegian":"nb","persian":"fa","polish":"pl","portuguese":"pt","romanian":"ro","russian":"ru","scots gaelic":"gd","serbian":"sr","slovak":"sk","slovenian":"sl","spanish":"es","swedish":"sv","turkish":"tr","ukrainian":"uk","uzbek":"uz","vietnamese":"vi","welsh":"cy","albanês":"sq","alemão":"de","armênio":"hy","azerbaijano":"az","basco":"eu","bielo-russo":"be","birmanês":"my","canarês":"kn","catalão":"ca","chinês (simplificado)":"zh-cn","chinês (tradicional)":"zh-tw","dinamarquês":"da","espanhol":"es","finlandês":"fi","francês":"fr","gaélico escocês":"gd","galês":"cy","hebraico":"he","holandês":"nl","indonésio":"id","inglês":"en","irlandês":"ga","islandês":"is","japonês":"ja","latim":"la","letão":"lv","macedônio":"mk","malaiala":"ml","maltês":"mt","marata":"mr","norueguês":"nb","polonês":"pl","português":"pt","romeno":"ro","russo":"ru","sérvio":"sr","tailandês":"th","tcheco":"cs","telugo":"te","ucraniano":"uk","uzbeque":"uz","almanca":"de","arapça":"ar","arnavutça":"sq","azerice":"az","baskça":"eu","belarusça":"be","bulgarca":"bg","burmaca":"my","çekçe":"cs","çince (basitleştirilmiş)":"zh-cn","çince (geleneksel)":"zh-tw","danca":"da","endonezya dili":"id","ermenice":"hy","esperantoca":"eo","estonyaca":"et","farsça":"fa","felemenkçe":"nl","fince":"fi","fransızca":"fr","galce":"cy","galiçyaca":"gl","habeşçe":"am","haiti creole dili":"ht","hırvatça":"hr","hintçe":"hi","i̇branice":"he","i̇ngilizce":"en","i̇rlandaca":"ga","i̇spanyolca":"es","i̇sveççe":"sv","i̇talyanca":"it","i̇zlandaca":"is","japonca":"ja","katalanca":"ca","korece":"ko","kuzey i̇skoç dili":"gd","kürtçe":"ku","latince":"la","lehçe":"pl","letonca":"lv","litvanca":"lt","macarca":"hu","makedonca":"mk","malezya dili":"ms","malta dili":"mt","maori dili":"mi","moğolca":"mn","norveççe":"nb","özbekçe":"uz","portekizce":"pt","romence":"ro","rusça":"ru","sırpça":"sr","slovakça":"sk","slovence":"sl","tay dili":"th","telugu dili":"te","türkçe":"tr","ukraynaca":"uk","vietnamca":"vi","yunanca":"el","airméinis":"hy","albáinis":"sq","amárais":"am","araibis":"ar","asarbaiseáinis":"az","bascais":"eu","bealarúisis":"be","béarla":"en","breatnais":"cy","bulgáiris":"bg","cannadais":"kn","catalóinis":"ca","coirdis (curmainsis)":"ku","cóiréis":"ko","criól háítí":"ht","cróitis":"hr","danmhairgis":"da","eabhrais":"he","eastóinis":"et","fionlainnis":"fi","fraincis":"fr","gaeilge":"ga","gaeilge na halban":"gd","gailísis":"gl","gearmáinis":"de","gréigis":"el","hiondúis":"hi","indinéisis":"id","iodáilis":"it","ioruais":"nb","íoslainnis":"is","laidin":"la","laitvis":"lv","liotuáinis":"lt","macadóinis":"mk","maenmar (burmais)":"my","mailéalaimis":"ml","malaeis":"ms","máltais":"mt","maorais":"mi","maraitis":"mr","mongóilis":"mn","ollainnis":"nl","peirsis":"fa","polainnis":"pl","portaingéilis":"pt","rómáinis":"ro","rúisis":"ru","seapáinis":"ja","seicis":"cs","seirbis":"sr","sínis (simplithe)":"zh-cn","sínis (traidisiúnta)":"zh-tw","slóivéinis":"sl","slóvaicis":"sk","spáinnis":"es","sualainnis":"sv","súlúis":"zu","téalainnis":"th","teileagúis":"te","tuircis":"tr","úcráinis":"uk","úisbéiceastáinis":"uz","ungáiris":"hu","vítneaimis":"vi","ภาษากรีก":"el","ภาษากันนาดา":"kn","ภาษากาลิเชียน":"gl","ภาษาเกลิกในสก็อต":"gd","ภาษาเกาหลี":"ko","ภาษาคาตาลัน":"ca","ภาษาเคิร์ด":"ku","ภาษาโครเอเชีย":"hr","ภาษาจีน (ดั้งเดิม)":"zh-tw","ภาษาจีน (แบบย่อ)":"zh-cn","ภาษาเช็ก":"cs","ภาษาซูลู":"zu","ภาษาเซอร์เบียน":"sr","ภาษาญี่ปุ่น":"ja","ภาษาดัตช์":"nl","ภาษาเดนมาร์ก":"da","ภาษาตุรกี":"tr","ภาษาเตลูกู":"te","ภาษาไทย":"th","ภาษานอร์เวย์":"nb","ภาษาบัลกาเรีย":"bg","ภาษาบาสก์":"eu","ภาษาเบลารูเชียน":"be","ภาษาเปอร์เซีย":"fa","ภาษาโปรตุเกส":"pt","ภาษาโปแลนด์":"pl","ภาษาฝรั่งเศส":"fr","ภาษาฟินแลนด์":"fi","ภาษามองโกเลีย":"mn","ภาษามัลทีส":"mt","ภาษามาซีโดเนีย":"mk","ภาษามาราฐี":"mr","ภาษามาลายาลัม":"ml","ภาษามาเลย์":"ms","ภาษาเมารี":"mi","ภาษาเมียนมา (พม่า)":"my","ภาษายูเครน":"uk","ภาษาเยอรมัน":"de","ภาษารัสเซีย":"ru","ภาษาโรมาเนีย":"ro","ภาษาละติน":"la","ภาษาลัทเวีย":"lv","ภาษาลิทัวเนีย":"lt","ภาษาเวลส์":"cy","ภาษาเวียดนาม":"vi","ภาษาสเปน":"es","ภาษาสโลวัก":"sk","ภาษาสโลเวเนีย":"sl","ภาษาสวีเดน":"sv","ภาษาอังกฤษ":"en","ภาษาอัมฮาริก":"am","ภาษาอัลบาเนีย":"sq","ภาษาอาร์เซอร์ไบจัน":"az","ภาษาอาร์เมเนีย":"hy","ภาษาอาหรับ":"ar","ภาษาอิตาลี":"it","ภาษาอินโดนีเซีย":"id","ภาษาอุสเบกิสถาน":"uz","ภาษาเอสโทเนีย":"et","ภาษาเอสเปอแรนโต":"eo","ภาษาไอซ์แลนดิก":"is","ภาษาไอริช":"ga","ภาษาฮังการี":"hu","ภาษาฮินดี":"hi","ภาษาฮิบรู":"he","ภาษาเฮติครีโอล":"ht","アイスランド語":"is","アイルランド語":"ga","アゼルバイジャン語":"az","アムハラ語":"am","アラビア語":"ar","アルバニア語":"sq","アルメニア語":"hy","イタリア語":"it","インドネシア語":"id","ウェールズ語":"cy","ウクライナ語":"uk","ウズベク語":"uz","エストニア語":"et","エスペラント語":"eo","オランダ語":"nl","カタルーニャ語":"ca","ガリシア語":"gl","カンナダ語":"kn","ギリシャ語":"el","クルド語":"ku","クロアチア語":"hr","スウェーデン語":"sv","ズールー語":"zu","スコットランド ゲール語":"gd","スペイン語":"es","スロバキア語":"sk","スロベニア語":"sl","セルビア語":"sr","タイ語":"th","チェコ語":"cs","テルグ語":"te","デンマーク語":"da","ドイツ語":"de","トルコ語":"tr","ノルウェー語":"nb","ハイチ語":"ht","バスク語":"eu","ハンガリー語":"hu","ヒンディー語":"hi","フィンランド語":"fi","フランス語":"fr","ブルガリア語":"bg","ベトナム語":"vi","ヘブライ語":"he","ベラルーシ語":"be","ペルシャ語":"fa","ポーランド語":"pl","ポルトガル語":"pt","マオリ語":"mi","マケドニア語":"mk","マラーティー語":"mr","マラヤーラム語":"ml","マルタ語":"mt","マレー語":"ms","ミャンマー語":"my","モンゴル語":"mn","ラテン語":"la","ラトビア語":"lv","リトアニア語":"lt","ルーマニア語":"ro","ロシア語":"ru","英語":"en","韓国語":"ko","中国語(簡体)":"zh-cn","中国語(繁体)":"zh-tw","日本語":"ja","albanees":"sq","amharisch":"am","arabisch":"ar","armeens":"hy","azerbeidzjaans":"az","baskisch":"eu","birmaans":"my","bulgaars":"bg","catalaans":"ca","chinees (traditioneel)":"zh-tw","chinees (vereenvoudigd)":"zh-cn","deens":"da","duits":"de","engels":"en","ests":"et","fins":"fi","frans":"fr","galicisch":"gl","grieks":"el","haïtiaans creools":"ht","hebreeuws":"he","hongaars":"hu","iers":"ga","ijslands":"is","indonesisch":"id","italiaans":"it","japans":"ja","koerdisch":"ku","koreaans":"ko","kroatisch":"hr","latijn":"la","lets":"lv","litouws":"lt","macedonisch":"mk","maleis":"ms","maltees":"mt","mongools":"mn","nederlands":"nl","noors":"nb","oekraïens":"uk","oezbeeks":"uz","perzisch":"fa","pools":"pl","portugees":"pt","roemeens":"ro","russisch":"ru","schots keltisch":"gd","servisch":"sr","slovaaks":"sk","sloveens":"sl","spaans":"es","tsjechisch":"cs","turks":"tr","vietnamees":"vi","wels":"cy","wit-russisch":"be","zoeloe":"zu","zweeds":"sv","airmeinis":"hy","albàinis":"sq","amtharais":"am","arabais":"ar","asarbaideànais":"az","basgais":"eu","bealaruisis":"be","beurla":"en","bhiet-namais":"vi","bulgarais":"bg","cànan nan tàidh":"th","catalanais":"ca","coirèanais":"ko","crìtheol haidhti":"ht","cròthaisis":"hr","cuimris":"cy","cùrdais (kurmanji)":"ku","duitsis":"nl","eabhra":"he","eadailtis":"it","eastoinis":"et","fionnlannais":"fi","fraingis":"fr","gàidhlig":"gd","gailìsis":"gl","gearmailtis":"de","grèigis":"el","hindis":"hi","innd-innsis":"id","innis-tìlis":"is","laideann":"la","laitbheis":"lv","liotuainis":"lt","malaidhis":"ms","māori":"mi","masadonais":"mk","miànmar (burmais)":"my","mongolais":"mn","nirribhis":"nb","pòlainnis":"pl","portagailis":"pt","romàinis":"ro","ruisis":"ru","seacais":"cs","seapanais":"ja","sèirbis":"sr","sìonais (seann-nòsach)":"zh-tw","sìonais (sìmplichte)":"zh-cn","slòbhacais":"sk","slòbhainis":"sl","spàinntis":"es","suainis":"sv","turcais":"tr","ucràinis":"uk","ungairis":"hu","usbagais":"uz","farsi":"fa","galisisk":"gl","gresk":"el","hviterussisk":"be","kinesisk (tradisjonell)":"zh-tw","kreol (haiti)":"ht","latvisk":"lv","malayisk":"ms","nederlandsk":"nl","rumensk":"ro","tsjekkisk":"cs","albanisch":"sq","armenisch":"hy","aserbaidschanisch":"az","birmanisch":"my","bulgarisch":"bg","chinesisch (traditionell)":"zh-tw","chinesisch (vereinfacht)":"zh-cn","dänisch":"da","deutsch":"de","englisch":"en","estnisch":"et","finnisch":"fi","französisch":"fr","galizisch":"gl","griechisch":"el","haitianisch":"ht","hebräisch":"he","irisch":"ga","isländisch":"is","italienisch":"it","japanisch":"ja","katalanisch":"ca","koreanisch":"ko","kurdisch (kurmandschi)":"ku","lateinisch":"la","lettisch":"lv","litauisch":"lt","malaysisch":"ms","maltesisch":"mt","mazedonisch":"mk","mongolisch":"mn","niederländisch":"nl","norwegisch":"nb","persisch":"fa","polnisch":"pl","portugiesisch":"pt","rumänisch":"ro","schottisch-gälisch":"gd","schwedisch":"sv","serbisch":"sr","slowakisch":"sk","slowenisch":"sl","spanisch":"es","thailändisch":"th","tschechisch":"cs","türkisch":"tr","ukrainisch":"uk","ungarisch":"hu","usbekisch":"uz","vietnamesisch":"vi","walisisch":"cy","weißrussisch":"be","ကနာဒါ":"kn","ကာ့ဒ် (ကာမန်ဂျီ)":"ku","ကိုရီးယား":"ko","ကက်တလန်":"ca","ခရိုအေးရှား":"hr","ချက်":"cs","ဂရိ":"el","ဂယ်လိရှ":"gl","ဂျပန်":"ja","ဂျာမန်":"de","စကော့ ဂေးလစ်":"gd","စပိန်":"es","ဆလိုဗေးနီးယား":"sl","ဆလိုဗက်":"sk","ဆားဘီးယား":"sr","ဆွီဒင်":"sv","ဇူးလူး":"zu","တရုတ် (ရိုးရာ)":"zh-tw","တရုတ် (အလွယ်)":"zh-cn","တူရကီ":"tr","တယ်လူဂူ":"te","ထိုင်း":"th","ဒတ်ချ်":"nl","ဒိန်းမတ်":"da","နော်ဝေ":"nb","ပါရှန်":"fa","ပေါ်တူဂီ":"pt","ပိုလန်":"pl","ပြင်သစ်":"fr","ဖင်လန်":"fi","ဗီယက်နမ်":"vi","ဘာ့စ်":"eu","ဘူဂေးရီးယား":"bg","ဘယ်လာရုစ်":"be","မလေယာလမ်":"ml","မလေး":"ms","မာရာသီ":"mr","မော်ရီ":"mi","မော်လတာ":"mt","မက်ဆီဒိုးနီးယား":"mk","မြန်မာ (မြန်မာ)":"my","မွန်ဂိုလီးယား":"mn","ယူကရိန်း":"uk","ရုရှား":"ru","ရိုမေးနီးယား":"ro","လက်တင်":"la","လစ်သူယေးနီးယား":"lt","လတ်ဗီယာ":"lv","ဝေလ":"cy","ဟီဘရူး":"he","ဟေတီ ခရီအိုး":"ht","ဟင်ဒီ":"hi","ဟန်ဂေရီ":"hu","အဇာဘိုင်ဂျန်":"az","အာမေးနီးယား":"hy","အာရေဗျ":"ar","အီတလီ":"it","ဥဇဘက်":"uz","အက်စတိုးနီးယား":"et","အက်စ်ပဲရန်တို":"eo","အိုက်စလန်":"is","အင်္ဂလိပ်":"en","အင်ဒိုနီးရှား":"id","အိုင်းရစ်ရှ်":"ga","အမ်ဟဲရစ်ခ်":"am","အယ်လ်ဘေးနီးယား":"sq","אוזבקית":"uz","אוקראינית":"uk","אזרית":"az","איטלקית":"it","אינדונזית":"id","איסלנדית":"is","אירית":"ga","אלבנית":"sq","אמהרית":"am","אנגלית":"en","אסטונית":"et","אספרנטו":"eo","ארמנית":"hy","באסקית":"eu","בולגרית":"bg","בורמזית":"my","בלארוסית":"be","גליציאנית":"gl","גרמנית":"de","דנית":"da","הולנדית":"nl","הונגרית":"hu","הינדי":"hi","וולשית":"cy","וייטנאמית":"vi","זולו":"zu","טורקית":"tr","טלוגו":"te","יוונית":"el","יפנית":"ja","כורדית":"ku","לטווית":"lv","לטינית":"la","ליטאית":"lt","מאורית":"mi","מאלאיאלם":"ml","מאלזית":"ms","מאראתי":"mr","מונגולית":"mn","מלטית":"mt","מקדונית":"mk","נורווגית":"nb","סינית (מסורתית)":"zh-tw","סינית (פשוטה)":"zh-cn","סלובנית":"sl","סלובקית":"sk","ספרדית":"es","סקוטית גאלית":"gd","סרבית":"sr","עברית":"he","ערבית":"ar","פולנית":"pl","פורטוגזית":"pt","פינית":"fi","פרסית":"fa","צ\'כית":"cs","צרפתית":"fr","קאנאדה":"kn","קוריאנית":"ko","קטלאנית":"ca","קרואטית":"hr","קריאולית האיטית":"ht","רומנית":"ro","רוסית":"ru","שוודית":"sv","תאילנדית":"th","азербејџански":"az","албански":"sq","амхарски":"am","англиски":"en","арапски":"ar","баскиски":"eu","белоруски":"be","бугарски":"bg","бурмански":"my","велшки":"cy","виетнамски":"vi","галициски":"gl","германски":"de","грчки":"el","дански":"da","ерменски":"hy","естонски":"et","индонезиски":"id","ирски":"ga","исландски":"is","италијански":"it","јапонски":"ja","канада":"kn","каталонски":"ca","кинески (поедноставен)":"zh-cn","кинески (традиционален)":"zh-tw","корејски":"ko","курдски":"ku","латвиски":"lv","латински":"la","литвански":"lt","македонски":"mk","малајалам":"ml","малајски":"ms","малтешки":"mt","маорски":"mi","маратхи":"mr","монголски":"mn","норвешки":"nb","персиски":"fa","полски":"pl","португалски":"pt","романски":"ro","руски":"ru","словачки":"sk","словенечки":"sl","српски":"sr","тајландски":"th","телугу":"te","турски":"tr","узбечки":"uz","украински":"uk","унгарски":"hu","фински":"fi","француски":"fr","хаитски креолски":"ht","хебрејски":"he","хиндиски":"hi","холандски":"nl","хрватски":"hr","чешки":"cs","шведски":"sv","шкотски галски":"gd","шпански":"es","ಅಜರ್ಬೈಜಾನಿ":"az","ಅಮಹಾರಿಕ್":"am","ಅರಬ್ಬಿ":"ar","ಆರ್ಮೇನಿಯನ್":"hy","ಆಲ್ಬೇನಿಯನ್":"sq","ಇಂಗ್ಲಿಷ್":"en","ಇಂಡೋನೇಷಿಯನ್":"id","ಇಟಾಲಿಯನ್":"it","ಉಜ್ಬೆಕ್":"uz","ಎಸ್ಟೋನಿಯನ್":"et","ಎಸ್ಪೆರಾಂಟೋ":"eo","ಐರಿಷ್":"ga","ಐಸ್ಲ್ಯಾಂಡಿಕ್":"is","ಕನ್ನಡ":"kn","ಕುರ್ದಿಶ್":"ku","ಕೊರಿಯನ್":"ko","ಕ್ಯಾಟಲನ್":"ca","ಕ್ರೊಯೇಷಿಯನ್":"hr","ಗ್ಯಾಲೀಷಿಯನ್":"gl","ಗ್ರೀಕ್":"el","ಚೀನಿ (ಸರಳೀಕೃತ)":"zh-cn","ಚೀನಿ (ಸಾಂಪ್ರದಾಯಿಕ)":"zh-tw","ಜಪಾನಿ":"ja","ಜರ್ಮನ್":"de","ಜುಲು":"zu","ಝೆಕ್":"cs","ಟರ್ಕಿಷ್":"tr","ಡಚ್":"nl","ಡ್ಯಾನಿಷ್":"da","ತೆಲುಗು":"te","ಥಾಯ್":"th","ನಾರ್ವೇಜಿಯನ್":"nb","ಪೋರ್ಚುಗೀಸ್":"pt","ಪೋಲಿಷ್":"pl","ಫಾರ್ಸಿ":"fa","ಫಿನ್ನಿಷ್":"fi","ಫ್ರೆಂಚ್":"fr","ಬರ್ಮೀಸ್":"my","ಬಲ್ಗೇರಿಯನ್":"bg","ಬಾಸ್ಕ್":"eu","ಬೆಲರೂಸಿಯನ್":"be","ಮಂಗೋಲಿಯನ್":"mn","ಮರಾಠಿ":"mr","ಮಲಯ":"ms","ಮಲಯಾಳಂ":"ml","ಮಾಲ್ಟೀಸ್":"mt","ಮಾವೋರಿ":"mi","ಮ್ಯಾಸೆಡೋನಿಯನ್":"mk","ಯುಕ್ರೇನಿಯನ್":"uk","ರಷಿಯನ್":"ru","ರೊಮೇನಿಯನ್":"ro","ಲಿಥುವೇನಿಯನ್":"lt","ಲ್ಯಾಟಿನ್":"la","ಲ್ಯಾಟ್ವಿಯನ್":"lv","ವಿಯೆಟ್ನಾಮಿ":"vi","ವೆಲ್ಶ್":"cy","ಸರ್ಬಿಯನ್":"sr","ಸ್ಕಾಟ್ಸ್ ಗ್ಯಾಲಿಕ್":"gd","ಸ್ಪ್ಯಾನಿಷ್":"es","ಸ್ಲೊವಾಕ್":"sk","ಸ್ಲೊವೆನಿಯನ್":"sl","ಸ್ವೀಡಿಷ್":"sv","ಹಂಗೇರಿಯನ್":"hu","ಹಯಥಿಯನ್ ಕ್ರಿಯೋಲ್":"ht","ಹಿಂದಿ":"hi","ಹೀಬ್ರೂ":"he","അമാറിക്":"am","അർമേനിയൻ":"hy","അൽബേനിയൻ":"sq","അസർബൈജാനി":"az","അറബിക്":"ar","ഇന്തോനേഷ്യൻ":"id","ഇംഗ്ലീഷ്":"en","ഇറ്റാലിയൻ":"it","ഉക്രേനിയൻ":"uk","ഉസ്ബെക്ക്":"uz","എസ്പെരന്തോ":"eo","എസ്റ്റോണിയൻ":"et","ഐസ്ലാൻഡിക്":"is","ഐറിഷ്":"ga","കന്നട":"kn","കാറ്റലൻ":"ca","കുർദ്ദിഷ്":"ku","കൊറിയൻ":"ko","ക്രൊയേഷ്യൻ":"hr","ഗലീഷ്യൻ":"gl","ഗ്രീക്ക്":"el","ചെക്ക്":"cs","ചൈനീസ് (പരമ്പരാഗതം)":"zh-tw","ചൈനീസ് (ലഘൂകരിച്ചത്)":"zh-cn","ജർമ്മൻ":"de","ജാപ്പനീസ്":"ja","ടർക്കിഷ്":"tr","ഡച്ച്":"nl","ഡാനിഷ്":"da","തായ്":"th","തെലുങ്ക്":"te","നോർവീജിയൻ":"nb","പേർഷ്യൻ":"fa","പോർച്ചുഗീസ്":"pt","പോളിഷ്":"pl","ഫിന്നിഷ്":"fi","ഫ്രെഞ്ച്":"fr","ബർമീസ്":"my","ബൾഗേറിയൻ":"bg","ബാസ്ക്":"eu","ബെലാറുഷ്യൻ":"be","മംഗോളിയൻ":"mn","മലയാളം":"ml","മലയ്":"ms","മറാഠി":"mr","മാസഡോണിയൻ":"mk","മാൾട്ടീസ്":"mt","മൗറി":"mi","ലാറ്റിൻ":"la","ലാറ്റ്വിയൻ":"lv","ലിത്വേനിയൻ":"lt","വിയറ്റ്നാമീസ്":"vi","വെൽഷ്":"cy","സുളു":"zu","സെർബിയൻ":"sr","സ്കോട്ട്സ് ഗ്യാലിക്":"gd","സ്പാനിഷ്":"es","സ്ലോവാക്":"sk","സ്ലോവേനിയൻ":"sl","സ്വീഡിഷ്":"sv","ഹംഗേറിയൻ":"hu","ഹിന്ദി":"hi","ഹീബ്രു":"he","ഹെയ്തിയൻ ക്രയോൾ":"ht","റഷ്യൻ":"ru","റൊമേനിയൻ":"ro","albánčina":"sq","amharčina":"am","arabčina":"ar","arménčina":"hy","azerbajdžančina":"az","barmčina":"my","bieloruština":"be","bulharčina":"bg","čínština (tradičná)":"zh-tw","dánčina":"da","estónčina":"et","fínčina":"fi","francúzština":"fr","galícijčina":"gl","gréčtina":"el","haitská kreolčina":"ht","hebrejčina":"he","hindčina":"hi","holandčina":"nl","chorvátčina":"hr","indonézština":"id","írčina":"ga","islandčina":"is","japončina":"ja","kannadčina":"kn","katalánčina":"ca","kórejčina":"ko","kurdčina":"ku","latinčina":"la","litovčina":"lt","macedónčina":"mk","maďarčina":"hu","malajámčina":"ml","malajčina":"ms","maltčina":"mt","maorijčina":"mi","maratčina":"mr","mongolčina":"mn","nemčina":"de","nórčina":"nb","perzština":"fa","poľština":"pl","portugalčina":"pt","rumunčina":"ro","slovenčina":"sk","slovinčina":"sl","srbčina":"sr","škótska gaelčina":"gd","španielčina":"es","švédčina":"sv","taliančina":"it","telugčina":"te","thajčina":"th","ukrajinčina":"uk","vietnamčina":"vi","waleština":"cy","zuluština":"zu","isi-albania":"sq","isi-amharic":"am","isi-arabic":"ar","isi-armenian":"hy","isi-azerbaijani":"az","isi-basque":"eu","isi-belarusian":"be","isi-bulgarian":"bg","isi-burmese":"my","isi-catalan":"ca","isi-chinese (simplified)":"zh-cn","isi-chinese (traditional)":"zh-tw","isi-croatian":"hr","isi-czech":"cs","isi-danish":"da","isi-dutch":"nl","isi-english":"en","isi-esperanto":"eo","isi-estonian":"et","isi-finnish":"fi","isi-french":"fr","isi-galician":"gl","isi-german":"de","isi-greek":"el","isi-haitian creole":"ht","isi-hangarian":"hu","isi-hebrew":"he","isi-hindi":"hi","isi-icelandic":"is","isi-indonesian":"id","isi-irish":"ga","isi-italian":"it","isi-japanese":"ja","isi-kannada":"kn","isi-korean":"ko","isi-kurdish":"ku","isi-latin":"la","isi-latvian":"lv","isi-lithuanian":"lt","isi-macedonian":"mk","isi-malay":"ms","isi-malayalam":"ml","isi-maltese":"mt","isi-maori":"mi","isi-marathi":"mr","isi-mongolian":"mn","isi-norwegian":"nb","isi-persian":"fa","isi-polish":"pl","isi-portuguese":"pt","isi-romanian":"ro","isi-russian":"ru","isi-scots gaelic":"gd","isi-serbian":"sr","isi-slovak":"sk","isi-slovenian":"sl","isi-spanish":"es","isi-swedish":"sv","isi-telugu":"te","isi-thai":"th","isi-turkish":"tr","isi-ukrainian":"uk","isi-uzbek":"uz","isi-vietnamese":"vi","isi-welsh":"cy","isizulu":"zu","albania":"sq","armenia":"hy","azerbaijan":"az","belanda":"nl","belarus":"be","bulgaria":"bg","cina (mudah)":"zh-cn","cina (tradisional)":"zh-tw","croatia":"hr","denmark":"da","estonia":"et","finland":"fi","gaelic scotland":"gd","galicia":"gl","hungary":"hu","ibrani":"he","iceland":"is","indonesia":"id","inggeris":"en","ireland":"ga","itali":"it","jepun":"ja","jerman":"de","korea":"ko","kreol haiti":"ht","kurdistan":"ku","latvia":"lv","lithuania":"lt","macedonia":"mk","malta":"mt","melayu":"ms","mongolia":"mn","myanmar":"my","norway":"nb","parsi":"fa","perancis":"fr","poland":"pl","portugis":"pt","romania":"ro","rusia":"ru","sepanyol":"es","serbia":"sr","slovenia":"sl","sweden":"sv","turki":"tr","ukraine":"uk","vietnam":"vi","wales":"cy","азербайджанский":"az","албанский":"sq","амхарский":"am","английский":"en","арабский":"ar","армянский":"hy","баскский":"eu","белорусский":"be","бирманский":"my","болгарский":"bg","валлийский":"cy","венгерский":"hu","вьетнамский":"vi","галисийский":"gl","греческий":"el","датский":"da","иврит":"he","индонезийский":"id","ирландский":"ga","исландский":"is","испанский":"es","итальянский":"it","каталанский":"ca","китайский (традиционный)":"zh-tw","китайский (упрощенный)":"zh-cn","корейский":"ko","креольский (гаити)":"ht","курманджи":"ku","латинский":"la","латышский":"lv","литовский":"lt","македонский":"mk","малайский":"ms","мальтийский":"mt","маори":"mi","монгольский":"mn","немецкий":"de","нидерландский":"nl","норвежский":"nb","персидский":"fa","польский":"pl","португальский":"pt","румынский":"ro","русский":"ru","сербский":"sr","словацкий":"sk","словенский":"sl","тайский":"th","турецкий":"tr","узбекский":"uz","украинский":"uk","финский":"fi","французский":"fr","хинди":"hi","хорватский":"hr","чешский":"cs","шведский":"sv","шотландский (гэльский)":"gd","эсперанто":"eo","эстонский":"et","японский":"ja","albański":"sq","amharski":"am","angielski":"en","arabski":"ar","azerski":"az","baskijski":"eu","białoruski":"be","birmański":"my","bułgarski":"bg","chiński (tradycyjny)":"zh-tw","chiński (uproszczony)":"zh-cn","chorwacki":"hr","czeski":"cs","duński":"da","estoński":"et","fiński":"fi","francuski":"fr","galicyjski":"gl","grecki":"el","hebrajski":"he","hiszpański":"es","indonezyjski":"id","irlandzki":"ga","islandzki":"is","japoński":"ja","kataloński":"ca","koreański":"ko","kreolski (haiti)":"ht","kurdyjski":"ku","litewski":"lt","łaciński":"la","łotewski":"lv","macedoński":"mk","malajalam":"ml","malajski":"ms","maltański":"mt","mongolski":"mn","niderlandzki":"nl","niemiecki":"de","norweski":"nb","ormiański":"hy","perski":"fa","polski":"pl","portugalski":"pt","rosyjski":"ru","rumuński":"ro","serbski":"sr","słowacki":"sk","słoweński":"sl","szkocki gaelicki":"gd","szwedzki":"sv","tajski":"th","turecki":"tr","ukraiński":"uk","uzbecki":"uz","walijski":"cy","węgierski":"hu","wietnamski":"vi","włoski":"it","азербайджанская":"az","албанская":"sq","амхарская":"am","англійская":"en","арабская":"ar","армянская":"hy","балгарская":"bg","баскская":"eu","беларуская":"be","в\'етнамская":"vi","валійская":"cy","венгерская":"hu","гаіцянская крэольская":"ht","галандская":"nl","галісійская":"gl","грэчаская":"el","дацкая":"da","інданезійская":"id","ірландская":"ga","ісландская":"is","іспанская":"es","італьянская":"it","іўрыт":"he","карэйская":"ko","каталонская":"ca","кітайская (спрошчаная)":"zh-cn","кітайская (традыцыйная)":"zh-tw","курдская (курманджы)":"ku","латышская":"lv","лацінская":"la","літоўская":"lt","м\'янманская (бірманская)":"my","маары":"mi","македонская":"mk","малайская":"ms","мальтыйская":"mt","мангольская":"mn","нарвежская":"nb","нямецкая":"de","партугальская":"pt","персідская":"fa","польская":"pl","румынская":"ro","руская":"ru","сербская":"sr","славацкая":"sk","славенская":"sl","тайская":"th","турэцкая":"tr","тэлугу":"te","узбекская":"uz","украінская":"uk","фінская":"fi","французская":"fr","харвацкая":"hr","хіндзі":"hi","чэшская":"cs","шатландская гэльская":"gd","шведская":"sv","эсперанта":"eo","эстонская":"et","японская":"ja","amarikisht":"am","anglisht":"en","arabisht":"ar","armenisht":"hy","azerisht":"az","baskisht":"eu","birmanisht":"my","bjellorusisht":"be","bullgarisht":"bg","çekisht":"cs","danisht":"da","estonisht":"et","finlandisht":"fi","frëngjisht":"fr","galicianisht":"gl","galishte skoceze":"gd","greqisht":"el","gjermanisht":"de","hebraisht":"he","hindisht":"hi","holandisht":"nl","hungarisht":"hu","indonezisht":"id","irlandisht":"ga","islandisht":"is","italisht":"it","japonisht":"ja","kanada":"kn","katalonisht":"ca","kinezisht (e thjeshtuar)":"zh-cn","kinezisht (tradicionale)":"zh-tw","koreanisht":"ko","kreolishte haitiane":"ht","kroatisht":"hr","latinisht":"la","letonisht":"lv","lituanisht":"lt","malajalamisht":"ml","malajzisht":"ms","malteze":"mt","maorisht":"mi","maqedonisht":"mk","maratisht":"mr","mongolisht":"mn","norvegjisht":"nb","persisht":"fa","polonisht":"pl","portugalisht":"pt","rumanisht":"ro","rusisht":"ru","serbisht":"sr","sllovakisht":"sk","sllovenisht":"sl","spanjisht":"es","suedisht":"sv","shqip":"sq","tajlandisht":"th","telugisht":"te","turqisht":"tr","uellsisht":"cy","ukrainisht":"uk","uzbekisht":"uz","vietnamisht":"vi","ሀንጋሪኛ":"hu","ህንድኛ":"hi","ሊትዌንኛ":"lt","ላቲንኛ":"la","ላትቪያኛ":"lv","ማላያላምኛ":"ml","ማላይኛ":"ms","ማልቲስኛ":"mt","ማራቲኛ":"mr","ማዮሪኛ":"mi","ሜቄዶኒያኛ":"mk","ሞንጎሊያኛ":"mn","ራሽያኛ":"ru","ሮማኒያንኛ":"ro","ሰርቢያኛ":"sr","ስሎቫክኛ":"sk","ስሎቬንያኛ":"sl","ስዊድንኛ":"sv","ስፓኒሽኛ":"es","በርማኛ":"my","ቡልጋሪያኛ":"bg","ባስክኛ":"eu","ቤላሩስኛ":"be","ቪትናምኛ":"vi","ቱርክኛ":"tr","ታይኛ":"th","ቴሉጉኛ":"te","ቻይንኛ (ቀላሉ)":"zh-cn","ቻይንኛ (ባሕላዊው)":"zh-tw","ቼክኛ":"cs","ኖርዌጅያንኛ":"nb","አልባንያኛ":"sq","አማርኛ":"am","አርመኒያኛ":"hy","አዜርባይጃንኛ":"az","አይሪሽ":"ga","አይስላንድኛ":"is","ኡዝቤክኛ":"uz","ኤስቶኒያኛ":"et","ኤስፐራንቶ":"eo","እንዶኔዢያኛ":"id","እንግሊዝኛ":"en","ኩርድሽኛ":"ku","ካታላንኛ":"ca","ካናዳኛ":"kn","ክሮኤሽያኛ":"hr","ኮሪያኛ":"ko","ዌልሽ":"cy","ዐረብኛ":"ar","ዕብራይስጥ":"he","ዙሉኛ":"zu","የሃይቲ ክረኦሌኛ":"ht","የስኮት ጌልክኛ":"gd","ዩክሬንኛ":"uk","ደችኛ":"nl","ዴንሽኛ":"da","ጀርመንኛ":"de","ጃፓንኛ":"ja","ጋሊሺያኛ":"gl","ግሪክኛ":"el","ጣሊያንኛ":"it","ፈረንሳይኛ":"fr","ፊኒሽኛ":"fi","ፐርሺያኛ":"fa","ፖሊሽኛ":"pl","ፖርቱጋሊኛ":"pt","alban":"sq","alman":"de","amarikcə":"am","azərbaycan dili":"az","bask":"eu","belarusca":"be","bolqar":"bg","çex":"cs","çin (ən\'ənəvi)":"zh-tw","çin (sadələşdirilmiş)":"zh-cn","danimarka":"da","erməni":"hy","eston":"et","ərəb":"ar","fars dili":"fa","fin":"fi","fransız":"fr","haiti kreol dili":"ht","hind":"hi","xorvat":"hr","ispan":"es","i̇ndoneziya":"id","i̇ngilis":"en","i̇rland":"ga","i̇sland":"is","i̇sveç":"sv","i̇talyan":"it","i̇vrit":"he","katalan":"ca","koreya":"ko","kürd dili (kurmanci)":"ku","qalisian":"gl","latın":"la","latış":"lv","litva":"lt","macar":"hu","makedoniya":"mk","maoricə":"mi","monqolca":"mn","myanma (birma) dili":"my","norveç":"nb","özbək":"uz","polyak":"pl","portuqal":"pt","rumın":"ro","rus":"ru","serb":"sr","sloven":"sl","şotland (kelt)":"gd","tayca":"th","teluqu":"te","türk":"tr","uels":"cy","ukrayna":"uk","vyetnam":"vi","yapon":"ja","yunan":"el","zulu dili":"zu","albaniż":"sq","amħari":"am","armen":"hy","ażerbajġani":"az","belarussu":"be","bulgaru":"bg","ċek":"cs","ċiniż (semplifikat)":"zh-cn","ċiniż (tradizzjonali)":"zh-tw","creole haiti":"ht","daniż":"da","ebrajk":"he","estonjan":"et","finlandiż":"fi","franċiż":"fr","ġappuniż":"ja","ġermaniż":"de","gaelic tal-iskoċċiżi":"gd","galizjan":"gl","grieg":"el","għarbi":"ar","ħindi":"hi","indoneżjan":"id","ingliż":"en","irlandiż":"ga","islandiż":"is","kroat":"hr","kurd (kurmanji)":"ku","latvjan":"lv","litwen":"lt","maċedonjan":"mk","malasjan":"ms","malti":"mt","marati":"mr","mjanmar (burma)":"my","mongoljan":"mn","norveġiż":"nb","olandiż":"nl","persjan":"fa","pollakk":"pl","portugiż":"pt","rumen":"ro","russu":"ru","slovakk":"sk","spanjol":"es","svediż":"sv","tajlandiż":"th","taljan":"it","tork":"tr","ukren":"uk","ungeriż":"hu","użbek":"uz","vjetnamiż":"vi","żulu":"zu","albanski":"sq","amharik":"am","arapski":"ar","armenijski":"hy","azerbajdžanski":"az","bjeloruski":"be","bugarski":"bg","burmanski":"my","češki":"cs","danski":"da","engleski":"en","estonski":"et","finski":"fi","galski":"gl","grčki":"el","haićansko-kreolski":"ht","hebrejski":"he","hindu":"hi","hrvatski":"hr","indonezijski":"id","irski":"ga","islandski":"is","japanski":"ja","katalonski":"ca","kineski (pojednost.)":"zh-cn","kineski (tradicionalni)":"zh-tw","korejski":"ko","kurdski":"ku","latinski":"la","latvijski/letonski":"lv","litvanski":"lt","mađarski":"hu","makedonski":"mk","malezijski":"ms","malteški":"mt","nizozemski":"nl","norveški":"nb","njemački":"de","perzijski":"fa","poljski":"pl","rumunjski":"ro","ruski":"ru","slovački":"sk","slovenski":"sl","srpski":"sr","škotski keltski":"gd","španjolski":"es","švedski":"sv","tajlandski":"th","talijanski":"it","turski":"tr","ukrajinski":"uk","uzbekistanski":"uz","velški":"cy","vijetnamski":"vi","آذرباﻳﺠﺎﻧﻰ":"az","آلبانیایی":"sq","آلمانی":"de","ارمنی":"hy","ازبکی":"uz","اسپانیایی":"es","اسپرانتو":"eo","استونيايی":"et","اسلواکی":"sk","اسلونیایی":"sl","اکراينی":"uk","امهری":"am","اندونزيايی":"id","انگلیسی":"en","ایتالیایی":"it","ایرلندی":"ga","ايسلندی":"is","باسکی":"eu","برمهای":"my","بلاروسی":"be","بلغاری":"bg","پرتغالی":"pt","تايلندی":"th","ترکی استانبولی":"tr","تلوگو":"te","چک":"cs","چینی (سادهشده)":"zh-cn","چینی (سنتی)":"zh-tw","دانمارکی":"da","روسی":"ru","رومانيايی":"ro","زولو":"zu","ژاپنی":"ja","سوئدی":"sv","صربی":"sr","عبری":"he","عربی":"ar","فارسی":"fa","فرانسوی":"fr","فنلاندی":"fi","کاتالان":"ca","کانارا":"kn","کرئول هائیتی":"ht","کردی":"ku","کرواتی":"hr","کرهای":"ko","گالیسی":"gl","گاليک اسکاتلندی":"gd","لاتين":"la","لتونيايی":"lv","لهستانی":"pl","ليتوانيايی":"lt","مائوری":"mi","مالایالمی":"ml","مالايی":"ms","مالتی":"mt","مجاری":"hu","مراتی":"mr","مغولی":"mn","مقدونيهای":"mk","نروژی":"nb","ولزی":"cy","ويتنامی":"vi","هلندی":"nl","هندی":"hi","يونانی":"el","ahepaitani":"az","airihi":"ga","amariki":"am","amēniana":"hy","arapeinia":"sq","arapi":"ar","eperānato":"eo","etōnia":"et","haina (onamata)":"zh-tw","hainamana (kua whakamāmātia)":"zh-cn","hanekeria":"hu","hapanihi":"ja","herepia":"sr","hinerangi":"fi","hīni":"hi","hiperu":"he","horowākia":"sk","horowinia":"sl","huitene":"sv","huru":"zu","ingarihi":"en","initonīhia":"id","itāriana":"it","kanata":"kn","karihia":"gl","katarāna":"ca","kereore haiti":"ht","kiriki":"el","kōreana":"ko","koroātiana":"hr","korukoru":"tr","kūrihi":"ku","makerōnia":"mk","māratihi":"mt","marei":"ms","mareiarama":"ml","mongōriana":"mn","nōwei":"nb","pākihi":"eu","pāniora":"es","pēma (purumīhi)":"my","peraruhia":"be","perēhia":"fa","pōrana":"pl","potukīhi":"pt","purukāriana":"bg","rātini":"la","rāwhiana":"lv","rituānia":"lt","romānia":"ro","rūhia":"ru","tai":"th","tati":"nl","tenemāka":"da","teruku":"te","tiamana":"de","tieke":"cs","tiorangi":"is","tuauri kotarangi":"gd","uhipeke":"uz","ūkareiana":"uk","wēra":"cy","whitināmu":"vi","wīwī":"fr","αγγλικά":"en","αζερμπαϊτζανικά":"az","αλβανικά":"sq","αμχαρικά":"am","αραβικά":"ar","αρμενικά":"hy","βασκικά":"eu","βιετναμεζικά":"vi","βιρμανικά":"my","βουλγαρικά":"bg","γαελικά σκοτίας":"gd","γαλικιακά":"gl","γαλλικά":"fr","γερμανικά":"de","δανικά":"da","εβραϊκά":"he","ελληνικά":"el","εσθονικά":"et","εσπεράντο":"eo","ζουλού":"zu","ιαπωνικά":"ja","ινδονησιακά":"id","ιρλανδικά":"ga","ισλανδικά":"is","ισπανικά":"es","ιταλικά":"it","κανάντα":"kn","καταλανικά":"ca","κινέζικα (απλοποιημένα)":"zh-cn","κινέζικα (παραδοσιακά)":"zh-tw","κορεατικά":"ko","κουρδικά":"ku","κρεόλ αϊτής":"ht","κροατικά":"hr","λατινικά":"la","λετονικά":"lv","λευκορωσικά":"be","λιθουανικά":"lt","μαλαγιάλαμ":"ml","μαλέι":"ms","μαλτεζικά":"mt","μαορί":"mi","μαραθικά":"mr","μογγολικά":"mn","νορβηγικά":"nb","ολλανδικά":"nl","ουαλικά":"cy","ουγγρικά":"hu","ουζμπεκικά":"uz","ουκρανικά":"uk","περσικά":"fa","πολωνικά":"pl","πορτογαλικά":"pt","ρουμανικά":"ro","ρωσικά":"ru","σερβικά":"sr","σλαβομακεδονικά":"mk","σλοβακικά":"sk","σλοβενικά":"sl","σουηδικά":"sv","ταϊλανδεζικά":"th","τελούγκου":"te","τούρκικα":"tr","τσεχικά":"cs","φινλανδικά":"fi","χίντι":"hi","amxar":"am","arman":"hy","bolgar":"bg","dat":"da","fors":"fa","fransuz":"fr","gaiti-kreol":"ht","galisiy":"gl","golland":"nl","grek":"el","ibroniy":"he","indonez":"id","ingliz":"en","irland":"ga","island":"is","italyan":"it","koreys":"ko","kurd (kurmonji)":"ku","latish":"lv","lotin":"la","makedon":"mk","maltiy":"mt","maratxi":"mr","mo‘g‘ul":"mn","nemis":"de","norveg":"nb","ozarbayjon":"az","portugal":"pt","rumin":"ro","tay":"th","turk":"tr","ukrain":"uk","valliy":"cy","venger":"hu","xitoy (an’anaviy)":"zh-tw","xitoy (soddalashgan)":"zh-cn","o‘zbek":"uz","shotland-gel":"gd","shved":"sv","chex":"cs","albanska":"sq","amharísku":"am","arabíska":"ar","armenska":"hy","aserska":"az","baskneska":"eu","búlgarska":"bg","búrmíska":"my","danska":"da","eistneska":"et","enska":"en","esperantó":"eo","finnska":"fi","franska":"fr","galisíska":"gl","gríska":"el","haítískt kreólamál":"ht","hebreska":"he","hindí":"hi","hollenska":"nl","hvítrússneska":"be","indónesíska":"id","írska":"ga","íslenska":"is","ítalska":"it","japanska":"ja","katalónska":"ca","kínverska (einfölduð)":"zh-cn","kínverska (hefðbundin)":"zh-tw","kóreska":"ko","króatíska":"hr","kúrdíska":"ku","latína":"la","lettneska":"lv","litháíska":"lt","makedónska":"mk","malajíska":"ms","maltneska":"mt","maoríska":"mi","maratí":"mr","mongólska":"mn","norska":"nb","persneska":"fa","portúgalska":"pt","pólska":"pl","rúmenska":"ro","rússneska":"ru","serbneska":"sr","skosk-gelíska":"gd","slóvakíska":"sk","slóvenska":"sl","spænska":"es","súlú":"zu","sænska":"sv","taílenska":"th","tékkneska":"cs","tyrkneska":"tr","ungverska":"hu","úkraínska":"uk","úsbekíska":"uz","velska":"cy","víetnamska":"vi","þýska":"de","ադրբեջաներեն":"az","ալբաներեն":"sq","ամհարերեն":"am","անգլերեն":"en","արաբերեն":"ar","բասկերեն":"eu","բելառուսերեն":"be","բիրմաներեն":"my","բուլղարերեն":"bg","գալիսերեն":"gl","գերմաներեն":"de","դանիերեն":"da","եբրայերեն":"he","զուլուսերեն":"zu","էսպերանտո":"eo","էստոներեն":"et","թայերեն":"th","թուրքերեն":"tr","ինդոնեզերեն":"id","իռլանդերեն":"ga","իսլանդերեն":"is","իսպաներեն":"es","իտալերեն":"it","լատիներեն":"la","լատվիերեն":"lv","լեհերեն":"pl","լիտվերեն":"lt","խորվաթերեն":"hr","կաննադա":"kn","կատալաներեն":"ca","կելտական շոտլանդերեն":"gd","կորեերեն":"ko","կրեոլերեն (հայիթի)":"ht","հայերեն":"hy","հինդի":"hi","հոլանդերեն":"nl","հունարեն":"el","հունգարերեն":"hu","ճապոներեն":"ja","մալայալամ":"ml","մալայերեն":"ms","մալթերեն":"mt","մակեդոներեն":"mk","մաորի":"mi","մարաթի":"mr","մոնղոլերեն":"mn","նորվեգերեն":"nb","շվեդերեն":"sv","ուզբեկերեն":"uz","ուկրաիներեն":"uk","չեխերեն":"cs","չինարեն (ավանդական)":"zh-tw","չինարեն (պարզեցված)":"zh-cn","պարսկերեն":"fa","պորտուգալերեն":"pt","ռումիներեն":"ro","ռուսերեն":"ru","սերբերեն":"sr","սլովակերեն":"sk","սլովեներեն":"sl","վալերեն":"cy","վիետնամերեն":"vi","տելուգու":"te","քրդերեն (քուրմանջի)":"ku","ֆիններեն":"fi","ֆրանսերեն":"fr","arabia":"ar","baski":"eu","burma":"my","englanti":"en","espanja":"es","haitinkreoli":"ht","heprea":"he","hollanti":"nl","iiri":"ga","islanti":"is","italia":"it","japani":"ja","katalaani":"ca","kiina (perinteinen)":"zh-tw","kiina (yksinkert.)":"zh-cn","kreikka":"el","kroatia":"hr","kurdi":"ku","kymri":"cy","liettua":"lt","makedonia":"mk","malaiji":"ms","norja":"nb","persia":"fa","portugali":"pt","puola":"pl","ranska":"fr","ruotsi":"sv","saksa":"de","skottigaeli":"gd","slovakia":"sk","suomi":"fi","tanska":"da","tsekki":"cs","turkki":"tr","ukraina":"uk","unkari":"hu","uzbekki":"uz","valkovenäjä":"be","venäjä":"ru","viro":"et","albaniera":"sq","alemana":"de","amharera":"am","arabiera":"ar","armeniera":"hy","azerbaijanera":"az","bielorrusiera":"be","birmaniera":"my","bulgariera":"bg","daniera":"da","errumaniera":"ro","errusiera":"ru","eskoziako gaelera":"gd","eslovakiera":"sk","esloveniera":"sl","esperantoa":"eo","estoniera":"et","euskara":"eu","frantsesa":"fr","gaelera":"cy","galiziera":"gl","gaztelania":"es","greziera":"el","hebreera":"he","hindia":"hi","hungariera":"hu","indonesiera":"id","ingelesa":"en","irlandera":"ga","islandiera":"is","italiera":"it","japoniera":"ja","katalana":"ca","koreera":"ko","kreolera (haiti)":"ht","kroaziera":"hr","kurduera":"ku","letoniera":"lv","lituaniera":"lt","malabarera":"ml","malaysiera":"ms","maltera":"mt","maoriera":"mi","marathera":"mr","mazedoniera":"mk","mongoliera":"mn","nederlandera":"nl","norvegiera":"nb","persiera":"fa","poloniera":"pl","portugesa":"pt","serbiera":"sr","suediera":"sv","suomiera":"fi","telugua":"te","thaiera":"th","turkiera":"tr","txekiera":"cs","txinera (soildua)":"zh-cn","txinera (tradizionala)":"zh-tw","ukrainera":"uk","uzbekera":"uz","vietnamera":"vi","zuluera":"zu","albanès":"sq","alemany":"de","amhàric":"am","anglès":"en","àrab":"ar","armeni":"hy","àzeri":"az","basc":"eu","bielorús":"be","birmà":"my","búlgar":"bg","castellà":"es","català":"ca","coreà":"ko","crioll d\'haití":"ht","croat":"hr","danès":"da","eslovac":"sk","eslovè":"sl","estonià":"et","finès":"fi","francès":"fr","gaèlic escocès":"gd","gallec":"gl","gal·lès":"cy","hebreu":"he","hongarès":"hu","indonesi":"id","irlandès":"ga","islandès":"is","italià":"it","japonès":"ja","letó":"lv","lituà":"lt","llatí":"la","macedònic":"mk","malai":"ms","malaiàlam":"ml","maltès":"mt","neerlandès":"nl","noruec":"nb","polonès":"pl","portuguès":"pt","romanès":"ro","serbi":"sr","suec":"sv","txec":"cs","ucraïnès":"uk","xinès (simplificat)":"zh-cn","xinès (tradicional)":"zh-tw","albāņu":"sq","amharu":"am","angļu":"en","arābu":"ar","armēņu":"hy","azerbaidžāņu":"az","baltkrievu":"be","basku":"eu","birmiešu":"my","bulgāru":"bg","čehu":"cs","dāņu":"da","ebreju (ivrits)":"he","franču":"fr","galisiešu":"gl","grieķu":"el","holandiešu":"nl","horvātu":"hr","igauņu":"et","indonēziešu":"id","īru":"ga","īslandiešu":"is","itāļu":"it","japāņu":"ja","katalāņu":"ca","korejiešu":"ko","kreolu (haiti)":"ht","krievu":"ru","kurdu":"ku","ķīniešu (tradicionālā)":"zh-tw","ķīniešu (vienkāršotā)":"zh-cn","latīņu":"la","latviešu":"lv","lietuviešu":"lt","maķedoniešu":"mk","malajalamiešu":"ml","malajiešu":"ms","maltiešu":"mt","maratu":"mr","mongoļu":"mn","norvēģu":"nb","persiešu":"fa","poļu":"pl","portugāļu":"pt","rumāņu":"ro","serbu":"sr","skotu gēlu":"gd","slovāku":"sk","slovēņu":"sl","somu":"fi","spāņu":"es","taju":"th","turku":"tr","ukraiņu":"uk","ungāru":"hu","uzbeku":"uz","vācu":"de","velsiešu":"cy","vjetnamiešu":"vi","zviedru":"sv","belarussia":"be","cek":"cs","china (aks. sederhana)":"zh-cn","china (aks. tradisional)":"zh-tw","finlandia":"fi","gaelig":"ga","gaelik skotlandia":"gd","galisia":"gl","inggris":"en","islan":"is","jepang":"ja","katala":"ca","lituania":"lt","polandia":"pl","prancis":"fr","rumania":"ro","swensk":"sv","yunani":"el","అజర్బైజాని":"az","అర్మేనియన్":"hy","అల్బేనియన్":"sq","ఆంగ్లము":"en","ఆమ్హారిక్":"am","ఆరబిక్":"ar","ఇండొనేసియన్":"id","ఇటాలియన్":"it","ఉజ్బెక్":"uz","ఎస్పెరాంటో":"eo","ఏస్టోనియన్":"et","ఐరిష్":"ga","ఐస్ లాండిక్":"is","కన్నడ":"kn","కర్డిష్":"ku","కొరియన్":"ko","క్యాటలాన్":"ca","క్రొయేషియన్":"hr","గాలిసియన్":"gl","గ్రీక్":"el","చెక్":"cs","చైనీస్ (సరళమైన)":"zh-cn","చైనీస్ (సామ్ప్రదాయమైన)":"zh-tw","జపనీస్":"ja","జర్మన్":"de","జులు":"zu","టర్కిష్":"tr","డచ్":"nl","డానిష్":"da","తెలుగు":"te","థాయ్":"th","నార్విజియన్":"nb","పర్షియన్":"fa","పోర్చుగీస్":"pt","పోలిష్":"pl","ఫిన్నిష్":"fi","ఫ్రెంచ్":"fr","బర్మీస్":"my","బల్గేరియన్":"bg","బాస్క్":"eu","బెలారుషియన్":"be","మంగోలియన్":"mn","మయోరి":"mi","మరాఠీ":"mr","మలయాళం":"ml","మాలై":"ms","మాల్టీస్":"mt","మాసిడోనియన్":"mk","యుక్రేనియన్":"uk","రష్యన్":"ru","రొమేనియన్":"ro","లాటిన్":"la","లాట్వియన్":"lv","లిథువేనియన్":"lt","వియత్నామీస్":"vi","వెల్ష్":"cy","సెర్బియన్":"sr","స్కాట్స్ గేలిక్":"gd","స్పానిష్":"es","స్లోవక్":"sk","స్లోవేనియన్":"sl","స్వీడిష్":"sv","హంగేరియన్":"hu","హిందీ":"hi","హీబ్రూ":"he","హైయేటియన్ క్రియోల్":"ht","amhárico":"am","azerí":"az","chino (simplificado)":"zh-cn","chino (tradicional)":"zh-tw","criollo haitiano":"ht","danés":"da","estonio":"et","euskera":"eu","finlandés":"fi","gallego":"gl","griego":"el","japonés":"ja","kurdo":"ku","malayo":"ms","noruego":"nb","rumano":"ro","uzbeco":"uz","albaania":"sq","amhaari":"am","araabia":"ar","armeenia":"hy","aserbaidžaani":"az","birma":"my","bulgaaria":"bg","eesti":"et","galeegi":"gl","haitikreooli":"ht","heebrea":"he","hispaania":"es","hollandi":"nl","horvaadi":"hr","indoneesia":"id","inglise":"en","islandi":"is","itaalia":"it","jaapani":"ja","kreeka":"el","ladina":"la","leedu":"lt","lihtsustatud hiina":"zh-cn","läti":"lv","makedoonia":"mk","malajalaami":"ml","maoori":"mi","mongoli":"mn","norra":"nb","poola":"pl","prantsuse":"fr","pärsia":"fa","rootsi":"sv","rumeenia":"ro","slovaki":"sk","sloveeni":"sl","soome":"fi","suulu":"zu","šoti":"gd","taani":"da","traditsiooniline hiina":"zh-tw","tšehhi":"cs","türgi":"tr","uelsi":"cy","ungari":"hu","usbeki":"uz","valgevene":"be","vene":"ru","albanyen":"sq","amenyen":"hy","anglè":"en","azèbajani":"az","belarisyen":"be","bilgaryen":"bg","chinwa (senp)":"zh-cn","chinwa (tradisyonèl)":"zh-tw","danwa":"da","ebre":"he","endonezyen":"id","endou":"hi","estonyen":"et","fenlandè":"fi","franse":"fr","gaelik ekosè":"gd","galisyen":"gl","grèk":"el","ikrenyen":"uk","ilandè":"ga","islandè":"is","italyen":"it","izbèk":"uz","japonè":"ja","koreyen":"ko","kreyòl ayisyen":"ht","kurde (kurmandji)":"ku","kwoasyen":"hr","laten":"la","letonyen":"lv","lityanyen":"lt","malè":"ms","malt":"mt","masedonyen":"mk","mongolyen":"mn","myanma (burmese)":"my","nòvejyen":"nb","olandè, neyèlandè":"nl","onngaryen":"hu","panyòl":"es","pèsyen":"fa","polonè":"pl","pòtigè":"pt","ris":"ru","romanyen":"ro","sèb":"sr","slovenyen":"sl","syedwa":"sv","tuk":"tr","tyèk":"cs","vyetnamyen":"vi","albaneg":"sq","almaeneg":"de","arabeg":"ar","armeneg":"hy","aserbaijaneg":"az","basgeg":"eu","belarwseg":"be","bwlgaraidd":"bg","catalaneg":"ca","creol haiti":"ht","croateg":"hr","cymraeg":"cy","cyrdeg (kurmandji)":"ku","daneg":"da","eidaleg":"it","estoneg":"et","fietnameg":"vi","ffineg":"fi","fflemeg":"nl","ffrangeg":"fr","gaeleg yr alban":"gd","galisaidd":"gl","groeg":"el","gwyddeleg":"ga","hebraeg":"he","hwngareg":"hu","iaith corea":"ko","indonesieg":"id","islandeg":"is","iwcraineg":"uk","japaneg":"ja","latfieg":"lv","lithwaneg":"lt","lladin":"la","macedoneg":"mk","malteseg":"mt","mongoleg":"mn","myanmar (byrma)":"my","norwyeg":"nb","perseg":"fa","portiwgaleg":"pt","pwyleg":"pl","rwmaneg":"ro","rwsieg":"ru","saesneg":"en","sbaeneg":"es","serbeg":"sr","slofac":"sk","slofenia":"sl","swedeg":"sv","swlw":"zu","tsieceg":"cs","tsieineeg (traddodiadol)":"zh-tw","tsieineeg (wedi symleiddio)":"zh-cn","twrceg":"tr","usbec":"uz","अंग्रेज़ी":"en","अज़रबैजानी":"az","अल्बेनियन":"sq","आइसलैंडिक":"is","आर्मेनियन":"hy","इटैलियन":"it","उज़्बेक":"uz","एस्तोनियन":"et","एस्पेरांटो":"eo","ऐम्हेरिक":"am","कन्नड़":"kn","कुर्दिश (करमंजी)":"ku","कैटेलन":"ca","गैलिशियन":"gl","चीनी (परंपरागत)":"zh-tw","चेक":"cs","जापानी":"ja","ज़ुलु":"zu","डैनिश":"da","तुर्क":"tr","तेलुगु":"te","पुर्तगाली":"pt","फ़िनिश":"fi","फ़्रेंच":"fr","बर्मी":"my","बुल्गारियन":"bg","बेलारूसीयन":"be","बैस्क":"eu","मलयालम":"ml","माऔरी":"mi","माल्टी":"mt","मेसीडोनियन":"mk","यूक्रेनियन":"uk","रूसी":"ru","रोमेनियन":"ro","लातवियन":"lv","लैटिन":"la","वियतनामी":"vi","सर्बियाई":"sr","स्पैनिश":"es","स्लोवाक":"sk","स्लोवेनियन":"sl","हंगरियन":"hu","हीब्रू":"he","हैतियन क्रिओल":"ht","阿尔巴尼亚语":"sq","阿拉伯语":"ar","阿姆哈拉语":"am","阿塞拜疆语":"az","爱尔兰语":"ga","爱沙尼亚语":"et","巴斯克语":"eu","白俄罗斯语":"be","保加利亚语":"bg","冰岛语":"is","波兰语":"pl","波斯语":"fa","丹麦语":"da","德语":"de","俄语":"ru","法语":"fr","芬兰语":"fi","海地克里奥尔语":"ht","韩语":"ko","荷兰语":"nl","加利西亚语":"gl","加泰罗尼亚语":"ca","捷克语":"cs","卡纳达语":"kn","克罗地亚语":"hr","库尔德语":"ku","拉丁语":"la","拉脱维亚语":"lv","立陶宛语":"lt","罗马尼亚语":"ro","马耳他语":"mt","马拉地语":"mr","马拉雅拉姆语":"ml","马来语":"ms","马其顿语":"mk","毛利语":"mi","蒙古语":"mn","缅甸语":"my","南非祖鲁语":"zu","挪威语":"nb","葡萄牙语":"pt","日语":"ja","瑞典语":"sv","塞尔维亚语":"sr","世界语":"eo","斯洛伐克语":"sk","斯洛文尼亚语":"sl","苏格兰盖尔语":"gd","泰卢固语":"te","泰语":"th","土耳其语":"tr","威尔士语":"cy","乌克兰语":"uk","乌兹别克语":"uz","西班牙语":"es","希伯来语":"he","希腊语":"el","匈牙利语":"hu","亚美尼亚语":"hy","意大利语":"it","印地语":"hi","印尼语":"id","英语":"en","越南语":"vi","中文(繁体)":"zh-tw","中文(简体)":"zh-cn","азербайджански":"az","английски":"en","арабски":"ar","арменски":"hy","баски":"eu","беларуски":"be","бирмански":"my","български":"bg","галисийски":"gl","гръцки":"el","датски":"da","индонезийски":"id","ирландски":"ga","испански":"es","италиански":"it","китайски (опростен)":"zh-cn","китайски (традиционен)":"zh-tw","корейски":"ko","кюрдски":"ku","латвийски":"lv","литовски":"lt","малайски":"ms","малтийски":"mt","немски":"de","нидерландски":"nl","норвежки":"nb","персийски":"fa","румънски":"ro","словашки":"sk","словенски":"sl","сръбски":"sr","тайландски":"th","уелски":"cy","узбекски":"uz","финландски":"fi","френски":"fr","хаитянски креолски":"ht","хърватски":"hr","шотландски келтски":"gd","японски":"ja","الآيسلندية":"is","الأذرية":"az","الارمنية":"hy","الإسبانية":"es","الاسبرانتو":"eo","الإستونية":"et","الاسكتلندية الغالية":"gd","الألبانية":"sq","الألمانية":"de","الأمهرية":"am","الإنجليزية":"en","الإندونيسية":"id","الأوزبكية":"uz","الأوكرانية":"uk","الأيرلندية":"ga","الإيطالية":"it","الباسكية":"eu","البرتغالية":"pt","البلغارية":"bg","البورمية":"my","البولندية":"pl","البيلاروسية":"be","التايلاندية":"th","التركية":"tr","التشيكية":"cs","التيلوجو":"te","الجاليكية":"gl","الدانماركية":"da","الروسية":"ru","الرومانية":"ro","الزولوية":"zu","السلوفاكية":"sk","السلوفينية":"sl","السويدية":"sv","الصربية":"sr","الصينية (التقليدية)":"zh-tw","الصينية (المبسطة)":"zh-cn","العبرية":"he","العربية":"ar","الفارسية":"fa","الفرنسية":"fr","الفنلندية":"fi","الفيتنامية":"vi","القطلونية":"ca","الكانادا":"kn","الكردية":"ku","الكرواتية":"hr","الكورية":"ko","اللاتفية":"lv","اللاتينية":"la","اللغة الكريولية الهايتية":"ht","الليتوانية":"lt","المالايالامية":"ml","المالطيّة":"mt","الماورية":"mi","المقدونية":"mk","الملايو":"ms","المنغولية":"mn","المهراتية":"mr","النرويجية":"nb","الهندية":"hi","الهنغارية":"hu","الهولندية":"nl","الويلزية":"cy","اليابانية":"ja","اليونانية":"el","баскијски":"eu","вијетнамски":"vi","галски":"gl","енглески":"en","индонежански":"id","јапански":"ja","јерменски":"hy","кинески (поједностављени)":"zh-cn","кинески (традиционални)":"zh-tw","креолски (хаити)":"ht","летонски":"lv","мађарски":"hu","марати":"mr","немачки":"de","персијски":"fa","пољски":"pl","румунски":"ro","словеначки":"sl","тајски":"th","украјински":"uk","азербайжан":"az","албани":"sq","амхарик":"am","англи":"en","араб":"ar","армени":"hy","баск":"eu","беларусь":"be","бирм":"my","болгар":"bg","вьетнам":"vi","гаити креол":"ht","галик":"gl","гаэл":"gd","герман":"de","голланд":"nl","грек":"el","дани":"da","индонези":"id","ирланд":"ga","исланд":"is","испани":"es","итали":"it","каталан":"ca","кипр":"he","курд":"ku","латви":"lv","латин":"la","литва":"lt","македон":"mk","малай":"ms","малайлам":"ml","малти":"mt","монгол":"mn","норвеги":"nb","орос":"ru","перс":"fa","польш":"pl","португаль":"pt","румын":"ro","серби":"sr","словак":"sk","словени":"sl","солонгос":"ko","тай":"th","турк":"tr","тэлүгү":"te","узбек":"uz","украин":"uk","унгар":"hu","уэльс":"cy","финлянд":"fi","франц":"fr","хорват":"hr","хятад (ердийн)":"zh-cn","хятад (уламжлалт)":"zh-tw","чех":"cs","швед":"sv","эстони":"et","япон":"ja","amhariska":"am","arabiska":"ar","armeniska":"hy","azerbajdzjanska":"az","baskiska":"eu","bulgariska":"bg","burmesiska":"my","engelska":"en","estniska":"et","finska":"fi","gaeliska":"gd","galiciska":"gl","grekiska":"el","haitiska":"ht","hebreiska":"he","indonesiska":"id","irländska":"ga","isländska":"is","italienska":"it","kanaresiska":"kn","katalanska":"ca","kinesiska (förenklad)":"zh-cn","kinesiska (traditionell)":"zh-tw","koreanska":"ko","kroatiska":"hr","kurdiska":"ku","lettiska":"lv","litauiska":"lt","makedonska":"mk","malaysiska":"ms","maltesiska":"mt","mongoliska":"mn","nederländska":"nl","persiska":"fa","polska":"pl","portugisiska":"pt","rumänska":"ro","ryska":"ru","serbiska":"sr","slovakiska":"sk","slovenska":"sl","spanska":"es","svenska":"sv","thailändska":"th","tjeckiska":"cs","turkiska":"tr","tyska":"de","ukrainska":"uk","ungerska":"hu","uzbekiska":"uz","vietnamesiska":"vi","vitryska":"be","walesiska":"cy","albaneză":"sq","amharică":"am","arabă":"ar","armeană":"hy","azerbaidjană":"az","bască":"eu","bielorusă":"be","birmană":"my","bulgară":"bg","catalană":"ca","cehă":"cs","chineză (simplificată)":"zh-cn","chineză (tradițională)":"zh-tw","coreeană":"ko","creolă haitiană":"ht","croată":"hr","daneză":"da","ebraică":"he","engleză":"en","estonă":"et","finlandeză":"fi","franceză":"fr","galeză":"cy","galica scoțiană":"gd","galiciană":"gl","germană":"de","greacă":"el","indoneziană":"id","irlandeză":"ga","islandeză":"is","italiană":"it","japoneză":"ja","kurdă":"ku","latină":"la","letonă":"lv","lituaniană":"lt","macedoneană":"mk","maghiară":"hu","malaeză":"ms","malteză":"mt","mongolă":"mn","neerlandeză":"nl","norvegiană":"nb","persană":"fa","poloneză":"pl","portugheză":"pt","română":"ro","rusă":"ru","sârbă":"sr","slovacă":"sk","slovenă":"sl","spaniolă":"es","suedeză":"sv","thailandeză":"th","turcă":"tr","ucraineană":"uk","uzbecă":"uz","vietnameză":"vi","airių":"ga","albanų":"sq","amharų":"am","anglų":"en","arabų":"ar","armėnų":"hy","azerbaidžaniečių":"az","baltarusių":"be","baskų":"eu","birmiečių":"my","bulgarų":"bg","čekų":"cs","danų":"da","estų":"et","galisų":"gl","graikų":"el","haičio kreolų":"ht","hebrajų":"he","indoneziečių":"id","islandų":"is","ispanų":"es","italų":"it","japonų":"ja","kanadų":"kn","kataloniečių":"ca","kinų (supaprastinta)":"zh-cn","kinų (tradicinė)":"zh-tw","korėjiečių":"ko","kroatų":"hr","kurdų":"ku","latvių":"lv","lenkų":"pl","lietuvių":"lt","lotynų":"la","makedoniečių":"mk","malajalių":"ml","malajiečių":"ms","maltiečių":"mt","maorių":"mi","maratų":"mr","mongolų":"mn","norvegų":"nb","olandų":"nl","persų":"fa","portugalų":"pt","prancūzų":"fr","rumunų":"ro","rusų":"ru","serbų":"sr","slovakų":"sk","slovėnų":"sl","suomių":"fi","škotų (gėlų)":"gd","švedų":"sv","tajų":"th","telugų":"te","turkų":"tr","ukrainiečių":"uk","uzbekų":"uz","valų":"cy","vengrų":"hu","vietnamiečių":"vi","vokiečių":"de","zulusų":"zu","갈리시아어":"gl","그리스어":"el","네덜란드어":"nl","노르웨이어":"nb","덴마크어":"da","독일어":"de","라트비아어":"lv","라틴어":"la","러시아어":"ru","루마니아어":"ro","리투아니아어":"lt","마라티어":"mr","마오리어":"mi","마케도니아어":"mk","말라얄람어":"ml","말레이어":"ms","몰타어":"mt","몽골어":"mn","미얀마어 (버마어)":"my","바스크어":"eu","베트남어":"vi","벨라루스어":"be","불가리아어":"bg","세르비아어":"sr","스웨덴어":"sv","스코틀랜드 게일어":"gd","스페인어":"es","슬로바키아어":"sk","슬로베니아어":"sl","아랍어":"ar","아르메니아어":"hy","아이슬란드어":"is","아이티 크리올어":"ht","아일랜드어":"ga","아제르바이잔어":"az","알바니아어":"sq","암하라어":"am","에스토니아어":"et","에스페란토어":"eo","영어":"en","우즈베크어":"uz","우크라이나어":"uk","웨일즈어":"cy","이탈리아어":"it","인도네시아어":"id","일본어":"ja","줄루어":"zu","중국어(간체)":"zh-cn","중국어(번체)":"zh-tw","체코어":"cs","카탈로니아어":"ca","칸나다어":"kn","쿠르드어":"ku","크로아티아어":"hr","태국어":"th","터키어":"tr","텔루구어":"te","페르시아어":"fa","포르투갈어":"pt","폴란드어":"pl","프랑스어":"fr","핀란드어":"fi","한국어":"ko","헝가리어":"hu","히브리어":"he","힌디어":"hi","albanese":"sq","amarico":"am","arabo":"ar","armeno":"hy","azero":"az","bielorusso":"be","bulgaro":"bg","catalano":"ca","ceco":"cs","cinese (semplificato)":"zh-cn","cinese (tradizionale)":"zh-tw","creolo haitiano":"ht","croato":"hr","curdo (kurmanji)":"ku","danese":"da","ebraico":"he","estone":"et","finlandese":"fi","francese":"fr","gaelico scozzese":"gd","galiziano":"gl","gallese":"cy","giapponese":"ja","greco":"el","indonesiano":"id","inglese":"en","irlandese":"ga","islandese":"is","latino":"la","lettone":"lv","macedone":"mk","malese":"ms","mongolo":"mn","norvegese":"nb","olandese":"nl","persiano":"fa","polacco":"pl","portoghese":"pt","rumeno":"ro","serbo":"sr","slovacco":"sk","sloveno":"sl","spagnolo":"es","svedese":"sv","tailandese":"th","tedesco":"de","ucraino":"uk","ungherese":"hu","quốc tế ngữ":"eo","tiếng ả rập":"ar","tiếng albania":"sq","tiếng amharic":"am","tiếng anh":"en","tiếng armenia":"hy","tiếng azerbaijan":"az","tiếng ba lan":"pl","tiếng ba tư":"fa","tiếng basque":"eu","tiếng belarus":"be","tiếng bồ đào nha":"pt","tiếng bulgaria":"bg","tiếng catalan":"ca","tiếng creole ở haiti":"ht","tiếng croatia":"hr","tiếng do thái":"he","tiếng đan mạch":"da","tiếng đức":"de","tiếng estonia":"et","tiếng gael scotland":"gd","tiếng galicia":"gl","tiếng hà lan":"nl","tiếng hàn":"ko","tiếng hindi":"hi","tiếng hungary":"hu","tiếng hy lạp":"el","tiếng iceland":"is","tiếng indonesia":"id","tiếng ireland":"ga","tiếng kannada":"kn","tiếng kurd":"ku","tiếng latinh":"la","tiếng latvia":"lv","tiếng litva":"lt","tiếng mã lai":"ms","tiếng macedonia":"mk","tiếng malayalam":"ml","tiếng malta":"mt","tiếng maori":"mi","tiếng marathi":"mr","tiếng mông cổ":"mn","tiếng myanmar":"my","tiếng na uy":"nb","tiếng nga":"ru","tiếng nhật":"ja","tiếng pháp":"fr","tiếng phần lan":"fi","tiếng rumani":"ro","tiếng séc":"cs","tiếng serbia":"sr","tiếng slovak":"sk","tiếng slovenia":"sl","tiếng tây ban nha":"es","tiếng telugu":"te","tiếng thái":"th","tiếng thổ nhĩ kỳ":"tr","tiếng thụy điển":"sv","tiếng trung (giản thể)":"zh-cn","tiếng trung (phồn thể)":"zh-tw","tiếng ukraina":"uk","tiếng uzbek":"uz","tiếng việt":"vi","tiếng xứ wales":"cy","tiếng ý":"it","tiếng zulu":"zu","にほんご":"ja"},"scratchToGoogleMap":{"zh-cn":"zh","nb":"no","he":"iw","es-419":"es","pt-br":"pt","ja-hira":"ja"},"previouslySupported":["ab","ms","be","eo","hy","hi","kn","ht","ku","la","mk","ml","mt","mr","mn","my","nn","sq","te","uz"],"spokenLanguages":{"en":[{"code":"zh-cn","name":"Chinese (Mandarin)"}],"cy":[{"code":"zh-cn","name":"Tsieineaidd (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portiwgaleg (Brasil)"},{"code":"es-419","name":"Sbaeneg (America Ladin)"}],"zu":[{"code":"zh-cn","name":"IsiShayina (isiMandarin)"},{"code":"hi","name":"IsiHindi"},{"code":"pt-br","name":"IsiPutukezi (saseBrazil)"},{"code":"es-419","name":"ISpanishi (Latin American)"}],"ko":[{"code":"zh-cn","name":"중국어 (북경어)"},{"code":"hi","name":"힌디 어"},{"code":"pt-br","name":"포르투갈어 (브라질)"},{"code":"es-419","name":"스페인어 (라틴 아메리카)"}],"az":[{"code":"zh-cn","name":"Çin (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portuqal (Braziliya)"},{"code":"es-419","name":"İspan (Latın Amerikası)"}],"he":[{"code":"zh-cn","name":"סינית (מנדרינית)"},{"code":"hi","name":"הינדי"},{"code":"pt-br","name":"פורטוגזית (ברזילאית)"},{"code":"es-419","name":"ספרדית (אמריקה הלטינית)"}],"mk":[{"code":"zh-cn","name":"Кинески (мандарински)"},{"code":"hi","name":"Хинди"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Шпански (Латинска Америка)"}],"am":[{"code":"zh-cn","name":"ቻይንኛ (ማንዳሪን)"},{"code":"hi","name":"ሂንዲ"},{"code":"pt-br","name":"ፖርቱጋልኛ (ብራዚላዊ)"},{"code":"es-419","name":"ስፓኒሽ (ላቲን አሜሪካ)"}],"mr":[{"code":"zh-cn","name":"चीनी (मंदारिन)"},{"code":"hi","name":"हिंदी"},{"code":"pt-br","name":"पोर्तुगीज (ब्राझिलियन)"},{"code":"es-419","name":"स्पॅनिश (लॅटिन अमेरिकन)"}],"cs":[{"code":"zh-cn","name":"Čínština (mandarinka)"},{"code":"hi","name":"hindština"},{"code":"pt-br","name":"Portugalština (brazilská)"},{"code":"es-419","name":"Španělština (latinskoamerická)"}],"zh-cn":[{"code":"zh-cn","name":"中文"},{"code":"hi","name":"印地语"},{"code":"pt-br","name":"葡萄牙语(巴西)"},{"code":"es-419","name":"西班牙语(拉丁美洲)"}],"la":[{"code":"zh-cn","name":"Seres (Latin)"},{"code":"hi","name":"Hibernica"},{"code":"pt-br","name":"Portuguese (Spanish)"},{"code":"es-419","name":"Hispanica (Latin American)"}],"nn":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"my":[{"code":"zh-cn","name":"တရုတ် (တရုတ်)"},{"code":"hi","name":"ဟိန္ဒီ"},{"code":"pt-br","name":"ပေါ်တူဂီ (ဘရာဇီး)"},{"code":"es-419","name":"စပိန်ဘာသာစကား (လက်တင်အမေရိက)"}],"ga":[{"code":"zh-cn","name":"Sínis (Mandairínis)"},{"code":"hi","name":"Hiondúis"},{"code":"pt-br","name":"Portaingéilis (Brasaíle)"},{"code":"es-419","name":"Spáinnis (Meiriceá Laidineach)"}],"es":[{"code":"zh-cn","name":"Chino (Mandarín)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugués (brasileño)"},{"code":"es-419","name":"Español (latinoamericano)"}],"nl":[{"code":"zh-cn","name":"Chinees (Mandarijn)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugees (Braziliaans)"},{"code":"es-419","name":"Spaans (Latijns-Amerikaans)"}],"zh-tw":[{"code":"zh-cn","name":"中文"},{"code":"hi","name":"印地語"},{"code":"pt-br","name":"葡萄牙語(巴西)"},{"code":"es-419","name":"西班牙語(拉丁美洲)"}],"pt-br":[{"code":"zh-cn","name":"Mandarim (chinês)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Português (brasileiro)"},{"code":"es-419","name":"Espanhol (latino-americano)"}],"kn":[{"code":"zh-cn","name":"ಚೈನೀಸ್ (ಮ್ಯಾಂಡರಿನ್)"},{"code":"hi","name":"ಹಿಂದಿ"},{"code":"pt-br","name":"ಪೋರ್ಚುಗೀಸ್ (ಬ್ರೆಜಿಲಿಯನ್)"},{"code":"es-419","name":"ಸ್ಪ್ಯಾನಿಷ್ (ಲ್ಯಾಟಿನ್ ಅಮೇರಿಕನ್)"}],"uz":[{"code":"zh-cn","name":"Xitoy (Mandarin)"},{"code":"hi","name":"Hindcha"},{"code":"pt-br","name":"Portugal (Braziliya)"},{"code":"es-419","name":"Ispan (Lotin Amerikasi)"}],"ja":[{"code":"zh-cn","name":"中国語(標準語)"},{"code":"hi","name":"ヒンディー語"},{"code":"pt-br","name":"ポルトガル語(ブラジル)"},{"code":"es-419","name":"スペイン語(ラテンアメリカ)"}],"is":[{"code":"zh-cn","name":"Kínverska (Mandarin)"},{"code":"hi","name":"Hindí"},{"code":"pt-br","name":"Portúgalska (brasilíska)"},{"code":"es-419","name":"Spænska (rómönsku-ameríska)"}],"sk":[{"code":"zh-cn","name":"Čínština (mandarínska)"},{"code":"hi","name":"hindčina"},{"code":"pt-br","name":"Portugalčina (brazílska)"},{"code":"es-419","name":"Španielčina (latinskoamerická)"}],"ht":[{"code":"zh-cn","name":"Chinwa (Mandaren)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Pòtigè (brezilyen)"},{"code":"es-419","name":"Panyòl (Amerik Latin)"}],"bg":[{"code":"zh-cn","name":"Китайски (мандарин)"},{"code":"hi","name":"хинди"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Испански (латиноамерикански)"}],"de":[{"code":"zh-cn","name":"Chinesisch (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugiesisch (brasilianisch)"},{"code":"es-419","name":"Spanisch (Lateinamerikanisch)"}],"gd":[{"code":"zh-cn","name":"Sìneach (Mandarin)"},{"code":"hi","name":"Indeach"},{"code":"pt-br","name":"Portuguese (Brazilian)"},{"code":"es-419","name":"Spàinntis (Ameireagaidh Laidinn)"}],"et":[{"code":"zh-cn","name":"Hiina (mandariini)"},{"code":"hi","name":"Hindi keel"},{"code":"pt-br","name":"Portugali (Brasiilia)"},{"code":"es-419","name":"Hispaania keel (Ladina-Ameerika)"}],"fi":[{"code":"zh-cn","name":"Kiina (mandariini)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugali (brasilia)"},{"code":"es-419","name":"Espanja (Latinalainen Amerikka)"}],"ar":[{"code":"zh-cn","name":"الصينية (الماندرين)"},{"code":"hi","name":"الهندية"},{"code":"pt-br","name":"البرتغالية (البرازيلية)"},{"code":"es-419","name":"الإسبانية (أمريكا اللاتينية)"}],"hu":[{"code":"zh-cn","name":"Kínai (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugál (brazil)"},{"code":"es-419","name":"Spanyol (latin-amerikai)"}],"mt":[{"code":"zh-cn","name":"Ċiniż (Mandarin)"},{"code":"hi","name":"Ħindi"},{"code":"pt-br","name":"Portugiż (Brażiljan)"},{"code":"es-419","name":"Spanjol (Latin-Amerikan)"}],"ro":[{"code":"zh-cn","name":"Chineză (mandarină)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugheză (braziliană)"},{"code":"es-419","name":"Spaniolă (latino-americană)"}],"fa":[{"code":"zh-cn","name":"چینی (ماندارین)"},{"code":"hi","name":"هندی"},{"code":"pt-br","name":"پرتغالی (برزیلی)"},{"code":"es-419","name":"اسپانیایی (آمریکای لاتین)"}],"hi":[{"code":"zh-cn","name":"चीनी (मंदारिन)"},{"code":"hi","name":"हिन्दी"},{"code":"pt-br","name":"पुर्तगाली (ब्राजील)"},{"code":"es-419","name":"स्पेनिश (लैटिन अमेरिकी)"}],"eo":[{"code":"zh-cn","name":"Ĉina (mandarena)"},{"code":"hi","name":"Hinda"},{"code":"pt-br","name":"Portugala (brazila)"},{"code":"es-419","name":"Hispana (latina)"}],"lt":[{"code":"zh-cn","name":"Kinų (mandarinų)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugalų (Brazilijos)"},{"code":"es-419","name":"Ispanų (Lotynų Amerikos)"}],"it":[{"code":"zh-cn","name":"Cinese (mandarino)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portoghese (brasiliano)"},{"code":"es-419","name":"Spagnolo (latino-americano)"}],"el":[{"code":"zh-cn","name":"Κινέζικα (μανταρινικά)"},{"code":"hi","name":"Χίντι"},{"code":"pt-br","name":"Πορτογαλικά (Βραζιλίας)"},{"code":"es-419","name":"Ισπανικά (Λατινικής Αμερικής)"}],"mi":[{"code":"zh-cn","name":"Hainamana (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Potukua (Brazil)"},{"code":"es-419","name":"Pāniora (Latin American)"}],"hr":[{"code":"zh-cn","name":"Kineski (mandarinski)"},{"code":"hi","name":"hindski"},{"code":"pt-br","name":"Portugalski (brazilski)"},{"code":"es-419","name":"Španjolski (latinoamerički)"}],"ca":[{"code":"zh-cn","name":"Xinès (mandarí)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portuguès (brasiler)"},{"code":"es-419","name":"Espanyol (llatinoamericà)"}],"th":[{"code":"zh-cn","name":"จีน (แมนดาริน)"},{"code":"hi","name":"ภาษาฮินดี"},{"code":"pt-br","name":"โปรตุเกส (บราซิล)"},{"code":"es-419","name":"สเปน (ละตินอเมริกา)"}],"hy":[{"code":"zh-cn","name":"Չինարեն (մանդարին)"},{"code":"hi","name":"Հինդի"},{"code":"pt-br","name":"Պորտուգալերեն (բրազիլական)"},{"code":"es-419","name":"Իսպաներեն (լատինաամերիկյան)"}],"id":[{"code":"zh-cn","name":"Mandarin (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugis (Brasil)"},{"code":"es-419","name":"Spanyol (Amerika Latin)"}],"eu":[{"code":"zh-cn","name":"Txinera (mandarina)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugesa (brasildarra)"},{"code":"es-419","name":"Espainiera (latinoamerikarra)"}],"da":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"ru":[{"code":"zh-cn","name":"Китайский (мандарин)"},{"code":"hi","name":"хинди"},{"code":"pt-br","name":"Португальский (бразильский)"},{"code":"es-419","name":"Испанский (латиноамериканский)"}],"sr":[{"code":"zh-cn","name":"Кинески (мандарински)"},{"code":"hi","name":"Хиндски"},{"code":"pt-br","name":"Португалски (бразилски)"},{"code":"es-419","name":"Шпански (латиноамерички)"}],"gl":[{"code":"zh-cn","name":"Chinés (mandarín)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugués (brasileiro)"},{"code":"es-419","name":"Español (latinoamericano)"}],"lv":[{"code":"zh-cn","name":"Ķīniešu (mandarīnu)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugāļu (Brazīlijas)"},{"code":"es-419","name":"Spāņu (latīņamerikāņu)"}],"nb":[{"code":"zh-cn","name":"Kinesisk (mandarin)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugisisk (brasiliansk)"},{"code":"es-419","name":"Spansk (latinamerikansk)"}],"tr":[{"code":"zh-cn","name":"Çin (mandalinası)"},{"code":"hi","name":"Hintçe"},{"code":"pt-br","name":"Portekizce (Brezilya)"},{"code":"es-419","name":"İspanyolca (Latin Amerika)"}],"fr":[{"code":"zh-cn","name":"Mandarin (chinois)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugais (brésilien)"},{"code":"es-419","name":"Espagnol (latino-américain)"}],"sv":[{"code":"zh-cn","name":"Kinesiska (mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugisiska (brasilianska)"},{"code":"es-419","name":"Spanska (latinamerikanska)"}],"sl":[{"code":"zh-cn","name":"Kitajščina (mandarina)"},{"code":"hi","name":"Hindujščina"},{"code":"pt-br","name":"Portugalščina (brazilska)"},{"code":"es-419","name":"Španščina (latinskoameriška)"}],"ml":[{"code":"zh-cn","name":"ചൈനീസ് (മന്ദാരിൻ)"},{"code":"hi","name":"ഹിന്ദി"},{"code":"pt-br","name":"പോർച്ചുഗീസ് (ബ്രസീൽ)"},{"code":"es-419","name":"സ്പാനിഷ് (ലാറ്റിൻ അമേരിക്കൻ)"}],"be":[{"code":"zh-cn","name":"Кітайская (мандарын)"},{"code":"hi","name":"Хіндзі"},{"code":"pt-br","name":"Партугальская (бразільскі)"},{"code":"es-419","name":"Іспанская (лацінаамерыканская)"}],"pl":[{"code":"zh-cn","name":"Chiński (mandaryński)"},{"code":"hi","name":"hinduski"},{"code":"pt-br","name":"Portugalski (brazylijski)"},{"code":"es-419","name":"Hiszpański (latynoamerykański)"}],"pt":[{"code":"zh-cn","name":"Mandarim (chinês)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Português (brasileiro)"},{"code":"es-419","name":"Espanhol (latino-americano)"}],"ku":[{"code":"zh-cn","name":"Chinese (Mandarin)"},{"code":"hi","name":"Hindî"},{"code":"pt-br","name":"Portekîz (Brazilian)"},{"code":"es-419","name":"Spanish (Amerîkaya Latîn)"}],"sq":[{"code":"zh-cn","name":"Kinezisht (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugeze (Braziliane)"},{"code":"es-419","name":"Spanjisht (Amerika Latine)"}],"ms":[{"code":"zh-cn","name":"Cina (Mandarin)"},{"code":"hi","name":"Hindi"},{"code":"pt-br","name":"Portugis (Brazil)"},{"code":"es-419","name":"Sepanyol (Amerika Latin)"}],"vi":[{"code":"zh-cn","name":"Tiếng trung quốc"},{"code":"hi","name":"Tiếng Hindi"},{"code":"pt-br","name":"Bồ Đào Nha (Brazil)"},{"code":"es-419","name":"Tây Ban Nha (Mỹ Latinh)"}],"te":[{"code":"zh-cn","name":"చైనీస్ (మాండరిన్)"},{"code":"hi","name":"హిందీ"},{"code":"pt-br","name":"పోర్చుగీస్ (బ్రెజిలియన్)"},{"code":"es-419","name":"స్పానిష్ (లాటిన్ అమెరికన్)"}],"uk":[{"code":"zh-cn","name":"Китайська (мандарин)"},{"code":"hi","name":"Хінді"},{"code":"pt-br","name":"Португальська (бразильська)"},{"code":"es-419","name":"Іспанська (латиноамериканська)"}],"mn":[{"code":"zh-cn","name":"Хятад хэл (Мандарин)"},{"code":"hi","name":"Хинди хэл"},{"code":"pt-br","name":"Португал хэл (Бразил)"},{"code":"es-419","name":"Испани хэл (Латин Америк)"}],"es-419":[{"code":"zh-cn","name":"Chino (Mandarín)"},{"code":"hi","name":"hindi"},{"code":"pt-br","name":"Portugués (brasileño)"},{"code":"es-419","name":"Español (latinoamericano)"}],"ja-hira":[{"code":"zh-cn","name":"中国語(標準語)"},{"code":"hi","name":"ヒンディー語"},{"code":"pt-br","name":"ポルトガル語(ブラジル)"},{"code":"es-419","name":"スペイン語(ラテンアメリカ)"}]}}')},function(e,A){e.exports=function(e,A,t){var o=null,n=window.AbortController?new window.AbortController:null,a=n?n.signal:null;return Promise.race([fetch(e,Object.assign({signal:a},A)).then(function(e){return clearTimeout(o),e}),new Promise(function(e,A){o=setTimeout(function(){n&&n.abort(),A(new Error("Fetch timed out after ".concat(t," ms")))},t)})])}},function(e,A,t){const o=t(1164),n=t(1165),{default:a}=t(1166),r=t(1172),s=t(474);mv2Interface=new o;const l="1.2.0",u="VCNL4200",c="LEDfoot",g="LEDarm",d="LEDeye",B="roboservo3";class h{constructor(e){this.runtime=e}getPrimitives(){return{mv2_getReady:(e,A)=>this._martyIsConnectedWrapper(this.getReady.bind(this,e,A)),mv2_discoChangeBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBackColour.bind(this,e,A)),mv2_discoSetBreatheBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoSetBreatheBackColour.bind(this,e,A)),mv2_discoTurnOffBackColour:(e,A)=>this._martyIsConnectedWrapper(this.discoTurnOffBackColour.bind(this,e,A)),mv2_LEDEyesColour:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour.bind(this,e,A)),mv2_LEDEyesColourLEDs:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColourLEDs.bind(this,e,A)),mv2_LEDEyesColour_SpecificLED:(e,A)=>this._martyIsConnectedWrapper(this.LEDEyesColour_SpecificLED.bind(this,e,A)),mv2_RGBOperator:(e,A)=>this._martyIsConnectedWrapper(this.RGBOperator.bind(this,e,A)),mv2_HSLOperator:(e,A)=>this._martyIsConnectedWrapper(this.HSLOperator.bind(this,e,A)),mv2_discoChangeBlockPattern:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeBlockPattern.bind(this,e,A)),mv2_discoChangeRegionColour:(e,A)=>this._martyIsConnectedWrapper(this.discoChangeRegionColour.bind(this,e,A)),mv2_walk_fw:(e,A)=>this._martyIsConnectedWrapper(this.walk_fw.bind(this,e,A)),mv2_walk_bw:(e,A)=>this._martyIsConnectedWrapper(this.walk_bw.bind(this,e,A)),mv2_walk:(e,A)=>this._martyIsConnectedWrapper(this.walk.bind(this,e,A)),mv2_turn:(e,A)=>this._martyIsConnectedWrapper(this.turn.bind(this,e,A)),mv2_wiggle:(e,A)=>this._martyIsConnectedWrapper(this.wiggle.bind(this,e,A)),mv2_circle:(e,A)=>this._martyIsConnectedWrapper(this.circle.bind(this,e,A)),mv2_kick:(e,A)=>this._martyIsConnectedWrapper(this.kick.bind(this,e,A)),mv2_lean:(e,A)=>this._martyIsConnectedWrapper(this.lean.bind(this,e,A)),mv2_slide:(e,A)=>this._martyIsConnectedWrapper(this.slide.bind(this,e,A)),mv2_eyes:(e,A)=>this._martyIsConnectedWrapper(this.eyes.bind(this,e,A)),mv2_moveLeg:(e,A)=>this._martyIsConnectedWrapper(this.moveLeg.bind(this,e,A)),mv2_liftFoot:(e,A)=>this._martyIsConnectedWrapper(this.liftFoot.bind(this,e,A)),mv2_lowerFoot:(e,A)=>this._martyIsConnectedWrapper(this.lowerFoot.bind(this,e,A)),mv2_moveJoint:(e,A)=>this._martyIsConnectedWrapper(this.moveJoint.bind(this,e,A)),mv2_wave:(e,A)=>this._martyIsConnectedWrapper(this.wave.bind(this,e,A)),mv2_dance:(e,A)=>this._martyIsConnectedWrapper(this.dance.bind(this,e,A)),mv2_standStraight:(e,A)=>this._martyIsConnectedWrapper(this.standStraight.bind(this,e,A)),mv2_hold:(e,A)=>this._martyIsConnectedWrapper(this.hold.bind(this,e,A)),mv2_gripperArmBasic:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmBasic.bind(this,e,A)),mv2_gripperArmTimed:(e,A)=>this._martyIsConnectedWrapper(this.gripperArmTimed.bind(this,e,A)),ServoPosition:(e,A)=>this._martyIsConnectedWrapper(this.position.bind(this,e,A)),ServoCurrent:(e,A)=>this._martyIsConnectedWrapper(this.current.bind(this,e,A)),XAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerX.bind(this,e,A)),YAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerY.bind(this,e,A)),ZAxisMovement:(e,A)=>this._martyIsConnectedWrapper(this.accelerometerZ.bind(this,e,A)),ObstacleProximity:(e,A)=>this._martyIsConnectedWrapper(this.proximity.bind(this,e,A)),BatteryPercentage:(e,A)=>this._martyIsConnectedWrapper(this.batteryLevel.bind(this,e,A)),mv2_obstaclesense:(e,A)=>this._martyIsConnectedWrapper(this.obstacleSense.bind(this,e,A)),mv2_groundsense:(e,A)=>this._martyIsConnectedWrapper(this.groundSense.bind(this,e,A)),mv2_coloursense:(e,A)=>this._martyIsConnectedWrapper(this.colourSense.bind(this,e,A)),mv2_coloursenseraw:(e,A)=>this._martyIsConnectedWrapper(this.colourSenseRaw.bind(this,e,A)),mv2_distancesense:(e,A)=>this._martyIsConnectedWrapper(this.distanceSense.bind(this,e,A)),mv2_lightsense:(e,A)=>this._martyIsConnectedWrapper(this.lightSense.bind(this,e,A)),mv2_noisesense:(e,A)=>this._martyIsConnectedWrapper(this.noiseSense.bind(this,e,A)),mv2_playSound:(e,A)=>this._martyIsConnectedWrapper(this.playSound.bind(this,e,A)),mv2_playSoundUntilDone:(e,A)=>this._martyIsConnectedWrapper(this.playSoundUntilDone.bind(this,e,A)),mv2_playNote:(e,A)=>this._martyIsConnectedWrapper(this.playNote.bind(this,e,A)),mv2_playTone:(e,A)=>this._martyIsConnectedWrapper(this.playTone.bind(this,e,A)),mv2_stopSounds:(e,A)=>this._martyIsConnectedWrapper(this.stopSounds.bind(this,e,A)),mv2_changePitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changeeffectby.bind(this,e,A)),mv2_setPitchEffect:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_seteffectto.bind(this,e,A)),mv2_clearSoundEffects:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_cleareffects.bind(this,e,A)),mv2_changeVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_changevolumeby.bind(this,e,A)),mv2_setVolume:(e,A)=>this._martyIsConnectedWrapper(window.vm.runtime._primitives.sound_setvolumeto.bind(this,e,A)),mv2_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.demo_sensor.bind(this,e,A)),mv2_set_demo_sensor:(e,A)=>this._martyIsConnectedWrapper(this.set_demo_sensor.bind(this,e,A)),mv2_set_ip:(e,A)=>this._martyIsConnectedWrapper(this.set_ip.bind(this,e,A))}}_martyIsConnectedWrapper(e){return mv2Interface.isConnected?e():(window.vm.runtime.stopAll(),mv2Interface.send_REST("notification/warn-message/You are not currently connected to a Marty. Please connect."))}getColourHexString(e){let A;switch(parseInt(e)){case 0:A="ff0000";break;case 1:A="00ff00";break;case 2:A="0000ff";break;case 3:A="ff00d9";break;case 4:A="fcec00";break;case 5:A="ffffff";break;case 6:default:A="000000"}return A}getDiscoBoardType(e){let A;switch(parseInt(e)){case 0:A=d;break;case 1:A=g;break;case 2:A=c;break;case 3:A="all";break;default:A=0}return console.log("returning: "+A),A}colorToLEDAddonStr(e){return this.hexstr(parseInt(e[0]/20),2)+this.hexstr(parseInt(e[1]/20),2)+this.hexstr(parseInt(e[2]/20),2)}decTo4cHexString(e){let A=e.toString(16);return 1==(A=A.toUpperCase()).length?A="000"+A:2==A.length?A="00"+A:3==A.length?A="0"+A:(A.length>4||0==A.length)&&(A="0000"),A}hexstr(e,A){return e<0?(e>>>0).toString(16).substr(0-A):e.toString(16).padStart(A,"0")}addonNameByWhoAmI(e){const A=JSON.parse(mv2.addons).addons;for(let t of A)if(t.whoAmI==e)return t.name;return null}getReady(e,A){return console.log("Ready, set, go!"),mv2Interface.send_REST("traj/getReady/?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}getAllDiscoBoards(e){var A=[];for(let t of e)t.whoAmI!=d&&t.whoAmI!=g&&t.whoAmI!=c||A.push(t.name);return A}getFilteredDiscoBoards(e,A){var t=[];for(let o of e)o.whoAmI==A&&t.push(o.name);return t}LEDColourPickerApiCommandBuilder(e,A){let t=`led/${e}/color/persist?`;for(let e=0;e<A.length;e++){let o=A[e].replace("#","");"5ba591"===o&&(o="000000");const n=this.ledIdMapping(e,!0);let a="&";e===A.length&&(a=""),t+=`${n}=${o}${a}`}return t}LEDEyesColourLEDs(e,A){let t=e.COLOUR_LED_EYES;"string"==typeof t&&(t=new Array(12).fill(t));const o=e.SIDE;let n=this.LEDColourPickerApiCommandBuilder(o,t);return a(mv2Interface.getMartyFwVersion(),l)||(n="notification/fw-needs-update"),console.log(n),mv2Interface.send_REST(n),new Promise(e=>setTimeout(e,200))}LEDEyesColour(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}let i=`led/${n.name}/color/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(i="notification/fw-needs-update"),console.log(i),mv2Interface.send_REST(i),new Promise(e=>setTimeout(e,200))}ledIdMapping(e,A){const t=[6,5,4,3,2,1,0,11,10,9,8,7];return A?t[(e+3)%12]:t[e]}ledIDtoHex(e){return e<10?"0"+e.toString():10===e?"0A":11===e?"0B":null}LEDEyesColour_SpecificLED(e,A){const t=e.COLOUR_LED_EYES.replace("#",""),o=+e.LED_POSITION,n=e.BOARDTYPE;let i;try{i=JSON.parse(n)}catch(e){i=n}const r=i.whoAmI;if("LEDeye"===r&&(o<0||o>11))return mv2Interface.send_REST("notification/warn-message/LED id for eyes has to be between 0 and 11"),new Promise(e=>setTimeout(e,200));if("LEDarm"===r&&(o<0||o>25))return mv2Interface.send_REST("notification/warn-message/LED id for arms has to be between 0 and 25"),new Promise(e=>setTimeout(e,200));if("LEDfoot"===r&&(o<0||o>19))return mv2Interface.send_REST("notification/warn-message/LED id for feet has to be between 0 and 19"),new Promise(e=>setTimeout(e,200));const s=this.ledIdMapping(o);let u=`led/${i.name}/setled/${s}/${t}`;return a(mv2Interface.getMartyFwVersion(),l)||(u="notification/fw-needs-update"),console.log(u),mv2Interface.send_REST(u),new Promise(e=>setTimeout(e,200))}static hexToRgb(e){var A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static componentToHex(e){if("string"==typeof e)try{e=+e}catch(e){console.log(e)}var A=e.toString(16);return 1==A.length?"0"+A:A}static rgbToHex(e,A,t){return"#"+h.componentToHex(e)+h.componentToHex(A)+h.componentToHex(t)}static hslToHex(e,A,t){t/=100;const o=A*Math.min(t,1-t)/100,n=A=>{const n=(A+e/30)%12,a=t-o*Math.max(Math.min(n-3,9-n,1),-1);return Math.round(255*a).toString(16).padStart(2,"0")};return`#${n(0)}${n(8)}${n(4)}`}RGBOperator(e,A){const t=e.NUM_R,o=e.NUM_G,n=e.NUM_B;return(!t||t>255||t<0||!o||o>255||o<0||!n||n>255||n<0)&&mv2Interface.send_REST("notification/warn-message/RGB values must be between 0 and 255"),h.rgbToHex(t,o,n)}HSLOperator(e,A){const t=e.NUM_H,o=e.NUM_S,n=e.NUM_L;(!t||t>360||t<0)&&mv2Interface.send_REST("notification/warn-message/Hue value must be between 0 and 360"),(!o||o>100||o<0)&&mv2Interface.send_REST("notification/warn-message/Saturation value must be between 0 and 100"),(!n||n>100||n<0)&&mv2Interface.send_REST("notification/warn-message/Lightness value must be between 0 and 100");const a=s.hsvToRgb({h:t,s:o/100,v:n/100});return h.rgbToHex(a.r,a.g,a.b)}discoChangeBlockPattern(e,A){const t=e.BOARDTYPE;let o;try{o=JSON.parse(t)}catch(e){o=t}const n=e.PATTERN;return"off"===n?(console.log(`led/${o.name}/off`),mv2Interface.send_REST(`led/${o.name}/off`),new Promise(e=>setTimeout(e,200))):(console.log(`led/${o.name}/pattern/${n}`),mv2Interface.send_REST(`led/${o.name}/pattern/${n}`),new Promise(e=>setTimeout(e,200)))}discoChangeBackColour(e,A){const t=e.COLOR.replace("#",""),o=h.hexToRgb(t);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=on;r=${o.r};g=${o.g};b=${o.b};rateMs=1000`)}discoSetBreatheBackColour(e,A){const t=+e.MILLISECONDS||100,o=e.COLOR.replace("#",""),n=h.hexToRgb(o);mv2Interface.send_REST(`indicator/set?pixIdx=1;blinkType=breathe;r=${n.r};g=${n.g};b=${n.b};rateMs=${t}`)}discoTurnOffBackColour(e,A){mv2Interface.send_REST("indicator/set?pixIdx=1;blinkType=off;r=0;g=0;b=0;rateMs=1000")}discoChangeRegionColour(e,A){const t=e.COLOR.replace("#",""),o=e.BOARDTYPE;let n;try{n=JSON.parse(o)}catch(e){n=o}const a=e.REGION;return mv2Interface.send_REST(`led/${n.name}/region/${a}/${t}`),new Promise(e=>setTimeout(e,200))}walk_fw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=25`),new Promise(e=>setTimeout(e,1500*t))}walk_bw(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();return console.log(`traj/step/${t}/?moveTime=1500&stepLength=-25`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&stepLength=-25`),new Promise(e=>setTimeout(e,1500*t))}walk(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);let o=parseInt(e.STEPLEN);o=Math.min(Math.max(o,-50),50);let n=parseInt(e.STEPS);if(0===n||n<0||n>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let a=parseInt(e.TURN);return a=Math.min(Math.max(a,-25),25),console.log(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),mv2Interface.send_REST(`traj/step/${n}/?stepLength=${o}&moveTime=${t}&turn=${a}`),new Promise(e=>setTimeout(e,t*n))}turn(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();let o=20;return"1"===e.SIDE&&(o*=-1),console.log(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),mv2Interface.send_REST(`traj/step/${t}/?moveTime=1500&turn=${o}&stepLength=1`),new Promise(e=>setTimeout(e,1500*t))}wiggle(e,A){return console.log("traj/wiggle/1/?moveTime=4000"),mv2Interface.send_REST("traj/wiggle/1/?moveTime=4000"),new Promise(e=>setTimeout(e,4e3))}circle(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/circle/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/circle/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}kick(e,A){const t=e.SIDE;return console.log(`traj/kick/1/?moveTime=3000&side=${t}`),mv2Interface.send_REST(`traj/kick/1/?moveTime=3000&side=${t}`),new Promise(e=>setTimeout(e,3e3))}lean(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SIDE;return console.log(`traj/lean/1/?moveTime=${t}&side=${o}`),mv2Interface.send_REST(`traj/lean/1/?moveTime=${t}&side=${o}`),new Promise(e=>setTimeout(e,t))}slide(e,A){let t=parseInt(e.STEPS);if(0===t||t<0||t>20)return mv2Interface.send_REST("notification/warn-message/Input must be a positive integer between 1 and 20!"),Promise.resolve();const o=e.SIDE;return console.log(`traj/sidestep/${t}/?side= ${o}&moveTime=1000`),mv2Interface.send_REST(`traj/sidestep/${t}/?side=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3*t))}eyes(e,A){const t=e.COMMAND;console.log(`traj/${t}`),mv2Interface.send_REST(`traj/${t}`);let o=1e3;return"wiggleEyes"===t&&(o=2e3),new Promise(e=>setTimeout(e,o))}moveLeg(e,A){const t=e.SIDE,o=e.DIRECTION;return console.log(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),mv2Interface.send_REST(`traj/joint/1/?jointID=${t}&angle=${o}&moveTime=1000`),new Promise(e=>setTimeout(e,1e3))}liftFoot(e,A){const t=e.SIDE;return console.log(`traj/liftFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/liftFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}lowerFoot(e,A){const t=e.SIDE;return console.log(`traj/lowerFoot/1/?side=${t}`),mv2Interface.send_REST(`traj/lowerFoot/1/?side=${t}`),new Promise(e=>setTimeout(e,1e3))}moveJoint(e,A){let t=1e3*parseFloat(e.MOVETIME);t=Math.min(Math.max(t,1),1e4);const o=e.SERVOCHOICE,n=e.ANGLE;return console.log(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),mv2Interface.send_REST(`traj/joint/1/?jointID=${o}&angle=${n}&moveTime=${t}`),new Promise(e=>setTimeout(e,t))}wave(e,A){const t=e.SIDE;return console.log(`traj/wave/1/?side=${t}`),mv2Interface.send_REST(`traj/wave/1/?side=${t}`),new Promise(e=>setTimeout(e,2500))}dance(e,A){console.log("Let's dance!");return mv2Interface.send_REST("traj/dance/1?moveTime=3000"),console.log("traj/dance/1?moveTime=3000"),new Promise(e=>setTimeout(e,3e3))}standStraight(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/standStraight/?moveTime=${t}`),mv2Interface.send_REST(`traj/standStraight/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}hold(e,A){const t=1e3*parseFloat(e.MOVETIME);return console.log(`traj/hold/?moveTime=${t}`),mv2Interface.send_REST(`traj/hold/?moveTime=${t}`),new Promise(e=>setTimeout(e,t))}gripperArmMove(e,A=null,t=!0){if(!A&&!(A=this.addonNameByWhoAmI(B)))return!1;const o=e.length;if(!o)return!1;var n="00"+this.hexstr(o,2);for(i in e)n+=this.hexstr(parseInt(10*e[i][0]),4),n+=this.hexstr(e[i][1],4);return t&&mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=2001`),mv2Interface.send_REST(`elem/${A}/json?cmd=raw&hexWr=${n}`),!0}gripperArmBasic(e,A){var t=null;return t=1==e.HAND_POSITION?[[90,1e3],[90,3e4]]:[[0,1e3]],!!this.gripperArmMove(t)&&new Promise(e=>setTimeout(e,1e3))}gripperArmTimed(e,A){JSON.parse(mv2Interface.addons).addons;var t=1e3*parseFloat(e.MOVETIME);t>65500&&(t=65500);let o=null;return o=1==e.HAND_POSITION?[[90,t],[90,3e4]]:[[0,t]],!!this.gripperArmMove(o)&&new Promise(e=>setTimeout(e,t))}position(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].pos}current(e,A){let t=parseInt(e.SERVOCHOICE);return(Number.isNaN(t)||t<0||t>8)&&(t=0),JSON.parse(mv2Interface.servos).smartServos[t].current}accelerometerX(e,A){return JSON.parse(mv2Interface.accel).accel.x}accelerometerY(e,A){return JSON.parse(mv2Interface.accel).accel.y}accelerometerZ(e,A){return JSON.parse(mv2Interface.accel).accel.z}proximity(e,A){}batteryLevel(e,A){return mv2Interface.battRemainCapacityPercent}obstacleSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Touch"))return t}return!1}groundSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const e of t)if(e.name===o)for(const A in e.vals){const t=e.vals[A];if(A.includes("Air"))return!t}return!1}getHueChroma(e,A,t){const o=Math.max(e,A,t)-Math.min(e,A,t);let n=0;return(n=e>A&&e>t?(A-t)/o%6*60:A>t?60*((t-e)/o+2):60*((e-A)/o+4))<0&&(n+=360),[n,o]}colourSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(const A of t)if(A.name===e.SENSORCHOICE){let e,t,o,n,a;for(const i in A.vals){const r=A.vals[i];i.includes("Red")&&(e=r),i.includes("Green")&&(t=r),i.includes("Blue")&&(o=r),i.includes("Clear")&&(n=r),i.includes("Air")&&(a=r)}if(a)return"air";{const A=[{hue:[0,10],chroma:[75,200],clear:[40,150],name:"red"},{hue:[20,50],chroma:[100,300],clear:[100,255],name:"yellow"},{hue:[100,160],chroma:[10,100],clear:[40,150],name:"green"},{hue:[190,220],chroma:[95,230],clear:[90,255],name:"blue"},{hue:[240,320],chroma:[10,70],clear:[40,150],name:"purple"},{hue:[345,361],chroma:[75,200],clear:[40,150],name:"red"}],[a,i]=this.getHueChroma(e,t,o);for(let e of A)if(e.hue[0]<=a&&a<=e.hue[1]&&e.chroma[0]<=i&&i<=e.chroma[1]&&e.clear[0]<=n&&n<=e.clear[1])return e.name;return"unclear"}}}colourSenseRaw(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}distanceSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;let o=null;for(let e of t){if("DistanceSensorReading"in e.vals)return e.vals.DistanceSensorReading;if(e.whoAmI==u)for(const A in e.vals)A.includes("Reading")&&(o=e.vals[A])}return null!==o&&o}lightSense(e,A){const t=JSON.parse(mv2Interface.addons).addons,o=e.SENSORCHOICE;for(const A of t)if(A.name===o)for(const t in A.vals){const o=A.vals[t];if(t.includes(e.SENSORCHANNEL))return o}return null}noiseSense(e,A){const t=JSON.parse(mv2Interface.addons).addons;for(let A of t)if(A.name===e.SENSORCHOICE)for(const e in A.vals){const t=A.vals[e];if(e.includes("HighestSinceLastReading"))return t}return null}playNote(e,A){const t=JSON.parse(e.NOTES_MENU),o=t.md5ext,n=o.split(".")[0];return window.vm.runtime.storage.load(vm.runtime.storage.AssetType.Sound,n).then(e=>{const A={md5:o,name:t.name,format:t.format,data:e.data};return window.vm.runtime.audioEngine.decodeSoundPlayer(A)}).then(e=>{const A=h.convertSoundToMP3(e.buffer),t=h.convertMp3BufferToData(A);return mv2Interface.streamAudio(t,1e3*e.buffer.duration),e.setPlaybackRate(1),new Promise(A=>{const t=setTimeout(()=>{clearTimeout(t),A()},1e3*e.buffer.duration+800)})}).catch(e=>{console.log(e)})}stopSounds(e,A){mv2Interface.streamAudio([0],0)}playTone(e,A){const t=e.HZ1,o=e.HZ2,n=e.SECONDS;let a;var i=(a=window.OfflineAudioContext?new window.OfflineAudioContext(1,44100*n,44100):new window.webkitOfflineAudioContext(1,44100*n,44100)).createOscillator();i.type="sine";var r=a.currentTime;return i.frequency.setValueAtTime(t,r),i.frequency.linearRampToValueAtTime(o,r+n),i.connect(a.destination),i.start(r),i.stop(r+n),a.startRendering(),a.oncomplete=(({renderedBuffer:e})=>{const A=h.convertSoundToMP3(e),t=h.convertMp3BufferToData(A);mv2Interface.streamAudio(t,1e3*e.duration)}),new Promise(e=>setTimeout(e,1e3*n+800))}playSoundUntilDone(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:o}=A,{sprite:n}=o,{soundId:a}=n.sounds[t];if(n.soundBank){const t=n.soundBank.getSoundEffects(a),i=n.soundBank.getSoundPlayer(a);n.soundBank.playerTargets.set(a,o),t.addSoundPlayer(i),t.setEffectsFromTarget(o),i.connect(t);const r=800,s=this._addPitchEffect(t.pitch.ratio,i)/i.buffer.sampleRate;return this.playSound(e,A),new Promise(e=>setTimeout(e,1e3*s+r))}}}playSound(e,A){const t=this._getSoundIndex(e.SOUND_MENU,A);if(t>=0){const{target:e}=A,{sprite:o}=e,{soundId:n}=o.sounds[t];if(o.soundBank){const A=o.soundBank.getSoundEffects(n),t=o.soundBank.getSoundPlayer(n);o.soundBank.playerTargets.set(n,e),A.addSoundPlayer(t),A.setEffectsFromTarget(e),t.connect(A);const a=this._addPitchEffect(A.pitch.ratio,t);let i;if(window.OfflineAudioContext)i=new window.OfflineAudioContext(1,a,t.buffer.sampleRate);else{const e=44100/t.buffer.sampleRate;i=new window.webkitOfflineAudioContext(1,e*a,44100)}i.startRendering(),i.oncomplete=(({renderedBuffer:e})=>{console.log(`SOUND ${n} len ${t.buffer.length}`);const A=h.convertSoundToMP3(e),o=h.convertMp3BufferToData(A);mv2Interface.streamAudio(o,1e3*e.duration)});const r=new t.audioEngine.constructor(i),s=new t.constructor(r,{id:t.id,buffer:t.buffer});this._prepareNewPlayer(s,A.pitch.ratio),this._addVolumeEffect(i,s,e.volume/100)}return new Promise(e=>{!async function A(){return await new Promise(e=>setTimeout(e,50)),mv2Interface.isStreamStarting?A():e()}()})}}_addVolumeEffect(e,A,t){t||(t=1e-5);const{input:o,output:n}=new E(e,t,0,A.buffer.duration);o&&n?(A.outputNode.connect(o),n.connect(e.destination)):A.outputNode.connect(e.destination)}_prepareNewPlayer(e,A){e.target=null,e.playbackRate=A,e.initialized=!0,e._createSource(),e.outputNode.start(),e.isPlaying=!0}_addPitchEffect(e,A){const t=e,o=Math.floor(A.buffer.duration*A.buffer.sampleRate);return A.buffer.length-o+Math.floor(o/t)}static convertMp3BufferToData(e){let A=0;for(let t of e)A+=t.length;const t=new Int8Array(A);let o=0;for(let A of e)t.set(A,o),o+=A.length;return console.log(`encoded to MP3 len ${t.length}`),t}_testMp3SoundLocally(e){var A=new Blob(e,{type:"audio/mp3"}),t=window.URL.createObjectURL(A);console.log("MP3 URl: ",t);const o=new AudioContext;window.fetch(t).then(e=>e.arrayBuffer()).then(e=>o.decodeAudioData(e)).then(e=>{const A=o.createBufferSource();A.buffer=e,A.connect(o.destination),A.start()})}static convertSoundToMP3(e){const A=e.sampleRate/11025,t=Math.floor(e.length/A),o=new Int16Array(t),a=e.getChannelData(0);for(let e=0;e<t;e++)o[e]=32767*a[Math.floor(e*A)];const i=mv2Interface.mp3EncodingBitRate||16,r=mv2Interface.mp3EncodingSampleRate||11025;console.log(`CONVERTING TO ${i} BIT MP3 WITH ${r} SAMPLE RATE`);const s=!mv2Interface.mp3EncodingAvgFlag,l=new n.Mp3Encoder(1,r,i,s),u=[];for(var c=0;c<o.length;c+=1152){const e=o.subarray(c,c+1152);(g=l.encodeBuffer(e)).length>0&&u.push(g)}var g;return(g=l.flush()).length>0&&u.push(g),u}_convertSoundToRICRAW(e){const A=e.buffer.sampleRate/11025,t=Math.floor(e.buffer.length/A),o=new Int8Array(t),n=e.buffer.getChannelData(0);for(let e=0;e<t;e++)o[e]=127*n[Math.floor(e*A)];return o}_getSoundIndex(e,A){const t=A.target.sprite.sounds.length;if(0===t)return-1;const o=this.getSoundIndexByName(e,A);if(-1!==o)return o;const n=parseInt(e,10);return isNaN(n)?-1:MathUtil.wrapClamp(n-1,0,t-1)}getSoundIndexByName(e,A){const t=A.target.sprite.sounds;for(let A=0;A<t.length;A++)if(t[A].name===e)return A;return-1}demo_sensor(e,A){return mv2Interface.demo_sensor}set_demo_sensor(e,A){const t=parseFloat(e.SENSORVAL);mv2Interface.demo_sensor=t}set_ip(e,A){mv2Interface.set_ip(e.IP)}static toRgbColorList(e){const A=r.toRgbColorObject(e);return[A.r,A.g,A.b]}}class E{constructor(e,A,t,o){this.audioContext=e,this.input=this.audioContext.createGain(),this.output=this.audioContext.createGain(),this.gain=this.audioContext.createGain(),this.rampLength=.01,this.gain.gain.setValueAtTime(1,Math.max(0,t-this.rampLength)),this.gain.gain.exponentialRampToValueAtTime(A,t),this.gain.gain.setValueAtTime(A,o),this.gain.gain.exponentialRampToValueAtTime(1,o+this.rampLength),this.input.connect(this.gain),this.gain.connect(this.output)}}e.exports=h},function(e,A,t){(function(A){const t="object"==typeof A&&A.env&&A.env.NODE_DEBUG&&/\bsemver\b/i.test(A.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t}).call(this,t(98))},function(e,A){const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,A){class t{static get RGB_BLACK(){return{r:0,g:0,b:0}}static get RGB_WHITE(){return{r:255,g:255,b:255}}static decimalToHex(e){e<0&&(e+=16777216);let A=Number(e).toString(16);return A=`#${"000000".substr(0,6-A.length)}${A}`}static decimalToRgb(e){const A=e>>24&255;return{r:e>>16&255,g:e>>8&255,b:255&e,a:A>0?A:255}}static hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,A,t,o)=>A+A+t+t+o+o);const A=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return A?{r:parseInt(A[1],16),g:parseInt(A[2],16),b:parseInt(A[3],16)}:null}static rgbToHex(e){return t.decimalToHex(t.rgbToDecimal(e))}static rgbToDecimal(e){return(e.r<<16)+(e.g<<8)+e.b}static hexToDecimal(e){return t.rgbToDecimal(t.hexToRgb(e))}static hsvToRgb(e){let A=e.h%360;A<0&&(A+=360);const t=Math.max(0,Math.min(e.s,1)),o=Math.max(0,Math.min(e.v,1)),n=Math.floor(A/60),a=A/60-n,i=o*(1-t),r=o*(1-t*a),s=o*(1-t*(1-a));let l,u,c;switch(n){default:case 0:l=o,u=s,c=i;break;case 1:l=r,u=o,c=i;break;case 2:l=i,u=o,c=s;break;case 3:l=i,u=r,c=o;break;case 4:l=s,u=i,c=o;break;case 5:l=o,u=i,c=r}return{r:Math.floor(255*l),g:Math.floor(255*u),b:Math.floor(255*c)}}static rgbToHsv(e){const A=e.r/255,t=e.g/255,o=e.b/255,n=Math.min(Math.min(A,t),o),a=Math.max(Math.max(A,t),o);let i=0,r=0;if(n!==a){i=60*((A===n?3:t===n?5:1)-(A===n?t-o:t===n?o-A:A-t)/(a-n))%360,r=(a-n)/a}return{h:i,s:r,v:a}}static mixRgb(e,A,t){if(t<=0)return e;if(t>=1)return A;const o=1-t;return{r:o*e.r+t*A.r,g:o*e.g+t*A.g,b:o*e.b+t*A.b}}}e.exports=t},function(e,A,t){function o(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,n,a=[],i=!0,r=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!A||a.length!==A);i=!0);}catch(e){r=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(r)throw n}}return a}(e,A)||r(e,A)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=r(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(s)throw a}}}}function r(e,A){if(e){if("string"==typeof e)return s(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,A):void 0}}function s(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function l(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,A){return(u=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function c(e){var A=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var t,o=d(e);if(A){var n=d(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return function(e,A){if(A&&("object"===a(A)||"function"==typeof A))return A;return g(e)}(this,t)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B=t(99),h=t(189).OrderedMap,E=t(61),m=t(148),p=t(466),C=t(47),w=t(1175),f=t(1176),I=t(476),Q=t(1178),M=t(457),y=t(239),b=t(39),T=t(455),S=t(126),D=t(125),k=t(236),N=t(1179),R=t(1180),F=t(1181),O=t(1182),Y=t(1183),v=t(1184),U=t(1185),G=t(477),_=t(109),L=t(100),x={scratch3_control:t(1186),scratch3_event:t(1187),scratch3_looks:t(1188),scratch3_motion:t(1189),scratch3_operators:t(1190),scratch3_sound:t(1191),scratch3_sensing:t(1192),scratch3_data:t(1193),scratch3_procedures:t(1194),scratch3_mv2:t(471)},H=["#0FBD8C","#0DA57A","#0B8E69"],P=function(){var e={};return e[E.ANGLE]={shadow:{type:"math_angle",fieldName:"NUM"}},e[E.COLOR]={shadow:{type:"colour_picker",fieldName:"COLOUR"}},e[E.NUMBER]={shadow:{type:"math_number",fieldName:"NUM"}},e[E.STRING]={shadow:{type:"text",fieldName:"TEXT"}},e[E.BOOLEAN]={check:"Boolean"},e[E.MATRIX]={shadow:{type:"matrix",fieldName:"MATRIX"}},e[E.NOTE]={shadow:{type:"note",fieldName:"NOTE"}},e[E.IMAGE]={fieldType:"field_image"},e}(),j=function(){var e=0;return{canAddCloudVariable:function(){return e<10},addCloudVariable:function(){e++},removeCloudVariable:function(){e--},hasCloudVariables:function(){return e>0}}},J=-1,z=-1,W=-1,K=function(e){!function(e,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(A&&A.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),A&&u(e,A)}(t,B);var A=c(t);function t(){var e;!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,t),(e=A.call(this)).targets=[],e.executableTargets=[],e.threads=[],e.sequencer=new f(g(e)),e.flyoutBlocks=new m(g(e),!0),e.monitorBlocks=new m(g(e),!0),e._editingTarget=null,e._primitives={},e._blockInfo=[],e._hats={},e._scriptGlowsPreviousFrame=[],e._nonMonitorThreadCount=0,e._lastStepDoneThreads=null,e._cloneCounter=0,e._refreshTargets=!1,e.monitorBlockInfo={},e._monitorState=h({}),e._prevMonitorState=h({}),e.turboMode=!1,e.compatibilityMode=!1,e._steppingInterval=null,e.currentStepTime=null,e.updateCurrentMSecs(),e.redrawRequested=!1,e._registerBlockPackages(),e.ioDevices={clock:new R(g(e)),cloud:new F(g(e)),keyboard:new O(g(e)),mouse:new Y(g(e)),mouseWheel:new v(g(e)),userData:new U,video:new G(g(e))},e.peripheralExtensions={},e.profiler=null;var o=j();return e.hasCloudData=o.hasCloudVariables,e.canAddCloudVariable=o.canAddCloudVariable,e.addCloudVariable=e._initializeAddCloudVariable(o),e.removeCloudVariable=e._initializeRemoveCloudVariable(o),e.origin=null,e}return function(e,A,t){A&&l(e.prototype,A),t&&l(e,t)}(t,[{key:"_initializeAddCloudVariable",value:function(e){var A=this;return function(){var o=A.hasCloudData();e.addCloudVariable(),!o&&A.hasCloudData()&&A.emit(t.HAS_CLOUD_DATA_UPDATE,!0)}}},{key:"_initializeRemoveCloudVariable",value:function(e){var A=this;return function(){var o=A.hasCloudData();e.removeCloudVariable(),o&&!A.hasCloudData()&&A.emit(t.HAS_CLOUD_DATA_UPDATE,!1)}}},{key:"_registerBlockPackages",value:function(){for(var e in x)if(x.hasOwnProperty(e)){var A=new x[e](this);if(A.getPrimitives){var t=A.getPrimitives();for(var o in t)t.hasOwnProperty(o)&&(this._primitives[o]=t[o].bind(A))}if(A.getHats){var n=A.getHats();for(var a in n)n.hasOwnProperty(a)&&(this._hats[a]=n[a])}A.getMonitored&&(this.monitorBlockInfo=Object.assign({},this.monitorBlockInfo,A.getMonitored()))}}},{key:"getMonitorState",value:function(){return this._monitorState}},{key:"_makeExtensionMenuId",value:function(e,A){return"".concat(A,"_menu_").concat(k(e))}},{key:"makeMessageContextForTarget",value:function(e){(e=e||this.getEditingTarget()||this.getTargetForStage())&&(e.isStage?M.STAGE:M.SPRITE)}},{key:"_registerExtensionPrimitives",value:function(e){var A={id:e.id,name:T(e.name),showStatusButton:e.showStatusButton,blockIconURI:e.blockIconURI,menuIconURI:e.menuIconURI};for(var o in e.color1?(A.color1=e.color1,A.color2=e.color2,A.color3=e.color3):(A.color1=H[0],A.color2=H[1],A.color3=H[2]),this._blockInfo.push(A),this._fillExtensionCategory(A,e),A.customFieldTypes)if(e.customFieldTypes.hasOwnProperty(o)){var n=A.customFieldTypes[o];this.emit(t.EXTENSION_FIELD_ADDED,{name:"field_".concat(n.extendedName),implementation:n.fieldImplementation})}this.emit(t.EXTENSION_ADDED,A)}},{key:"_refreshExtensionPrimitives",value:function(e){var A=this._blockInfo.find(function(A){return A.id===e.id});A&&(A.name=T(e.name),this._fillExtensionCategory(A,e),this.emit(t.BLOCKSINFO_UPDATE,A))}},{key:"_fillExtensionCategory",value:function(e,A){for(var t in e.blocks=[],e.customFieldTypes={},e.menus=[],e.menuInfo={},A.menus)if(A.menus.hasOwnProperty(t)){var o=A.menus[t],n=this._buildMenuForScratchBlocks(t,o,e);e.menus.push(n),e.menuInfo[t]=o}for(var a in A.customFieldTypes)if(A.customFieldTypes.hasOwnProperty(a)){var r=A.customFieldTypes[a],s=this._buildCustomFieldInfo(a,r,A.id,e);e.customFieldTypes[a]=s}var l,u=i(A.blocks);try{for(u.s();!(l=u.n()).done;){var c=l.value;try{var g=this._convertForScratchBlocks(c,e);if(e.blocks.push(g),g.json){var d=g.json.type;c.blockType!==C.EVENT&&(this._primitives[d]=g.info.func),c.blockType!==C.EVENT&&c.blockType!==C.HAT||(this._hats[d]={edgeActivated:c.isEdgeActivated,restartExistingThreads:c.shouldRestartExistingThreads})}}catch(e){b.error("Error parsing block: ",{block:c,error:e})}}}catch(e){u.e(e)}finally{u.f()}}},{key:"_convertMenuItems",value:function(e){if("function"!=typeof e){var A=this.makeMessageContextForTarget();return e.map(function(e){var t=T(e,A);switch(a(t)){case"string":return[t,t];case"object":return[T(e.text,A),e.value];default:throw new Error("Can't interpret menu item: ".concat(JSON.stringify(e)))}})}return e}},{key:"_buildMenuForScratchBlocks",value:function(e,A,t){var o=this._makeExtensionMenuId(e,t.id),n=this._convertMenuItems(A.items);return{json:{message0:"%1",type:o,inputsInline:!0,output:"String",colour:t.color1,colourSecondary:t.color2,colourTertiary:t.color3,outputShape:A.acceptReporters?Q.OUTPUT_SHAPE_ROUND:Q.OUTPUT_SHAPE_SQUARE,args0:[{type:"field_dropdown",name:e,options:n}]}}}},{key:"_buildCustomFieldInfo",value:function(e,A,t,o){var n="".concat(t,"_").concat(e);return{fieldName:e,extendedName:n,argumentTypeInfo:{shadow:{type:n,fieldName:"field_".concat(n)}},scratchBlocksDefinition:this._buildCustomFieldTypeForScratchBlocks(n,A.output,A.outputShape,o),fieldImplementation:A.implementation}}},{key:"_buildCustomFieldTypeForScratchBlocks",value:function(e,A,t,o){return{json:{type:e,message0:"%1",inputsInline:!0,output:A,colour:o.color1,colourSecondary:o.color2,colourTertiary:o.color3,outputShape:t,args0:[{name:"field_".concat(e),type:"field_".concat(e)}]}}}},{key:"_convertForScratchBlocks",value:function(e,A){return"---"===e?this._convertSeparatorForScratchBlocks(e):e.blockType===C.BUTTON?this._convertButtonForScratchBlocks(e):this._convertBlockForScratchBlocks(e,A)}},{key:"_convertBlockForScratchBlocks",value:function(e,A){var t="".concat(A.id,"_").concat(e.opcode),o={type:t,inputsInline:!0,category:A.name,colour:A.color1,colourSecondary:A.color2,colourTertiary:A.color3},n={argsMap:{},blockJSON:o,categoryInfo:A,blockInfo:e,inputList:[]},a=e.blockIconURI||A.blockIconURI;if(a){o.extensions=["scratch_extension"],o.message0="%1 %2";var i={type:"field_image",src:a,width:40,height:40};o.args0=[i,{type:"field_vertical_separator"}]}switch(e.blockType){case C.COMMAND:o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.previousStatement=null,e.isTerminal||(o.nextStatement=null);break;case C.REPORTER:o.output="String",o.outputShape=Q.OUTPUT_SHAPE_ROUND;break;case C.BOOLEAN:o.output="Boolean",o.outputShape=Q.OUTPUT_SHAPE_HEXAGONAL;break;case C.HAT:case C.EVENT:e.hasOwnProperty("isEdgeActivated")||(e.isEdgeActivated=!0),o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.nextStatement=null;break;case C.CONDITIONAL:case C.LOOP:e.branchCount=e.branchCount||1,o.outputShape=Q.OUTPUT_SHAPE_SQUARE,o.previousStatement=null,e.isTerminal||(o.nextStatement=null)}for(var r=Array.isArray(e.text)?e.text:[e.text],s=0,l=0,u=0,c=this._convertPlaceholders.bind(this,n),g=this.makeMessageContextForTarget();s<r.length||l<e.branchCount;){if(s<r.length){n.outLineNum=u;var d=T(r[s],g).replace(/\[(.+?)]/g,c);o["message".concat(u)]?o["message".concat(u)]+=d:o["message".concat(u)]=d,++s,++u}l<e.branchCount&&(o["message".concat(u)]="%1",o["args".concat(u)]=[{type:"input_statement",name:"SUBSTACK".concat(l>0?l+1:"")}],++l,++u)}e.blockType===C.REPORTER?e.disableMonitor||0!==n.inputList.length||(o.checkboxInFlyout=!0):e.blockType===C.LOOP&&(o["lastDummyAlign".concat(u)]="RIGHT",o["message".concat(u)]="%1",o["args".concat(u)]=[{type:"field_image",src:"./static/blocks-media/repeat.svg",width:24,height:24,alt:"*",flip_rtl:!0}],++u);var B=e.isDynamic?'<mutation blockInfo="'.concat(k(JSON.stringify(e)),'"/>'):"",h=n.inputList.join(""),E='<block type="'.concat(t,'">').concat(B).concat(h,"</block>");return{info:n.blockInfo,json:n.blockJSON,xml:E}}},{key:"_convertSeparatorForScratchBlocks",value:function(e){return{info:e,xml:'<sep gap="36"/>'}}},{key:"_convertButtonForScratchBlocks",value:function(e){["MAKE_A_LIST","MAKE_A_PROCEDURE","MAKE_A_VARIABLE"].indexOf(e.func)<0&&b.error("Custom button callbacks not supported yet: ".concat(e.func));var A=this.makeMessageContextForTarget(),t=T(e.text,A);return{info:e,xml:'<button text="'.concat(t,'" callbackKey="').concat(e.func,'"></button>')}}},{key:"_constructInlineImageJson",value:function(e){return e.dataURI||b.warn("Missing data URI in extension block with argument type IMAGE"),{type:"field_image",src:e.dataURI||"",width:24,height:24,flip_rtl:e.flipRTL||!1}}},{key:"_convertPlaceholders",value:function(e,A,t){t=t.replace(/[<"&]/,"_");var o,n=e.blockInfo.arguments[t]||{},a=P[n.type]||{};if(!P[n.type]&&e.categoryInfo.customFieldTypes[n.type]&&(a=e.categoryInfo.customFieldTypes[n.type].argumentTypeInfo),"field_image"===a.fieldType)o=this._constructInlineImageJson(n);else{o={type:"input_value",name:t};var i,r,s,l=void 0===n.defaultValue?"":k(T(n.defaultValue,this.makeMessageContextForTarget()).toString());if(a.check&&(o.check=a.check),n.menu){var u=e.categoryInfo.menuInfo[n.menu];u.acceptReporters?(i=t,r=this._makeExtensionMenuId(n.menu,e.categoryInfo.id),s=n.menu):(o.type="field_dropdown",o.options=this._convertMenuItems(u.items),i=null,r=null,s=t)}else i=t,r=a.shadow&&a.shadow.type||null,s=a.shadow&&a.shadow.fieldName||null;i&&e.inputList.push('<value name="'.concat(t,'">')),r&&e.inputList.push('<shadow type="'.concat(r,'">')),l&&s&&e.inputList.push('<field name="'.concat(s,'">').concat(l,"</field>")),r&&e.inputList.push("</shadow>"),i&&e.inputList.push("</value>")}var c="args".concat(e.outLineNum),g=e.blockJSON[c]=e.blockJSON[c]||[];o&&g.push(o);var d=g.length;return e.argsMap[t]=d,"%".concat(d)}},{key:"getBlocksXML",value:function(e){return this._blockInfo.map(function(A){var t=A.name,o=A.color1,n=A.color2,a=A.blocks.filter(function(A){var t=!0;return e&&A.info.filter&&(t=A.info.filter.includes(e.isStage?M.STAGE:M.SPRITE)),t&&!A.info.hideFromPalette}),i='colour="'.concat(o,'" secondaryColour="').concat(n,'"'),r="";A.menuIconURI?r=A.menuIconURI:A.blockIconURI&&(r=A.blockIconURI);var s=r?'iconURI="'.concat(r,'"'):"",l="";return A.showStatusButton&&(l='showStatusButton="true"'),{id:A.id,xml:'<category name="'.concat(t,'" id="').concat(A.id,'" ').concat(l," ").concat(i," ").concat(s,">").concat(a.map(function(e){return e.xml}).join(""),"</category>")}})}},{key:"getBlocksJSON",value:function(){return this._blockInfo.reduce(function(e,A){return e.concat(A.blocks.map(function(e){return e.json}))},[])}},{key:"getScratchLinkSocket",value:function(e){return(this._linkSocketFactory||this._defaultScratchLinkSocketFactory)(e)}},{key:"configureScratchLinkSocketFactory",value:function(e){this._linkSocketFactory=e}},{key:"_defaultScratchLinkSocketFactory",value:function(e){return new N(e)}},{key:"registerPeripheralExtension",value:function(e,A){this.peripheralExtensions[e]=A}},{key:"scanForPeripheral",value:function(e){this.peripheralExtensions[e]&&this.peripheralExtensions[e].scan()}},{key:"connectPeripheral",value:function(e,A){this.peripheralExtensions[e]&&this.peripheralExtensions[e].connect(A)}},{key:"disconnectPeripheral",value:function(e){this.peripheralExtensions[e]&&this.peripheralExtensions[e].disconnect()}},{key:"getPeripheralIsConnected",value:function(e){var A=!1;return this.peripheralExtensions[e]&&(A=this.peripheralExtensions[e].isConnected()),A}},{key:"emitMicListening",value:function(e){this.emit(t.MIC_LISTENING,e)}},{key:"getOpcodeFunction",value:function(e){return this._primitives[e]}},{key:"getIsHat",value:function(e){return this._hats.hasOwnProperty(e)}},{key:"getIsEdgeActivatedHat",value:function(e){return this._hats.hasOwnProperty(e)&&this._hats[e].edgeActivated}},{key:"attachAudioEngine",value:function(e){this.audioEngine=e}},{key:"attachRenderer",value:function(e){this.renderer=e,this.renderer.setLayerGroupOrdering(S.LAYER_GROUPS)}},{key:"attachV2BitmapAdapter",value:function(e){this.v2BitmapAdapter=e}},{key:"attachStorage",value:function(e){this.storage=e}},{key:"_pushThread",value:function(e,A,t){var o=new y(e);return o.target=A,o.stackClick=Boolean(t&&t.stackClick),o.updateMonitor=Boolean(t&&t.updateMonitor),o.blockContainer=o.updateMonitor?this.monitorBlocks:A.blocks,o.pushStack(e),this.threads.push(o),o}},{key:"_stopThread",value:function(e){e.isKilled=!0,this.sequencer.retireThread(e)}},{key:"_restartThread",value:function(e){var A=new y(e.topBlock);A.target=e.target,A.stackClick=e.stackClick,A.updateMonitor=e.updateMonitor,A.blockContainer=e.blockContainer,A.pushStack(e.topBlock);var t=this.threads.indexOf(e);return t>-1?(this.threads[t]=A,A):(this.threads.push(e),e)}},{key:"isActiveThread",value:function(e){return e.stack.length>0&&e.status!==y.STATUS_DONE&&this.threads.indexOf(e)>-1}},{key:"isWaitingThread",value:function(e){return e.status===y.STATUS_PROMISE_WAIT||e.status===y.STATUS_YIELD_TICK||!this.isActiveThread(e)}},{key:"toggleScript",value:function(e,A){A=Object.assign({target:this._editingTarget,stackClick:!1},A);for(var t=0;t<this.threads.length;t++)if(this.threads[t].topBlock===e&&this.threads[t].status!==y.STATUS_DONE){var o=A.target.blocks,n=o.getOpcode(o.getBlock(e));if(this.getIsEdgeActivatedHat(n)&&this.threads[t].stackClick!==A.stackClick)continue;return void this._stopThread(this.threads[t])}this._pushThread(e,A.target,A)}},{key:"addMonitorScript",value:function(e,A){A||(A=this._editingTarget);for(var t=0;t<this.threads.length;t++)if(this.threads[t].topBlock===e&&this.threads[t].status!==y.STATUS_DONE&&this.threads[t].updateMonitor)return;this._pushThread(e,A,{updateMonitor:!0})}},{key:"allScriptsDo",value:function(e,A){var t=this.executableTargets;A&&(t=[A]);for(var o=t.length-1;o>=0;o--)for(var n=t[o],a=n.blocks.getScripts(),i=0;i<a.length;i++){e(a[i],n)}}},{key:"allScriptsByOpcodeDo",value:function(e,A,t){var o=this.executableTargets;t&&(o=[t]);for(var n=o.length-1;n>=0;n--)for(var a=o[n],i=p.getScripts(a.blocks,e),r=0;r<i.length;r++)A(i[r],a)}},{key:"startHats",value:function(e,A,t){var o=this;if(this._hats.hasOwnProperty(e)){var n=[],a=this._hats[e];for(var i in A)A.hasOwnProperty(i)&&(A[i]=A[i].toUpperCase());return this.allScriptsByOpcodeDo(e,function(e,t){var i=e.blockId,r=e.fieldsOfInputs;for(var s in A)if(r[s].value!==A[s])return;if(a.restartExistingThreads){for(var l=0;l<o.threads.length;l++)if(o.threads[l].target===t&&o.threads[l].topBlock===i&&!o.threads[l].stackClick)return void n.push(o._restartThread(o.threads[l]))}else for(var u=0;u<o.threads.length;u++)if(o.threads[u].target===t&&o.threads[u].topBlock===i&&!o.threads[u].stackClick&&o.threads[u].status!==y.STATUS_DONE)return;n.push(o._pushThread(i,t))},t),n.forEach(function(e){I(o.sequencer,e),e.goToNextBlock()}),n}}},{key:"dispose",value:function(){this.stopAll(),this.targets.forEach(function(e){e.isOriginal&&e.deleteMonitors()}),this.targets.map(this.disposeTarget,this),this._monitorState=h({}),this.emit(t.RUNTIME_DISPOSED),this.ioDevices.clock.resetProjectTimer(),this.hasCloudData()&&this.emit(t.HAS_CLOUD_DATA_UPDATE,!1),this.ioDevices.cloud.clear();var e=j();this.hasCloudData=e.hasCloudVariables,this.canAddCloudVariable=e.canAddCloudVariable,this.addCloudVariable=this._initializeAddCloudVariable(e),this.removeCloudVariable=this._initializeRemoveCloudVariable(e)}},{key:"addTarget",value:function(e){this.targets.push(e),this.executableTargets.push(e)}},{key:"moveExecutable",value:function(e,A){var t=this.executableTargets.indexOf(e);this.executableTargets.splice(t,1);var o=t+A;return o>this.executableTargets.length&&(o=this.executableTargets.length),o<=0&&(o=this.executableTargets.length>0&&this.executableTargets[0].isStage?1:0),this.executableTargets.splice(o,0,e),o}},{key:"setExecutablePosition",value:function(e,A){var t=this.executableTargets.indexOf(e);return this.moveExecutable(e,A-t)}},{key:"removeExecutable",value:function(e){var A=this.executableTargets.indexOf(e);A>-1&&this.executableTargets.splice(A,1)}},{key:"disposeTarget",value:function(e){this.targets=this.targets.filter(function(A){return e!==A||(A.dispose(),!1)})}},{key:"stopForTarget",value:function(e,A){this.emit(t.STOP_FOR_TARGET,e,A);for(var o=0;o<this.threads.length;o++)this.threads[o]!==A&&this.threads[o].target===e&&this._stopThread(this.threads[o])}},{key:"greenFlag",value:function(){this.stopAll(),this.emit(t.PROJECT_START),this.ioDevices.clock.resetProjectTimer(),this.targets.forEach(function(e){return e.clearEdgeActivatedValues()});for(var e=0;e<this.targets.length;e++)this.targets[e].onGreenFlag();this.startHats("event_whenflagclicked")}},{key:"stopAll",value:function(){this.emit(t.PROJECT_STOP_ALL);for(var e=[],A=0;A<this.targets.length;A++)this.targets[A].onStopAll(),this.targets[A].hasOwnProperty("isOriginal")&&!this.targets[A].isOriginal?this.targets[A].dispose():e.push(this.targets[A]);this.targets=e,null!==this.sequencer.activeThread&&this._stopThread(this.sequencer.activeThread),this.threads=[]}},{key:"_step",value:function(){for(var e in null!==this.profiler&&(-1===J&&(J=this.profiler.idByName("Runtime._step")),this.profiler.start(J)),this.threads=this.threads.filter(function(e){return!e.isKilled}),this._hats){if(this._hats.hasOwnProperty(e))this._hats[e].edgeActivated&&this.startHats(e)}this.redrawRequested=!1,this._pushMonitors(),null!==this.profiler&&(-1===z&&(z=this.profiler.idByName("Sequencer.stepThreads")),this.profiler.start(z));var A=this.sequencer.stepThreads();null!==this.profiler&&this.profiler.stop(),this._updateGlows(A),this._emitProjectRunStatus(this.threads.length+A.length-this._getMonitorThreadCount([].concat(n(this.threads),n(A)))),this._lastStepDoneThreads=A,this.renderer&&(null!==this.profiler&&(-1===W&&(W=this.profiler.idByName("RenderWebGL.draw")),this.profiler.start(W)),this.renderer.draw(),null!==this.profiler&&this.profiler.stop()),this._refreshTargets&&(this.emit(t.TARGETS_UPDATE,!1),this._refreshTargets=!1),this._prevMonitorState.equals(this._monitorState)||(this.emit(t.MONITORS_UPDATE,this._monitorState),this._prevMonitorState=this._monitorState),null!==this.profiler&&(this.profiler.stop(),this.profiler.reportFrames())}},{key:"_getMonitorThreadCount",value:function(e){var A=0;return e.forEach(function(e){e.updateMonitor&&A++}),A}},{key:"_pushMonitors",value:function(){this.monitorBlocks.runAllMonitored(this)}},{key:"setEditingTarget",value:function(e){var A=this._editingTarget;this._editingTarget=e,this._scriptGlowsPreviousFrame=[],this._updateGlows(),A!==this._editingTarget&&this.requestToolboxExtensionsUpdate()}},{key:"setCompatibilityMode",value:function(e){this.compatibilityMode=e,this._steppingInterval&&(clearInterval(this._steppingInterval),this._steppingInterval=null,this.start())}},{key:"_updateGlows",value:function(e){var A=[];A.push.apply(A,this.threads),e&&A.push.apply(A,e);for(var t=[],o=[],n=0;n<A.length;n++){var a=A[n],i=a.target;if(i===this._editingTarget){var r=a.blockGlowInFrame;if(a.requestScriptGlowInFrame||a.stackClick){var s=i.blocks.getTopLevelScript(r);s||(s=this.flyoutBlocks.getTopLevelScript(r)),s&&t.push(s)}}}for(var l=0;l<this._scriptGlowsPreviousFrame.length;l++){var u=this._scriptGlowsPreviousFrame[l];t.indexOf(u)<0?this.glowScript(u,!1):o.push(u)}for(var c=0;c<t.length;c++){var g=t[c];this._scriptGlowsPreviousFrame.indexOf(g)<0&&(this.glowScript(g,!0),o.push(g))}this._scriptGlowsPreviousFrame=o}},{key:"_emitProjectRunStatus",value:function(e){0===this._nonMonitorThreadCount&&e>0&&this.emit(t.PROJECT_RUN_START),this._nonMonitorThreadCount>0&&0===e&&this.emit(t.PROJECT_RUN_STOP),this._nonMonitorThreadCount=e}},{key:"quietGlow",value:function(e){var A=this._scriptGlowsPreviousFrame.indexOf(e);A>-1&&this._scriptGlowsPreviousFrame.splice(A,1)}},{key:"glowBlock",value:function(e,A){A?this.emit(t.BLOCK_GLOW_ON,{id:e}):this.emit(t.BLOCK_GLOW_OFF,{id:e})}},{key:"glowScript",value:function(e,A){A?this.emit(t.SCRIPT_GLOW_ON,{id:e}):this.emit(t.SCRIPT_GLOW_OFF,{id:e})}},{key:"emitBlockDragUpdate",value:function(e){this.emit(t.BLOCK_DRAG_UPDATE,e)}},{key:"emitBlockEndDrag",value:function(e,A){this.emit(t.BLOCK_DRAG_END,e,A)}},{key:"visualReport",value:function(e,A){this.emit(t.VISUAL_REPORT,{id:e,value:String(A)})}},{key:"requestAddMonitor",value:function(e){var A=e.get("id");this.requestUpdateMonitor(e)||(this._monitorState=this._monitorState.set(A,e))}},{key:"requestUpdateMonitor",value:function(e){var A=e.get("id");return!!this._monitorState.has(A)&&(this._monitorState=this._monitorState.set(A,this._monitorState.get(A).mergeWith(function(e,A){return void 0===A||null===A?e:A},e)),!0)}},{key:"requestRemoveMonitor",value:function(e){this._monitorState=this._monitorState.delete(e)}},{key:"requestHideMonitor",value:function(e){return this.requestUpdateMonitor(new Map([["id",e],["visible",!1]]))}},{key:"requestShowMonitor",value:function(e){return this.requestUpdateMonitor(new Map([["id",e],["visible",!0]]))}},{key:"requestRemoveMonitorByTargetId",value:function(e){this._monitorState=this._monitorState.filterNot(function(A){return A.targetId===e})}},{key:"getTargetById",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(t.id===e)return t}}},{key:"getSpriteTargetByName",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(!t.isStage&&(t.sprite&&t.sprite.name===e))return t}}},{key:"getTargetByDrawableId",value:function(e){for(var A=0;A<this.targets.length;A++){var t=this.targets[A];if(t.drawableID===e)return t}}},{key:"changeCloneCounter",value:function(e){this._cloneCounter+=e}},{key:"clonesAvailable",value:function(){return this._cloneCounter<t.MAX_CLONES}},{key:"emitProjectLoaded",value:function(){this.emit(t.PROJECT_LOADED)}},{key:"emitProjectChanged",value:function(){this.emit(t.PROJECT_CHANGED)}},{key:"fireTargetWasCreated",value:function(e,A){this.emit("targetWasCreated",e,A)}},{key:"fireTargetWasRemoved",value:function(e){this.emit("targetWasRemoved",e)}},{key:"getTargetForStage",value:function(){for(var e=0;e<this.targets.length;e++){var A=this.targets[e];if(A.isStage)return A}}},{key:"getEditingTarget",value:function(){return this._editingTarget}},{key:"getAllVarNamesOfType",value:function(e){var A,t=[],o=i(this.targets);try{for(o.s();!(A=o.n()).done;){var n=A.value.getAllVariableNamesInScopeByType(e,!0);t=t.concat(n)}}catch(e){o.e(e)}finally{o.f()}return t}},{key:"getLabelForOpcode",value:function(e){var A=o(_.splitFirst(e,"_"),2),t=A[0],n=A[1];if(t&&n){var a=this._blockInfo.find(function(e){return e.id===t});if(a){var i=a.blocks.find(function(e){return e.info.opcode===n});if(i)return{category:"extension",label:"".concat(a.name,": ").concat(i.info.text)}}}}},{key:"createNewGlobalVariable",value:function(e,A,t){var o="string"==typeof t?t:D.SCALAR_TYPE,n=this.getAllVarNamesOfType(o),a=_.unusedName(e,n),i=new D(A||L(),a,o);return this.getTargetForStage().variables[i.id]=i,i}},{key:"requestRedraw",value:function(){this.redrawRequested=!0}},{key:"requestTargetsUpdate",value:function(e){e.isOriginal&&(this._refreshTargets=!0)}},{key:"requestBlocksUpdate",value:function(){this.emit(t.BLOCKS_NEED_UPDATE)}},{key:"requestToolboxExtensionsUpdate",value:function(){this.emit(t.TOOLBOX_EXTENSIONS_NEED_UPDATE)}},{key:"start",value:function(){var e=this;if(!this._steppingInterval){var A=t.THREAD_STEP_INTERVAL;this.compatibilityMode&&(A=t.THREAD_STEP_INTERVAL_COMPATIBILITY),this.currentStepTime=A,this._steppingInterval=setInterval(function(){e._step()},A),this.emit(t.RUNTIME_STARTED)}}},{key:"enableProfiling",value:function(e){w.available()&&(this.profiler=new w(e))}},{key:"disableProfiling",value:function(){this.profiler=null}},{key:"updateCurrentMSecs",value:function(){this.currentMSecs=Date.now()}}],[{key:"STAGE_WIDTH",get:function(){return 480}},{key:"STAGE_HEIGHT",get:function(){return 360}},{key:"SCRIPT_GLOW_ON",get:function(){return"SCRIPT_GLOW_ON"}},{key:"SCRIPT_GLOW_OFF",get:function(){return"SCRIPT_GLOW_OFF"}},{key:"BLOCK_GLOW_ON",get:function(){return"BLOCK_GLOW_ON"}},{key:"BLOCK_GLOW_OFF",get:function(){return"BLOCK_GLOW_OFF"}},{key:"HAS_CLOUD_DATA_UPDATE",get:function(){return"HAS_CLOUD_DATA_UPDATE"}},{key:"TURBO_MODE_ON",get:function(){return"TURBO_MODE_ON"}},{key:"TURBO_MODE_OFF",get:function(){return"TURBO_MODE_OFF"}},{key:"PROJECT_START",get:function(){return"PROJECT_START"}},{key:"PROJECT_RUN_START",get:function(){return"PROJECT_RUN_START"}},{key:"PROJECT_RUN_STOP",get:function(){return"PROJECT_RUN_STOP"}},{key:"PROJECT_STOP_ALL",get:function(){return"PROJECT_STOP_ALL"}},{key:"STOP_FOR_TARGET",get:function(){return"STOP_FOR_TARGET"}},{key:"VISUAL_REPORT",get:function(){return"VISUAL_REPORT"}},{key:"PROJECT_LOADED",get:function(){return"PROJECT_LOADED"}},{key:"PROJECT_CHANGED",get:function(){return"PROJECT_CHANGED"}},{key:"TOOLBOX_EXTENSIONS_NEED_UPDATE",get:function(){return"TOOLBOX_EXTENSIONS_NEED_UPDATE"}},{key:"TARGETS_UPDATE",get:function(){return"TARGETS_UPDATE"}},{key:"MONITORS_UPDATE",get:function(){return"MONITORS_UPDATE"}},{key:"BLOCK_DRAG_UPDATE",get:function(){return"BLOCK_DRAG_UPDATE"}},{key:"BLOCK_DRAG_END",get:function(){return"BLOCK_DRAG_END"}},{key:"EXTENSION_ADDED",get:function(){return"EXTENSION_ADDED"}},{key:"EXTENSION_FIELD_ADDED",get:function(){return"EXTENSION_FIELD_ADDED"}},{key:"PERIPHERAL_LIST_UPDATE",get:function(){return"PERIPHERAL_LIST_UPDATE"}},{key:"USER_PICKED_PERIPHERAL",get:function(){return"USER_PICKED_PERIPHERAL"}},{key:"PERIPHERAL_CONNECTED",get:function(){return"PERIPHERAL_CONNECTED"}},{key:"PERIPHERAL_DISCONNECTED",get:function(){return"PERIPHERAL_DISCONNECTED"}},{key:"PERIPHERAL_REQUEST_ERROR",get:function(){return"PERIPHERAL_REQUEST_ERROR"}},{key:"PERIPHERAL_CONNECTION_LOST_ERROR",get:function(){return"PERIPHERAL_CONNECTION_LOST_ERROR"}},{key:"PERIPHERAL_SCAN_TIMEOUT",get:function(){return"PERIPHERAL_SCAN_TIMEOUT"}},{key:"MIC_LISTENING",get:function(){return"MIC_LISTENING"}},{key:"BLOCKSINFO_UPDATE",get:function(){return"BLOCKSINFO_UPDATE"}},{key:"RUNTIME_STARTED",get:function(){return"RUNTIME_STARTED"}},{key:"RUNTIME_DISPOSED",get:function(){return"RUNTIME_DISPOSED"}},{key:"BLOCKS_NEED_UPDATE",get:function(){return"BLOCKS_NEED_UPDATE"}},{key:"THREAD_STEP_INTERVAL",get:function(){return 1e3/60}},{key:"THREAD_STEP_INTERVAL_COMPATIBILITY",get:function(){return 1e3/30}},{key:"MAX_CLONES",get:function(){return 300}}]),t}();e.exports=K},function(e,A,t){function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=t(1177),r=t(465),s=t(39),l=t(239),u=t(189).Map,c=t(50),g=new i,d=-1,B=function(e){return null!==e&&"object"===a(e)&&"function"==typeof e.then},h=function(e,A,t,o,n){var a=o.id,i=o.opcode,r=o._isHat;if(t.pushReportedValue(e),r)if(A.runtime.getIsEdgeActivatedHat(i)){if(!t.stackClick){var s=t.target.hasEdgeActivatedValue(a),c=t.target.updateEdgeActivatedValue(a,e);(s?!c&&e:e)||A.retireThread(t)}}else e||A.retireThread(t);else{if(n&&void 0!==e&&t.atStackTop()&&(t.stackClick&&A.runtime.visualReport(a,e),t.updateMonitor)){var g=A.runtime.monitorBlocks.getBlock(a).targetId;if(g&&!A.runtime.getTargetById(g))return;A.runtime.requestUpdateMonitor(u({id:a,spriteName:g?A.runtime.getTargetById(g).getName():null,value:e}))}t.status=l.STATUS_RUNNING}},E=function(e,A,t,o,n){t.status===l.STATUS_RUNNING&&(t.status=l.STATUS_PROMISE_WAIT),e.then(function(e){if(h(e,A,t,o,n),n){var a,i;do{var r=t.popStack();if(null===r)return;if(null!==(i=t.target.blocks.getNextBlock(r)))break;a=t.peekStackFrame()}while(null!==a&&!a.isLoop);t.pushStack(i)}},function(e){s.warn("Primitive rejected promise: ",e),t.status=l.STATUS_RUNNING,t.popStack()})},m=function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t.id,this.opcode=t.opcode,this.fields=t.fields,this.inputs=t.inputs,this.mutation=t.mutation,this._profiler=null,this._profilerFrame=null,this._isHat=!1,this._blockFunction=null,this._definedBlockFunction=!1,this._isShadowBlock=!1,this._shadowValue=null,this._fields=Object.assign({},this.fields),this._inputs=Object.assign({},this.inputs),this._argValues={mutation:this.mutation},this._parentKey=null,this._parentValues=null,this._ops=[];var n=g.sequencer.runtime,a=this.opcode,i=this.fields,s=this.inputs;this._isHat=n.getIsHat(a),this._blockFunction=n.getOpcodeFunction(a),this._definedBlockFunction=void 0!==this._blockFunction;var l=Object.keys(i);for(var u in this._isShadowBlock=!this._definedBlockFunction&&1===l.length&&0===Object.keys(s).length,this._shadowValue=this._isShadowBlock&&i[l[0]].value,i)this._argValues[u]="VARIABLE"===u||"LIST"===u||"BROADCAST_OPTION"===u?{id:i[u].id,name:i[u].value}:i[u].value;if(delete this._inputs.custom_block,"BROADCAST_INPUT"in this._inputs){this._argValues.BROADCAST_OPTION={id:null,name:null};var c=this._inputs.BROADCAST_INPUT;if(c.block===c.shadow){var d=A.getBlock(c.shadow).fields.BROADCAST_OPTION;this._argValues.BROADCAST_OPTION.id=d.id,this._argValues.BROADCAST_OPTION.name=d.value,delete this._inputs.BROADCAST_INPUT}}for(var B in this._inputs){var h=this._inputs[B];if(h.block){var E,m=r.getCached(A,h.block,e);if(m._isHat)continue;(E=this._ops).push.apply(E,o(m._ops)),m._parentKey=B,m._parentValues=this._argValues,m._isShadowBlock&&(this._argValues[B]=m._shadowValue)}}this._definedBlockFunction&&this._ops.push(this)};e.exports=function(e,A){var t=e.runtime;g.sequencer=e,g.thread=A;var o=A.peekStack(),n=A.peekStackFrame(),a=A.blockContainer,i=r.getCached(a,o,m);if(null!==i||(a=t.flyoutBlocks,null!==(i=r.getCached(a,o,m)))){var s=i._ops,u=s.length,p=0;if(null!==n.reported){for(var C=n.reported,w=function(){var e=C[p],A=e.opCached,t=e.inputValue,o=s.find(function(e){return e.id===A});if(o){var n=o._parentKey,a=o._parentValues;"BROADCAST_INPUT"===n?(a.BROADCAST_OPTION.id=null,a.BROADCAST_OPTION.name=c.toString(t)):a[n]=t}};p<C.length;p++)w();if(C.length>0){var f=C.reverse().find(function(e){return s.find(function(A){return A.id===e.opCached})});p=f?s.findIndex(function(e){return e.id===f.opCached})+1:0}if(null!==A.justReported&&s[p]&&s[p].id===n.reporting){var I=s[p],Q=A.justReported;A.justReported=null;var M=I._parentKey,y=I._parentValues;"BROADCAST_INPUT"===M?(y.BROADCAST_OPTION.id=null,y.BROADCAST_OPTION.name=c.toString(Q)):y[M]=Q,p+=1}n.reporting=null,n.reported=null}for(var b=p;p<u;p++){var T=p===u-1,S=s[p],D=S._blockFunction,k=S._argValues;a.forceNoGlow||(A.requestScriptGlowInFrame=!0);var N=D(k,g);if(B(N)){E(N,e,A,S,T),A.justReported=null,n.reporting=s[p].id,n.reported=s.slice(0,p).map(function(e){var A=e._parentKey,t=e._parentValues;return"BROADCAST_INPUT"===A?{opCached:e.id,inputValue:t[A].BROADCAST_OPTION.name}:{opCached:e.id,inputValue:t[A]}});break}if(A.status===l.STATUS_RUNNING)if(T)h(N,e,A,S,T);else{var R=S._parentKey,F=S._parentValues;"BROADCAST_INPUT"===R?(F.BROADCAST_OPTION.id=null,F.BROADCAST_OPTION.name=c.toString(N)):F[R]=N}}if(null!==t.profiler){i._profiler!==t.profiler&&function(e,A){A._profiler=e,-1===d&&(d=e.idByName("blockFunction"));for(var t=A._ops,o=0;o<t.length;o++)t[o]._profilerFrame=e.frame(d,t[o].opcode)}(t.profiler,i);for(var O=Math.min(p+1,u),Y=b;Y<O;Y++)s[Y]._profilerFrame.count+=1}}else e.retireThread(A)}},function(e,A,t){function o(e,A,t){return(o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,A,t){var o=[null];o.push.apply(o,A);var a=new(Function.bind.apply(e,o));return t&&n(a,t.prototype),a}).apply(null,arguments)}function n(e,A){return(n=Object.setPrototypeOf||function(e,A){return e.__proto__=A,e})(e,A)}function a(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,A){if(!e)return;if("string"==typeof e)return i(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,A)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function r(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=t(126),l=function(){function e(A){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.runtime=A,this.provider=null,this._skinId=-1,this._drawable=-1,this._ghost=0,this._forceTransparentPreview=!1}return function(e,A,t){A&&r(e.prototype,A),t&&r(e,t)}(e,[{key:"setProvider",value:function(e){this.provider=e}},{key:"enableVideo",value:function(){var e=this;return this.provider?this.provider.enableVideo().then(function(){return e._setupPreview()}):null}},{key:"disableVideo",value:function(){if(this._disablePreview(),!this.provider)return null;this.provider.disableVideo()}},{key:"getFrame",value:function(A){var t=A.dimensions,o=void 0===t?e.DIMENSIONS:t,n=A.mirror,a=void 0===n?this.mirror:n,i=A.format,r=void 0===i?e.FORMAT_IMAGE_DATA:i,s=A.cacheTimeout,l=void 0===s?this._frameCacheTimeout:s;return this.provider?this.provider.getFrame({dimensions:o,mirror:a,format:r,cacheTimeout:l}):null}},{key:"setPreviewGhost",value:function(e){this._ghost=e,-1!==this._drawable&&this.runtime.renderer.updateDrawableEffect(this._drawable,"ghost",this._forceTransparentPreview?100:e)}},{key:"_disablePreview",value:function(){-1!==this._skinId&&(this.runtime.renderer.updateBitmapSkin(this._skinId,o(ImageData,a(e.DIMENSIONS)),1),this.runtime.renderer.updateDrawableVisible(this._drawable,!1)),this._renderPreviewFrame=null}},{key:"_setupPreview",value:function(){var A=this,t=this.runtime.renderer;t&&(-1===this._skinId&&-1===this._drawable&&(this._skinId=t.createBitmapSkin(o(ImageData,a(e.DIMENSIONS)),1),this._drawable=t.createDrawable(s.VIDEO_LAYER),t.updateDrawableSkinId(this._drawable,this._skinId)),this._renderPreviewFrame||(t.updateDrawableEffect(this._drawable,"ghost",this._forceTransparentPreview?100:this._ghost),t.updateDrawableVisible(this._drawable,!0),this._renderPreviewFrame=function(){if(clearTimeout(A._renderPreviewTimeout),A._renderPreviewFrame){A._renderPreviewTimeout=setTimeout(A._renderPreviewFrame,A.runtime.currentStepTime);var n=A.getFrame({format:e.FORMAT_IMAGE_DATA,cacheTimeout:A.runtime.currentStepTime});n?(t.updateBitmapSkin(A._skinId,n,1),A.runtime.requestRedraw()):t.updateBitmapSkin(A._skinId,o(ImageData,a(e.DIMENSIONS)),1)}},this._renderPreviewFrame()))}},{key:"videoReady",get:function(){return!!this.provider&&this.provider.videoReady}},{key:"postData",value:function(e){var A=e.forceTransparentPreview;this._forceTransparentPreview=A,this.setPreviewGhost(this._ghost)}}],[{key:"FORMAT_IMAGE_DATA",get:function(){return"image-data"}},{key:"FORMAT_CANVAS",get:function(){return"canvas"}},{key:"DIMENSIONS",get:function(){return[480,360]}},{key:"ORDER",get:function(){return 1}}]),e}();e.exports=l},function(e,A,t){var o=t(100);e.exports=function(e){for(var A={},t=0;t<e.length;t++){var n=o(),a=e[t].id;e[t].id=A[a]=n}for(var i=0;i<e.length;i++){for(var r in e[i].inputs){var s=e[i].inputs[r];s.block=A[s.block],s.shadow=A[s.shadow]}e[i].parent&&(e[i].parent=A[e[i].parent]),e[i].next&&(e[i].next=A[e[i].next])}}},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var a=t(1207),i=t(321),r=t(480),s=t(1208),l=t(1209),u=function(e,A){var t=[];return function e(o){o.localName!==A&&void 0!==A||!o.getAttribute||t.push(o);for(var n=0;n<o.childNodes.length;n++)e(o.childNodes[n])}(e),t},c=function(e){var A,t,o=document.createElement("span"),n=e.outerHTML,i=a.sanitize(n,{USE_PROFILES:{svg:!0},FORBID_TAGS:["a","audio","canvas","video"],ADD_DATA_URI_TAGS:["image"]});try{o.innerHTML=i,document.body.appendChild(o),A=o.children[0].getBBox()}finally{document.body.removeChild(o)}t=0===A.width||0===A.height?0:function(e){var A=0;return function e(t){t.getAttribute&&(t.getAttribute("stroke")&&(A=Math.max(A,1)),t.getAttribute("stroke-width")&&(A=Math.max(A,Number(t.getAttribute("stroke-width"))||0)));for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e),A}(e)/2;var r=A.width+2*t,s=A.height+2*t,l=A.x-t,u=A.y-t;e.setAttribute("width",r),e.setAttribute("height",s),e.setAttribute("viewBox","".concat(l," ").concat(u," ").concat(r," ").concat(s))},g=function(e,A){A&&function(e){var A,t=o(u(e,"linearGradient"));try{for(t.s();!(A=t.n()).done;){var n=A.value;n.getAttribute("x2")||n.setAttribute("x2","0")}}catch(e){t.e(e)}finally{t.f()}}(e),l(e,window),function(e){var A,t="image-rendering: optimizespeed; image-rendering: pixelated;",n=o(u(e,"image"));try{for(n.s();!(A=n.n()).done;){var a=A.value;a.getAttribute("style")?a.setAttribute("style","".concat(t," ").concat(a.getAttribute("style"))):a.setAttribute("style",t)}}catch(e){n.e(e)}finally{n.f()}}(e),A?(function(e){var A=[];!function e(t){"text"===t.localName&&A.push(t);for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e),r(e);for(var t=0,n=A;t<n.length;t++){var a=n[t];a.removeAttribute("x"),a.removeAttribute("y"),a.setAttribute("alignment-baseline","text-before-edge"),a.setAttribute("xml:space","preserve"),a.getAttribute("font-size")||a.setAttribute("font-size","18");var s=a.textContent,l=parseFloat(a.getAttribute("font-size")),u=0,c=1.2;if("Handwriting"===a.getAttribute("font-family")?(c=2,u=-11*l/22):"Scratch"===a.getAttribute("font-family")?(c=.89,u=-3*l/22):"Curly"===a.getAttribute("font-family")?(c=1.38,u=-6*l/22):"Marker"===a.getAttribute("font-family")?(c=1.45,u=-6*l/22):"Sans Serif"===a.getAttribute("font-family")?(c=1.13,u=-3*l/22):"Serif"===a.getAttribute("font-family")&&(c=1.25,u=-4*l/22),0===a.transform.baseVal.numberOfItems){var g=e.createSVGTransform();a.transform.baseVal.appendItem(g)}var d=a.transform.baseVal.getItem(0).matrix;if(d.e+=2*d.a+d.c*u,d.f+=2*d.b+d.d*u,s&&0===a.childElementCount){a.textContent="";var B=s.split("\n");s="";var h,E=o(B);try{for(E.s();!(h=E.n()).done;){var m=h.value,p=i.create("tspan");p.setAttribute("x","0"),p.setAttribute("style","white-space: pre"),p.setAttribute("dy","".concat(c,"em")),p.textContent=m||" ",a.appendChild(p)}}catch(e){E.e(e)}finally{E.f()}}}}(e),c(e),function(e){var A,t=o(u(e));try{for(t.s();!(A=t.n()).done;){var n=A.value;if(n.style){var a=n.style.stroke||n.getAttribute("stroke");a&&a.match(/^url\(#.*\)$/)&&(n.style["stroke-linejoin"]="round",n.style["stroke-linecap"]="round")}}}catch(e){t.e(e)}finally{t.f()}}(e)):e.getAttribute("viewBox")?e.getAttribute("width")&&e.getAttribute("height")||(e.setAttribute("width",e.viewBox.baseVal.width),e.setAttribute("height",e.viewBox.baseVal.height)):c(e)};e.exports=function(e,A){var t=new DOMParser;e=s(e);var o=t.parseFromString(e,"text/xml");if(o.childNodes.length<1||"svg"!==o.documentElement.localName)throw new Error("Document does not appear to be SVG.");var n=o.documentElement;return g(n,A),n}},function(e,A){e.exports=function(e){var A=[];!function e(t){"text"===t.localName&&A.push(t);for(var o=0;o<t.childNodes.length;o++)e(t.childNodes[o])}(e);for(var t=0,o=A;t<o.length;t++){var n=o[t];n.getAttribute("font-family")&&"Helvetica"!==n.getAttribute("font-family")?"Mystery"===n.getAttribute("font-family")?n.setAttribute("font-family","Curly"):"Gloria"===n.getAttribute("font-family")?n.setAttribute("font-family","Handwriting"):"Donegal"===n.getAttribute("font-family")&&n.setAttribute("font-family","Serif"):n.setAttribute("font-family","Sans Serif")}}},function(e,A,t){var o=t(482);e.exports=function(e,A){var t=(new XMLSerializer).serializeToString(e);return A&&(t=o(t)),t}},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var a=t(1212);e.exports=function(e){var A=a();if("string"!=typeof e)throw new Error("SVG to be inlined is not a string");for(var t=new Set,n=/font-family="([^"]*)"/g,i=n.exec(e);i;)t.add(i[1]),i=n.exec(e);if(t.size>0){var r,s="<defs><style>",l=o(t);try{for(l.s();!(r=l.n()).done;){var u=r.value;Object.prototype.hasOwnProperty.call(A,u)&&(s+="".concat(A[u]))}}catch(e){l.e(e)}finally{l.f()}return s+="</style></defs>",e=e.replace(/<svg[^>]*>/,"$&".concat(s))}return e}},function(e,A,t){var o=t(1224),n=o(t(1225)),a=o(t(1276)),i=o(t(1277));e.exports=function(e,A,t){n(e,A).then(function(e){return a(e[0]).then(i.bind(null,A)).then(function(A){return[A,e[1]]})}).then(t.bind(null,null),t)}},function(e,A,t){e.exports=t(1229)},function(e,A,t){"use strict";(function(A,o){var n=t(242);e.exports=C;var a,i=t(450);C.ReadableState=p;t(99).EventEmitter;var r=function(e,A){return e.listeners(A).length},s=t(486),l=t(235).Buffer,u=A.Uint8Array||function(){};var c=t(191);c.inherits=t(166);var g=t(1230),d=void 0;d=g&&g.debuglog?g.debuglog("stream"):function(){};var B,h=t(1231),E=t(487);c.inherits(C,s);var m=["error","close","destroy","pause","resume"];function p(e,A){a=a||t(150),e=e||{};var o=A instanceof a;this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o&&(i||0===i)?i:r,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(B||(B=t(316).StringDecoder),this.decoder=new B(e.encoding),this.encoding=e.encoding)}function C(e){if(a=a||t(150),!(this instanceof C))return new C(e);this._readableState=new p(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function w(e,A,t,o,n){var a,i=e._readableState;null===A?(i.reading=!1,function(e,A){if(A.ended)return;if(A.decoder){var t=A.decoder.end();t&&t.length&&(A.buffer.push(t),A.length+=A.objectMode?1:t.length)}A.ended=!0,M(e)}(e,i)):(n||(a=function(e,A){var t;(function(e){return l.isBuffer(e)||e instanceof u})(A)||"string"==typeof A||void 0===A||e.objectMode||(t=new TypeError("Invalid non-string/buffer chunk"));return t}(i,A)),a?e.emit("error",a):i.objectMode||A&&A.length>0?("string"==typeof A||i.objectMode||Object.getPrototypeOf(A)===l.prototype||(A=function(e){return l.from(e)}(A)),o?i.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):f(e,i,A,!0):i.ended?e.emit("error",new Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!t?(A=i.decoder.write(A),i.objectMode||0!==A.length?f(e,i,A,!1):b(e,i)):f(e,i,A,!1))):o||(i.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(i)}function f(e,A,t,o){A.flowing&&0===A.length&&!A.sync?(e.emit("data",t),e.read(0)):(A.length+=A.objectMode?1:t.length,o?A.buffer.unshift(t):A.buffer.push(t),A.needReadable&&M(e)),b(e,A)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),C.prototype.destroy=E.destroy,C.prototype._undestroy=E.undestroy,C.prototype._destroy=function(e,A){this.push(null),A(e)},C.prototype.push=function(e,A){var t,o=this._readableState;return o.objectMode?t=!0:"string"==typeof e&&((A=A||o.defaultEncoding)!==o.encoding&&(e=l.from(e,A),A=""),t=!0),w(this,e,A,!1,t)},C.prototype.unshift=function(e){return w(this,e,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(e){return B||(B=t(316).StringDecoder),this._readableState.decoder=new B(e),this._readableState.encoding=e,this};var I=8388608;function Q(e,A){return e<=0||0===A.length&&A.ended?0:A.objectMode?1:e!=e?A.flowing&&A.length?A.buffer.head.data.length:A.length:(e>A.highWaterMark&&(A.highWaterMark=function(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=A.length?e:A.ended?A.length:(A.needReadable=!0,0))}function M(e){var A=e._readableState;A.needReadable=!1,A.emittedReadable||(d("emitReadable",A.flowing),A.emittedReadable=!0,A.sync?n.nextTick(y,e):y(e))}function y(e){d("emit readable"),e.emit("readable"),k(e)}function b(e,A){A.readingMore||(A.readingMore=!0,n.nextTick(T,e,A))}function T(e,A){for(var t=A.length;!A.reading&&!A.flowing&&!A.ended&&A.length<A.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),t!==A.length);)t=A.length;A.readingMore=!1}function S(e){d("readable nexttick read 0"),e.read(0)}function D(e,A){A.reading||(d("resume read 0"),e.read(0)),A.resumeScheduled=!1,A.awaitDrain=0,e.emit("resume"),k(e),A.flowing&&!A.reading&&e.read(0)}function k(e){var A=e._readableState;for(d("flow",A.flowing);A.flowing&&null!==e.read(););}function N(e,A){return 0===A.length?null:(A.objectMode?t=A.buffer.shift():!e||e>=A.length?(t=A.decoder?A.buffer.join(""):1===A.buffer.length?A.buffer.head.data:A.buffer.concat(A.length),A.buffer.clear()):t=function(e,A,t){var o;e<A.head.data.length?(o=A.head.data.slice(0,e),A.head.data=A.head.data.slice(e)):o=e===A.head.data.length?A.shift():t?function(e,A){var t=A.head,o=1,n=t.data;e-=n.length;for(;t=t.next;){var a=t.data,i=e>a.length?a.length:e;if(i===a.length?n+=a:n+=a.slice(0,e),0===(e-=i)){i===a.length?(++o,t.next?A.head=t.next:A.head=A.tail=null):(A.head=t,t.data=a.slice(i));break}++o}return A.length-=o,n}(e,A):function(e,A){var t=l.allocUnsafe(e),o=A.head,n=1;o.data.copy(t),e-=o.data.length;for(;o=o.next;){var a=o.data,i=e>a.length?a.length:e;if(a.copy(t,t.length-e,0,i),0===(e-=i)){i===a.length?(++n,o.next?A.head=o.next:A.head=A.tail=null):(A.head=o,o.data=a.slice(i));break}++n}return A.length-=n,t}(e,A);return o}(e,A.buffer,A.decoder),t);var t}function R(e){var A=e._readableState;if(A.length>0)throw new Error('"endReadable()" called on non-empty stream');A.endEmitted||(A.ended=!0,n.nextTick(F,A,e))}function F(e,A){e.endEmitted||0!==e.length||(e.endEmitted=!0,A.readable=!1,A.emit("end"))}function O(e,A){for(var t=0,o=e.length;t<o;t++)if(e[t]===A)return t;return-1}C.prototype.read=function(e){d("read",e),e=parseInt(e,10);var A=this._readableState,t=e;if(0!==e&&(A.emittedReadable=!1),0===e&&A.needReadable&&(A.length>=A.highWaterMark||A.ended))return d("read: emitReadable",A.length,A.ended),0===A.length&&A.ended?R(this):M(this),null;if(0===(e=Q(e,A))&&A.ended)return 0===A.length&&R(this),null;var o,n=A.needReadable;return d("need readable",n),(0===A.length||A.length-e<A.highWaterMark)&&d("length less than watermark",n=!0),A.ended||A.reading?d("reading or ended",n=!1):n&&(d("do read"),A.reading=!0,A.sync=!0,0===A.length&&(A.needReadable=!0),this._read(A.highWaterMark),A.sync=!1,A.reading||(e=Q(t,A))),null===(o=e>0?N(e,A):null)?(A.needReadable=!0,e=0):A.length-=e,0===A.length&&(A.ended||(A.needReadable=!0),t!==e&&A.ended&&R(this)),null!==o&&this.emit("data",o),o},C.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(e,A){var t=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,A);var s=(!A||!1!==A.end)&&e!==o.stdout&&e!==o.stderr?u:C;function l(A,o){d("onunpipe"),A===t&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,d("cleanup"),e.removeListener("close",m),e.removeListener("finish",p),e.removeListener("drain",c),e.removeListener("error",E),e.removeListener("unpipe",l),t.removeListener("end",u),t.removeListener("end",C),t.removeListener("data",h),g=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){d("onend"),e.end()}a.endEmitted?n.nextTick(s):t.once("end",s),e.on("unpipe",l);var c=function(e){return function(){var A=e._readableState;d("pipeOnDrain",A.awaitDrain),A.awaitDrain&&A.awaitDrain--,0===A.awaitDrain&&r(e,"data")&&(A.flowing=!0,k(e))}}(t);e.on("drain",c);var g=!1;var B=!1;function h(A){d("ondata"),B=!1,!1!==e.write(A)||B||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==O(a.pipes,e))&&!g&&(d("false write response, pause",t._readableState.awaitDrain),t._readableState.awaitDrain++,B=!0),t.pause())}function E(A){d("onerror",A),C(),e.removeListener("error",E),0===r(e,"error")&&e.emit("error",A)}function m(){e.removeListener("finish",p),C()}function p(){d("onfinish"),e.removeListener("close",m),C()}function C(){d("unpipe"),t.unpipe(e)}return t.on("data",h),function(e,A,t){if("function"==typeof e.prependListener)return e.prependListener(A,t);e._events&&e._events[A]?i(e._events[A])?e._events[A].unshift(t):e._events[A]=[t,e._events[A]]:e.on(A,t)}(e,"error",E),e.once("close",m),e.once("finish",p),e.emit("pipe",t),a.flowing||(d("pipe resume"),t.resume()),e},C.prototype.unpipe=function(e){var A=this._readableState,t={hasUnpiped:!1};if(0===A.pipesCount)return this;if(1===A.pipesCount)return e&&e!==A.pipes?this:(e||(e=A.pipes),A.pipes=null,A.pipesCount=0,A.flowing=!1,e&&e.emit("unpipe",this,t),this);if(!e){var o=A.pipes,n=A.pipesCount;A.pipes=null,A.pipesCount=0,A.flowing=!1;for(var a=0;a<n;a++)o[a].emit("unpipe",this,t);return this}var i=O(A.pipes,e);return-1===i?this:(A.pipes.splice(i,1),A.pipesCount-=1,1===A.pipesCount&&(A.pipes=A.pipes[0]),e.emit("unpipe",this,t),this)},C.prototype.on=function(e,A){var t=s.prototype.on.call(this,e,A);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var o=this._readableState;o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.emittedReadable=!1,o.reading?o.length&&M(this):n.nextTick(S,this))}return t},C.prototype.addListener=C.prototype.on,C.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,A){A.resumeScheduled||(A.resumeScheduled=!0,n.nextTick(D,e,A))}(this,e)),this},C.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},C.prototype.wrap=function(e){var A=this,t=this._readableState,o=!1;for(var n in e.on("end",function(){if(d("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&A.push(e)}A.push(null)}),e.on("data",function(n){(d("wrapped data"),t.decoder&&(n=t.decoder.write(n)),!t.objectMode||null!==n&&void 0!==n)&&((t.objectMode||n&&n.length)&&(A.push(n)||(o=!0,e.pause())))}),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(A){return function(){return e[A].apply(e,arguments)}}(n));for(var a=0;a<m.length;a++)e.on(m[a],this.emit.bind(this,m[a]));return this._read=function(A){d("wrapped _read",A),o&&(o=!1,e.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=N}).call(this,t(36),t(98))},function(e,A,t){e.exports=t(99).EventEmitter},function(e,A,t){"use strict";var o=t(242);function n(e,A){e.emit("error",A)}e.exports={destroy:function(e,A){var t=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(A?A(e):!e||this._writableState&&this._writableState.errorEmitted||o.nextTick(n,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!A&&e?(o.nextTick(n,t,e),t._writableState&&(t._writableState.errorEmitted=!0)):A&&A(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,A,t){"use strict";e.exports=a;var o=t(150),n=t(191);function a(e){if(!(this instanceof a))return new a(e);o.call(this,e),this._transformState={afterTransform:function(e,A){var t=this._transformState;t.transforming=!1;var o=t.writecb;if(!o)return this.emit("error",new Error("write callback called multiple times"));t.writechunk=null,t.writecb=null,null!=A&&this.push(A),o(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush(function(A,t){r(e,A,t)}):r(this,null,null)}function r(e,A,t){if(A)return e.emit("error",A);if(null!=t&&e.push(t),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}n.inherits=t(166),n.inherits(a,o),a.prototype.push=function(e,A){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,A)},a.prototype._transform=function(e,A,t){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,A,t){var o=this._transformState;if(o.writecb=t,o.writechunk=e,o.writeencoding=A,!o.transforming){var n=this._readableState;(o.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},a.prototype._read=function(e){var A=this._transformState;null!==A.writechunk&&A.writecb&&!A.transforming?(A.transforming=!0,this._transform(A.writechunk,A.writeencoding,A.afterTransform)):A.needTransform=!0},a.prototype._destroy=function(e,A){var t=this;o.prototype._destroy.call(this,e,function(e){A(e),t.emit("close")})}},function(e,A,t){"use strict";var o=t(45),n=t(127),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";A.encode=function(e){for(var A,t,n,i,r,s,l,u=[],c=0,g=e.length,d=g,B="string"!==o.getTypeOf(e);c<e.length;)d=g-c,B?(A=e[c++],t=c<g?e[c++]:0,n=c<g?e[c++]:0):(A=e.charCodeAt(c++),t=c<g?e.charCodeAt(c++):0,n=c<g?e.charCodeAt(c++):0),i=A>>2,r=(3&A)<<4|t>>4,s=d>1?(15&t)<<2|n>>6:64,l=d>2?63&n:64,u.push(a.charAt(i)+a.charAt(r)+a.charAt(s)+a.charAt(l));return u.join("")},A.decode=function(e){var A,t,o,i,r,s,l=0,u=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&g--,e.charAt(e.length-2)===a.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=n.uint8array?new Uint8Array(0|g):new Array(0|g);l<e.length;)A=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,t=(15&i)<<4|(r=a.indexOf(e.charAt(l++)))>>2,o=(3&r)<<6|(s=a.indexOf(e.charAt(l++))),c[u++]=A,64!==r&&(c[u++]=t),64!==s&&(c[u++]=o);return c}},function(e,A){var t=e.exports={version:"2.3.0"};"number"==typeof __e&&(__e=t)},function(e,A,t){var o=t(1242);e.exports=function(e,A,t){if(o(e),void 0===A)return e;switch(t){case 1:return function(t){return e.call(A,t)};case 2:return function(t,o){return e.call(A,t,o)};case 3:return function(t,o,n){return e.call(A,t,o,n)}}return function(){return e.apply(A,arguments)}}},function(e,A){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,A,t){var o=t(324),n=t(244).document,a=o(n)&&o(n.createElement);e.exports=function(e){return a?n.createElement(e):{}}},function(e,A,t){"use strict";(function(A){var o=t(45),n=t(1255),a=t(82),i=t(489),r=t(127),s=t(192),l=null;if(r.nodestream)try{l=t(1256)}catch(e){}function u(e,t){return new s.Promise(function(n,a){var r=[],s=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",function(e,A){r.push(e),t&&t(A)}).on("error",function(e){r=[],a(e)}).on("end",function(){try{var e=function(e,A,t){switch(e){case"blob":return o.newBlob(o.transformTo("arraybuffer",A),t);case"base64":return i.encode(A);default:return o.transformTo(e,A)}}(l,function(e,t){var o,n=0,a=null,i=0;for(o=0;o<t.length;o++)i+=t[o].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(i),o=0;o<t.length;o++)a.set(t[o],n),n+=t[o].length;return a;case"nodebuffer":return A.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,r),u);n(e)}catch(e){a(e)}r=[]}).resume()})}function c(e,A,t){var i=A;switch(A){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=A,this._mimeType=t,o.checkSupport(i),this._worker=e.pipe(new n(i)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return u(this,e)},on:function(e,A){var t=this;return"data"===e?this._worker.on(e,function(e){A.call(t,e.data,e.meta)}):this._worker.on(e,function(){o.delay(A,arguments,t)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(o.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},e.exports=c}).call(this,t(66).Buffer)},function(e,A,t){"use strict";A.base64=!1,A.binary=!1,A.dir=!1,A.createFolders=!0,A.date=null,A.compression=null,A.compressionOptions=null,A.comment=null,A.unixPermissions=null,A.dosPermissions=null},function(e,A,t){"use strict";var o=t(45),n=t(82);function a(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=o.getTypeOf(e),A.isPaused||A._tickAndRepeat()},function(e){A.error(e)})}o.inherits(a,n),a.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=a},function(e,A,t){"use strict";var o=t(45),n=t(82);function a(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}o.inherits(a,n),a.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},e.exports=a},function(e,A,t){"use strict";var o=t(82),n=t(327);function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t(45).inherits(a,o),a.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=a},function(e,A,t){"use strict";var o=t(82);A.STORE={magic:"\0\0",compressWorker:function(e){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},A.DEFLATE=t(1259)},function(e,A,t){"use strict";e.exports=function(e,A,t,o){for(var n=65535&e|0,a=e>>>16&65535|0,i=0;0!==t;){t-=i=t>2e3?2e3:t;do{a=a+(n=n+A[o++]|0)|0}while(--i);n%=65521,a%=65521}return n|a<<16|0}},function(e,A,t){"use strict";var o=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();e.exports=function(e,A,t,n){var a=o,i=n+t;e^=-1;for(var r=n;r<i;r++)e=e>>>8^a[255&(e^A[r])];return-1^e}},function(e,A,t){"use strict";var o=t(128),n=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var i=new o.Buf8(256),r=0;r<256;r++)i[r]=r>=252?6:r>=248?5:r>=240?4:r>=224?3:r>=192?2:1;function s(e,A){if(A<65537&&(e.subarray&&a||!e.subarray&&n))return String.fromCharCode.apply(null,o.shrinkBuf(e,A));for(var t="",i=0;i<A;i++)t+=String.fromCharCode(e[i]);return t}i[254]=i[254]=1,A.string2buf=function(e){var A,t,n,a,i,r=e.length,s=0;for(a=0;a<r;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),s+=t<128?1:t<2048?2:t<65536?3:4;for(A=new o.Buf8(s),i=0,a=0;i<s;a++)55296==(64512&(t=e.charCodeAt(a)))&&a+1<r&&56320==(64512&(n=e.charCodeAt(a+1)))&&(t=65536+(t-55296<<10)+(n-56320),a++),t<128?A[i++]=t:t<2048?(A[i++]=192|t>>>6,A[i++]=128|63&t):t<65536?(A[i++]=224|t>>>12,A[i++]=128|t>>>6&63,A[i++]=128|63&t):(A[i++]=240|t>>>18,A[i++]=128|t>>>12&63,A[i++]=128|t>>>6&63,A[i++]=128|63&t);return A},A.buf2binstring=function(e){return s(e,e.length)},A.binstring2buf=function(e){for(var A=new o.Buf8(e.length),t=0,n=A.length;t<n;t++)A[t]=e.charCodeAt(t);return A},A.buf2string=function(e,A){var t,o,n,a,r=A||e.length,l=new Array(2*r);for(o=0,t=0;t<r;)if((n=e[t++])<128)l[o++]=n;else if((a=i[n])>4)l[o++]=65533,t+=a-1;else{for(n&=2===a?31:3===a?15:7;a>1&&t<r;)n=n<<6|63&e[t++],a--;a>1?l[o++]=65533:n<65536?l[o++]=n:(n-=65536,l[o++]=55296|n>>10&1023,l[o++]=56320|1023&n)}return s(l,o)},A.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;t>=0&&128==(192&e[t]);)t--;return t<0?A:0===t?A:t+i[e[t]]>A?t:A}},function(e,A,t){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,A,t){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,A,t){"use strict";A.LOCAL_FILE_HEADER="PK",A.CENTRAL_FILE_HEADER="PK",A.CENTRAL_DIRECTORY_END="PK",A.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",A.ZIP64_CENTRAL_DIRECTORY_END="PK",A.DATA_DESCRIPTOR="PK\b"},function(e,A,t){"use strict";var o=t(45),n=t(127),a=t(507),i=t(1273),r=t(1274),s=t(509);e.exports=function(e){var A=o.getTypeOf(e);return o.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new r(e):n.uint8array?new s(o.transformTo("uint8array",e)):new a(o.transformTo("array",e)):new i(e)}},function(e,A,t){"use strict";var o=t(508);function n(e){o.call(this,e);for(var A=0;A<this.data.length;A++)e[A]=255&e[A]}t(45).inherits(n,o),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===A&&this.data[a+1]===t&&this.data[a+2]===o&&this.data[a+3]===n)return a-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var A=e.charCodeAt(0),t=e.charCodeAt(1),o=e.charCodeAt(2),n=e.charCodeAt(3),a=this.readData(4);return A===a[0]&&t===a[1]&&o===a[2]&&n===a[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},e.exports=n},function(e,A,t){"use strict";var o=t(45);function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var A,t=0;for(this.checkOffset(e),A=this.index+e-1;A>=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return o.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=n},function(e,A,t){"use strict";var o=t(507);function n(e){o.call(this,e)}t(45).inherits(n,o),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},e.exports=n},function(e,A,t){"use strict";var o=t(167);e.exports=function(e){o.copy(e,this)}},function(e,A,t){"use strict";e.exports=function(e,A){A||(A={}),"function"==typeof A&&(A={cmp:A});var t="boolean"==typeof A.cycles&&A.cycles,o=A.cmp&&function(e){return function(A){return function(t,o){var n={key:t,value:A[t]},a={key:o,value:A[o]};return e(n,a)}}}(A.cmp),n=[];return function e(A){if(A&&A.toJSON&&"function"==typeof A.toJSON&&(A=A.toJSON()),void 0!==A){if("number"==typeof A)return isFinite(A)?""+A:"null";if("object"!=typeof A)return JSON.stringify(A);var a,i;if(Array.isArray(A)){for(i="[",a=0;a<A.length;a++)a&&(i+=","),i+=e(A[a])||"null";return i+"]"}if(null===A)return"null";if(-1!==n.indexOf(A)){if(t)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var r=n.push(A)-1,s=Object.keys(A).sort(o&&o(A));for(i="",a=0;a<s.length;a++){var l=s[a],u=e(A[l]);u&&(i&&(i+=","),i+=JSON.stringify(l)+":"+u)}return n.splice(r,1),"{"+i+"}"}}(e)}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o="",n=!0===e.schema.$async,a=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),i=e.self._getId(e.schema);if(e.isTop&&(o+=" var validate = ",n&&(e.async=!0,o+="async "),o+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",i&&(e.opts.sourceCode||e.opts.processCode)&&(o+=" /*# sourceURL="+i+" */ ")),"boolean"==typeof e.schema||!a&&!e.schema.$ref){var r=e.level,s=e.dataLevel,l=e.schema["false schema"],u=e.schemaPath+e.util.getProperty("false schema"),c=e.errSchemaPath+"/false schema",g=!e.opts.allErrors,d="data"+(s||""),B="valid"+r;if(!1===e.schema){e.isTop?g=!0:o+=" var "+B+" = false; ",(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: 'boolean schema is false' "),e.opts.verbose&&(o+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";var h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?o+=n?" return data; ":" validate.errors = null; return true; ":o+=" var "+B+" = true; ";return e.isTop&&(o+=" }; return validate; "),o}if(e.isTop){var E=e.isTop;r=e.level=0,s=e.dataLevel=0,d="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[void 0],o+=" var vErrors = null; ",o+=" var errors = 0; ",o+=" if (rootData === undefined) rootData = data; "}else{r=e.level,d="data"+((s=e.dataLevel)||"");if(i&&(e.baseId=e.resolve.url(e.baseId,i)),n&&!e.async)throw new Error("async schema in sync schema");o+=" var errs_"+r+" = errors;"}B="valid"+r,g=!e.opts.allErrors;var m,p="",C="",w=e.schema.type,f=Array.isArray(w);if(f&&1==w.length&&(w=w[0],f=!1),e.schema.$ref&&a){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(a=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(o+=" "+e.RULES.all.$comment.code(e,"$comment")),w){if(e.opts.coerceTypes)var I=e.util.coerceToTypes(e.opts.coerceTypes,w);var Q=e.RULES.types[w];if(I||f||!0===Q||Q&&!q(Q)){u=e.schemaPath+".type",c=e.errSchemaPath+"/type",u=e.schemaPath+".type",c=e.errSchemaPath+"/type";var M=f?"checkDataTypes":"checkDataType";if(o+=" if ("+e.util[M](w,d,!0)+") { ",I){var y="dataType"+r,b="coerced"+r;o+=" var "+y+" = typeof "+d+"; ","array"==e.opts.coerceTypes&&(o+=" if ("+y+" == 'object' && Array.isArray("+d+")) "+y+" = 'array'; "),o+=" var "+b+" = undefined; ";var T="",S=I;if(S)for(var D,k=-1,N=S.length-1;k<N;)D=S[k+=1],k&&(o+=" if ("+b+" === undefined) { ",T+="}"),"array"==e.opts.coerceTypes&&"array"!=D&&(o+=" if ("+y+" == 'array' && "+d+".length == 1) { "+b+" = "+d+" = "+d+"[0]; "+y+" = typeof "+d+"; } "),"string"==D?o+=" if ("+y+" == 'number' || "+y+" == 'boolean') "+b+" = '' + "+d+"; else if ("+d+" === null) "+b+" = ''; ":"number"==D||"integer"==D?(o+=" if ("+y+" == 'boolean' || "+d+" === null || ("+y+" == 'string' && "+d+" && "+d+" == +"+d+" ","integer"==D&&(o+=" && !("+d+" % 1)"),o+=")) "+b+" = +"+d+"; "):"boolean"==D?o+=" if ("+d+" === 'false' || "+d+" === 0 || "+d+" === null) "+b+" = false; else if ("+d+" === 'true' || "+d+" === 1) "+b+" = true; ":"null"==D?o+=" if ("+d+" === '' || "+d+" === 0 || "+d+" === false) "+b+" = null; ":"array"==e.opts.coerceTypes&&"array"==D&&(o+=" if ("+y+" == 'string' || "+y+" == 'number' || "+y+" == 'boolean' || "+d+" == null) "+b+" = ["+d+"]; ");o+=" "+T+" if ("+b+" === undefined) { ",(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else { ";var R=s?"data"+(s-1||""):"parentData",F=s?e.dataPathArr[s]:"parentDataProperty";o+=" "+d+" = "+b+"; ",s||(o+="if ("+R+" !== undefined)"),o+=" "+R+"["+F+"] = "+b+"; } "}else{(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}o+=" } "}}if(e.schema.$ref&&!a)o+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",g&&(o+=" } if (errors === ",o+=E?"0":"errs_"+r,o+=") { ",C+="}");else{var O=e.RULES;if(O)for(var Y=-1,v=O.length-1;Y<v;)if(q(Q=O[Y+=1])){if(Q.type&&(o+=" if ("+e.util.checkDataType(Q.type,d)+") { "),e.opts.useDefaults&&!e.compositeRule)if("object"==Q.type&&e.schema.properties){l=e.schema.properties;var U=Object.keys(l);if(U)for(var G,_=-1,L=U.length-1;_<L;){if(void 0!==(H=l[G=U[_+=1]]).default)o+=" if ("+(j=d+e.util.getProperty(G))+" === undefined) "+j+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(H.default)+" ":o+=" "+JSON.stringify(H.default)+" ",o+="; "}}else if("array"==Q.type&&Array.isArray(e.schema.items)){var x=e.schema.items;if(x){k=-1;for(var H,P=x.length-1;k<P;){var j;if(void 0!==(H=x[k+=1]).default)o+=" if ("+(j=d+"["+k+"]")+" === undefined) "+j+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(H.default)+" ":o+=" "+JSON.stringify(H.default)+" ",o+="; "}}}var J=Q.rules;if(J)for(var z,W=-1,K=J.length-1;W<K;)if(Z(z=J[W+=1])){var V=z.code(e,z.keyword,Q.type);V&&(o+=" "+V+" ",g&&(p+="}"))}if(g&&(o+=" "+p+" ",p=""),Q.type&&(o+=" } ",w&&w===Q.type&&!I)){o+=" else { ";var X;u=e.schemaPath+".type",c=e.errSchemaPath+"/type";(X=X||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(m||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { type: '",o+=f?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=f?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),o+=" } "):o+=" {} ";h=o;o=X.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+h+"]); ":o+=" validate.errors = ["+h+"]; return false; ":o+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } "}g&&(o+=" if (errors === ",o+=E?"0":"errs_"+r,o+=") { ",C+="}")}}function q(e){for(var A=e.rules,t=0;t<A.length;t++)if(Z(A[t]))return!0}function Z(A){return void 0!==e.schema[A.keyword]||A.implements&&function(A){for(var t=A.implements,o=0;o<t.length;o++)if(void 0!==e.schema[t[o]])return!0}(A)}return g&&(o+=" "+C+" "),E?(n?(o+=" if (errors === 0) return data; ",o+=" else throw new ValidationError(vErrors); "):(o+=" validate.errors = vErrors; ",o+=" return errors === 0; "),o+=" }; return validate;"):o+=" var "+B+" = errors === errs_"+r+";",o=e.util.cleanUpCode(o),E&&(o=e.util.finalCleanUpCode(o,n)),o}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r;var d="maximum"==A,B=d?"exclusiveMaximum":"exclusiveMinimum",h=e.schema[B],E=e.opts.$data&&h&&h.$data,m=d?"<":">",p=d?">":"<",C=void 0;if(E){var w=e.util.getData(h.$data,i,e.dataPathArr),f="exclusive"+a,I="exclType"+a,Q="exclIsNumber"+a,M="' + "+(T="op"+a)+" + '";n+=" var schemaExcl"+a+" = "+w+"; ",n+=" var "+f+"; var "+I+" = typeof "+(w="schemaExcl"+a)+"; if ("+I+" != 'boolean' && "+I+" != 'undefined' && "+I+" != 'number') { ";var y;C=B;(y=y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(C||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: '"+B+" should be boolean' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var b=n;n=y.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+b+"]); ":n+=" validate.errors = ["+b+"]; return false; ":n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+I+" == 'number' ? ( ("+f+" = "+o+" === undefined || "+w+" "+m+"= "+o+") ? "+c+" "+p+"= "+w+" : "+c+" "+p+" "+o+" ) : ( ("+f+" = "+w+" === true) ? "+c+" "+p+"= "+o+" : "+c+" "+p+" "+o+" ) || "+c+" !== "+c+") { var op"+a+" = "+f+" ? '"+m+"' : '"+m+"='; ",void 0===r&&(C=B,l=e.errSchemaPath+"/"+B,o=w,g=E)}else{M=m;if((Q="number"==typeof h)&&g){var T="'"+M+"'";n+=" if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" ( "+o+" === undefined || "+h+" "+m+"= "+o+" ? "+c+" "+p+"= "+h+" : "+c+" "+p+" "+o+" ) || "+c+" !== "+c+") { "}else{Q&&void 0===r?(f=!0,C=B,l=e.errSchemaPath+"/"+B,o=h,p+="="):(Q&&(o=Math[d?"min":"max"](h,r)),h===(!Q||o)?(f=!0,C=B,l=e.errSchemaPath+"/"+B,p+="="):(f=!1,M+="="));T="'"+M+"'";n+=" if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+c+" "+p+" "+o+" || "+c+" !== "+c+") { "}}C=C||A,(y=y||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(C||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+T+", limit: "+o+", exclusive: "+f+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be "+M+" ",n+=g?"' + "+o:o+"'"),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";b=n;return n=y.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+b+"]); ":n+=" validate.errors = ["+b+"]; return false; ":n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r,n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" "+c+".length "+("maxItems"==A?">":"<")+" "+o+") { ";var d=A,B=B||[];B.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxItems"==A?"more":"less",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" items' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var h=n;return n=B.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+h+"]); ":n+=" validate.errors = ["+h+"]; return false; ":n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r;var d="maxLength"==A?">":"<";n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),!1===e.opts.unicode?n+=" "+c+".length ":n+=" ucs2length("+c+") ",n+=" "+d+" "+o+") { ";var B=A,h=h||[];h.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(B||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be ",n+="maxLength"==A?"longer":"shorter",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" characters' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var E=n;return n=h.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+E+"]); ":n+=" validate.errors = ["+E+"]; return false; ":n+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A,t){"use strict";e.exports=function(e,A,t){var o,n=" ",a=e.level,i=e.dataLevel,r=e.schema[A],s=e.schemaPath+e.util.getProperty(A),l=e.errSchemaPath+"/"+A,u=!e.opts.allErrors,c="data"+(i||""),g=e.opts.$data&&r&&r.$data;g?(n+=" var schema"+a+" = "+e.util.getData(r.$data,i,e.dataPathArr)+"; ",o="schema"+a):o=r,n+="if ( ",g&&(n+=" ("+o+" !== undefined && typeof "+o+" != 'number') || "),n+=" Object.keys("+c+").length "+("maxProperties"==A?">":"<")+" "+o+") { ";var d=A,B=B||[];B.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+o+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxProperties"==A?"more":"less",n+=" than ",n+=g?"' + "+o+" + '":""+r,n+=" properties' "),e.opts.verbose&&(n+=" , schema: ",n+=g?"validate.schema"+s:""+r,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),n+=" } "):n+=" {} ";var h=n;return n=B.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+h+"]); ":n+=" validate.errors = ["+h+"]; return false; ":n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,A){(function(A){e.exports=A}).call(this,{})},function(e,A,t){function o(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,A){if(!e)return;if("string"==typeof e)return n(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,A)}(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}function n(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}function a(e,A){for(var t=0;t<A.length;t++){var o=A[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var i=t(233),r=t(148),s=t(241).loadSoundFromAsset,l=t(240).loadCostumeFromAsset,u=t(478),c=t(109),g=t(126),d=function(){function e(A,t){!function(e,A){if(!(e instanceof A))throw new TypeError("Cannot call a class as a function")}(this,e),this.runtime=t,A||(A=new r(t)),this.blocks=A,this.name="",this.costumes_=[],this.sounds=[],this.clones=[],this.soundBank=null,this.runtime&&this.runtime.audioEngine&&(this.soundBank=this.runtime.audioEngine.createBank())}return function(e,A,t){A&&a(e.prototype,A),t&&a(e,t)}(e,[{key:"costumes",get:function(){return this.costumes_},set:function(e){this.costumes_=[];var A,t=o(e);try{for(t.s();!(A=t.n()).done;){var n=A.value;this.addCostumeAt(n,this.costumes_.length)}}catch(e){t.e(e)}finally{t.f()}}},{key:"addCostumeAt",value:function(e,A){e.name||(e.name="");var t=this.costumes_.map(function(e){return e.name});e.name=c.unusedName(e.name,t),this.costumes_.splice(A,0,e)}},{key:"deleteCostumeAt",value:function(e){return this.costumes.splice(e,1)[0]}},{key:"createClone",value:function(e){var A=new i(this,this.runtime);if(A.isOriginal=0===this.clones.length,this.clones.push(A),A.initAudio(),A.isOriginal){var t="string"==typeof e?e:g.SPRITE_LAYER;A.initDrawable(t),this.runtime.fireTargetWasCreated(A)}else this.runtime.fireTargetWasCreated(A,this.clones[0]);return A}},{key:"removeClone",value:function(e){this.runtime.fireTargetWasRemoved(e);var A=this.clones.indexOf(e);A>=0&&this.clones.splice(A,1)}},{key:"duplicate",value:function(){var A=this,t=new e(null,this.runtime),o=this.blocks._blocks,n=Object.keys(o).map(function(e){return o[e]}),a=JSON.parse(JSON.stringify(n));u(a),a.forEach(function(e){t.blocks.createBlock(e)});var i=this.runtime.targets.map(function(e){return e.sprite.name});t.name=c.unusedName(this.name,i);var r=[];return t.costumes=this.costumes_.map(function(e){var t=Object.assign({},e);return r.push(l(t,A.runtime)),t}),t.sounds=this.sounds.map(function(e){var o=Object.assign({},e),n=e.asset;return r.push(s(o,n,A.runtime,t.soundBank)),o}),Promise.all(r).then(function(){return t})}},{key:"dispose",value:function(){this.soundBank&&this.soundBank.dispose()}}]),e}();e.exports=d},function(e,A,t){var o=t(449),n=t(39);e.exports={deserializeSound:function(e,A,t,a){var i=a||e.md5,r=A.storage;if(!r)return n.warn("No storage module present; cannot load sound asset: ",i),Promise.resolve(null);if(!t)return Promise.resolve(null);var s=t.file(i);if(!s){var l=new RegExp("^([^/]*/)?".concat(i,"$"));s=t.file(l)[0]}if(!s)return n.error("Could not find sound file associated with the ".concat(e.name," sound.")),Promise.resolve(null);if(!o.support.uint8array)return n.error("JSZip uint8array is not supported in this browser."),Promise.resolve(null);var u="mp3"===e.dataFormat.toLowerCase()?r.DataFormat.MP3:r.DataFormat.WAV;return s.async("uint8array").then(function(e){return r.createAsset(r.AssetType.Sound,u,e,null,!0)}).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)})},deserializeCostume:function(e,A,t,a,i){var r=A.storage,s=e.assetId,l=a||"".concat(s,".").concat(e.dataFormat);if(!r)return n.warn("No storage module present; cannot load costume asset: ",l),Promise.resolve(null);if(e.asset)return Promise.resolve(r.createAsset(e.asset.assetType,e.asset.dataFormat,new Uint8Array(Object.keys(e.asset.data).map(function(A){return e.asset.data[A]})),null,!0)).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)});if(!t)return Promise.resolve(null);var u=t.file(l);if(!u){var c=new RegExp("^([^/]*/)?".concat(l,"$"));u=t.file(c)[0]}if(!u)return n.error("Could not find costume file associated with the ".concat(e.name," costume.")),Promise.resolve(null);var g,d=null,B=e.dataFormat.toLowerCase();if("svg"===B?d=r.AssetType.ImageVector:["png","bmp","jpeg","jpg","gif"].indexOf(B)>=0?d=r.AssetType.ImageBitmap:n.error("Unexpected file format for costume: ".concat(B)),!o.support.uint8array)return n.error("JSZip uint8array is not supported in this browser."),Promise.resolve(null);if(e.textLayerMD5){var h=t.file(i);if(!h)return n.error("Could not find text layer file associated with the ".concat(e.name," costume.")),Promise.resolve(null);g=h.async("uint8array").then(function(A){return r.createAsset(r.AssetType.ImageBitmap,"png",A,e.textLayerMD5)}).then(function(A){e.textLayerAsset=A})}else g=Promise.resolve(null);return Promise.all([g,u.async("uint8array").then(function(e){return r.createAsset(d,B,e,null,!0)}).then(function(A){e.asset=A,e.assetId=A.assetId,e.md5="".concat(A.assetId,".").concat(A.dataFormat)})])}}},function(e,A,t){function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,A){return function(e){if(Array.isArray(e))return e}(e)||function(e,A){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var o,n,a=[],i=!0,r=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!A||a.length!==A);i=!0);}catch(e){r=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(r)throw n}}return a}(e,A)||a(e,A)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,A){if(e){if("string"==typeof e)return i(e,A);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,A):void 0}}function i(e,A){(null==A||A>e.length)&&(A=e.length);for(var t=0,o=new Array(A);t<A;t++)o[t]=e[t];return o}var r=t(148),s=t(233),l=t(518),u=t(187),c=t(39),g=t(100),d=t(109),B=t(60),h=t(1324),E=t(319),m=t(125),p=t(317),C=t(126),w=t(240).loadCostume,f=t(241).loadSound,I=t(519),Q=I.deserializeCostume,M=I.deserializeSound,y=["argument","control","data","event","looks","math","motion","operator","procedures","sensing","sound"],b=function(e){for(var A=[{}],t=0,o=e.split(/(?=[^\\]%[nbs])/),n=0;n<o.length;n++){var a=o[n].trim();if("%"===a.substring(0,1)){var i=a.substring(1,2),r={type:"input",inputName:"input"+t++};"n"===i?r.inputOp="math_number":"s"===i?r.inputOp="text":"b"===i&&(r.inputOp="boolean"),A.push(r)}}return A},T=function(e){return b(e).map(function(e){return e.inputName}).filter(function(e){return e})},S=function e(A){for(var t=[],o=0;o<A.length;o++){var n=A[o];t.push(n),n.children&&(t=t.concat(e(n.children))),delete n.children}return t},D=function(e,A,t,o,n,a,i){for(var r=[],s=null,l=0;l<e.length;l++){var u=e[l],c=Y(u,A,t,o,n,a,i),g=c[0];i=c[1],g&&(s&&(g.parent=s.id,s.next=g.id),s=g,r.push(g))}return[r,i]},k=function(){var e={},A=function(e,A,t){return"".concat(e,"-").concat(d.replaceUnsafeChars(A),"-").concat(t)};return function(t,o){return o&&(e={}),function(n,a){return o?(e["".concat(n,"-").concat(a)]=A(t,n,a),e["".concat(n,"-").concat(a)]):e["".concat(n,"-").concat(a)]?e["".concat(n,"-").concat(a)]:A(t,n,a)}}}(),N=function(){var e={},A=[],t=g();return function(o){return o&&(e={}),{broadcastMsgMapUpdater:function(o,n){return""===(o=o.toLowerCase())&&(o=t),e[o]="broadcastMsgId-".concat(d.replaceUnsafeChars(o)),A.push(n),e[o]},globalBroadcastMsgs:e,allBroadcastFields:A,emptyMsgName:t}}}(),R=function(e,A,t,o){if(h[e.cmd]){var a=h[e.cmd].opcode,i=a.indexOf("_"),r=a.substring(0,i);if("videoSensing"!==r&&(-1!==y.indexOf(r)||""===r||o.extensionIDs.has(r)||e.visible)){var s=null;if(!e.hasOwnProperty("target"))for(var l=function(A){var o=t[A];Object.keys(o.variables).filter(function(A){var t=o.variables[A];return t.type===m.LIST_TYPE&&t.name===e.listName}).length>0&&(s=o,e.target=o.getName())},u=0;u<t.length;u++)l(u);if(!(s=s||t.filter(function(A){return A.getName()===e.target})[0]))throw new Error("Cannot create monitor for target that cannot be found by name");var g=k(s.id,!1),d=n(Y([e.cmd,e.param],null,g,o,{},null,null),2),B=d[0];d[1];"getVar:"===e.cmd?B.id=g(e.param,m.SCALAR_TYPE):"contentsOfList:"===e.cmd?B.id=g(e.param,m.LIST_TYPE):A.monitorBlockInfo.hasOwnProperty(B.opcode)?B.id=A.monitorBlockInfo[B.opcode].getId(s.id,B.fields):B.id=B.opcode,B.targetId=s.isStage?null:s.id,B.isMonitored=e.visible;var E=A.monitorBlocks._blocks[B.id];if(E)E.isMonitored=e.visible,E.targetId=B.targetId;else for(var C=S([B]),w=0;w<C.length;w++)A.monitorBlocks.createBlock(C[w]);switch(e.mode){case 1:e.mode="default";break;case 2:e.mode="large";break;case 3:e.mode="slider"}A.requestAddMonitor(p({id:B.id,targetId:B.targetId,spriteName:B.targetId?e.target:null,opcode:B.opcode,params:A.monitorBlocks._getBlockParams(B),value:"",mode:e.mode,sliderMin:e.sliderMin,sliderMax:e.sliderMax,isDiscrete:e.isDiscrete,x:e.x,y:e.y,width:e.width,height:e.height,visible:e.visible}))}}else c.warn("Could not find monitor block with opcode: ".concat(e.cmd))},F=function e(A,t,o,i,u,c){if(!A.hasOwnProperty("objName"))return A.hasOwnProperty("listName")&&(A.cmd="contentsOfList:",A.param=A.listName,A.mode="list"),A.deferredMonitor=!0,Promise.resolve(A);var g=new r(t),d=new l(g,t);if(A.hasOwnProperty("objName")){if(i&&"Stage"!==A.objName){var h,p=function(e,A){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=a(e))||A&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){s=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(s)throw i}}}}(A.children);try{for(p.s();!(h=p.n()).done;){var w=h.value;w.hasOwnProperty("objName")||w.target!==A.objName||(w.target="Stage")}}catch(e){p.e(e)}finally{p.f()}A.objName="Stage"}d.name=A.objName}var f=c.costumePromises,I=c.soundBank,Q=c.soundPromises,M=d.createClone(i?C.BACKGROUND_LAYER:C.SPRITE_LAYER),y=k(M.id,i),b=N(i),T=b.broadcastMsgMapUpdater;if(A.hasOwnProperty("variables"))for(var F=0;F<A.variables.length;F++){var O=A.variables[F],Y=O.isPersistent&&i&&t.canAddCloudVariable(),v=new m(y(O.name,m.SCALAR_TYPE),O.name,m.SCALAR_TYPE,Y);Y&&t.addCloudVariable(),v.value=O.value,M.variables[v.id]=v}var U={};A.hasOwnProperty("scriptComments")&&A.scriptComments.map(function(e){var A=n(e,7),t=A[0],o=A[1],a=A[2],i=A[3],r=A[4],s=A[5],l=A[6],u=e[5]>=0,c=new E(null,l,u?null:1.5*t,u?null:2.2*o,1.5*a,2.2*i,!r);return u&&(c.blockId=s,U.hasOwnProperty(s)?U[s].push(c):U[s]=[c]),c}).forEach(function(e){M.comments[e.id]=e});for(var G in A.hasOwnProperty("scripts")&&function(e,A,t,o,a,i){for(var r=0,s=0;s<e.length;s++){var l=e[s],u=l[0],c=l[1],g=l[2],d=n(D(g,t,o,a,{},i,r),2),B=d[0];r=d[1],B[0]&&(B[0].x=1.5*u,B[0].y=2.2*c,B[0].topLevel=!0,B[0].parent=null);for(var h=S(B),E=0;E<h.length;E++)A.createBlock(h[E])}}(A.scripts,g,T,y,o,U),U){U[G].forEach(function(e){"number"==typeof e.blockId&&(e.blockId=null)})}if(g.updateTargetSpecificBlocks(i),A.hasOwnProperty("lists"))for(var _=0;_<A.lists.length;_++){var L=A.lists[_],x=new m(y(L.listName,m.LIST_TYPE),L.listName,m.LIST_TYPE,!1);x.value=L.contents,M.variables[x.id]=x}A.hasOwnProperty("scratchX")&&(M.x=A.scratchX),A.hasOwnProperty("scratchY")&&(M.y=A.scratchY),A.hasOwnProperty("direction")&&(M.direction=A.direction),A.hasOwnProperty("isDraggable")&&(M.draggable=A.isDraggable),A.hasOwnProperty("scale")&&(M.size=100*A.scale),A.hasOwnProperty("visible")&&(M.visible=A.visible),A.hasOwnProperty("currentCostumeIndex")&&(M.currentCostume=B.clamp(Math.floor(A.currentCostumeIndex),0,A.costumes.length-1)),A.hasOwnProperty("rotationStyle")&&("none"===A.rotationStyle?M.rotationStyle=s.ROTATION_STYLE_NONE:"leftRight"===A.rotationStyle?M.rotationStyle=s.ROTATION_STYLE_LEFT_RIGHT:"normal"===A.rotationStyle&&(M.rotationStyle=s.ROTATION_STYLE_ALL_AROUND)),A.hasOwnProperty("tempoBPM")&&(M.tempo=A.tempoBPM),A.hasOwnProperty("videoAlpha")&&(M.videoTransparency=100-100*A.videoAlpha),A.hasOwnProperty("info")&&A.info.hasOwnProperty("videoOn")&&(A.info.videoOn?M.videoState=s.VIDEO_STATE.ON:M.videoState=s.VIDEO_STATE.OFF),A.hasOwnProperty("indexInLibrary")&&(M.targetPaneOrder=A.indexInLibrary),M.isStage=i,Promise.all(f).then(function(e){d.costumes=e}),Promise.all(Q).then(function(e){d.sounds=e,d.soundBank=I||null});var H=[];if(A.children)for(var P=0;P<A.children.length;P++)H.push(e(A.children[P],t,o,!1,u,c.children[P]));return Promise.all(f.concat(Q)).then(function(){return Promise.all(H).then(function(e){if(M.isStage){var A=b.globalBroadcastMsgs,n=b.allBroadcastFields,a=b.emptyMsgName;if(A[a]){for(var i=1;A["message".concat(i)];)i+=1;var r="message".concat(i);A[r]=A[a],delete A[a];for(var s=0;s<n.length;s++)""===n[s].value&&(n[s].value=r)}for(var l in A){var u=A[l],c=new m(u,l,m.BROADCAST_MESSAGE_TYPE,!1);M.variables[c.id]=c}}for(var g=[M],d=[],B=0;B<e.length;B++)e[B]&&(e[B].deferredMonitor?d.push(e[B]):g=g.concat(e[B]));for(var h=0;h<d.length;h++)R(d[h],t,g,o);return g})})},O=function(e){var A=e.map(function(e,A){return e.layerOrder=A,e}).sort(function(e,A){return e.targetPaneOrder-A.targetPaneOrder});return A.forEach(function(e){delete e.targetPaneOrder}),A},Y=function e(A,t,a,i,r,s,l){var d=s&&"number"==typeof l&&!isNaN(l)?s[l]:null,B=function(e){var A=e[0],t=A&&h[A];return t?"function"==typeof t?t(e):t:(c.warn("Couldn't find SB2 block: ".concat(A)),null)}(A);if(!B)return d&&d.forEach(function(e){e.blockId=null,e.x=e.y=0}),[null,l+1];var E=A[0],p=B.opcode.indexOf("_"),C=B.opcode.substring(0,p);-1===y.indexOf(C)&&""!==C&&i.extensionIDs.add(C);var w={id:g(),opcode:B.opcode,inputs:{},fields:{},next:null,shadow:!1,children:[]};d&&(w.comment=d[d.length-1].id,d.forEach(function(e){e.id===w.comment?e.blockId=w.id:(e.blockId=null,e.x=e.y=0)})),l++;var f=r.expectedArg;"call"===E&&(B.argMap=b(A[1]));for(var I=0;I<B.argMap.length;I++){var Q=B.argMap[I],M=A[I+1],S=!1;if("input"===Q.type){var k=g();if(w.inputs[Q.inputName]={name:Q.inputName,block:null,shadow:null},"object"===o(M)&&M){var N=void 0;if(r.expectedArg=Q,"object"===o(M[0])&&M[0]){var R=n(D(M,t,a,i,r,s,l),2);N=R[0],l=R[1]}else{var F=e(M,t,a,i,r,s,l);N=F[0]?[F[0]]:[],l=F[1]}if(r.expectedArg=f,N.length>0){for(var O=null,Y=0;Y<N.length;Y++)N[Y].parent=0===Y?w.id:O,O=N[Y].id;w.inputs[Q.inputName].block=N[0].id,w.children=w.children.concat(N)}S=!0}if(!Q.inputOp){c.warn("Unknown input operation for input ".concat(Q.inputName," of opcode ").concat(w.opcode,"."));continue}if("boolean"===Q.inputOp||"substack"===Q.inputOp)continue;var v=M,U=Q.inputName;"math_number"===Q.inputOp||"math_whole_number"===Q.inputOp||"math_positive_number"===Q.inputOp||"math_integer"===Q.inputOp||"math_angle"===Q.inputOp?(U="NUM",S&&(v=10)):"text"===Q.inputOp?(U="TEXT",S&&(v="")):"colour_picker"===Q.inputOp?(v=u.decimalToHex(M),U="COLOUR",S&&(v="#990000")):"event_broadcast_menu"===Q.inputOp?(U="BROADCAST_OPTION",S&&(v="")):"sensing_of_object_menu"===Q.inputOp?S?v="_stage_":"Stage"===v&&(v="_stage_"):"note"===Q.inputOp?S&&(v=60):"music.menu.DRUM"===Q.inputOp?S&&(v=1):"music.menu.INSTRUMENT"===Q.inputOp?S&&(v=1):"videoSensing.menu.ATTRIBUTE"===Q.inputOp?S&&(v="motion"):"videoSensing.menu.SUBJECT"===Q.inputOp?S&&(v="this sprite"):"videoSensing.menu.VIDEO_STATE"===Q.inputOp?S&&(v="on"):S&&(v="");var G={};if(G[U]={name:U,value:v},"event_broadcast_menu"===Q.inputOp){var _=t(v,G[U]);G[U].id=_,G[U].variableType=Q.variableType}w.children.push({id:k,opcode:Q.inputOp,inputs:{},fields:G,next:null,topLevel:!1,parent:w.id,shadow:!0}),w.inputs[Q.inputName].shadow=k,w.inputs[Q.inputName].block||(w.inputs[Q.inputName].block=k)}else if("field"===Q.type){if(w.fields[Q.fieldName]={name:Q.fieldName,value:M},"CURRENTMENU"===Q.fieldName&&(w.fields[Q.fieldName].value=M.toUpperCase(),"day of week"===M&&(w.fields[Q.fieldName].value="DAYOFWEEK")),"VARIABLE"===Q.fieldName)w.fields[Q.fieldName].id=a(M,m.SCALAR_TYPE);else if("LIST"===Q.fieldName)w.fields[Q.fieldName].id=a(M,m.LIST_TYPE);else if("BROADCAST_OPTION"===Q.fieldName){var L=t(M,w.fields[Q.fieldName]);w.fields[Q.fieldName].id=L}var x=Q.variableType;"string"==typeof x&&(w.fields[Q.fieldName].variableType=x)}}switch(E){case"comeToFront":w.fields.FRONT_BACK={name:"FRONT_BACK",value:"front"};break;case"goBackByLayers:":w.fields.FORWARD_BACKWARD={name:"FORWARD_BACKWARD",value:"backward"};break;case"backgroundIndex":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"number"};break;case"sceneName":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"name"};break;case"costumeIndex":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"number"};break;case"costumeName":w.fields.NUMBER_NAME={name:"NUMBER_NAME",value:"name"}}if("stopScripts"===E)"other scripts in sprite"!==A[1]&&"other scripts in stage"!==A[1]||(w.mutation={tagName:"mutation",hasnext:"true",children:[]});else if("procDef"===E){var H=A.slice(1),P=g();w.inputs.custom_block={name:"custom_block",block:P,shadow:P},w.children=[{id:P,opcode:"procedures_prototype",inputs:{},fields:{},next:null,shadow:!0,children:[],mutation:{tagName:"mutation",proccode:H[0],argumentnames:JSON.stringify(H[1]),argumentids:JSON.stringify(T(H[0])),argumentdefaults:JSON.stringify(H[2]),warp:H[3],children:[]}}]}else if("call"===E)w.mutation={tagName:"mutation",children:[],proccode:A[1],argumentids:JSON.stringify(T(A[1]))};else if("getParam"===E){var j=A[2];switch(f&&"boolean"===f.inputOp&&"b"!==j&&(j="b"),j){case"r":w.opcode="argument_reporter_string_number";break;case"b":w.opcode="argument_reporter_boolean"}}return[w,l]};e.exports={deserialize:function(e,A,t,o){var n={extensionIDs:new Set,extensionURLs:new Map};return Promise.resolve(function e(A,t,o,n){if(!A.hasOwnProperty("objName"))return null;var a={costumePromises:[],soundPromises:[],soundBank:t.audioEngine&&t.audioEngine.createBank(),children:[]},i=a.costumePromises;if(A.hasOwnProperty("costumes"))for(var r=function(e){var a=A.costumes[e],r=a.bitmapResolution||1,s={name:a.costumeName,bitmapResolution:r,rotationCenterX:o?240*r:a.rotationCenterX,rotationCenterY:o?180*r:a.rotationCenterY,md5:a.baseLayerMD5,skinId:null},l=a.baseLayerMD5,u=d.splitFirst(l,"."),c=u[0],g=void 0;2===u.length&&u[1]?g=u[1]:(g="png",s.md5="".concat(s.md5,".").concat(g)),s.dataFormat=g,s.assetId=c,a.textLayerMD5&&(s.textLayerMD5=d.splitFirst(a.textLayerMD5,".")[0]);var B="".concat(a.baseLayerID,".").concat(g),h=a.textLayerID?"".concat(a.textLayerID,".png"):null;i.push(Q(s,t,n,B,h).then(function(){return w(s.md5,s,t,2)}))},s=0;s<A.costumes.length;s++)r(s);var l=a.soundBank,u=a.soundPromises;if(A.hasOwnProperty("sounds"))for(var c=function(e){var o=A.sounds[e],a={name:o.soundName,format:o.format,rate:o.rate,sampleCount:o.sampleCount,md5:o.md5,data:null},i=o.md5,r=d.splitFirst(i,"."),s=r[0],c=r[1].toLowerCase();a.dataFormat=c,a.assetId=s;var g="".concat(o.soundID,".").concat(c);u.push(M(a,t,n,g).then(function(){return f(a,t,l)}))},g=0;g<A.sounds.length;g++)c(g);var B=a.children;if(A.children)for(var h=0;h<A.children.length;h++)B.push(e(A.children[h],t,!1,n));return a}(e,A,!t,o)).then(function(e){return Promise.resolve(e)}).then(function(a){return F(e,A,n,!t,o,a)}).then(O).then(function(e){return{targets:e,extensions:n}})}}},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
97
97
|
/**
|
|
98
98
|
* [js-md5]{@link https://github.com/emn178/js-md5}
|
|
99
99
|
*
|