1 line
1.2 MiB
1 line
1.2 MiB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.OptimalSelect=e():t.OptimalSelect=e()}(this,function(){return function(r){var i={};function n(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return n.m=r,n.c=i,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertNodeList=function(t){for(var e=t.length,r=new Array(e),i=0;i<e;i++)r[i]=t[i];return r},e.escapeValue=function(t){return t&&t.replace(/['"`\\/:\?&!#$%^()[\]{|}*+;,.<=>@~]/g,"\\$&").replace(/\n/g,"A")}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCommonAncestor=function(t){var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).root,i=void 0===e?document:e,n=[];t.forEach(function(t,e){for(var r=[];t!==i;)t=t.parentNode,r.unshift(t);n[e]=r}),n.sort(function(t,e){return t.length-e.length});for(var r=n.shift(),o=null,a=function(){var e=r[s],t=n.some(function(t){return!t.some(function(t){return t===e})});if(t)return"break";o=e},s=0,l=r.length;s<l;s++){var u=a();if("break"===u)break}return o},e.getCommonProperties=function(t){var h={classes:[],attributes:{},tag:null};return t.forEach(function(t){var n,i,e,r,o=h.classes,a=h.attributes,s=h.tag;if(void 0!==o){var l=t.getAttribute("class");l?(l=l.trim().split(" "),o.length?(o=o.filter(function(e){return l.some(function(t){return t===e})})).length?h.classes=o:delete h.classes:h.classes=l):delete h.classes}if(void 0!==a&&(n=t.attributes,i=Object.keys(n).reduce(function(t,e){var r=n[e],i=r.name;return r&&"class"!==i&&(t[i]=r.value),t},{}),e=Object.keys(i),r=Object.keys(a),e.length?r.length?(a=r.reduce(function(t,e){var r=a[e];return r===i[e]&&(t[e]=r),t},{}),Object.keys(a).length?h.attributes=a:delete h.attributes):h.attributes=i:delete h.attributes),void 0!==s){var u=t.tagName.toLowerCase();s?u!==s&&delete h.tag:h.tag=u}}),h}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(e)||(e=e.length?(0,c.convertNodeList)(e):[e]);if(!e.length||e.some(function(t){return 1!==t.nodeType}))throw new Error('Invalid input - to compare HTMLElements its necessary to provide a reference of the selected node(s)! (missing "elements")');(0,h.default)(e[0],r);var i=t.replace(/> /g,">").split(/\s+(?=(?:(?:[^"]*"){2})*[^"]*$)/);if(i.length<2)return f("",t,"",e);var n=[i.pop()];for(;1<i.length;){var o=i.pop(),a=i.join(" "),s=n.join(" "),l=a+" "+s,u=document.querySelectorAll(l);u.length!==e.length&&n.unshift(f(a,o,s,e))}n.unshift(i[0]),(i=n)[0]=f("",i[0],i.slice(1).join(" "),e),i[i.length-1]=f(i.slice(0,-1).join(" "),i[i.length-1],"",e);return i.join(" ").replace(/>/g,"> ").trim()};var i,n=r(3),h=(i=n)&&i.__esModule?i:{default:i},c=r(0);function f(r,i,n,o){if(r.length&&(r+=" "),n.length&&(n=" "+n),/\[*\]/.test(i)){var t=i.replace(/=.*$/,"]"),a=""+r+t+n;if(g(document.querySelectorAll(a),o))i=t;else for(var s=document.querySelectorAll(""+r+t),e=function(){var e=s[l];if(o.some(function(t){return e.contains(t)})){var t=e.tagName.toLowerCase();return a=""+r+t+n,g(document.querySelectorAll(a),o)&&(i=t),"break"}},l=0,u=s.length;l<u;l++){if("break"===e())break}}if(/>/.test(i)){var h=i.replace(/>/,"");a=""+r+h+n;g(document.querySelectorAll(a),o)&&(i=h)}if(/:nth-child/.test(i)){var c=i.replace(/nth-child/g,"nth-of-type");a=""+r+c+n;g(document.querySelectorAll(a),o)&&(i=c)}if(/\.\S+\.\S+/.test(i)){for(var f=i.trim().split(".").slice(1).map(function(t){return"."+t}).sort(function(t,e){return t.length-e.length});f.length;){var p=i.replace(f.shift(),"").trim();if(!(a=(""+r+p+n).trim()).length||">"===a.charAt(0)||">"===a.charAt(a.length-1))break;g(document.querySelectorAll(a),o)&&(i=p)}if((f=i&&i.match(/\./g))&&2<f.length){var d=document.querySelectorAll(""+r+i),m=function(){var e=d[l];if(o.some(function(t){return e.contains(t)})){var t=e.tagName.toLowerCase();return a=""+r+t+n,g(document.querySelectorAll(a),o)&&(i=t),"break"}};for(l=0,u=d.length;l<u;l++){if("break"===m())break}}}return i}function g(r,t){var i=r.length;return i===t.length&&t.every(function(t){for(var e=0;e<i;e++)if(r[e]===t)return!0;return!1})}t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],i=!0,n=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);i=!0);}catch(t){n=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function m(t,r){t.forEach(function(t){var e=!0;r(t,function(){return e=!1}),t.childTags&&e&&m(t.childTags,r)})}function g(t,e,r){for(;t.parent;){if(r(t=t.parent))return t;if(t===e)break}return null}e.default=function(t,e){return!1;var r=Object.getPrototypeOf(!0);Object.getOwnPropertyDescriptor(r,"childTags")||Object.defineProperty(r,"childTags",{enumerable:!0,get:function(){return this.children.filter(function(t){return"tag"===t.type||"script"===t.type||"style"===t.type})}});Object.getOwnPropertyDescriptor(r,"attributes")||Object.defineProperty(r,"attributes",{enumerable:!0,get:function(){var i=this.attribs,t=Object.keys(i),e=t.reduce(function(t,e,r){return t[r]={name:e,value:i[e]},t},{});return Object.defineProperty(e,"length",{enumerable:!1,configurable:!1,value:t.length}),e}});r.getAttribute||(r.getAttribute=function(t){return this.attribs[t]||null});r.getElementsByTagName||(r.getElementsByTagName=function(e){var r=[];return m(this.childTags,function(t){t.name!==e&&"*"!==e||r.push(t)}),r});r.getElementsByClassName||(r.getElementsByClassName=function(t){var r=t.trim().replace(/\s+/g," ").split(" "),i=[];return m([this],function(t){var e=t.attribs.class;e&&r.every(function(t){return-1<e.indexOf(t)})&&i.push(t)}),i});r.querySelectorAll||(r.querySelectorAll=function(t){var r=this,i=function(t){return t.split(" ").reverse().map(function(t,e){var a=0===e,r=t.split(":"),i=d(r,2),s=i[0],n=i[1],l=null,u=null;if(function(){switch(!0){case/>/.test(s):u=function(e){return function(t){return t(e.parent)&&e.parent}};break;case/^\./.test(s):var r=s.substr(1).split(".");l=function(t){var e=t.attribs.class;return e&&r.every(function(t){return-1<e.indexOf(t)})},u=function(t,e){return a?t.getElementsByClassName(r.join(" ")):"function"==typeof t?t(l):g(t,e,l)};break;case/^\[/.test(s):var t=s.replace(/\[|\]|"/g,"").split("="),e=d(t,2),i=e[0],n=e[1];l=function(t){var e=-1<Object.keys(t.attribs).indexOf(i);return e&&(!n||t.attribs[i]===n)},u=function(t,e){if(a){var r=function(){var e=[];return m([t],function(t){l(t)&&e.push(t)}),{v:e}}();if("object"===(void 0===r?"undefined":p(r)))return r.v}return"function"==typeof t?t(l):g(t,e,l)};break;case/^#/.test(s):var o=s.substr(1);l=function(t){return t.attribs.id===o},u=function(t,e){if(a){var r=function(){var r=[];return m([t],function(t,e){l(t)&&(r.push(t),e())}),{v:r}}();if("object"===(void 0===r?"undefined":p(r)))return r.v}return"function"==typeof t?t(l):g(t,e,l)};break;case/\*/.test(s):l=function(t){return!0},u=function(t,e){if(a){var r=function(){var e=[];return m([t],function(t){return e.push(t)}),{v:e}}();if("object"===(void 0===r?"undefined":p(r)))return r.v}return"function"==typeof t?t(l):g(t,e,l)};break;default:l=function(t){return t.name===s},u=function(t,e){if(a){var r=function(){var e=[];return m([t],function(t){l(t)&&e.push(t)}),{v:e}}();if("object"===(void 0===r?"undefined":p(r)))return r.v}return"function"==typeof t?t(l):g(t,e,l)}}}(),!n)return u;var o=n.match(/-(child|type)\((\d+)\)$/),h=o[1],c=parseInt(o[2],10)-1,f=function(e){if(e){var t=e.parent.childTags;"type"===h&&(t=t.filter(l));var r=t.findIndex(function(t){return t===e});if(r===c)return!0}return!1};return function(t){var e=u(t);return a?e.reduce(function(t,e){return f(e)&&t.push(e),t},[]):f(e)&&e}})}(t=t.replace(/(>)(\S)/g,"$1 $2").trim()),e=i.shift(),n=i.length;return e(this).filter(function(t){for(var e=0;e<n;){if(!(t=i[e](t,r)))return!1;e+=1}return!0})});r.contains||(r.contains=function(r){var i=!1;return m([this],function(t,e){t===r&&(i=!0,e())}),i});return!0},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.getSingleSelector=h,e.getMultiSelector=c,e.default=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return!t.length||t.name?h(t,e):c(t,e)};var a=o(r(3)),n=o(r(5)),s=o(r(2)),l=r(0),u=r(1);function o(t){return t&&t.__esModule?t:{default:t}}function h(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(3===t.nodeType&&(t=t.parentNode),1!==t.nodeType)throw new Error('Invalid input - only HTMLElements or representations of them are supported! (not "'+(void 0===t?"undefined":i(t))+'")');(0,a.default)(t,e);var r=(0,n.default)(t,e);return(0,s.default)(r,t,e)}function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(Array.isArray(t)||(t=(0,l.convertNodeList)(t)),t.some(function(t){return 1!==t.nodeType}))throw new Error("Invalid input - only an Array of HTMLElements or representations of them is supported!");(0,a.default)(t[0],e);var r=h((0,u.getCommonAncestor)(t,e),e),i=function(t){var e=(0,u.getCommonProperties)(t),r=e.classes,i=e.attributes,n=e.tag,o=[];n&&o.push(n);if(r){var a=r.map(function(t){return"."+t}).join("");o.push(a)}if(i){var s=Object.keys(i).reduce(function(t,e){return t.push("["+e+'="'+i[e]+'"]'),t},[]).join("");o.push(s)}o.length;return[o.join("")]}(t)[0],n=(0,s.default)(r+" "+i,t,e),o=(0,l.convertNodeList)(document.querySelectorAll(n));return t.every(function(e){return o.some(function(t){return t===e})})?n:console.warn("\n The selected elements can't be efficiently mapped.\n Its probably best to use multiple single selectors instead!\n ",t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=e.root,i=void 0===r?document:r,n=e.skip,o=void 0===n?null:n,a=e.priority,s=void 0===a?["id","class","href","src"]:a,l=e.ignore,u=void 0===l?{}:l,h=[],c=t,f=h.length,p=!1,d=o&&(Array.isArray(o)?o:[o]).map(function(e){return"function"!=typeof e?function(t){return t===e}:e}),m=function(e){return o&&d.some(function(t){return t(e)})};Object.keys(u).forEach(function(t){"class"===t&&(p=!0);var r=u[t];"function"!=typeof r&&("number"==typeof r&&(r=r.toString()),"string"==typeof r&&(r=new RegExp((0,v.escapeValue)(r).replace(/\\/g,"\\\\"))),"boolean"==typeof r&&(r=r?/(?:)/:/.^/),u[t]=function(t,e){return r.test(e)})}),p&&function(){var i=u.attribute;u.attribute=function(t,e,r){return u.class(e)||i&&i(t,e,r)}}();for(;c!==i;){if(!0!==m(c)){if(_(s,c,u,h,i))break;if(y(c,u,h,i))break;_(s,c,u,h),h.length===f&&y(c,u,h),h.length===f&&b(s,c,u,h)}c=c.parentNode,f=h.length}if(c===i){var g=x(s,c,u);h.unshift(g)}return h.join(" ")};var v=r(0),f={attribute:function(t){return-1<["style","data-reactid","data-react-checksum"].indexOf(t)}};function _(t,e,r,i){var n=4<arguments.length&&void 0!==arguments[4]?arguments[4]:e.parentNode,o=a(t,e,r);if(o&&1===n.querySelectorAll(o).length)return i.unshift(o),!0;return!1}function a(n,t,e){for(var o=t.attributes,r=Object.keys(o).sort(function(t,e){var r=n.indexOf(o[t].name),i=n.indexOf(o[e].name);return-1===i?-1===r?0:-1:r-i}),i=0,a=r.length;i<a;i++){var s=r[i],l=o[s],u=l.name,h=(0,v.escapeValue)(l.value);if(!p(e[u]||e.attribute,u,h,f[u]||f.attribute)){var c="["+u+'="'+h+'"]';if(!1===/\b\d/.test(h))if("id"===u&&(c="#"+h),"class"===u)c="."+h.trim().replace(/\s+/g,".");return c}}return null}function y(t,e,r){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:t.parentNode,n=o(t,e);if(n&&1===i.getElementsByTagName(n).length)return r.unshift(n),!0;return!1}function o(t,e){var r=t.tagName.toLowerCase();return p(e.tag,null,r)?null:r}function b(t,e,r,i){for(var n=e.parentNode,o=n.childTags||n.children,a=0,s=o.length;a<s;a++){var l=o[a];if(l===e){var u=x(t,l,r);if(!u)return console.warn("\n Element couldn't be matched through strict ignore pattern!\n ",l,r,u);var h="> "+u+":nth-child("+(a+1)+")";return i.unshift(h),!0}}return!1}function x(t,e,r){var i=a(t,e,r);return i||(i=o(e,r)),i}function p(t,e,r,i){if(!r)return!0;var n=t||i;return!!n&&n(e,r,i)}t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.common=e.optimize=e.getMultiSelector=e.getSingleSelector=e.select=void 0;var i=r(4);Object.defineProperty(e,"getSingleSelector",{enumerable:!0,get:function(){return i.getSingleSelector}}),Object.defineProperty(e,"getMultiSelector",{enumerable:!0,get:function(){return i.getMultiSelector}});var n=s(i),o=s(r(2)),a=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}}(r(1));function s(t){return t&&t.__esModule?t:{default:t}}e.select=n.default,e.optimize=o.default,e.common=a,e.default=n.default}])}),function(o,n,t,c){"use strict";var a,s=["","webkit","Moz","MS","ms","o"],e=n.createElement("div"),r="function",l=Math.round,f=Math.abs,p=Date.now;function u(t,e,r){return setTimeout(_(t,r),e)}function i(t,e,r){return!!Array.isArray(t)&&(h(t,r[e],r),!0)}function h(t,e,r){var i;if(t)if(t.forEach)t.forEach(e,r);else if(t.length!==c)for(i=0;i<t.length;)e.call(r,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(r,t[i],i,t)}function d(i,t,e){var n="DEPRECATED METHOD: "+t+"\n"+e+" AT \n";return function(){var t=new Error("get-stack-trace"),e=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,n,e),i.apply(this,arguments)}}a="function"!=typeof Object.assign?function(t){if(t===c||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var i=arguments[r];if(i!==c&&null!==i)for(var n in i)i.hasOwnProperty(n)&&(e[n]=i[n])}return e}:Object.assign;var m=d(function(t,e,r){for(var i=Object.keys(e),n=0;n<i.length;)(!r||r&&t[i[n]]===c)&&(t[i[n]]=e[i[n]]),n++;return t},"extend","Use `assign`."),g=d(function(t,e){return m(t,e,!0)},"merge","Use `assign`.");function v(t,e,r){var i,n=e.prototype;(i=t.prototype=Object.create(n)).constructor=t,i._super=n,r&&a(i,r)}function _(t,e){return function(){return t.apply(e,arguments)}}function y(t,e){return typeof t==r?t.apply(e&&e[0]||c,e):t}function b(t,e){return t===c?e:t}function x(e,t,r){h(S(t),function(t){e.addEventListener(t,r,!1)})}function w(e,t,r){h(S(t),function(t){e.removeEventListener(t,r,!1)})}function T(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function k(t,e){return-1<t.indexOf(e)}function S(t){return t.trim().split(/\s+/g)}function P(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var i=0;i<t.length;){if(r&&t[i][r]==e||!r&&t[i]===e)return i;i++}return-1}function C(t){return Array.prototype.slice.call(t,0)}function A(t,r,e){for(var i=[],n=[],o=0;o<t.length;){var a=r?t[o][r]:t[o];P(n,a)<0&&i.push(t[o]),n[o]=a,o++}return e&&(i=r?i.sort(function(t,e){return t[r]>e[r]}):i.sort()),i}function E(t,e){for(var r,i,n=e[0].toUpperCase()+e.slice(1),o=0;o<s.length;){if((i=(r=s[o])?r+n:e)in t)return i;o++}return c}var I=1;function O(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var M="ontouchstart"in o,D=E(o,"PointerEvent")!==c,z=M&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),R="touch",F="mouse",j=25,L=1,N=4,B=8,U=1,X=2,H=4,q=8,W=16,G=X|H,V=q|W,Y=G|V,Z=["x","y"],J=["clientX","clientY"];function K(e,t){var r=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){y(e.options.enable,[e])&&r.handler(t)},this.init()}function Q(t,e,r){var i=r.pointers.length,n=r.changedPointers.length,o=e&L&&i-n==0,a=e&(N|B)&&i-n==0;r.isFirst=!!o,r.isFinal=!!a,o&&(t.session={}),r.eventType=e,function(t,e){var r=t.session,i=e.pointers,n=i.length;r.firstInput||(r.firstInput=$(e));1<n&&!r.firstMultiple?r.firstMultiple=$(e):1===n&&(r.firstMultiple=!1);var o=r.firstInput,a=r.firstMultiple,s=a?a.center:o.center,l=e.center=tt(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=nt(s,l),e.distance=it(s,l),function(t,e){var r=e.center,i=t.offsetDelta||{},n=t.prevDelta||{},o=t.prevInput||{};e.eventType!==L&&o.eventType!==N||(n=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:r.x,y:r.y});e.deltaX=n.x+(r.x-i.x),e.deltaY=n.y+(r.y-i.y)}(r,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var u=et(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=f(u.x)>f(u.y)?u.x:u.y,e.scale=a?function(t,e){return it(e[0],e[1],J)/it(t[0],t[1],J)}(a.pointers,i):1,e.rotation=a?function(t,e){return nt(e[1],e[0],J)+nt(t[1],t[0],J)}(a.pointers,i):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,function(t,e){var r,i,n,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!=B&&(j<s||a.velocity===c)){var l=e.deltaX-a.deltaX,u=e.deltaY-a.deltaY,h=et(s,l,u);i=h.x,n=h.y,r=f(h.x)>f(h.y)?h.x:h.y,o=rt(l,u),t.lastInterval=e}else r=a.velocity,i=a.velocityX,n=a.velocityY,o=a.direction;e.velocity=r,e.velocityX=i,e.velocityY=n,e.direction=o}(r,e);var h=t.element;T(e.srcEvent.target,h)&&(h=e.srcEvent.target);e.target=h}(t,r),t.emit("hammer.input",r),t.recognize(r),t.session.prevInput=r}function $(t){for(var e=[],r=0;r<t.pointers.length;)e[r]={clientX:l(t.pointers[r].clientX),clientY:l(t.pointers[r].clientY)},r++;return{timeStamp:p(),pointers:e,center:tt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function tt(t){var e=t.length;if(1===e)return{x:l(t[0].clientX),y:l(t[0].clientY)};for(var r=0,i=0,n=0;n<e;)r+=t[n].clientX,i+=t[n].clientY,n++;return{x:l(r/e),y:l(i/e)}}function et(t,e,r){return{x:e/t||0,y:r/t||0}}function rt(t,e){return t===e?U:f(t)>=f(e)?t<0?X:H:e<0?q:W}function it(t,e,r){r||(r=Z);var i=e[r[0]]-t[r[0]],n=e[r[1]]-t[r[1]];return Math.sqrt(i*i+n*n)}function nt(t,e,r){r||(r=Z);var i=e[r[0]]-t[r[0]],n=e[r[1]]-t[r[1]];return 180*Math.atan2(n,i)/Math.PI}K.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(O(this.element),this.evWin,this.domHandler)}};var ot={mousedown:L,mousemove:2,mouseup:N},at="mousedown",st="mousemove mouseup";function lt(){this.evEl=at,this.evWin=st,this.pressed=!1,K.apply(this,arguments)}v(lt,K,{handler:function(t){var e=ot[t.type];e&L&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=N),this.pressed&&(e&N&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:F,srcEvent:t}))}});var ut={pointerdown:L,pointermove:2,pointerup:N,pointercancel:B,pointerout:B},ht={2:R,3:"pen",4:F,5:"kinect"},ct="pointerdown",ft="pointermove pointerup pointercancel";function pt(){this.evEl=ct,this.evWin=ft,K.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(ct="MSPointerDown",ft="MSPointerMove MSPointerUp MSPointerCancel"),v(pt,K,{handler:function(t){var e=this.store,r=!1,i=t.type.toLowerCase().replace("ms",""),n=ut[i],o=ht[t.pointerType]||t.pointerType,a=o==R,s=P(e,t.pointerId,"pointerId");n&L&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):n&(N|B)&&(r=!0),s<0||(e[s]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),r&&e.splice(s,1))}});var dt={touchstart:L,touchmove:2,touchend:N,touchcancel:B};function mt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,K.apply(this,arguments)}v(mt,K,{handler:function(t){var e=dt[t.type];if(e===L&&(this.started=!0),this.started){var r=function(t,e){var r=C(t.touches),i=C(t.changedTouches);e&(N|B)&&(r=A(r.concat(i),"identifier",!0));return[r,i]}.call(this,t,e);e&(N|B)&&r[0].length-r[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:R,srcEvent:t})}}});var gt={touchstart:L,touchmove:2,touchend:N,touchcancel:B},vt="touchstart touchmove touchend touchcancel";function _t(){this.evTarget=vt,this.targetIds={},K.apply(this,arguments)}v(_t,K,{handler:function(t){var e=gt[t.type],r=function(t,e){var r=C(t.touches),i=this.targetIds;if(e&(2|L)&&1===r.length)return i[r[0].identifier]=!0,[r,r];var n,o,a=C(t.changedTouches),s=[],l=this.target;if(o=r.filter(function(t){return T(t.target,l)}),e===L)for(n=0;n<o.length;)i[o[n].identifier]=!0,n++;n=0;for(;n<a.length;)i[a[n].identifier]&&s.push(a[n]),e&(N|B)&&delete i[a[n].identifier],n++;return s.length?[A(o.concat(s),"identifier",!0),s]:void 0}.call(this,t,e);r&&this.callback(this.manager,e,{pointers:r[0],changedPointers:r[1],pointerType:R,srcEvent:t})}});var yt=2500;function bt(){K.apply(this,arguments);var t=_(this.handler,this);this.touch=new _t(this.manager,t),this.mouse=new lt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function xt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var r={x:e.clientX,y:e.clientY};this.lastTouches.push(r);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(r);-1<t&&i.splice(t,1)},yt)}}v(bt,K,{handler:function(t,e,r){var i=r.pointerType==R,n=r.pointerType==F;if(!(n&&r.sourceCapabilities&&r.sourceCapabilities.firesTouchEvents)){if(i)(function(t,e){t&L?(this.primaryTouch=e.changedPointers[0].identifier,xt.call(this,e)):t&(N|B)&&xt.call(this,e)}).call(this,e,r);else if(n&&function(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var n=this.lastTouches[i],o=Math.abs(e-n.x),a=Math.abs(r-n.y);if(o<=25&&a<=25)return!0}return!1}.call(this,r))return;this.callback(t,e,r)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var wt=E(e.style,"touchAction"),Tt=wt!==c,kt="compute",St="manipulation",Pt="none",Ct="pan-x",At="pan-y",Et=function(){if(!Tt)return!1;var e={},r=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){e[t]=!r||o.CSS.supports("touch-action",t)}),e}();function It(t,e){this.manager=t,this.set(e)}It.prototype={set:function(t){t==kt&&(t=this.compute()),Tt&&this.manager.element.style&&Et[t]&&(this.manager.element.style[wt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return h(this.manager.recognizers,function(t){y(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(t){if(k(t,Pt))return Pt;var e=k(t,Ct),r=k(t,At);if(e&&r)return Pt;if(e||r)return e?Ct:At;if(k(t,St))return St;return"auto"}(e.join(" "))},preventDefaults:function(t){var e=t.srcEvent,r=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,n=k(i,Pt)&&!Et[Pt],o=k(i,At)&&!Et[At],a=k(i,Ct)&&!Et[Ct];if(n){var s=1===t.pointers.length,l=t.distance<2,u=t.deltaTime<250;if(s&&l&&u)return}if(!a||!o)return n||o&&r&G||a&&r&V?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Ot=1;function Mt(t){this.options=a({},this.defaults,t||{}),this.id=I++,this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=Ot,this.simultaneous={},this.requireFail=[]}function Dt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function zt(t){return t==W?"down":t==q?"up":t==X?"left":t==H?"right":""}function Rt(t,e){var r=e.manager;return r?r.get(t):t}function Ft(){Mt.apply(this,arguments)}function jt(){Ft.apply(this,arguments),this.pX=null,this.pY=null}function Lt(){Ft.apply(this,arguments)}function Nt(){Mt.apply(this,arguments),this._timer=null,this._input=null}function Bt(){Ft.apply(this,arguments)}function Ut(){Ft.apply(this,arguments)}function Xt(){Mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ht(t,e){return(e=e||{}).recognizers=b(e.recognizers,Ht.defaults.preset),new qt(t,e)}Mt.prototype={defaults:{},set:function(t){return a(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(i(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Rt(t,this)).id]||(e[t.id]=t).recognizeWith(this),this},dropRecognizeWith:function(t){return i(t,"dropRecognizeWith",this)||(t=Rt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(i(t,"requireFailure",this))return this;var e=this.requireFail;return-1===P(e,t=Rt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(i(t,"dropRequireFailure",this))return this;t=Rt(t,this);var e=P(this.requireFail,t);return-1<e&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(e){var r=this,t=this.state;function i(t){r.manager.emit(t,e)}t<8&&i(r.options.event+Dt(t)),i(r.options.event),e.additionalEvent&&i(e.additionalEvent),8<=t&&i(r.options.event+Dt(t))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Ot)))return!1;t++}return!0},recognize:function(t){var e=a({},t);if(!y(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=Ot),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},v(Ft,Mt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,r=t.eventType,i=6&e,n=this.attrTest(t);return i&&(r&B||!n)?16|e:i||n?r&N?8|e:2&e?4|e:2:32}}),v(jt,Ft,{defaults:{event:"pan",threshold:10,pointers:1,direction:Y},getTouchAction:function(){var t=this.options.direction,e=[];return t&G&&e.push(At),t&V&&e.push(Ct),e},directionTest:function(t){var e=this.options,r=!0,i=t.distance,n=t.direction,o=t.deltaX,a=t.deltaY;return n&e.direction||(i=e.direction&G?(n=0===o?U:o<0?X:H,r=o!=this.pX,Math.abs(t.deltaX)):(n=0===a?U:a<0?q:W,r=a!=this.pY,Math.abs(t.deltaY))),t.direction=n,r&&i>e.threshold&&n&e.direction},attrTest:function(t){return Ft.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=zt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),v(Lt,Ft,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Pt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),v(Nt,Mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,i=t.distance<e.threshold,n=t.deltaTime>e.time;if(this._input=t,!i||!r||t.eventType&(N|B)&&!n)this.reset();else if(t.eventType&L)this.reset(),this._timer=u(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&N)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&N?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),v(Bt,Ft,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Pt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),v(Ut,Ft,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|V,pointers:1},getTouchAction:function(){return jt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,r=this.options.direction;return r&(G|V)?e=t.overallVelocity:r&G?e=t.overallVelocityX:r&V&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&r&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&f(e)>this.options.velocity&&t.eventType&N},emit:function(t){var e=zt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),v(Xt,Mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[St]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,i=t.distance<e.threshold,n=t.deltaTime<e.time;if(this.reset(),t.eventType&L&&0===this.count)return this.failTimeout();if(i&&n&&r){if(t.eventType!=N)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||it(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=u(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=u(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ht.VERSION="2.0.7",Ht.defaults={domEvents:!1,touchAction:kt,enable:!0,inputTarget:null,inputClass:null,preset:[[Bt,{enable:!1}],[Lt,{enable:!1},["rotate"]],[Ut,{direction:G}],[jt,{direction:G},["swipe"]],[Xt],[Xt,{event:"doubletap",taps:2},["tap"]],[Nt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function qt(t,e){this.options=a({},Ht.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(D?pt:z?_t:M?bt:lt))(t,Q)}(this),this.touchAction=new It(this,this.options.touchAction),Wt(this,!0),h(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Wt(r,i){var n,o=r.element;o.style&&(h(r.options.cssProps,function(t,e){n=E(o.style,e),i?(r.oldCssProps[n]=o.style[n],o.style[n]=t):o.style[n]=r.oldCssProps[n]||""}),i||(r.oldCssProps={}))}qt.prototype={set:function(t){return a(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var r;this.touchAction.preventDefaults(t);var i=this.recognizers,n=e.curRecognizer;(!n||n&&8&n.state)&&(n=e.curRecognizer=null);for(var o=0;o<i.length;)r=i[o],2===e.stopped||n&&r!=n&&!r.canRecognizeWith(n)?r.reset():r.recognize(t),!n&&14&r.state&&(n=e.curRecognizer=r),o++}},get:function(t){if(t instanceof Mt)return t;for(var e=this.recognizers,r=0;r<e.length;r++)if(e[r].options.event==t)return e[r];return null},add:function(t){if(i(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),(t.manager=this).touchAction.update(),t},remove:function(t){if(i(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,r=P(e,t);-1!==r&&(e.splice(r,1),this.touchAction.update())}return this},on:function(t,e){if(t!==c&&e!==c){var r=this.handlers;return h(S(t),function(t){r[t]=r[t]||[],r[t].push(e)}),this}},off:function(t,e){if(t!==c){var r=this.handlers;return h(S(t),function(t){e?r[t]&&r[t].splice(P(r[t],e),1):delete r[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var r=n.createEvent("Event");r.initEvent(t,!0,!0),(r.gesture=e).target.dispatchEvent(r)}(t,e);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<r.length;)r[i](e),i++}},destroy:function(){this.element&&Wt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},a(Ht,{INPUT_START:L,INPUT_MOVE:2,INPUT_END:N,INPUT_CANCEL:B,STATE_POSSIBLE:Ot,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:U,DIRECTION_LEFT:X,DIRECTION_RIGHT:H,DIRECTION_UP:q,DIRECTION_DOWN:W,DIRECTION_HORIZONTAL:G,DIRECTION_VERTICAL:V,DIRECTION_ALL:Y,Manager:qt,Input:K,TouchAction:It,TouchInput:_t,MouseInput:lt,PointerEventInput:pt,TouchMouseInput:bt,SingleTouchInput:mt,Recognizer:Mt,AttrRecognizer:Ft,Tap:Xt,Pan:jt,Swipe:Ut,Pinch:Lt,Rotate:Bt,Press:Nt,on:x,off:w,each:h,merge:g,extend:m,assign:a,inherit:v,bindFn:_,prefixed:E}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Ht,"function"==typeof define&&define.amd?define(function(){return Ht}):"undefined"!=typeof module&&module.exports?module.exports=Ht:o.Hammer=Ht}(window,document),function(t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.propagating=t()}(function(){var h=null;return function i(n,t){var o=t||{preventDefault:!1};if(n.Manager){var a=n,e=function(t,e){var r=Object.create(o);return e&&a.assign(r,e),i(new a(t,r),r)};return a.assign(e,a),e.Manager=function(t,e){var r=Object.create(o);return e&&a.assign(r,e),i(new a.Manager(t,r),r)},e}var s=Object.create(n),r=n.element;function l(t){return t.match(/[^ ]+/g)}function u(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var e=!1;t.stopPropagation=function(){e=!0};var r=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof r&&(t.srcEvent.stopPropagation=function(){r(),t.stopPropagation()});for(var i=t.firstTarget=h;i&&!e;){var n=i.hammer;if(n)for(var o,a=0;a<n.length;a++)if(o=n[a]._handlers[t.type])for(var s=0;s<o.length&&!e;s++)o[s](t);i=i.parentNode}}return r.hammer||(r.hammer=[]),r.hammer.push(s),n.on("hammer.input",function(t){!0!==o.preventDefault&&o.preventDefault!==t.pointerType||t.preventDefault(),t.isFirst&&(h=t.target)}),s._handlers={},s.on=function(t,r){return l(t).forEach(function(t){var e=s._handlers[t];e||(s._handlers[t]=e=[],n.on(t,u)),e.push(r)}),s},s.off=function(t,r){return l(t).forEach(function(t){var e=s._handlers[t];e&&(0<(e=r?e.filter(function(t){return t!==r}):[]).length?s._handlers[t]=e:(n.off(t,u),delete s._handlers[t]))}),s},s.emit=function(t,e){h=e.target,n.emit(t,e)},s.destroy=function(){var t=n.element.hammer,e=t.indexOf(s);-1!==e&&t.splice(e,1),t.length||delete n.element.hammer,s._handlers={},n.destroy()},s}});var PIXI=function(t){"use strict";var D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=e(function(t,k){!function(t){var e,r=t.Promise,i=r&&"resolve"in r&&"reject"in r&&"all"in r&&"race"in r&&(new r(function(t){e=t}),"function"==typeof e);k?(k.Promise=i?r:T,k.Polyfill=T):i||(t.Promise=T);var n="pending",o="sealed",a="fulfilled",s="rejected",l=function(){};function u(t){return"[object Array]"===Object.prototype.toString.call(t)}var h,c="undefined"!=typeof setImmediate?setImmediate:setTimeout,f=[];function p(){for(var t=0;t<f.length;t++)f[t][0](f[t][1]);h=!(f=[])}function d(t,e){f.push([t,e]),h||(h=!0,c(p,0))}function m(t){var e=t.owner,r=e.state_,i=e.data_,n=t[r],o=t.then;if("function"==typeof n){r=a;try{i=n(i)}catch(t){y(o,t)}}g(o,i)||(r===a&&v(o,i),r===s&&y(o,i))}function g(e,r){var i;try{if(e===r)throw new TypeError("A promises callback cannot return that same promise.");if(r&&("function"==typeof r||"object"==typeof r)){var t=r.then;if("function"==typeof t)return t.call(r,function(t){i||(i=!0,r!==t?v(e,t):_(e,t))},function(t){i||(i=!0,y(e,t))}),!0}}catch(t){return i||y(e,t),!0}return!1}function v(t,e){t!==e&&g(t,e)||_(t,e)}function _(t,e){t.state_===n&&(t.state_=o,t.data_=e,d(x,t))}function y(t,e){t.state_===n&&(t.state_=o,t.data_=e,d(w,t))}function b(t){var e=t.then_;t.then_=void 0;for(var r=0;r<e.length;r++)m(e[r])}function x(t){t.state_=a,b(t)}function w(t){t.state_=s,b(t)}function T(t){if("function"!=typeof t)throw new TypeError("Promise constructor takes a function argument");if(this instanceof T==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.then_=[],function(t,e){function r(t){y(e,t)}try{t(function(t){v(e,t)},r)}catch(t){r(t)}}(t,this)}T.prototype={constructor:T,state_:n,then_:null,data_:void 0,then:function(t,e){var r={owner:this,then:new this.constructor(l),fulfilled:t,rejected:e};return this.state_===a||this.state_===s?d(m,r):this.then_.push(r),r.then},catch:function(t){return this.then(null,t)}},T.all=function(s){if(!u(s))throw new TypeError("You must pass an array to Promise.all().");return new this(function(r,t){var i=[],n=0;function e(e){return n++,function(t){i[e]=t,--n||r(i)}}for(var o,a=0;a<s.length;a++)(o=s[a])&&"function"==typeof o.then?o.then(e(a),t):i[a]=o;n||r(i)})},T.race=function(n){if(!u(n))throw new TypeError("You must pass an array to Promise.race().");return new this(function(t,e){for(var r,i=0;i<n.length;i++)(r=n[i])&&"function"==typeof r.then?r.then(t,e):t(r)})},T.resolve=function(e){return e&&"object"==typeof e&&e.constructor===this?e:new this(function(t){t(e)})},T.reject=function(r){return new this(function(t,e){e(r)})}}("undefined"!=typeof window?window:void 0!==D?D:"undefined"!=typeof self?self:D)}),i=(r.Promise,r.Polyfill),u=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var n=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,i,n=arguments,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),a=1;a<arguments.length;a++){for(var s in r=Object(n[a]))h.call(r,s)&&(o[s]=r[s]);if(u){i=u(r);for(var l=0;l<i.length;l++)c.call(r,i[l])&&(o[i[l]]=r[i[l]])}}return o};window.Promise||(window.Promise=i),Object.assign||(Object.assign=n);var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!o.performance||!o.performance.now){var a=Date.now();o.performance||(o.performance={}),o.performance.now=function(){return Date.now()-a}}for(var s=Date.now(),l=["ms","moz","webkit","o"],f=0;f<l.length&&!o.requestAnimationFrame;++f){var p=l[f];o.requestAnimationFrame=o[p+"RequestAnimationFrame"],o.cancelAnimationFrame=o[p+"CancelAnimationFrame"]||o[p+"CancelRequestAnimationFrame"]}o.requestAnimationFrame||(o.requestAnimationFrame=function(t){if("function"!=typeof t)throw new TypeError(t+"is not a function");var e=Date.now(),r=16+s-e;return r<0&&(r=0),s=e,setTimeout(function(){s=Date.now(),t(performance.now())},r)}),o.cancelAnimationFrame||(o.cancelAnimationFrame=function(t){return clearTimeout(t)}),Math.sign||(Math.sign=function(t){return 0===(t=Number(t))||isNaN(t)?t:0<t?1:-1}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),window.ArrayBuffer||(window.ArrayBuffer=Array),window.Float32Array||(window.Float32Array=Array),window.Uint32Array||(window.Uint32Array=Array),window.Uint16Array||(window.Uint16Array=Array),window.Uint8Array||(window.Uint8Array=Array),window.Int32Array||(window.Int32Array=Array);var d=e(function(r){!function(t){var n=/iPhone/i,o=/iPod/i,a=/iPad/i,s=/\bAndroid(?:.+)Mobile\b/i,l=/Android/i,u=/\bAndroid(?:.+)SD4930UR\b/i,h=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,c=/Windows Phone/i,f=/\bWindows(?:.+)ARM\b/i,p=/BlackBerry/i,d=/BB10/i,m=/Opera Mini/i,g=/\b(CriOS|Chrome)(?:.+)Mobile/i,v=/Mobile(?:.+)Firefox\b/i;function _(t,e){return t.test(e)}function e(t){var e=t||("undefined"!=typeof navigator?navigator.userAgent:""),r=e.split("[FBAN");void 0!==r[1]&&(e=r[0]),void 0!==(r=e.split("Twitter"))[1]&&(e=r[0]);var i={apple:{phone:_(n,e)&&!_(c,e),ipod:_(o,e),tablet:!_(n,e)&&_(a,e)&&!_(c,e),device:(_(n,e)||_(o,e)||_(a,e))&&!_(c,e)},amazon:{phone:_(u,e),tablet:!_(u,e)&&_(h,e),device:_(u,e)||_(h,e)},android:{phone:!_(c,e)&&_(u,e)||!_(c,e)&&_(s,e),tablet:!_(c,e)&&!_(u,e)&&!_(s,e)&&(_(h,e)||_(l,e)),device:!_(c,e)&&(_(u,e)||_(h,e)||_(s,e)||_(l,e))||_(/\bokhttp\b/i,e)},windows:{phone:_(c,e),tablet:_(f,e),device:_(c,e)||_(f,e)},other:{blackberry:_(p,e),blackberry10:_(d,e),opera:_(m,e),firefox:_(v,e),chrome:_(g,e),device:_(p,e)||_(d,e)||_(m,e)||_(v,e)||_(g,e)}};return i.any=i.apple.device||i.android.device||i.windows.device||i.other.device,i.phone=i.apple.phone||i.android.phone||i.windows.phone,i.tablet=i.apple.tablet||i.android.tablet||i.windows.tablet,i}r.exports&&"undefined"==typeof window?r.exports=e:r.exports&&"undefined"!=typeof window?(r.exports=e(),r.exports.isMobile=e):t.isMobile=e()}(D)});d.isMobile;var P={MIPMAP_TEXTURES:1,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:function(t){var e=!0;if(d.tablet||d.phone){if(e=!1,d.apple.device){var r=navigator.userAgent.match(/OS (\d+)_(\d+)?/);r&&11<=parseInt(r[1],10)&&(e=!0)}if(d.android.device){var i=navigator.userAgent.match(/Android\s([0-9.]*)/);i&&7<=parseInt(i[1],10)&&(e=!0)}}return e?t:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoDensity:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:33071,SCALE_MODE:1,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:d.apple.device?"highp":"mediump",CAN_UPLOAD_SAME_BUFFER:!d.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1},m=e(function(t){var i=Object.prototype.hasOwnProperty,d="~";function r(){}function s(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function n(t,e,r,i,n){if("function"!=typeof r)throw new TypeError("The listener must be a function");var o=new s(r,i||t,n),a=d?d+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],o]:t._events[a].push(o):(t._events[a]=o,t._eventsCount++),t}function u(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function e(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(d=!1)),e.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)i.call(t,e)&&r.push(d?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},e.prototype.listeners=function(t){var e=d?d+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,n=r.length,o=new Array(n);i<n;i++)o[i]=r[i].fn;return o},e.prototype.listenerCount=function(t){var e=d?d+t:t,r=this._events[e];return r?r.fn?1:r.length:0},e.prototype.emit=function(t,e,r,i,n,o){var a=arguments,s=d?d+t:t;if(!this._events[s])return!1;var l,u,h=this._events[s],c=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),c){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,r),!0;case 4:return h.fn.call(h.context,e,r,i),!0;case 5:return h.fn.call(h.context,e,r,i,n),!0;case 6:return h.fn.call(h.context,e,r,i,n,o),!0}for(u=1,l=new Array(c-1);u<c;u++)l[u-1]=a[u];h.fn.apply(h.context,l)}else{var f,p=h.length;for(u=0;u<p;u++)switch(h[u].once&&this.removeListener(t,h[u].fn,void 0,!0),c){case 1:h[u].fn.call(h[u].context);break;case 2:h[u].fn.call(h[u].context,e);break;case 3:h[u].fn.call(h[u].context,e,r);break;case 4:h[u].fn.call(h[u].context,e,r,i);break;default:if(!l)for(f=1,l=new Array(c-1);f<c;f++)l[f-1]=a[f];h[u].fn.apply(h[u].context,l)}}return!0},e.prototype.on=function(t,e,r){return n(this,t,e,r,!1)},e.prototype.once=function(t,e,r){return n(this,t,e,r,!0)},e.prototype.removeListener=function(t,e,r,i){var n=d?d+t:t;if(!this._events[n])return this;if(!e)return u(this,n),this;var o=this._events[n];if(o.fn)o.fn!==e||i&&!o.once||r&&o.context!==r||u(this,n);else{for(var a=0,s=[],l=o.length;a<l;a++)(o[a].fn!==e||i&&!o[a].once||r&&o[a].context!==r)&&s.push(o[a]);s.length?this._events[n]=1===s.length?s[0]:s:u(this,n)}return this},e.prototype.removeAllListeners=function(t){var e;return t?(e=d?d+t:t,this._events[e]&&u(this,e)):(this._events=new r,this._eventsCount=0),this},e.prototype.off=e.prototype.removeListener,e.prototype.addListener=e.prototype.on,e.prefixed=d,e.EventEmitter=e,t.exports=e}),g=_,v=_;function _(t,e,r){r=r||2;var i,n,o,a,s,l,u,h=e&&e.length,c=h?e[0]*r:t.length,f=y(t,0,c,r,!0),p=[];if(!f||f.next===f.prev)return p;if(h&&(f=function(t,e,r,i){var n,o,a,s,l,u=[];for(n=0,o=e.length;n<o;n++)a=e[n]*i,s=n<o-1?e[n+1]*i:t.length,(l=y(t,a,s,i,!1))===l.next&&(l.steiner=!0),u.push(I(l));for(u.sort(C),n=0;n<u.length;n++)A(u[n],r),r=b(r,r.next);return r}(t,e,f,r)),t.length>80*r){i=o=t[0],n=a=t[1];for(var d=r;d<c;d+=r)(s=t[d])<i&&(i=s),(l=t[d+1])<n&&(n=l),o<s&&(o=s),a<l&&(a=l);u=0!==(u=Math.max(o-i,a-n))?1/u:0}return x(f,p,r,i,n,u),p}function y(t,e,r,i,n){var o,a;if(n===0<H(t,e,r,i))for(o=e;o<r;o+=i)a=B(o,t[o],t[o+1],a);else for(o=r-i;e<=o;o-=i)a=B(o,t[o],t[o+1],a);return a&&z(a,a.next)&&(U(a),a=a.next),a}function b(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!z(i,i.next)&&0!==M(i.prev,i,i.next))i=i.next;else{if(U(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function x(t,e,r,i,n,o,a){if(t){!a&&o&&function(t,e,r,i){var n=t;for(;null===n.z&&(n.z=E(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next,n!==t;);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,a,s,l,u=1;do{for(r=t,o=t=null,a=0;r;){for(a++,i=r,e=s=0;e<u&&(s++,i=i.nextZ);e++);for(l=u;0<s||0<l&&i;)0!==s&&(0===l||!i||r.z<=i.z)?(r=(n=r).nextZ,s--):(i=(n=i).nextZ,l--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,u*=2}while(1<a)}(n)}(t,i,n,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?T(t,i,n,o):w(t))e.push(s.i/r),e.push(t.i/r),e.push(l.i/r),U(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?x(t=k(b(t),e,r),e,r,i,n,o,2):2===a&&S(t,e,r,i,n,o):x(b(t),e,r,i,n,o,1);break}}}function w(t){var e=t.prev,r=t,i=t.next;if(0<=M(e,r,i))return!1;for(var n=t.next.next;n!==t.prev;){if(O(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&0<=M(n.prev,n,n.next))return!1;n=n.next}return!0}function T(t,e,r,i){var n=t.prev,o=t,a=t.next;if(0<=M(n,o,a))return!1;for(var s=n.x<o.x?n.x<a.x?n.x:a.x:o.x<a.x?o.x:a.x,l=n.y<o.y?n.y<a.y?n.y:a.y:o.y<a.y?o.y:a.y,u=n.x>o.x?n.x>a.x?n.x:a.x:o.x>a.x?o.x:a.x,h=n.y>o.y?n.y>a.y?n.y:a.y:o.y>a.y?o.y:a.y,c=E(s,l,e,r,i),f=E(u,h,e,r,i),p=t.prevZ,d=t.nextZ;p&&p.z>=c&&d&&d.z<=f;){if(p!==t.prev&&p!==t.next&&O(n.x,n.y,o.x,o.y,a.x,a.y,p.x,p.y)&&0<=M(p.prev,p,p.next))return!1;if(p=p.prevZ,d!==t.prev&&d!==t.next&&O(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&0<=M(d.prev,d,d.next))return!1;d=d.nextZ}for(;p&&p.z>=c;){if(p!==t.prev&&p!==t.next&&O(n.x,n.y,o.x,o.y,a.x,a.y,p.x,p.y)&&0<=M(p.prev,p,p.next))return!1;p=p.prevZ}for(;d&&d.z<=f;){if(d!==t.prev&&d!==t.next&&O(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&0<=M(d.prev,d,d.next))return!1;d=d.nextZ}return!0}function k(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!z(n,o)&&R(n,i,i.next,o)&&L(n,o)&&L(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),U(i),U(i.next),i=t=o),i=i.next}while(i!==t);return b(i)}function S(t,e,r,i,n,o){var a,s,l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&(s=u,(a=l).next.i!==s.i&&a.prev.i!==s.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&R(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(a,s)&&(L(a,s)&&L(s,a)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;for(;r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next,r!==t;);return i}(a,s)&&(M(a.prev,a,s.prev)||M(a,s.prev,s))||z(a,s)&&0<M(a.prev,a,a.next)&&0<M(s.prev,s,s.next)))){var h=N(l,u);return l=b(l,l.next),h=b(h,h.next),x(l,e,r,i,n,o),void x(h,e,r,i,n,o)}u=u.next}l=l.next}while(l!==t)}function C(t,e){return t.x-e.x}function A(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=n&&a<s){if((a=s)===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===a)return r;var l,u=r,h=r.x,c=r.y,f=1/0;i=r;for(;n>=i.x&&i.x>=h&&n!==i.x&&O(o<c?n:a,o,h,c,o<c?a:n,o,i.x,i.y)&&(l=Math.abs(o-i.y)/(n-i.x),L(i,t)&&(l<f||l===f&&(i.x>r.x||i.x===r.x&&(d=i,M((p=r).prev,p,d.prev)<0&&M(d.next,p,p.next)<0)))&&(r=i,f=l)),i=i.next,i!==u;);var p,d;return r}(t,e)){var r=N(e,t);b(r,r.next)}}function E(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function I(t){for(var e=t,r=t;(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),(e=e.next)!==t;);return r}function O(t,e,r,i,n,o,a,s){return 0<=(n-a)*(e-s)-(t-a)*(o-s)&&0<=(t-a)*(i-s)-(r-a)*(e-s)&&0<=(r-a)*(o-s)-(n-a)*(i-s)}function M(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function z(t,e){return t.x===e.x&&t.y===e.y}function R(t,e,r,i){var n=j(M(t,e,r)),o=j(M(t,e,i)),a=j(M(r,i,t)),s=j(M(r,i,e));return n!==o&&a!==s||(!(0!==n||!F(t,r,e))||(!(0!==o||!F(t,i,e))||(!(0!==a||!F(r,t,i))||!(0!==s||!F(r,e,i)))))}function F(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function j(t){return 0<t?1:t<0?-1:0}function L(t,e){return M(t.prev,t,t.next)<0?0<=M(t,e,t.next)&&0<=M(t,t.prev,e):M(t,e,t.prev)<0||M(t,t.next,e)<0}function N(t,e){var r=new X(t.i,t.x,t.y),i=new X(e.i,e.x,e.y),n=t.next,o=e.prev;return(t.next=e).prev=t,(r.next=n).prev=r,(i.next=r).prev=i,(o.next=i).prev=o,i}function B(t,e,r,i){var n=new X(t,e,r);return i?(n.next=i.next,(n.prev=i).next.prev=n,i.next=n):(n.prev=n).next=n,n}function U(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function X(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function H(t,e,r,i){for(var n=0,o=e,a=r-i;o<r;o+=i)n+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return n}_.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,a=Math.abs(H(t,0,o,r));if(n)for(var s=0,l=e.length;s<l;s++){var u=e[s]*r,h=s<l-1?e[s+1]*r:t.length;a-=Math.abs(H(t,u,h,r))}var c=0;for(s=0;s<i.length;s+=3){var f=i[s]*r,p=i[s+1]*r,d=i[s+2]*r;c+=Math.abs((t[f]-t[d])*(t[1+p]-t[1+f])-(t[f]-t[p])*(t[1+d]-t[1+f]))}return 0===a&&0===c?0:Math.abs((c-a)/a)},_.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[n][o][a]);0<n&&(i+=t[n-1].length,r.holes.push(i))}return r},g.default=v;var q=e(function(O,M){!function(t){var e=M&&!M.nodeType&&M,r=O&&!O.nodeType&&O,i="object"==typeof D&&D;i.global!==i&&i.window!==i&&i.self!==i||(t=i);var n,o,v=2147483647,_=36,y=1,b=26,a=38,s=700,x=72,w=128,T="-",l=/^xn--/,u=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=_-y,k=Math.floor,S=String.fromCharCode;function P(t){throw RangeError(c[t])}function p(t,e){for(var r=t.length,i=[];r--;)i[r]=e(t[r]);return i}function d(t,e){var r=t.split("@"),i="";return 1<r.length&&(i=r[0]+"@",t=r[1]),i+p((t=t.replace(h,".")).split("."),e).join(".")}function C(t){for(var e,r,i=[],n=0,o=t.length;n<o;)55296<=(e=t.charCodeAt(n++))&&e<=56319&&n<o?56320==(64512&(r=t.charCodeAt(n++)))?i.push(((1023&e)<<10)+(1023&r)+65536):(i.push(e),n--):i.push(e);return i}function A(t){return p(t,function(t){var e="";return 65535<t&&(e+=S((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=S(t)}).join("")}function E(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,r){var i=0;for(t=r?k(t/s):t>>1,t+=k(t/e);f*b>>1<t;i+=_)t=k(t/f);return k(i+(f+1)*t/(t+a))}function m(t){var e,r,i,n,o,a,s,l,u,h,c,f=[],p=t.length,d=0,m=w,g=x;for((r=t.lastIndexOf(T))<0&&(r=0),i=0;i<r;++i)128<=t.charCodeAt(i)&&P("not-basic"),f.push(t.charCodeAt(i));for(n=0<r?r+1:0;n<p;){for(o=d,a=1,s=_;p<=n&&P("invalid-input"),c=t.charCodeAt(n++),(_<=(l=c-48<10?c-22:c-65<26?c-65:c-97<26?c-97:_)||l>k((v-d)/a))&&P("overflow"),d+=l*a,!(l<(u=s<=g?y:g+b<=s?b:s-g));s+=_)a>k(v/(h=_-u))&&P("overflow"),a*=h;g=I(d-o,e=f.length+1,0==o),k(d/e)>v-m&&P("overflow"),m+=k(d/e),d%=e,f.splice(d++,0,m)}return A(f)}function g(t){var e,r,i,n,o,a,s,l,u,h,c,f,p,d,m,g=[];for(f=(t=C(t)).length,e=w,o=x,a=r=0;a<f;++a)(c=t[a])<128&&g.push(S(c));for(i=n=g.length,n&&g.push(T);i<f;){for(s=v,a=0;a<f;++a)e<=(c=t[a])&&c<s&&(s=c);for(s-e>k((v-r)/(p=i+1))&&P("overflow"),r+=(s-e)*p,e=s,a=0;a<f;++a)if((c=t[a])<e&&++r>v&&P("overflow"),c==e){for(l=r,u=_;!(l<(h=u<=o?y:o+b<=u?b:u-o));u+=_)m=l-h,d=_-h,g.push(S(E(h+m%d,0))),l=k(m/d);g.push(S(E(l,0))),o=I(r,p,i==n),r=0,++i}++r,++e}return g.join("")}if(n={version:"1.3.2",ucs2:{decode:C,encode:A},decode:m,encode:g,toASCII:function(t){return d(t,function(t){return u.test(t)?"xn--"+g(t):t})},toUnicode:function(t){return d(t,function(t){return l.test(t)?m(t.slice(4).toLowerCase()):t})}},e&&r)if(O.exports==e)r.exports=n;else for(o in n)n.hasOwnProperty(o)&&(e[o]=n[o]);else t.punycode=n}(D)}),W={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}};W.isString,W.isObject,W.isNull,W.isNullOrUndefined;var G=function(t,e,r,i){e=e||"&",r=r||"=";var n={};if("string"!=typeof t||0===t.length)return n;var o=/\+/g;t=t.split(e);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var s,l,u=t.length;0<a&&a<u&&(u=a);for(var h=0;h<u;++h){var c,f,p,d,m=t[h].replace(o,"%20"),g=m.indexOf(r);f=0<=g?(c=m.substr(0,g),m.substr(g+1)):(c=m,""),p=decodeURIComponent(c),d=decodeURIComponent(f),s=n,l=p,Object.prototype.hasOwnProperty.call(s,l)?Array.isArray(n[p])?n[p].push(d):n[p]=[n[p],d]:n[p]=d}return n},V=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},Y=function(r,i,n,t){return i=i||"&",n=n||"=",null===r&&(r=void 0),"object"==typeof r?Object.keys(r).map(function(t){var e=encodeURIComponent(V(t))+n;return Array.isArray(r[t])?r[t].map(function(t){return e+encodeURIComponent(V(t))}).join(i):e+encodeURIComponent(V(r[t]))}).join(i):t?encodeURIComponent(V(t))+n+encodeURIComponent(V(r)):""},Z=e(function(t,e){e.decode=e.parse=G,e.encode=e.stringify=Y}),J=(Z.decode,Z.parse,Z.encode,Z.stringify,dt),K=function(t,e){return dt(t,!1,!0).resolve(e)},Q=function(t,e){return t?dt(t,!1,!0).resolveObject(e):e},$=function(t){W.isString(t)&&(t=dt(t));return t instanceof et?t.format():et.prototype.format.call(t)},tt=et;function et(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var rt=/^([a-z0-9.+-]+:)/i,it=/:[0-9]*$/,nt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ot=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),at=["'"].concat(ot),st=["%","/","?",";","#"].concat(at),lt=["/","?","#"],ut=/^[+a-z0-9A-Z_-]{0,63}$/,ht=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ct={javascript:!0,"javascript:":!0},ft={javascript:!0,"javascript:":!0},pt={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function dt(t,e,r){if(t&&W.isObject(t)&&t instanceof et)return t;var i=new et;return i.parse(t,e,r),i}et.prototype.parse=function(t,e,r){if(!W.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),n=-1!==i&&i<t.indexOf("#")?"?":"#",o=t.split(n);o[0]=o[0].replace(/\\/g,"/");var a=t=o.join(n);if(a=a.trim(),!r&&1===t.split("#").length){var s=nt.exec(a);if(s)return this.path=a,this.href=a,this.pathname=s[1],s[2]?(this.search=s[2],this.query=e?Z.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=rt.exec(a);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,a=a.substr(l.length)}if(r||l||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var h="//"===a.substr(0,2);!h||l&&ft[l]||(a=a.substr(2),this.slashes=!0)}if(!ft[l]&&(h||l&&!pt[l])){for(var c,f,p=-1,d=0;d<lt.length;d++){-1!==(m=a.indexOf(lt[d]))&&(-1===p||m<p)&&(p=m)}-1!==(f=-1===p?a.lastIndexOf("@"):a.lastIndexOf("@",p))&&(c=a.slice(0,f),a=a.slice(f+1),this.auth=decodeURIComponent(c)),p=-1;for(d=0;d<st.length;d++){var m;-1!==(m=a.indexOf(st[d]))&&(-1===p||m<p)&&(p=m)}-1===p&&(p=a.length),this.host=a.slice(0,p),a=a.slice(p),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var v=this.hostname.split(/\./),_=(d=0,v.length);d<_;d++){var y=v[d];if(y&&!y.match(ut)){for(var b="",x=0,w=y.length;x<w;x++)127<y.charCodeAt(x)?b+="x":b+=y[x];if(!b.match(ut)){var T=v.slice(0,d),k=v.slice(d+1),S=y.match(ht);S&&(T.push(S[1]),k.unshift(S[2])),k.length&&(a="/"+k.join(".")+a),this.hostname=T.join(".");break}}}255<this.hostname.length?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||(this.hostname=q.toASCII(this.hostname));var P=this.port?":"+this.port:"",C=this.hostname||"";this.host=C+P,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!ct[u])for(d=0,_=at.length;d<_;d++){var A=at[d];if(-1!==a.indexOf(A)){var E=encodeURIComponent(A);E===A&&(E=escape(A)),a=a.split(A).join(E)}}var I=a.indexOf("#");-1!==I&&(this.hash=a.substr(I),a=a.slice(0,I));var O=a.indexOf("?");if(-1!==O?(this.search=a.substr(O),this.query=a.substr(O+1),e&&(this.query=Z.parse(this.query)),a=a.slice(0,O)):e&&(this.search="",this.query={}),a&&(this.pathname=a),pt[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){P=this.pathname||"";var M=this.search||"";this.path=P+M}return this.href=this.format(),this},et.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",i=this.hash||"",n=!1,o="";this.host?n=t+this.host:this.hostname&&(n=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&W.isObject(this.query)&&Object.keys(this.query).length&&(o=Z.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||pt[e])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),e+n+(r=r.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(a=a.replace("#","%23"))+i},et.prototype.resolve=function(t){return this.resolveObject(dt(t,!1,!0)).format()},et.prototype.resolveObject=function(t){if(W.isString(t)){var e=new et;e.parse(t,!1,!0),t=e}for(var r=new et,i=Object.keys(this),n=0;n<i.length;n++){var o=i[n];r[o]=this[o]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];"protocol"!==l&&(r[l]=t[l])}return pt[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!pt[t.protocol]){for(var u=Object.keys(t),h=0;h<u.length;h++){var c=u[h];r[c]=t[c]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||ft[t.protocol])r.pathname=t.pathname;else{for(var f=(t.pathname||"").split("/");f.length&&!(t.host=f.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var p=r.pathname||"",d=r.search||"";r.path=p+d}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),g=t.host||t.pathname&&"/"===t.pathname.charAt(0),v=g||m||r.host&&t.pathname,_=v,y=r.pathname&&r.pathname.split("/")||[],b=(f=t.pathname&&t.pathname.split("/")||[],r.protocol&&!pt[r.protocol]);if(b&&(r.hostname="",r.port=null,r.host&&(""===y[0]?y[0]=r.host:y.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===f[0]?f[0]=t.host:f.unshift(t.host)),t.host=null),v=v&&(""===f[0]||""===y[0])),g)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,y=f;else if(f.length)y||(y=[]),y.pop(),y=y.concat(f),r.search=t.search,r.query=t.query;else if(!W.isNullOrUndefined(t.search)){if(b)r.hostname=r.host=y.shift(),(S=!!(r.host&&0<r.host.indexOf("@"))&&r.host.split("@"))&&(r.auth=S.shift(),r.host=r.hostname=S.shift());return r.search=t.search,r.query=t.query,W.isNull(r.pathname)&&W.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=y.slice(-1)[0],w=(r.host||t.host||1<y.length)&&("."===x||".."===x)||""===x,T=0,k=y.length;0<=k;k--)"."===(x=y[k])?y.splice(k,1):".."===x?(y.splice(k,1),T++):T&&(y.splice(k,1),T--);if(!v&&!_)for(;T--;T)y.unshift("..");!v||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),w&&"/"!==y.join("/").substr(-1)&&y.push("");var S,P=""===y[0]||y[0]&&"/"===y[0].charAt(0);b&&(r.hostname=r.host=P?"":y.length?y.shift():"",(S=!!(r.host&&0<r.host.indexOf("@"))&&r.host.split("@"))&&(r.auth=S.shift(),r.host=r.hostname=S.shift()));return(v=v||r.host&&y.length)&&!P&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),W.isNull(r.pathname)&&W.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},et.prototype.parseHost=function(){var t=this.host,e=it.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var mt={parse:J,resolve:K,resolveObject:Q,format:$,Url:tt},gt={WEBGL_LEGACY:0,WEBGL:1,WEBGL2:2},vt={UNKNOWN:0,WEBGL:1,CANVAS:2},_t={NORMAL:0,ADD:1,MULTIPLY:2,SCREEN:3,OVERLAY:4,DARKEN:5,LIGHTEN:6,COLOR_DODGE:7,COLOR_BURN:8,HARD_LIGHT:9,SOFT_LIGHT:10,DIFFERENCE:11,EXCLUSION:12,HUE:13,SATURATION:14,COLOR:15,LUMINOSITY:16,NORMAL_NPM:17,ADD_NPM:18,SCREEN_NPM:19,NONE:20,SRC_OVER:0,SRC_IN:21,SRC_OUT:22,SRC_ATOP:23,DST_OVER:24,DST_IN:25,DST_OUT:26,DST_ATOP:27,ERASE:26,SUBTRACT:28},yt={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},bt={RGBA:6408,RGB:6407,ALPHA:6406,LUMINANCE:6409,LUMINANCE_ALPHA:6410,DEPTH_COMPONENT:6402,DEPTH_STENCIL:34041},xt={TEXTURE_2D:3553,TEXTURE_CUBE_MAP:34067,TEXTURE_2D_ARRAY:35866,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074},wt={UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123,UNSIGNED_SHORT_5_6_5:33635,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,FLOAT:5126,HALF_FLOAT:36193},Tt={LINEAR:1,NEAREST:0},kt={CLAMP:33071,REPEAT:10497,MIRRORED_REPEAT:33648},St={OFF:0,POW2:1,ON:2},Pt={AUTO:0,MANUAL:1},Ct={LOW:"lowp",MEDIUM:"mediump",HIGH:"highp"};P.RETINA_PREFIX=/@([0-9\.]+)x/;var At,Et=!(P.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!0),It="5.1.5";function Ot(t){if(!Et){if(-1<navigator.userAgent.toLowerCase().indexOf("chrome")){var e=["\n %c %c %c PixiJS "+It+" - ✰ "+t+" ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];window.console.log.apply(console,e)}else window.console&&window.console.log("PixiJS "+It+" - "+t+" - http://www.pixijs.com/");Et=!0}}function Mt(){return void 0===At&&(At=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:P.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!window.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),r=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),i=!(!r||!r.getContextAttributes().stencil);if(r){var n=r.getExtension("WEBGL_lose_context");n&&n.loseContext()}return r=null,i}catch(t){return!1}}()),At}function Dt(t,e){return(e=e||[])[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function zt(t){return t=t.toString(16),"#"+(t="000000".substr(0,6-t.length)+t)}function Rt(t){return"string"==typeof t&&"#"===t[0]&&(t=t.substr(1)),parseInt(t,16)}var Ft=function(){for(var t=[],e=[],r=0;r<32;r++)e[t[r]=r]=r;t[_t.NORMAL_NPM]=_t.NORMAL,t[_t.ADD_NPM]=_t.ADD,t[_t.SCREEN_NPM]=_t.SCREEN,e[_t.NORMAL]=_t.NORMAL_NPM,e[_t.ADD]=_t.ADD_NPM,e[_t.SCREEN]=_t.SCREEN_NPM;var i=[];return i.push(e),i.push(t),i}();function jt(t,e){return Ft[e?1:0][t]}function Lt(t,e,r,i){return r=r||new Float32Array(4),i||void 0===i?(r[0]=t[0]*e,r[1]=t[1]*e,r[2]=t[2]*e):(r[0]=t[0],r[1]=t[1],r[2]=t[2]),r[3]=e,r}function Nt(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var r=t>>16&255,i=t>>8&255,n=255&t;return(255*e<<24)+((r=r*e+.5|0)<<16)+((i=i*e+.5|0)<<8)+(n=n*e+.5|0)}function Bt(t,e,r,i){return(r=r||new Float32Array(4))[0]=(t>>16&255)/255,r[1]=(t>>8&255)/255,r[2]=(255&t)/255,(i||void 0===i)&&(r[0]*=e,r[1]*=e,r[2]*=e),r[3]=e,r}function Ut(t,e){void 0===e&&(e=null);var r=6*t;if((e=e||new Uint16Array(r)).length!==r)throw new Error("Out buffer length is incorrect, got "+e.length+" and expected "+r);for(var i=0,n=0;i<r;i+=6,n+=4)e[i+0]=n+0,e[i+1]=n+1,e[i+2]=n+2,e[i+3]=n+0,e[i+4]=n+2,e[i+5]=n+3;return e}function Xt(t,e,r){var i,n=t.length;if(!(n<=e||0===r)){var o=n-(r=n<e+r?n-e:r);for(i=e;i<o;++i)t[i]=t[i+r];t.length=o}}var Ht=0;function qt(){return++Ht}function Wt(t){return 0===t?0:t<0?-1:1}function Gt(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1}function Vt(t){return!(t&t-1||!t)}function Yt(t){var e=(65535<t)<<4,r=(255<(t>>>=e))<<3;return e|=r,e|=r=(15<(t>>>=r))<<2,(e|=r=(3<(t>>>=r))<<1)|(t>>>=r)>>1}var Zt={},Jt=Object.create(null),Kt=Object.create(null);function Qt(t){var e,r,i,n=t.width,o=t.height,a=t.getContext("2d"),s=a.getImageData(0,0,n,o).data,l=s.length,u={top:null,left:null,right:null,bottom:null},h=null;for(e=0;e<l;e+=4)0!==s[e+3]&&(r=e/4%n,i=~~(e/4/n),null===u.top&&(u.top=i),null===u.left?u.left=r:r<u.left&&(u.left=r),null===u.right?u.right=1+r:u.right<r&&(u.right=1+r),null===u.bottom?u.bottom=i:u.bottom<i&&(u.bottom=i));return null!==u.top&&(n=u.right-u.left,o=u.bottom-u.top+1,h=a.getImageData(u.left,u.top,n,o)),{height:o,width:n,data:h}}var $t=function(t,e,r){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.resolution=r||P.RESOLUTION,this.resize(t,e)},te={width:{configurable:!0},height:{configurable:!0}};$t.prototype.clear=function(){this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},$t.prototype.resize=function(t,e){this.canvas.width=t*this.resolution,this.canvas.height=e*this.resolution},$t.prototype.destroy=function(){this.context=null,this.canvas=null},te.width.get=function(){return this.canvas.width},te.width.set=function(t){this.canvas.width=t},te.height.get=function(){return this.canvas.height},te.height.set=function(t){this.canvas.height=t},Object.defineProperties($t.prototype,te);var ee,re=/^\s*data:(?:([\w-]+)\/([\w+.-]+))?(?:;charset=([\w-]+))?(?:;(base64))?,(.*)/i;function ie(t,e){if(void 0===e&&(e=window.location),0===t.indexOf("data:"))return"";e=e||window.location,ee||(ee=document.createElement("a")),ee.href=t;var r=!(t=mt.parse(ee.href)).port&&""===e.port||t.port===e.port;return t.hostname===e.hostname&&r&&t.protocol===e.protocol?"":"anonymous"}function ne(t,e){var r=P.RETINA_PREFIX.exec(t);return r?parseFloat(r[1]):void 0!==e?e:1}var oe={};function ae(t,e,r){if(void 0===r&&(r=3),!oe[e]){var i=(new Error).stack;void 0===i?console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t):(i=i.split("\n").splice(r).join("\n"),console.groupCollapsed?(console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s","color:#614108;background:#fffbe6","font-weight:normal;color:#614108;background:#fffbe6",e+"\nDeprecated since v"+t),console.warn(i),console.groupEnd()):(console.warn("PixiJS Deprecation Warning: ",e+"\nDeprecated since v"+t),console.warn(i))),oe[e]=!0}}var se={BaseTextureCache:Kt,CanvasRenderTarget:$t,DATA_URI:re,ProgramCache:Zt,TextureCache:Jt,clearTextureCache:function(){var t;for(t in Jt)delete Jt[t];for(t in Kt)delete Kt[t]},correctBlendMode:jt,createIndicesForQuads:Ut,decomposeDataUri:function(t){var e=re.exec(t);if(e)return{mediaType:e[1]?e[1].toLowerCase():void 0,subType:e[2]?e[2].toLowerCase():void 0,charset:e[3]?e[3].toLowerCase():void 0,encoding:e[4]?e[4].toLowerCase():void 0,data:e[5]}},deprecation:ae,destroyTextureCache:function(){var t;for(t in Jt)Jt[t].destroy();for(t in Kt)Kt[t].destroy()},determineCrossOrigin:ie,getResolutionOfUrl:ne,hex2rgb:Dt,hex2string:zt,isPow2:Vt,isWebGLSupported:Mt,log2:Yt,nextPow2:Gt,premultiplyBlendMode:Ft,premultiplyRgba:Lt,premultiplyTint:Nt,premultiplyTintToRgba:Bt,removeItems:Xt,rgb2hex:function(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)},sayHello:Ot,sign:Wt,skipHello:function(){Et=!0},string2hex:Rt,trimCanvas:Qt,uid:qt,isMobile:d,EventEmitter:m,earcut:g,url:mt},le=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e};le.prototype.clone=function(){return new le(this.x,this.y)},le.prototype.copyFrom=function(t){return this.set(t.x,t.y),this},le.prototype.copyTo=function(t){return t.set(this.x,this.y),t},le.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},le.prototype.set=function(t,e){this.x=t||0,this.y=e||(0!==e?this.x:0)};var ue=function(t,e,r,i){void 0===r&&(r=0),void 0===i&&(i=0),this._x=r,this._y=i,this.cb=t,this.scope=e},he={x:{configurable:!0},y:{configurable:!0}};ue.prototype.clone=function(t,e){void 0===t&&(t=null),void 0===e&&(e=null);var r=t||this.cb,i=e||this.scope;return new ue(r,i,this._x,this._y)},ue.prototype.set=function(t,e){var r=t||0,i=e||(0!==e?r:0);this._x===r&&this._y===i||(this._x=r,this._y=i,this.cb.call(this.scope))},ue.prototype.copyFrom=function(t){return this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},ue.prototype.copyTo=function(t){return t.set(this._x,this._y),t},ue.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},he.x.get=function(){return this._x},he.x.set=function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},he.y.get=function(){return this._y},he.y.set=function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},Object.defineProperties(ue.prototype,he);var ce=2*Math.PI,fe=180/Math.PI,pe=Math.PI/180,de={POLY:0,RECT:1,CIRC:2,ELIP:3,RREC:4},me=function(t,e,r,i,n,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=1),void 0===n&&(n=0),void 0===o&&(o=0),this.a=t,this.b=e,this.c=r,this.d=i,this.tx=n,this.ty=o,this.array=null},ge={IDENTITY:{configurable:!0},TEMP_MATRIX:{configurable:!0}};me.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},me.prototype.set=function(t,e,r,i,n,o){return this.a=t,this.b=e,this.c=r,this.d=i,this.tx=n,this.ty=o,this},me.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var r=e||this.array;return t?(r[0]=this.a,r[1]=this.b,r[2]=0,r[3]=this.c,r[4]=this.d,r[5]=0,r[6]=this.tx,r[7]=this.ty):(r[0]=this.a,r[1]=this.c,r[2]=this.tx,r[3]=this.b,r[4]=this.d,r[5]=this.ty,r[6]=0,r[7]=0),r[8]=1,r},me.prototype.apply=function(t,e){e=e||new le;var r=t.x,i=t.y;return e.x=this.a*r+this.c*i+this.tx,e.y=this.b*r+this.d*i+this.ty,e},me.prototype.applyInverse=function(t,e){e=e||new le;var r=1/(this.a*this.d+this.c*-this.b),i=t.x,n=t.y;return e.x=this.d*r*i+-this.c*r*n+(this.ty*this.c-this.tx*this.d)*r,e.y=this.a*r*n+-this.b*r*i+(-this.ty*this.a+this.tx*this.b)*r,e},me.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},me.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},me.prototype.rotate=function(t){var e=Math.cos(t),r=Math.sin(t),i=this.a,n=this.c,o=this.tx;return this.a=i*e-this.b*r,this.b=i*r+this.b*e,this.c=n*e-this.d*r,this.d=n*r+this.d*e,this.tx=o*e-this.ty*r,this.ty=o*r+this.ty*e,this},me.prototype.append=function(t){var e=this.a,r=this.b,i=this.c,n=this.d;return this.a=t.a*e+t.b*i,this.b=t.a*r+t.b*n,this.c=t.c*e+t.d*i,this.d=t.c*r+t.d*n,this.tx=t.tx*e+t.ty*i+this.tx,this.ty=t.tx*r+t.ty*n+this.ty,this},me.prototype.setTransform=function(t,e,r,i,n,o,a,s,l){return this.a=Math.cos(a+l)*n,this.b=Math.sin(a+l)*n,this.c=-Math.sin(a-s)*o,this.d=Math.cos(a-s)*o,this.tx=t-(r*this.a+i*this.c),this.ty=e-(r*this.b+i*this.d),this},me.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var r=this.a,i=this.c;this.a=r*t.a+this.b*t.c,this.b=r*t.b+this.b*t.d,this.c=i*t.a+this.d*t.c,this.d=i*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},me.prototype.decompose=function(t){var e=this.a,r=this.b,i=this.c,n=this.d,o=-Math.atan2(-i,n),a=Math.atan2(r,e),s=Math.abs(o+a);return s<1e-5||Math.abs(ce-s)<1e-5?(t.rotation=a,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=o,t.skew.y=a),t.scale.x=Math.sqrt(e*e+r*r),t.scale.y=Math.sqrt(i*i+n*n),t.position.x=this.tx,t.position.y=this.ty,t},me.prototype.invert=function(){var t=this.a,e=this.b,r=this.c,i=this.d,n=this.tx,o=t*i-e*r;return this.a=i/o,this.b=-e/o,this.c=-r/o,this.d=t/o,this.tx=(r*this.ty-i*n)/o,this.ty=-(t*this.ty-e*n)/o,this},me.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},me.prototype.clone=function(){var t=new me;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},me.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},me.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},ge.IDENTITY.get=function(){return new me},ge.TEMP_MATRIX.get=function(){return new me},Object.defineProperties(me,ge);var ve=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],_e=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],ye=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],be=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],xe=[],we=[],Te=Math.sign;!function(){for(var t=0;t<16;t++){var e=[];xe.push(e);for(var r=0;r<16;r++)for(var i=Te(ve[t]*ve[r]+ye[t]*_e[r]),n=Te(_e[t]*ve[r]+be[t]*_e[r]),o=Te(ve[t]*ye[r]+ye[t]*be[r]),a=Te(_e[t]*ye[r]+be[t]*be[r]),s=0;s<16;s++)if(ve[s]===i&&_e[s]===n&&ye[s]===o&&be[s]===a){e.push(s);break}}for(var l=0;l<16;l++){var u=new me;u.set(ve[l],_e[l],ye[l],be[l],0,0),we.push(u)}}();var ke={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(t){return ve[t]},uY:function(t){return _e[t]},vX:function(t){return ye[t]},vY:function(t){return be[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return xe[t][e]},sub:function(t,e){return xe[t][ke.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?0<=e?ke.S:ke.N:2*Math.abs(e)<=Math.abs(t)?0<t?ke.E:ke.W:0<e?0<t?ke.SE:ke.SW:0<t?ke.NE:ke.NW},matrixAppendRotationInv:function(t,e,r,i){void 0===r&&(r=0),void 0===i&&(i=0);var n=we[ke.inv(e)];n.tx=r,n.ty=i,t.append(n)}},Se=function(){this.worldTransform=new me,this.localTransform=new me,this.position=new ue(this.onChange,this,0,0),this.scale=new ue(this.onChange,this,1,1),this.pivot=new ue(this.onChange,this,0,0),this.skew=new ue(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0},Pe={rotation:{configurable:!0}};Se.prototype.onChange=function(){this._localID++},Se.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew._y),this._sx=Math.sin(this._rotation+this.skew._y),this._cy=-Math.sin(this._rotation-this.skew._x),this._sy=Math.cos(this._rotation-this.skew._x),this._localID++},Se.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale._x,t.b=this._sx*this.scale._x,t.c=this._cy*this.scale._y,t.d=this._sy*this.scale._y,t.tx=this.position._x-(this.pivot._x*t.a+this.pivot._y*t.c),t.ty=this.position._y-(this.pivot._x*t.b+this.pivot._y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},Se.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale._x,e.b=this._sx*this.scale._x,e.c=this._cy*this.scale._y,e.d=this._sy*this.scale._y,e.tx=this.position._x-(this.pivot._x*e.a+this.pivot._y*e.c),e.ty=this.position._y-(this.pivot._x*e.b+this.pivot._y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var r=t.worldTransform,i=this.worldTransform;i.a=e.a*r.a+e.b*r.c,i.b=e.a*r.b+e.b*r.d,i.c=e.c*r.a+e.d*r.c,i.d=e.c*r.b+e.d*r.d,i.tx=e.tx*r.a+e.ty*r.c+r.tx,i.ty=e.tx*r.b+e.ty*r.d+r.ty,this._parentID=t._worldID,this._worldID++}},Se.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Pe.rotation.get=function(){return this._rotation},Pe.rotation.set=function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},Object.defineProperties(Se.prototype,Pe),Se.IDENTITY=new Se;var Ce=function(t,e,r,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),this.x=Number(t),this.y=Number(e),this.width=Number(r),this.height=Number(i),this.type=de.RECT},Ae={left:{configurable:!0},right:{configurable:!0},top:{configurable:!0},bottom:{configurable:!0}},Ee={EMPTY:{configurable:!0}};Ae.left.get=function(){return this.x},Ae.right.get=function(){return this.x+this.width},Ae.top.get=function(){return this.y},Ae.bottom.get=function(){return this.y+this.height},Ee.EMPTY.get=function(){return new Ce(0,0,0,0)},Ce.prototype.clone=function(){return new Ce(this.x,this.y,this.width,this.height)},Ce.prototype.copyFrom=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},Ce.prototype.copyTo=function(t){return t.x=this.x,t.y=this.y,t.width=this.width,t.height=this.height,t},Ce.prototype.contains=function(t,e){return!(this.width<=0||this.height<=0)&&(t>=this.x&&t<this.x+this.width&&e>=this.y&&e<this.y+this.height)},Ce.prototype.pad=function(t,e){t=t||0,e=e||(0!==e?t:0),this.x-=t,this.y-=e,this.width+=2*t,this.height+=2*e},Ce.prototype.fit=function(t){var e=Math.max(this.x,t.x),r=Math.min(this.x+this.width,t.x+t.width),i=Math.max(this.y,t.y),n=Math.min(this.y+this.height,t.y+t.height);this.x=e,this.width=Math.max(r-e,0),this.y=i,this.height=Math.max(n-i,0)},Ce.prototype.ceil=function(t,e){void 0===t&&(t=1),void 0===e&&(e=.001);var r=Math.ceil((this.x+this.width-e)*t)/t,i=Math.ceil((this.y+this.height-e)*t)/t;this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=r-this.x,this.height=i-this.y},Ce.prototype.enlarge=function(t){var e=Math.min(this.x,t.x),r=Math.max(this.x+this.width,t.x+t.width),i=Math.min(this.y,t.y),n=Math.max(this.y+this.height,t.y+t.height);this.x=e,this.width=r-e,this.y=i,this.height=n-i},Object.defineProperties(Ce.prototype,Ae),Object.defineProperties(Ce,Ee);var Ie=function(t,e,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),this.x=t,this.y=e,this.radius=r,this.type=de.CIRC};Ie.prototype.clone=function(){return new Ie(this.x,this.y,this.radius)},Ie.prototype.contains=function(t,e){if(this.radius<=0)return!1;var r=this.radius*this.radius,i=this.x-t,n=this.y-e;return(i*=i)+(n*=n)<=r},Ie.prototype.getBounds=function(){return new Ce(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)};var Oe=function(t,e,r,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),this.x=t,this.y=e,this.width=r,this.height=i,this.type=de.ELIP};Oe.prototype.clone=function(){return new Oe(this.x,this.y,this.width,this.height)},Oe.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var r=(t-this.x)/this.width,i=(e-this.y)/this.height;return(r*=r)+(i*=i)<=1},Oe.prototype.getBounds=function(){return new Ce(this.x-this.width,this.y-this.height,this.width,this.height)};var Me=function(){for(var t=arguments,e=[],r=arguments.length;r--;)e[r]=t[r];if(Array.isArray(e[0])&&(e=e[0]),e[0]instanceof le){for(var i=[],n=0,o=e.length;n<o;n++)i.push(e[n].x,e[n].y);e=i}this.points=e,this.type=de.POLY,this.closeStroke=!0};Me.prototype.clone=function(){var t=new Me(this.points.slice());return t.closeStroke=this.closeStroke,t},Me.prototype.contains=function(t,e){for(var r=!1,i=this.points.length/2,n=0,o=i-1;n<i;o=n++){var a=this.points[2*n],s=this.points[2*n+1],l=this.points[2*o],u=this.points[2*o+1];e<s!=e<u&&t<(e-s)/(u-s)*(l-a)+a&&(r=!r)}return r};var De=function(t,e,r,i,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===n&&(n=20),this.x=t,this.y=e,this.width=r,this.height=i,this.radius=n,this.type=de.RREC};De.prototype.clone=function(){return new De(this.x,this.y,this.width,this.height,this.radius)},De.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var r=t-(this.x+this.radius),i=e-(this.y+this.radius),n=this.radius*this.radius;if(r*r+i*i<=n)return!0;if((r=t-(this.x+this.width-this.radius))*r+i*i<=n)return!0;if(r*r+(i=e-(this.y+this.height-this.radius))*i<=n)return!0;if((r=t-(this.x+this.radius))*r+i*i<=n)return!0}return!1},P.SORTABLE_CHILDREN=!1;var ze=function(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null};ze.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},ze.prototype.clear=function(){this.updateID++,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},ze.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?Ce.EMPTY:((t=t||new Ce(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},ze.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},ze.prototype.addQuad=function(t){var e=this.minX,r=this.minY,i=this.maxX,n=this.maxY,o=t[0],a=t[1];e=o<e?o:e,r=a<r?a:r,i=i<o?o:i,n=n<a?a:n,e=(o=t[2])<e?o:e,r=(a=t[3])<r?a:r,i=i<o?o:i,n=n<a?a:n,e=(o=t[4])<e?o:e,r=(a=t[5])<r?a:r,i=i<o?o:i,n=n<a?a:n,e=(o=t[6])<e?o:e,r=(a=t[7])<r?a:r,i=i<o?o:i,n=n<a?a:n,this.minX=e,this.minY=r,this.maxX=i,this.maxY=n},ze.prototype.addFrame=function(t,e,r,i,n){var o=t.worldTransform,a=o.a,s=o.b,l=o.c,u=o.d,h=o.tx,c=o.ty,f=this.minX,p=this.minY,d=this.maxX,m=this.maxY,g=a*e+l*r+h,v=s*e+u*r+c;f=g<f?g:f,p=v<p?v:p,d=d<g?g:d,m=m<v?v:m,f=(g=a*i+l*r+h)<f?g:f,p=(v=s*i+u*r+c)<p?v:p,d=d<g?g:d,m=m<v?v:m,f=(g=a*e+l*n+h)<f?g:f,p=(v=s*e+u*n+c)<p?v:p,d=d<g?g:d,m=m<v?v:m,f=(g=a*i+l*n+h)<f?g:f,p=(v=s*i+u*n+c)<p?v:p,d=d<g?g:d,m=m<v?v:m,this.minX=f,this.minY=p,this.maxX=d,this.maxY=m},ze.prototype.addVertexData=function(t,e,r){for(var i=this.minX,n=this.minY,o=this.maxX,a=this.maxY,s=e;s<r;s+=2){var l=t[s],u=t[s+1];i=l<i?l:i,n=u<n?u:n,o=o<l?l:o,a=a<u?u:a}this.minX=i,this.minY=n,this.maxX=o,this.maxY=a},ze.prototype.addVertices=function(t,e,r,i){for(var n=t.worldTransform,o=n.a,a=n.b,s=n.c,l=n.d,u=n.tx,h=n.ty,c=this.minX,f=this.minY,p=this.maxX,d=this.maxY,m=r;m<i;m+=2){var g=e[m],v=e[m+1],_=o*g+s*v+u,y=l*v+a*g+h;c=_<c?_:c,f=y<f?y:f,p=p<_?_:p,d=d<y?y:d}this.minX=c,this.minY=f,this.maxX=p,this.maxY=d},ze.prototype.addBounds=function(t){var e=this.minX,r=this.minY,i=this.maxX,n=this.maxY;this.minX=t.minX<e?t.minX:e,this.minY=t.minY<r?t.minY:r,this.maxX=t.maxX>i?t.maxX:i,this.maxY=t.maxY>n?t.maxY:n},ze.prototype.addBoundsMask=function(t,e){var r=t.minX>e.minX?t.minX:e.minX,i=t.minY>e.minY?t.minY:e.minY,n=t.maxX<e.maxX?t.maxX:e.maxX,o=t.maxY<e.maxY?t.maxY:e.maxY;if(r<=n&&i<=o){var a=this.minX,s=this.minY,l=this.maxX,u=this.maxY;this.minX=r<a?r:a,this.minY=i<s?i:s,this.maxX=l<n?n:l,this.maxY=u<o?o:u}},ze.prototype.addBoundsArea=function(t,e){var r=t.minX>e.x?t.minX:e.x,i=t.minY>e.y?t.minY:e.y,n=t.maxX<e.x+e.width?t.maxX:e.x+e.width,o=t.maxY<e.y+e.height?t.maxY:e.y+e.height;if(r<=n&&i<=o){var a=this.minX,s=this.minY,l=this.maxX,u=this.maxY;this.minX=r<a?r:a,this.minY=i<s?i:s,this.maxX=l<n?n:l,this.maxY=u<o?o:u}};var Re=function(t){function n(){t.call(this),this.tempDisplayObjectParent=null,this.transform=new Se,this.alpha=1,this.visible=!0,this.renderable=!0,this.parent=null,this.worldAlpha=1,this._lastSortedIndex=0,this._zIndex=0,this.filterArea=null,this.filters=null,this._enabledFilters=null,this._bounds=new ze,this._boundsID=0,this._lastBoundsID=-1,this._boundsRect=null,this._localBoundsRect=null,this._mask=null,this._destroyed=!1,this.isSprite=!1}t&&(n.__proto__=t);var e={_tempDisplayObjectParent:{configurable:!0},x:{configurable:!0},y:{configurable:!0},worldTransform:{configurable:!0},localTransform:{configurable:!0},position:{configurable:!0},scale:{configurable:!0},pivot:{configurable:!0},skew:{configurable:!0},rotation:{configurable:!0},angle:{configurable:!0},zIndex:{configurable:!0},worldVisible:{configurable:!0},mask:{configurable:!0}};return((n.prototype=Object.create(t&&t.prototype)).constructor=n).mixin=function(t){for(var e=Object.keys(t),r=0;r<e.length;++r){var i=e[r];Object.defineProperty(n.prototype,i,Object.getOwnPropertyDescriptor(t,i))}},e._tempDisplayObjectParent.get=function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new n),this.tempDisplayObjectParent},n.prototype.updateTransform=function(){this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha,this._bounds.updateID++},n.prototype._recursivePostUpdateTransform=function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)},n.prototype.getBounds=function(t,e){return t||(this.parent?(this._recursivePostUpdateTransform(),this.updateTransform()):(this.parent=this._tempDisplayObjectParent,this.updateTransform(),this.parent=null)),this._boundsID!==this._lastBoundsID&&(this.calculateBounds(),this._lastBoundsID=this._boundsID),e||(this._boundsRect||(this._boundsRect=new Ce),e=this._boundsRect),this._bounds.getRectangle(e)},n.prototype.getLocalBounds=function(t){var e=this.transform,r=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform,t||(this._localBoundsRect||(this._localBoundsRect=new Ce),t=this._localBoundsRect);var i=this.getBounds(!1,t);return this.parent=r,this.transform=e,i},n.prototype.toGlobal=function(t,e,r){return void 0===r&&(r=!1),r||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},n.prototype.toLocal=function(t,e,r,i){return e&&(t=e.toGlobal(t,r,i)),i||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,r)},n.prototype.render=function(t){},n.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},n.prototype.setTransform=function(t,e,r,i,n,o,a,s,l){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=1),void 0===i&&(i=1),void 0===n&&(n=0),void 0===o&&(o=0),void 0===a&&(a=0),void 0===s&&(s=0),void 0===l&&(l=0),this.position.x=t,this.position.y=e,this.scale.x=r||1,this.scale.y=i||1,this.rotation=n,this.skew.x=o,this.skew.y=a,this.pivot.x=s,this.pivot.y=l,this},n.prototype.destroy=function(){this.removeAllListeners(),this.parent&&this.parent.removeChild(this),this.transform=null,this.parent=null,this._bounds=null,this._currentBounds=null,this._mask=null,this.filterArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},e.x.get=function(){return this.position.x},e.x.set=function(t){this.transform.position.x=t},e.y.get=function(){return this.position.y},e.y.set=function(t){this.transform.position.y=t},e.worldTransform.get=function(){return this.transform.worldTransform},e.localTransform.get=function(){return this.transform.localTransform},e.position.get=function(){return this.transform.position},e.position.set=function(t){this.transform.position.copyFrom(t)},e.scale.get=function(){return this.transform.scale},e.scale.set=function(t){this.transform.scale.copyFrom(t)},e.pivot.get=function(){return this.transform.pivot},e.pivot.set=function(t){this.transform.pivot.copyFrom(t)},e.skew.get=function(){return this.transform.skew},e.skew.set=function(t){this.transform.skew.copyFrom(t)},e.rotation.get=function(){return this.transform.rotation},e.rotation.set=function(t){this.transform.rotation=t},e.angle.get=function(){return this.transform.rotation*fe},e.angle.set=function(t){this.transform.rotation=t*pe},e.zIndex.get=function(){return this._zIndex},e.zIndex.set=function(t){this._zIndex=t,this.parent&&(this.parent.sortDirty=!0)},e.worldVisible.get=function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0},e.mask.get=function(){return this._mask},e.mask.set=function(t){this._mask&&(this._mask.renderable=!0,this._mask.isMask=!1),this._mask=t,this._mask&&(this._mask.renderable=!1,this._mask.isMask=!0)},Object.defineProperties(n.prototype,e),n}(m);function Fe(t,e){return t.zIndex===e.zIndex?t._lastSortedIndex-e._lastSortedIndex:t.zIndex-e.zIndex}Re.prototype.displayObjectUpdateTransform=Re.prototype.updateTransform;var je=function(n){function t(){n.call(this),this.children=[],this.sortableChildren=P.SORTABLE_CHILDREN,this.sortDirty=!1}n&&(t.__proto__=n);var e={width:{configurable:!0},height:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.onChildrenChange=function(){},t.prototype.addChild=function(t){var e=arguments,r=arguments.length;if(1<r)for(var i=0;i<r;i++)this.addChild(e[i]);else t.parent&&t.parent.removeChild(t),(t.parent=this).sortDirty=!0,t.transform._parentID=-1,this.children.push(t),this._boundsID++,this.onChildrenChange(this.children.length-1),this.emit("childAdded",t,this,this.children.length-1),t.emit("added",this);return t},t.prototype.addChildAt=function(t,e){if(e<0||e>this.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),(t.parent=this).sortDirty=!0,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),this.emit("childAdded",t,this,e),t},t.prototype.swapChildren=function(t,e){if(t!==e){var r=this.getChildIndex(t),i=this.getChildIndex(e);this.children[r]=e,this.children[i]=t,this.onChildrenChange(r<i?r:i)}},t.prototype.getChildIndex=function(t){var e=this.children.indexOf(t);if(-1===e)throw new Error("The supplied DisplayObject must be a child of the caller");return e},t.prototype.setChildIndex=function(t,e){if(e<0||e>=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var r=this.getChildIndex(t);Xt(this.children,r,1),this.children.splice(e,0,t),this.onChildrenChange(e)},t.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},t.prototype.removeChild=function(t){var e=arguments,r=arguments.length;if(1<r)for(var i=0;i<r;i++)this.removeChild(e[i]);else{var n=this.children.indexOf(t);if(-1===n)return null;t.parent=null,t.transform._parentID=-1,Xt(this.children,n,1),this._boundsID++,this.onChildrenChange(n),t.emit("removed",this),this.emit("childRemoved",t,this,n)}return t},t.prototype.removeChildAt=function(t){var e=this.getChildAt(t);return e.parent=null,e.transform._parentID=-1,Xt(this.children,t,1),this._boundsID++,this.onChildrenChange(t),e.emit("removed",this),this.emit("childRemoved",e,this,t),e},t.prototype.removeChildren=function(t,e){void 0===t&&(t=0);var r,i=t,n="number"==typeof e?e:this.children.length,o=n-i;if(0<o&&o<=n){r=this.children.splice(i,o);for(var a=0;a<r.length;++a)r[a].parent=null,r[a].transform&&(r[a].transform._parentID=-1);this._boundsID++,this.onChildrenChange(t);for(var s=0;s<r.length;++s)r[s].emit("removed",this),this.emit("childRemoved",r[s],this,s);return r}if(0==o&&0===this.children.length)return[];throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},t.prototype.sortChildren=function(){for(var t=!1,e=0,r=this.children.length;e<r;++e){var i=this.children[e];i._lastSortedIndex=e,t||0===i.zIndex||(t=!0)}t&&1<this.children.length&&this.children.sort(Fe),this.sortDirty=!1},t.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var t=0,e=this.children.length;t<e;++t){var r=this.children[t];r.visible&&r.updateTransform()}},t.prototype.calculateBounds=function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var e=this.children[t];e.visible&&e.renderable&&(e.calculateBounds(),e._mask?(e._mask.calculateBounds(),this._bounds.addBoundsMask(e._bounds,e._mask._bounds)):e.filterArea?this._bounds.addBoundsArea(e._bounds,e.filterArea):this._bounds.addBounds(e._bounds))}this._lastBoundsID=this._boundsID},t.prototype._calculateBounds=function(){},t.prototype.render=function(t){if(this.visible&&!(this.worldAlpha<=0)&&this.renderable)if(this._mask||this.filters&&this.filters.length)this.renderAdvanced(t);else{this._render(t);for(var e=0,r=this.children.length;e<r;++e)this.children[e].render(t)}},t.prototype.renderAdvanced=function(t){t.batch.flush();var e=this.filters,r=this._mask;if(e){this._enabledFilters||(this._enabledFilters=[]);for(var i=this._enabledFilters.length=0;i<e.length;i++)e[i].enabled&&this._enabledFilters.push(e[i]);this._enabledFilters.length&&t.filter.push(this,this._enabledFilters)}r&&t.mask.push(this,this._mask),this._render(t);for(var n=0,o=this.children.length;n<o;n++)this.children[n].render(t);t.batch.flush(),r&&t.mask.pop(this,this._mask),e&&this._enabledFilters&&this._enabledFilters.length&&t.filter.pop()},t.prototype._render=function(t){},t.prototype.destroy=function(t){n.prototype.destroy.call(this),this.sortDirty=!1;var e="boolean"==typeof t?t:t&&t.children,r=this.removeChildren(0,this.children.length);if(e)for(var i=0;i<r.length;++i)r[i].destroy(t)},e.width.get=function(){return this.scale.x*this.getLocalBounds().width},e.width.set=function(t){var e=this.getLocalBounds().width;this.scale.x=0!==e?t/e:1,this._width=t},e.height.get=function(){return this.scale.y*this.getLocalBounds().height},e.height.set=function(t){var e=this.getLocalBounds().height;this.scale.y=0!==e?t/e:1,this._height=t},Object.defineProperties(t.prototype,e),t}(Re);je.prototype.containerUpdateTransform=je.prototype.updateTransform;var Le={accessible:!1,accessibleTitle:null,accessibleHint:null,tabIndex:0,_accessibleActive:!1,_accessibleDiv:!1};Re.mixin(Le);var Ne=function(t){this._hookDiv=null,(d.tablet||d.phone)&&this.createTouchHook();var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.zIndex=2,this.div=e,this.pool=[],this.renderId=0,this.debug=!1,this.renderer=t,this.children=[],this._onKeyDown=this._onKeyDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this.isActive=!1,this.isMobileAccessibility=!1,window.addEventListener("keydown",this._onKeyDown,!1)};Ne.prototype.createTouchHook=function(){var t=this,e=document.createElement("button");e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.style.zIndex=2,e.style.backgroundColor="#FF0000",e.title="HOOK DIV",e.addEventListener("focus",function(){t.isMobileAccessibility=!0,t.activate(),t.destroyTouchHook()}),document.body.appendChild(e),this._hookDiv=e},Ne.prototype.destroyTouchHook=function(){this._hookDiv&&(document.body.removeChild(this._hookDiv),this._hookDiv=null)},Ne.prototype.activate=function(){this.isActive||(this.isActive=!0,window.document.addEventListener("mousemove",this._onMouseMove,!0),window.removeEventListener("keydown",this._onKeyDown,!1),this.renderer.on("postrender",this.update,this),this.renderer.view.parentNode&&this.renderer.view.parentNode.appendChild(this.div))},Ne.prototype.deactivate=function(){this.isActive&&!this.isMobileAccessibility&&(this.isActive=!1,window.document.removeEventListener("mousemove",this._onMouseMove,!0),window.addEventListener("keydown",this._onKeyDown,!1),this.renderer.off("postrender",this.update),this.div.parentNode&&this.div.parentNode.removeChild(this.div))},Ne.prototype.updateAccessibleObjects=function(t){if(t.visible){t.accessible&&t.interactive&&(t._accessibleActive||this.addChild(t),t.renderId=this.renderId);for(var e=t.children,r=0;r<e.length;r++)this.updateAccessibleObjects(e[r])}},Ne.prototype.update=function(){if(this.renderer.renderingToScreen){this.updateAccessibleObjects(this.renderer._lastObjectRendered);var t=this.renderer.view.getBoundingClientRect(),e=t.width/this.renderer.width,r=t.height/this.renderer.height,i=this.div;i.style.left=t.left+"px",i.style.top=t.top+"px",i.style.width=this.renderer.width+"px",i.style.height=this.renderer.height+"px";for(var n=0;n<this.children.length;n++){var o=this.children[n];if(o.renderId!==this.renderId)o._accessibleActive=!1,Xt(this.children,n,1),this.div.removeChild(o._accessibleDiv),this.pool.push(o._accessibleDiv),o._accessibleDiv=null,n--,0===this.children.length&&this.deactivate();else{i=o._accessibleDiv;var a=o.hitArea,s=o.worldTransform;o.hitArea?(i.style.left=(s.tx+a.x*s.a)*e+"px",i.style.top=(s.ty+a.y*s.d)*r+"px",i.style.width=a.width*s.a*e+"px",i.style.height=a.height*s.d*r+"px"):(a=o.getBounds(),this.capHitArea(a),i.style.left=a.x*e+"px",i.style.top=a.y*r+"px",i.style.width=a.width*e+"px",i.style.height=a.height*r+"px",i.title!==o.accessibleTitle&&null!==o.accessibleTitle&&(i.title=o.accessibleTitle),i.getAttribute("aria-label")!==o.accessibleHint&&null!==o.accessibleHint&&i.setAttribute("aria-label",o.accessibleHint))}}this.renderId++}},Ne.prototype.capHitArea=function(t){t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0),t.x+t.width>this.renderer.width&&(t.width=this.renderer.width-t.x),t.y+t.height>this.renderer.height&&(t.height=this.renderer.height-t.y)},Ne.prototype.addChild=function(t){var e=this.pool.pop();e||((e=document.createElement("button")).style.width="100px",e.style.height="100px",e.style.backgroundColor=this.debug?"rgba(255,0,0,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=2,e.style.borderStyle="none",-1<navigator.userAgent.toLowerCase().indexOf("chrome")?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),t._accessibleActive=!0,(t._accessibleDiv=e).displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},Ne.prototype._onClick=function(t){var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"click",e.eventData),e.dispatchEvent(t.target.displayObject,"pointertap",e.eventData),e.dispatchEvent(t.target.displayObject,"tap",e.eventData)},Ne.prototype._onFocus=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseover",e.eventData)},Ne.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseout",e.eventData)},Ne.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},Ne.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},Ne.prototype.destroy=function(){this.destroyTouchHook(),this.div=null;for(var t=0;t<this.children.length;t++)this.children[t].div=null;window.document.removeEventListener("mousemove",this._onMouseMove,!0),window.removeEventListener("keydown",this._onKeyDown),this.pool=null,this.children=null,this.renderer=null};var Be={AccessibilityManager:Ne,accessibleTarget:Le},Ue=function(t){this.items=[],this._name=t,this._aliasCount=0},Xe={empty:{configurable:!0},name:{configurable:!0}};Ue.prototype.emit=function(t,e,r,i,n,o,a,s){if(8<arguments.length)throw new Error("max arguments reached");var l=this.name,u=this.items;this._aliasCount++;for(var h=0,c=u.length;h<c;h++)u[h][l](t,e,r,i,n,o,a,s);return u===this.items&&this._aliasCount--,this},Ue.prototype.ensureNonAliasedItems=function(){0<this._aliasCount&&1<this.items.length&&(this._aliasCount=0,this.items=this.items.slice(0))},Ue.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},Ue.prototype.remove=function(t){var e=this.items.indexOf(t);return-1!==e&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},Ue.prototype.contains=function(t){return-1!==this.items.indexOf(t)},Ue.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},Ue.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Xe.empty.get=function(){return 0===this.items.length},Xe.name.get=function(){return this._name},Object.defineProperties(Ue.prototype,Xe),Ue.prototype.dispatch=Ue.prototype.emit,Ue.prototype.run=Ue.prototype.emit,P.TARGET_FPMS=.06;var He={INTERACTION:50,HIGH:25,NORMAL:0,LOW:-25,UTILITY:-50},qe=function(t,e,r,i){void 0===e&&(e=null),void 0===r&&(r=0),void 0===i&&(i=!1),this.fn=t,this.context=e,this.priority=r,this.once=i,this.next=null,this.previous=null,this._destroyed=!1};qe.prototype.match=function(t,e){return e=e||null,this.fn===t&&this.context===e},qe.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},qe.prototype.connect=function(t){(this.previous=t).next&&(t.next.previous=this),this.next=t.next,t.next=this},qe.prototype.destroy=function(t){void 0===t&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e};var We=function(){var e=this;this._head=new qe(null,null,1/0),this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this.autoStart=!1,this.deltaTime=1,this.deltaMS=1/P.TARGET_FPMS,this.elapsedMS=1/P.TARGET_FPMS,this.lastTime=-1,this.speed=1,this.started=!1,this._protected=!1,this._lastFrame=-1,this._tick=function(t){e._requestId=null,e.started&&(e.update(t),e.started&&null===e._requestId&&e._head.next&&(e._requestId=requestAnimationFrame(e._tick)))}},Ge={FPS:{configurable:!0},minFPS:{configurable:!0},maxFPS:{configurable:!0}},Ve={shared:{configurable:!0},system:{configurable:!0}};We.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},We.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},We.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},We.prototype.add=function(t,e,r){return void 0===r&&(r=He.NORMAL),this._addListener(new qe(t,e,r))},We.prototype.addOnce=function(t,e,r){return void 0===r&&(r=He.NORMAL),this._addListener(new qe(t,e,r,!0))},We.prototype._addListener=function(t){var e=this._head.next,r=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(r);break}e=(r=e).next}t.previous||t.connect(r)}else t.connect(r);return this._startIfPossible(),this},We.prototype.remove=function(t,e){for(var r=this._head.next;r;)r=r.match(t,e)?r.destroy():r.next;return this._head.next||this._cancelIfNeeded(),this},We.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},We.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},We.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},We.prototype.update=function(t){var e;if(void 0===t&&(t=performance.now()),t>this.lastTime){if((e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var r=t-this._lastFrame|0;if(r<this._minElapsedMS)return;this._lastFrame=t-r%this._minElapsedMS}this.deltaMS=e,this.deltaTime=this.deltaMS*P.TARGET_FPMS;for(var i=this._head,n=i.next;n;)n=n.emit(this.deltaTime);i.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=t},Ge.FPS.get=function(){return 1e3/this.elapsedMS},Ge.minFPS.get=function(){return 1e3/this._maxElapsedMS},Ge.minFPS.set=function(t){var e=Math.min(this.maxFPS,t),r=Math.min(Math.max(0,e)/1e3,P.TARGET_FPMS);this._maxElapsedMS=1/r},Ge.maxFPS.get=function(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0},Ge.maxFPS.set=function(t){if(0===t)this._minElapsedMS=0;else{var e=Math.max(this.minFPS,t);this._minElapsedMS=1/(e/1e3)}},Ve.shared.get=function(){if(!We._shared){var t=We._shared=new We;t.autoStart=!0,t._protected=!0}return We._shared},Ve.system.get=function(){if(!We._system){var t=We._system=new We;t.autoStart=!0,t._protected=!0}return We._system},Object.defineProperties(We.prototype,Ge),Object.defineProperties(We,Ve);var Ye=function(){};Ye.init=function(t){var e=this;t=Object.assign({autoStart:!0,sharedTicker:!1},t),Object.defineProperty(this,"ticker",{set:function(t){this._ticker&&this._ticker.remove(this.render,this),(this._ticker=t)&&t.add(this.render,this,He.LOW)},get:function(){return this._ticker}}),this.stop=function(){e._ticker.stop()},this.start=function(){e._ticker.start()},this._ticker=null,this.ticker=t.sharedTicker?We.shared:new We,t.autoStart&&this.start()},Ye.destroy=function(){if(this._ticker){var t=this._ticker;this.ticker=null,t.destroy()}};var Ze=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._width=t,this._height=e,this.destroyed=!1,this.internal=!1,this.onResize=new Ue("setRealSize",2),this.onUpdate=new Ue("update"),this.onError=new Ue("onError",1)},Je={valid:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};Ze.prototype.bind=function(t){this.onResize.add(t),this.onUpdate.add(t),this.onError.add(t),(this._width||this._height)&&this.onResize.run(this._width,this._height)},Ze.prototype.unbind=function(t){this.onResize.remove(t),this.onUpdate.remove(t),this.onError.remove(t)},Ze.prototype.resize=function(t,e){t===this._width&&e===this._height||(this._width=t,this._height=e,this.onResize.run(t,e))},Je.valid.get=function(){return!!this._width&&!!this._height},Ze.prototype.update=function(){this.destroyed||this.onUpdate.run()},Ze.prototype.load=function(){return Promise.resolve()},Je.width.get=function(){return this._width},Je.height.get=function(){return this._height},Ze.prototype.upload=function(t,e,r){return!1},Ze.prototype.style=function(t,e,r){return!1},Ze.prototype.dispose=function(){},Ze.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.dispose(),this.onError.removeAll(),this.onError=null,this.onResize.removeAll(),this.onResize=null,this.onUpdate.removeAll(),this.onUpdate=null)},Object.defineProperties(Ze.prototype,Je);var Ke=function(i){function t(t){var e=t.naturalWidth||t.videoWidth||t.width,r=t.naturalHeight||t.videoHeight||t.height;i.call(this,e,r),this.source=t,this.noSubImage=!1}return i&&(t.__proto__=i),((t.prototype=Object.create(i&&i.prototype)).constructor=t).crossOrigin=function(t,e,r){void 0===r&&0!==e.indexOf("data:")?t.crossOrigin=ie(e):!1!==r&&(t.crossOrigin="string"==typeof r?r:"anonymous")},t.prototype.upload=function(t,e,r,i){var n=t.gl,o=e.realWidth,a=e.realHeight;return i=i||this.source,n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.premultiplyAlpha),this.noSubImage||e.target!==n.TEXTURE_2D||r.width!==o||r.height!==a?(r.width=o,r.height=a,n.texImage2D(e.target,0,e.format,e.format,e.type,i)):n.texSubImage2D(n.TEXTURE_2D,0,0,0,e.format,e.type,i),!0},t.prototype.update=function(){if(!this.destroyed){var t=this.source.naturalWidth||this.source.videoWidth||this.source.width,e=this.source.naturalHeight||this.source.videoHeight||this.source.height;this.resize(t,e),i.prototype.update.call(this)}},t.prototype.dispose=function(){this.source=null},t}(Ze),Qe=function(a){function t(t,e){if(e=e||{},!(t instanceof HTMLImageElement)){var r=new Image;a.crossOrigin(r,t,e.crossorigin),r.src=t,t=r}a.call(this,t),!t.complete&&this._width&&this._height&&(this._width=0,this._height=0),this.url=t.src,this._process=null,this.preserveBitmap=!1,this.createBitmap=(void 0!==e.createBitmap?e.createBitmap:P.CREATE_IMAGE_BITMAP)&&!!window.createImageBitmap,this.premultiplyAlpha=!1!==e.premultiplyAlpha,this.bitmap=null,this._load=null,!1!==e.autoLoad&&this.load()}return a&&(t.__proto__=a),((t.prototype=Object.create(a&&a.prototype)).constructor=t).prototype.load=function(t){var i=this;return void 0!==t&&(this.createBitmap=t),this._load||(this._load=new Promise(function(t){i.url=i.source.src;var e=i.source,r=function(){i.destroyed||(e.onload=null,e.onerror=null,i.resize(e.width,e.height),i._load=null,i.createBitmap?t(i.process()):t(i))};e.complete&&e.src?r():(e.onload=r,e.onerror=function(t){return i.onError.run(t)})})),this._load},t.prototype.process=function(){var e=this;return null!==this._process?this._process:null===this.bitmap&&window.createImageBitmap?(this._process=window.createImageBitmap(this.source,0,0,this.source.width,this.source.height,{premultiplyAlpha:this.premultiplyAlpha?"premultiply":"none"}).then(function(t){return e.destroyed?Promise.reject():(e.bitmap=t,e.update(),e._process=null,Promise.resolve(e))}),this._process):Promise.resolve(this)},t.prototype.upload=function(t,e,r){if(e.premultiplyAlpha=this.premultiplyAlpha,!this.createBitmap)return a.prototype.upload.call(this,t,e,r);if(!this.bitmap&&(this.process(),!this.bitmap))return!1;if(a.prototype.upload.call(this,t,e,r,this.bitmap),!this.preserveBitmap){var i=!0;for(var n in e._glTextures){var o=e._glTextures[n];if(o!==r&&o.dirtyId!==e.dirtyId){i=!1;break}}i&&(this.bitmap.close&&this.bitmap.close(),this.bitmap=null)}return!0},t.prototype.dispose=function(){this.source.onload=null,this.source.onerror=null,a.prototype.dispose.call(this),this.bitmap&&(this.bitmap.close(),this.bitmap=null),this._process=null,this._load=null},t}(Ke),$e=[];function tr(t,e){if(!t)return null;var r="";if("string"==typeof t){var i=/\.(\w{3,4})(?:$|\?|#)/i.exec(t);i&&(r=i[1].toLowerCase())}for(var n=$e.length-1;0<=n;--n){var o=$e[n];if(o.test&&o.test(t,r))return new o(t,e)}return new Qe(t,e)}var er=function(o){function t(t,e){var r=e||{},i=r.width,n=r.height;if(!i||!n)throw new Error("BufferResource width or height invalid");o.call(this,i,n),this.data=t}return o&&(t.__proto__=o),((t.prototype=Object.create(o&&o.prototype)).constructor=t).prototype.upload=function(t,e,r){var i=t.gl;return i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.premultiplyAlpha),r.width===e.width&&r.height===e.height?i.texSubImage2D(e.target,0,0,0,e.width,e.height,e.format,e.type,this.data):(r.width=e.width,r.height=e.height,i.texImage2D(e.target,0,r.internalFormat,e.width,e.height,0,e.format,r.type,this.data)),!0},t.prototype.dispose=function(){this.data=null},t.test=function(t){return t instanceof Float32Array||t instanceof Uint8Array||t instanceof Uint32Array},t}(Ze),rr={scaleMode:Tt.NEAREST,format:bt.RGBA,premultiplyAlpha:!1},ir=function(d){function a(t,e){void 0===t&&(t=null),void 0===e&&(e=null),d.call(this);var r=(e=e||{}).premultiplyAlpha,i=e.mipmap,n=e.anisotropicLevel,o=e.scaleMode,a=e.width,s=e.height,l=e.wrapMode,u=e.format,h=e.type,c=e.target,f=e.resolution,p=e.resourceOptions;!t||t instanceof Ze||((t=tr(t,p)).internal=!0),this.width=a||0,this.height=s||0,this.resolution=f||P.RESOLUTION,this.mipmap=void 0!==i?i:P.MIPMAP_TEXTURES,this.anisotropicLevel=void 0!==n?n:P.ANISOTROPIC_LEVEL,this.wrapMode=l||P.WRAP_MODE,this.scaleMode=void 0!==o?o:P.SCALE_MODE,this.format=u||bt.RGBA,this.type=h||wt.UNSIGNED_BYTE,this.target=c||xt.TEXTURE_2D,this.premultiplyAlpha=!1!==r,this.uid=qt(),this.touched=0,this.isPowerOfTwo=!1,this._refreshPOT(),this._glTextures={},this.dirtyId=0,this.dirtyStyleId=0,this.cacheId=null,this.valid=0<a&&0<s,this.textureCacheIds=[],this.destroyed=!1,this.resource=null,this._batchEnabled=0,this.setResource(t)}d&&(a.__proto__=d),(a.prototype=Object.create(d&&d.prototype)).constructor=a;var t={realWidth:{configurable:!0},realHeight:{configurable:!0}};return t.realWidth.get=function(){return Math.ceil(this.width*this.resolution-1e-4)},t.realHeight.get=function(){return Math.ceil(this.height*this.resolution-1e-4)},a.prototype.setStyle=function(t,e){var r;return void 0!==t&&t!==this.scaleMode&&(this.scaleMode=t,r=!0),void 0!==e&&e!==this.mipmap&&(this.mipmap=e,r=!0),r&&this.dirtyStyleId++,this},a.prototype.setSize=function(t,e,r){return this.resolution=r||this.resolution,this.width=t,this.height=e,this._refreshPOT(),this.update(),this},a.prototype.setRealSize=function(t,e,r){return this.resolution=r||this.resolution,this.width=t/this.resolution,this.height=e/this.resolution,this._refreshPOT(),this.update(),this},a.prototype._refreshPOT=function(){this.isPowerOfTwo=Vt(this.realWidth)&&Vt(this.realHeight)},a.prototype.setResolution=function(t){var e=this.resolution;return e===t||(this.resolution=t,this.valid&&(this.width=this.width*e/t,this.height=this.height*e/t,this.emit("update",this)),this._refreshPOT()),this},a.prototype.setResource=function(t){if(this.resource===t)return this;if(this.resource)throw new Error("Resource can be set only once");return t.bind(this),this.resource=t,this},a.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):0<this.width&&0<this.height&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},a.prototype.onError=function(t){this.emit("error",this,t)},a.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete Kt[this.cacheId],delete Jt[this.cacheId],this.cacheId=null),this.dispose(),a.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0},a.prototype.dispose=function(){this.emit("dispose",this)},a.from=function(t,e){var r=null;r="string"==typeof t?t:(t._pixiId||(t._pixiId="pixiid_"+qt()),t._pixiId);var i=Kt[r];return i||((i=new a(t,e)).cacheId=r,a.addToCache(i,r)),i},a.fromBuffer=function(t,e,r,i){t=t||new Float32Array(e*r*4);var n=new er(t,{width:e,height:r}),o=t instanceof Float32Array?wt.FLOAT:wt.UNSIGNED_BYTE;return new a(n,Object.assign(rr,i||{width:e,height:r,type:o}))},a.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),Kt[e]&&console.warn("BaseTexture added to the cache with an id ["+e+"] that already had an entry"),Kt[e]=t)},a.removeFromCache=function(t){if("string"==typeof t){var e=Kt[t];if(e){var r=e.textureCacheIds.indexOf(t);return-1<r&&e.textureCacheIds.splice(r,1),delete Kt[t],e}}else if(t&&t.textureCacheIds){for(var i=0;i<t.textureCacheIds.length;++i)delete Kt[t.textureCacheIds[i]];return t.textureCacheIds.length=0,t}return null},Object.defineProperties(a.prototype,t),a}(m);ir._globalBatch=0;var nr=function(s){function t(t,e){var r;e=e||{};var i=t;Array.isArray(t)&&(i=(r=t).length),s.call(this,e.width,e.height),this.items=[],this.itemDirtyIds=[];for(var n=0;n<i;n++){var o=new ir;this.items.push(o),this.itemDirtyIds.push(-1)}if(this.length=i,this._load=null,r)for(var a=0;a<i;a++)this.addResourceAt(tr(r[a],e),a)}return s&&(t.__proto__=s),((t.prototype=Object.create(s&&s.prototype)).constructor=t).prototype.dispose=function(){for(var t=0,e=this.length;t<e;t++)this.items[t].destroy();this.items=null,this.itemDirtyIds=null,this._load=null},t.prototype.addResourceAt=function(t,e){if(!this.items[e])throw new Error("Index "+e+" is out of bounds");return t.valid&&!this.valid&&this.resize(t.width,t.height),this.items[e].setResource(t),this},t.prototype.bind=function(t){s.prototype.bind.call(this,t),t.target=xt.TEXTURE_2D_ARRAY;for(var e=0;e<this.length;e++)this.items[e].on("update",t.update,t)},t.prototype.unbind=function(t){s.prototype.unbind.call(this,t);for(var e=0;e<this.length;e++)this.items[e].off("update",t.update,t)},t.prototype.load=function(){var i=this;if(this._load)return this._load;var n=this.items.map(function(t){return t.resource}),t=n.map(function(t){return t.load()});return this._load=Promise.all(t).then(function(){var t=n[0],e=t.width,r=t.height;return i.resize(e,r),Promise.resolve(i)}),this._load},t.prototype.upload=function(t,e,r){var i=this.length,n=this.itemDirtyIds,o=this.items,a=t.gl;r.dirtyId<0&&a.texImage3D(a.TEXTURE_2D_ARRAY,0,e.format,this._width,this._height,i,0,e.format,e.type,null);for(var s=0;s<i;s++){var l=o[s];n[s]<l.dirtyId&&(n[s]=l.dirtyId,l.valid&&a.texSubImage3D(a.TEXTURE_2D_ARRAY,0,0,0,s,l.resource.width,l.resource.height,1,e.format,e.type,l.resource.source))}return!0},t}(Ze),or=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).test=function(t){var e=window.OffscreenCanvas;return!!(e&&t instanceof e)||t instanceof HTMLCanvasElement},e}(Ke),ar=function(i){function a(t,e){if(e=e||{},i.call(this,t,e),this.length!==a.SIDES)throw new Error("Invalid length. Got "+this.length+", expected 6");for(var r=0;r<a.SIDES;r++)this.items[r].target=xt.TEXTURE_CUBE_MAP_POSITIVE_X+r;!1!==e.autoLoad&&this.load()}return i&&(a.__proto__=i),((a.prototype=Object.create(i&&i.prototype)).constructor=a).prototype.bind=function(t){i.prototype.bind.call(this,t),t.target=xt.TEXTURE_CUBE_MAP},a.prototype.upload=function(t,e,r){for(var i=this.itemDirtyIds,n=0;n<a.SIDES;n++){var o=this.items[n];i[n]<o.dirtyId&&(i[n]=o.dirtyId,o.valid&&o.resource.upload(t,o,r))}return!0},a}(nr);ar.SIDES=6;var sr=function(r){function i(t,e){e=e||{},r.call(this,document.createElement("canvas")),this._width=0,this._height=0,this.svg=t,this.scale=e.scale||1,this._overrideWidth=e.width,this._overrideHeight=e.height,this._resolve=null,this._crossorigin=e.crossorigin,this._load=null,!1!==e.autoLoad&&this.load()}return r&&(i.__proto__=r),((i.prototype=Object.create(r&&r.prototype)).constructor=i).prototype.load=function(){var e=this;return this._load||(this._load=new Promise(function(t){if(e._resolve=function(){e.resize(e.source.width,e.source.height),t(e)},/^\<svg/.test(e.svg.trim())){if(!btoa)throw new Error("Your browser doesn't support base64 conversions.");e.svg="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e.svg)))}e._loadSvg()})),this._load},i.prototype._loadSvg=function(){var o=this,a=new Image;r.crossOrigin(a,this.svg,this._crossorigin),a.src=this.svg,a.onerror=function(t){a.onerror=null,o.onError.run(t)},a.onload=function(){var t=a.width,e=a.height;if(!t||!e)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");var r=t*o.scale,i=e*o.scale;(o._overrideWidth||o._overrideHeight)&&(r=o._overrideWidth||o._overrideHeight/e*t,i=o._overrideHeight||o._overrideWidth/t*e),r=Math.round(r),i=Math.round(i);var n=o.source;n.width=r,n.height=i,n._pixiId="canvas_"+qt(),n.getContext("2d").drawImage(a,0,0,t,e,0,0,r,i),o._resolve(),o._resolve=null}},i.getSize=function(t){var e=i.SVG_SIZE.exec(t),r={};return e&&(r[e[1]]=Math.round(parseFloat(e[3])),r[e[5]]=Math.round(parseFloat(e[7]))),r},i.prototype.dispose=function(){r.prototype.dispose.call(this),this._resolve=null,this._crossorigin=null},i.test=function(t,e){return"svg"===e||"string"==typeof t&&0===t.indexOf("data:image/svg+xml;base64")||"string"==typeof t&&0===t.indexOf("<svg")},i}(Ke);sr.SVG_SIZE=/<svg[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i;var lr=function(h){function r(t,e){if(e=e||{},!(t instanceof HTMLVideoElement)){var r=document.createElement("video");r.setAttribute("preload","auto"),r.setAttribute("webkit-playsinline",""),r.setAttribute("playsinline",""),"string"==typeof t&&(t=[t]),h.crossOrigin(r,t[0].src||t[0],e.crossorigin);for(var i=0;i<t.length;++i){var n=document.createElement("source"),o=t[i],a=o.src,s=o.mime,l=(a=a||t[i]).split("?").shift().toLowerCase(),u=l.substr(l.lastIndexOf(".")+1);s=s||"video/"+u,n.src=a,n.type=s,r.appendChild(n)}t=r}h.call(this,t),this.noSubImage=!0,this._autoUpdate=!0,this._isAutoUpdating=!1,this._updateFPS=e.updateFPS||0,this._msToNextUpdate=0,this.autoPlay=!1!==e.autoPlay,this._load=null,this._resolve=null,this._onCanPlay=this._onCanPlay.bind(this),this._onError=this._onError.bind(this),!1!==e.autoLoad&&this.load()}h&&(r.__proto__=h);var t={autoUpdate:{configurable:!0},updateFPS:{configurable:!0}};return((r.prototype=Object.create(h&&h.prototype)).constructor=r).prototype.update=function(t){if(void 0===t&&(t=0),!this.destroyed){var e=We.shared.elapsedMS*this.source.playbackRate;this._msToNextUpdate=Math.floor(this._msToNextUpdate-e),(!this._updateFPS||this._msToNextUpdate<=0)&&(h.prototype.update.call(this,t),this._msToNextUpdate=this._updateFPS?Math.floor(1e3/this._updateFPS):0)}},r.prototype.load=function(){var e=this;if(this._load)return this._load;var r=this.source;return(r.readyState===r.HAVE_ENOUGH_DATA||r.readyState===r.HAVE_FUTURE_DATA)&&r.width&&r.height&&(r.complete=!0),r.addEventListener("play",this._onPlayStart.bind(this)),r.addEventListener("pause",this._onPlayStop.bind(this)),this._isSourceReady()?this._onCanPlay():(r.addEventListener("canplay",this._onCanPlay),r.addEventListener("canplaythrough",this._onCanPlay),r.addEventListener("error",this._onError,!0)),this._load=new Promise(function(t){e.valid?t(e):(e._resolve=t,r.load())}),this._load},r.prototype._onError=function(){this.source.removeEventListener("error",this._onError,!0),this.onError.run(event)},r.prototype._isSourcePlaying=function(){var t=this.source;return 0<t.currentTime&&!1===t.paused&&!1===t.ended&&2<t.readyState},r.prototype._isSourceReady=function(){return 3===this.source.readyState||4===this.source.readyState},r.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),!this._isAutoUpdating&&this.autoUpdate&&(We.shared.add(this.update,this),this._isAutoUpdating=!0)},r.prototype._onPlayStop=function(){this._isAutoUpdating&&(We.shared.remove(this.update,this),this._isAutoUpdating=!1)},r.prototype._onCanPlay=function(){var t=this.source;t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlay);var e=this.valid;this.resize(t.videoWidth,t.videoHeight),!e&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&t.play()},r.prototype.dispose=function(){this._isAutoUpdating&&We.shared.remove(this.update,this),this.source&&(this.source.removeEventListener("error",this._onError,!0),this.source.pause(),this.source.src="",this.source.load()),h.prototype.dispose.call(this)},t.autoUpdate.get=function(){return this._autoUpdate},t.autoUpdate.set=function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isAutoUpdating?(We.shared.remove(this.update,this),this._isAutoUpdating=!1):this._autoUpdate&&!this._isAutoUpdating&&(We.shared.add(this.update,this),this._isAutoUpdating=!0))},t.updateFPS.get=function(){return this._updateFPS},t.updateFPS.set=function(t){t!==this._updateFPS&&(this._updateFPS=t)},r.test=function(t,e){return t instanceof HTMLVideoElement||-1<r.TYPES.indexOf(e)},Object.defineProperties(r.prototype,t),r}(Ke);lr.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"];var ur=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).test=function(t){return!!window.createImageBitmap&&t instanceof ImageBitmap},e}(Ke);$e.push(Qe,ur,or,lr,sr,er,ar,nr);var hr={INSTALLED:$e,autoDetectResource:tr,ArrayResource:nr,BufferResource:er,CanvasResource:or,CubeResource:ar,ImageResource:Qe,ImageBitmapResource:ur,SVGResource:sr,VideoResource:lr,Resource:Ze,BaseImageResource:Ke},cr=function(t){this.renderer=t};cr.prototype.destroy=function(){this.renderer=null};var fr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.upload=function(t,e,r){var i=t.gl;return i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.premultiplyAlpha),r.width===e.width&&r.height===e.height?i.texSubImage2D(e.target,0,0,0,e.width,e.height,e.format,e.type,this.data):(r.width=e.width,r.height=e.height,i.texImage2D(e.target,0,i.DEPTH_COMPONENT16,e.width,e.height,0,e.format,e.type,this.data)),!0},e}(er),pr=function(t,e){this.width=Math.ceil(t||100),this.height=Math.ceil(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new Ue("disposeFramebuffer",2)},dr={colorTexture:{configurable:!0}};dr.colorTexture.get=function(){return this.colorTextures[0]},pr.prototype.addColorTexture=function(t,e){return void 0===t&&(t=0),this.colorTextures[t]=e||new ir(null,{scaleMode:0,resolution:1,mipmap:!1,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},pr.prototype.addDepthTexture=function(t){return this.depthTexture=t||new ir(new fr(null,{width:this.width,height:this.height}),{scaleMode:0,resolution:1,width:this.width,height:this.height,mipmap:!1,format:bt.DEPTH_COMPONENT,type:wt.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},pr.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},pr.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},pr.prototype.resize=function(t,e){if(t=Math.ceil(t),e=Math.ceil(e),t!==this.width||e!==this.height){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var r=0;r<this.colorTextures.length;r++){var i=this.colorTextures[r],n=i.resolution;i.setSize(t/n,e/n)}if(this.depthTexture){var o=this.depthTexture.resolution;this.depthTexture.setSize(t/o,e/o)}}},pr.prototype.dispose=function(){this.disposeRunner.run(this,!1)},Object.defineProperties(pr.prototype,dr);var mr=function(n){function t(t){"number"==typeof t&&(t={width:arguments[0],height:arguments[1],scaleMode:arguments[2],resolution:arguments[3]});n.call(this,null,t);var e=t||{},r=e.width,i=e.height;this.mipmap=!1,this.width=Math.ceil(r)||100,this.height=Math.ceil(i)||100,this.valid=!0,this._canvasRenderTarget=null,this.clearColor=[0,0,0,0],this.framebuffer=new pr(this.width*this.resolution,this.height*this.resolution).addColorTexture(0,this),this.stencilMaskStack=[],this.filterStack=[{}]}return n&&(t.__proto__=n),((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.resize=function(t,e){t=Math.ceil(t),e=Math.ceil(e),this.framebuffer.resize(t*this.resolution,e*this.resolution)},t.prototype.dispose=function(){this.framebuffer.dispose(),n.prototype.dispose.call(this)},t.prototype.destroy=function(){n.prototype.destroy.call(this,!0),this.framebuffer=null},t}(ir),gr=function(){this.x0=0,this.y0=0,this.x1=1,this.y1=0,this.x2=1,this.y2=1,this.x3=0,this.y3=1,this.uvsFloat32=new Float32Array(8)};gr.prototype.set=function(t,e,r){var i=e.width,n=e.height;if(r){var o=t.width/2/i,a=t.height/2/n,s=t.x/i+o,l=t.y/n+a;r=ke.add(r,ke.NW),this.x0=s+o*ke.uX(r),this.y0=l+a*ke.uY(r),r=ke.add(r,2),this.x1=s+o*ke.uX(r),this.y1=l+a*ke.uY(r),r=ke.add(r,2),this.x2=s+o*ke.uX(r),this.y2=l+a*ke.uY(r),r=ke.add(r,2),this.x3=s+o*ke.uX(r),this.y3=l+a*ke.uY(r)}else this.x0=t.x/i,this.y0=t.y/n,this.x1=(t.x+t.width)/i,this.y1=t.y/n,this.x2=(t.x+t.width)/i,this.y2=(t.y+t.height)/n,this.x3=t.x/i,this.y3=(t.y+t.height)/n;this.uvsFloat32[0]=this.x0,this.uvsFloat32[1]=this.y0,this.uvsFloat32[2]=this.x1,this.uvsFloat32[3]=this.y1,this.uvsFloat32[4]=this.x2,this.uvsFloat32[5]=this.y2,this.uvsFloat32[6]=this.x3,this.uvsFloat32[7]=this.y3};var vr=new gr,_r=function(a){function s(t,e,r,i,n,o){if(a.call(this),this.noFrame=!1,e||(this.noFrame=!0,e=new Ce(0,0,1,1)),t instanceof s&&(t=t.baseTexture),this.baseTexture=t,this._frame=e,this.trim=i,this.valid=!1,this.requiresUpdate=!1,this._uvs=vr,this.uvMatrix=null,this.orig=r||e,this._rotate=Number(n||0),!0===n)this._rotate=2;else if(this._rotate%2!=0)throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");this.defaultAnchor=o?new le(o.x,o.y):new le(0,0),this._updateID=0,this.textureCacheIds=[],t.valid?this.noFrame?t.valid&&this.onBaseTextureUpdated(t):this.frame=e:t.once("loaded",this.onBaseTextureUpdated,this),this.noFrame&&t.on("update",this.onBaseTextureUpdated,this)}a&&(s.__proto__=a);var t={resolution:{configurable:!0},frame:{configurable:!0},rotate:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return((s.prototype=Object.create(a&&a.prototype)).constructor=s).prototype.update=function(){this.baseTexture.resource&&this.baseTexture.resource.update()},s.prototype.onBaseTextureUpdated=function(t){if(this.noFrame){if(!this.baseTexture.valid)return;this._frame.width=t.width,this._frame.height=t.height,this.valid=!0,this.updateUvs()}else this.frame=this._frame;this.emit("update",this)},s.prototype.destroy=function(t){if(this.baseTexture){if(t){var e=this.baseTexture.resource;e&&Jt[e.url]&&s.removeFromCache(e.url),this.baseTexture.destroy()}this.baseTexture.off("update",this.onBaseTextureUpdated,this),this.baseTexture=null}this._frame=null,this._uvs=null,this.trim=null,this.orig=null,this.valid=!1,s.removeFromCache(this),this.textureCacheIds=null},s.prototype.clone=function(){return new s(this.baseTexture,this.frame,this.orig,this.trim,this.rotate,this.defaultAnchor)},s.prototype.updateUvs=function(){this._uvs===vr&&(this._uvs=new gr),this._uvs.set(this._frame,this.baseTexture,this.rotate),this._updateID++},s.from=function(t,e){void 0===e&&(e={});var r=null;r="string"==typeof t?t:(t._pixiId||(t._pixiId="pixiid_"+qt()),t._pixiId);var i=Jt[r];return i||(e.resolution||(e.resolution=ne(t)),(i=new s(new ir(t,e))).baseTexture.cacheId=r,ir.addToCache(i.baseTexture,r),s.addToCache(i,r)),i},s.fromBuffer=function(t,e,r,i){return new s(ir.fromBuffer(t,e,r,i))},s.fromLoader=function(t,e,r){var i=new Qe(t);i.url=e;var n=new s(new ir(i,{scaleMode:P.SCALE_MODE,resolution:ne(e)}));return r||(r=e),ir.addToCache(n.baseTexture,r),s.addToCache(n,r),r!==e&&(ir.addToCache(n.baseTexture,e),s.addToCache(n,e)),n},s.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),Jt[e]&&console.warn("Texture added to the cache with an id ["+e+"] that already had an entry"),Jt[e]=t)},s.removeFromCache=function(t){if("string"==typeof t){var e=Jt[t];if(e){var r=e.textureCacheIds.indexOf(t);return-1<r&&e.textureCacheIds.splice(r,1),delete Jt[t],e}}else if(t&&t.textureCacheIds){for(var i=0;i<t.textureCacheIds.length;++i)Jt[t.textureCacheIds[i]]===t&&delete Jt[t.textureCacheIds[i]];return t.textureCacheIds.length=0,t}return null},t.resolution.get=function(){return this.baseTexture.resolution},t.frame.get=function(){return this._frame},t.frame.set=function(t){this._frame=t,this.noFrame=!1;var e=t.x,r=t.y,i=t.width,n=t.height,o=e+i>this.baseTexture.width,a=r+n>this.baseTexture.height;if(o||a){var s=o&&a?"and":"or",l="X: "+e+" + "+i+" = "+(e+i)+" > "+this.baseTexture.width,u="Y: "+r+" + "+n+" = "+(r+n)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+l+" "+s+" "+u)}this.valid=i&&n&&this.baseTexture.valid,this.trim||this.rotate||(this.orig=t),this.valid&&this.updateUvs()},t.rotate.get=function(){return this._rotate},t.rotate.set=function(t){this._rotate=t,this.valid&&this.updateUvs()},t.width.get=function(){return this.orig.width},t.height.get=function(){return this.orig.height},Object.defineProperties(s.prototype,t),s}(m);function yr(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}_r.EMPTY=new _r(new ir),yr(_r.EMPTY),yr(_r.EMPTY.baseTexture),_r.WHITE=function(){var t=document.createElement("canvas");t.width=16,t.height=16;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,16,16),new _r(new ir(new or(t)))}(),yr(_r.WHITE),yr(_r.WHITE.baseTexture);var br=function(s){function e(t,e){var r=null;if(!(t instanceof mr)){var i=arguments[1],n=arguments[2],o=arguments[3],a=arguments[4];console.warn("Please use RenderTexture.create("+i+", "+n+") instead of the ctor directly."),r=arguments[0],e=null,t=new mr({width:i,height:n,scaleMode:o,resolution:a})}s.call(this,t,e),this.legacyRenderer=r,this.valid=!0,this.filterFrame=null,this.filterPoolKey=null,this.updateUvs()}return s&&(e.__proto__=s),((e.prototype=Object.create(s&&s.prototype)).constructor=e).prototype.resize=function(t,e,r){void 0===r&&(r=!0),t=Math.ceil(t),e=Math.ceil(e),this.valid=0<t&&0<e,this._frame.width=this.orig.width=t,this._frame.height=this.orig.height=e,r&&this.baseTexture.resize(t,e),this.updateUvs()},e.prototype.setResolution=function(t){var e=this.baseTexture;e.resolution!==t&&(e.setResolution(t),this.resize(e.width,e.height,!1))},e.create=function(t){return"number"==typeof t&&(t={width:t,height:arguments[1],scaleMode:arguments[2],resolution:arguments[3]}),new e(new mr(t))},e}(_r),xr=function(t){this.texturePool={},this.textureOptions=t||{},this.enableFullScreen=!1,this._pixelsWidth=0,this._pixelsHeight=0};xr.prototype.createTexture=function(t,e){var r=new mr(Object.assign({width:t,height:e,resolution:1},this.textureOptions));return new br(r)},xr.prototype.getOptimalTexture=function(t,e,r){void 0===r&&(r=1);var i=xr.SCREEN_KEY;t*=r,e*=r,this.enableFullScreen&&t===this._pixelsWidth&&e===this._pixelsHeight||(i=(65535&(t=Gt(t)))<<16|65535&(e=Gt(e))),this.texturePool[i]||(this.texturePool[i]=[]);var n=this.texturePool[i].pop();return n||(n=this.createTexture(t,e)),n.filterPoolKey=i,n.setResolution(r),n},xr.prototype.getFilterTexture=function(t,e){var r=this.getOptimalTexture(t.width,t.height,e||t.resolution);return r.filterFrame=t.filterFrame,r},xr.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},xr.prototype.returnFilterTexture=function(t){this.returnTexture(t)},xr.prototype.clear=function(t){if(t=!1!==t)for(var e in this.texturePool){var r=this.texturePool[e];if(r)for(var i=0;i<r.length;i++)r[i].destroy(!0)}this.texturePool={}},xr.prototype.setScreenSize=function(t){if(t.width!==this._pixelsWidth||t.height!==this._pixelsHeight){var e=xr.SCREEN_KEY,r=this.texturePool[e];if(this.enableFullScreen=0<t.width&&0<t.height,r)for(var i=0;i<r.length;i++)r[i].destroy(!0);this.texturePool[e]=[],this._pixelsWidth=t.width,this._pixelsHeight=t.height}},xr.SCREEN_KEY="screen";var wr=function(t,e,r,i,n,o,a){void 0===r&&(r=!1),void 0===i&&(i=5126),this.buffer=t,this.size=e,this.normalized=r,this.type=i,this.stride=n,this.start=o,this.instance=a};wr.prototype.destroy=function(){this.buffer=null},wr.from=function(t,e,r,i,n){return new wr(t,e,r,i,n)};var Tr=0,kr=function(t,e,r){void 0===e&&(e=!0),void 0===r&&(r=!1),this.data=t||new Float32Array(1),this._glBuffers={},this._updateID=0,this.index=r,this.static=e,this.id=Tr++,this.disposeRunner=new Ue("disposeBuffer",2)};function Sr(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}kr.prototype.update=function(t){this.data=t||this.data,this._updateID++},kr.prototype.dispose=function(){this.disposeRunner.run(this,!1)},kr.prototype.destroy=function(){this.dispose(),this.data=null},kr.from=function(t){return t instanceof Array&&(t=new Float32Array(t)),new kr(t)};var Pr={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array};var Cr={5126:4,5123:2,5121:1},Ar=0,Er={Float32Array:Float32Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array},Ir=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this.buffers=t,this.indexBuffer=null,this.attributes=e,this.glVertexArrayObjects={},this.id=Ar++,this.instanced=!1,this.instanceCount=1,this.disposeRunner=new Ue("disposeGeometry",2),this.refCount=0};Ir.prototype.addAttribute=function(t,e,r,i,n,o,a,s){if(void 0===i&&(i=!1),void 0===s&&(s=!1),!e)throw new Error("You must pass a buffer when creating an attribute");e.data||(e instanceof Array&&(e=new Float32Array(e)),e=new kr(e));var l=t.split("|");if(1<l.length){for(var u=0;u<l.length;u++)this.addAttribute(l[u],e,r,i,n);return this}var h=this.buffers.indexOf(e);return-1===h&&(this.buffers.push(e),h=this.buffers.length-1),this.attributes[t]=new wr(h,r,i,n,o,a,s),this.instanced=this.instanced||s,this},Ir.prototype.getAttribute=function(t){return this.attributes[t]},Ir.prototype.getBuffer=function(t){return this.buffers[this.getAttribute(t).buffer]},Ir.prototype.addIndex=function(t){return t.data||(t instanceof Array&&(t=new Uint16Array(t)),t=new kr(t)),t.index=!0,this.indexBuffer=t,-1===this.buffers.indexOf(t)&&this.buffers.push(t),this},Ir.prototype.getIndex=function(){return this.indexBuffer},Ir.prototype.interleave=function(){if(1===this.buffers.length||2===this.buffers.length&&this.indexBuffer)return this;var t,e=[],r=[],i=new kr;for(t in this.attributes){var n=this.attributes[t],o=this.buffers[n.buffer];e.push(o.data),r.push(n.size*Cr[n.type]/4),n.buffer=0}for(i.data=function(t,e){for(var r=0,i=0,n={},o=0;o<t.length;o++)i+=e[o],r+=t[o].length;for(var a=new ArrayBuffer(4*r),s=null,l=0,u=0;u<t.length;u++){var h=e[u],c=t[u],f=Sr(c);n[f]||(n[f]=new Pr[f](a)),s=n[f];for(var p=0;p<c.length;p++)s[(p/h|0)*i+l+p%h]=c[p];l+=h}return new Float32Array(a)}(e,r),t=0;t<this.buffers.length;t++)this.buffers[t]!==this.indexBuffer&&this.buffers[t].destroy();return this.buffers=[i],this.indexBuffer&&this.buffers.push(this.indexBuffer),this},Ir.prototype.getSize=function(){for(var t in this.attributes){var e=this.attributes[t];return this.buffers[e.buffer].data.length/(e.stride/4||e.size)}return 0},Ir.prototype.dispose=function(){this.disposeRunner.run(this,!1)},Ir.prototype.destroy=function(){this.dispose(),this.buffers=null,this.indexBuffer.destroy(),this.attributes=null},Ir.prototype.clone=function(){for(var t=new Ir,e=0;e<this.buffers.length;e++)t.buffers[e]=new kr(this.buffers[e].data.slice());for(var r in this.attributes){var i=this.attributes[r];t.attributes[r]=new wr(i.buffer,i.size,i.normalized,i.type,i.stride,i.start,i.instance)}return this.indexBuffer&&(t.indexBuffer=t.buffers[this.buffers.indexOf(this.indexBuffer)],t.indexBuffer.index=!0),t},Ir.merge=function(t){for(var e,r=new Ir,i=[],n=[],o=[],a=0;a<t.length;a++){e=t[a];for(var s=0;s<e.buffers.length;s++)n[s]=n[s]||0,n[s]+=e.buffers[s].data.length,o[s]=0}for(var l=0;l<e.buffers.length;l++)i[l]=new(Er[Sr(e.buffers[l].data)])(n[l]),r.buffers[l]=new kr(i[l]);for(var u=0;u<t.length;u++){e=t[u];for(var h=0;h<e.buffers.length;h++)i[h].set(e.buffers[h].data,o[h]),o[h]+=e.buffers[h].data.length}if(r.attributes=e.attributes,e.indexBuffer){r.indexBuffer=r.buffers[e.buffers.indexOf(e.indexBuffer)],r.indexBuffer.index=!0;for(var c=0,f=0,p=0,d=0,m=0;m<e.buffers.length;m++)if(e.buffers[m]!==e.indexBuffer){d=m;break}for(var g in e.attributes){var v=e.attributes[g];(0|v.buffer)===d&&(f+=v.size*Cr[v.type]/4)}for(var _=0;_<t.length;_++){for(var y=t[_].indexBuffer.data,b=0;b<y.length;b++)r.indexBuffer.data[b+p]+=c;c+=e.buffers[d].data.length/f,p+=y.length}}return r};var Or=function(t){function e(){t.call(this),this.addAttribute("aVertexPosition",[0,0,1,0,1,1,0,1]).addIndex([0,1,3,2])}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e}(Ir),Mr=function(t){function e(){t.call(this),this.vertices=new Float32Array([-1,-1,1,-1,1,1,-1,1]),this.uvs=new Float32Array([0,0,1,0,1,1,0,1]),this.vertexBuffer=new kr(this.vertices),this.uvBuffer=new kr(this.uvs),this.addAttribute("aVertexPosition",this.vertexBuffer).addAttribute("aTextureCoord",this.uvBuffer).addIndex([0,1,2,0,2,3])}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.map=function(t,e){var r=0,i=0;return this.uvs[0]=r,this.uvs[1]=i,this.uvs[2]=r+e.width/t.width,this.uvs[3]=i,this.uvs[4]=r+e.width/t.width,this.uvs[5]=i+e.height/t.height,this.uvs[6]=r,this.uvs[7]=i+e.height/t.height,r=e.x,i=e.y,this.vertices[0]=r,this.vertices[1]=i,this.vertices[2]=r+e.width,this.vertices[3]=i,this.vertices[4]=r+e.width,this.vertices[5]=i+e.height,this.vertices[6]=r,this.vertices[7]=i+e.height,this.invalidate(),this},e.prototype.invalidate=function(){return this.vertexBuffer._updateID++,this.uvBuffer._updateID++,this},e}(Ir),Dr=0,zr=function(t,e){this.uniforms=t,this.group=!0,this.syncUniforms={},this.dirtyId=0,this.id=Dr++,this.static=!!e};zr.prototype.update=function(){this.dirtyId++},zr.prototype.add=function(t,e,r){this.uniforms[t]=new zr(e,r)},zr.from=function(t,e){return new zr(t,e)};var Rr=function(){this.renderTexture=null,this.target=null,this.legacy=!1,this.resolution=1,this.sourceFrame=new Ce,this.destinationFrame=new Ce,this.filters=[]};Rr.prototype.clear=function(){this.target=null,this.filters=null,this.renderTexture=null};var Fr=function(e){function t(t){e.call(this,t),this.defaultFilterStack=[{}],this.texturePool=new xr,this.texturePool.setScreenSize(t.view),this.statePool=[],this.quad=new Or,this.quadUv=new Mr,this.tempRect=new Ce,this.activeState={},this.globalUniforms=new zr({outputFrame:this.tempRect,inputSize:new Float32Array(4),inputPixel:new Float32Array(4),inputClamp:new Float32Array(4),resolution:1,filterArea:new Float32Array(4),filterClamp:new Float32Array(4)},!0),this._pixelsWidth=t.view.width,this._pixelsHeight=t.view.height}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.push=function(t,e){for(var r=this.renderer,i=this.defaultFilterStack,n=this.statePool.pop()||new Rr,o=e[0].resolution,a=e[0].padding,s=e[0].autoFit,l=e[0].legacy,u=1;u<e.length;u++){var h=e[u];o=Math.min(o,h.resolution),a=Math.max(a,h.padding),s=s||h.autoFit,l=l||h.legacy}1===i.length&&(this.defaultFilterStack[0].renderTexture=r.renderTexture.current),i.push(n),n.resolution=o,n.legacy=l,n.target=t,n.sourceFrame.copyFrom(t.filterArea||t.getBounds(!0)),n.sourceFrame.pad(a),s&&n.sourceFrame.fit(this.renderer.renderTexture.sourceFrame),n.sourceFrame.ceil(o),n.renderTexture=this.getOptimalFilterTexture(n.sourceFrame.width,n.sourceFrame.height,o),n.filters=e,n.destinationFrame.width=n.renderTexture.width,n.destinationFrame.height=n.renderTexture.height,n.renderTexture.filterFrame=n.sourceFrame,r.renderTexture.bind(n.renderTexture,n.sourceFrame),r.renderTexture.clear()},t.prototype.pop=function(){var t=this.defaultFilterStack,e=t.pop(),r=e.filters;this.activeState=e;var i=this.globalUniforms.uniforms;i.outputFrame=e.sourceFrame,i.resolution=e.resolution;var n=i.inputSize,o=i.inputPixel,a=i.inputClamp;if(n[0]=e.destinationFrame.width,n[1]=e.destinationFrame.height,n[2]=1/n[0],n[3]=1/n[1],o[0]=n[0]*e.resolution,o[1]=n[1]*e.resolution,o[2]=1/o[0],o[3]=1/o[1],a[0]=.5*o[2],a[1]=.5*o[3],a[2]=e.sourceFrame.width*n[2]-.5*o[2],a[3]=e.sourceFrame.height*n[3]-.5*o[3],e.legacy){var s=i.filterArea;s[0]=e.destinationFrame.width,s[1]=e.destinationFrame.height,s[2]=e.sourceFrame.x,s[3]=e.sourceFrame.y,i.filterClamp=i.inputClamp}this.globalUniforms.update();var l=t[t.length-1];if(1===r.length)r[0].apply(this,e.renderTexture,l.renderTexture,!1,e),this.returnFilterTexture(e.renderTexture);else{var u=e.renderTexture,h=this.getOptimalFilterTexture(u.width,u.height,e.resolution);h.filterFrame=u.filterFrame;var c=0;for(c=0;c<r.length-1;++c){r[c].apply(this,u,h,!0,e);var f=u;u=h,h=f}r[c].apply(this,u,l.renderTexture,!1,e),this.returnFilterTexture(u),this.returnFilterTexture(h)}e.clear(),this.statePool.push(e)},t.prototype.applyFilter=function(t,e,r,i){var n=this.renderer;n.renderTexture.bind(r,r?r.filterFrame:null),i&&n.renderTexture.clear(),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,n.state.set(t.state),n.shader.bind(t),t.legacy?(this.quadUv.map(e._frame,e.filterFrame),n.geometry.bind(this.quadUv),n.geometry.draw(yt.TRIANGLES)):(n.geometry.bind(this.quad),n.geometry.draw(yt.TRIANGLE_STRIP))},t.prototype.calculateSpriteMatrix=function(t,e){var r=this.activeState,i=r.sourceFrame,n=r.destinationFrame,o=e._texture.orig,a=t.set(n.width,0,0,n.height,i.x,i.y),s=e.worldTransform.copyTo(me.TEMP_MATRIX);return s.invert(),a.prepend(s),a.scale(1/o.width,1/o.height),a.translate(e.anchor.x,e.anchor.y),a},t.prototype.destroy=function(){this.texturePool.clear(!1)},t.prototype.getOptimalFilterTexture=function(t,e,r){return void 0===r&&(r=1),this.texturePool.getOptimalTexture(t,e,r)},t.prototype.getFilterTexture=function(t,e){if("number"==typeof t){var r=t;t=e,e=r}t=t||this.activeState.renderTexture;var i=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution);return i.filterFrame=t.filterFrame,i},t.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},t.prototype.emptyPool=function(){this.texturePool.clear(!0)},t.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view)},t}(cr),jr=function(t){this.renderer=t};jr.prototype.flush=function(){},jr.prototype.destroy=function(){this.renderer=null},jr.prototype.start=function(){},jr.prototype.stop=function(){this.flush()},jr.prototype.render=function(t){};var Lr=function(e){function t(t){e.call(this,t),this.emptyRenderer=new jr(t),this.currentRenderer=this.emptyRenderer}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},t.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},t}(cr);P.PREFER_ENV=d.any?gt.WEBGL:gt.WEBGL2;var Nr=0,Br=function(e){function t(t){e.call(this,t),this.webGLVersion=1,this.extensions={},this.handleContextLost=this.handleContextLost.bind(this),this.handleContextRestored=this.handleContextRestored.bind(this),t.view.addEventListener("webglcontextlost",this.handleContextLost,!1),t.view.addEventListener("webglcontextrestored",this.handleContextRestored,!1)}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={isLost:{configurable:!0}};return r.isLost.get=function(){return!this.gl||this.gl.isContextLost()},t.prototype.contextChange=function(t){this.gl=t,this.renderer.gl=t,this.renderer.CONTEXT_UID=Nr++,t.isContextLost()&&t.getExtension("WEBGL_lose_context")&&t.getExtension("WEBGL_lose_context").restoreContext()},t.prototype.initFromContext=function(t){this.gl=t,this.validateContext(t),this.renderer.gl=t,this.renderer.CONTEXT_UID=Nr++,this.renderer.runners.contextChange.run(t)},t.prototype.initFromOptions=function(t){var e=this.createContext(this.renderer.view,t);this.initFromContext(e)},t.prototype.createContext=function(t,e){var r;if(P.PREFER_ENV>=gt.WEBGL2&&(r=t.getContext("webgl2",e)),r)this.webGLVersion=2;else if(this.webGLVersion=1,!(r=t.getContext("webgl",e)||t.getContext("experimental-webgl",e)))throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=r,this.getExtensions(),r},t.prototype.getExtensions=function(){var t=this.gl;1===this.webGLVersion?Object.assign(this.extensions,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBKIT_WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):2===this.webGLVersion&&Object.assign(this.extensions,{anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),colorBufferFloat:t.getExtension("EXT_color_buffer_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear")})},t.prototype.handleContextLost=function(t){t.preventDefault()},t.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.run(this.gl)},t.prototype.destroy=function(){var t=this.renderer.view;t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},t.prototype.postrender=function(){this.gl.flush()},t.prototype.validateContext=function(t){t.getContextAttributes().stencil||console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly")},Object.defineProperties(t.prototype,r),t}(cr),Ur=function(e){function t(t){e.call(this,t),this.managedFramebuffers=[],this.unknownFramebuffer=new pr(10,10)}e&&(t.__proto__=e);var r={size:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new Ce,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),1===this.renderer.context.webGLVersion){var e=this.renderer.context.extensions.drawBuffers,r=this.renderer.context.extensions.depthTexture;P.PREFER_ENV===gt.WEBGL_LEGACY&&(r=e=null),e?t.drawBuffers=function(t){return e.drawBuffersWEBGL(t)}:(this.hasMRT=!1,t.drawBuffers=function(){}),r||(this.writeDepthTexture=!1)}},t.prototype.bind=function(t,e){var r=this.gl;if(t){var i=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,r.bindFramebuffer(r.FRAMEBUFFER,i.framebuffer)),i.dirtyId!==t.dirtyId&&(i.dirtyId=t.dirtyId,i.dirtyFormat!==t.dirtyFormat?(i.dirtyFormat=t.dirtyFormat,this.updateFramebuffer(t)):i.dirtySize!==t.dirtySize&&(i.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var n=0;n<t.colorTextures.length;n++)t.colorTextures[n].texturePart?this.renderer.texture.unbind(t.colorTextures[n].texture):this.renderer.texture.unbind(t.colorTextures[n]);t.depthTexture&&this.renderer.texture.unbind(t.depthTexture),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,t.width,t.height)}else this.current&&(this.current=null,r.bindFramebuffer(r.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},t.prototype.setViewport=function(t,e,r,i){var n=this.viewport;n.width===r&&n.height===i&&n.x===t&&n.y===e||(n.x=t,n.y=e,n.width=r,n.height=i,this.gl.viewport(t,e,r,i))},r.size.get=function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},t.prototype.clear=function(t,e,r,i){var n=this.gl;n.clearColor(t,e,r,i),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT)},t.prototype.initFramebuffer=function(t){var e={framebuffer:this.gl.createFramebuffer(),stencil:null,dirtyId:0,dirtyFormat:0,dirtySize:0};return t.glFramebuffers[this.CONTEXT_UID]=e,this.managedFramebuffers.push(t),t.disposeRunner.add(this),e},t.prototype.resizeFramebuffer=function(t){var e=this.gl,r=t.glFramebuffers[this.CONTEXT_UID];r.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,r.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));for(var i=t.colorTextures,n=0;n<i.length;n++)this.renderer.texture.bind(i[n],0);t.depthTexture&&this.renderer.texture.bind(t.depthTexture,0)},t.prototype.updateFramebuffer=function(t){var e=this.gl,r=t.glFramebuffers[this.CONTEXT_UID],i=t.colorTextures.length;e.drawBuffers||(i=Math.min(i,1));for(var n=[],o=0;o<i;o++){var a=t.colorTextures[o];a.texturePart?(this.renderer.texture.bind(a.texture,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+o,e.TEXTURE_CUBE_MAP_NEGATIVE_X+a.side,a.texture._glTextures[this.CONTEXT_UID].texture,0)):(this.renderer.texture.bind(a,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+o,e.TEXTURE_2D,a._glTextures[this.CONTEXT_UID].texture,0)),n.push(e.COLOR_ATTACHMENT0+o)}if((1<n.length&&e.drawBuffers(n),t.depthTexture)&&this.writeDepthTexture){var s=t.depthTexture;this.renderer.texture.bind(s,0),e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s._glTextures[this.CONTEXT_UID].texture,0)}r.stencil||!t.stencil&&!t.depth||(r.stencil=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,r.stencil),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height),t.depthTexture||e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.RENDERBUFFER,r.stencil))},t.prototype.disposeFramebuffer=function(t,e){var r=t.glFramebuffers[this.CONTEXT_UID],i=this.gl;if(r){delete t.glFramebuffers[this.CONTEXT_UID];var n=this.managedFramebuffers.indexOf(t);0<=n&&this.managedFramebuffers.splice(n,1),t.disposeRunner.remove(this),e||(i.deleteFramebuffer(r.framebuffer),r.stencil&&i.deleteRenderbuffer(r.stencil))}},t.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var r=0;r<e.length;r++)this.disposeFramebuffer(e[r],t)},t.prototype.forceStencil=function(){var t=this.current;if(t){var e=t.glFramebuffers[this.CONTEXT_UID];if(e&&!e.stencil){t.enableStencil();var r=t.width,i=t.height,n=this.gl,o=n.createRenderbuffer();n.bindRenderbuffer(n.RENDERBUFFER,o),n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,r,i),e.stencil=o,n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,o)}}},t.prototype.reset=function(){this.current=this.unknownFramebuffer,this.viewport=new Ce},Object.defineProperties(t.prototype,r),t}(cr),Xr=function(t){this.buffer=t,this.updateID=-1,this.byteLength=-1,this.refCount=0},Hr={5126:4,5123:2,5121:1},qr=function(e){function t(t){e.call(this,t),this._activeGeometry=null,this._activeVao=null,this.hasVao=!0,this.hasInstance=!0,this.canUseUInt32ElementIndex=!1,this.boundBuffers={},this.managedGeometries={},this.managedBuffers={}}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){this.disposeAll(!0);var t=this.gl=this.renderer.gl,e=this.renderer.context;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,!t.createVertexArray){var r=this.renderer.context.extensions.vertexArrayObject;P.PREFER_ENV===gt.WEBGL_LEGACY&&(r=null),r?(t.createVertexArray=function(){return r.createVertexArrayOES()},t.bindVertexArray=function(t){return r.bindVertexArrayOES(t)},t.deleteVertexArray=function(t){return r.deleteVertexArrayOES(t)}):(this.hasVao=!1,t.createVertexArray=function(){},t.bindVertexArray=function(){},t.deleteVertexArray=function(){})}if(!t.vertexAttribDivisor){var o=t.getExtension("ANGLE_instanced_arrays");o?(t.vertexAttribDivisor=function(t,e){return o.vertexAttribDivisorANGLE(t,e)},t.drawElementsInstanced=function(t,e,r,i,n){return o.drawElementsInstancedANGLE(t,e,r,i,n)},t.drawArraysInstanced=function(t,e,r,i){return o.drawArraysInstancedANGLE(t,e,r,i)}):this.hasInstance=!1}this.canUseUInt32ElementIndex=2===e.webGLVersion||!!e.extensions.uint32ElementIndex},t.prototype.bind=function(t,e){e=e||this.renderer.shader.shader;var r=this.gl,i=t.glVertexArrayObjects[this.CONTEXT_UID];i||((this.managedGeometries[t.id]=t).disposeRunner.add(this),t.glVertexArrayObjects[this.CONTEXT_UID]=i={});var n=i[e.program.id]||this.initGeometryVao(t,e.program);this._activeGeometry=t,this._activeVao!==n&&(this._activeVao=n,this.hasVao?r.bindVertexArray(n):this.activateVao(t,e.program)),this.updateBuffers()},t.prototype.reset=function(){this.unbind()},t.prototype.updateBuffers=function(){for(var t=this._activeGeometry,e=this.gl,r=0;r<t.buffers.length;r++){var i=t.buffers[r],n=i._glBuffers[this.CONTEXT_UID];if(i._updateID!==n.updateID){n.updateID=i._updateID;var o=i.index?e.ELEMENT_ARRAY_BUFFER:e.ARRAY_BUFFER;if(e.bindBuffer(o,n.buffer),(this._boundBuffer=n).byteLength>=i.data.byteLength)e.bufferSubData(o,0,i.data);else{var a=i.static?e.STATIC_DRAW:e.DYNAMIC_DRAW;n.byteLength=i.data.byteLength,e.bufferData(o,i.data,a)}}}},t.prototype.checkCompatibility=function(t,e){var r=t.attributes,i=e.attributeData;for(var n in i)if(!r[n])throw new Error('shader and geometry incompatible, geometry missing the "'+n+'" attribute')},t.prototype.getSignature=function(t,e){var r=t.attributes,i=e.attributeData,n=["g",t.id];for(var o in r)i[o]&&n.push(o);return n.join("-")},t.prototype.initGeometryVao=function(t,e){this.checkCompatibility(t,e);var r=this.gl,i=this.CONTEXT_UID,n=this.getSignature(t,e),o=t.glVertexArrayObjects[this.CONTEXT_UID],a=o[n];if(a)return o[e.id]=a;var s=t.buffers,l=t.attributes,u={},h={};for(var c in s)u[c]=0,h[c]=0;for(var f in l)!l[f].size&&e.attributeData[f]?l[f].size=e.attributeData[f].size:l[f].size||console.warn("PIXI Geometry attribute '"+f+"' size cannot be determined (likely the bound shader does not have the attribute)"),u[l[f].buffer]+=l[f].size*Hr[l[f].type];for(var p in l){var d=l[p],m=d.size;void 0===d.stride&&(u[d.buffer]===m*Hr[d.type]?d.stride=0:d.stride=u[d.buffer]),void 0===d.start&&(d.start=h[d.buffer],h[d.buffer]+=m*Hr[d.type])}a=r.createVertexArray(),r.bindVertexArray(a);for(var g=0;g<s.length;g++){var v=s[g];v._glBuffers[i]||(v._glBuffers[i]=new Xr(r.createBuffer()),(this.managedBuffers[v.id]=v).disposeRunner.add(this)),v._glBuffers[i].refCount++}return this.activateVao(t,e),this._activeVao=a,o[e.id]=a,o[n]=a},t.prototype.disposeBuffer=function(t,e){if(this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var r=t._glBuffers[this.CONTEXT_UID],i=this.gl;t.disposeRunner.remove(this),r&&(e||i.deleteBuffer(r.buffer),delete t._glBuffers[this.CONTEXT_UID])}},t.prototype.disposeGeometry=function(t,e){if(this.managedGeometries[t.id]){delete this.managedGeometries[t.id];var r=t.glVertexArrayObjects[this.CONTEXT_UID],i=this.gl,n=t.buffers;if(t.disposeRunner.remove(this),r){for(var o=0;o<n.length;o++){var a=n[o]._glBuffers[this.CONTEXT_UID];a.refCount--,0!==a.refCount||e||this.disposeBuffer(n[o],e)}if(!e)for(var s in r)if("g"===s[0]){var l=r[s];this._activeVao===l&&this.unbind(),i.deleteVertexArray(l)}delete t.glVertexArrayObjects[this.CONTEXT_UID]}}},t.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedGeometries),r=0;r<e.length;r++)this.disposeGeometry(this.managedGeometries[e[r]],t);e=Object.keys(this.managedBuffers);for(var i=0;i<e.length;i++)this.disposeBuffer(this.managedBuffers[e[i]],t)},t.prototype.activateVao=function(t,e){var r=this.gl,i=this.CONTEXT_UID,n=t.buffers,o=t.attributes;t.indexBuffer&&r.bindBuffer(r.ELEMENT_ARRAY_BUFFER,t.indexBuffer._glBuffers[i].buffer);var a=null;for(var s in o){var l=o[s],u=n[l.buffer]._glBuffers[i];if(e.attributeData[s]){a!==u&&(r.bindBuffer(r.ARRAY_BUFFER,u.buffer),a=u);var h=e.attributeData[s].location;if(r.enableVertexAttribArray(h),r.vertexAttribPointer(h,l.size,l.type||r.FLOAT,l.normalized,l.stride,l.start),l.instance){if(!this.hasInstance)throw new Error("geometry error, GPU Instancing is not supported on this device");r.vertexAttribDivisor(h,1)}}}},t.prototype.draw=function(t,e,r,i){var n=this.gl,o=this._activeGeometry;if(o.indexBuffer){var a=o.indexBuffer.data.BYTES_PER_ELEMENT,s=2===a?n.UNSIGNED_SHORT:n.UNSIGNED_INT;2===a||4===a&&this.canUseUInt32ElementIndex?o.instanced?n.drawElementsInstanced(t,e||o.indexBuffer.data.length,s,(r||0)*a,i||1):n.drawElements(t,e||o.indexBuffer.data.length,s,(r||0)*a):console.warn("unsupported index buffer type: uint32")}else o.instanced?n.drawArraysInstanced(t,r,e||o.getSize(),i||1):n.drawArrays(t,r,e||o.getSize());return this},t.prototype.unbind=function(){this.gl.bindVertexArray(null),this._activeVao=null,this._activeGeometry=null},t}(cr);function Wr(t,e,r,i){var n=Gr(t,t.VERTEX_SHADER,e),o=Gr(t,t.FRAGMENT_SHADER,r),a=t.createProgram();if(t.attachShader(a,n),t.attachShader(a,o),i)for(var s in i)t.bindAttribLocation(a,i[s],s);return t.linkProgram(a),t.getProgramParameter(a,t.LINK_STATUS)||(console.error("Pixi.js Error: Could not initialize shader."),console.error("gl.VALIDATE_STATUS",t.getProgramParameter(a,t.VALIDATE_STATUS)),console.error("gl.getError()",t.getError()),""!==t.getProgramInfoLog(a)&&console.warn("Pixi.js Warning: gl.getProgramInfoLog()",t.getProgramInfoLog(a)),t.deleteProgram(a),a=null),t.deleteShader(n),t.deleteShader(o),a}function Gr(t,e,r){var i=t.createShader(e);return t.shaderSource(i,r),t.compileShader(i),t.getShaderParameter(i,t.COMPILE_STATUS)?i:(console.warn(r),console.error(t.getShaderInfoLog(i)),null)}function Vr(t,e){switch(t){case"float":return 0;case"vec2":return new Float32Array(2*e);case"vec3":return new Float32Array(3*e);case"vec4":return new Float32Array(4*e);case"int":case"sampler2D":case"sampler2DArray":return 0;case"ivec2":return new Int32Array(2*e);case"ivec3":return new Int32Array(3*e);case"ivec4":return new Int32Array(4*e);case"bool":return!1;case"bvec2":return Yr(2*e);case"bvec3":return Yr(3*e);case"bvec4":return Yr(4*e);case"mat2":return new Float32Array([1,0,0,1]);case"mat3":return new Float32Array([1,0,0,0,1,0,0,0,1]);case"mat4":return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}return null}function Yr(t){for(var e=new Array(t),r=0;r<e.length;r++)e[r]=!1;return e}var Zr,Jr={},Kr=Jr;function Qr(){if(Kr===Jr||Kr.isContextLost()){var t,e=document.createElement("canvas");P.PREFER_ENV>=gt.WEBGL2&&(t=e.getContext("webgl2",{})),t||((t=e.getContext("webgl",{})||e.getContext("experimental-webgl",{}))?t.getExtension("WEBGL_draw_buffers"):t=null),Kr=t}return Kr}function $r(t,e,r){if("precision"===t.substring(0,9))return r!==Ct.HIGH&&"precision highp"===t.substring(0,15)?t.replace("precision highp","precision mediump"):t;var i=e;return e===Ct.HIGH&&r!==Ct.HIGH&&(i=Ct.MEDIUM),"precision "+i+" float;\n"+t}var ti={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};var ei=null,ri={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray"};function ii(t,e){if(!ei){var r=Object.keys(ri);ei={};for(var i=0;i<r.length;++i){var n=r[i];ei[t[n]]=ri[n]}}return ei[e]}var ni={float:"\n if(cv !== v)\n {\n cv.v = v;\n gl.uniform1f(location, v)\n }",vec2:"\n if(cv[0] !== v[0] || cv[1] !== v[1])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n gl.uniform2f(location, v[0], v[1])\n }",vec3:"\n if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n cv[2] = v[2];\n\n gl.uniform3f(location, v[0], v[1], v[2])\n }",vec4:"gl.uniform4f(location, v[0], v[1], v[2], v[3])",int:"gl.uniform1i(location, v)",ivec2:"gl.uniform2i(location, v[0], v[1])",ivec3:"gl.uniform3i(location, v[0], v[1], v[2])",ivec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",bool:"gl.uniform1i(location, v)",bvec2:"gl.uniform2i(location, v[0], v[1])",bvec3:"gl.uniform3i(location, v[0], v[1], v[2])",bvec4:"gl.uniform4i(location, v[0], v[1], v[2], v[3])",mat2:"gl.uniformMatrix2fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",sampler2D:"gl.uniform1i(location, v)",samplerCube:"gl.uniform1i(location, v)",sampler2DArray:"gl.uniform1i(location, v)"},oi={float:"gl.uniform1fv(location, v)",vec2:"gl.uniform2fv(location, v)",vec3:"gl.uniform3fv(location, v)",vec4:"gl.uniform4fv(location, v)",mat4:"gl.uniformMatrix4fv(location, false, v)",mat3:"gl.uniformMatrix3fv(location, false, v)",mat2:"gl.uniformMatrix2fv(location, false, v)",int:"gl.uniform1iv(location, v)",ivec2:"gl.uniform2iv(location, v)",ivec3:"gl.uniform3iv(location, v)",ivec4:"gl.uniform4iv(location, v)",bool:"gl.uniform1iv(location, v)",bvec2:"gl.uniform2iv(location, v)",bvec3:"gl.uniform3iv(location, v)",bvec4:"gl.uniform4iv(location, v)",sampler2D:"gl.uniform1iv(location, v)",samplerCube:"gl.uniform1iv(location, v)",sampler2DArray:"gl.uniform1iv(location, v)"};var ai,si=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join("\n");function li(t,e){if(0===t)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");for(var r=e.createShader(e.FRAGMENT_SHADER);;){var i=si.replace(/%forloop%/gi,ui(t));if(e.shaderSource(r,i),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))break;t=t/2|0}return t}function ui(t){for(var e="",r=0;r<t;++r)0<r&&(e+="\nelse "),r<t-1&&(e+="if(test == "+r+".0){}");return e}var hi=0,ci={},fi=function t(e,r,i){void 0===i&&(i="pixi-shader"),this.id=hi++,this.vertexSrc=e||t.defaultVertexSrc,this.fragmentSrc=r||t.defaultFragmentSrc,this.vertexSrc=this.vertexSrc.trim(),this.fragmentSrc=this.fragmentSrc.trim(),"#version"!==this.vertexSrc.substring(0,8)&&(i=i.replace(/\s+/g,"-"),ci[i]?(ci[i]++,i+="-"+ci[i]):ci[i]=1,this.vertexSrc="#define SHADER_NAME "+i+"\n"+this.vertexSrc,this.fragmentSrc="#define SHADER_NAME "+i+"\n"+this.fragmentSrc,this.vertexSrc=$r(this.vertexSrc,P.PRECISION_VERTEX,Ct.HIGH),this.fragmentSrc=$r(this.fragmentSrc,P.PRECISION_FRAGMENT,function(){if(!Zr){Zr=Ct.MEDIUM;var t=Qr();if(t&&t.getShaderPrecisionFormat){var e=t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT);Zr=e.precision?Ct.HIGH:Ct.MEDIUM}}return Zr}())),this.extractData(this.vertexSrc,this.fragmentSrc),this.glPrograms={},this.syncUniforms=null},pi={defaultVertexSrc:{configurable:!0},defaultFragmentSrc:{configurable:!0}};fi.prototype.extractData=function(t,e){var r=Qr();if(r){var i=Wr(r,t,e);this.attributeData=this.getAttributeData(i,r),this.uniformData=this.getUniformData(i,r),r.deleteProgram(i)}else this.uniformData={},this.attributeData={}},fi.prototype.getAttributeData=function(t,e){for(var r,i={},n=[],o=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),a=0;a<o;a++){var s=e.getActiveAttrib(t,a),l=ii(e,s.type),u={type:l,name:s.name,size:(r=l,ti[r]),location:0};i[s.name]=u,n.push(u)}n.sort(function(t,e){return t.name>e.name?1:-1});for(var h=0;h<n.length;h++)n[h].location=h;return i},fi.prototype.getUniformData=function(t,e){for(var r={},i=e.getProgramParameter(t,e.ACTIVE_UNIFORMS),n=0;n<i;n++){var o=e.getActiveUniform(t,n),a=o.name.replace(/\[.*?\]/,""),s=o.name.match(/\[.*?\]/,""),l=ii(e,o.type);r[a]={type:l,size:o.size,isArray:s,value:Vr(l,o.size)}}return r},pi.defaultVertexSrc.get=function(){return"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}\n"},pi.defaultFragmentSrc.get=function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n gl_FragColor *= texture2D(uSampler, vTextureCoord);\n}"},fi.from=function(t,e,r){var i=t+e,n=Zt[i];return n||(Zt[i]=n=new fi(t,e,r)),n},Object.defineProperties(fi,pi);var di=function(t,e){for(var r in this.program=t,this.uniformGroup=e?e instanceof zr?e:new zr(e):new zr({}),t.uniformData)this.uniformGroup.uniforms[r]instanceof Array&&(this.uniformGroup.uniforms[r]=new Float32Array(this.uniformGroup.uniforms[r]))},mi={uniforms:{configurable:!0}};di.prototype.checkUniformExists=function(t,e){if(e.uniforms[t])return!0;for(var r in e.uniforms){var i=e.uniforms[r];if(i.group&&this.checkUniformExists(t,i))return!0}return!1},di.prototype.destroy=function(){this.uniformGroup=null},mi.uniforms.get=function(){return this.uniformGroup.uniforms},di.from=function(t,e,r){var i=fi.from(t,e);return new di(i,r)},Object.defineProperties(di.prototype,mi);var gi=function(){this.data=0,this.blendMode=_t.NORMAL,this.polygonOffset=0,this.blend=!0},vi={blend:{configurable:!0},offsets:{configurable:!0},culling:{configurable:!0},depthTest:{configurable:!0},clockwiseFrontFace:{configurable:!0},blendMode:{configurable:!0},polygonOffset:{configurable:!0}};vi.blend.get=function(){return!!(1&this.data)},vi.blend.set=function(t){!!(1&this.data)!==t&&(this.data^=1)},vi.offsets.get=function(){return!!(2&this.data)},vi.offsets.set=function(t){!!(2&this.data)!==t&&(this.data^=2)},vi.culling.get=function(){return!!(4&this.data)},vi.culling.set=function(t){!!(4&this.data)!==t&&(this.data^=4)},vi.depthTest.get=function(){return!!(8&this.data)},vi.depthTest.set=function(t){!!(8&this.data)!==t&&(this.data^=8)},vi.clockwiseFrontFace.get=function(){return!!(16&this.data)},vi.clockwiseFrontFace.set=function(t){!!(16&this.data)!==t&&(this.data^=16)},vi.blendMode.get=function(){return this._blendMode},vi.blendMode.set=function(t){this.blend=t!==_t.NONE,this._blendMode=t},vi.polygonOffset.get=function(){return this._polygonOffset},vi.polygonOffset.set=function(t){this.offsets=!!t,this._polygonOffset=t},gi.for2d=function(){var t=new gi;return t.depthTest=!1,t.blend=!0,t},Object.defineProperties(gi.prototype,vi);var _i=function(n){function o(t,e,r){var i=fi.from(t||o.defaultVertexSrc,e||o.defaultFragmentSrc);n.call(this,i,r),this.padding=0,this.resolution=P.FILTER_RESOLUTION,this.enabled=!0,this.autoFit=!0,this.legacy=!!this.program.attributeData.aTextureCoord,this.state=new gi}n&&(o.__proto__=n);var t={blendMode:{configurable:!0}},e={defaultVertexSrc:{configurable:!0},defaultFragmentSrc:{configurable:!0}};return((o.prototype=Object.create(n&&n.prototype)).constructor=o).prototype.apply=function(t,e,r,i,n){t.applyFilter(this,e,r,i,n)},t.blendMode.get=function(){return this.state.blendMode},t.blendMode.set=function(t){this.state.blendMode=t},e.defaultVertexSrc.get=function(){return"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n"},e.defaultFragmentSrc.get=function(){return"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n}\n"},Object.defineProperties(o.prototype,t),Object.defineProperties(o,e),o}(di);_i.SOURCE_KEY_MAP={};var yi=new me,bi=function(t,e){this._texture=t,this.mapCoord=new me,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._updateID=-1,this.clampOffset=0,this.clampMargin=void 0===e?.5:e,this.isSimple=!1},xi={texture:{configurable:!0}};xi.texture.get=function(){return this._texture},xi.texture.set=function(t){this._texture=t,this._updateID=-1},bi.prototype.multiplyUvs=function(t,e){void 0===e&&(e=t);for(var r=this.mapCoord,i=0;i<t.length;i+=2){var n=t[i],o=t[i+1];e[i]=n*r.a+o*r.c+r.tx,e[i+1]=n*r.b+o*r.d+r.ty}return e},bi.prototype.update=function(t){var e=this._texture;if(!e||!e.valid)return!1;if(!t&&this._updateID===e._updateID)return!1;this._updateID=e._updateID;var r=e._uvs;this.mapCoord.set(r.x1-r.x0,r.y1-r.y0,r.x3-r.x0,r.y3-r.y0,r.x0,r.y0);var i=e.orig,n=e.trim;n&&(yi.set(i.width/n.width,0,0,i.height/n.height,-n.x/n.width,-n.y/n.height),this.mapCoord.append(yi));var o=e.baseTexture,a=this.uClampFrame,s=this.clampMargin/o.resolution,l=this.clampOffset;return a[0]=(e._frame.x+s+l)/o.width,a[1]=(e._frame.y+s+l)/o.height,a[2]=(e._frame.x+e._frame.width-s+l)/o.width,a[3]=(e._frame.y+e._frame.height-s+l)/o.height,this.uClampOffset[0]=l/o.realWidth,this.uClampOffset[1]=l/o.realHeight,this.isSimple=e._frame.width===o.width&&e._frame.height===o.height&&0===e.rotate,!0},Object.defineProperties(bi.prototype,xi);var wi=function(r){function t(t){var e=new me;r.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n float clip = step(3.5,\n step(maskClamp.x, vMaskCoord.x) +\n step(maskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, maskClamp.z) +\n step(vMaskCoord.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, vMaskCoord);\n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n original *= (alphaMul * masky.r * alpha * clip);\n\n gl_FragColor = original;\n}\n"),t.renderable=!1,this.maskSprite=t,this.maskMatrix=e}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=this.maskSprite,o=this.maskSprite.texture;o.valid&&(o.transform||(o.transform=new bi(o,0)),o.transform.update(),this.uniforms.npmAlpha=o.baseTexture.premultiplyAlpha?0:1,this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,n).prepend(o.transform.mapCoord),this.uniforms.alpha=n.worldAlpha,this.uniforms.maskClamp=o.transform.uClampFrame,t.applyFilter(this,e,r,i))},t}(_i),Ti=function(e){function t(t){e.call(this,t),this.scissor=!1,this.scissorData=null,this.scissorRenderTarget=null,this.enableScissor=!1,this.alphaMaskPool=[],this.alphaMaskIndex=0}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.push=function(t,e){if(e.isSprite)this.pushSpriteMask(t,e);else if(this.enableScissor&&!this.scissor&&this.renderer._activeRenderTarget.root&&!this.renderer.stencil.stencilMaskStack.length&&e.isFastRect()){var r=e.worldTransform,i=Math.atan2(r.b,r.a);(i=Math.round(i*(180/Math.PI)))%90?this.pushStencilMask(e):this.pushScissorMask(t,e)}else this.pushStencilMask(e)},t.prototype.pop=function(t,e){e.isSprite?this.popSpriteMask(t,e):this.enableScissor&&!this.renderer.stencil.stencilMaskStack.length?this.popScissorMask(t,e):this.popStencilMask(t,e)},t.prototype.pushSpriteMask=function(t,e){var r=this.alphaMaskPool[this.alphaMaskIndex];r||(r=this.alphaMaskPool[this.alphaMaskIndex]=[new wi(e)]),r[0].resolution=this.renderer.resolution,r[0].maskSprite=e;var i=t.filterArea;t.filterArea=e.getBounds(!0),this.renderer.filter.push(t,r),t.filterArea=i,this.alphaMaskIndex++},t.prototype.popSpriteMask=function(){this.renderer.filter.pop(),this.alphaMaskIndex--},t.prototype.pushStencilMask=function(t){this.renderer.batch.flush(),this.renderer.stencil.pushStencil(t)},t.prototype.popStencilMask=function(){this.renderer.stencil.popStencil()},t.prototype.pushScissorMask=function(t,e){e.renderable=!0;var r=this.renderer._activeRenderTarget,i=e.getBounds();i.fit(r.size),e.renderable=!1,this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST);var n=this.renderer.resolution;this.renderer.gl.scissor(i.x*n,(r.root?r.size.height-i.y-i.height:i.y)*n,i.width*n,i.height*n),this.scissorRenderTarget=r,this.scissorData=e,this.scissor=!0},t.prototype.popScissorMask=function(){this.scissorRenderTarget=null,this.scissorData=null,this.scissor=!1;var t=this.renderer.gl;t.disable(t.SCISSOR_TEST)},t}(cr),ki=function(e){function t(t){e.call(this,t),this.stencilMaskStack=[]}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.setMaskStack=function(t){var e=this.renderer.gl,r=this.stencilMaskStack.length;(this.stencilMaskStack=t).length!==r&&(0===t.length?e.disable(e.STENCIL_TEST):(e.enable(e.STENCIL_TEST),this._useCurrent()))},t.prototype.pushStencil=function(t){var e=this.renderer.gl,r=this.stencilMaskStack.length;0===r&&(this.renderer.framebuffer.forceStencil(),e.enable(e.STENCIL_TEST)),this.stencilMaskStack.push(t),e.colorMask(!1,!1,!1,!1),e.stencilFunc(e.EQUAL,r,this._getBitwiseMask()),e.stencilOp(e.KEEP,e.KEEP,e.INCR),t.renderable=!0,t.render(this.renderer),this.renderer.batch.flush(),t.renderable=!1,this._useCurrent()},t.prototype.popStencil=function(){var t=this.renderer.gl,e=this.stencilMaskStack.pop();0===this.stencilMaskStack.length?(t.disable(t.STENCIL_TEST),t.clear(t.STENCIL_BUFFER_BIT),t.clearStencil(0)):(t.colorMask(!1,!1,!1,!1),t.stencilOp(t.KEEP,t.KEEP,t.DECR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),e.renderable=!1,this._useCurrent())},t.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.stencilMaskStack.length,this._getBitwiseMask()),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},t.prototype._getBitwiseMask=function(){return(1<<this.stencilMaskStack.length)-1},t.prototype.destroy=function(){e.prototype.destroy.call(this,this),this.stencilMaskStack=null},t}(cr),Si=function(e){function t(t){e.call(this,t),this.destinationFrame=null,this.sourceFrame=null,this.defaultFrame=null,this.projectionMatrix=new me,this.transform=null}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.update=function(t,e,r,i){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,r,i),this.transform&&this.projectionMatrix.append(this.transform);var n=this.renderer;n.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,n.globalUniforms.update(),n.shader.shader&&n.shader.syncUniformGroup(n.shader.shader.uniforms.globals)},t.prototype.calculateProjection=function(t,e,r,i){var n=this.projectionMatrix;i?(n.a=1/t.width*2*r,n.d=-1/t.height*2*r,n.tx=-1-e.x*n.a,n.ty=1-e.y*n.d):(n.a=1/t.width*2*r,n.d=1/t.height*2*r,n.tx=-1-e.x*n.a,n.ty=-1-e.y*n.d)},t.prototype.setTransform=function(){},t}(cr),Pi=new Ce,Ci=function(e){function t(t){e.call(this,t),this.clearColor=t._backgroundColorRgba,this.defaultMaskStack=[],this.current=null,this.sourceFrame=new Ce,this.destinationFrame=new Ce}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.bind=function(t,e,r){void 0===t&&(t=null),this.current=t;var i,n=this.renderer;if(t){var o=t.baseTexture;i=o.resolution,r||(Pi.width=o.realWidth,Pi.height=o.realHeight,r=Pi),e||(e=r),this.renderer.framebuffer.bind(o.framebuffer,r),this.renderer.projection.update(r,e,i,!1),this.renderer.stencil.setMaskStack(o.stencilMaskStack)}else i=this.renderer.resolution,r||(Pi.width=n.width,Pi.height=n.height,r=Pi),e||(e=r),n.framebuffer.bind(null,r),this.renderer.projection.update(r,e,i,!0),this.renderer.stencil.setMaskStack(this.defaultMaskStack);this.sourceFrame.copyFrom(e),this.destinationFrame.x=r.x/i,this.destinationFrame.y=r.y/i,this.destinationFrame.width=r.width/i,this.destinationFrame.height=r.height/i,e===r&&this.sourceFrame.copyFrom(this.destinationFrame)},t.prototype.clear=function(t){t=this.current?t||this.current.baseTexture.clearColor:t||this.clearColor,this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3])},t.prototype.resize=function(){this.bind(null)},t.prototype.reset=function(){this.bind(null)},t}(cr),Ai=function(t,e){this.program=t,this.uniformData=e,this.uniformGroups={}};Ai.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.program=null};var Ei=0,Ii=function(e){function t(t){e.call(this,t),this.systemCheck(),this.gl=null,this.shader=null,this.program=null,this.cache={},this.id=Ei++}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.systemCheck=function(){if(!function(){if("boolean"==typeof ai)return ai;try{var t=new Function("param1","param2","param3","return param1[param2] === param3;");ai=!0===t({a:"b"},"a","b")}catch(t){ai=!1}return ai}())throw new Error("Current environment does not allow unsafe-eval, please use @pixi/unsafe-eval module to enable support.")},t.prototype.contextChange=function(t){this.gl=t,this.reset()},t.prototype.bind=function(t,e){t.uniforms.globals=this.renderer.globalUniforms;var r=t.program,i=r.glPrograms[this.renderer.CONTEXT_UID]||this.generateShader(t);return this.shader=t,this.program!==r&&(this.program=r,this.gl.useProgram(i.program)),e||this.syncUniformGroup(t.uniformGroup),i},t.prototype.setUniforms=function(t){var e=this.shader.program,r=e.glPrograms[this.renderer.CONTEXT_UID];e.syncUniforms(r.uniformData,t,this.renderer)},t.prototype.syncUniformGroup=function(t){var e=this.getglProgram();t.static&&t.dirtyId===e.uniformGroups[t.id]||(e.uniformGroups[t.id]=t.dirtyId,this.syncUniforms(t,e))},t.prototype.syncUniforms=function(t,e){(t.syncUniforms[this.shader.program.id]||this.createSyncGroups(t))(e.uniformData,t.uniforms,this.renderer)},t.prototype.createSyncGroups=function(t){var e=this.getSignature(t,this.shader.program.uniformData);return this.cache[e]||(this.cache[e]=function(t,e){var r=0,i="var v = null;\n var cv = null\n var gl = renderer.gl";for(var n in t.uniforms){var o=e[n];o?"float"===o.type&&1===o.size?i+="\n if(uv."+n+" !== ud."+n+".value)\n {\n ud."+n+".value = uv."+n+"\n gl.uniform1f(ud."+n+".location, uv."+n+")\n }\n":"sampler2D"!==o.type&&"samplerCube"!==o.type&&"sampler2DArray"!==o.type||1!==o.size||o.isArray?"mat3"===o.type&&1===o.size?void 0!==t.uniforms[n].a?i+="\n gl.uniformMatrix3fv(ud."+n+".location, false, uv."+n+".toArray(true));\n \n":i+="\n gl.uniformMatrix3fv(ud."+n+".location, false, uv."+n+");\n \n":"vec2"===o.type&&1===o.size?void 0!==t.uniforms[n].x?i+="\n cv = ud."+n+".value;\n v = uv."+n+";\n\n if(cv[0] !== v.x || cv[1] !== v.y)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n gl.uniform2f(ud."+n+".location, v.x, v.y);\n }\n":i+="\n cv = ud."+n+".value;\n v = uv."+n+";\n\n if(cv[0] !== v[0] || cv[1] !== v[1])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n gl.uniform2f(ud."+n+".location, v[0], v[1]);\n }\n \n":"vec4"===o.type&&1===o.size?void 0!==t.uniforms[n].width?i+="\n cv = ud."+n+".value;\n v = uv."+n+";\n\n if(cv[0] !== v.x || cv[1] !== v.y || cv[2] !== v.width || cv[3] !== v.height)\n {\n cv[0] = v.x;\n cv[1] = v.y;\n cv[2] = v.width;\n cv[3] = v.height;\n gl.uniform4f(ud."+n+".location, v.x, v.y, v.width, v.height)\n }\n":i+="\n cv = ud."+n+".value;\n v = uv."+n+";\n\n if(cv[0] !== v[0] || cv[1] !== v[1] || cv[2] !== v[2] || cv[3] !== v[3])\n {\n cv[0] = v[0];\n cv[1] = v[1];\n cv[2] = v[2];\n cv[3] = v[3];\n\n gl.uniform4f(ud."+n+".location, v[0], v[1], v[2], v[3])\n }\n \n":i+="\n cv = ud."+n+".value;\n v = uv."+n+";\n "+(1===o.size?ni:oi)[o.type].replace("location","ud."+n+".location")+";\n":(i+="\n renderer.texture.bind(uv."+n+", "+r+");\n\n if(ud."+n+".value !== "+r+")\n {\n ud."+n+".value = "+r+";\n gl.uniform1i(ud."+n+".location, "+r+");\n; // eslint-disable-line max-len\n }\n",r++):t.uniforms[n].group&&(i+="\n renderer.shader.syncUniformGroup(uv."+n+");\n ")}return new Function("ud","uv","renderer",i)}(t,this.shader.program.uniformData)),t.syncUniforms[this.shader.program.id]=this.cache[e],t.syncUniforms[this.shader.program.id]},t.prototype.getSignature=function(t,e){var r=t.uniforms,i=[];for(var n in r)i.push(n),e[n]&&i.push(e[n].type);return i.join("-")},t.prototype.getglProgram=function(){return this.shader?this.shader.program.glPrograms[this.renderer.CONTEXT_UID]:null},t.prototype.generateShader=function(t){var e=this.gl,r=t.program,i={};for(var n in r.attributeData)i[n]=r.attributeData[n].location;var o=Wr(e,r.vertexSrc,r.fragmentSrc,i),a={};for(var s in r.uniformData){var l=r.uniformData[s];a[s]={location:e.getUniformLocation(o,s),value:Vr(l.type,l.size)}}var u=new Ai(o,a);return r.glPrograms[this.renderer.CONTEXT_UID]=u},t.prototype.reset=function(){this.program=null,this.shader=null},t.prototype.destroy=function(){this.destroyed=!0},t}(cr);var Oi=function(e){function r(t){e.call(this,t),this.gl=null,this.stateId=0,this.polygonOffset=0,this.blendMode=_t.NONE,this._blendEq=!1,this.map=[],this.map[0]=this.setBlend,this.map[1]=this.setOffset,this.map[2]=this.setCullFace,this.map[3]=this.setDepthTest,this.map[4]=this.setFrontFace,this.checks=[],this.defaultState=new gi,this.defaultState.blend=!0,this.defaultState.depth=!0}return e&&(r.__proto__=e),((r.prototype=Object.create(e&&e.prototype)).constructor=r).prototype.contextChange=function(t){this.gl=t,this.blendModes=function(t,e){return void 0===e&&(e=[]),e[_t.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.ADD]=[t.ONE,t.ONE],e[_t.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.NONE]=[0,0],e[_t.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.ADD_NPM]=[t.SRC_ALPHA,t.ONE,t.ONE,t.ONE],e[_t.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[_t.SRC_IN]=[t.DST_ALPHA,t.ZERO],e[_t.SRC_OUT]=[t.ONE_MINUS_DST_ALPHA,t.ZERO],e[_t.SRC_ATOP]=[t.DST_ALPHA,t.ONE_MINUS_SRC_ALPHA],e[_t.DST_OVER]=[t.ONE_MINUS_DST_ALPHA,t.ONE],e[_t.DST_IN]=[t.ZERO,t.SRC_ALPHA],e[_t.DST_OUT]=[t.ZERO,t.ONE_MINUS_SRC_ALPHA],e[_t.DST_ATOP]=[t.ONE_MINUS_DST_ALPHA,t.SRC_ALPHA],e[_t.SUBTRACT]=[t.ONE,t.ONE,t.ONE,t.ONE,t.FUNC_REVERSE_SUBTRACT,t.FUNC_ADD],e}(t),this.set(this.defaultState),this.reset()},r.prototype.set=function(t){if(t=t||this.defaultState,this.stateId!==t.data){for(var e=this.stateId^t.data,r=0;e;)1&e&&this.map[r].call(this,!!(t.data&1<<r)),e>>=1,r++;this.stateId=t.data}for(var i=0;i<this.checks.length;i++)this.checks[i](this,t)},r.prototype.forceState=function(t){t=t||this.defaultState;for(var e=0;e<this.map.length;e++)this.map[e].call(this,!!(t.data&1<<e));for(var r=0;r<this.checks.length;r++)this.checks[r](this,t);this.stateId=t.data},r.prototype.setBlend=function(t){this.updateCheck(r.checkBlendMode,t),this.gl[t?"enable":"disable"](this.gl.BLEND)},r.prototype.setOffset=function(t){this.updateCheck(r.checkPolygonOffset,t),this.gl[t?"enable":"disable"](this.gl.POLYGON_OFFSET_FILL)},r.prototype.setDepthTest=function(t){this.gl[t?"enable":"disable"](this.gl.DEPTH_TEST)},r.prototype.setCullFace=function(t){this.gl[t?"enable":"disable"](this.gl.CULL_FACE)},r.prototype.setFrontFace=function(t){this.gl.frontFace(this.gl[t?"CW":"CCW"])},r.prototype.setBlendMode=function(t){if(t!==this.blendMode){this.blendMode=t;var e=this.blendModes[t],r=this.gl;2===e.length?r.blendFunc(e[0],e[1]):r.blendFuncSeparate(e[0],e[1],e[2],e[3]),6===e.length?(this._blendEq=!0,r.blendEquationSeparate(e[4],e[5])):this._blendEq&&(this._blendEq=!1,r.blendEquationSeparate(r.FUNC_ADD,r.FUNC_ADD))}},r.prototype.setPolygonOffset=function(t,e){this.gl.polygonOffset(t,e)},r.prototype.reset=function(){this.gl.pixelStorei(this.gl.UNPACK_FLIP_Y_WEBGL,!1),this.forceState(0),this._blendEq=!0,this.blendMode=-1,this.setBlendMode(0)},r.prototype.updateCheck=function(t,e){var r=this.checks.indexOf(t);e&&-1===r?this.checks.push(t):e||-1===r||this.checks.splice(r,1)},r.checkBlendMode=function(t,e){t.setBlendMode(e.blendMode)},r.checkPolygonOffset=function(t,e){t.setPolygonOffset(e.polygonOffset,0)},r}(cr),Mi=function(e){function t(t){e.call(this,t),this.count=0,this.checkCount=0,this.maxIdle=P.GC_MAX_IDLE,this.checkCountMax=P.GC_MAX_CHECK_COUNT,this.mode=P.GC_MODE}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.postrender=function(){this.count++,this.mode!==Pt.MANUAL&&(this.checkCount++,this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run()))},t.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,r=!1,i=0;i<e.length;i++){var n=e[i];!n.framebuffer&&this.count-n.touched>this.maxIdle&&(t.destroyTexture(n,!0),r=!(e[i]=null))}if(r){for(var o=0,a=0;a<e.length;a++)null!==e[a]&&(e[o++]=e[a]);e.length=o}},t.prototype.unload=function(t){var e=this.renderer.textureSystem;t._texture&&t._texture._glRenderTargets&&e.destroyTexture(t._texture);for(var r=t.children.length-1;0<=r;r--)this.unload(t.children[r])},t}(cr),Di=function(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=6408,this.internalFormat=5121},zi=function(e){function t(t){e.call(this,t),this.boundTextures=[],this.currentLocation=-1,this.managedTextures=[],this._unknownBoundTextures=!1,this.unknownTexture=new ir}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion;var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var r=0;r<e;r++)this.boundTextures[r]=null;this.emptyTextures={};var i=new Di(t.createTexture());t.bindTexture(t.TEXTURE_2D,i.texture),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,new Uint8Array(4)),this.emptyTextures[t.TEXTURE_2D]=i,this.emptyTextures[t.TEXTURE_CUBE_MAP]=new Di(t.createTexture()),t.bindTexture(t.TEXTURE_CUBE_MAP,this.emptyTextures[t.TEXTURE_CUBE_MAP].texture);for(var n=0;n<6;n++)t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+n,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,null);t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MAG_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_CUBE_MAP,t.TEXTURE_MIN_FILTER,t.LINEAR);for(var o=0;o<this.boundTextures.length;o++)this.bind(null,o)},t.prototype.bind=function(t,e){void 0===e&&(e=0);var r=this.gl;if(t){if((t=t.baseTexture||t).valid){t.touched=this.renderer.textureGC.count;var i=t._glTextures[this.CONTEXT_UID]||this.initTexture(t);this.currentLocation!==e&&(this.currentLocation=e,r.activeTexture(r.TEXTURE0+e)),this.boundTextures[e]!==t&&r.bindTexture(t.target,i.texture),i.dirtyId!==t.dirtyId&&this.updateTexture(t),this.boundTextures[e]=t}}else this.currentLocation!==e&&(this.currentLocation=e,r.activeTexture(r.TEXTURE0+e)),r.bindTexture(r.TEXTURE_2D,this.emptyTextures[r.TEXTURE_2D].texture),this.boundTextures[e]=null},t.prototype.reset=function(){this._unknownBoundTextures=!0,this.currentLocation=-1;for(var t=0;t<this.boundTextures.length;t++)this.boundTextures[t]=this.unknownTexture},t.prototype.unbind=function(t){var e=this.gl,r=this.boundTextures;if(this._unknownBoundTextures){this._unknownBoundTextures=!1;for(var i=0;i<r.length;i++)r[i]===this.unknownTexture&&this.bind(null,i)}for(var n=0;n<r.length;n++)r[n]===t&&(this.currentLocation!==n&&(e.activeTexture(e.TEXTURE0+n),this.currentLocation=n),e.bindTexture(e.TEXTURE_2D,this.emptyTextures[t.target].texture),r[n]=null)},t.prototype.initTexture=function(t){var e=new Di(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},t.prototype.initTextureType=function(t,e){if(e.internalFormat=t.format,e.type=t.type,2===this.webGLVersion){var r=this.renderer.gl;t.type===r.FLOAT&&t.format===r.RGBA&&(e.internalFormat=r.RGBA32F),t.type===wt.HALF_FLOAT&&(e.type=r.HALF_FLOAT),e.type===r.HALF_FLOAT&&t.format===r.RGBA&&(e.internalFormat=r.RGBA16F)}},t.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(e){var r=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(r,t,e));else{var i=t.realWidth,n=t.realHeight,o=r.gl;(e.width!==i||e.height!==n||e.dirtyId<0)&&(e.width=i,e.height=n,o.texImage2D(t.target,0,e.internalFormat,i,n,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},t.prototype.destroyTexture=function(t,e){var r=this.gl;if((t=t.baseTexture||t)._glTextures[this.CONTEXT_UID]&&(this.unbind(t),r.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var i=this.managedTextures.indexOf(t);-1!==i&&Xt(this.managedTextures,i,1)}},t.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];e&&(t.mipmap!==St.POW2&&2===this.webGLVersion||t.isPowerOfTwo?(e.mipmap=1<=t.mipmap,e.wrapMode=t.wrapMode):(e.mipmap=0,e.wrapMode=kt.CLAMP),t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},t.prototype.setStyle=function(t,e){var r=this.gl;if(e.mipmap&&r.generateMipmap(t.target),r.texParameteri(t.target,r.TEXTURE_WRAP_S,e.wrapMode),r.texParameteri(t.target,r.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){r.texParameteri(t.target,r.TEXTURE_MIN_FILTER,t.scaleMode?r.LINEAR_MIPMAP_LINEAR:r.NEAREST_MIPMAP_NEAREST);var i=this.renderer.context.extensions.anisotropicFiltering;if(i&&0<t.anisotropicLevel&&t.scaleMode===Tt.LINEAR){var n=Math.min(t.anisotropicLevel,r.getParameter(i.MAX_TEXTURE_MAX_ANISOTROPY_EXT));r.texParameterf(t.target,i.TEXTURE_MAX_ANISOTROPY_EXT,n)}}else r.texParameteri(t.target,r.TEXTURE_MIN_FILTER,t.scaleMode?r.LINEAR:r.NEAREST);r.texParameteri(t.target,r.TEXTURE_MAG_FILTER,t.scaleMode?r.LINEAR:r.NEAREST)},t}(cr),Ri={FilterSystem:Fr,BatchSystem:Lr,ContextSystem:Br,FramebufferSystem:Ur,GeometrySystem:qr,MaskSystem:Ti,StencilSystem:ki,ProjectionSystem:Si,RenderTextureSystem:Ci,ShaderSystem:Ii,StateSystem:Oi,TextureGCSystem:Mi,TextureSystem:zi},Fi=new me,ji=function(r){function t(t,e){r.call(this),(e=Object.assign({},P.RENDER_OPTIONS,e)).roundPixels&&(P.ROUND_PIXELS=e.roundPixels,ae("5.0.0","Renderer roundPixels option is deprecated, please use PIXI.settings.ROUND_PIXELS",2)),this.options=e,this.type=vt.UNKNOWN,this.screen=new Ce(0,0,e.width,e.height),this.view=e.view||document.createElement("canvas"),this.resolution=e.resolution||P.RESOLUTION,this.transparent=e.transparent,this.autoDensity=e.autoDensity||e.autoResize||!1,this.preserveDrawingBuffer=e.preserveDrawingBuffer,this.clearBeforeRender=e.clearBeforeRender,this._backgroundColor=0,this._backgroundColorRgba=[0,0,0,0],this._backgroundColorString="#000000",this.backgroundColor=e.backgroundColor||this._backgroundColor,this._tempDisplayObjectParent=new je,this._lastObjectRendered=this._tempDisplayObjectParent,this.plugins={}}r&&(t.__proto__=r);var e={width:{configurable:!0},height:{configurable:!0},backgroundColor:{configurable:!0}};return((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.initPlugins=function(t){for(var e in t)this.plugins[e]=new t[e](this)},e.width.get=function(){return this.view.width},e.height.get=function(){return this.view.height},t.prototype.resize=function(t,e){this.screen.width=t,this.screen.height=e,this.view.width=t*this.resolution,this.view.height=e*this.resolution,this.autoDensity&&(this.view.style.width=t+"px",this.view.style.height=e+"px")},t.prototype.generateTexture=function(t,e,r,i){0===(i=i||t.getLocalBounds()).width&&(i.width=1),0===i.height&&(i.height=1);var n=br.create(0|i.width,0|i.height,e,r);return Fi.tx=-i.x,Fi.ty=-i.y,this.render(t,n,!1,Fi,!!t.parent),n},t.prototype.destroy=function(t){for(var e in this.plugins)this.plugins[e].destroy(),this.plugins[e]=null;t&&this.view.parentNode&&this.view.parentNode.removeChild(this.view),this.plugins=null,this.type=vt.UNKNOWN,this.view=null,this.screen=null,this.resolution=0,this.transparent=!1,this.autoDensity=!1,this.blendModes=null,this.options=null,this.preserveDrawingBuffer=!1,this.clearBeforeRender=!1,this._backgroundColor=0,this._backgroundColorRgba=null,this._backgroundColorString=null,this._tempDisplayObjectParent=null,this._lastObjectRendered=null},e.backgroundColor.get=function(){return this._backgroundColor},e.backgroundColor.set=function(t){this._backgroundColor=t,this._backgroundColorString=zt(t),Dt(t,this._backgroundColorRgba)},Object.defineProperties(t.prototype,e),t}(m),Li=function(r){function i(t){void 0===t&&(t={}),r.call(this,"WebGL",t),t=this.options,this.type=vt.WEBGL,this.gl=null,this.CONTEXT_UID=0,this.runners={destroy:new Ue("destroy"),contextChange:new Ue("contextChange",1),reset:new Ue("reset"),update:new Ue("update"),postrender:new Ue("postrender"),prerender:new Ue("prerender"),resize:new Ue("resize",2)},this.globalUniforms=new zr({projectionMatrix:new me},!0),this.addSystem(Ti,"mask").addSystem(Br,"context").addSystem(Oi,"state").addSystem(Ii,"shader").addSystem(zi,"texture").addSystem(qr,"geometry").addSystem(Ur,"framebuffer").addSystem(ki,"stencil").addSystem(Si,"projection").addSystem(Mi,"textureGC").addSystem(Fr,"filter").addSystem(Ci,"renderTexture").addSystem(Lr,"batch"),this.initPlugins(i.__plugins),t.context?this.context.initFromContext(t.context):this.context.initFromOptions({alpha:this.transparent,antialias:t.antialias,premultipliedAlpha:this.transparent&&"notMultiplied"!==this.transparent,stencil:!0,preserveDrawingBuffer:t.preserveDrawingBuffer,powerPreference:this.options.powerPreference}),this.renderingToScreen=!0,Ot(2===this.context.webGLVersion?"WebGL 2":"WebGL 1"),this.resize(this.options.width,this.options.height)}return r&&(i.__proto__=r),((i.prototype=Object.create(r&&r.prototype)).constructor=i).create=function(t){if(Mt())return new i(t);throw new Error('WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.')},i.prototype.addSystem=function(t,e){e||(e=t.name);var r=new t(this);if(this[e])throw new Error('Whoops! The name "'+e+'" is already in use');for(var i in this[e]=r,this.runners)this.runners[i].add(r);return this},i.prototype.render=function(t,e,r,i,n){if(this.renderingToScreen=!e,this.runners.prerender.run(),this.emit("prerender"),this.projection.transform=i,!this.context.isLost){if(e||(this._lastObjectRendered=t),!n){var o=t.parent;t.parent=this._tempDisplayObjectParent,t.updateTransform(),t.parent=o}this.renderTexture.bind(e),this.batch.currentRenderer.start(),(void 0!==r?r:this.clearBeforeRender)&&this.renderTexture.clear(),t.render(this),this.batch.currentRenderer.flush(),e&&e.baseTexture.update(),this.runners.postrender.run(),this.projection.transform=null,this.emit("postrender")}},i.prototype.resize=function(t,e){r.prototype.resize.call(this,t,e),this.runners.resize.run(t,e)},i.prototype.reset=function(){return this.runners.reset.run(),this},i.prototype.clear=function(){this.framebuffer.bind(),this.framebuffer.clear()},i.prototype.destroy=function(t){for(var e in this.runners.destroy.run(),this.runners)this.runners[e].destroy();r.prototype.destroy.call(this,t),this.gl=null},i.registerPlugin=function(t,e){(i.__plugins=i.__plugins||{})[t]=e},i}(ji);function Ni(t){return Li.create(t)}var Bi="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}",Ui="attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n",Xi=function(t){function r(){t.apply(this,arguments)}return t&&(r.__proto__=t),((r.prototype=Object.create(t&&t.prototype)).constructor=r).from=function(t,e){return new r(new ar(t,e))},r}(ir),Hi=function(){this.textures=[],this.ids=[],this.blend=0,this.textureCount=0,this.start=0,this.size=0,this.type=4},qi=function(t){this.rawBinaryData=new ArrayBuffer(t),this.uint32View=new Uint32Array(this.rawBinaryData),this.float32View=new Float32Array(this.rawBinaryData)},Wi={int8View:{configurable:!0},uint8View:{configurable:!0},int16View:{configurable:!0},uint16View:{configurable:!0},int32View:{configurable:!0}};Wi.int8View.get=function(){return this._int8View||(this._int8View=new Int8Array(this.rawBinaryData)),this._int8View},Wi.uint8View.get=function(){return this._uint8View||(this._uint8View=new Uint8Array(this.rawBinaryData)),this._uint8View},Wi.int16View.get=function(){return this._int16View||(this._int16View=new Int16Array(this.rawBinaryData)),this._int16View},Wi.uint16View.get=function(){return this._uint16View||(this._uint16View=new Uint16Array(this.rawBinaryData)),this._uint16View},Wi.int32View.get=function(){return this._int32View||(this._int32View=new Int32Array(this.rawBinaryData)),this._int32View},qi.prototype.view=function(t){return this[t+"View"]},qi.prototype.destroy=function(){this.rawBinaryData=null,this._int8View=null,this._uint8View=null,this._int16View=null,this._uint16View=null,this._int32View=null,this.uint32View=null,this.float32View=null},qi.sizeOf=function(t){switch(t){case"int8":case"uint8":return 1;case"int16":case"uint16":return 2;case"int32":case"uint32":case"float32":return 4;default:throw new Error(t+" isn't a valid view type")}},Object.defineProperties(qi.prototype,Wi);var Gi=function(r){function t(t){r.call(this,t),this.shaderGenerator=null,this.geometryClass=null,this.vertexSize=null,this.state=gi.for2d(),this.size=8e3,this._vertexCount=0,this._indexCount=0,this._bufferedElements=[],this._bufferSize=0,this._shader=null,this._packedGeometries=[],this._packedGeometryPoolSize=2,this._flushId=0,this._drawCalls=[];for(var e=0;e<this.size/4;e++)this._drawCalls[e]=new Hi;this._aBuffers={},this._iBuffers={},this.MAX_TEXTURES=1,this.renderer.on("prerender",this.onPrerender,this),t.runners.contextChange.add(this)}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.contextChange=function(){var t=this.renderer.gl;P.PREFER_ENV===gt.WEBGL_LEGACY?this.MAX_TEXTURES=1:(this.MAX_TEXTURES=Math.min(t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS),P.SPRITE_MAX_TEXTURES),this.MAX_TEXTURES=li(this.MAX_TEXTURES,t)),this._shader=this.shaderGenerator.generateShader(this.MAX_TEXTURES);for(var e=0;e<this._packedGeometryPoolSize;e++)this._packedGeometries[e]=new this.geometryClass},t.prototype.onPrerender=function(){this._flushId=0},t.prototype.render=function(t){t._texture.valid&&(this._vertexCount+t.vertexData.length/2>this.size&&this.flush(),this._vertexCount+=t.vertexData.length/2,this._indexCount+=t.indices.length,this._bufferedElements[this._bufferSize++]=t)},t.prototype.flush=function(){if(0!==this._vertexCount){var t,e,r=this.getAttributeBuffer(this._vertexCount),i=this.getIndexBuffer(this._indexCount),n=this.renderer.gl,o=this._bufferedElements,a=this._drawCalls,s=this.MAX_TEXTURES,l=this._packedGeometries,u=this.vertexSize,h=this.renderer.textureGC.count,c=0,f=0,p=0,d=a[0],m=0,g=-1;d.textureCount=0,d.start=0,d.blend=g;var v,_=++ir._globalBatch;for(v=0;v<this._bufferSize;++v){var y=o[v];o[v]=null,t=y._texture.baseTexture;var b=Ft[t.premultiplyAlpha?1:0][y.blendMode];g!==b&&(g=b,e=null,p=s,_++),e!==t&&(e=t)._batchEnabled!==_&&(p===s&&(_++,p=0,d.size=f-d.start,(d=a[m++]).textureCount=0,d.blend=g,d.start=f),t.touched=h,t._batchEnabled=_,t._id=p,d.textures[d.textureCount++]=t,p++),this.packInterleavedGeometry(y,r,i,c,f),c+=y.vertexData.length/2*u,f+=y.indices.length}ir._globalBatch=_,d.size=f-d.start,P.CAN_UPLOAD_SAME_BUFFER?(l[this._flushId]._buffer.update(r.rawBinaryData,0),l[this._flushId]._indexBuffer.update(i,0),this.renderer.geometry.updateBuffers()):(this._packedGeometryPoolSize<=this._flushId&&(this._packedGeometryPoolSize++,l[this._flushId]=new this.geometryClass),l[this._flushId]._buffer.update(r.rawBinaryData,0),l[this._flushId]._indexBuffer.update(i,0),this.renderer.geometry.bind(l[this._flushId]),this.renderer.geometry.updateBuffers(),this._flushId++);var x=this.renderer.texture,w=this.renderer.state;for(v=0;v<m;v++){for(var T=a[v],k=T.textureCount,S=0;S<k;S++)x.bind(T.textures[S],S),T.textures[S]=null;w.setBlendMode(T.blend),n.drawElements(T.type,T.size,n.UNSIGNED_SHORT,2*T.start)}this._bufferSize=0,this._vertexCount=0,this._indexCount=0}},t.prototype.start=function(){this.renderer.state.set(this.state),this.renderer.shader.bind(this._shader),P.CAN_UPLOAD_SAME_BUFFER&&this.renderer.geometry.bind(this._packedGeometries[this._flushId])},t.prototype.stop=function(){this.flush()},t.prototype.destroy=function(){for(var t=0;t<this._packedGeometryPoolSize;t++)this._packedGeometries[t]&&this._packedGeometries[t].destroy();this.renderer.off("prerender",this.onPrerender,this),this._aBuffers=null,this._iBuffers=null,this._packedGeometries=null,this._drawCalls=null,this._shader&&(this._shader.destroy(),this._shader=null),r.prototype.destroy.call(this)},t.prototype.getAttributeBuffer=function(t){var e=Gt(Math.ceil(t/8)),r=Yt(e),i=8*e;this._aBuffers.length<=r&&(this._iBuffers.length=r+1);var n=this._aBuffers[i];return n||(this._aBuffers[i]=n=new qi(i*this.vertexSize*4)),n},t.prototype.getIndexBuffer=function(t){var e=Gt(Math.ceil(t/12)),r=Yt(e),i=12*e;this._iBuffers.length<=r&&(this._iBuffers.length=r+1);var n=this._iBuffers[r];return n||(this._iBuffers[r]=n=new Uint16Array(i)),n},t.prototype.packInterleavedGeometry=function(t,e,r,i,n){for(var o=e.uint32View,a=e.float32View,s=i/this.vertexSize,l=t.uvs,u=t.indices,h=t.vertexData,c=t._texture.baseTexture._id,f=Math.min(t.worldAlpha,1),p=f<1&&t._texture.baseTexture.premultiplyAlpha?Nt(t._tintRGB,f):t._tintRGB+(255*f<<24),d=0;d<h.length;d+=2)a[i++]=h[d],a[i++]=h[d+1],a[i++]=l[d],a[i++]=l[d+1],o[i++]=p,a[i++]=c;for(var m=0;m<u.length;m++)r[n++]=s+u[m]},t}(jr),Vi=function(t,e){if(this.vertexSrc=t,this.fragTemplate=e,this.programCache={},this.defaultGroupCache={},e.indexOf("%count%")<0)throw new Error('Fragment template must contain "%count%".');if(e.indexOf("%forloop%")<0)throw new Error('Fragment template must contain "%forloop%".')};Vi.prototype.generateShader=function(t){if(!this.programCache[t]){for(var e=new Int32Array(t),r=0;r<t;r++)e[r]=r;this.defaultGroupCache[t]=zr.from({uSamplers:e},!0);var i=this.fragTemplate;i=(i=i.replace(/%count%/gi,""+t)).replace(/%forloop%/gi,this.generateSampleSrc(t)),this.programCache[t]=new fi(this.vertexSrc,i)}var n={tint:new Float32Array([1,1,1,1]),translationMatrix:new me,default:this.defaultGroupCache[t]};return new di(this.programCache[t],n)},Vi.prototype.generateSampleSrc=function(t){var e="";e+="\n",e+="\n";for(var r=0;r<t;r++)0<r&&(e+="\nelse "),r<t-1&&(e+="if(vTextureId < "+r+".5)"),e+="\n{",e+="\n\tcolor = texture2D(uSamplers["+r+"], vTextureCoord);",e+="\n}";return e+="\n",e+="\n"};var Yi=function(e){function t(t){void 0===t&&(t=!1),e.call(this),this._buffer=new kr(null,t,!1),this._indexBuffer=new kr(null,t,!0),this.addAttribute("aVertexPosition",this._buffer,2,!1,wt.FLOAT).addAttribute("aTextureCoord",this._buffer,2,!1,wt.FLOAT).addAttribute("aColor",this._buffer,4,!0,wt.UNSIGNED_BYTE).addAttribute("aTextureId",this._buffer,1,!0,wt.FLOAT).addIndex(this._indexBuffer)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Ir),Zi="precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vTextureId = aTextureId;\n vColor = aColor * tint;\n}\n",Ji="varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n vec4 color;\n %forloop%\n gl_FragColor = color * vColor;\n}\n",Ki=function(){},Qi={defaultVertexSrc:{configurable:!0},defaultFragmentTemplate:{configurable:!0}};Ki.create=function(t){var e=Object.assign({vertex:Zi,fragment:Ji,geometryClass:Yi,vertexSize:6},t),r=e.vertex,i=e.fragment,n=e.vertexSize,o=e.geometryClass;return function(e){function t(t){e.call(this,t),this.shaderGenerator=new Vi(r,i),this.geometryClass=o,this.vertexSize=n}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Gi)},Qi.defaultVertexSrc.get=function(){return Zi},Qi.defaultFragmentTemplate.get=function(){return Ji},Object.defineProperties(Ki,Qi);var $i=Ki.create(),tn=new Ce,en=function(t){(this.renderer=t).extract=this};en.prototype.image=function(t,e,r){var i=new Image;return i.src=this.base64(t,e,r),i},en.prototype.base64=function(t,e,r){return this.canvas(t).toDataURL(e,r)},en.prototype.canvas=function(t){var e,r,i,n=this.renderer,o=!1,a=!1;t&&(t instanceof br?i=t:(i=this.renderer.generateTexture(t),a=!0)),i?(e=i.baseTexture.resolution,r=i.frame,o=!1,n.renderTexture.bind(i)):(e=this.renderer.resolution,o=!0,(r=tn).width=this.renderer.width,r.height=this.renderer.height,n.renderTexture.bind(null));var s=Math.floor(r.width*e),l=Math.floor(r.height*e),u=new $t(s,l,1),h=new Uint8Array(4*s*l),c=n.gl;c.readPixels(r.x*e,r.y*e,s,l,c.RGBA,c.UNSIGNED_BYTE,h);var f=u.context.getImageData(0,0,s,l);return en.arrayPostDivide(h,f.data),u.context.putImageData(f,0,0),o&&(u.context.scale(1,-1),u.context.drawImage(u.canvas,0,-l)),a&&i.destroy(!0),u.canvas},en.prototype.pixels=function(t){var e,r,i,n=this.renderer,o=!1;t&&(t instanceof br?i=t:(i=this.renderer.generateTexture(t),o=!0)),i?(e=i.baseTexture.resolution,r=i.frame,n.renderTexture.bind(i)):(e=n.resolution,(r=tn).width=n.width,r.height=n.height,n.renderTexture.bind(null));var a=r.width*e,s=r.height*e,l=new Uint8Array(4*a*s),u=n.gl;return u.readPixels(r.x*e,r.y*e,a,s,u.RGBA,u.UNSIGNED_BYTE,l),o&&i.destroy(!0),en.arrayPostDivide(l,l),l},en.prototype.destroy=function(){this.renderer.extract=null,this.renderer=null},en.arrayPostDivide=function(t,e){for(var r=0;r<t.length;r+=4){var i=e[r+3]=t[r+3];0!==i?(e[r]=Math.round(Math.min(255*t[r]/i,255)),e[r+1]=Math.round(Math.min(255*t[r+1]/i,255)),e[r+2]=Math.round(Math.min(255*t[r+2]/i,255))):(e[r]=t[r],e[r+1]=t[r+1],e[r+2]=t[r+2])}};var rn={Extract:en},nn=function(){this.global=new le,this.target=null,this.originalEvent=null,this.identifier=null,this.isPrimary=!1,this.button=0,this.buttons=0,this.width=0,this.height=0,this.tiltX=0,this.tiltY=0,this.pointerType=null,this.pressure=0,this.rotationAngle=0,this.twist=0,this.tangentialPressure=0},on={pointerId:{configurable:!0}};on.pointerId.get=function(){return this.identifier},nn.prototype.getLocalPosition=function(t,e,r){return t.worldTransform.applyInverse(r||this.global,e)},nn.prototype.copyEvent=function(t){t.isPrimary&&(this.isPrimary=!0),this.button=t.button,this.buttons=Number.isInteger(t.buttons)?t.buttons:t.which,this.width=t.width,this.height=t.height,this.tiltX=t.tiltX,this.tiltY=t.tiltY,this.pointerType=t.pointerType,this.pressure=t.pressure,this.rotationAngle=t.rotationAngle,this.twist=t.twist||0,this.tangentialPressure=t.tangentialPressure||0},nn.prototype.reset=function(){this.isPrimary=!1},Object.defineProperties(nn.prototype,on);var an=function(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.target=null,this.currentTarget=null,this.type=null,this.data=null};an.prototype.stopPropagation=function(){this.stopped=!0,this.stopPropagationHint=!0,this.stopsPropagatingAt=this.currentTarget},an.prototype.reset=function(){this.stopped=!1,this.stopsPropagatingAt=null,this.stopPropagationHint=!1,this.currentTarget=null,this.target=null};var sn=function t(e){this._pointerId=e,this._flags=t.FLAGS.NONE},ln={pointerId:{configurable:!0},flags:{configurable:!0},none:{configurable:!0},over:{configurable:!0},rightDown:{configurable:!0},leftDown:{configurable:!0}};sn.prototype._doSet=function(t,e){this._flags=e?this._flags|t:this._flags&~t},ln.pointerId.get=function(){return this._pointerId},ln.flags.get=function(){return this._flags},ln.flags.set=function(t){this._flags=t},ln.none.get=function(){return this._flags===this.constructor.FLAGS.NONE},ln.over.get=function(){return 0!=(this._flags&this.constructor.FLAGS.OVER)},ln.over.set=function(t){this._doSet(this.constructor.FLAGS.OVER,t)},ln.rightDown.get=function(){return 0!=(this._flags&this.constructor.FLAGS.RIGHT_DOWN)},ln.rightDown.set=function(t){this._doSet(this.constructor.FLAGS.RIGHT_DOWN,t)},ln.leftDown.get=function(){return 0!=(this._flags&this.constructor.FLAGS.LEFT_DOWN)},ln.leftDown.set=function(t){this._doSet(this.constructor.FLAGS.LEFT_DOWN,t)},Object.defineProperties(sn.prototype,ln),sn.FLAGS=Object.freeze({NONE:0,OVER:1,LEFT_DOWN:2,RIGHT_DOWN:4});var un={interactive:!1,interactiveChildren:!0,hitArea:null,get buttonMode(){return"pointer"===this.cursor},set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this.cursor=null)},cursor:null,get trackedPointers(){return void 0===this._trackedPointers&&(this._trackedPointers={}),this._trackedPointers},_trackedPointers:void 0};Re.mixin(un);var hn={target:null,data:{global:null}},cn=function(r){function t(t,e){r.call(this),e=e||{},this.renderer=t,this.autoPreventDefault=void 0===e.autoPreventDefault||e.autoPreventDefault,this.interactionFrequency=e.interactionFrequency||10,this.mouse=new nn,this.mouse.identifier=1,this.mouse.global.set(-999999),this.activeInteractionData={},this.activeInteractionData[1]=this.mouse,this.interactionDataPool=[],this.eventData=new an,this.interactionDOMElement=null,this.moveWhenInside=!1,this.eventsAdded=!1,this.mouseOverRenderer=!1,this.supportsTouchEvents="ontouchstart"in window,this.supportsPointerEvents=!!window.PointerEvent,this.onPointerUp=this.onPointerUp.bind(this),this.processPointerUp=this.processPointerUp.bind(this),this.onPointerCancel=this.onPointerCancel.bind(this),this.processPointerCancel=this.processPointerCancel.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.processPointerDown=this.processPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.processPointerMove=this.processPointerMove.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.processPointerOverOut=this.processPointerOverOut.bind(this),this.onPointerOver=this.onPointerOver.bind(this),this.cursorStyles={default:"inherit",pointer:"pointer"},this.currentCursorMode=null,this.cursor=null,this._tempPoint=new le,this.resolution=1,this.delayedEvents=[],this.setTargetElement(this.renderer.view,this.renderer.resolution)}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.hitTest=function(t,e){return hn.target=null,hn.data.global=t,e||(e=this.renderer._lastObjectRendered),this.processInteractive(hn,e,null,!0),hn.target},t.prototype.setTargetElement=function(t,e){void 0===e&&(e=1),this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents()},t.prototype.addEvents=function(){this.interactionDOMElement&&(We.system.add(this.update,this,He.INTERACTION),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="none",this.interactionDOMElement.style["-ms-touch-action"]="none"):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]="none"),this.supportsPointerEvents?(window.document.addEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,!0),window.addEventListener("pointercancel",this.onPointerCancel,!0),window.addEventListener("pointerup",this.onPointerUp,!0)):(window.document.addEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,!0),window.addEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,!0)),this.eventsAdded=!0)},t.prototype.removeEvents=function(){this.interactionDOMElement&&(We.system.remove(this.update,this),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="",this.interactionDOMElement.style["-ms-touch-action"]=""):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]=""),this.supportsPointerEvents?(window.document.removeEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,!0),window.removeEventListener("pointercancel",this.onPointerCancel,!0),window.removeEventListener("pointerup",this.onPointerUp,!0)):(window.document.removeEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,!0),window.removeEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,!0)),this.interactionDOMElement=null,this.eventsAdded=!1)},t.prototype.update=function(t){if(this._deltaTime+=t,!(this._deltaTime<this.interactionFrequency)&&(this._deltaTime=0,this.interactionDOMElement))if(this.didMove)this.didMove=!1;else{for(var e in this.cursor=null,this.activeInteractionData)if(this.activeInteractionData.hasOwnProperty(e)){var r=this.activeInteractionData[e];if(r.originalEvent&&"touch"!==r.pointerType){var i=this.configureInteractionEventForDOMEvent(this.eventData,r.originalEvent,r);this.processInteractive(i,this.renderer._lastObjectRendered,this.processPointerOverOut,!0)}}this.setCursorMode(this.cursor)}},t.prototype.setCursorMode=function(t){if(t=t||"default",this.currentCursorMode!==t){this.currentCursorMode=t;var e=this.cursorStyles[t];if(e)switch(typeof e){case"string":this.interactionDOMElement.style.cursor=e;break;case"function":e(t);break;case"object":Object.assign(this.interactionDOMElement.style,e)}else"string"!=typeof t||Object.prototype.hasOwnProperty.call(this.cursorStyles,t)||(this.interactionDOMElement.style.cursor=t)}},t.prototype.dispatchEvent=function(t,e,r){r.stopPropagationHint&&t!==r.stopsPropagatingAt||(r.currentTarget=t,r.type=e,t.emit(e,r),t[e]&&t[e](r))},t.prototype.delayDispatchEvent=function(t,e,r){this.delayedEvents.push({displayObject:t,eventString:e,eventData:r})},t.prototype.mapPositionToPoint=function(t,e,r){var i;i=this.interactionDOMElement.parentElement?this.interactionDOMElement.getBoundingClientRect():{x:0,y:0,width:0,height:0};var n=1/this.resolution;t.x=(e-i.left)*(this.interactionDOMElement.width/i.width)*n,t.y=(r-i.top)*(this.interactionDOMElement.height/i.height)*n},t.prototype.processInteractive=function(t,e,r,i,n,o){if(!e||!e.visible)return!1;var a=t.data.global,s=!1,l=n=e.interactive||n,u=!0;if(e.hitArea?(i&&(e.worldTransform.applyInverse(a,this._tempPoint),e.hitArea.contains(this._tempPoint.x,this._tempPoint.y)?s=!0:u=i=!1),l=!1):e._mask&&i&&(e._mask.containsPoint&&e._mask.containsPoint(a)||(i=!1)),u&&e.interactiveChildren&&e.children)for(var h=e.children,c=h.length-1;0<=c;c--){var f=h[c],p=this.processInteractive(t,f,r,i,l,!0);if(p){if(!f.parent)continue;l=!1,p&&(t.target&&(i=!1),s=!0)}}n&&(i&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(a)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),r&&r(t,e,!!s)));var d=this.delayedEvents;if(d.length&&!o){t.stopPropagationHint=!1;var m=d.length;this.delayedEvents=[];for(var g=0;g<m;g++){var v=d[g],_=v.displayObject,y=v.eventString,b=v.eventData;b.stopsPropagatingAt===_&&(b.stopPropagationHint=!0),this.dispatchEvent(_,y,b)}}return s},t.prototype.onPointerDown=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);if(this.autoPreventDefault&&e[0].isNormalized)(t.cancelable||!("cancelable"in t))&&t.preventDefault();for(var r=e.length,i=0;i<r;i++){var n=e[i],o=this.getInteractionDataForPointerId(n),a=this.configureInteractionEventForDOMEvent(this.eventData,n,o);if(a.data.originalEvent=t,this.processInteractive(a,this.renderer._lastObjectRendered,this.processPointerDown,!0),this.emit("pointerdown",a),"touch"===n.pointerType)this.emit("touchstart",a);else if("mouse"===n.pointerType||"pen"===n.pointerType){var s=2===n.button;this.emit(s?"rightdown":"mousedown",this.eventData)}}}},t.prototype.processPointerDown=function(t,e,r){var i=t.data,n=t.data.identifier;if(r)if(e.trackedPointers[n]||(e.trackedPointers[n]=new sn(n)),this.dispatchEvent(e,"pointerdown",t),"touch"===i.pointerType)this.dispatchEvent(e,"touchstart",t);else if("mouse"===i.pointerType||"pen"===i.pointerType){var o=2===i.button;o?e.trackedPointers[n].rightDown=!0:e.trackedPointers[n].leftDown=!0,this.dispatchEvent(e,o?"rightdown":"mousedown",t)}},t.prototype.onPointerComplete=function(t,e,r){for(var i=this.normalizeToPointerData(t),n=i.length,o=t.target!==this.interactionDOMElement?"outside":"",a=0;a<n;a++){var s=i[a],l=this.getInteractionDataForPointerId(s),u=this.configureInteractionEventForDOMEvent(this.eventData,s,l);if(u.data.originalEvent=t,this.processInteractive(u,this.renderer._lastObjectRendered,r,e||!o),this.emit(e?"pointercancel":"pointerup"+o,u),"mouse"===s.pointerType||"pen"===s.pointerType){var h=2===s.button;this.emit(h?"rightup"+o:"mouseup"+o,u)}else"touch"===s.pointerType&&(this.emit(e?"touchcancel":"touchend"+o,u),this.releaseInteractionDataForPointerId(s.pointerId,l))}},t.prototype.onPointerCancel=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!0,this.processPointerCancel)},t.prototype.processPointerCancel=function(t,e){var r=t.data,i=t.data.identifier;void 0!==e.trackedPointers[i]&&(delete e.trackedPointers[i],this.dispatchEvent(e,"pointercancel",t),"touch"===r.pointerType&&this.dispatchEvent(e,"touchcancel",t))},t.prototype.onPointerUp=function(t){this.supportsTouchEvents&&"touch"===t.pointerType||this.onPointerComplete(t,!1,this.processPointerUp)},t.prototype.processPointerUp=function(t,e,r){var i=t.data,n=t.data.identifier,o=e.trackedPointers[n],a="touch"===i.pointerType,s="mouse"===i.pointerType||"pen"===i.pointerType,l=!1;if(s){var u=2===i.button,h=sn.FLAGS,c=u?h.RIGHT_DOWN:h.LEFT_DOWN,f=void 0!==o&&o.flags&c;r?(this.dispatchEvent(e,u?"rightup":"mouseup",t),f&&(this.dispatchEvent(e,u?"rightclick":"click",t),l=!0)):f&&this.dispatchEvent(e,u?"rightupoutside":"mouseupoutside",t),o&&(u?o.rightDown=!1:o.leftDown=!1)}r?(this.dispatchEvent(e,"pointerup",t),a&&this.dispatchEvent(e,"touchend",t),o&&(s&&!l||this.dispatchEvent(e,"pointertap",t),a&&(this.dispatchEvent(e,"tap",t),o.over=!1))):o&&(this.dispatchEvent(e,"pointerupoutside",t),a&&this.dispatchEvent(e,"touchendoutside",t)),o&&o.none&&delete e.trackedPointers[n]},t.prototype.onPointerMove=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);"mouse"!==e[0].pointerType&&"pen"!==e[0].pointerType||(this.didMove=!0,this.cursor=null);for(var r=e.length,i=0;i<r;i++){var n=e[i],o=this.getInteractionDataForPointerId(n),a=this.configureInteractionEventForDOMEvent(this.eventData,n,o);a.data.originalEvent=t,this.processInteractive(a,this.renderer._lastObjectRendered,this.processPointerMove,!0),this.emit("pointermove",a),"touch"===n.pointerType&&this.emit("touchmove",a),"mouse"!==n.pointerType&&"pen"!==n.pointerType||this.emit("mousemove",a)}"mouse"===e[0].pointerType&&this.setCursorMode(this.cursor)}},t.prototype.processPointerMove=function(t,e,r){var i=t.data,n="touch"===i.pointerType,o="mouse"===i.pointerType||"pen"===i.pointerType;o&&this.processPointerOverOut(t,e,r),this.moveWhenInside&&!r||(this.dispatchEvent(e,"pointermove",t),n&&this.dispatchEvent(e,"touchmove",t),o&&this.dispatchEvent(e,"mousemove",t))},t.prototype.onPointerOut=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t)[0];"mouse"===e.pointerType&&(this.mouseOverRenderer=!1,this.setCursorMode(null));var r=this.getInteractionDataForPointerId(e),i=this.configureInteractionEventForDOMEvent(this.eventData,e,r);i.data.originalEvent=e,this.processInteractive(i,this.renderer._lastObjectRendered,this.processPointerOverOut,!1),this.emit("pointerout",i),"mouse"===e.pointerType||"pen"===e.pointerType?this.emit("mouseout",i):this.releaseInteractionDataForPointerId(r.identifier)}},t.prototype.processPointerOverOut=function(t,e,r){var i=t.data,n=t.data.identifier,o="mouse"===i.pointerType||"pen"===i.pointerType,a=e.trackedPointers[n];r&&!a&&(a=e.trackedPointers[n]=new sn(n)),void 0!==a&&(r&&this.mouseOverRenderer?(a.over||(a.over=!0,this.delayDispatchEvent(e,"pointerover",t),o&&this.delayDispatchEvent(e,"mouseover",t)),o&&null===this.cursor&&(this.cursor=e.cursor)):a.over&&(a.over=!1,this.dispatchEvent(e,"pointerout",this.eventData),o&&this.dispatchEvent(e,"mouseout",t),a.none&&delete e.trackedPointers[n]))},t.prototype.onPointerOver=function(t){var e=this.normalizeToPointerData(t)[0],r=this.getInteractionDataForPointerId(e),i=this.configureInteractionEventForDOMEvent(this.eventData,e,r);"mouse"===(i.data.originalEvent=e).pointerType&&(this.mouseOverRenderer=!0),this.emit("pointerover",i),"mouse"!==e.pointerType&&"pen"!==e.pointerType||this.emit("mouseover",i)},t.prototype.getInteractionDataForPointerId=function(t){var e,r=t.pointerId;return 1===r||"mouse"===t.pointerType?e=this.mouse:this.activeInteractionData[r]?e=this.activeInteractionData[r]:((e=this.interactionDataPool.pop()||new nn).identifier=r,this.activeInteractionData[r]=e),e.copyEvent(t),e},t.prototype.releaseInteractionDataForPointerId=function(t){var e=this.activeInteractionData[t];e&&(delete this.activeInteractionData[t],e.reset(),this.interactionDataPool.push(e))},t.prototype.configureInteractionEventForDOMEvent=function(t,e,r){return t.data=r,this.mapPositionToPoint(r.global,e.clientX,e.clientY),"touch"===e.pointerType&&(e.globalX=r.global.x,e.globalY=r.global.y),r.originalEvent=e,t.reset(),t},t.prototype.normalizeToPointerData=function(t){var e=[];if(this.supportsTouchEvents&&t instanceof TouchEvent)for(var r=0,i=t.changedTouches.length;r<i;r++){var n=t.changedTouches[r];void 0===n.button&&(n.button=t.touches.length?1:0),void 0===n.buttons&&(n.buttons=t.touches.length?1:0),void 0===n.isPrimary&&(n.isPrimary=1===t.touches.length&&"touchstart"===t.type),void 0===n.width&&(n.width=n.radiusX||1),void 0===n.height&&(n.height=n.radiusY||1),void 0===n.tiltX&&(n.tiltX=0),void 0===n.tiltY&&(n.tiltY=0),void 0===n.pointerType&&(n.pointerType="touch"),void 0===n.pointerId&&(n.pointerId=n.identifier||0),void 0===n.pressure&&(n.pressure=n.force||.5),void 0===n.twist&&(n.twist=0),void 0===n.tangentialPressure&&(n.tangentialPressure=0),void 0===n.layerX&&(n.layerX=n.offsetX=n.clientX),void 0===n.layerY&&(n.layerY=n.offsetY=n.clientY),n.isNormalized=!0,e.push(n)}else!(t instanceof MouseEvent)||this.supportsPointerEvents&&t instanceof window.PointerEvent||(void 0===t.isPrimary&&(t.isPrimary=!0),void 0===t.width&&(t.width=1),void 0===t.height&&(t.height=1),void 0===t.tiltX&&(t.tiltX=0),void 0===t.tiltY&&(t.tiltY=0),void 0===t.pointerType&&(t.pointerType="mouse"),void 0===t.pointerId&&(t.pointerId=1),void 0===t.pressure&&(t.pressure=.5),void 0===t.twist&&(t.twist=0),void 0===t.tangentialPressure&&(t.tangentialPressure=0),t.isNormalized=!0),e.push(t);return e},t.prototype.destroy=function(){this.removeEvents(),this.removeAllListeners(),this.renderer=null,this.mouse=null,this.eventData=null,this.interactionDOMElement=null,this.onPointerDown=null,this.processPointerDown=null,this.onPointerUp=null,this.processPointerUp=null,this.onPointerCancel=null,this.processPointerCancel=null,this.onPointerMove=null,this.processPointerMove=null,this.onPointerOut=null,this.processPointerOverOut=null,this.onPointerOver=null,this._tempPoint=null},t}(m),fn={InteractionData:nn,InteractionEvent:an,InteractionManager:cn,InteractionTrackingData:sn,interactiveTarget:un},pn={adaptive:!0,maxLength:10,minSegments:8,maxSegments:2048,_segmentsCount:function(t,e){if(void 0===e&&(e=20),!this.adaptive)return e;var r=Math.ceil(t/this.maxLength);return r<this.minSegments?r=this.minSegments:r>this.maxSegments&&(r=this.maxSegments),r}},dn=function(){this.reset()};dn.prototype.clone=function(){var t=new dn;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t},dn.prototype.reset=function(){this.color=16777215,this.alpha=1,this.texture=_r.WHITE,this.matrix=null,this.visible=!1},dn.prototype.destroy=function(){this.texture=null,this.matrix=null};var mn=function(t,e,r,i){void 0===e&&(e=null),void 0===r&&(r=null),void 0===i&&(i=null),this.shape=t,this.lineStyle=r,this.fillStyle=e,this.matrix=i,this.type=t.type,this.points=[],this.holes=[]};mn.prototype.clone=function(){return new mn(this.shape,this.fillStyle,this.lineStyle,this.matrix)},mn.prototype.destroy=function(){this.shape=null,this.holes.length=0,this.holes=null,this.points.length=0,this.points=null,this.lineStyle=null,this.fillStyle=null};var gn={build:function(t){var e,r,i=t.shape,n=t.points,o=i.x,a=i.y;if(n.length=0,r=t.type===de.CIRC?(e=i.radius,i.radius):(e=i.width,i.height),0!==e&&0!==r){var s=Math.floor(30*Math.sqrt(i.radius))||Math.floor(15*Math.sqrt(i.width+i.height));s/=2.3;for(var l=2*Math.PI/s,u=0;u<s;u++)n.push(o+Math.sin(-l*u)*e,a+Math.cos(-l*u)*r);n.push(n[0],n[1])}},triangulate:function(t,e){var r=t.points,i=e.points,n=e.indices,o=i.length/2,a=o;i.push(t.shape.x,t.shape.y);for(var s=0;s<r.length;s+=2)i.push(r[s],r[s+1]),n.push(o++,a,o)}};function vn(t,e){t.lineStyle.native?function(t,e){var r=0,i=t.shape,n=t.points||i.points,o=i.type!==de.POLY||i.closeStroke;if(0===n.length)return;var a=e.points,s=e.indices,l=n.length/2,u=a.length/2,h=u;for(a.push(n[0],n[1]),r=1;r<l;r++)a.push(n[2*r],n[2*r+1]),s.push(h,h+1),h++;o&&s.push(h,u)}(t,e):function(t,e){var r=t.shape,i=t.points||r.points.slice(),n=e.closePointEps;if(0===i.length)return;var o=t.lineStyle,a=new le(i[0],i[1]),s=new le(i[i.length-2],i[i.length-1]),l=r.type!==de.POLY||r.closeStroke,u=Math.abs(a.x-s.x)<n&&Math.abs(a.y-s.y)<n;if(l){i=i.slice(),u&&(i.pop(),i.pop(),s.set(i[i.length-2],i[i.length-1]));var h=s.x+.5*(a.x-s.x),c=s.y+.5*(a.y-s.y);i.unshift(h,c),i.push(h,c)}var f=e.points,p=i.length/2,d=i.length,m=f.length/2,g=o.width/2,v=i[0],_=i[1],y=i[2],b=i[3],x=0,w=0,T=-(_-b),k=v-y,S=0,P=0,C=0,A=0,E=Math.sqrt(T*T+k*k);T/=E,k/=E,T*=g,k*=g;var I=o.alignment,O=2*(1-I),M=2*I;f.push(v-T*O,_-k*O),f.push(v+T*M,_+k*M);for(var D=1;D<p-1;++D){v=i[2*(D-1)],_=i[2*(D-1)+1],y=i[2*D],b=i[2*D+1],x=i[2*(D+1)],w=i[2*(D+1)+1],T=-(_-b),k=v-y,E=Math.sqrt(T*T+k*k),T/=E,k/=E,T*=g,k*=g,S=-(b-w),P=y-x,E=Math.sqrt(S*S+P*P),S/=E,P/=E;var z=-k+_-(-k+b),R=-T+y-(-T+v),F=(-T+v)*(-k+b)-(-T+y)*(-k+_),j=-(P*=g)+w-(-P+b),L=-(S*=g)+y-(-S+x),N=(-S+x)*(-P+b)-(-S+y)*(-P+w),B=z*L-j*R;if(Math.abs(B)<.1)B+=10.1,f.push(y-T*O,b-k*O),f.push(y+T*M,b+k*M);else{var U=(R*N-L*F)/B,X=(j*F-z*N)/B,H=(U-y)*(U-y)+(X-b)*(X-b);196*g*g<H?(C=T-S,A=k-P,E=Math.sqrt(C*C+A*A),C/=E,A/=E,C*=g,A*=g,f.push(y-C*O,b-A*O),f.push(y+C*M,b+A*M),f.push(y-C*M*O,b-A*O),d++):(f.push(y+(U-y)*O,b+(X-b)*O),f.push(y-(U-y)*M,b-(X-b)*M))}}v=i[2*(p-2)],_=i[2*(p-2)+1],y=i[2*(p-1)],b=i[2*(p-1)+1],T=-(_-b),k=v-y,E=Math.sqrt(T*T+k*k),T/=E,k/=E,T*=g,k*=g,f.push(y-T*O,b-k*O),f.push(y+T*M,b+k*M);for(var q=e.indices,W=0;W<d-2;++W)q.push(m,m+1,m+2),m++}(t,e)}var _n={build:function(t){t.points=t.shape.points.slice()},triangulate:function(t,e){var r=t.points,i=t.holes,n=e.points,o=e.indices;if(6<=r.length){for(var a=[],s=0;s<i.length;s++){var l=i[s];a.push(r.length/2),r=r.concat(l.points)}var u=g(r,a,2);if(!u)return;for(var h=n.length/2,c=0;c<u.length;c+=3)o.push(u[c]+h),o.push(u[c+1]+h),o.push(u[c+2]+h);for(var f=0;f<r.length;f++)n.push(r[f])}}},yn={build:function(t){var e=t.shape,r=t.points,i=e.x,n=e.y,o=e.width,a=e.height,s=e.radius;r.length=0,xn(i,n+s,i,n,i+s,n,r),xn(i+o-s,n,i+o,n,i+o,n+s,r),xn(i+o,n+a-s,i+o,n+a,i+o-s,n+a,r),xn(i+s,n+a,i,n+a,i,n+a-s,r)},triangulate:function(t,e){for(var r=t.points,i=e.points,n=e.indices,o=i.length/2,a=g(r,null,2),s=0,l=a.length;s<l;s+=3)n.push(a[s]+o),n.push(a[s+1]+o),n.push(a[s+2]+o);for(var u=0,h=r.length;u<h;u++)i.push(r[u],r[++u])}};function bn(t,e,r){return t+(e-t)*r}function xn(t,e,r,i,n,o,a){void 0===a&&(a=[]);for(var s=a,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0;d<=20;++d)l=bn(t,r,m=d/20),u=bn(e,i,m),h=bn(r,n,m),c=bn(i,o,m),f=bn(l,h,m),p=bn(u,c,m),s.push(f,p);return s}var wn=[],Tn=[],kn=new le,Sn={};Sn[de.POLY]=_n,Sn[de.CIRC]=gn,Sn[de.ELIP]=gn,Sn[de.RECT]={build:function(t){var e=t.shape,r=e.x,i=e.y,n=e.width,o=e.height,a=t.points;a.length=0,a.push(r,i,r+n,i,r+n,i+o,r,i+o)},triangulate:function(t,e){var r=t.points,i=e.points,n=i.length/2;i.push(r[0],r[1],r[2],r[3],r[6],r[7],r[4],r[5]),e.indices.push(n,1+n,2+n,1+n,2+n,3+n)}},Sn[de.RREC]=yn;var Pn=function(){this.style=null,this.size=0,this.start=0,this.attribStart=0,this.attribSize=0},Cn=function(r){function i(){r.call(this),this.points=[],this.colors=[],this.uvs=[],this.indices=[],this.textureIds=[],this.graphicsData=[],this.dirty=0,this.batchDirty=-1,this.cacheDirty=-1,this.clearDirty=0,this.drawCalls=[],this.batches=[],this.shapeIndex=0,this._bounds=new ze,this.boundsDirty=-1,this.boundsPadding=0,this.batchable=!1,this.indicesUint16=null,this.uvsFloat32=null,this.closePointEps=1e-4}r&&(i.__proto__=r),(i.prototype=Object.create(r&&r.prototype)).constructor=i;var t={bounds:{configurable:!0}};return t.bounds.get=function(){return this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.calculateBounds()),this._bounds},i.prototype.invalidate=function(){this.boundsDirty=-1,this.dirty++,this.batchDirty++,this.shapeIndex=0,this.points.length=0,this.colors.length=0,this.uvs.length=0,this.indices.length=0;for(var t=this.textureIds.length=0;t<this.drawCalls.length;t++)this.drawCalls[t].textures.length=0,Tn.push(this.drawCalls[t]);for(var e=this.drawCalls.length=0;e<this.batches.length;e++){var r=this.batches[e];r.start=0,r.attribStart=0,r.style=null,wn.push(r)}this.batches.length=0},i.prototype.clear=function(){return 0<this.graphicsData.length&&(this.invalidate(),this.clearDirty++,this.graphicsData.length=0),this},i.prototype.drawShape=function(t,e,r,i){var n=new mn(t,e,r,i);return this.graphicsData.push(n),this.dirty++,this},i.prototype.drawHole=function(t,e){if(!this.graphicsData.length)return null;var r=new mn(t,null,null,e),i=this.graphicsData[this.graphicsData.length-1];return r.lineStyle=i.lineStyle,i.holes.push(r),this.dirty++,this},i.prototype.destroy=function(t){r.prototype.destroy.call(this,t);for(var e=0;e<this.graphicsData.length;++e)this.graphicsData[e].destroy();this.points.length=0,this.points=null,this.colors.length=0,this.colors=null,this.uvs.length=0,this.uvs=null,this.indices.length=0,this.indices=null,this.indexBuffer.destroy(),this.indexBuffer=null,this.graphicsData.length=0,this.graphicsData=null,this.drawCalls.length=0,this.drawCalls=null,this.batches.length=0,this.batches=null,this._bounds=null},i.prototype.containsPoint=function(t){for(var e=this.graphicsData,r=0;r<e.length;++r){var i=e[r];if(i.fillStyle.visible&&(i.shape&&(i.matrix?i.matrix.applyInverse(t,kn):kn.copyFrom(t),i.shape.contains(kn.x,kn.y)))){if(i.holes)for(var n=0;n<i.holes.length;n++){if(i.holes[n].shape.contains(kn.x,kn.y))return!1}return!0}}return!1},i.prototype.updateBatches=function(){if(this.dirty!==this.cacheDirty)if(0!==this.graphicsData.length){if(this.dirty!==this.cacheDirty)for(var t=0;t<this.graphicsData.length;t++){var e=this.graphicsData[t];if(e.fillStyle&&!e.fillStyle.texture.baseTexture.valid)return;if(e.lineStyle&&!e.lineStyle.texture.baseTexture.valid)return}this.cacheDirty=this.dirty;var r=this.uvs,i=null,n=null,o=0,a=!1;if(0<this.batches.length){var s=(i=this.batches[this.batches.length-1]).style;n=s.texture.baseTexture,o=s.color+s.alpha,a=!!s.native}for(var l=this.shapeIndex;l<this.graphicsData.length;l++){this.shapeIndex++;var u=this.graphicsData[l],h=Sn[u.type],c=u.fillStyle,f=u.lineStyle;h.build(u),u.matrix&&this.transformPoints(u.points,u.matrix);for(var p=0;p<2;p++){var d=0===p?c:f;if(d.visible){var m=d.texture.baseTexture,g=this.indices.length,v=this.points.length/2;!i||n===m&&o===d.color+d.alpha&&a===!!d.native||(i.size=g-i.start,i.attribSize=v-i.attribStart,0<i.size&&(i=null)),i||(i=wn.pop()||new Pn,this.batches.push(i),m.wrapMode=kt.REPEAT,n=m,o=d.color+d.alpha,a=d.native,i.style=d,i.start=g,i.attribStart=v);var _=this.points.length/2;if(0===p)u.holes.length?(this.processHoles(u.holes),_n.triangulate(u,this)):h.triangulate(u,this);else{vn(u,this);for(var y=0;y<u.holes.length;y++)vn(u.holes[y],this)}var b=this.points.length/2-_;this.addUvs(this.points,r,d.texture,_,b,d.matrix)}}}var x=this.indices.length,w=this.points.length/2;if(i)if(i.size=x-i.start,i.attribSize=w-i.attribStart,this.indicesUint16=new Uint16Array(this.indices),this.batchable=this.isBatchable(),this.batchable){this.batchDirty++,this.uvsFloat32=new Float32Array(this.uvs);for(var T=0;T<this.batches.length;T++)for(var k=this.batches[T],S=0;S<k.size;S++){var P=k.start+S;this.indicesUint16[P]=this.indicesUint16[P]-k.attribStart}}else this.buildDrawCalls();else this.batchable=!0}else this.batchable=!0},i.prototype.isBatchable=function(){for(var t=this.batches,e=0;e<t.length;e++)if(t[e].style.native)return!1;return this.points.length<2*i.BATCHABLE_SIZE},i.prototype.buildDrawCalls=function(){for(var t=++ir._globalBatch,e=0;e<this.drawCalls.length;e++)this.drawCalls[e].textures.length=0,Tn.push(this.drawCalls[e]);this.drawCalls.length=0;var r=this.uvs,i=this.colors,n=this.textureIds,o=Tn.pop()||new Hi;o.textureCount=0,o.start=0,o.size=0,o.type=yt.TRIANGLES;var a=0,s=null,l=0,u=!1,h=yt.TRIANGLES,c=0;this.drawCalls.push(o);for(var f=0;f<this.batches.length;f++){var p=this.batches[f],d=p.style,m=d.texture.baseTexture;u!==!!d.native&&(h=(u=d.native)?yt.LINES:yt.TRIANGLES,s=null,a=8,t++),s!==m&&(s=m)._batchEnabled!==t&&(8===a&&(t++,(a=0)<o.size&&(o=Tn.pop()||new Hi,this.drawCalls.push(o)),o.start=c,o.size=0,o.textureCount=0,o.type=h),m.touched=1,m._batchEnabled=t,m._id=a,m.wrapMode=10497,o.textures[o.textureCount++]=m,a++),o.size+=p.size,c+=p.size,l=m._id,this.addColors(i,d.color,d.alpha,p.attribSize),this.addTextureIds(n,l,p.attribSize)}ir._globalBatch=t;for(var g=this.points,v=new ArrayBuffer(3*g.length*4),_=new Float32Array(v),y=new Uint32Array(v),b=0,x=0;x<g.length/2;x++)_[b++]=g[2*x],_[b++]=g[2*x+1],_[b++]=r[2*x],_[b++]=r[2*x+1],y[b++]=i[x],_[b++]=n[x];this._buffer.update(v),this._indexBuffer.update(this.indicesUint16)},i.prototype.processHoles=function(t){for(var e=0;e<t.length;e++){var r=t[e];Sn[r.type].build(r),r.matrix&&this.transformPoints(r.points,r.matrix)}},i.prototype.calculateBounds=function(){var t=1/0,e=-1/0,r=1/0,i=-1/0;if(this.graphicsData.length)for(var n=null,o=0,a=0,s=0,l=0,u=0;u<this.graphicsData.length;u++){var h=this.graphicsData[u],c=h.type,f=h.lineStyle?h.lineStyle.width:0;if(n=h.shape,c===de.RECT||c===de.RREC)o=n.x-f/2,a=n.y-f/2,t=o<t?o:t,e=e<o+(s=n.width+f)?o+s:e,r=a<r?a:r,i=i<a+(l=n.height+f)?a+l:i;else if(c===de.CIRC)o=n.x,a=n.y,t=o-(s=n.radius+f/2)<t?o-s:t,e=e<o+s?o+s:e,r=a-(l=n.radius+f/2)<r?a-l:r,i=i<a+l?a+l:i;else if(c===de.ELIP)o=n.x,a=n.y,t=o-(s=n.width+f/2)<t?o-s:t,e=e<o+s?o+s:e,r=a-(l=n.height+f/2)<r?a-l:r,i=i<a+l?a+l:i;else for(var p=n.points,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0;w+2<p.length;w+=2)o=p[w],a=p[w+1],d=p[w+2],m=p[w+3],g=Math.abs(d-o),v=Math.abs(m-a),l=f,(s=Math.sqrt(g*g+v*v))<1e-9||(t=(b=(d+o)/2)-(_=(l/s*v+g)/2)<t?b-_:t,e=e<b+_?b+_:e,r=(x=(m+a)/2)-(y=(l/s*g+v)/2)<r?x-y:r,i=i<x+y?x+y:i)}else i=r=e=t=0;var T=this.boundsPadding;this._bounds.minX=t-T,this._bounds.maxX=e+T,this._bounds.minY=r-T,this._bounds.maxY=i+T},i.prototype.transformPoints=function(t,e){for(var r=0;r<t.length/2;r++){var i=t[2*r],n=t[2*r+1];t[2*r]=e.a*i+e.c*n+e.tx,t[2*r+1]=e.b*i+e.d*n+e.ty}},i.prototype.addColors=function(t,e,r,i){for(var n=Nt((e>>16)+(65280&e)+((255&e)<<16),r);0<i--;)t.push(n)},i.prototype.addTextureIds=function(t,e,r){for(;0<r--;)t.push(e)},i.prototype.addUvs=function(t,e,r,i,n,o){for(var a=0,s=e.length,l=r.frame;a<n;){var u=t[2*(i+a)],h=t[2*(i+a)+1];if(o){var c=o.a*u+o.c*h+o.tx;h=o.b*u+o.d*h+o.ty,u=c}a++,e.push(u/l.width,h/l.height)}var f=r.baseTexture;(l.width<f.width||l.height<f.height)&&this.adjustUvs(e,r,s,n)},i.prototype.adjustUvs=function(t,e,r,i){for(var n=e.baseTexture,o=r+2*i,a=e.frame,s=a.width/n.width,l=a.height/n.height,u=a.x/a.width,h=a.y/a.height,c=Math.floor(t[r]+1e-6),f=Math.floor(t[r+1]+1e-6),p=r+2;p<o;p+=2)c=Math.min(c,Math.floor(t[p]+1e-6)),f=Math.min(f,Math.floor(t[p+1]+1e-6));u-=c,h-=f;for(var d=r;d<o;d+=2)t[d]=(t[d]+u)*s,t[d+1]=(t[d+1]+h)*l},Object.defineProperties(i.prototype,t),i}(Yi);Cn.BATCHABLE_SIZE=100;var An=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.clone=function(){var t=new e;return t.color=this.color,t.alpha=this.alpha,t.texture=this.texture,t.matrix=this.matrix,t.visible=this.visible,t.width=this.width,t.alignment=this.alignment,t.native=this.native,t},e.prototype.reset=function(){t.prototype.reset.call(this),this.color=0,this.width=0,this.alignment=.5,this.native=!1},e}(dn),En=function(){};En.curveLength=function(t,e,r,i,n,o,a,s){for(var l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=t,b=e,x=1;x<=10;++x)v=y-(m=(d=(p=(f=1-(u=x/10))*f)*f)*t+3*p*u*r+3*f*(h=u*u)*n+(c=h*u)*a),_=b-(g=d*e+3*p*u*i+3*f*h*o+c*s),y=m,b=g,l+=Math.sqrt(v*v+_*_);return l},En.curveTo=function(t,e,r,i,n,o,a){var s=a[a.length-2],l=a[a.length-1];a.length-=2;var u=pn._segmentsCount(En.curveLength(s,l,t,e,r,i,n,o)),h=0,c=0,f=0,p=0,d=0;a.push(s,l);for(var m=1,g=0;m<=u;++m)f=(c=(h=1-(g=m/u))*h)*h,d=(p=g*g)*g,a.push(f*s+3*c*g*t+3*h*p*r+d*n,f*l+3*c*g*e+3*h*p*i+d*o)};var In=function(){};In.curveLength=function(t,e,r,i,n,o){var a=t-2*r+n,s=e-2*i+o,l=2*r-2*t,u=2*i-2*e,h=4*(a*a+s*s),c=4*(a*l+s*u),f=l*l+u*u,p=2*Math.sqrt(h+c+f),d=Math.sqrt(h),m=2*h*d,g=2*Math.sqrt(f),v=c/d;return(m*p+d*c*(p-g)+(4*f*h-c*c)*Math.log((2*d+v+p)/(v+g)))/(4*m)},In.curveTo=function(t,e,r,i,n){for(var o=n[n.length-2],a=n[n.length-1],s=pn._segmentsCount(In.curveLength(o,a,t,e,r,i)),l=0,u=0,h=1;h<=s;++h){var c=h/s;l=o+(t-o)*c,u=a+(e-a)*c,n.push(l+(t+(r-t)*c-l)*c,u+(e+(i-e)*c-u)*c)}};var On=function(){};On.curveTo=function(t,e,r,i,n,o){var a=o[o.length-2],s=o[o.length-1]-e,l=a-t,u=i-e,h=r-t,c=Math.abs(s*h-l*u);if(c<1e-8||0===n)return o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e),null;var f=s*s+l*l,p=u*u+h*h,d=s*u+l*h,m=n*Math.sqrt(f)/c,g=n*Math.sqrt(p)/c,v=m*d/f,_=g*d/p,y=m*h+g*l,b=m*u+g*s,x=l*(g+v),w=s*(g+v),T=h*(m+_),k=u*(m+_);return{cx:y+t,cy:b+e,radius:n,startAngle:Math.atan2(w-b,x-y),endAngle:Math.atan2(k-b,T-y),anticlockwise:h*s<l*u}},On.arc=function(t,e,r,i,n,o,a,s,l){for(var u=a-o,h=pn._segmentsCount(Math.abs(u)*n,40*Math.ceil(Math.abs(u)/ce)),c=u/(2*h),f=2*c,p=Math.cos(c),d=Math.sin(c),m=h-1,g=m%1/m,v=0;v<=m;++v){var _=c+o+f*(v+g*v),y=Math.cos(_),b=-Math.sin(_);l.push((p*y+d*b)*n+r,(p*-b+d*y)*n+i)}};var Mn=function(p){function t(t,e,r,i,n,o){n=n||i/2;for(var a=-1*Math.PI/2+o,s=2*r,l=ce/s,u=[],h=0;h<s;h++){var c=h%2?n:i,f=h*l+a;u.push(t+c*Math.cos(f),e+c*Math.sin(f))}p.call(this,u)}return p&&(t.__proto__=p),(t.prototype=Object.create(p&&p.prototype)).constructor=t}(Me),Dn=new Float32Array(3),zn={},Rn=function(e){function r(t){void 0===t&&(t=null),e.call(this),this.geometry=t||new Cn,this.geometry.refCount++,this.shader=null,this.state=gi.for2d(),this._fillStyle=new dn,this._lineStyle=new An,this._matrix=null,this._holeMode=!1,this.currentPath=null,this.batches=[],this.batchTint=-1,this.vertexData=null,this._transformID=-1,this.batchDirty=-1,this.pluginName="batch",this.tint=16777215,this.blendMode=_t.NORMAL}e&&(r.__proto__=e);var t={blendMode:{configurable:!0},tint:{configurable:!0},fill:{configurable:!0},line:{configurable:!0}};return((r.prototype=Object.create(e&&e.prototype)).constructor=r).prototype.clone=function(){return this.finishPoly(),new r(this.geometry)},t.blendMode.set=function(t){this.state.blendMode=t},t.blendMode.get=function(){return this.state.blendMode},t.tint.get=function(){return this._tint},t.tint.set=function(t){this._tint=t},t.fill.get=function(){return this._fillStyle},t.line.get=function(){return this._lineStyle},r.prototype.lineStyle=function(t,e,r,i,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=1),void 0===i&&(i=.5),void 0===n&&(n=!1),this.lineTextureStyle(t,_r.WHITE,e,r,null,i,n),this},r.prototype.lineTextureStyle=function(t,e,r,i,n,o,a){void 0===t&&(t=0),void 0===e&&(e=_r.WHITE),void 0===r&&(r=16777215),void 0===i&&(i=1),void 0===n&&(n=null),void 0===o&&(o=.5),void 0===a&&(a=!1),this.currentPath&&this.startPoly();var s=0<t&&0<i;return s?(n&&(n=n.clone()).invert(),Object.assign(this._lineStyle,{color:r,width:t,alpha:i,matrix:n,texture:e,alignment:o,native:a,visible:s})):this._lineStyle.reset(),this},r.prototype.startPoly=function(){if(this.currentPath){var t=this.currentPath.points,e=this.currentPath.points.length;2<e&&(this.drawShape(this.currentPath),this.currentPath=new Me,this.currentPath.closeStroke=!1,this.currentPath.points.push(t[e-2],t[e-1]))}else this.currentPath=new Me,this.currentPath.closeStroke=!1},r.prototype.finishPoly=function(){this.currentPath&&(2<this.currentPath.points.length?(this.drawShape(this.currentPath),this.currentPath=null):this.currentPath.points.length=0)},r.prototype.moveTo=function(t,e){return this.startPoly(),this.currentPath.points[0]=t,this.currentPath.points[1]=e,this},r.prototype.lineTo=function(t,e){this.currentPath||this.moveTo(0,0);var r=this.currentPath.points,i=r[r.length-2],n=r[r.length-1];return i===t&&n===e||r.push(t,e),this},r.prototype._initCurve=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.currentPath?0===this.currentPath.points.length&&(this.currentPath.points=[t,e]):this.moveTo(t,e)},r.prototype.quadraticCurveTo=function(t,e,r,i){this._initCurve();var n=this.currentPath.points;return 0===n.length&&this.moveTo(0,0),In.curveTo(t,e,r,i,n),this},r.prototype.bezierCurveTo=function(t,e,r,i,n,o){return this._initCurve(),En.curveTo(t,e,r,i,n,o,this.currentPath.points),this},r.prototype.arcTo=function(t,e,r,i,n){this._initCurve(t,e);var o=this.currentPath.points,a=On.curveTo(t,e,r,i,n,o);if(a){var s=a.cx,l=a.cy,u=a.radius,h=a.startAngle,c=a.endAngle,f=a.anticlockwise;this.arc(s,l,u,h,c,f)}return this},r.prototype.arc=function(t,e,r,i,n,o){if(void 0===o&&(o=!1),i===n)return this;if(!o&&n<=i?n+=ce:o&&i<=n&&(i+=ce),0==n-i)return this;var a=t+Math.cos(i)*r,s=e+Math.sin(i)*r,l=this.geometry.closePointEps,u=this.currentPath?this.currentPath.points:null;if(u){var h=Math.abs(u[u.length-2]-a),c=Math.abs(u[u.length-1]-s);h<l&&c<l||u.push(a,s)}else this.moveTo(a,s),u=this.currentPath.points;return On.arc(a,s,t,e,r,i,n,o,u),this},r.prototype.beginFill=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=1),this.beginTextureFill(_r.WHITE,t,e)},r.prototype.beginTextureFill=function(t,e,r,i){void 0===t&&(t=_r.WHITE),void 0===e&&(e=16777215),void 0===r&&(r=1),void 0===i&&(i=null),this.currentPath&&this.startPoly();var n=0<r;return n?(i&&(i=i.clone()).invert(),Object.assign(this._fillStyle,{color:e,alpha:r,texture:t,matrix:i,visible:n})):this._fillStyle.reset(),this},r.prototype.endFill=function(){return this.finishPoly(),this._fillStyle.reset(),this},r.prototype.drawRect=function(t,e,r,i){return this.drawShape(new Ce(t,e,r,i))},r.prototype.drawRoundedRect=function(t,e,r,i,n){return this.drawShape(new De(t,e,r,i,n))},r.prototype.drawCircle=function(t,e,r){return this.drawShape(new Ie(t,e,r))},r.prototype.drawEllipse=function(t,e,r,i){return this.drawShape(new Oe(t,e,r,i))},r.prototype.drawPolygon=function(t){var e=arguments,r=t,i=!0;if(r.points&&(i=r.closeStroke,r=r.points),!Array.isArray(r)){r=new Array(arguments.length);for(var n=0;n<r.length;++n)r[n]=e[n]}var o=new Me(r);return o.closeStroke=i,this.drawShape(o),this},r.prototype.drawShape=function(t){return this._holeMode?this.geometry.drawHole(t,this._matrix):this.geometry.drawShape(t,this._fillStyle.clone(),this._lineStyle.clone(),this._matrix),this},r.prototype.drawStar=function(t,e,r,i,n,o){return void 0===o&&(o=0),this.drawPolygon(new Mn(t,e,r,i,n,o))},r.prototype.clear=function(){return this.geometry.clear(),this._lineStyle.reset(),this._fillStyle.reset(),this._matrix=null,this._holeMode=!1,this.currentPath=null,this},r.prototype.isFastRect=function(){return!1},r.prototype._render=function(t){this.finishPoly();var e=this.geometry;e.updateBatches(),e.batchable?(this.batchDirty!==e.batchDirty&&this._populateBatches(),this._renderBatched(t)):(t.batch.flush(),this._renderDirect(t))},r.prototype._populateBatches=function(){var t=this.geometry,e=this.blendMode;this.batches=[],this.batchTint=-1,this._transformID=-1,this.batchDirty=t.batchDirty,this.vertexData=new Float32Array(t.points);for(var r=0,i=t.batches.length;r<i;r++){var n=t.batches[r],o=n.style.color,a=new Float32Array(this.vertexData.buffer,4*n.attribStart*2,2*n.attribSize),s=new Float32Array(t.uvsFloat32.buffer,4*n.attribStart*2,2*n.attribSize),l={vertexData:a,blendMode:e,indices:new Uint16Array(t.indicesUint16.buffer,2*n.start,n.size),uvs:s,_batchRGB:Dt(o),_tintRGB:o,_texture:n.style.texture,alpha:n.style.alpha,worldAlpha:1};this.batches[r]=l}},r.prototype._renderBatched=function(t){if(this.batches.length){t.batch.setObjectRenderer(t.plugins[this.pluginName]),this.calculateVertices(),this.calculateTints();for(var e=0,r=this.batches.length;e<r;e++){var i=this.batches[e];i.worldAlpha=this.worldAlpha*i.alpha,t.plugins[this.pluginName].render(i)}}},r.prototype._renderDirect=function(t){var e=this._resolveDirectShader(t),r=this.geometry,i=this.tint,n=this.worldAlpha,o=e.uniforms,a=r.drawCalls;o.translationMatrix=this.transform.worldTransform,o.tint[0]=(i>>16&255)/255*n,o.tint[1]=(i>>8&255)/255*n,o.tint[2]=(255&i)/255*n,o.tint[3]=n,t.shader.bind(e),t.geometry.bind(r,e),t.state.set(this.state);for(var s=0,l=a.length;s<l;s++)this._renderDrawCallDirect(t,r.drawCalls[s])},r.prototype._renderDrawCallDirect=function(t,e){for(var r=e.textureCount,i=0;i<r;i++)t.texture.bind(e.textures[i],i);t.geometry.draw(e.type,e.size,e.start)},r.prototype._resolveDirectShader=function(t){var e=this.shader,r=this.pluginName;if(!e){if(!zn[r]){for(var i=new Int32Array(16),n=0;n<16;n++)i[n]=n;var o={tint:new Float32Array([1,1,1,1]),translationMatrix:new me,default:zr.from({uSamplers:i},!0)},a=t.plugins[r]._shader.program;zn[r]=new di(a,o)}e=zn[r]}return e},r.prototype._calculateBounds=function(){this.finishPoly();var t=this.geometry.bounds;this._bounds.addFrame(this.transform,t.minX,t.minY,t.maxX,t.maxY)},r.prototype.containsPoint=function(t){return this.worldTransform.applyInverse(t,r._TEMP_POINT),this.geometry.containsPoint(r._TEMP_POINT)},r.prototype.calculateTints=function(){if(this.batchTint!==this.tint){this.batchTint=this.tint;for(var t=Dt(this.tint,Dn),e=0;e<this.batches.length;e++){var r=this.batches[e],i=r._batchRGB,n=(t[0]*i[0]*255<<16)+(t[1]*i[1]*255<<8)+(0|t[2]*i[2]*255);r._tintRGB=(n>>16)+(65280&n)+((255&n)<<16)}}},r.prototype.calculateVertices=function(){if(this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID;for(var t=this.transform.worldTransform,e=t.a,r=t.b,i=t.c,n=t.d,o=t.tx,a=t.ty,s=this.geometry.points,l=this.vertexData,u=0,h=0;h<s.length;h+=2){var c=s[h],f=s[h+1];l[u++]=e*c+i*f+o,l[u++]=n*f+r*c+a}}},r.prototype.closePath=function(){var t=this.currentPath;return t&&(t.closeStroke=!0),this},r.prototype.setMatrix=function(t){return this._matrix=t,this},r.prototype.beginHole=function(){return this.finishPoly(),this._holeMode=!0,this},r.prototype.endHole=function(){return this.finishPoly(),this._holeMode=!1,this},r.prototype.destroy=function(t){e.prototype.destroy.call(this,t),this.geometry.refCount--,0===this.geometry.refCount&&this.geometry.dispose(),this._matrix=null,this.currentPath=null,this._lineStyle.destroy(),this._lineStyle=null,this._fillStyle.destroy(),this._fillStyle=null,this.geometry=null,this.shader=null,this.vertexData=null,this.batches.length=0,this.batches=null,e.prototype.destroy.call(this,t)},Object.defineProperties(r.prototype,t),r}(je);Rn._TEMP_POINT=new le;var Fn=new le,jn=new Uint16Array([0,1,2,0,2,3]),Ln=function(r){function i(t){r.call(this),this._anchor=new ue(this._onAnchorUpdate,this,t?t.defaultAnchor.x:0,t?t.defaultAnchor.y:0),this._texture=null,this._width=0,this._height=0,this._tint=null,this._tintRGB=null,this.tint=16777215,this.blendMode=_t.NORMAL,this.shader=null,this._cachedTint=16777215,this.uvs=null,this.texture=t||_r.EMPTY,this.vertexData=new Float32Array(8),this.vertexTrimmedData=null,this._transformID=-1,this._textureID=-1,this._transformTrimmedID=-1,this._textureTrimmedID=-1,this.indices=jn,this.size=4,this.start=0,this.pluginName="batch",this.isSprite=!0,this._roundPixels=P.ROUND_PIXELS}r&&(i.__proto__=r);var t={roundPixels:{configurable:!0},width:{configurable:!0},height:{configurable:!0},anchor:{configurable:!0},tint:{configurable:!0},texture:{configurable:!0}};return((i.prototype=Object.create(r&&r.prototype)).constructor=i).prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=Wt(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=Wt(this.scale.y)*this._height/this._texture.orig.height)},i.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},i.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,r=e.a,i=e.b,n=e.c,o=e.d,a=e.tx,s=e.ty,l=this.vertexData,u=t.trim,h=t.orig,c=this._anchor,f=0,p=0,d=0,m=0;if(d=u?(f=(p=u.x-c._x*h.width)+u.width,(m=u.y-c._y*h.height)+u.height):(f=(p=-c._x*h.width)+h.width,(m=-c._y*h.height)+h.height),l[0]=r*p+n*m+a,l[1]=o*m+i*p+s,l[2]=r*f+n*m+a,l[3]=o*m+i*f+s,l[4]=r*f+n*d+a,l[5]=o*d+i*f+s,l[6]=r*p+n*d+a,l[7]=o*d+i*p+s,this._roundPixels)for(var g=0;g<8;g++)l[g]=Math.round(l[g])}},i.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,r=t.orig,i=this._anchor,n=this.transform.worldTransform,o=n.a,a=n.b,s=n.c,l=n.d,u=n.tx,h=n.ty,c=-i._x*r.width,f=c+r.width,p=-i._y*r.height,d=p+r.height;e[0]=o*c+s*p+u,e[1]=l*p+a*c+h,e[2]=o*f+s*p+u,e[3]=l*p+a*f+h,e[4]=o*f+s*d+u,e[5]=l*d+a*f+h,e[6]=o*c+s*d+u,e[7]=l*d+a*c+h},i.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},i.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},i.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._bounds.minX=this._texture.orig.width*-this._anchor._x,this._bounds.minY=this._texture.orig.height*-this._anchor._y,this._bounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._bounds.maxY=this._texture.orig.height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new Ce),t=this._localBoundsRect),this._bounds.getRectangle(t)):r.prototype.getLocalBounds.call(this,t)},i.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,Fn);var e=this._texture.orig.width,r=this._texture.orig.height,i=-e*this.anchor.x,n=0;return Fn.x>=i&&Fn.x<i+e&&(n=-r*this.anchor.y,Fn.y>=n&&Fn.y<n+r)},i.prototype.destroy=function(t){if(r.prototype.destroy.call(this,t),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof t?t:t&&t.texture){var e="boolean"==typeof t?t:t&&t.baseTexture;this._texture.destroy(!!e)}this._texture=null,this.shader=null},i.from=function(t,e){return new i(t instanceof _r?t:_r.from(t,e))},t.roundPixels.set=function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},t.roundPixels.get=function(){return this._roundPixels},t.width.get=function(){return Math.abs(this.scale.x)*this._texture.orig.width},t.width.set=function(t){var e=Wt(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},t.height.get=function(){return Math.abs(this.scale.y)*this._texture.orig.height},t.height.set=function(t){var e=Wt(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},t.anchor.get=function(){return this._anchor},t.anchor.set=function(t){this._anchor.copyFrom(t)},t.tint.get=function(){return this._tint},t.tint.set=function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},t.texture.get=function(){return this._texture},t.texture.set=function(t){this._texture!==t&&(this._texture=t||_r.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},Object.defineProperties(i.prototype,t),i}(je),Nn={LINEAR_VERTICAL:0,LINEAR_HORIZONTAL:1},Bn={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:Nn.LINEAR_VERTICAL,fillGradientStops:[],fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,lineJoin:"miter",miterLimit:10,padding:0,stroke:"black",strokeThickness:0,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100,leading:0},Un=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],Xn=function(t){this.styleID=0,this.reset(),Gn(this,t,t)},Hn={align:{configurable:!0},breakWords:{configurable:!0},dropShadow:{configurable:!0},dropShadowAlpha:{configurable:!0},dropShadowAngle:{configurable:!0},dropShadowBlur:{configurable:!0},dropShadowColor:{configurable:!0},dropShadowDistance:{configurable:!0},fill:{configurable:!0},fillGradientType:{configurable:!0},fillGradientStops:{configurable:!0},fontFamily:{configurable:!0},fontSize:{configurable:!0},fontStyle:{configurable:!0},fontVariant:{configurable:!0},fontWeight:{configurable:!0},letterSpacing:{configurable:!0},lineHeight:{configurable:!0},leading:{configurable:!0},lineJoin:{configurable:!0},miterLimit:{configurable:!0},padding:{configurable:!0},stroke:{configurable:!0},strokeThickness:{configurable:!0},textBaseline:{configurable:!0},trim:{configurable:!0},whiteSpace:{configurable:!0},wordWrap:{configurable:!0},wordWrapWidth:{configurable:!0}};function qn(t){return"number"==typeof t?zt(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function Wn(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=qn(t[e]);return t}return qn(t)}function Gn(t,e,r){for(var i in r)Array.isArray(e[i])?t[i]=e[i].slice():t[i]=e[i]}Xn.prototype.clone=function(){var t={};return Gn(t,this,Bn),new Xn(t)},Xn.prototype.reset=function(){Gn(this,Bn,Bn)},Hn.align.get=function(){return this._align},Hn.align.set=function(t){this._align!==t&&(this._align=t,this.styleID++)},Hn.breakWords.get=function(){return this._breakWords},Hn.breakWords.set=function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)},Hn.dropShadow.get=function(){return this._dropShadow},Hn.dropShadow.set=function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)},Hn.dropShadowAlpha.get=function(){return this._dropShadowAlpha},Hn.dropShadowAlpha.set=function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)},Hn.dropShadowAngle.get=function(){return this._dropShadowAngle},Hn.dropShadowAngle.set=function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)},Hn.dropShadowBlur.get=function(){return this._dropShadowBlur},Hn.dropShadowBlur.set=function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)},Hn.dropShadowColor.get=function(){return this._dropShadowColor},Hn.dropShadowColor.set=function(t){var e=Wn(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)},Hn.dropShadowDistance.get=function(){return this._dropShadowDistance},Hn.dropShadowDistance.set=function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)},Hn.fill.get=function(){return this._fill},Hn.fill.set=function(t){var e=Wn(t);this._fill!==e&&(this._fill=e,this.styleID++)},Hn.fillGradientType.get=function(){return this._fillGradientType},Hn.fillGradientType.set=function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)},Hn.fillGradientStops.get=function(){return this._fillGradientStops},Hn.fillGradientStops.set=function(t){(function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0})(this._fillGradientStops,t)||(this._fillGradientStops=t,this.styleID++)},Hn.fontFamily.get=function(){return this._fontFamily},Hn.fontFamily.set=function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)},Hn.fontSize.get=function(){return this._fontSize},Hn.fontSize.set=function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)},Hn.fontStyle.get=function(){return this._fontStyle},Hn.fontStyle.set=function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)},Hn.fontVariant.get=function(){return this._fontVariant},Hn.fontVariant.set=function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)},Hn.fontWeight.get=function(){return this._fontWeight},Hn.fontWeight.set=function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)},Hn.letterSpacing.get=function(){return this._letterSpacing},Hn.letterSpacing.set=function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)},Hn.lineHeight.get=function(){return this._lineHeight},Hn.lineHeight.set=function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)},Hn.leading.get=function(){return this._leading},Hn.leading.set=function(t){this._leading!==t&&(this._leading=t,this.styleID++)},Hn.lineJoin.get=function(){return this._lineJoin},Hn.lineJoin.set=function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)},Hn.miterLimit.get=function(){return this._miterLimit},Hn.miterLimit.set=function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)},Hn.padding.get=function(){return this._padding},Hn.padding.set=function(t){this._padding!==t&&(this._padding=t,this.styleID++)},Hn.stroke.get=function(){return this._stroke},Hn.stroke.set=function(t){var e=Wn(t);this._stroke!==e&&(this._stroke=e,this.styleID++)},Hn.strokeThickness.get=function(){return this._strokeThickness},Hn.strokeThickness.set=function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)},Hn.textBaseline.get=function(){return this._textBaseline},Hn.textBaseline.set=function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)},Hn.trim.get=function(){return this._trim},Hn.trim.set=function(t){this._trim!==t&&(this._trim=t,this.styleID++)},Hn.whiteSpace.get=function(){return this._whiteSpace},Hn.whiteSpace.set=function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)},Hn.wordWrap.get=function(){return this._wordWrap},Hn.wordWrap.set=function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)},Hn.wordWrapWidth.get=function(){return this._wordWrapWidth},Hn.wordWrapWidth.set=function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)},Xn.prototype.toFontString=function(){var t="number"==typeof this.fontSize?this.fontSize+"px":this.fontSize,e=this.fontFamily;Array.isArray(this.fontFamily)||(e=this.fontFamily.split(","));for(var r=e.length-1;0<=r;r--){var i=e[r].trim();!/([\"\'])[^\'\"]+\1/.test(i)&&Un.indexOf(i)<0&&(i='"'+i+'"'),e[r]=i}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},Object.defineProperties(Xn.prototype,Hn);var Vn=function(t,e,r,i,n,o,a,s,l){this.text=t,this.style=e,this.width=r,this.height=i,this.lines=n,this.lineWidths=o,this.lineHeight=a,this.maxLineWidth=s,this.fontProperties=l};Vn.measureText=function(t,e,r,i){void 0===i&&(i=Vn._canvas),r=null==r?e.wordWrap:r;var n=e.toFontString(),o=Vn.measureFont(n);0===o.fontSize&&(o.fontSize=e.fontSize,o.ascent=e.fontSize);var a=i.getContext("2d");a.font=n;for(var s=(r?Vn.wordWrap(t,e,i):t).split(/(?:\r\n|\r|\n)/),l=new Array(s.length),u=0,h=0;h<s.length;h++){var c=a.measureText(s[h]).width+(s[h].length-1)*e.letterSpacing;l[h]=c,u=Math.max(u,c)}var f=u+e.strokeThickness;e.dropShadow&&(f+=e.dropShadowDistance);var p=e.lineHeight||o.fontSize+e.strokeThickness,d=Math.max(p,o.fontSize+e.strokeThickness)+(s.length-1)*(p+e.leading);return e.dropShadow&&(d+=e.dropShadowDistance),new Vn(t,e,f,d,s,l,p+e.leading,u,o)},Vn.wordWrap=function(t,e,r){void 0===r&&(r=Vn._canvas);for(var i=r.getContext("2d"),n=0,o="",a="",s={},l=e.letterSpacing,u=e.whiteSpace,h=Vn.collapseSpaces(u),c=Vn.collapseNewlines(u),f=!h,p=e.wordWrapWidth+l,d=Vn.tokenize(t),m=0;m<d.length;m++){var g=d[m];if(Vn.isNewline(g)){if(!c){a+=Vn.addLine(o),f=!h,o="",n=0;continue}g=" "}if(h){var v=Vn.isBreakingSpace(g),_=Vn.isBreakingSpace(o[o.length-1]);if(v&&_)continue}var y=Vn.getFromCache(g,l,s,i);if(p<y)if(""!==o&&(a+=Vn.addLine(o),o="",n=0),Vn.canBreakWords(g,e.breakWords))for(var b=g.split(""),x=0;x<b.length;x++){for(var w=b[x],T=1;b[x+T];){var k=b[x+T],S=w[w.length-1];if(Vn.canBreakChars(S,k,g,x,e.breakWords))break;w+=k,T++}x+=w.length-1;var P=Vn.getFromCache(w,l,s,i);p<P+n&&(a+=Vn.addLine(o),f=!1,o="",n=0),o+=w,n+=P}else{0<o.length&&(a+=Vn.addLine(o),o="",n=0);var C=m===d.length-1;a+=Vn.addLine(g,!C),f=!1,o="",n=0}else p<y+n&&(f=!1,a+=Vn.addLine(o),o="",n=0),(0<o.length||!Vn.isBreakingSpace(g)||f)&&(o+=g,n+=y)}return a+=Vn.addLine(o,!1)},Vn.addLine=function(t,e){return void 0===e&&(e=!0),t=Vn.trimRight(t),t=e?t+"\n":t},Vn.getFromCache=function(t,e,r,i){var n=r[t];if(void 0===n){var o=t.length*e;n=i.measureText(t).width+o,r[t]=n}return n},Vn.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},Vn.collapseNewlines=function(t){return"normal"===t},Vn.trimRight=function(t){if("string"!=typeof t)return"";for(var e=t.length-1;0<=e;e--){var r=t[e];if(!Vn.isBreakingSpace(r))break;t=t.slice(0,-1)}return t},Vn.isNewline=function(t){return"string"==typeof t&&0<=Vn._newlines.indexOf(t.charCodeAt(0))},Vn.isBreakingSpace=function(t){return"string"==typeof t&&0<=Vn._breakingSpaces.indexOf(t.charCodeAt(0))},Vn.tokenize=function(t){var e=[],r="";if("string"!=typeof t)return e;for(var i=0;i<t.length;i++){var n=t[i];Vn.isBreakingSpace(n)||Vn.isNewline(n)?(""!==r&&(e.push(r),r=""),e.push(n)):r+=n}return""!==r&&e.push(r),e},Vn.canBreakWords=function(t,e){return e},Vn.canBreakChars=function(t,e,r,i,n){return!0},Vn.measureFont=function(t){if(Vn._fonts[t])return Vn._fonts[t];var e={},r=Vn._canvas,i=Vn._context;i.font=t;var n=Vn.METRICS_STRING+Vn.BASELINE_SYMBOL,o=Math.ceil(i.measureText(n).width),a=Math.ceil(i.measureText(Vn.BASELINE_SYMBOL).width),s=2*a;a=a*Vn.BASELINE_MULTIPLIER|0,r.width=o,r.height=s,i.fillStyle="#f00",i.fillRect(0,0,o,s),i.font=t,i.textBaseline="alphabetic",i.fillStyle="#000",i.fillText(n,0,a);var l=i.getImageData(0,0,o,s).data,u=l.length,h=4*o,c=0,f=0,p=!1;for(c=0;c<a;++c){for(var d=0;d<h;d+=4)if(255!==l[f+d]){p=!0;break}if(p)break;f+=h}for(e.ascent=a-c,f=u-h,p=!1,c=s;a<c;--c){for(var m=0;m<h;m+=4)if(255!==l[f+m]){p=!0;break}if(p)break;f-=h}return e.descent=c-a,e.fontSize=e.ascent+e.descent,Vn._fonts[t]=e},Vn.clearMetrics=function(t){void 0===t&&(t=""),t?delete Vn._fonts[t]:Vn._fonts={}};var Yn=function(){try{var t=new OffscreenCanvas(0,0);return t.getContext("2d")?t:document.createElement("canvas")}catch(t){return document.createElement("canvas")}}();Yn.width=Yn.height=10,Vn._canvas=Yn,Vn._context=Yn.getContext("2d"),Vn._fonts={},Vn.METRICS_STRING="|ÉqÅ",Vn.BASELINE_SYMBOL="M",Vn.BASELINE_MULTIPLIER=1.4,Vn._newlines=[10,13];var Zn={texture:!0,children:!(Vn._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]),baseTexture:!0},Jn=function(n){function t(t,e,r){(r=r||document.createElement("canvas")).width=3,r.height=3;var i=_r.from(r);i.orig=new Ce,i.trim=new Ce,n.call(this,i),this.canvas=r,this.context=this.canvas.getContext("2d"),this._resolution=P.RESOLUTION,this._autoResolution=!0,this._text=null,this._style=null,this._styleListener=null,this._font="",this.text=t,this.style=e,this.localStyleID=-1}n&&(t.__proto__=n);var e={width:{configurable:!0},height:{configurable:!0},style:{configurable:!0},text:{configurable:!0},resolution:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.updateText=function(t){var e=this._style;if(this.localStyleID!==e.styleID&&(this.dirty=!0,this.localStyleID=e.styleID),this.dirty||!t){this._font=this._style.toFontString();var r,i,n=this.context,o=Vn.measureText(this._text||" ",this._style,this._style.wordWrap,this.canvas),a=o.width,s=o.height,l=o.lines,u=o.lineHeight,h=o.lineWidths,c=o.maxLineWidth,f=o.fontProperties;this.canvas.width=Math.ceil((Math.max(1,a)+2*e.padding)*this._resolution),this.canvas.height=Math.ceil((Math.max(1,s)+2*e.padding)*this._resolution),n.scale(this._resolution,this._resolution),n.clearRect(0,0,this.canvas.width,this.canvas.height),n.font=this._font,n.lineWidth=e.strokeThickness,n.textBaseline=e.textBaseline,n.lineJoin=e.lineJoin,n.miterLimit=e.miterLimit;for(var p=e.dropShadow?2:1,d=0;d<p;++d){var m=e.dropShadow&&0===d,g=m?2*s:0,v=g*this.resolution;if(m){n.fillStyle="black",n.strokeStyle="black";var _=e.dropShadowColor,y=Dt("number"==typeof _?_:Rt(_));n.shadowColor="rgba("+255*y[0]+","+255*y[1]+","+255*y[2]+","+e.dropShadowAlpha+")",n.shadowBlur=e.dropShadowBlur,n.shadowOffsetX=Math.cos(e.dropShadowAngle)*e.dropShadowDistance,n.shadowOffsetY=Math.sin(e.dropShadowAngle)*e.dropShadowDistance+v}else n.fillStyle=this._generateFillStyle(e,l),n.strokeStyle=e.stroke,n.shadowColor=0,n.shadowBlur=0,n.shadowOffsetX=0,n.shadowOffsetY=0;for(var b=0;b<l.length;b++)r=e.strokeThickness/2,i=e.strokeThickness/2+b*u+f.ascent,"right"===e.align?r+=c-h[b]:"center"===e.align&&(r+=(c-h[b])/2),e.stroke&&e.strokeThickness&&this.drawLetterSpacing(l[b],r+e.padding,i+e.padding-g,!0),e.fill&&this.drawLetterSpacing(l[b],r+e.padding,i+e.padding-g)}this.updateTexture()}},t.prototype.drawLetterSpacing=function(t,e,r,i){void 0===i&&(i=!1);var n=this._style.letterSpacing;if(0!==n)for(var o=e,a=Array.from?Array.from(t):t.split(""),s=this.context.measureText(t).width,l=0,u=0;u<a.length;++u){var h=a[u];i?this.context.strokeText(h,o,r):this.context.fillText(h,o,r),o+=s-(l=this.context.measureText(t.substring(u+1)).width)+n,s=l}else i?this.context.strokeText(t,e,r):this.context.fillText(t,e,r)},t.prototype.updateTexture=function(){var t=this.canvas;if(this._style.trim){var e=Qt(t);e.data&&(t.width=e.width,t.height=e.height,this.context.putImageData(e.data,0,0))}var r=this._texture,i=this._style,n=i.trim?0:i.padding,o=r.baseTexture;r.trim.width=r._frame.width=Math.ceil(t.width/this._resolution),r.trim.height=r._frame.height=Math.ceil(t.height/this._resolution),r.trim.x=-n,r.trim.y=-n,r.orig.width=r._frame.width-2*n,r.orig.height=r._frame.height-2*n,this._onTextureUpdate(),o.setRealSize(t.width,t.height,this._resolution),this.dirty=!1},t.prototype._render=function(t){this._autoResolution&&this._resolution!==t.resolution&&(this._resolution=t.resolution,this.dirty=!0),this.updateText(!0),n.prototype._render.call(this,t)},t.prototype.getLocalBounds=function(t){return this.updateText(!0),n.prototype.getLocalBounds.call(this,t)},t.prototype._calculateBounds=function(){this.updateText(!0),this.calculateVertices(),this._bounds.addQuad(this.vertexData)},t.prototype._onStyleChange=function(){this.dirty=!0},t.prototype._generateFillStyle=function(t,e){if(!Array.isArray(t.fill))return t.fill;if(1===t.fill.length)return t.fill[0];var r,i,n,o,a=Math.ceil(this.canvas.width/this._resolution),s=Math.ceil(this.canvas.height/this._resolution),l=t.fill.slice(),u=t.fillGradientStops.slice();if(!u.length)for(var h=l.length+1,c=1;c<h;++c)u.push(c/h);if(l.unshift(t.fill[0]),u.unshift(0),l.push(t.fill[t.fill.length-1]),u.push(1),t.fillGradientType===Nn.LINEAR_VERTICAL){r=this.context.createLinearGradient(a/2,0,a/2,s),i=(l.length+1)*e.length;for(var f=n=0;f<e.length;f++){n+=1;for(var p=0;p<l.length;p++)o="number"==typeof u[p]?u[p]/e.length+f/e.length:n/i,r.addColorStop(o,l[p]),n++}}else{r=this.context.createLinearGradient(0,s/2,a,s/2),i=l.length+1,n=1;for(var d=0;d<l.length;d++)o="number"==typeof u[d]?u[d]:n/i,r.addColorStop(o,l[d]),n++}return r},t.prototype.destroy=function(t){"boolean"==typeof t&&(t={children:t}),t=Object.assign({},Zn,t),n.prototype.destroy.call(this,t),this.context=null,this.canvas=null,this._style=null},e.width.get=function(){return this.updateText(!0),Math.abs(this.scale.x)*this._texture.orig.width},e.width.set=function(t){this.updateText(!0);var e=Wt(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},e.height.get=function(){return this.updateText(!0),Math.abs(this.scale.y)*this._texture.orig.height},e.height.set=function(t){this.updateText(!0);var e=Wt(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},e.style.get=function(){return this._style},e.style.set=function(t){t=t||{},this._style=t instanceof Xn?t:new Xn(t),this.localStyleID=-1,this.dirty=!0},e.text.get=function(){return this._text},e.text.set=function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},e.resolution.get=function(){return this._resolution},e.resolution.set=function(t){this._autoResolution=!1,this._resolution!==t&&(this._resolution=t,this.dirty=!0)},Object.defineProperties(t.prototype,e),t}(Ln);P.UPLOADS_PER_FRAME=4;var Kn=function(t){this.maxItemsPerFrame=t,this.itemsLeft=0};Kn.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},Kn.prototype.allowedToUpload=function(){return 0<this.itemsLeft--};var Qn=function(t){var e=this;this.limiter=new Kn(P.UPLOADS_PER_FRAME),this.renderer=t,this.uploadHookHelper=null,this.queue=[],this.addHooks=[],this.uploadHooks=[],this.completes=[],this.ticking=!1,this.delayedTick=function(){e.queue&&e.prepareItems()},this.registerFindHook(no),this.registerFindHook(oo),this.registerFindHook($n),this.registerFindHook(to),this.registerFindHook(eo),this.registerUploadHook(ro),this.registerUploadHook(io)};function $n(t,e){var r=!1;if(t&&t._textures&&t._textures.length)for(var i=0;i<t._textures.length;i++)if(t._textures[i]instanceof _r){var n=t._textures[i].baseTexture;-1===e.indexOf(n)&&(e.push(n),r=!0)}return r}function to(t,e){return t instanceof ir&&(-1===e.indexOf(t)&&e.push(t),!0)}function eo(t,e){if(t._texture&&t._texture instanceof _r){var r=t._texture.baseTexture;return-1===e.indexOf(r)&&e.push(r),!0}return!1}function ro(t,e){return e instanceof Jn&&(e.updateText(!0),!0)}function io(t,e){if(e instanceof Xn){var r=e.toFontString();return Vn.measureFont(r),!0}return!1}function no(t,e){if(t instanceof Jn){-1===e.indexOf(t.style)&&e.push(t.style),-1===e.indexOf(t)&&e.push(t);var r=t._texture.baseTexture;return-1===e.indexOf(r)&&e.push(r),!0}return!1}function oo(t,e){return t instanceof Xn&&(-1===e.indexOf(t)&&e.push(t),!0)}Qn.prototype.upload=function(t,e){"function"==typeof t&&(e=t,t=null),t&&this.add(t),this.queue.length?(e&&this.completes.push(e),this.ticking||(this.ticking=!0,We.system.addOnce(this.tick,this,He.UTILITY))):e&&e()},Qn.prototype.tick=function(){setTimeout(this.delayedTick,0)},Qn.prototype.prepareItems=function(){for(this.limiter.beginFrame();this.queue.length&&this.limiter.allowedToUpload();){var t=this.queue[0],e=!1;if(t&&!t._destroyed)for(var r=0,i=this.uploadHooks.length;r<i;r++)if(this.uploadHooks[r](this.uploadHookHelper,t)){this.queue.shift(),e=!0;break}e||this.queue.shift()}if(this.queue.length)We.system.addOnce(this.tick,this,He.UTILITY);else{this.ticking=!1;for(var n=this.completes.slice(0),o=this.completes.length=0,a=n.length;o<a;o++)n[o]()}},Qn.prototype.registerFindHook=function(t){return t&&this.addHooks.push(t),this},Qn.prototype.registerUploadHook=function(t){return t&&this.uploadHooks.push(t),this},Qn.prototype.add=function(t){for(var e=0,r=this.addHooks.length;e<r&&!this.addHooks[e](t,this.queue);e++);if(t instanceof je)for(var i=t.children.length-1;0<=i;i--)this.add(t.children[i]);return this},Qn.prototype.destroy=function(){this.ticking&&We.system.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null};var ao=function(e){function t(t){e.call(this,t),this.uploadHookHelper=this.renderer,this.registerFindHook(uo),this.registerUploadHook(so),this.registerUploadHook(lo)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Qn);function so(t,e){return e instanceof ir&&(e._glTextures[t.CONTEXT_UID]||t.texture.bind(e),!0)}function lo(t,e){return e instanceof Rn&&((e.dirty||e.clearDirty||!e._webGL[t.plugins.graphics.CONTEXT_UID])&&t.plugins.graphics.updateGraphics(e),!0)}function uo(t,e){return t instanceof Rn&&(e.push(t),!0)}var ho=function(t){this.maxMilliseconds=t,this.frameStart=0};ho.prototype.beginFrame=function(){this.frameStart=Date.now()},ho.prototype.allowedToUpload=function(){return Date.now()-this.frameStart<this.maxMilliseconds};var co={BasePrepare:Qn,CountLimiter:Kn,Prepare:ao,TimeLimiter:ho},fo=function t(e){var r=this;e=Object.assign({forceCanvas:!1},e),this.renderer=Ni(e),this.stage=new je,t._plugins.forEach(function(t){t.init.call(r,e)})},po={view:{configurable:!0},screen:{configurable:!0}};fo.registerPlugin=function(t){fo._plugins.push(t)},fo.prototype.render=function(){this.renderer.render(this.stage)},po.view.get=function(){return this.renderer.view},po.screen.get=function(){return this.renderer.screen},fo.prototype.destroy=function(t,e){var r=this,i=fo._plugins.slice(0);i.reverse(),i.forEach(function(t){t.destroy.call(r)}),this.stage.destroy(e),this.stage=null,this.renderer.destroy(t),this.renderer=null,this._options=null},Object.defineProperties(fo.prototype,po),fo._plugins=[];var mo=function(){};mo.init=function(t){var e=this;Object.defineProperty(this,"resizeTo",{set:function(t){window.removeEventListener("resize",this.resize),(this._resizeTo=t)&&(window.addEventListener("resize",this.resize),this.resize())},get:function(){return this._resizeTo}}),this.resize=function(){e._resizeTo&&(e._resizeTo===window?e.renderer.resize(window.innerWidth,window.innerHeight):e.renderer.resize(e._resizeTo.clientWidth,e._resizeTo.clientHeight))},this._resizeTo=null,this.resizeTo=t.resizeTo||null},mo.destroy=function(){this.resizeTo=null,this.resize=null},fo.registerPlugin(mo);var go,vo=function(t,e){e=e||{};for(var i={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},r=i.parser[e.strictMode?"strict":"loose"].exec(t),n={},o=14;o--;)n[i.key[o]]=r[o]||"";return n[i.q.name]={},n[i.key[12]].replace(i.q.parser,function(t,e,r){e&&(n[i.q.name][e]=r)}),n},_o=e(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function i(t,e,r){void 0===e&&(e=!1),n(this,i),this._fn=t,this._once=e,this._thisArg=r,this._next=this._prev=this._owner=null}return r(i,[{key:"detach",value:function(){return null!==this._owner&&(this._owner.detach(this),!0)}}]),i}();function o(t,e){return t._head?(t._tail._next=e)._prev=t._tail:t._head=e,(t._tail=e)._owner=t,e}var a=function(){function t(){n(this,t),this._head=this._tail=void 0}return r(t,[{key:"handlers",value:function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0],e=this._head;if(t)return!!e;for(var r=[];e;)r.push(e),e=e._next;return r}},{key:"has",value:function(t){if(!(t instanceof i))throw new Error("MiniSignal#has(): First arg must be a MiniSignalBinding object.");return t._owner===this}},{key:"dispatch",value:function(){var t=arguments,e=this._head;if(!e)return!1;for(;e;)e._once&&this.detach(e),e._fn.apply(e._thisArg,t),e=e._next;return!0}},{key:"add",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#add(): First arg must be a Function.");return o(this,new i(t,!1,e))}},{key:"once",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if("function"!=typeof t)throw new Error("MiniSignal#once(): First arg must be a Function.");return o(this,new i(t,!0,e))}},{key:"detach",value:function(t){if(!(t instanceof i))throw new Error("MiniSignal#detach(): First arg must be a MiniSignalBinding object.");return t._owner!==this||(t._prev&&(t._prev._next=t._next),t._next&&(t._next._prev=t._prev),t===this._head?(this._head=t._next,null===t._next&&(this._tail=null)):t===this._tail&&(this._tail=t._prev,this._tail._next=null),t._owner=null),this}},{key:"detachAll",value:function(){var t=this._head;if(!t)return this;for(this._head=this._tail=null;t;)t._owner=null,t=t._next;return this}}]),t}();a.MiniSignalBinding=i,e.default=a,t.exports=e.default}),yo=(go=_o)&&go.__esModule&&Object.prototype.hasOwnProperty.call(go,"default")?go.default:go;function bo(){}function xo(r,i,n,o){var a=0,s=r.length;!function t(e){e||a===s?n&&n(e):o?setTimeout(function(){i(r[a++],t)},1):i(r[a++],t)}()}function wo(e){return function(){if(null===e)throw new Error("Callback was already called.");var t=e;e=null,t.apply(this,arguments)}}function To(e,t){if(null==t)t=1;else if(0===t)throw new Error("Concurrency must not be zero");var r=0,n={_tasks:[],concurrency:t,saturated:bo,unsaturated:bo,buffer:t/4,empty:bo,drain:bo,error:bo,started:!1,paused:!1,push:function(t,e){i(t,!1,e)},kill:function(){r=0,n.drain=bo,n.started=!1,n._tasks=[]},unshift:function(t,e){i(t,!0,e)},process:function(){for(;!n.paused&&r<n.concurrency&&n._tasks.length;){var t=n._tasks.shift();0===n._tasks.length&&n.empty(),(r+=1)===n.concurrency&&n.saturated(),e(t.data,wo(o(t)))}},length:function(){return n._tasks.length},running:function(){return r},idle:function(){return n._tasks.length+r===0},pause:function(){!0!==n.paused&&(n.paused=!0)},resume:function(){if(!1!==n.paused){n.paused=!1;for(var t=1;t<=n.concurrency;t++)n.process()}}};function i(t,e,r){if(null!=r&&"function"!=typeof r)throw new Error("task callback must be a function");if(n.started=!0,null==t&&n.idle())setTimeout(function(){return n.drain()},1);else{var i={data:t,callback:"function"==typeof r?r:bo};e?n._tasks.unshift(i):n._tasks.push(i),setTimeout(function(){return n.process()},1)}}function o(t){return function(){r-=1,t.callback.apply(t,arguments),null!=arguments[0]&&n.error(arguments[0],t.data),r<=n.concurrency-n.buffer&&n.unsaturated(),n.idle()&&n.drain(),n.process()}}return n}var ko={};function So(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Po(t,e,r){return e&&So(t.prototype,e),r&&So(t,r),t}var Co=!(!window.XDomainRequest||"withCredentials"in new XMLHttpRequest),Ao=null;function Eo(){}var Io=function(){function o(t,e,r){if("string"!=typeof t||"string"!=typeof e)throw new Error("Both name and url are required for constructing a resource.");r=r||{},this._flags=0,this._setFlag(o.STATUS_FLAGS.DATA_URL,0===e.indexOf("data:")),this.name=t,this.url=e,this.extension=this._getExtension(),this.data=null,this.crossOrigin=!0===r.crossOrigin?"anonymous":r.crossOrigin,this.timeout=r.timeout||0,this.loadType=r.loadType||this._determineLoadType(),this.xhrType=r.xhrType,this.metadata=r.metadata||{},this.error=null,this.xhr=null,this.children=[],this.type=o.TYPE.UNKNOWN,this.progressChunk=0,this._dequeue=Eo,this._onLoadBinding=null,this._elementTimer=0,this._boundComplete=this.complete.bind(this),this._boundOnError=this._onError.bind(this),this._boundOnProgress=this._onProgress.bind(this),this._boundOnTimeout=this._onTimeout.bind(this),this._boundXhrOnError=this._xhrOnError.bind(this),this._boundXhrOnTimeout=this._xhrOnTimeout.bind(this),this._boundXhrOnAbort=this._xhrOnAbort.bind(this),this._boundXhrOnLoad=this._xhrOnLoad.bind(this),this.onStart=new yo,this.onProgress=new yo,this.onComplete=new yo,this.onAfterMiddleware=new yo}o.setExtensionLoadType=function(t,e){Oo(o._loadTypeMap,t,e)},o.setExtensionXhrType=function(t,e){Oo(o._xhrTypeMap,t,e)};var t=o.prototype;return t.complete=function(){this._clearEvents(),this._finish()},t.abort=function(t){if(!this.error){if(this.error=new Error(t),this._clearEvents(),this.xhr)this.xhr.abort();else if(this.xdr)this.xdr.abort();else if(this.data)if(this.data.src)this.data.src=o.EMPTY_GIF;else for(;this.data.firstChild;)this.data.removeChild(this.data.firstChild);this._finish()}},t.load=function(t){var e=this;if(!this.isLoading)if(this.isComplete)t&&setTimeout(function(){return t(e)},1);else switch(t&&this.onComplete.once(t),this._setFlag(o.STATUS_FLAGS.LOADING,!0),this.onStart.dispatch(this),!1!==this.crossOrigin&&"string"==typeof this.crossOrigin||(this.crossOrigin=this._determineCrossOrigin(this.url)),this.loadType){case o.LOAD_TYPE.IMAGE:this.type=o.TYPE.IMAGE,this._loadElement("image");break;case o.LOAD_TYPE.AUDIO:this.type=o.TYPE.AUDIO,this._loadSourceElement("audio");break;case o.LOAD_TYPE.VIDEO:this.type=o.TYPE.VIDEO,this._loadSourceElement("video");break;case o.LOAD_TYPE.XHR:default:Co&&this.crossOrigin?this._loadXdr():this._loadXhr()}},t._hasFlag=function(t){return 0!=(this._flags&t)},t._setFlag=function(t,e){this._flags=e?this._flags|t:this._flags&~t},t._clearEvents=function(){clearTimeout(this._elementTimer),this.data&&this.data.removeEventListener&&(this.data.removeEventListener("error",this._boundOnError,!1),this.data.removeEventListener("load",this._boundComplete,!1),this.data.removeEventListener("progress",this._boundOnProgress,!1),this.data.removeEventListener("canplaythrough",this._boundComplete,!1)),this.xhr&&(this.xhr.removeEventListener?(this.xhr.removeEventListener("error",this._boundXhrOnError,!1),this.xhr.removeEventListener("timeout",this._boundXhrOnTimeout,!1),this.xhr.removeEventListener("abort",this._boundXhrOnAbort,!1),this.xhr.removeEventListener("progress",this._boundOnProgress,!1),this.xhr.removeEventListener("load",this._boundXhrOnLoad,!1)):(this.xhr.onerror=null,this.xhr.ontimeout=null,this.xhr.onprogress=null,this.xhr.onload=null))},t._finish=function(){if(this.isComplete)throw new Error("Complete called again for an already completed resource.");this._setFlag(o.STATUS_FLAGS.COMPLETE,!0),this._setFlag(o.STATUS_FLAGS.LOADING,!1),this.onComplete.dispatch(this)},t._loadElement=function(t){this.metadata.loadElement?this.data=this.metadata.loadElement:"image"===t&&void 0!==window.Image?this.data=new Image:this.data=document.createElement(t),this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),this.metadata.skipSource||(this.data.src=this.url),this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))},t._loadSourceElement=function(t){if(this.metadata.loadElement?this.data=this.metadata.loadElement:"audio"===t&&void 0!==window.Audio?this.data=new Audio:this.data=document.createElement(t),null!==this.data){if(this.crossOrigin&&(this.data.crossOrigin=this.crossOrigin),!this.metadata.skipSource)if(navigator.isCocoonJS)this.data.src=Array.isArray(this.url)?this.url[0]:this.url;else if(Array.isArray(this.url))for(var e=this.metadata.mimeType,r=0;r<this.url.length;++r)this.data.appendChild(this._createSource(t,this.url[r],Array.isArray(e)?e[r]:e));else{var i=this.metadata.mimeType;this.data.appendChild(this._createSource(t,this.url,Array.isArray(i)?i[0]:i))}this.data.addEventListener("error",this._boundOnError,!1),this.data.addEventListener("load",this._boundComplete,!1),this.data.addEventListener("progress",this._boundOnProgress,!1),this.data.addEventListener("canplaythrough",this._boundComplete,!1),this.data.load(),this.timeout&&(this._elementTimer=setTimeout(this._boundOnTimeout,this.timeout))}else this.abort("Unsupported element: "+t)},t._loadXhr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new XMLHttpRequest;t.open("GET",this.url,!0),t.timeout=this.timeout,this.xhrType===o.XHR_RESPONSE_TYPE.JSON||this.xhrType===o.XHR_RESPONSE_TYPE.DOCUMENT?t.responseType=o.XHR_RESPONSE_TYPE.TEXT:t.responseType=this.xhrType,t.addEventListener("error",this._boundXhrOnError,!1),t.addEventListener("timeout",this._boundXhrOnTimeout,!1),t.addEventListener("abort",this._boundXhrOnAbort,!1),t.addEventListener("progress",this._boundOnProgress,!1),t.addEventListener("load",this._boundXhrOnLoad,!1),t.send()},t._loadXdr=function(){"string"!=typeof this.xhrType&&(this.xhrType=this._determineXhrType());var t=this.xhr=new XDomainRequest;t.timeout=this.timeout||5e3,t.onerror=this._boundXhrOnError,t.ontimeout=this._boundXhrOnTimeout,t.onprogress=this._boundOnProgress,t.onload=this._boundXhrOnLoad,t.open("GET",this.url,!0),setTimeout(function(){return t.send()},1)},t._createSource=function(t,e,r){r||(r=t+"/"+this._getExtension(e));var i=document.createElement("source");return i.src=e,i.type=r,i},t._onError=function(t){this.abort("Failed to load element using: "+t.target.nodeName)},t._onProgress=function(t){t&&t.lengthComputable&&this.onProgress.dispatch(this,t.loaded/t.total)},t._onTimeout=function(){this.abort("Load timed out.")},t._xhrOnError=function(){var t=this.xhr;this.abort(Mo(t)+" Request failed. Status: "+t.status+', text: "'+t.statusText+'"')},t._xhrOnTimeout=function(){var t=this.xhr;this.abort(Mo(t)+" Request timed out.")},t._xhrOnAbort=function(){var t=this.xhr;this.abort(Mo(t)+" Request was aborted by the user.")},t._xhrOnLoad=function(){var t=this.xhr,e="",r=void 0===t.status?200:t.status;if(""!==t.responseType&&"text"!==t.responseType&&void 0!==t.responseType||(e=t.responseText),0===r&&(0<e.length||t.responseType===o.XHR_RESPONSE_TYPE.BUFFER)?r=200:1223===r&&(r=204),2==(r/100|0)){if(this.xhrType===o.XHR_RESPONSE_TYPE.TEXT)this.data=e,this.type=o.TYPE.TEXT;else if(this.xhrType===o.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(e),this.type=o.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===o.XHR_RESPONSE_TYPE.DOCUMENT)try{if(window.DOMParser){var i=new DOMParser;this.data=i.parseFromString(e,"text/xml")}else{var n=document.createElement("div");n.innerHTML=e,this.data=n}this.type=o.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=t.response||e;this.complete()}else this.abort("["+t.status+"] "+t.statusText+": "+t.responseURL)},t._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(window.origin!==window.location.origin)return"anonymous";e=e||window.location,Ao||(Ao=document.createElement("a")),Ao.href=t;var r=!(t=vo(Ao.href,{strictMode:!0})).port&&""===e.port||t.port===e.port,i=t.protocol?t.protocol+":":"";return t.host===e.hostname&&r&&i===e.protocol?"":"anonymous"},t._determineXhrType=function(){return o._xhrTypeMap[this.extension]||o.XHR_RESPONSE_TYPE.TEXT},t._determineLoadType=function(){return o._loadTypeMap[this.extension]||o.LOAD_TYPE.XHR},t._getExtension=function(){var t=this.url,e="";if(this.isDataUrl){var r=t.indexOf("/");e=t.substring(r+1,t.indexOf(";",r))}else{var i=t.indexOf("?"),n=t.indexOf("#"),o=Math.min(-1<i?i:t.length,-1<n?n:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t._getMimeFromXhrType=function(t){switch(t){case o.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case o.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case o.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case o.XHR_RESPONSE_TYPE.JSON:return"application/json";case o.XHR_RESPONSE_TYPE.DEFAULT:case o.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},Po(o,[{key:"isDataUrl",get:function(){return this._hasFlag(o.STATUS_FLAGS.DATA_URL)}},{key:"isComplete",get:function(){return this._hasFlag(o.STATUS_FLAGS.COMPLETE)}},{key:"isLoading",get:function(){return this._hasFlag(o.STATUS_FLAGS.LOADING)}}]),o}();function Oo(t,e,r){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=r)}function Mo(t){return t.toString().replace("object ","")}Io.STATUS_FLAGS={NONE:0,DATA_URL:1,COMPLETE:2,LOADING:4},Io.TYPE={UNKNOWN:0,JSON:1,XML:2,IMAGE:3,AUDIO:4,VIDEO:5,TEXT:6},Io.LOAD_TYPE={XHR:1,IMAGE:2,AUDIO:3,VIDEO:4},Io.XHR_RESPONSE_TYPE={DEFAULT:"text",BUFFER:"arraybuffer",BLOB:"blob",DOCUMENT:"document",JSON:"json",TEXT:"text"},Io._loadTypeMap={gif:Io.LOAD_TYPE.IMAGE,png:Io.LOAD_TYPE.IMAGE,bmp:Io.LOAD_TYPE.IMAGE,jpg:Io.LOAD_TYPE.IMAGE,jpeg:Io.LOAD_TYPE.IMAGE,tif:Io.LOAD_TYPE.IMAGE,tiff:Io.LOAD_TYPE.IMAGE,webp:Io.LOAD_TYPE.IMAGE,tga:Io.LOAD_TYPE.IMAGE,svg:Io.LOAD_TYPE.IMAGE,"svg+xml":Io.LOAD_TYPE.IMAGE,mp3:Io.LOAD_TYPE.AUDIO,ogg:Io.LOAD_TYPE.AUDIO,wav:Io.LOAD_TYPE.AUDIO,mp4:Io.LOAD_TYPE.VIDEO,webm:Io.LOAD_TYPE.VIDEO},Io._xhrTypeMap={xhtml:Io.XHR_RESPONSE_TYPE.DOCUMENT,html:Io.XHR_RESPONSE_TYPE.DOCUMENT,htm:Io.XHR_RESPONSE_TYPE.DOCUMENT,xml:Io.XHR_RESPONSE_TYPE.DOCUMENT,tmx:Io.XHR_RESPONSE_TYPE.DOCUMENT,svg:Io.XHR_RESPONSE_TYPE.DOCUMENT,tsx:Io.XHR_RESPONSE_TYPE.DOCUMENT,gif:Io.XHR_RESPONSE_TYPE.BLOB,png:Io.XHR_RESPONSE_TYPE.BLOB,bmp:Io.XHR_RESPONSE_TYPE.BLOB,jpg:Io.XHR_RESPONSE_TYPE.BLOB,jpeg:Io.XHR_RESPONSE_TYPE.BLOB,tif:Io.XHR_RESPONSE_TYPE.BLOB,tiff:Io.XHR_RESPONSE_TYPE.BLOB,webp:Io.XHR_RESPONSE_TYPE.BLOB,tga:Io.XHR_RESPONSE_TYPE.BLOB,json:Io.XHR_RESPONSE_TYPE.JSON,text:Io.XHR_RESPONSE_TYPE.TEXT,txt:Io.XHR_RESPONSE_TYPE.TEXT,ttf:Io.XHR_RESPONSE_TYPE.BUFFER,otf:Io.XHR_RESPONSE_TYPE.BUFFER},Io.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";var Do="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var zo=window.URL||window.webkitURL;var Ro={caching:function(t,e){var r=this;ko[t.url]?(t.data=ko[t.url],t.complete()):t.onComplete.once(function(){return ko[r.url]=r.data}),e()},parsing:function(t,e){if(t.data){if(t.xhr&&t.xhrType===Io.XHR_RESPONSE_TYPE.BLOB)if(window.Blob&&"string"!=typeof t.data){if(0===t.data.type.indexOf("image")){var r=zo.createObjectURL(t.data);return t.blob=t.data,t.data=new Image,t.data.src=r,t.type=Io.TYPE.IMAGE,void(t.data.onload=function(){zo.revokeObjectURL(r),t.data.onload=null,e()})}}else{var i=t.xhr.getResponseHeader("content-type");if(i&&0===i.indexOf("image"))return t.data=new Image,t.data.src="data:"+i+";base64,"+function(t){for(var e="",r=0;r<t.length;){for(var i=[0,0,0],n=[0,0,0,0],o=0;o<i.length;++o)r<t.length?i[o]=255&t.charCodeAt(r++):i[o]=0;switch(n[0]=i[0]>>2,n[1]=(3&i[0])<<4|i[1]>>4,n[2]=(15&i[1])<<2|i[2]>>6,n[3]=63&i[2],r-(t.length-1)){case 2:n[3]=64,n[2]=64;break;case 1:n[3]=64}for(var a=0;a<n.length;++a)e+=Do.charAt(n[a])}return e}(t.xhr.responseText),t.type=Io.TYPE.IMAGE,void(t.data.onload=function(){t.data.onload=null,e()})}e()}else e()}},Fo=/(#[\w-]+)?$/,jo=function(){function o(t,e){var r=this;void 0===t&&(t=""),void 0===e&&(e=10),this.baseUrl=t,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,e){return r._loadResource(t,e)},this._queue=To(this._boundLoadResource,e),this._queue.pause(),this.resources={},this.onProgress=new yo,this.onError=new yo,this.onLoad=new yo,this.onStart=new yo,this.onComplete=new yo;for(var i=0;i<o._defaultBeforeMiddleware.length;++i)this.pre(o._defaultBeforeMiddleware[i]);for(var n=0;n<o._defaultAfterMiddleware.length;++n)this.use(o._defaultAfterMiddleware[n])}var t=o.prototype;return t.add=function(t,e,r,i){if(Array.isArray(t)){for(var n=0;n<t.length;++n)this.add(t[n]);return this}if("object"==typeof t&&(i=e||t.callback||t.onComplete,e=(r=t).url,t=t.name||t.key||t.url),"string"!=typeof e&&(i=r,r=e,e=t),"string"!=typeof e)throw new Error("No url passed to add resource to loader.");if("function"==typeof r&&(i=r,r=null),this.loading&&(!r||!r.parentResource))throw new Error("Cannot add resources while the loader is running.");if(this.resources[t])throw new Error('Resource named "'+t+'" already exists.');if(e=this._prepareUrl(e),this.resources[t]=new Io(t,e,r),"function"==typeof i&&this.resources[t].onAfterMiddleware.once(i),this.loading){for(var o=r.parentResource,a=[],s=0;s<o.children.length;++s)o.children[s].isComplete||a.push(o.children[s]);var l=o.progressChunk*(a.length+1)/(a.length+2);o.children.push(this.resources[t]),o.progressChunk=l;for(var u=0;u<a.length;++u)a[u].progressChunk=l;this.resources[t].progressChunk=l}return this._queue.push(this.resources[t]),this},t.pre=function(t){return this._beforeMiddleware.push(t),this},t.use=function(t){return this._afterMiddleware.push(t),this},t.reset=function(){for(var t in this.progress=0,this.loading=!1,this._queue.kill(),this._queue.pause(),this.resources){var e=this.resources[t];e._onLoadBinding&&e._onLoadBinding.detach(),e.isLoading&&e.abort()}return this.resources={},this},t.load=function(t){if("function"==typeof t&&this.onComplete.once(t),this.loading)return this;if(this._queue.idle())this._onStart(),this._onComplete();else{for(var e=100/this._queue._tasks.length,r=0;r<this._queue._tasks.length;++r)this._queue._tasks[r].data.progressChunk=e;this._onStart(),this._queue.resume()}return this},t._prepareUrl=function(t){var e,r=vo(t,{strictMode:!0});if(e=r.protocol||!r.path||0===t.indexOf("//")?t:this.baseUrl.length&&this.baseUrl.lastIndexOf("/")!==this.baseUrl.length-1&&"/"!==t.charAt(0)?this.baseUrl+"/"+t:this.baseUrl+t,this.defaultQueryString){var i=Fo.exec(e)[0];-1!==(e=e.substr(0,e.length-i.length)).indexOf("?")?e+="&"+this.defaultQueryString:e+="?"+this.defaultQueryString,e+=i}return e},t._loadResource=function(r,t){var i=this;r._dequeue=t,xo(this._beforeMiddleware,function(t,e){t.call(i,r,function(){e(r.isComplete?{}:null)})},function(){r.isComplete?i._onLoad(r):(r._onLoadBinding=r.onComplete.once(i._onLoad,i),r.load())},!0)},t._onStart=function(){this.progress=0,this.loading=!0,this.onStart.dispatch(this)},t._onComplete=function(){this.progress=100,this.loading=!1,this.onComplete.dispatch(this,this.resources)},t._onLoad=function(r){var i=this;r._onLoadBinding=null,this._resourcesParsing.push(r),r._dequeue(),xo(this._afterMiddleware,function(t,e){t.call(i,r,e)},function(){r.onAfterMiddleware.dispatch(r),i.progress=Math.min(100,i.progress+r.progressChunk),i.onProgress.dispatch(i,r),r.error?i.onError.dispatch(r.error,i,r):i.onLoad.dispatch(i,r),i._resourcesParsing.splice(i._resourcesParsing.indexOf(r),1),i._queue.idle()&&0===i._resourcesParsing.length&&i._onComplete()},!0)},Po(o,[{key:"concurrency",get:function(){return this._queue.concurrency},set:function(t){this._queue.concurrency=t}}]),o}();jo._defaultBeforeMiddleware=[],jo._defaultAfterMiddleware=[],jo.pre=function(t){return jo._defaultBeforeMiddleware.push(t),jo},jo.use=function(t){return jo._defaultAfterMiddleware.push(t),jo};var Lo=function(){};Lo.use=function(t,e){t.data&&t.type===Io.TYPE.IMAGE&&(t.texture=_r.fromLoader(t.data,t.url,t.name)),e()};var No=function(s){function l(t,e){var i=this;s.call(this,t,e),m.call(this);for(var r=0;r<l._plugins.length;++r){var n=l._plugins[r],o=n.pre,a=n.use;o&&this.pre(o),a&&this.use(a)}this.onStart.add(function(t){return i.emit("start",t)}),this.onProgress.add(function(t,e){return i.emit("progress",t,e)}),this.onError.add(function(t,e,r){return i.emit("error",t,e,r)}),this.onLoad.add(function(t,e){return i.emit("load",t,e)}),this.onComplete.add(function(t,e){return i.emit("complete",t,e)}),this._protected=!1}s&&(l.__proto__=s);var t={shared:{configurable:!0}};return((l.prototype=Object.create(s&&s.prototype)).constructor=l).prototype.destroy=function(){this._protected||(this.removeAllListeners(),this.reset())},t.shared.get=function(){var t=l._shared;return t||((t=new l)._protected=!0,l._shared=t),t},Object.defineProperties(l,t),l}(jo);Object.assign(No.prototype,m.prototype),No._plugins=[],No.registerPlugin=function(t){return No._plugins.push(t),t.add&&t.add(),No},No.registerPlugin({use:Ro.parsing}),No.registerPlugin(Lo);var Bo=function(){};Bo.init=function(t){t=Object.assign({sharedLoader:!1},t),this.loader=t.sharedLoader?No.shared:new No},Bo.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)};var Uo=Io,Xo=function(n){function t(t,e,r,i){void 0===t&&(t=1500),void 0===r&&(r=16384),void 0===i&&(i=!1),n.call(this);16384<r&&(r=16384),this._properties=[!1,!0,!1,!1,!1],this._maxSize=t,this._batchSize=r,this._buffers=null,this._bufferUpdateIDs=[],this._updateID=0,this.interactiveChildren=!1,this.blendMode=_t.NORMAL,this.autoResize=i,this.roundPixels=!0,this.baseTexture=null,this.setProperties(e),this._tint=0,this.tintRgb=new Float32Array(4),this.tint=16777215}n&&(t.__proto__=n);var e={tint:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},t.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},e.tint.get=function(){return this._tint},e.tint.set=function(t){Dt(this._tint=t,this.tintRgb)},t.prototype.render=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.valid||this.baseTexture.once("update",function(){return e.onChildrenChange(0)})),t.batch.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},t.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.length<e;)this._bufferUpdateIDs.push(0);this._bufferUpdateIDs[e]=++this._updateID},t.prototype.dispose=function(){if(this._buffers){for(var t=0;t<this._buffers.length;++t)this._buffers[t].destroy();this._buffers=null}},t.prototype.destroy=function(t){n.prototype.destroy.call(this,t),this.dispose(),this._properties=null,this._buffers=null,this._bufferUpdateIDs=null},Object.defineProperties(t.prototype,e),t}(je),Ho=function(t,e,r){this.geometry=new Ir,this.indexBuffer=null,this.size=r,this.dynamicProperties=[],this.staticProperties=[];for(var i=0;i<t.length;++i){var n=t[i];n={attributeName:n.attributeName,size:n.size,uploadFunction:n.uploadFunction,type:n.type||wt.FLOAT,offset:n.offset},e[i]?this.dynamicProperties.push(n):this.staticProperties.push(n)}this.staticStride=0,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.dynamicStride=0,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this._updateID=0,this.initBuffers()};Ho.prototype.initBuffers=function(){var t=this.geometry,e=0;this.indexBuffer=new kr(Ut(this.size),!0,!0),t.addIndex(this.indexBuffer);for(var r=this.dynamicStride=0;r<this.dynamicProperties.length;++r){var i=this.dynamicProperties[r];i.offset=e,e+=i.size,this.dynamicStride+=i.size}var n=new ArrayBuffer(this.size*this.dynamicStride*4*4);this.dynamicData=new Float32Array(n),this.dynamicDataUint32=new Uint32Array(n),this.dynamicBuffer=new kr(this.dynamicData,!1,!1);for(var o=0,a=this.staticStride=0;a<this.staticProperties.length;++a){var s=this.staticProperties[a];s.offset=o,o+=s.size,this.staticStride+=s.size}var l=new ArrayBuffer(this.size*this.staticStride*4*4);this.staticData=new Float32Array(l),this.staticDataUint32=new Uint32Array(l),this.staticBuffer=new kr(this.staticData,!0,!1);for(var u=0;u<this.dynamicProperties.length;++u){var h=this.dynamicProperties[u];t.addAttribute(h.attributeName,this.dynamicBuffer,0,h.type===wt.UNSIGNED_BYTE,h.type,4*this.dynamicStride,4*h.offset)}for(var c=0;c<this.staticProperties.length;++c){var f=this.staticProperties[c];t.addAttribute(f.attributeName,this.staticBuffer,0,f.type===wt.UNSIGNED_BYTE,f.type,4*this.staticStride,4*f.offset)}},Ho.prototype.uploadDynamic=function(t,e,r){for(var i=0;i<this.dynamicProperties.length;i++){var n=this.dynamicProperties[i];n.uploadFunction(t,e,r,n.type===wt.UNSIGNED_BYTE?this.dynamicDataUint32:this.dynamicData,this.dynamicStride,n.offset)}this.dynamicBuffer._updateID++},Ho.prototype.uploadStatic=function(t,e,r){for(var i=0;i<this.staticProperties.length;i++){var n=this.staticProperties[i];n.uploadFunction(t,e,r,n.type===wt.UNSIGNED_BYTE?this.staticDataUint32:this.staticData,this.staticStride,n.offset)}this.staticBuffer._updateID++},Ho.prototype.destroy=function(){this.indexBuffer=null,this.dynamicProperties=null,this.dynamicBuffer=null,this.dynamicData=null,this.dynamicDataUint32=null,this.staticProperties=null,this.staticBuffer=null,this.staticData=null,this.staticDataUint32=null,this.geometry.destroy()};var qo=function(e){function t(t){e.call(this,t),this.shader=null,this.properties=null,this.tempMatrix=new me,this.properties=[{attributeName:"aVertexPosition",size:2,uploadFunction:this.uploadVertices,offset:0},{attributeName:"aPositionCoord",size:2,uploadFunction:this.uploadPosition,offset:0},{attributeName:"aRotation",size:1,uploadFunction:this.uploadRotation,offset:0},{attributeName:"aTextureCoord",size:2,uploadFunction:this.uploadUvs,offset:0},{attributeName:"aColor",size:1,type:wt.UNSIGNED_BYTE,uploadFunction:this.uploadTint,offset:0}],this.shader=di.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\n\nattribute vec2 aPositionCoord;\nattribute float aRotation;\n\nuniform mat3 translationMatrix;\nuniform vec4 uColor;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nvoid main(void){\n float x = (aVertexPosition.x) * cos(aRotation) - (aVertexPosition.y) * sin(aRotation);\n float y = (aVertexPosition.x) * sin(aRotation) + (aVertexPosition.y) * cos(aRotation);\n\n vec2 v = vec2(x, y);\n v = v + aPositionCoord;\n\n gl_Position = vec4((translationMatrix * vec3(v, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vColor = aColor * uColor;\n}\n","varying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void){\n vec4 color = texture2D(uSampler, vTextureCoord) * vColor;\n gl_FragColor = color;\n}",{})}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.render=function(t){var e=t.children,r=t._maxSize,i=t._batchSize,n=this.renderer,o=e.length;if(0!==o){r<o&&!t.autoResize&&(o=r);var a=t._buffers;a||(a=t._buffers=this.generateBuffers(t));var s=e[0]._texture.baseTexture;this.renderer.state.setBlendMode(jt(t.blendMode,s.premultiplyAlpha));var l=n.gl,u=t.worldTransform.copyTo(this.tempMatrix);u.prepend(n.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=u.toArray(!0),this.shader.uniforms.uColor=Lt(t.tintRgb,t.worldAlpha,this.shader.uniforms.uColor,s.premultiplyAlpha),this.shader.uniforms.uSampler=s,this.renderer.shader.bind(this.shader);for(var h=!1,c=0,f=0;c<o;c+=i,f+=1){var p=o-c;i<p&&(p=i),f>=a.length&&a.push(this._generateOneMoreBuffer(t));var d=a[f];d.uploadDynamic(e,c,p);var m=t._bufferUpdateIDs[f]||0;(h=h||d._updateID<m)&&(d._updateID=t._updateID,d.uploadStatic(e,c,p)),n.geometry.bind(d.geometry),l.drawElements(l.TRIANGLES,6*p,l.UNSIGNED_SHORT,0)}}},t.prototype.generateBuffers=function(t){for(var e=[],r=t._maxSize,i=t._batchSize,n=t._properties,o=0;o<r;o+=i)e.push(new Ho(this.properties,n,i));return e},t.prototype._generateOneMoreBuffer=function(t){var e=t._batchSize,r=t._properties;return new Ho(this.properties,r,e)},t.prototype.uploadVertices=function(t,e,r,i,n,o){for(var a=0,s=0,l=0,u=0,h=0;h<r;++h){var c=t[e+h],f=c._texture,p=c.scale.x,d=c.scale.y,m=f.trim,g=f.orig;m?(a=(s=m.x-c.anchor.x*g.width)+m.width,l=(u=m.y-c.anchor.y*g.height)+m.height):(a=g.width*(1-c.anchor.x),s=g.width*-c.anchor.x,l=g.height*(1-c.anchor.y),u=g.height*-c.anchor.y),i[o]=s*p,i[o+1]=u*d,i[o+n]=a*p,i[o+n+1]=u*d,i[o+2*n]=a*p,i[o+2*n+1]=l*d,i[o+3*n]=s*p,i[o+3*n+1]=l*d,o+=4*n}},t.prototype.uploadPosition=function(t,e,r,i,n,o){for(var a=0;a<r;a++){var s=t[e+a].position;i[o]=s.x,i[o+1]=s.y,i[o+n]=s.x,i[o+n+1]=s.y,i[o+2*n]=s.x,i[o+2*n+1]=s.y,i[o+3*n]=s.x,i[o+3*n+1]=s.y,o+=4*n}},t.prototype.uploadRotation=function(t,e,r,i,n,o){for(var a=0;a<r;a++){var s=t[e+a].rotation;i[o]=s,i[o+n]=s,i[o+2*n]=s,i[o+3*n]=s,o+=4*n}},t.prototype.uploadUvs=function(t,e,r,i,n,o){for(var a=0;a<r;++a){var s=t[e+a]._texture._uvs;s?(i[o]=s.x0,i[o+1]=s.y0,i[o+n]=s.x1,i[o+n+1]=s.y1,i[o+2*n]=s.x2,i[o+2*n+1]=s.y2,i[o+3*n]=s.x3,i[o+3*n+1]=s.y3):(i[o]=0,i[o+1]=0,i[o+n]=0,i[o+n+1]=0,i[o+2*n]=0,i[o+2*n+1]=0,i[o+3*n]=0,i[o+3*n+1]=0),o+=4*n}},t.prototype.uploadTint=function(t,e,r,i,n,o){for(var a=0;a<r;++a){var s=t[e+a],l=s._texture.baseTexture.premultiplyAlpha,u=s.alpha,h=u<1&&l?Nt(s._tintRGB,u):s._tintRGB+(255*u<<24);i[o]=h,i[o+n]=h,i[o+2*n]=h,i[o+3*n]=h,o+=4*n}},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null},t}(jr),Wo=function(t,e,r){void 0===r&&(r=null),this.baseTexture=t,this.textures={},this.animations={},this.data=e,this.resolution=this._updateResolution(r||(this.baseTexture.resource?this.baseTexture.resource.url:null)),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null},Go={BATCH_SIZE:{configurable:!0}};Go.BATCH_SIZE.get=function(){return 1e3},Wo.prototype._updateResolution=function(t){var e=this.data.meta.scale,r=ne(t,null);return null===r&&(r=void 0!==e?parseFloat(e):1),1!==r&&this.baseTexture.setResolution(r),r},Wo.prototype.parse=function(t){this._batchIndex=0,this._callback=t,this._frameKeys.length<=Wo.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()},Wo.prototype._processFrames=function(t){for(var e=t,r=Wo.BATCH_SIZE;e-t<r&&e<this._frameKeys.length;){var i=this._frameKeys[e],n=this._frames[i],o=n.frame;if(o){var a=null,s=null,l=!1!==n.trimmed&&n.sourceSize?n.sourceSize:n.frame,u=new Ce(0,0,Math.floor(l.w)/this.resolution,Math.floor(l.h)/this.resolution);a=n.rotated?new Ce(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.h)/this.resolution,Math.floor(o.w)/this.resolution):new Ce(Math.floor(o.x)/this.resolution,Math.floor(o.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution),!1!==n.trimmed&&n.spriteSourceSize&&(s=new Ce(Math.floor(n.spriteSourceSize.x)/this.resolution,Math.floor(n.spriteSourceSize.y)/this.resolution,Math.floor(o.w)/this.resolution,Math.floor(o.h)/this.resolution)),this.textures[i]=new _r(this.baseTexture,a,u,s,n.rotated?2:0,n.anchor),_r.addToCache(this.textures[i],i)}e++}},Wo.prototype._processAnimations=function(){var t=this.data.animations||{};for(var e in t){this.animations[e]=[];for(var r=0;r<t[e].length;r++){var i=t[e][r];this.animations[e].push(this.textures[i])}}},Wo.prototype._parseComplete=function(){var t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)},Wo.prototype._nextBatch=function(){var t=this;this._processFrames(this._batchIndex*Wo.BATCH_SIZE),this._batchIndex++,setTimeout(function(){t._batchIndex*Wo.BATCH_SIZE<t._frameKeys.length?t._nextBatch():(t._processAnimations(),t._parseComplete())},0)},Wo.prototype.destroy=function(t){for(var e in void 0===t&&(t=!1),this.textures)this.textures[e].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&this.baseTexture.destroy(),this.baseTexture=null},Object.defineProperties(Wo,Go);var Vo=function(){};Vo.use=function(r,i){var t=r.name+"_image";if(r.data&&r.type===Uo.TYPE.JSON&&r.data.frames&&!this.resources[t]){var e={crossOrigin:r.crossOrigin,metadata:r.metadata.imageMetadata,parentResource:r},n=Vo.getResourcePath(r,this.baseUrl);this.add(t,n,e,function(t){if(t.error)i(t.error);else{var e=new Wo(t.texture.baseTexture,r.data,r.url);e.parse(function(){r.spritesheet=e,r.textures=e.textures,i()})}})}else i()},Vo.getResourcePath=function(t,e){return t.isDataUrl?t.data.meta.image:mt.resolve(t.url.replace(e,""),t.data.meta.image)};var Yo=new le,Zo=function(i){function n(t,e,r){void 0===e&&(e=100),void 0===r&&(r=100),i.call(this,t),this.tileTransform=new Se,this._width=e,this._height=r,this._canvasPattern=null,this.uvMatrix=t.uvMatrix||new bi(t),this.pluginName="tilingSprite",this.uvRespectAnchor=!1}i&&(n.__proto__=i),(n.prototype=Object.create(i&&i.prototype)).constructor=n;var t={clampMargin:{configurable:!0},tileScale:{configurable:!0},tilePosition:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return t.clampMargin.get=function(){return this.uvMatrix.clampMargin},t.clampMargin.set=function(t){this.uvMatrix.clampMargin=t,this.uvMatrix.update(!0)},t.tileScale.get=function(){return this.tileTransform.scale},t.tileScale.set=function(t){this.tileTransform.scale.copyFrom(t)},t.tilePosition.get=function(){return this.tileTransform.position},t.tilePosition.set=function(t){this.tileTransform.position.copyFrom(t)},n.prototype._onTextureUpdate=function(){this.uvMatrix&&(this.uvMatrix.texture=this._texture),this._cachedTint=16777215},n.prototype._render=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvMatrix.update(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},n.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,r=this._width*(1-this._anchor._x),i=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,r,i)},n.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._bounds.minX=this._width*-this._anchor._x,this._bounds.minY=this._height*-this._anchor._y,this._bounds.maxX=this._width*(1-this._anchor._x),this._bounds.maxY=this._height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new Ce),t=this._localBoundsRect),this._bounds.getRectangle(t)):i.prototype.getLocalBounds.call(this,t)},n.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,Yo);var e=this._width,r=this._height,i=-e*this.anchor._x;if(Yo.x>=i&&Yo.x<i+e){var n=-r*this.anchor._y;if(Yo.y>=n&&Yo.y<n+r)return!0}return!1},n.prototype.destroy=function(t){i.prototype.destroy.call(this,t),this.tileTransform=null,this.uvMatrix=null},n.from=function(t,e,r){return new n(_r.from(t),e,r)},n.fromFrame=function(t,e,r){var i=Jt[t];if(!i)throw new Error('The frameId "'+t+'" does not exist in the texture cache '+this);return new n(i,e,r)},n.fromImage=function(t,e,r,i){return i&&"object"!=typeof i&&(i={scaleMode:arguments[4],resourceOptions:{crossorigin:arguments[3]}}),new n(_r.from(t,i),e,r)},t.width.get=function(){return this._width},t.width.set=function(t){this._width=t},t.height.get=function(){return this._height},t.height.set=function(t){this._height=t},Object.defineProperties(n.prototype,t),n}(Ln),Jo="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n",Ko=new me,Qo=function(r){function t(t){r.call(this,t);var e={globals:this.renderer.globalUniforms};this.shader=di.from(Jo,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n vec2 coord = mod(vTextureCoord - uClampOffset, vec2(1.0, 1.0)) + uClampOffset;\n coord = (uMapCoord * vec3(coord, 1.0)).xy;\n coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n vec4 sample = texture2D(uSampler, coord);\n gl_FragColor = sample * uColor;\n}\n",e),this.simpleShader=di.from(Jo,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n vec4 sample = texture2D(uSampler, vTextureCoord);\n gl_FragColor = sample * uColor;\n}\n",e),this.quad=new Mr}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.render=function(t){var e=this.renderer,r=this.quad,i=r.vertices;i[0]=i[6]=t._width*-t.anchor.x,i[1]=i[3]=t._height*-t.anchor.y,i[2]=i[4]=t._width*(1-t.anchor.x),i[5]=i[7]=t._height*(1-t.anchor.y),t.uvRespectAnchor&&((i=r.uvs)[0]=i[6]=-t.anchor.x,i[1]=i[3]=-t.anchor.y,i[2]=i[4]=1-t.anchor.x,i[5]=i[7]=1-t.anchor.y),r.invalidate();var n=t._texture,o=n.baseTexture,a=t.tileTransform.localTransform,s=t.uvMatrix,l=o.isPowerOfTwo&&n.frame.width===o.width&&n.frame.height===o.height;l&&(o._glTextures[e.CONTEXT_UID]?l=o.wrapMode!==kt.CLAMP:o.wrapMode===kt.CLAMP&&(o.wrapMode=kt.REPEAT));var u=l?this.simpleShader:this.shader,h=n.width,c=n.height,f=t._width,p=t._height;Ko.set(a.a*h/f,a.b*h/p,a.c*c/f,a.d*c/p,a.tx/f,a.ty/p),Ko.invert(),l?Ko.prepend(s.mapCoord):(u.uniforms.uMapCoord=s.mapCoord.toArray(!0),u.uniforms.uClampFrame=s.uClampFrame,u.uniforms.uClampOffset=s.uClampOffset),u.uniforms.uTransform=Ko.toArray(!0),u.uniforms.uColor=Bt(t.tint,t.worldAlpha,u.uniforms.uColor,o.premultiplyAlpha),u.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),u.uniforms.uSampler=n,e.shader.bind(u),e.geometry.bind(r),e.state.setBlendMode(jt(t.blendMode,o.premultiplyAlpha)),e.geometry.draw(this.renderer.gl.TRIANGLES,6,0)},t}(jr),$o=function(i){function I(t,e){var r=this;void 0===e&&(e={}),i.call(this),this._textWidth=0,this._textHeight=0,this._glyphs=[],this._font={tint:void 0!==e.tint?e.tint:16777215,align:e.align||"left",name:null,size:0},this.font=e.font,this._text=t,this._maxWidth=0,this._maxLineHeight=0,this._letterSpacing=0,this._anchor=new ue(function(){r.dirty=!0},this,0,0),this.dirty=!1,this.roundPixels=P.ROUND_PIXELS,this.updateText()}i&&(I.__proto__=i);var t={tint:{configurable:!0},align:{configurable:!0},anchor:{configurable:!0},font:{configurable:!0},text:{configurable:!0},maxWidth:{configurable:!0},maxLineHeight:{configurable:!0},textWidth:{configurable:!0},letterSpacing:{configurable:!0},textHeight:{configurable:!0}};return((I.prototype=Object.create(i&&i.prototype)).constructor=I).prototype.updateText=function(){for(var t=I.fonts[this._font.name],e=this._font.size/t.size,r=new le,i=[],n=[],o=this._text.replace(/(?:\r\n|\r)/g,"\n")||" ",a=o.length,s=this._maxWidth*t.size/this._font.size,l=null,u=0,h=0,c=0,f=-1,p=0,d=0,m=0,g=0;g<a;g++){var v=o.charCodeAt(g),_=o.charAt(g);if(/(?:\s)/.test(_)&&(f=g,p=u),"\r"!==_&&"\n"!==_){var y=t.chars[v];y&&(l&&y.kerning[l]&&(r.x+=y.kerning[l]),i.push({texture:y.texture,line:c,charCode:v,position:new le(r.x+y.xOffset+this._letterSpacing/2,r.y+y.yOffset)}),r.x+=y.xAdvance+this._letterSpacing,u=r.x,m=Math.max(m,y.yOffset+y.texture.height),l=v,-1!==f&&0<s&&r.x>s&&(Xt(i,1+f-++d,1+g-f),g=f,f=-1,n.push(p),h=Math.max(h,p),c++,r.x=0,r.y+=t.lineHeight,l=null))}else n.push(u),h=Math.max(h,u),++c,++d,r.x=0,r.y+=t.lineHeight,l=null}var b=o.charAt(o.length-1);"\r"!==b&&"\n"!==b&&(/(?:\s)/.test(b)&&(u=p),n.push(u),h=Math.max(h,u));for(var x=[],w=0;w<=c;w++){var T=0;"right"===this._font.align?T=h-n[w]:"center"===this._font.align&&(T=(h-n[w])/2),x.push(T)}for(var k=i.length,S=this.tint,P=0;P<k;P++){var C=this._glyphs[P];C?C.texture=i[P].texture:((C=new Ln(i[P].texture)).roundPixels=this.roundPixels,this._glyphs.push(C)),C.position.x=(i[P].position.x+x[i[P].line])*e,C.position.y=i[P].position.y*e,C.scale.x=C.scale.y=e,C.tint=S,C.parent||this.addChild(C)}for(var A=k;A<this._glyphs.length;++A)this.removeChild(this._glyphs[A]);if(this._textWidth=h*e,this._textHeight=(r.y+t.lineHeight)*e,0!==this.anchor.x||0!==this.anchor.y)for(var E=0;E<k;E++)this._glyphs[E].x-=this._textWidth*this.anchor.x,this._glyphs[E].y-=this._textHeight*this.anchor.y;this._maxLineHeight=m*e},I.prototype.updateTransform=function(){this.validate(),this.containerUpdateTransform()},I.prototype.getLocalBounds=function(){return this.validate(),i.prototype.getLocalBounds.call(this)},I.prototype.validate=function(){this.dirty&&(this.updateText(),this.dirty=!1)},t.tint.get=function(){return this._font.tint},t.tint.set=function(t){this._font.tint="number"==typeof t&&0<=t?t:16777215,this.dirty=!0},t.align.get=function(){return this._font.align},t.align.set=function(t){this._font.align=t||"left",this.dirty=!0},t.anchor.get=function(){return this._anchor},t.anchor.set=function(t){"number"==typeof t?this._anchor.set(t):this._anchor.copyFrom(t)},t.font.get=function(){return this._font},t.font.set=function(t){t&&("string"==typeof t?(t=t.split(" "),this._font.name=1===t.length?t[0]:t.slice(1).join(" "),this._font.size=2<=t.length?parseInt(t[0],10):I.fonts[this._font.name].size):(this._font.name=t.name,this._font.size="number"==typeof t.size?t.size:parseInt(t.size,10)),this.dirty=!0)},t.text.get=function(){return this._text},t.text.set=function(t){t=String(null==t?"":t),this._text!==t&&(this._text=t,this.dirty=!0)},t.maxWidth.get=function(){return this._maxWidth},t.maxWidth.set=function(t){this._maxWidth!==t&&(this._maxWidth=t,this.dirty=!0)},t.maxLineHeight.get=function(){return this.validate(),this._maxLineHeight},t.textWidth.get=function(){return this.validate(),this._textWidth},t.letterSpacing.get=function(){return this._letterSpacing},t.letterSpacing.set=function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.dirty=!0)},t.textHeight.get=function(){return this.validate(),this._textHeight},I.registerFont=function(t,e){var r={},i=t.getElementsByTagName("info")[0],n=t.getElementsByTagName("common")[0],o=t.getElementsByTagName("page"),a=ne(o[0].getAttribute("file"),P.RESOLUTION),s={};r.font=i.getAttribute("face"),r.size=parseInt(i.getAttribute("size"),10),r.lineHeight=parseInt(n.getAttribute("lineHeight"),10)/a,r.chars={},e instanceof _r&&(e=[e]);for(var l=0;l<o.length;l++){var u=o[l].getAttribute("id"),h=o[l].getAttribute("file");s[u]=e instanceof Array?e[l]:e[h]}for(var c=t.getElementsByTagName("char"),f=0;f<c.length;f++){var p=c[f],d=parseInt(p.getAttribute("id"),10),m=p.getAttribute("page")||0,g=new Ce(parseInt(p.getAttribute("x"),10)/a+s[m].frame.x/a,parseInt(p.getAttribute("y"),10)/a+s[m].frame.y/a,parseInt(p.getAttribute("width"),10)/a,parseInt(p.getAttribute("height"),10)/a);r.chars[d]={xOffset:parseInt(p.getAttribute("xoffset"),10)/a,yOffset:parseInt(p.getAttribute("yoffset"),10)/a,xAdvance:parseInt(p.getAttribute("xadvance"),10)/a,kerning:{},texture:new _r(s[m].baseTexture,g),page:m}}for(var v=t.getElementsByTagName("kerning"),_=0;_<v.length;_++){var y=v[_],b=parseInt(y.getAttribute("first"),10)/a,x=parseInt(y.getAttribute("second"),10)/a,w=parseInt(y.getAttribute("amount"),10)/a;r.chars[x]&&(r.chars[x].kerning[b]=w)}return I.fonts[r.font]=r},Object.defineProperties(I.prototype,t),I}(je);$o.fonts={};var ta=function(){};ta.parse=function(t,e){t.bitmapFont=$o.registerFont(t.data,e)},ta.add=function(){Uo.setExtensionXhrType("fnt",Uo.XHR_RESPONSE_TYPE.DOCUMENT)},ta.dirname=function(t){var e=t.replace(/\/$/,"").replace(/\/[^\/]*$/,"");return e===t?".":""===e?"/":e},ta.use=function(e,r){if(e.data&&e.type===Uo.TYPE.XML)if(0!==e.data.getElementsByTagName("page").length&&0!==e.data.getElementsByTagName("info").length&&null!==e.data.getElementsByTagName("info")[0].getAttribute("face")){var t=e.isDataUrl?"":ta.dirname(e.url);e.isDataUrl&&("."===t&&(t=""),this.baseUrl&&t&&"/"===this.baseUrl.charAt(this.baseUrl.length-1)&&(t+="/")),(t=t.replace(this.baseUrl,""))&&"/"!==t.charAt(t.length-1)&&(t+="/");for(var i=e.data.getElementsByTagName("page"),n={},o=function(t){n[t.metadata.pageFile]=t.texture,Object.keys(n).length===i.length&&(ta.parse(e,n),r())},a=0;a<i.length;++a){var s=i[a].getAttribute("file"),l=t+s,u=!1;for(var h in this.resources){var c=this.resources[h];if(c.url===l){c.metadata.pageFile=s,c.texture?o(c):c.onAfterMiddleware.add(o),u=!0;break}}if(!u){var f={crossOrigin:e.crossOrigin,loadType:Uo.LOAD_TYPE.IMAGE,metadata:Object.assign({pageFile:s},e.metadata.imageMetadata),parentResource:e};this.add(l,f,o)}}}else r();else r()};var ea=function(e){function t(t){void 0===t&&(t=1),e.call(this,Bi,"varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n",{uAlpha:1}),this.alpha=t}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={alpha:{configurable:!0}};return r.alpha.get=function(){return this.uniforms.uAlpha},r.alpha.set=function(t){this.uniforms.uAlpha=t},Object.defineProperties(t.prototype,r),t}(_i),ra="\n attribute vec2 aVertexPosition;\n\n uniform mat3 projectionMatrix;\n\n uniform float strength;\n\n varying vec2 vBlurTexCoords[%size%];\n\n uniform vec4 inputSize;\n uniform vec4 outputFrame;\n \n vec4 filterVertexPosition( void )\n {\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n \n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n }\n \n vec2 filterTextureCoord( void )\n {\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n }\n\n void main(void)\n {\n gl_Position = filterVertexPosition();\n\n vec2 textureCoord = filterTextureCoord();\n %blur%\n }";var ia={5:[.153388,.221461,.250301],7:[.071303,.131514,.189879,.214607],9:[.028532,.067234,.124009,.179044,.20236],11:[.0093,.028002,.065984,.121703,.175713,.198596],13:[.002406,.009255,.027867,.065666,.121117,.174868,.197641],15:[489e-6,.002403,.009246,.02784,.065602,.120999,.174697,.197448]},na=["varying vec2 vBlurTexCoords[%size%];","uniform sampler2D uSampler;","void main(void)","{"," gl_FragColor = vec4(0.0);"," %blur%","}"].join("\n");var oa=function(s){function t(t,e,r,i,n){var o=function(t,e){var r,i=Math.ceil(t/2),n=ra,o="";r=e?"vBlurTexCoords[%index%] = textureCoord + vec2(%sampleIndex% * strength, 0.0);":"vBlurTexCoords[%index%] = textureCoord + vec2(0.0, %sampleIndex% * strength);";for(var a=0;a<t;a++){var s=r.replace("%index%",a);o+=s=s.replace("%sampleIndex%",a-(i-1)+".0"),o+="\n"}return n=(n=n.replace("%blur%",o)).replace("%size%",t)}(n=n||5,t),a=function(t){for(var e,r=ia[t],i=r.length,n=na,o="",a=0;a<t;a++){var s="gl_FragColor += texture2D(uSampler, vBlurTexCoords[%index%]) * %value%;".replace("%index%",a);i<=(e=a)&&(e=t-a-1),o+=s=s.replace("%value%",r[e]),o+="\n"}return n=(n=n.replace("%blur%",o)).replace("%size%",t)}(n);s.call(this,o,a),this.horizontal=t,this.resolution=i||P.RESOLUTION,this._quality=0,this.quality=r||4,this.blur=e||8}s&&(t.__proto__=s);var e={blur:{configurable:!0},quality:{configurable:!0}};return((t.prototype=Object.create(s&&s.prototype)).constructor=t).prototype.apply=function(t,e,r,i){if(r?this.horizontal?this.uniforms.strength=1/r.width*(r.width/e.width):this.uniforms.strength=1/r.height*(r.height/e.height):this.horizontal?this.uniforms.strength=1/t.renderer.width*(t.renderer.width/e.width):this.uniforms.strength=1/t.renderer.height*(t.renderer.height/e.height),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,r,i);else{var n=t.getFilterTexture(),o=t.renderer,a=e,s=n;this.state.blend=!1,t.applyFilter(this,a,s,!1);for(var l=1;l<this.passes-1;l++){o.renderTexture.bind(a,a.filterFrame);var u=this.uniforms.uSampler=s;s=a,a=u,o.shader.bind(this),o.geometry.draw(5)}this.state.blend=!0,t.applyFilter(this,s,r,i),t.returnFilterTexture(n)}},e.blur.get=function(){return this.strength},e.blur.set=function(t){this.padding=1+2*Math.abs(t),this.strength=t},e.quality.get=function(){return this._quality},e.quality.set=function(t){this._quality=t,this.passes=t},Object.defineProperties(t.prototype,e),t}(_i),aa=function(n){function t(t,e,r,i){n.call(this),this.blurXFilter=new oa(!0,t,e,r,i),this.blurYFilter=new oa(!1,t,e,r,i),this.resolution=r||P.RESOLUTION,this.quality=e||4,this.blur=t||8,this.repeatEdgePixels=!1}n&&(t.__proto__=n);var e={blur:{configurable:!0},quality:{configurable:!0},blurX:{configurable:!0},blurY:{configurable:!0},blendMode:{configurable:!0},repeatEdgePixels:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=Math.abs(this.blurXFilter.strength),o=Math.abs(this.blurYFilter.strength);if(n&&o){var a=t.getFilterTexture();this.blurXFilter.apply(t,e,a,!0),this.blurYFilter.apply(t,a,r,i),t.returnFilterTexture(a)}else o?this.blurYFilter.apply(t,e,r,i):this.blurXFilter.apply(t,e,r,i)},t.prototype.updatePadding=function(){this._repeatEdgePixels?this.padding=0:this.padding=2*Math.max(Math.abs(this.blurXFilter.strength),Math.abs(this.blurYFilter.strength))},e.blur.get=function(){return this.blurXFilter.blur},e.blur.set=function(t){this.blurXFilter.blur=this.blurYFilter.blur=t,this.updatePadding()},e.quality.get=function(){return this.blurXFilter.quality},e.quality.set=function(t){this.blurXFilter.quality=this.blurYFilter.quality=t},e.blurX.get=function(){return this.blurXFilter.blur},e.blurX.set=function(t){this.blurXFilter.blur=t,this.updatePadding()},e.blurY.get=function(){return this.blurYFilter.blur},e.blurY.set=function(t){this.blurYFilter.blur=t,this.updatePadding()},e.blendMode.get=function(){return this.blurYFilter.blendMode},e.blendMode.set=function(t){this.blurYFilter.blendMode=t},e.repeatEdgePixels.get=function(){return this._repeatEdgePixels},e.repeatEdgePixels.set=function(t){this._repeatEdgePixels=t,this.updatePadding()},Object.defineProperties(t.prototype,e),t}(_i),sa=function(e){function t(){var t={m:new Float32Array([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0]),uAlpha:1};e.call(this,Ui,"varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float m[20];\nuniform float uAlpha;\n\nvoid main(void)\n{\n vec4 c = texture2D(uSampler, vTextureCoord);\n\n if (uAlpha == 0.0) {\n gl_FragColor = c;\n return;\n }\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (c.a > 0.0) {\n c.rgb /= c.a;\n }\n\n vec4 result;\n\n result.r = (m[0] * c.r);\n result.r += (m[1] * c.g);\n result.r += (m[2] * c.b);\n result.r += (m[3] * c.a);\n result.r += m[4];\n\n result.g = (m[5] * c.r);\n result.g += (m[6] * c.g);\n result.g += (m[7] * c.b);\n result.g += (m[8] * c.a);\n result.g += m[9];\n\n result.b = (m[10] * c.r);\n result.b += (m[11] * c.g);\n result.b += (m[12] * c.b);\n result.b += (m[13] * c.a);\n result.b += m[14];\n\n result.a = (m[15] * c.r);\n result.a += (m[16] * c.g);\n result.a += (m[17] * c.b);\n result.a += (m[18] * c.a);\n result.a += m[19];\n\n vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n // Premultiply alpha again.\n rgb *= result.a;\n\n gl_FragColor = vec4(rgb, result.a);\n}\n",t),this.alpha=1}e&&(t.__proto__=e);var r={matrix:{configurable:!0},alpha:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype._loadMatrix=function(t,e){void 0===e&&(e=!1);var r=t;e&&(this._multiply(r,this.uniforms.m,t),r=this._colorMatrix(r)),this.uniforms.m=r},t.prototype._multiply=function(t,e,r){return t[0]=e[0]*r[0]+e[1]*r[5]+e[2]*r[10]+e[3]*r[15],t[1]=e[0]*r[1]+e[1]*r[6]+e[2]*r[11]+e[3]*r[16],t[2]=e[0]*r[2]+e[1]*r[7]+e[2]*r[12]+e[3]*r[17],t[3]=e[0]*r[3]+e[1]*r[8]+e[2]*r[13]+e[3]*r[18],t[4]=e[0]*r[4]+e[1]*r[9]+e[2]*r[14]+e[3]*r[19]+e[4],t[5]=e[5]*r[0]+e[6]*r[5]+e[7]*r[10]+e[8]*r[15],t[6]=e[5]*r[1]+e[6]*r[6]+e[7]*r[11]+e[8]*r[16],t[7]=e[5]*r[2]+e[6]*r[7]+e[7]*r[12]+e[8]*r[17],t[8]=e[5]*r[3]+e[6]*r[8]+e[7]*r[13]+e[8]*r[18],t[9]=e[5]*r[4]+e[6]*r[9]+e[7]*r[14]+e[8]*r[19]+e[9],t[10]=e[10]*r[0]+e[11]*r[5]+e[12]*r[10]+e[13]*r[15],t[11]=e[10]*r[1]+e[11]*r[6]+e[12]*r[11]+e[13]*r[16],t[12]=e[10]*r[2]+e[11]*r[7]+e[12]*r[12]+e[13]*r[17],t[13]=e[10]*r[3]+e[11]*r[8]+e[12]*r[13]+e[13]*r[18],t[14]=e[10]*r[4]+e[11]*r[9]+e[12]*r[14]+e[13]*r[19]+e[14],t[15]=e[15]*r[0]+e[16]*r[5]+e[17]*r[10]+e[18]*r[15],t[16]=e[15]*r[1]+e[16]*r[6]+e[17]*r[11]+e[18]*r[16],t[17]=e[15]*r[2]+e[16]*r[7]+e[17]*r[12]+e[18]*r[17],t[18]=e[15]*r[3]+e[16]*r[8]+e[17]*r[13]+e[18]*r[18],t[19]=e[15]*r[4]+e[16]*r[9]+e[17]*r[14]+e[18]*r[19]+e[19],t},t.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},t.prototype.brightness=function(t,e){var r=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.greyscale=function(t,e){var r=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.blackAndWhite=function(t){this._loadMatrix([.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0],t)},t.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var r=Math.cos(t),i=Math.sin(t),n=(0,Math.sqrt)(1/3),o=[r+1/3*(1-r),1/3*(1-r)-n*i,1/3*(1-r)+n*i,0,0,1/3*(1-r)+n*i,r+1/3*(1-r),1/3*(1-r)-n*i,0,0,1/3*(1-r)-n*i,1/3*(1-r)+n*i,r+1/3*(1-r),0,0,0,0,0,1,0];this._loadMatrix(o,e)},t.prototype.contrast=function(t,e){var r=(t||0)+1,i=-.5*(r-1),n=[r,0,0,0,i,0,r,0,0,i,0,0,r,0,i,0,0,0,1,0];this._loadMatrix(n,e)},t.prototype.saturate=function(t,e){void 0===t&&(t=0);var r=2*t/3+1,i=-.5*(r-1),n=[r,i,i,0,0,i,r,i,0,0,i,i,r,0,0,0,0,0,1,0];this._loadMatrix(n,e)},t.prototype.desaturate=function(){this.saturate(-1)},t.prototype.negative=function(t){this._loadMatrix([-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0],t)},t.prototype.sepia=function(t){this._loadMatrix([.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0],t)},t.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.09155508482755585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},t.prototype.polaroid=function(t){this._loadMatrix([1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],t)},t.prototype.toBGR=function(t){this._loadMatrix([0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0],t)},t.prototype.kodachrome=function(t){this._loadMatrix([1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0],t)},t.prototype.browni=function(t){this._loadMatrix([.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0],t)},t.prototype.vintage=function(t){this._loadMatrix([.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0],t)},t.prototype.colorTone=function(t,e,r,i,n){var o=((r=r||16770432)>>16&255)/255,a=(r>>8&255)/255,s=(255&r)/255,l=((i=i||3375104)>>16&255)/255,u=(i>>8&255)/255,h=(255&i)/255,c=[.3,.59,.11,0,0,o,a,s,t=t||.2,0,l,u,h,e=e||.15,0,o-l,a-u,s-h,0,0];this._loadMatrix(c,n)},t.prototype.night=function(t,e){var r=[-2*(t=t||.1),-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.predator=function(t,e){var r=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(r,e)},t.prototype.lsd=function(t){this._loadMatrix([2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0],t)},t.prototype.reset=function(){this._loadMatrix([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],!1)},r.matrix.get=function(){return this.uniforms.m},r.matrix.set=function(t){this.uniforms.m=t},r.alpha.get=function(){return this.uniforms.uAlpha},r.alpha.set=function(t){this.uniforms.uAlpha=t},Object.defineProperties(t.prototype,r),t}(_i);sa.prototype.grayscale=sa.prototype.greyscale;var la=function(i){function t(t,e){var r=new me;t.renderable=!1,i.call(this,"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\nuniform mat3 filterMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec2 vFilterCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n\tgl_Position = filterVertexPosition();\n\tvTextureCoord = filterTextureCoord();\n\tvFilterCoord = ( filterMatrix * vec3( vTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\nuniform mat2 rotation;\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform highp vec4 inputSize;\nuniform vec4 inputClamp;\n\nvoid main(void)\n{\n vec4 map = texture2D(mapSampler, vFilterCoord);\n\n map -= 0.5;\n map.xy = scale * inputSize.zw * (rotation * map.xy);\n\n gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), inputClamp.xy, inputClamp.zw));\n}\n",{mapSampler:t._texture,filterMatrix:r,scale:{x:1,y:1},rotation:new Float32Array([1,0,0,1])}),this.maskSprite=t,this.maskMatrix=r,null==e&&(e=20),this.scale=new le(e,e)}i&&(t.__proto__=i);var e={map:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.filterMatrix=t.calculateSpriteMatrix(this.maskMatrix,this.maskSprite),this.uniforms.scale.x=this.scale.x,this.uniforms.scale.y=this.scale.y;var n=this.maskSprite.transform.worldTransform,o=Math.sqrt(n.a*n.a+n.b*n.b),a=Math.sqrt(n.c*n.c+n.d*n.d);0!==o&&0!==a&&(this.uniforms.rotation[0]=n.a/o,this.uniforms.rotation[1]=n.b/o,this.uniforms.rotation[2]=n.c/a,this.uniforms.rotation[3]=n.d/a),t.applyFilter(this,e,r,i)},e.map.get=function(){return this.uniforms.mapSampler},e.map.set=function(t){this.uniforms.mapSampler=t},Object.defineProperties(t.prototype,e),t}(_i),ua=function(t){function e(){t.call(this,"\nattribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\n\nuniform vec4 inputPixel;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvoid texcoords(vec2 fragCoord, vec2 inverseVP,\n out vec2 v_rgbNW, out vec2 v_rgbNE,\n out vec2 v_rgbSW, out vec2 v_rgbSE,\n out vec2 v_rgbM) {\n v_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n v_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n v_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n v_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n v_rgbM = vec2(fragCoord * inverseVP);\n}\n\nvoid main(void) {\n\n gl_Position = filterVertexPosition();\n\n vFragCoord = aVertexPosition * outputFrame.zw;\n\n texcoords(vFragCoord, inputPixel.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n}\n",'varying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\nuniform sampler2D uSampler;\nuniform highp vec4 inputPixel;\n\n\n/**\n Basic FXAA implementation based on the code on geeks3d.com with the\n modification that the texture2DLod stuff was removed since it\'s\n unsupported by WebGL.\n\n --\n\n From:\n https://github.com/mitsuhiko/webgl-meincraft\n\n Copyright (c) 2011 by Armin Ronacher.\n\n Some rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n\n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n#ifndef FXAA_REDUCE_MIN\n#define FXAA_REDUCE_MIN (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n#define FXAA_REDUCE_MUL (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n#define FXAA_SPAN_MAX 8.0\n#endif\n\n//optimized version for mobile, where dependent\n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 inverseVP,\n vec2 v_rgbNW, vec2 v_rgbNE,\n vec2 v_rgbSW, vec2 v_rgbSE,\n vec2 v_rgbM) {\n vec4 color;\n vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n vec4 texColor = texture2D(tex, v_rgbM);\n vec3 rgbM = texColor.xyz;\n vec3 luma = vec3(0.299, 0.587, 0.114);\n float lumaNW = dot(rgbNW, luma);\n float lumaNE = dot(rgbNE, luma);\n float lumaSW = dot(rgbSW, luma);\n float lumaSE = dot(rgbSE, luma);\n float lumaM = dot(rgbM, luma);\n float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n\n mediump vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n\n float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n\n float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * inverseVP;\n\n vec3 rgbA = 0.5 * (\n texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n vec3 rgbB = rgbA * 0.5 + 0.25 * (\n texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n\n float lumaB = dot(rgbB, luma);\n if ((lumaB < lumaMin) || (lumaB > lumaMax))\n color = vec4(rgbA, texColor.a);\n else\n color = vec4(rgbB, texColor.a);\n return color;\n}\n\nvoid main() {\n\n vec4 color;\n\n color = fxaa(uSampler, vFragCoord, inputPixel.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n gl_FragColor = color;\n}\n')}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e}(_i),ha=function(r){function t(t,e){void 0===t&&(t=.5),void 0===e&&(e=Math.random()),r.call(this,Ui,"precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float randomValue = rand(gl_FragCoord.xy * uSeed);\n float diff = (randomValue - 0.5) * uNoise;\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (color.a > 0.0) {\n color.rgb /= color.a;\n }\n\n color.r += diff;\n color.g += diff;\n color.b += diff;\n\n // Premultiply alpha again.\n color.rgb *= color.a;\n\n gl_FragColor = color;\n}\n",{uNoise:0,uSeed:0}),this.noise=t,this.seed=e}r&&(t.__proto__=r),(t.prototype=Object.create(r&&r.prototype)).constructor=t;var e={noise:{configurable:!0},seed:{configurable:!0}};return e.noise.get=function(){return this.uniforms.uNoise},e.noise.set=function(t){this.uniforms.uNoise=t},e.seed.get=function(){return this.uniforms.uSeed},e.seed.set=function(t){this.uniforms.uSeed=t},Object.defineProperties(t.prototype,e),t}(_i),ca=new me;Re.prototype._cacheAsBitmap=!1,Re.prototype._cacheData=!1;var fa=function(){this.textureCacheId=null,this.originalRender=null,this.originalRenderCanvas=null,this.originalCalculateBounds=null,this.originalGetLocalBounds=null,this.originalUpdateTransform=null,this.originalHitTest=null,this.originalDestroy=null,this.originalMask=null,this.originalFilterArea=null,this.sprite=null};Object.defineProperties(Re.prototype,{cacheAsBitmap:{get:function(){return this._cacheAsBitmap},set:function(t){var e;this._cacheAsBitmap!==t&&((this._cacheAsBitmap=t)?(this._cacheData||(this._cacheData=new fa),(e=this._cacheData).originalRender=this.render,e.originalRenderCanvas=this.renderCanvas,e.originalUpdateTransform=this.updateTransform,e.originalCalculateBounds=this.calculateBounds,e.originalGetLocalBounds=this.getLocalBounds,e.originalDestroy=this.destroy,e.originalContainsPoint=this.containsPoint,e.originalMask=this._mask,e.originalFilterArea=this.filterArea,this.render=this._renderCached,this.renderCanvas=this._renderCachedCanvas,this.destroy=this._cacheAsBitmapDestroy):((e=this._cacheData).sprite&&this._destroyCachedDisplayObject(),this.render=e.originalRender,this.renderCanvas=e.originalRenderCanvas,this.calculateBounds=e.originalCalculateBounds,this.getLocalBounds=e.originalGetLocalBounds,this.destroy=e.originalDestroy,this.updateTransform=e.originalUpdateTransform,this.containsPoint=e.originalContainsPoint,this._mask=e.originalMask,this.filterArea=e.originalFilterArea))}}}),Re.prototype._renderCached=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObject(t),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._render(t))},Re.prototype._initCachedDisplayObject=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.alpha;this.alpha=1,t.batch.flush();var r=this.getLocalBounds().clone();if(this.filters){var i=this.filters[0].padding;r.pad(i)}r.ceil(P.RESOLUTION);var n=t.renderTexture.current,o=t.renderTexture.sourceFrame,a=t.projection.transform,s=br.create(r.width,r.height),l="cacheAsBitmap_"+qt();this._cacheData.textureCacheId=l,ir.addToCache(s.baseTexture,l),_r.addToCache(s,l);var u=ca;u.tx=-r.x,u.ty=-r.y,this.transform.worldTransform.identity(),this.render=this._cacheData.originalRender,t.render(this,s,!0,u,!0),t.projection.transform=a,t.renderTexture.bind(n,o),this.render=this._renderCached,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null;var h=new Ln(s);h.transform.worldTransform=this.transform.worldTransform,h.anchor.x=-r.x/r.width,h.anchor.y=-r.y/r.height,h.alpha=e,h._bounds=this._bounds,this._cacheData.sprite=h,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=h.containsPoint.bind(h)}},Re.prototype._renderCachedCanvas=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObjectCanvas(t),this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderCanvas(t))},Re.prototype._initCachedDisplayObjectCanvas=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.getLocalBounds(),r=this.alpha;this.alpha=1;var i=t.context;e.ceil(P.RESOLUTION);var n=br.create(e.width,e.height),o="cacheAsBitmap_"+qt();this._cacheData.textureCacheId=o,ir.addToCache(n.baseTexture,o),_r.addToCache(n,o);var a=ca;this.transform.localTransform.copyTo(a),a.invert(),a.tx-=e.x,a.ty-=e.y,this.renderCanvas=this._cacheData.originalRenderCanvas,t.render(this,n,!0,a,!1),t.context=i,this.renderCanvas=this._renderCachedCanvas,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null;var s=new Ln(n);s.transform.worldTransform=this.transform.worldTransform,s.anchor.x=-e.x/e.width,s.anchor.y=-e.y/e.height,s.alpha=r,s._bounds=this._bounds,this._cacheData.sprite=s,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=s.containsPoint.bind(s)}},Re.prototype._calculateCachedBounds=function(){this._bounds.clear(),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite._calculateBounds(),this._lastBoundsID=this._boundsID},Re.prototype._getCachedLocalBounds=function(){return this._cacheData.sprite.getLocalBounds()},Re.prototype._destroyCachedDisplayObject=function(){this._cacheData.sprite._texture.destroy(!0),this._cacheData.sprite=null,ir.removeFromCache(this._cacheData.textureCacheId),_r.removeFromCache(this._cacheData.textureCacheId),this._cacheData.textureCacheId=null},Re.prototype._cacheAsBitmapDestroy=function(t){this.cacheAsBitmap=!1,this.destroy(t)},Re.prototype.name=null,je.prototype.getChildByName=function(t){for(var e=0;e<this.children.length;e++)if(this.children[e].name===t)return this.children[e];return null},Re.prototype.getGlobalPosition=function(t,e){return void 0===t&&(t=new le),void 0===e&&(e=!1),this.parent?this.parent.toGlobal(this.position,t,e):(t.x=this.position.x,t.y=this.position.y),t};var pa="5.0.0";var da=function(t,e){this.uvBuffer=t,this.uvMatrix=e,this.data=null,this._bufferUpdateId=-1,this._textureUpdateId=-1,this._updateID=0};da.prototype.update=function(t){if(t||this._bufferUpdateId!==this.uvBuffer._updateID||this._textureUpdateId!==this.uvMatrix._updateID){this._bufferUpdateId=this.uvBuffer._updateID,this._textureUpdateId=this.uvMatrix._updateID;var e=this.uvBuffer.data;this.data&&this.data.length===e.length||(this.data=new Float32Array(e.length)),this.uvMatrix.multiplyUvs(e,this.data),this._updateID++}};var ma=new le,ga=new Me,va=function(n){function r(t,e,r,i){void 0===i&&(i=yt.TRIANGLES),n.call(this),(this.geometry=t).refCount++,this.shader=e,this.state=r||gi.for2d(),this.drawMode=i,this.start=0,this.size=0,this.uvs=null,this.indices=null,this.vertexData=new Float32Array(1),this.vertexDirty=0,this._transformID=-1,this.tint=16777215,this.blendMode=_t.NORMAL,this._roundPixels=P.ROUND_PIXELS,this.batchUvs=null}n&&(r.__proto__=n),(r.prototype=Object.create(n&&n.prototype)).constructor=r;var t={uvBuffer:{configurable:!0},verticesBuffer:{configurable:!0},material:{configurable:!0},blendMode:{configurable:!0},roundPixels:{configurable:!0},tint:{configurable:!0},texture:{configurable:!0}};return t.uvBuffer.get=function(){return this.geometry.buffers[1]},t.verticesBuffer.get=function(){return this.geometry.buffers[0]},t.material.set=function(t){this.shader=t},t.material.get=function(){return this.shader},t.blendMode.set=function(t){this.state.blendMode=t},t.blendMode.get=function(){return this.state.blendMode},t.roundPixels.set=function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},t.roundPixels.get=function(){return this._roundPixels},t.tint.get=function(){return this.shader.tint},t.tint.set=function(t){this.shader.tint=t},t.texture.get=function(){return this.shader.texture},t.texture.set=function(t){this.shader.texture=t},r.prototype._render=function(t){var e=this.geometry.buffers[0].data;this.shader.batchable&&this.drawMode===yt.TRIANGLES&&e.length<2*r.BATCHABLE_SIZE?this._renderToBatch(t):this._renderDefault(t)},r.prototype._renderDefault=function(t){var e=this.shader;e.alpha=this.worldAlpha,e.update&&e.update(),t.batch.flush(),e.program.uniformData.translationMatrix&&(e.uniforms.translationMatrix=this.transform.worldTransform.toArray(!0)),t.shader.bind(e),t.state.set(this.state),t.geometry.bind(this.geometry,e),t.geometry.draw(this.drawMode,this.size,this.start,this.geometry.instanceCount)},r.prototype._renderToBatch=function(t){var e=this.geometry;this.shader.uvMatrix&&(this.shader.uvMatrix.update(),this.calculateUvs()),this.calculateVertices(),this.indices=e.indexBuffer.data,this._tintRGB=this.shader._tintRGB,this._texture=this.shader.texture;var r=this.material.pluginName;t.batch.setObjectRenderer(t.plugins[r]),t.plugins[r].render(this)},r.prototype.calculateVertices=function(){var t=this.geometry,e=t.buffers[0].data;if(t.vertexDirtyId!==this.vertexDirty||this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID,this.vertexData.length!==e.length&&(this.vertexData=new Float32Array(e.length));for(var r=this.transform.worldTransform,i=r.a,n=r.b,o=r.c,a=r.d,s=r.tx,l=r.ty,u=this.vertexData,h=0;h<u.length/2;h++){var c=e[2*h],f=e[2*h+1];u[2*h]=i*c+o*f+s,u[2*h+1]=n*c+a*f+l}if(this._roundPixels)for(var p=0;p<u.length;p++)u[p]=Math.round(u[p]);this.vertexDirty=t.vertexDirtyId}},r.prototype.calculateUvs=function(){var t=this.geometry.buffers[1];this.shader.uvMatrix.isSimple?this.uvs=t.data:(this.batchUvs||(this.batchUvs=new da(t,this.shader.uvMatrix)),this.batchUvs.update(),this.uvs=this.batchUvs.data)},r.prototype._calculateBounds=function(){this.calculateVertices(),this._bounds.addVertexData(this.vertexData,0,this.vertexData.length)},r.prototype.containsPoint=function(t){if(!this.getBounds().contains(t.x,t.y))return!1;this.worldTransform.applyInverse(t,ma);for(var e=this.geometry.getBuffer("aVertexPosition").data,r=ga.points,i=this.geometry.getIndex().data,n=i.length,o=4===this.drawMode?3:1,a=0;a+2<n;a+=o){var s=2*i[a],l=2*i[a+1],u=2*i[a+2];if(r[0]=e[s],r[1]=e[1+s],r[2]=e[l],r[3]=e[1+l],r[4]=e[u],r[5]=e[1+u],ga.contains(ma.x,ma.y))return!0}return!1},r.prototype.destroy=function(t){n.prototype.destroy.call(this,t),this.geometry.refCount--,0===this.geometry.refCount&&this.geometry.dispose(),this.geometry=null,this.shader=null,this.state=null,this.uvs=null,this.indices=null,this.vertexData=null},Object.defineProperties(r.prototype,t),r}(je);va.BATCHABLE_SIZE=100;var _a=function(i){function t(t,e){var r={uSampler:t,alpha:1,uTextureMatrix:me.IDENTITY,uColor:new Float32Array([1,1,1,1])};(e=Object.assign({tint:16777215,alpha:1,pluginName:"batch"},e)).uniforms&&Object.assign(r,e.uniforms),i.call(this,e.program||fi.from("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTextureMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTextureMatrix * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\nuniform vec4 uColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;\n}\n"),r),this._colorDirty=!1,this.uvMatrix=new bi(t),this.batchable=void 0===e.program,this.pluginName=e.pluginName,this.tint=e.tint,this.alpha=e.alpha}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={texture:{configurable:!0},alpha:{configurable:!0},tint:{configurable:!0}};return e.texture.get=function(){return this.uniforms.uSampler},e.texture.set=function(t){this.uniforms.uSampler!==t&&(this.uniforms.uSampler=t,this.uvMatrix.texture=t)},e.alpha.set=function(t){t!==this._alpha&&(this._alpha=t,this._colorDirty=!0)},e.alpha.get=function(){return this._alpha},e.tint.set=function(t){t!==this._tint&&(this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16),this._colorDirty=!0)},e.tint.get=function(){return this._tint},t.prototype.update=function(){if(this._colorDirty){this._colorDirty=!1;var t=this.texture.baseTexture;Bt(this._tint,this._alpha,this.uniforms.uColor,t.premultiplyAlpha)}this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)},Object.defineProperties(t.prototype,e),t}(di),ya=function(a){function t(t,e,r){a.call(this);var i=new kr(t),n=new kr(e,!0),o=new kr(r,!0,!0);this.addAttribute("aVertexPosition",i,2,!1,wt.FLOAT).addAttribute("aTextureCoord",n,2,!1,wt.FLOAT).addIndex(o),this._updateId=-1}a&&(t.__proto__=a),(t.prototype=Object.create(a&&a.prototype)).constructor=t;var e={vertexDirtyId:{configurable:!0}};return e.vertexDirtyId.get=function(){return this.buffers[0]._updateID},Object.defineProperties(t.prototype,e),t}(Ir),ba=function(n){function t(t,e,r,i){void 0===t&&(t=100),void 0===e&&(e=100),void 0===r&&(r=10),void 0===i&&(i=10),n.call(this),this.segWidth=r,this.segHeight=i,this.width=t,this.height=e,this.build()}return n&&(t.__proto__=n),((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.build=function(){for(var t=this.segWidth*this.segHeight,e=[],r=[],i=[],n=this.segWidth-1,o=this.segHeight-1,a=this.width/n,s=this.height/o,l=0;l<t;l++){var u=l%this.segWidth,h=l/this.segWidth|0;e.push(u*a,h*s),r.push(u/n,h/o)}for(var c=n*o,f=0;f<c;f++){var p=f%n,d=f/n|0,m=d*this.segWidth+p,g=d*this.segWidth+p+1,v=(1+d)*this.segWidth+p,_=(1+d)*this.segWidth+p+1;i.push(m,g,v,g,_,v)}this.buffers[0].data=new Float32Array(e),this.buffers[1].data=new Float32Array(r),this.indexBuffer.data=new Uint16Array(i),this.buffers[0].update(),this.buffers[1].update(),this.indexBuffer.update()},t}(ya),xa=function(r){function t(t,e){void 0===t&&(t=200),r.call(this,new Float32Array(4*e.length),new Float32Array(4*e.length),new Uint16Array(6*(e.length-1))),this.points=e,this.width=t,this.build()}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.build=function(){var t=this.points;if(t){var e=this.getBuffer("aVertexPosition"),r=this.getBuffer("aTextureCoord"),i=this.getIndex();if(!(t.length<1)){e.data.length/4!==t.length&&(e.data=new Float32Array(4*t.length),r.data=new Float32Array(4*t.length),i.data=new Uint16Array(6*(t.length-1)));var n=r.data,o=i.data;n[0]=0,n[1]=0,n[2]=0,n[3]=1;for(var a=t.length,s=0;s<a;s++){var l=4*s,u=s/(a-1);n[l]=u,n[1+l]=0,n[2+l]=u,n[3+l]=1}for(var h=0,c=0;c<a-1;c++){var f=2*c;o[h++]=f,o[h++]=1+f,o[h++]=2+f,o[h++]=2+f,o[h++]=1+f,o[h++]=3+f}r.update(),i.update(),this.updateVertices()}}},t.prototype.updateVertices=function(){var t=this.points;if(!(t.length<1)){for(var e,r=t[0],i=0,n=0,o=this.buffers[0].data,a=t.length,s=0;s<a;s++){var l=t[s],u=4*s;n=-((e=s<t.length-1?t[s+1]:l).x-r.x),i=e.y-r.y;var h=Math.sqrt(i*i+n*n),c=this.width/2;i/=h,n/=h,i*=c,n*=c,o[u]=l.x+i,o[1+u]=l.y+n,o[2+u]=l.x-i,o[3+u]=l.y-n,r=l}this.buffers[0].update()}},t.prototype.update=function(){this.updateVertices()},t}(ya),wa=function(n){function t(t,e){var r=new xa(t.height,e),i=new _a(t);n.call(this,r,i),this.autoUpdate=!0}return n&&(t.__proto__=n),((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype._render=function(t){(this.autoUpdate||this.geometry.width!==this.shader.texture.height)&&(this.geometry.width=this.shader.texture.height,this.geometry.update()),n.prototype._render.call(this,t)},t}(va),Ta=function(o){function t(t,e,r){var i=new ba(t.width,t.height,e,r),n=new _a(_r.WHITE);o.call(this,i,n),this.texture=t}o&&(t.__proto__=o);var e={texture:{configurable:!0}};return((t.prototype=Object.create(o&&o.prototype)).constructor=t).prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID,this.geometry.width=this.shader.texture.width,this.geometry.height=this.shader.texture.height,this.geometry.build()},e.texture.set=function(t){this.shader.texture!==t&&(this.shader.texture=t,this._textureID=-1,t.baseTexture.valid?this.textureUpdated():t.once("update",this.textureUpdated,this))},e.texture.get=function(){return this.shader.texture},t.prototype._render=function(t){this._textureID!==this.shader.texture._updateID&&this.textureUpdated(),o.prototype._render.call(this,t)},Object.defineProperties(t.prototype,e),t}(va),ka=function(s){function t(t,e,r,i,n){void 0===t&&(t=_r.EMPTY);var o=new ya(e,r,i);o.getBuffer("aVertexPosition").static=!1;var a=new _a(t);s.call(this,o,a,null,n),this.autoUpdate=!0}s&&(t.__proto__=s),(t.prototype=Object.create(s&&s.prototype)).constructor=t;var e={vertices:{configurable:!0}};return e.vertices.get=function(){return this.geometry.getBuffer("aVertexPosition").data},e.vertices.set=function(t){this.geometry.getBuffer("aVertexPosition").data=t},t.prototype._render=function(t){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),s.prototype._render.call(this,t)},Object.defineProperties(t.prototype,e),t}(va),Sa=function(o){function t(t,e,r,i,n){o.call(this,_r.WHITE,4,4),this._origWidth=t.orig.width,this._origHeight=t.orig.height,this._width=this._origWidth,this._height=this._origHeight,this._leftWidth=void 0!==e?e:10,this._rightWidth=void 0!==i?i:10,this._topHeight=void 0!==r?r:10,this._bottomHeight=void 0!==n?n:10,this.texture=t}o&&(t.__proto__=o);var e={vertices:{configurable:!0},width:{configurable:!0},height:{configurable:!0},leftWidth:{configurable:!0},rightWidth:{configurable:!0},topHeight:{configurable:!0},bottomHeight:{configurable:!0}};return((t.prototype=Object.create(o&&o.prototype)).constructor=t).prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID,this._refresh()},e.vertices.get=function(){return this.geometry.getBuffer("aVertexPosition").data},e.vertices.set=function(t){this.geometry.getBuffer("aVertexPosition").data=t},t.prototype.updateHorizontalVertices=function(){var t=this.vertices,e=this._topHeight+this._bottomHeight,r=this._height>e?1:this._height/e;t[9]=t[11]=t[13]=t[15]=this._topHeight*r,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*r,t[25]=t[27]=t[29]=t[31]=this._height},t.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._leftWidth+this._rightWidth,r=this._width>e?1:this._width/e;t[2]=t[10]=t[18]=t[26]=this._leftWidth*r,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*r,t[6]=t[14]=t[22]=t[30]=this._width},e.width.get=function(){return this._width},e.width.set=function(t){this._width=t,this._refresh()},e.height.get=function(){return this._height},e.height.set=function(t){this._height=t,this._refresh()},e.leftWidth.get=function(){return this._leftWidth},e.leftWidth.set=function(t){this._leftWidth=t,this._refresh()},e.rightWidth.get=function(){return this._rightWidth},e.rightWidth.set=function(t){this._rightWidth=t,this._refresh()},e.topHeight.get=function(){return this._topHeight},e.topHeight.set=function(t){this._topHeight=t,this._refresh()},e.bottomHeight.get=function(){return this._bottomHeight},e.bottomHeight.set=function(t){this._bottomHeight=t,this._refresh()},t.prototype._refresh=function(){var t=this.texture,e=this.geometry.buffers[1].data;this._origWidth=t.orig.width,this._origHeight=t.orig.height;var r=1/this._origWidth,i=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=r*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-r*this._rightWidth,e[9]=e[11]=e[13]=e[15]=i*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-i*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.geometry.buffers[0].update(),this.geometry.buffers[1].update()},Object.defineProperties(t.prototype,e),t}(Ta),Pa=function(r){function i(t,e){r.call(this,t[0]instanceof _r?t[0]:t[0].texture),this._textures=null,this._durations=null,this.textures=t,this._autoUpdate=!1!==e,this.animationSpeed=1,this.loop=!0,this.updateAnchor=!1,this.onComplete=null,this.onFrameChange=null,this.onLoop=null,this._currentTime=0,this.playing=!1}r&&(i.__proto__=r);var t={totalFrames:{configurable:!0},textures:{configurable:!0},currentFrame:{configurable:!0}};return((i.prototype=Object.create(r&&r.prototype)).constructor=i).prototype.stop=function(){this.playing&&(this.playing=!1,this._autoUpdate&&We.shared.remove(this.update,this))},i.prototype.play=function(){this.playing||(this.playing=!0,this._autoUpdate&&We.shared.add(this.update,this,He.HIGH))},i.prototype.gotoAndStop=function(t){this.stop();var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture()},i.prototype.gotoAndPlay=function(t){var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture(),this.play()},i.prototype.update=function(t){var e=this.animationSpeed*t,r=this.currentFrame;if(null!==this._durations){var i=this._currentTime%1*this._durations[this.currentFrame];for(i+=e/60*1e3;i<0;)this._currentTime--,i+=this._durations[this.currentFrame];var n=Math.sign(this.animationSpeed*t);for(this._currentTime=Math.floor(this._currentTime);i>=this._durations[this.currentFrame];)i-=this._durations[this.currentFrame]*n,this._currentTime+=n;this._currentTime+=i/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):r!==this.currentFrame&&(this.loop&&this.onLoop&&(0<this.animationSpeed&&this.currentFrame<r?this.onLoop():this.animationSpeed<0&&this.currentFrame>r&&this.onLoop()),this.updateTexture())},i.prototype.updateTexture=function(){this._texture=this._textures[this.currentFrame],this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this.uvs=this._texture._uvs.uvsFloat32,this.updateAnchor&&this._anchor.copyFrom(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame)},i.prototype.destroy=function(t){this.stop(),r.prototype.destroy.call(this,t),this.onComplete=null,this.onFrameChange=null,this.onLoop=null},i.fromFrames=function(t){for(var e=[],r=0;r<t.length;++r)e.push(_r.from(t[r]));return new i(e)},i.fromImages=function(t){for(var e=[],r=0;r<t.length;++r)e.push(_r.from(t[r]));return new i(e)},t.totalFrames.get=function(){return this._textures.length},t.textures.get=function(){return this._textures},t.textures.set=function(t){if(t[0]instanceof _r)this._textures=t,this._durations=null;else{this._textures=[],this._durations=[];for(var e=0;e<t.length;e++)this._textures.push(t[e].texture),this._durations.push(t[e].time)}this.gotoAndStop(0),this.updateTexture()},t.currentFrame.get=function(){var t=Math.floor(this._currentTime)%this._textures.length;return t<0&&(t+=this._textures.length),t},Object.defineProperties(i.prototype,t),i}(Ln);Li.registerPlugin("accessibility",Ne),Li.registerPlugin("extract",en),Li.registerPlugin("interaction",cn),Li.registerPlugin("particle",qo),Li.registerPlugin("prepare",ao),Li.registerPlugin("batch",$i),Li.registerPlugin("tilingSprite",Qo),No.registerPlugin(ta),No.registerPlugin(Vo),fo.registerPlugin(Ye),fo.registerPlugin(Bo);var Ca={AlphaFilter:ea,BlurFilter:aa,BlurFilterPass:oa,ColorMatrixFilter:sa,DisplacementFilter:la,FXAAFilter:ua,NoiseFilter:ha};return t.AbstractBatchRenderer=Gi,t.AbstractRenderer=ji,t.AnimatedSprite=Pa,t.AppLoaderPlugin=Bo,t.Application=fo,t.Attribute=wr,t.BLEND_MODES=_t,t.BaseRenderTexture=mr,t.BaseTexture=ir,t.BatchDrawCall=Hi,t.BatchGeometry=Yi,t.BatchPluginFactory=Ki,t.BatchRenderer=$i,t.BatchShaderGenerator=Vi,t.BitmapFontLoader=ta,t.BitmapText=$o,t.Bounds=ze,t.Buffer=kr,t.Circle=Ie,t.Container=je,t.CubeTexture=Xi,t.DEG_TO_RAD=pe,t.DRAW_MODES=yt,t.DisplayObject=Re,t.ENV=gt,t.Ellipse=Oe,t.FORMATS=bt,t.FillStyle=dn,t.Filter=_i,t.Framebuffer=pr,t.GC_MODES=Pt,t.GLProgram=Ai,t.GLTexture=ir,t.GRAPHICS_CURVES=pn,t.Geometry=Ir,t.Graphics=Rn,t.GraphicsData=mn,t.GraphicsGeometry=Cn,t.GroupD8=ke,t.LineStyle=An,t.Loader=No,t.LoaderResource=Uo,t.MIPMAP_MODES=St,t.Matrix=me,t.Mesh=va,t.MeshBatchUvs=da,t.MeshGeometry=ya,t.MeshMaterial=_a,t.NineSlicePlane=Sa,t.ObjectRenderer=jr,t.ObservablePoint=ue,t.PI_2=ce,t.PRECISION=Ct,t.ParticleContainer=Xo,t.ParticleRenderer=qo,t.PlaneGeometry=ba,t.Point=le,t.Polygon=Me,t.Program=fi,t.Quad=Or,t.QuadUv=Mr,t.RAD_TO_DEG=fe,t.RENDERER_TYPE=vt,t.Rectangle=Ce,t.RenderTexture=br,t.RenderTexturePool=xr,t.Renderer=Li,t.RopeGeometry=xa,t.RoundedRectangle=De,t.Runner=Ue,t.SCALE_MODES=Tt,t.SHAPES=de,t.Shader=di,t.SimpleMesh=ka,t.SimplePlane=Ta,t.SimpleRope=wa,t.Sprite=Ln,t.SpriteMaskFilter=wi,t.Spritesheet=Wo,t.SpritesheetLoader=Vo,t.State=gi,t.System=cr,t.TARGETS=xt,t.TEXT_GRADIENT=Nn,t.TYPES=wt,t.Text=Jn,t.TextMetrics=Vn,t.TextStyle=Xn,t.Texture=_r,t.TextureLoader=Lo,t.TextureMatrix=bi,t.TextureUvs=gr,t.Ticker=We,t.TickerPlugin=Ye,t.TilingSprite=Zo,t.TilingSpriteRenderer=Qo,t.Transform=Se,t.UPDATE_PRIORITY=He,t.UniformGroup=zr,t.VERSION="5.1.5",t.ViewableBuffer=qi,t.WRAP_MODES=kt,t.accessibility=Be,t.autoDetectRenderer=Ni,t.checkMaxIfStatementsInShader=li,t.defaultFilterVertex=Ui,t.defaultVertex=Bi,t.extract=rn,t.filters=Ca,t.interaction=fn,t.isMobile=d,t.prepare=co,t.resources=hr,t.settings=P,t.systems=Ri,t.useDeprecated=function(){var r=this;Object.defineProperties(r,{SVG_SIZE:{get:function(){return ae(pa,"PIXI.utils.SVG_SIZE property has moved to PIXI.resources.SVGResource.SVG_SIZE"),r.SVGResource.SVG_SIZE}},TransformStatic:{get:function(){return ae(pa,"PIXI.TransformStatic class has been removed, use PIXI.Transform"),r.Transform}},TransformBase:{get:function(){return ae(pa,"PIXI.TransformBase class has been removed, use PIXI.Transform"),r.Transform}},TRANSFORM_MODE:{get:function(){return ae(pa,"PIXI.TRANSFORM_MODE property has been removed"),{STATIC:0,DYNAMIC:1}}},WebGLRenderer:{get:function(){return ae(pa,"PIXI.WebGLRenderer class has moved to PIXI.Renderer"),r.Renderer}},CanvasRenderTarget:{get:function(){return ae(pa,"PIXI.CanvasRenderTarget class has moved to PIXI.utils.CanvasRenderTarget"),r.utils.CanvasRenderTarget}},loader:{get:function(){return ae(pa,"PIXI.loader instance has moved to PIXI.Loader.shared"),r.Loader.shared}},FilterManager:{get:function(){return ae(pa,"PIXI.FilterManager class has moved to PIXI.systems.FilterSystem"),r.systems.FilterSystem}}}),r.extras={},Object.defineProperties(r.extras,{TilingSprite:{get:function(){return ae(pa,"PIXI.extras.TilingSprite class has moved to PIXI.TilingSprite"),r.TilingSprite}},TilingSpriteRenderer:{get:function(){return ae(pa,"PIXI.extras.TilingSpriteRenderer class has moved to PIXI.TilingSpriteRenderer"),r.TilingSpriteRenderer}},AnimatedSprite:{get:function(){return ae(pa,"PIXI.extras.AnimatedSprite class has moved to PIXI.AnimatedSprite"),r.AnimatedSprite}},BitmapText:{get:function(){return ae(pa,"PIXI.extras.BitmapText class has moved to PIXI.BitmapText"),r.BitmapText}}}),Object.defineProperties(r.utils,{getSvgSize:{get:function(){return ae(pa,"PIXI.utils.getSvgSize function has moved to PIXI.resources.SVGResource.getSize"),r.SVGResource.getSize}}}),r.mesh={},Object.defineProperties(r.mesh,{Mesh:{get:function(){return ae(pa,"PIXI.mesh.Mesh class has moved to PIXI.SimpleMesh"),r.SimpleMesh}},NineSlicePlane:{get:function(){return ae(pa,"PIXI.mesh.NineSlicePlane class has moved to PIXI.NineSlicePlane"),r.NineSlicePlane}},Plane:{get:function(){return ae(pa,"PIXI.mesh.Plane class has moved to PIXI.SimplePlane"),r.SimplePlane}},Rope:{get:function(){return ae(pa,"PIXI.mesh.Rope class has moved to PIXI.SimpleRope"),r.SimpleRope}},RawMesh:{get:function(){return ae(pa,"PIXI.mesh.RawMesh class has moved to PIXI.Mesh"),r.Mesh}},CanvasMeshRenderer:{get:function(){return ae(pa,"PIXI.mesh.CanvasMeshRenderer class has moved to PIXI.CanvasMeshRenderer"),r.CanvasMeshRenderer}},MeshRenderer:{get:function(){return ae(pa,"PIXI.mesh.MeshRenderer class has moved to PIXI.MeshRenderer"),r.MeshRenderer}}}),r.particles={},Object.defineProperties(r.particles,{ParticleContainer:{get:function(){return ae(pa,"PIXI.particles.ParticleContainer class has moved to PIXI.ParticleContainer"),r.ParticleContainer}},ParticleRenderer:{get:function(){return ae(pa,"PIXI.particles.ParticleRenderer class has moved to PIXI.ParticleRenderer"),r.ParticleRenderer}}}),r.ticker={},Object.defineProperties(r.ticker,{Ticker:{get:function(){return ae(pa,"PIXI.ticker.Ticker class has moved to PIXI.Ticker"),r.Ticker}},shared:{get:function(){return ae(pa,"PIXI.ticker.shared instance has moved to PIXI.Ticker.shared"),r.Ticker.shared}}}),r.loaders={},Object.defineProperties(r.loaders,{Loader:{get:function(){return ae(pa,"PIXI.loaders.Loader class has moved to PIXI.Loader"),r.Loader}},Resource:{get:function(){return ae(pa,"PIXI.loaders.Resource class has moved to PIXI.LoaderResource"),r.LoaderResource}},bitmapFontParser:{get:function(){return ae(pa,"PIXI.loaders.bitmapFontParser function has moved to PIXI.BitmapFontLoader.use"),r.BitmapFontLoader.use}},parseBitmapFontData:{get:function(){return ae(pa,"PIXI.loaders.parseBitmapFontData function has moved to PIXI.BitmapFontLoader.parse"),r.BitmapFontLoader.parse}},spritesheetParser:{get:function(){return ae(pa,"PIXI.loaders.spritesheetParser function has moved to PIXI.SpritesheetLoader.use"),r.SpritesheetLoader.use}},getResourcePath:{get:function(){return ae(pa,"PIXI.loaders.getResourcePath property has moved to PIXI.SpritesheetLoader.getResourcePath"),r.SpritesheetLoader.getResourcePath}}}),r.Loader.addPixiMiddleware=function(t){return ae(pa,"PIXI.loaders.Loader.addPixiMiddleware function is deprecated, use PIXI.loaders.Loader.registerPlugin"),r.loaders.Loader.registerPlugin({use:t()})},Object.defineProperty(r.extract,"WebGLExtract",{get:function(){return ae(pa,"PIXI.extract.WebGLExtract method has moved to PIXI.extract.Extract"),r.extract.Extract}}),Object.defineProperty(r.prepare,"WebGLPrepare",{get:function(){return ae(pa,"PIXI.prepare.WebGLPrepare class has moved to PIXI.prepare.Prepare"),r.prepare.Prepare}}),r.Container.prototype._renderWebGL=function(t){ae(pa,"PIXI.Container._renderWebGL method has moved to PIXI.Container._render"),this._render(t)},r.Container.prototype.renderWebGL=function(t){ae(pa,"PIXI.Container.renderWebGL method has moved to PIXI.Container.render"),this.render(t)},r.DisplayObject.prototype.renderWebGL=function(t){ae(pa,"PIXI.DisplayObject.renderWebGL method has moved to PIXI.DisplayObject.render"),this.render(t)},r.Container.prototype.renderAdvancedWebGL=function(t){ae(pa,"PIXI.Container.renderAdvancedWebGL method has moved to PIXI.Container.renderAdvanced"),this.renderAdvanced(t)},Object.defineProperties(r.settings,{TRANSFORM_MODE:{get:function(){return ae(pa,"PIXI.settings.TRANSFORM_MODE property has been removed"),0},set:function(){ae(pa,"PIXI.settings.TRANSFORM_MODE property has been removed")}}});var o=r.BaseTexture;o.prototype.loadSource=function(t){ae(pa,"PIXI.BaseTexture.loadSource method has been deprecated");var e=r.resources.autoDetectResource(t);e.internal=!0,this.setResource(e),this.update()},Object.defineProperties(o.prototype,{hasLoaded:{get:function(){return ae(pa,"PIXI.BaseTexture.hasLoaded property has been removed, use PIXI.BaseTexture.valid"),this.valid}},imageUrl:{get:function(){return ae(pa,"PIXI.BaseTexture.imageUrl property has been removed, use PIXI.BaseTexture.resource.url"),this.resource&&this.resource.url},set:function(t){ae(pa,"PIXI.BaseTexture.imageUrl property has been removed, use PIXI.BaseTexture.resource.url"),this.resource&&(this.resource.url=t)}},source:{get:function(){return ae(pa,"PIXI.BaseTexture.source property has been moved, use `PIXI.BaseTexture.resource.source`"),this.resource&&this.resource.source},set:function(t){ae(pa,"PIXI.BaseTexture.source property has been moved, use `PIXI.BaseTexture.resource.source` if you want to set HTMLCanvasElement. Otherwise, create new BaseTexture."),this.resource&&(this.resource.source=t)}}}),o.fromImage=function(t,e,r,i){ae(pa,"PIXI.BaseTexture.fromImage method has been replaced with PIXI.BaseTexture.from");var n={scale:i,crossorigin:e};return o.from(t,{scaleMode:r,resourceOptions:n})},o.fromCanvas=function(t,e){return ae(pa,"PIXI.BaseTexture.fromCanvas method has been replaced with PIXI.BaseTexture.from"),o.from(t,{scaleMode:e})},o.fromSVG=function(t,e,r,i){ae(pa,"PIXI.BaseTexture.fromSVG method has been replaced with PIXI.BaseTexture.from");var n={scale:i,crossorigin:e};return o.from(t,{scaleMode:r,resourceOptions:n})},r.Point.prototype.copy=function(t){return ae(pa,"PIXI.Point.copy method has been replaced with PIXI.Point.copyFrom"),this.copyFrom(t)},r.ObservablePoint.prototype.copy=function(t){return ae(pa,"PIXI.ObservablePoint.copy method has been replaced with PIXI.ObservablePoint.copyFrom"),this.copyFrom(t)},r.Rectangle.prototype.copy=function(t){return ae(pa,"PIXI.Rectangle.copy method has been replaced with PIXI.Rectangle.copyFrom"),this.copyFrom(t)},r.Matrix.prototype.copy=function(t){return ae(pa,"PIXI.Matrix.copy method has been replaced with PIXI.Matrix.copyTo"),this.copyTo(t)},r.systems.StateSystem.prototype.setState=function(t){return ae("v5.1.0","StateSystem.setState has been renamed to StateSystem.set"),this.set(t)},Object.assign(r.systems.FilterSystem.prototype,{getRenderTarget:function(t,e){return ae(pa,"PIXI.FilterManager.getRenderTarget method has been replaced with PIXI.systems.FilterSystem#getFilterTexture"),this.getFilterTexture(e)},returnRenderTarget:function(t){ae(pa,"PIXI.FilterManager.returnRenderTarget method has been replaced with PIXI.systems.FilterSystem.returnFilterTexture"),this.returnFilterTexture(t)},calculateScreenSpaceMatrix:function(t){ae(pa,"PIXI.systems.FilterSystem.calculateScreenSpaceMatrix method is removed, use `(vTextureCoord * inputSize.xy) + outputFrame.xy` instead");var e=t.identity(),r=this.activeState,i=r.sourceFrame,n=r.destinationFrame;return e.translate(i.x/n.width,i.y/n.height),e.scale(n.width,n.height),e},calculateNormalizedScreenSpaceMatrix:function(t){ae(pa,"PIXI.systems.FilterManager.calculateNormalizedScreenSpaceMatrix method is removed, use `((vTextureCoord * inputSize.xy) + outputFrame.xy) / outputFrame.zw` instead.");var e=this.activeState,r=e.sourceFrame,i=e.destinationFrame,n=t.identity();n.translate(r.x/i.width,r.y/i.height);var o=i.width/r.width,a=i.height/r.height;return n.scale(o,a),n}}),Object.defineProperties(r.RenderTexture.prototype,{sourceFrame:{get:function(){return ae(pa,"PIXI.RenderTexture.sourceFrame property has been removed"),this.filterFrame}},size:{get:function(){return ae(pa,"PIXI.RenderTexture.size property has been removed"),this._frame}}});var t=function(n){function t(t,e,r,i){ae(pa,"PIXI.filters.BlurXFilter class is deprecated, use PIXI.filters.BlurFilterPass"),n.call(this,!0,t,e,r,i)}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t}(r.filters.BlurFilterPass),e=function(n){function t(t,e,r,i){ae(pa,"PIXI.filters.BlurYFilter class is deprecated, use PIXI.filters.BlurFilterPass"),n.call(this,!1,t,e,r,i)}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t}(r.filters.BlurFilterPass);Object.assign(r.filters,{BlurXFilter:t,BlurYFilter:e});var n=r.Sprite,a=r.Texture,i=r.Graphics;function s(t,e,r,i){return ae(pa,"PIXI.Sprite."+t+" method is deprecated, use PIXI.Sprite.from"),n.from(e,{resourceOptions:{scale:i,crossorigin:r}})}function l(t,e,r,i){return ae(pa,"PIXI.Texture."+t+" method is deprecated, use PIXI.Texture.from"),a.from(e,{resourceOptions:{scale:i,crossorigin:r}})}i.prototype.generateCanvasTexture||(i.prototype.generateCanvasTexture=function(){ae(pa,'PIXI.Graphics.generateCanvasTexture method is only available in "pixi.js-legacy"')}),Object.defineProperty(r.Graphics.prototype,"graphicsData",{get:function(){return ae(pa,"PIXI.Graphics.graphicsData property is deprecated, use PIXI.Graphics.geometry.graphicsData"),this.geometry.graphicsData}}),n.fromImage=s.bind(null,"fromImage"),n.fromSVG=s.bind(null,"fromSVG"),n.fromCanvas=s.bind(null,"fromCanvas"),n.fromVideo=s.bind(null,"fromVideo"),n.fromFrame=s.bind(null,"fromFrame"),a.fromImage=l.bind(null,"fromImage"),a.fromSVG=l.bind(null,"fromSVG"),a.fromCanvas=l.bind(null,"fromCanvas"),a.fromVideo=l.bind(null,"fromVideo"),a.fromFrame=l.bind(null,"fromFrame"),Object.defineProperty(r.AbstractRenderer.prototype,"autoResize",{get:function(){return ae(pa,"PIXI.AbstractRenderer.autoResize property is deprecated, use PIXI.AbstractRenderer.autoDensity"),this.autoDensity},set:function(t){ae(pa,"PIXI.AbstractRenderer.autoResize property is deprecated, use PIXI.AbstractRenderer.autoDensity"),this.autoDensity=t}}),Object.defineProperty(r.Renderer.prototype,"textureManager",{get:function(){return ae(pa,"PIXI.Renderer.textureManager property is deprecated, use PIXI.Renderer.texture"),this.texture}}),r.utils.mixins={mixin:function(){ae(pa,"PIXI.utils.mixins.mixin function is no longer available")},delayMixin:function(){ae(pa,"PIXI.utils.mixins.delayMixin function is no longer available")},performMixins:function(){ae(pa,"PIXI.utils.mixins.performMixins function is no longer available")}}},t.utils=se,t}({}),e;PIXI.useDeprecated(),e||(e=eval("(function() { try { return Module || {} } catch(e) { return {} } })()"));var aa={},k;for(k in e)e.hasOwnProperty(k)&&(aa[k]=e[k]);var ba="object"==typeof window,ca="function"==typeof importScripts,da="object"==typeof process&&"function"==typeof require&&!ba&&!ca,ea=!ba&&!da&&!ca;if(da){e.print||(e.print=function(t){process.stdout.write(t+"\n")}),e.printErr||(e.printErr=function(t){process.stderr.write(t+"\n")});var fa=require("fs"),ga=require("path");e.read=function(t,e){t=ga.normalize(t);var r=fa.readFileSync(t);return r||t==ga.resolve(t)||(t=path.join(__dirname,"..","src",t),r=fa.readFileSync(t)),r&&!e&&(r=r.toString()),r},e.readBinary=function(t){return(t=e.read(t,!0)).buffer||(t=new Uint8Array(t)),assert(t.buffer),t},e.load=function(t){ha(read(t))},e.thisProgram||(e.thisProgram=1<process.argv.length?process.argv[1].replace(/\\/g,"/"):"unknown-program"),e.arguments=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=e),process.on("uncaughtException",function(t){if(!(t instanceof ia))throw t}),e.inspect=function(){return"[Emscripten Module object]"}}else if(ea)e.print||(e.print=print),"undefined"!=typeof printErr&&(e.printErr=printErr),e.read="undefined"!=typeof read?read:function(){throw"no read() available (jsc?)"},e.readBinary=function(t){return"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(assert("object"==typeof(t=read(t,"binary"))),t)},"undefined"!=typeof scriptArgs?e.arguments=scriptArgs:"undefined"!=typeof arguments&&(e.arguments=arguments),eval("if (typeof gc === 'function' && gc.toString().indexOf('[native code]') > 0) var gc = undefined");else{if(!ba&&!ca)throw"Unknown runtime environment. Where are we?";e.read=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},"undefined"!=typeof arguments&&(e.arguments=arguments),"undefined"!=typeof console?(e.print||(e.print=function(t){console.log(t)}),e.printErr||(e.printErr=function(t){console.log(t)})):e.print||(e.print=function(){}),ca&&(e.load=importScripts),void 0===e.setWindowTitle&&(e.setWindowTitle=function(t){document.title=t})}function ha(t){eval.call(null,t)}for(k in!e.load&&e.read&&(e.load=function(t){ha(e.read(t))}),e.print||(e.print=function(){}),e.printErr||(e.printErr=e.print),e.arguments||(e.arguments=[]),e.thisProgram||(e.thisProgram="./this.program"),e.print=e.print,e.W=e.printErr,e.preRun=[],e.postRun=[],aa)aa.hasOwnProperty(k)&&(e[k]=aa[k]);var n={rb:function(t){ka=t},fb:function(){return ka},ua:function(){return m},ba:function(t){m=t},Ka:function(t){switch(t){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:return"*"===t[t.length-1]?n.J:"i"===t[0]?(assert(0==(t=parseInt(t.substr(1)))%8),t/8):0}},eb:function(t){return Math.max(n.Ka(t),n.J)},ud:16,Qd:function(t,e){return"double"===e||"i64"===e?7&t&&(assert(4==(7&t)),t+=4):assert(0==(3&t)),t},Ed:function(t,e,r){return r||"i64"!=t&&"double"!=t?t?Math.min(e||(t?n.eb(t):0),n.J):Math.min(e,8):8},L:function(t,r,i){return i&&i.length?(i.splice||(i=Array.prototype.slice.call(i)),i.splice(0,0,r),e["dynCall_"+t].apply(null,i)):e["dynCall_"+t].call(null,r)},Z:[],Xa:function(t){for(var e=0;e<n.Z.length;e++)if(!n.Z[e])return n.Z[e]=t,2*(1+e);throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."},nb:function(t){n.Z[(t-2)/2]=null},O:function(t){n.O.ta||(n.O.ta={}),n.O.ta[t]||(n.O.ta[t]=1,e.W(t))},ma:{},Hd:function(t,e){assert(e),n.ma[e]||(n.ma[e]={});var r=n.ma[e];return r[t]||(r[t]=function(){return n.L(e,t,arguments)}),r[t]},Fd:function(){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"},aa:function(t){var e=m;return m=(m=m+t|0)+15&-16,e},Ra:function(t){var e=la;return la=(la=la+t|0)+15&-16,e},R:function(e){var i=r;return t<=(r=(r=r+e|0)+15&-16)&&!ma()?(r=i,0):i},ja:function(t,e){return Math.ceil(t/(e||16))*(e||16)},Nd:function(t,e,r){return r?+(t>>>0)+4294967296*+(e>>>0):+(t>>>0)+4294967296*+(0|e)},Ua:8,J:4,vd:0};e.Runtime=n,n.addFunction=n.Xa,n.removeFunction=n.nb;var na=!1,oa,pa,ka,ra,sa;function assert(t,e){t||x("Assertion failed: "+e)}function qa(a){var b=e["_"+a];if(!b)try{b=eval("_"+a)}catch(t){}return assert(b,"Cannot call unknown function "+a+" (perhaps LLVM optimizations or closure removed it?)"),b}function wa(t,e,r){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":y[t>>0]=e;break;case"i16":z[t>>1]=e;break;case"i32":C[t>>2]=e;break;case"i64":pa=[e>>>0,(oa=e,1<=+xa(oa)?0<oa?(0|ya(+za(oa/4294967296),4294967295))>>>0:~~+Aa((oa-+(~~oa>>>0))/4294967296)>>>0:0)],C[t>>2]=pa[0],C[t+4>>2]=pa[1];break;case"float":Ba[t>>2]=e;break;case"double":Ca[t>>3]=e;break;default:x("invalid type for setValue: "+r)}}function Da(t,e){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return y[t>>0];case"i16":return z[t>>1];case"i32":case"i64":return C[t>>2];case"float":return Ba[t>>2];case"double":return Ca[t>>3];default:x("invalid type for setValue: "+e)}return null}function D(t,e,r,i){var o,a;a="number"==typeof t?(o=!0,t):(o=!1,t.length);var s,l,u="string"==typeof e?e:null;if(r=4==r?i:[Ea,n.aa,n.Ra,n.R][void 0===r?2:r](Math.max(a,u?1:e.length)),o){for(assert(0==(3&(i=r))),t=r+(-4&a);i<t;i+=4)C[i>>2]=0;for(t=r+a;i<t;)y[i++>>0]=0;return r}if("i8"===u)return t.subarray||t.slice?E.set(t,r):E.set(new Uint8Array(t),r),r;for(i=0;i<a;){var h=t[i];"function"==typeof h&&(h=n.Id(h)),0===(o=u||e[i])?i++:("i64"==o&&(o="i32"),wa(r+i,h,o),l!==o&&(s=n.Ka(o),l=o),i+=s)}return r}function va(t,r){if(0===r||!t)return"";for(var i,n=0,o=0;(n|=i=E[t+o>>0],0!=i||r)&&(o++,!r||o!=r););if(r||(r=o),i="",n<128){for(;0<r;)n=String.fromCharCode.apply(String,E.subarray(t,t+Math.min(r,1024))),i=i?i+n:n,t+=1024,r-=1024;return i}return e.UTF8ToString(t)}function Ja(t,e){for(var r,i,n,o,a,s="";;){if(!(r=t[e++]))return s;128&r?(i=63&t[e++],192==(224&r)?s+=String.fromCharCode((31&r)<<6|i):(n=63&t[e++],(r=224==(240&r)?(15&r)<<12|i<<6|n:(o=63&t[e++],240==(248&r)?(7&r)<<18|i<<12|n<<6|o:(a=63&t[e++],248==(252&r)?(3&r)<<24|i<<18|n<<12|o<<6|a:(1&r)<<30|i<<24|n<<18|o<<12|a<<6|63&t[e++])))<65536?s+=String.fromCharCode(r):(r-=65536,s+=String.fromCharCode(55296|r>>10,56320|1023&r)))):s+=String.fromCharCode(r)}}function Ka(t,e,r,i){if(!(0<i))return 0;var n=r;i=r+i-1;for(var o=0;o<t.length;++o){var a=t.charCodeAt(o);if(55296<=a&&a<=57343&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++o)),a<=127){if(i<=r)break;e[r++]=a}else{if(a<=2047){if(i<=r+1)break;e[r++]=192|a>>6}else{if(a<=65535){if(i<=r+2)break;e[r++]=224|a>>12}else{if(a<=2097151){if(i<=r+3)break;e[r++]=240|a>>18}else{if(a<=67108863){if(i<=r+4)break;e[r++]=248|a>>24}else{if(i<=r+5)break;e[r++]=252|a>>30,e[r++]=128|a>>24&63}e[r++]=128|a>>18&63}e[r++]=128|a>>12&63}e[r++]=128|a>>6&63}e[r++]=128|63&a}}return e[r]=0,r-n}function La(t){for(var e=0,r=0;r<t.length;++r){var i=t.charCodeAt(r);55296<=i&&i<=57343&&(i=65536+((1023&i)<<10)|1023&t.charCodeAt(++r)),i<=127?++e:e=i<=2047?e+2:i<=65535?e+3:i<=2097151?e+4:i<=67108863?e+5:e+6}return e}function Ma(h){var t=!!e.___cxa_demangle;if(t)try{var r=Ea(h.length);ua(h.substr(1),r);var i=Ea(4),o=e.___cxa_demangle(r,0,0,i);if(0===Da(i,"i32")&&o)return va(o)}catch(t){}finally{r&&Na(r),i&&Na(i),o&&Na(o)}var c=3,f={v:"void",b:"bool",c:"char",s:"short",i:"int",l:"long",f:"float",d:"double",w:"wchar_t",a:"signed char",h:"unsigned char",t:"unsigned short",j:"unsigned int",m:"unsigned long",x:"long long",y:"unsigned long long",z:"..."},p=[],d=!0;r=h;try{if("Object._main"==h||"_main"==h)return"main()";if("number"==typeof h&&(h=va(h)),"_"!==h[0]||"_"!==h[1]||"Z"!==h[2])return h;switch(h[3]){case"n":return"operator new()";case"d":return"operator delete()"}r=function t(e,r,i){r=r||1/0;var n,o="",a=[];if("N"===h[c]){for("K"===h[++c]&&c++,n=[];"E"!==h[c];)if("S"===h[c]){c++;var s=h.indexOf("_",c);n.push(p[h.substring(c,s)||0]||"?"),c=s+1}else if("C"===h[c])n.push(n[n.length-1]),c+=2;else{var l=(s=parseInt(h.substr(c))).toString().length;if(!s||!l){c--;break}var u=h.substr(c+l,s);n.push(u),p.push(u),c+=l+s}if(c++,n=n.join("::"),0==--r)return e?[n]:n}else("K"===h[c]||d&&"L"===h[c])&&c++,(s=parseInt(h.substr(c)))&&(l=s.toString().length,n=h.substr(c+l,s),c+=l+s);d=!1,"I"===h[c]?(c++,s=t(!0),o+=(l=t(!0,1,!0))[0]+" "+n+"<"+s.join(", ")+">"):o=n;t:for(;c<h.length&&0<r--;)if(n=h[c++],n in f)a.push(f[n]);else switch(n){case"P":a.push(t(!0,1,!0)[0]+"*");break;case"R":a.push(t(!0,1,!0)[0]+"&");break;case"L":c++,s=h.indexOf("E",c)-c,a.push(h.substr(c,s)),c+=s+2;break;case"A":if(s=parseInt(h.substr(c)),c+=s.toString().length,"_"!==h[c])throw"?";c++,a.push(t(!0,1,!0)[0]+" ["+s+"]");break;case"E":break t;default:o+="?"+n;break t}return i||1!==a.length||"void"!==a[0]||(a=[]),e?(o&&a.push(o+"?"),a):o+"("+a.join(", ")+")"}()}catch(t){r+="?"}return 0<=r.indexOf("?")&&!t&&n.O("warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),r}function Oa(){return Pa().replace(/__Z[\w\d_]+/g,function(t){var e=Ma(t);return t===e?t:t+" ["+e+"]"})}function Pa(){var e=Error();if(!e.stack){try{throw Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function Qa(t){return 0<t%4096&&(t+=4096-t%4096),t}!function(){function a(t){return{arguments:(t=t.toString().match(d).slice(1))[0],body:t[1],returnValue:t[2]}}var b={stackSave:function(){n.ua()},stackRestore:function(){n.ba()},arrayToC:function(t){var e=n.aa(t.length);return ta(t,e),e},stringToC:function(t){var e=0;return null!=t&&0!==t&&ua(t,e=n.aa(1+(t.length<<2))),e}},c={string:b.stringToC,array:b.arrayToC};sa=function(t,e,r,i,o){t=qa(t);var a=[],s=0;if(i)for(var l=0;l<i.length;l++){var u=c[r[l]];u?(0===s&&(s=n.ua()),a[l]=u(i[l])):a[l]=i[l]}if(r=t.apply(null,a),"string"===e&&(r=va(r)),0!==s){if(o&&o.async)return void EmterpreterAsync.yd.push(function(){n.ba(s)});n.ba(s)}return r};var d=/^function\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/,f={},g;for(g in b)b.hasOwnProperty(g)&&(f[g]=a(b[g]));ra=function(b,c,d){d=d||[];var g=qa(b);b=d.every(function(t){return"number"===t});var q="string"!==c;if(q&&b)return g;var v=d.map(function(t,e){return"$"+e});c="(function("+v.join(",")+") {";var B=d.length;if(!b){c+="var stack = "+f.stackSave.body+";";for(var G=0;G<B;G++){var O=v[G],ja=d[G];"number"!==ja&&(ja=f[ja+"ToC"],c+="var "+ja.arguments+" = "+O+";",c+=ja.body+";",c+=O+"="+ja.returnValue+";")}}return d=a(function(){return g}).returnValue,c+="var ret = "+d+"("+v.join(",")+");",q||(d=a(function(){return va}).returnValue,c+="ret = "+d+"(ret);"),b||(c+=f.stackRestore.body.replace("()","(stack)")+";"),eval(c+"return ret})")}}(),e.ccall=sa,e.cwrap=ra,e.setValue=wa,e.getValue=Da,e.ALLOC_NORMAL=0,e.ALLOC_STACK=1,e.ALLOC_STATIC=2,e.ALLOC_DYNAMIC=3,e.ALLOC_NONE=4,e.allocate=D,e.getMemory=function(t){return Fa?void 0!==Ga&&!Ga.p||!Ha?n.R(t):Ea(t):n.Ra(t)},e.Pointer_stringify=va,e.AsciiToString=function(t){for(var e="";;){var r=y[t++>>0];if(!r)return e;e+=String.fromCharCode(r)}},e.stringToAscii=function(t,e){return Ia(t,e,!1)},e.UTF8ArrayToString=Ja,e.UTF8ToString=function(t){return Ja(E,t)},e.stringToUTF8Array=Ka,e.stringToUTF8=function(t,e,r){return Ka(t,E,e,r)},e.lengthBytesUTF8=La,e.UTF16ToString=function(t){for(var e=0,r="";;){var i=z[t+2*e>>1];if(0==i)return r;++e,r+=String.fromCharCode(i)}},e.stringToUTF16=function(t,e,r){if(void 0===r&&(r=2147483647),r<2)return 0;var i=e;r=(r-=2)<2*t.length?r/2:t.length;for(var n=0;n<r;++n)z[e>>1]=t.charCodeAt(n),e+=2;return z[e>>1]=0,e-i},e.lengthBytesUTF16=function(t){return 2*t.length},e.UTF32ToString=function(t){for(var e=0,r="";;){var i=C[t+4*e>>2];if(0==i)return r;++e,65536<=i?(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i)):r+=String.fromCharCode(i)}},e.stringToUTF32=function(t,e,r){if(void 0===r&&(r=2147483647),r<4)return 0;var i=e;r=i+r-4;for(var n=0;n<t.length;++n){if(55296<=(o=t.charCodeAt(n))&&o<=57343)var o=65536+((1023&o)<<10)|1023&t.charCodeAt(++n);if(C[e>>2]=o,r<(e+=4)+4)break}return C[e>>2]=0,e-i},e.lengthBytesUTF32=function(t){for(var e=0,r=0;r<t.length;++r){var i=t.charCodeAt(r);55296<=i&&i<=57343&&++r,e+=4}return e},e.stackTrace=function(){return Oa()};var y,E,z,Ra,C,Sa,Ba,Ca,Ta=0,la=0,Fa=!1,Ua=0,m=0,Va=0,Wa=0,r=0,Ya,buffer;function ma(){var i=Math.pow(2,31);if(i<=r)return!1;for(;t<=r;)if(t<i/2)t=Qa(2*t);else{var n=t;if((t=Qa((3*t+i)/4))<=n)return!1}if(i<=(t=Math.max(t,16777216)))return!1;try{if(ArrayBuffer.p)buffer=ArrayBuffer.p(buffer,t);else{var o=y;buffer=new ArrayBuffer(t)}}catch(t){return!1}return!!Xa(buffer)&&(e.buffer=buffer,e.HEAP8=y=new Int8Array(buffer),e.HEAP16=z=new Int16Array(buffer),e.HEAP32=C=new Int32Array(buffer),e.HEAPU8=E=new Uint8Array(buffer),e.HEAPU16=Ra=new Uint16Array(buffer),e.HEAPU32=Sa=new Uint32Array(buffer),e.HEAPF32=Ba=new Float32Array(buffer),e.HEAPF64=Ca=new Float64Array(buffer),ArrayBuffer.p||y.set(o),!0)}try{Ya=Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get),Ya(new ArrayBuffer(4))}catch(t){Ya=function(t){return t.byteLength}}for(var $a=e.TOTAL_STACK||5242880,t=e.TOTAL_MEMORY||16777216,F=65536;F<t||F<2*$a;)F=F<16777216?2*F:F+16777216;function ab(t){for(;0<t.length;){var e=t.shift();if("function"==typeof e)e();else{var r=e.ab;"number"==typeof r?void 0===e.X?n.L("v",r):n.L("vi",r,[e.X]):r(void 0===e.X?null:e.X)}}}F=Math.max(F,16777216),F!==t&&(t=F),assert("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&!!new Int32Array(1).subarray&&!!new Int32Array(1).set,"JS engine does not provide full typed array support"),buffer=new ArrayBuffer(t),y=new Int8Array(buffer),z=new Int16Array(buffer),C=new Int32Array(buffer),E=new Uint8Array(buffer),Ra=new Uint16Array(buffer),Sa=new Uint32Array(buffer),Ba=new Float32Array(buffer),Ca=new Float64Array(buffer),C[0]=255,assert(255===E[0]&&0===E[3],"Typed arrays 2 must be run on a little-endian system"),e.HEAP=void 0,e.buffer=buffer,e.HEAP8=y,e.HEAP16=z,e.HEAP32=C,e.HEAPU8=E,e.HEAPU16=Ra,e.HEAPU32=Sa,e.HEAPF32=Ba,e.HEAPF64=Ca;var bb=[],cb=[],db=[],H=[],eb=[],Ha=!1;function fb(t){bb.unshift(t)}function gb(t){eb.unshift(t)}function hb(t,e,r){return t=Ka(t,r=Array(0<r?r:La(t)+1),0,r.length),e&&(r.length=t),r}function ua(t,e,r){for(t=hb(t,r),r=0;r<t.length;)y[e+r>>0]=t[r],r+=1}function ta(t,e){for(var r=0;r<t.length;r++)y[e++>>0]=t[r]}function Ia(t,e,r){for(var i=0;i<t.length;++i)y[e++>>0]=t.charCodeAt(i);r||(y[e>>0]=0)}e.addOnPreRun=fb,e.addOnInit=function(t){cb.unshift(t)},e.addOnPreMain=function(t){db.unshift(t)},e.addOnExit=function(t){H.unshift(t)},e.addOnPostRun=gb,e.intArrayFromString=hb,e.intArrayToString=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];255<i&&(i&=255),e.push(String.fromCharCode(i))}return e.join("")},e.writeStringToMemory=ua,e.writeArrayToMemory=ta,e.writeAsciiToMemory=Ia,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(t,e){var r=65535&t,i=65535&e;return r*i+((t>>>16)*i+r*(e>>>16)<<16)|0}),Math.Jd=Math.imul,Math.clz32||(Math.clz32=function(t){t>>>=0;for(var e=0;e<32;e++)if(t&1<<31-e)return e;return 32}),Math.Ad=Math.clz32;var xa=Math.abs,Aa=Math.ceil,za=Math.floor,ya=Math.min,I=0,ib=null,jb=null;function kb(){I++,e.monitorRunDependencies&&e.monitorRunDependencies(I)}function lb(){if(I--,e.monitorRunDependencies&&e.monitorRunDependencies(I),0==I&&(null!==ib&&(clearInterval(ib),ib=null),jb)){var t=jb;jb=null,t()}}e.addRunDependency=kb,e.removeRunDependency=lb,e.preloadedImages={},e.preloadedAudios={},Ta=8,la=Ta+5888,cb.push(),D([124,0,0,0,98,7,0,0,124,0,0,0,111,7,0,0,164,0,0,0,124,7,0,0,16,0,0,0,0,0,0,0,164,0,0,0,157,7,0,0,24,0,0,0,0,0,0,0,164,0,0,0,227,7,0,0,24,0,0,0,0,0,0,0,164,0,0,0,191,7,0,0,56,0,0,0,0,0,0,0,164,0,0,0,5,8,0,0,40,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,40,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,88,0,0,0,1,0,0,0,5,0,0,0,3,0,0,0,4,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,114,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,1,0,0,236,1,0,0,236,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,4,0,0,0,239,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,4,0,0,0,231,16,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,115,40,37,117,41,58,32,65,115,115,101,114,116,105,111,110,32,102,97,105,108,117,114,101,58,32,34,37,115,34,10,0,109,95,115,105,122,101,32,60,61,32,109,95,99,97,112,97,99,105,116,121,0,46,47,99,114,110,95,100,101,99,111,109,112,46,104,0,109,105,110,95,110,101,119,95,99,97,112,97,99,105,116,121,32,60,32,40,48,120,55,70,70,70,48,48,48,48,85,32,47,32,101,108,101,109,101,110,116,95,115,105,122,101,41,0,110,101,119,95,99,97,112,97,99,105,116,121,32,38,38,32,40,110,101,119,95,99,97,112,97,99,105,116,121,32,62,32,109,95,99,97,112,97,99,105,116,121,41,0,110,117,109,95,99,111,100,101,115,91,99,93,0,115,111,114,116,101,100,95,112,111,115,32,60,32,116,111,116,97,108,95,117,115,101,100,95,115,121,109,115,0,112,67,111,100,101,115,105,122,101,115,91,115,121,109,95,105,110,100,101,120,93,32,61,61,32,99,111,100,101,115,105,122,101,0,116,32,60,32,40,49,85,32,60,60,32,116,97,98,108,101,95,98,105,116,115,41,0,109,95,108,111,111,107,117,112,91,116,93,32,61,61,32,99,85,73,78,84,51,50,95,77,65,88,0,99,114,110,100,95,109,97,108,108,111,99,58,32,115,105,122,101,32,116,111,111,32,98,105,103,0,99,114,110,100,95,109,97,108,108,111,99,58,32,111,117,116,32,111,102,32,109,101,109,111,114,121,0,40,40,117,105,110,116,51,50,41,112,95,110,101,119,32,38,32,40,67,82,78,68,95,77,73,78,95,65,76,76,79,67,95,65,76,73,71,78,77,69,78,84,32,45,32,49,41,41,32,61,61,32,48,0,99,114,110,100,95,114,101,97,108,108,111,99,58,32,98,97,100,32,112,116,114,0,99,114,110,100,95,102,114,101,101,58,32,98,97,100,32,112,116,114,0,102,97,108,115,101,0,40,116,111,116,97,108,95,115,121,109,115,32,62,61,32,49,41,32,38,38,32,40,116,111,116,97,108,95,115,121,109,115,32,60,61,32,112,114,101,102,105,120,95,99,111,100,105,110,103,58,58,99,77,97,120,83,117,112,112,111,114,116,101,100,83,121,109,115,41,0,17,18,19,20,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15,16,48,0,110,117,109,95,98,105,116,115,32,60,61,32,51,50,85,0,109,95,98,105,116,95,99,111,117,110,116,32,60,61,32,99,66,105,116,66,117,102,83,105,122,101,0,116,32,33,61,32,99,85,73,78,84,51,50,95,77,65,88,0,109,111,100,101,108,46,109,95,99,111,100,101,95,115,105,122,101,115,91,115,121,109,93,32,61,61,32,108,101,110,0,0,2,3,1,0,2,3,4,5,6,7,1,40,108,101,110,32,62,61,32,49,41,32,38,38,32,40,108,101,110,32,60,61,32,99,77,97,120,69,120,112,101,99,116,101,100,67,111,100,101,83,105,122,101,41,0,105,32,60,32,109,95,115,105,122,101,0,110,101,120,116,95,108,101,118,101,108,95,111,102,115,32,62,32,99,117,114,95,108,101,118,101,108,95,111,102,115,0,1,2,2,3,3,3,3,4,0,0,0,0,0,0,1,1,0,1,0,1,0,0,1,2,1,2,0,0,0,1,0,2,1,0,2,0,0,1,2,3,110,117,109,32,38,38,32,40,110,117,109,32,61,61,32,126,110,117,109,95,99,104,101,99,107,41,0,83,116,57,101,120,99,101,112,116,105,111,110,0,83,116,57,116,121,112,101,95,105,110,102,111,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,57,95,95,112,111,105,110,116,101,114,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,112,98,97,115,101,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,112,116,104,114,101,97,100,95,111,110,99,101,32,102,97,105,108,117,114,101,32,105,110,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,95,102,97,115,116,40,41,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,114,101,116,117,114,110,101,100,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,112,116,104,114,101,97,100,32,107,101,121,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,99,97,110,110,111,116,32,122,101,114,111,32,111,117,116,32,116,104,114,101,97,100,32,118,97,108,117,101,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,58,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,102,111,114,101,105,103,110,32,101,120,99,101,112,116,105,111,110,0,116,101,114,109,105,110,97,116,105,110,103,0,117,110,99,97,117,103,104,116,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,46,0],"i8",4,n.Ua);var mb=n.ja(D(12,"i8",2),8);function ob(t){return e.___errno_location&&(C[e.___errno_location()>>2]=t),t}assert(0==mb%8),e._i64Subtract=nb;var J={I:1,F:2,ed:3,bc:4,H:5,Aa:6,vb:7,zc:8,ea:9,Jb:10,va:11,qd:11,Ta:12,da:13,Vb:14,Lc:15,fa:16,wa:17,rd:18,ha:19,ya:20,P:21,q:22,uc:23,Sa:24,Q:25,nd:26,Wb:27,Hc:28,ia:29,bd:30,nc:31,Vc:32,Sb:33,Zc:34,Dc:42,Zb:43,Kb:44,ec:45,fc:46,gc:47,mc:48,od:49,xc:50,dc:51,Pb:35,Ac:37,Bb:52,Eb:53,sd:54,vc:55,Fb:56,Gb:57,Qb:35,Hb:59,Jc:60,yc:61,kd:62,Ic:63,Ec:64,Fc:65,ad:66,Bc:67,yb:68,gd:69,Lb:70,Wc:71,pc:72,Tb:73,Db:74,Qc:76,Cb:77,$c:78,hc:79,ic:80,lc:81,kc:82,jc:83,Kc:38,za:39,qc:36,ga:40,Rc:95,Uc:96,Ob:104,wc:105,zb:97,Yc:91,Oc:88,Gc:92,cd:108,Nb:111,wb:98,Mb:103,tc:101,rc:100,ld:110,Xb:112,Yb:113,ac:115,Ab:114,Rb:89,oc:90,Xc:93,dd:94,xb:99,sc:102,cc:106,Mc:107,md:109,pd:87,Ub:122,hd:116,Pc:95,Cc:123,$b:84,Sc:75,Ib:125,Nc:131,Tc:130,jd:86};function pb(t,e){H.push(function(){n.L("vi",t,[e])}),pb.level=H.length}function tb(){return!!tb.p}e._memset=qb,e._bitshift64Lshr=rb,e._bitshift64Shl=sb;var ub=[],vb={};function wb(t,e){wb.p||(wb.p={}),t in wb.p||(n.L("v",e),wb.p[t]=1)}var xb={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};function yb(t,e){for(var r=0,i=t.length-1;0<=i;i--){var n=t[i];"."===n?t.splice(i,1):".."===n?(t.splice(i,1),r++):r&&(t.splice(i,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function zb(t){var e="/"===t.charAt(0),r="/"===t.substr(-1);return(t=yb(t.split("/").filter(function(t){return!!t}),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t}function Ab(t){var e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1);return t=e[0],e=e[1],t||e?(e&&(e=e.substr(0,e.length-1)),t+e):"."}function Bb(t){if("/"===t)return"/";var e=t.lastIndexOf("/");return-1===e?t:t.substr(e+1)}function Cb(){return zb(Array.prototype.slice.call(arguments,0).join("/"))}function K(t,e){return zb(t+"/"+e)}function Db(){for(var t="",e=!1,r=arguments.length-1;-1<=r&&!e;r--){if("string"!=typeof(e=0<=r?arguments[r]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!e)return"";t=e+"/"+t,e="/"===e.charAt(0)}return(e?"/":"")+(t=yb(t.split("/").filter(function(t){return!!t}),!e).join("/"))||"."}var Eb=[];function Fb(t,e){Eb[t]={input:[],output:[],N:e},Gb(t,Hb)}var Hb={open:function(t){var e=Eb[t.g.rdev];if(!e)throw new L(J.ha);t.tty=e,t.seekable=!1},close:function(t){t.tty.N.flush(t.tty)},flush:function(t){t.tty.N.flush(t.tty)},read:function(t,e,r,i){if(!t.tty||!t.tty.N.La)throw new L(J.Aa);for(var n=0,o=0;o<i;o++){var a;try{a=t.tty.N.La(t.tty)}catch(t){throw new L(J.H)}if(void 0===a&&0===n)throw new L(J.va);if(null==a)break;n++,e[r+o]=a}return n&&(t.g.timestamp=Date.now()),n},write:function(t,e,r,i){if(!t.tty||!t.tty.N.qa)throw new L(J.Aa);for(var n=0;n<i;n++)try{t.tty.N.qa(t.tty,e[r+n])}catch(t){throw new L(J.H)}return i&&(t.g.timestamp=Date.now()),n}},Ib={La:function(t){if(!t.input.length){var e=null;if(da){var r,i=new Buffer(256),n=process.stdin.fd,o=!1;try{n=fs.openSync("/dev/stdin","r"),o=!0}catch(t){}r=fs.readSync(n,i,0,256,null),o&&fs.closeSync(n),e=0<r?i.slice(0,r).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(e=window.prompt("Input: "))&&(e+="\n"):"function"==typeof readline&&(null!==(e=readline())&&(e+="\n"));if(!e)return null;t.input=hb(e,!0)}return t.input.shift()},qa:function(t,r){null===r||10===r?(e.print(Ja(t.output,0)),t.output=[]):0!=r&&t.output.push(r)},flush:function(t){t.output&&0<t.output.length&&(e.print(Ja(t.output,0)),t.output=[])}},Jb={qa:function(t,r){null===r||10===r?(e.printErr(Ja(t.output,0)),t.output=[]):0!=r&&t.output.push(r)},flush:function(t){t.output&&0<t.output.length&&(e.printErr(Ja(t.output,0)),t.output=[])}},M={C:null,A:function(){return M.createNode(null,"/",16895,0)},createNode:function(t,e,r,i){if(24576==(61440&r)||4096==(61440&r))throw new L(J.I);return M.C||(M.C={dir:{g:{D:M.k.D,u:M.k.u,lookup:M.k.lookup,T:M.k.T,rename:M.k.rename,unlink:M.k.unlink,rmdir:M.k.rmdir,readdir:M.k.readdir,symlink:M.k.symlink},stream:{G:M.n.G}},file:{g:{D:M.k.D,u:M.k.u},stream:{G:M.n.G,read:M.n.read,write:M.n.write,Ba:M.n.Ba,Na:M.n.Na,Pa:M.n.Pa}},link:{g:{D:M.k.D,u:M.k.u,readlink:M.k.readlink},stream:{}},Ea:{g:{D:M.k.D,u:M.k.u},stream:Kb}}),N((r=Lb(t,e,r,i)).mode)?(r.k=M.C.dir.g,r.n=M.C.dir.stream,r.e={}):32768==(61440&r.mode)?(r.k=M.C.file.g,r.n=M.C.file.stream,r.o=0,r.e=null):40960==(61440&r.mode)?(r.k=M.C.link.g,r.n=M.C.link.stream):8192==(61440&r.mode)&&(r.k=M.C.Ea.g,r.n=M.C.Ea.stream),r.timestamp=Date.now(),t&&(t.e[e]=r),r},cb:function(t){if(t.e&&t.e.subarray){for(var e=[],r=0;r<t.o;++r)e.push(t.e[r]);return e}return t.e},Gd:function(t){return t.e?t.e.subarray?t.e.subarray(0,t.o):new Uint8Array(t.e):new Uint8Array},Ga:function(t,e){if(t.e&&t.e.subarray&&e>t.e.length&&(t.e=M.cb(t),t.o=t.e.length),!t.e||t.e.subarray){var r=t.e?t.e.buffer.byteLength:0;e<=r||(e=Math.max(e,r*(r<1048576?2:1.125)|0),0!=r&&(e=Math.max(e,256)),r=t.e,t.e=new Uint8Array(e),0<t.o&&t.e.set(r.subarray(0,t.o),0))}else for(!t.e&&0<e&&(t.e=[]);t.e.length<e;)t.e.push(0)},ob:function(t,e){if(t.o!=e)if(0==e)t.e=null,t.o=0;else{if(!t.e||t.e.subarray){var r=t.e;t.e=new Uint8Array(new ArrayBuffer(e)),r&&t.e.set(r.subarray(0,Math.min(e,t.o)))}else if(t.e||(t.e=[]),t.e.length>e)t.e.length=e;else for(;t.e.length<e;)t.e.push(0);t.o=e}},k:{D:function(t){var e={};return e.dev=8192==(61440&t.mode)?t.id:1,e.ino=t.id,e.mode=t.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=t.rdev,N(t.mode)?e.size=4096:32768==(61440&t.mode)?e.size=t.o:40960==(61440&t.mode)?e.size=t.link.length:e.size=0,e.atime=new Date(t.timestamp),e.mtime=new Date(t.timestamp),e.ctime=new Date(t.timestamp),e.K=4096,e.blocks=Math.ceil(e.size/e.K),e},u:function(t,e){void 0!==e.mode&&(t.mode=e.mode),void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.size&&M.ob(t,e.size)},lookup:function(){throw Mb[J.F]},T:function(t,e,r,i){return M.createNode(t,e,r,i)},rename:function(t,e,r){if(N(t.mode)){var i;try{i=Nb(e,r)}catch(t){}if(i)for(var n in i.e)throw new L(J.za)}delete t.parent.e[t.name],t.name=r,(e.e[r]=t).parent=e},unlink:function(t,e){delete t.e[e]},rmdir:function(t,e){var r,i=Nb(t,e);for(r in i.e)throw new L(J.za);delete t.e[e]},readdir:function(t){var e,r=[".",".."];for(e in t.e)t.e.hasOwnProperty(e)&&r.push(e);return r},symlink:function(t,e,r){return(t=M.createNode(t,e,41471,0)).link=r,t},readlink:function(t){if(40960!=(61440&t.mode))throw new L(J.q);return t.link}},n:{read:function(t,e,r,i,n){var o=t.g.e;if(n>=t.g.o)return 0;if(assert(0<=(t=Math.min(t.g.o-n,i))),8<t&&o.subarray)e.set(o.subarray(n,n+t),r);else for(i=0;i<t;i++)e[r+i]=o[n+i];return t},write:function(t,e,r,i,n,o){if(!i)return 0;if((t=t.g).timestamp=Date.now(),e.subarray&&(!t.e||t.e.subarray)){if(o)return t.e=e.subarray(r,r+i),t.o=i;if(0===t.o&&0===n)return t.e=new Uint8Array(e.subarray(r,r+i)),t.o=i;if(n+i<=t.o)return t.e.set(e.subarray(r,r+i),n),i}if(M.Ga(t,n+i),t.e.subarray&&e.subarray)t.e.set(e.subarray(r,r+i),n);else for(o=0;o<i;o++)t.e[n+o]=e[r+o];return t.o=Math.max(t.o,n+i),i},G:function(t,e,r){if(1===r?e+=t.position:2===r&&32768==(61440&t.g.mode)&&(e+=t.g.o),e<0)throw new L(J.q);return e},Ba:function(t,e,r){M.Ga(t.g,e+r),t.g.o=Math.max(t.g.o,e+r)},Na:function(t,e,r,i,n,o,a){if(32768!=(61440&t.g.mode))throw new L(J.ha);if(r=t.g.e,2&a||r.buffer!==e&&r.buffer!==e.buffer){if((0<n||n+i<t.g.o)&&(r=r.subarray?r.subarray(n,n+i):Array.prototype.slice.call(r,n,n+i)),t=!0,!(i=Ea(i)))throw new L(J.Ta);e.set(r,i)}else t=!1,i=r.byteOffset;return{Rd:i,xd:t}},Pa:function(t,e,r,i,n){if(32768!=(61440&t.g.mode))throw new L(J.ha);return 2&n||M.n.write(t,e,0,i,r,!1),0}}},P={$:!1,sb:function(){P.$=!!process.platform.match(/^win/)},A:function(t){return assert(da),P.createNode(null,"/",P.Ja(t.pa.root),0)},createNode:function(t,e,r){if(!N(r)&&32768!=(61440&r)&&40960!=(61440&r))throw new L(J.q);return(t=Lb(t,e,r)).k=P.k,t.n=P.n,t},Ja:function(t){var e;try{e=fs.lstatSync(t),P.$&&(e.mode=e.mode|(146&e.mode)>>1)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}return e.mode},B:function(t){for(var e=[];t.parent!==t;)e.push(t.name),t=t.parent;return e.push(t.A.pa.root),e.reverse(),Cb.apply(null,e)},Ha:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},$a:function(t){if((t&=-32769)in P.Ha)return P.Ha[t];throw new L(J.q)},k:{D:function(t){var e;t=P.B(t);try{e=fs.lstatSync(t)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}return P.$&&!e.K&&(e.K=4096),P.$&&!e.blocks&&(e.blocks=(e.size+e.K-1)/e.K|0),{dev:e.dev,ino:e.ino,mode:e.mode,nlink:e.nlink,uid:e.uid,gid:e.gid,rdev:e.rdev,size:e.size,atime:e.atime,mtime:e.mtime,ctime:e.ctime,K:e.K,blocks:e.blocks}},u:function(t,e){var r=P.B(t);try{void 0!==e.mode&&(fs.chmodSync(r,e.mode),t.mode=e.mode),void 0!==e.size&&fs.truncateSync(r,e.size)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},lookup:function(t,e){var r=K(P.B(t),e);r=P.Ja(r);return P.createNode(t,e,r)},T:function(t,e,r,i){t=P.createNode(t,e,r,i),e=P.B(t);try{N(t.mode)?fs.mkdirSync(e,t.mode):fs.writeFileSync(e,"",{mode:t.mode})}catch(t){if(!t.code)throw t;throw new L(J[t.code])}return t},rename:function(t,e,r){t=P.B(t),e=K(P.B(e),r);try{fs.renameSync(t,e)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},unlink:function(t,e){var r=K(P.B(t),e);try{fs.unlinkSync(r)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},rmdir:function(t,e){var r=K(P.B(t),e);try{fs.rmdirSync(r)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},readdir:function(t){t=P.B(t);try{return fs.readdirSync(t)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},symlink:function(t,e,r){t=K(P.B(t),e);try{fs.symlinkSync(r,t)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},readlink:function(t){var e=P.B(t);try{return e=fs.readlinkSync(e),e=Ob.relative(Ob.resolve(t.A.pa.root),e)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}}},n:{open:function(t){var e=P.B(t.g);try{32768==(61440&t.g.mode)&&(t.V=fs.openSync(e,P.$a(t.flags)))}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},close:function(t){try{32768==(61440&t.g.mode)&&t.V&&fs.closeSync(t.V)}catch(t){if(!t.code)throw t;throw new L(J[t.code])}},read:function(t,e,r,i,n){if(0===i)return 0;var o,a=new Buffer(i);try{o=fs.readSync(t.V,a,0,i,n)}catch(t){throw new L(J[t.code])}if(0<o)for(t=0;t<o;t++)e[r+t]=a[t];return o},write:function(t,e,r,i,n){var o;e=new Buffer(e.subarray(r,r+i));try{o=fs.writeSync(t.V,e,0,i,n)}catch(t){throw new L(J[t.code])}return o},G:function(t,e,r){if(1===r)e+=t.position;else if(2===r&&32768==(61440&t.g.mode))try{e+=fs.fstatSync(t.V).size}catch(t){throw new L(J[t.code])}if(e<0)throw new L(J.q);return e}}};D(1,"i32*",2),D(1,"i32*",2),D(1,"i32*",2);var Pb=null,Qb=[null],Rb=[],Sb=1,Q=null,Tb=!0,R={},L=null,Mb={};function S(t,e){if(e=e||{},!(t=Db("/",t)))return{path:"",g:null};var r,i={Ia:!0,ra:0};for(r in i)void 0===e[r]&&(e[r]=i[r]);if(8<e.ra)throw new L(J.ga);i=yb(t.split("/").filter(function(t){return!!t}),!1);var n=Pb;r="/";for(var o=0;o<i.length;o++){var a=o===i.length-1;if(a&&e.parent)break;if(n=Nb(n,i[o]),r=K(r,i[o]),n.U&&(!a||a&&e.Ia)&&(n=n.U.root),!a||e.la)for(a=0;40960==(61440&n.mode);)if(n=Vb(r),n=S(r=Db(Ab(r),n),{ra:e.ra}).g,40<a++)throw new L(J.ga)}return{path:r,g:n}}function T(t){for(var e;;){if(t===t.parent)return t=t.A.Oa,e?"/"!==t[t.length-1]?t+"/"+e:t+e:t;e=e?t.name+"/"+e:t.name,t=t.parent}}function Wb(t,e){for(var r=0,i=0;i<e.length;i++)r=(r<<5)-r+e.charCodeAt(i)|0;return(t+r>>>0)%Q.length}function Xb(t){var e=Wb(t.parent.id,t.name);t.M=Q[e],Q[e]=t}function Nb(t,e){var r;if(r=(r=Yb(t,"x"))?r:t.k.lookup?0:J.da)throw new L(r,t);for(r=Q[Wb(t.id,e)];r;r=r.M){var i=r.name;if(r.parent.id===t.id&&i===e)return r}return t.k.lookup(t,e)}function Lb(t,e,r,i){return Zb||((Zb=function(t,e,r,i){t||(t=this),this.parent=t,this.A=t.A,this.U=null,this.id=Sb++,this.name=e,this.mode=r,this.k={},this.n={},this.rdev=i}).prototype={},Object.defineProperties(Zb.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(t){t?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(t){t?this.mode|=146:this.mode&=-147}},kb:{get:function(){return N(this.mode)}},jb:{get:function(){return 8192==(61440&this.mode)}}})),Xb(t=new Zb(t,e,r,i)),t}function N(t){return 16384==(61440&t)}var $b={r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218};function Yb(t,e){return Tb?0:(-1===e.indexOf("r")||292&t.mode)&&(-1===e.indexOf("w")||146&t.mode)&&(-1===e.indexOf("x")||73&t.mode)?0:J.da}function ac(t,e){try{return Nb(t,e),J.wa}catch(t){}return Yb(t,"wx")}function bc(){for(var t=0;t<=4096;t++)if(!Rb[t])return t;throw new L(J.Sa)}function cc(t){dc||((dc=function(){}).prototype={},Object.defineProperties(dc.prototype,{object:{get:function(){return this.g},set:function(t){this.g=t}},Ld:{get:function(){return 1!=(2097155&this.flags)}},Md:{get:function(){return 0!=(2097155&this.flags)}},Kd:{get:function(){return 1024&this.flags}}}));var e,r=new dc;for(e in t)r[e]=t[e];return t=r,r=bc(),t.fd=r,Rb[r]=t}var Kb={open:function(t){t.n=Qb[t.g.rdev].n,t.n.open&&t.n.open(t)},G:function(){throw new L(J.ia)}},qc;function Gb(t,e){Qb[t]={n:e}}function ec(t,e){var r,i="/"===e,n=!e;if(i&&Pb)throw new L(J.fa);if(!i&&!n){if(e=(r=S(e,{Ia:!1})).path,(r=r.g).U)throw new L(J.fa);if(!N(r.mode))throw new L(J.ya)}n={type:t,pa:{},Oa:e,lb:[]};var o=t.A(n);(o.A=n).root=o,i?Pb=o:r&&(r.U=n,r.A&&r.A.lb.push(n))}function fc(t,e,r){var i=S(t,{parent:!0}).g;if(!(t=Bb(t))||"."===t||".."===t)throw new L(J.q);var n=ac(i,t);if(n)throw new L(n);if(!i.k.T)throw new L(J.I);return i.k.T(i,t,e,r)}function gc(t,e){return e=4095&(void 0!==e?e:438),fc(t,e|=32768,0)}function V(t,e){return e=1023&(void 0!==e?e:511),fc(t,e|=16384,0)}function hc(t,e,r){return void 0===r&&(r=e,e=438),fc(t,8192|e,r)}function ic(t,e){if(!Db(t))throw new L(J.F);var r=S(e,{parent:!0}).g;if(!r)throw new L(J.F);var i=Bb(e),n=ac(r,i);if(n)throw new L(n);if(!r.k.symlink)throw new L(J.I);return r.k.symlink(r,i,t)}function Vb(t){if(!(t=S(t).g))throw new L(J.F);if(!t.k.readlink)throw new L(J.q);return Db(T(t.parent),t.k.readlink(t))}function jc(t,e){var r;if(!(r="string"==typeof t?S(t,{la:!0}).g:t).k.u)throw new L(J.I);r.k.u(r,{mode:4095&e|-4096&r.mode,timestamp:Date.now()})}function kc(r,t){var i,n,o;if(""===r)throw new L(J.F);if("string"==typeof t){if(void 0===(n=$b[t]))throw Error("Unknown file open mode: "+t)}else n=t;if(i=64&(t=n)?4095&(void 0===i?438:i)|32768:0,"object"==typeof r)o=r;else{r=zb(r);try{o=S(r,{la:!(131072&t)}).g}catch(t){}}if(n=!1,64&t)if(o){if(128&t)throw new L(J.wa)}else o=fc(r,i,0),n=!0;if(!o)throw new L(J.F);if(8192==(61440&o.mode)&&(t&=-513),65536&t&&!N(o.mode))throw new L(J.ya);if(!n&&(i=o?40960==(61440&o.mode)?J.ga:N(o.mode)&&(0!=(2097155&t)||512&t)?J.P:(i=["r","w","rw"][3&t],512&t&&(i+="w"),Yb(o,i)):J.F))throw new L(i);if(512&t){var a;if(!(a="string"==typeof(i=o)?S(i,{la:!0}).g:i).k.u)throw new L(J.I);if(N(a.mode))throw new L(J.P);if(32768!=(61440&a.mode))throw new L(J.q);if(i=Yb(a,"w"))throw new L(i);a.k.u(a,{size:0,timestamp:Date.now()})}t&=-641,(o=cc({g:o,path:T(o),flags:t,seekable:!0,position:0,n:o.n,tb:[],error:!1})).n.open&&o.n.open(o),!e.logReadFiles||1&t||(lc||(lc={}),r in lc||(lc[r]=1,e.printErr("read file: "+r)));try{R.onOpenFile&&(a=0,1!=(2097155&t)&&(a|=1),0!=(2097155&t)&&(a|=2),R.onOpenFile(r,a))}catch(t){console.log("FS.trackingDelegate['onOpenFile']('"+r+"', flags) threw an exception: "+t.message)}return o}function mc(t){t.na&&(t.na=null);try{t.n.close&&t.n.close(t)}catch(t){throw t}finally{Rb[t.fd]=null}}function nc(t,e,r){if(!t.seekable||!t.n.G)throw new L(J.ia);t.position=t.n.G(t,e,r),t.tb=[]}function oc(t,e,r,i,n,o){if(i<0||n<0)throw new L(J.q);if(0==(2097155&t.flags))throw new L(J.ea);if(N(t.g.mode))throw new L(J.P);if(!t.n.write)throw new L(J.q);1024&t.flags&&nc(t,0,2);var a=!0;if(void 0===n)n=t.position,a=!1;else if(!t.seekable)throw new L(J.ia);e=t.n.write(t,e,r,i,n,o),a||(t.position+=e);try{t.path&&R.onWriteToFile&&R.onWriteToFile(t.path)}catch(t){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+t.message)}return e}function pc(){L||((L=function(t,e){this.g=e,this.qb=function(t){for(var e in this.S=t,J)if(J[e]===t){this.code=e;break}},this.qb(t),this.message=xb[t]}).prototype=Error(),L.prototype.constructor=L,[J.F].forEach(function(t){Mb[t]=new L(t),Mb[t].stack="<generic error, no stack>"}))}function rc(t,e){var r=0;return t&&(r|=365),e&&(r|=146),r}function sc(t,e,r,i){return gc(t=K("string"==typeof t?t:T(t),e),rc(r,i))}function tc(t,e,r,i,n,o){if(n=gc(t=e?K("string"==typeof t?t:T(t),e):t,i=rc(i,n)),r){if("string"==typeof r){t=Array(r.length),e=0;for(var a=r.length;e<a;++e)t[e]=r.charCodeAt(e);r=t}jc(n,146|i),oc(t=kc(n,"w"),r,0,r.length,0,o),mc(t),jc(n,i)}return n}function W(t,e,s,o){t=K("string"==typeof t?t:T(t),e),e=rc(!!s,!!o),W.Ma||(W.Ma=64);var r=W.Ma++<<8|0;return Gb(r,{open:function(t){t.seekable=!1},close:function(){o&&o.buffer&&o.buffer.length&&o(10)},read:function(t,e,r,i){for(var n=0,o=0;o<i;o++){var a;try{a=s()}catch(t){throw new L(J.H)}if(void 0===a&&0===n)throw new L(J.va);if(null==a)break;n++,e[r+o]=a}return n&&(t.g.timestamp=Date.now()),n},write:function(t,e,r,i){for(var n=0;n<i;n++)try{o(e[r+n])}catch(t){throw new L(J.H)}return i&&(t.g.timestamp=Date.now()),n}}),hc(t,e,r)}function uc(t){if(t.jb||t.kb||t.link||t.e)return!0;var r=!0;if("undefined"!=typeof XMLHttpRequest)throw Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!e.read)throw Error("Cannot load without read() or XMLHttpRequest.");try{t.e=hb(e.read(t.url),!0),t.o=t.e.length}catch(t){r=!1}return r||ob(J.H),r}var vc={},Zb,dc,lc,wc=0;function X(){return C[(wc+=4)-4>>2]}function xc(){var t;if(t=X(),!(t=Rb[t]))throw new L(J.ea);return t}var yc={};function Ga(t){Ga.p||(r=Qa(r),Ga.p=!0,assert(n.R),Ga.bb=n.R,n.R=function(){x("cannot dynamically allocate, sbrk now has control")});var e=r;return 0==t||Ga.bb(t)?e:4294967295}e._i64Add=zc;var Ac=1;function Cc(t,e){if(Dc=t,Ec=e,!Fc)return 1;if(0==t)Y=function(){setTimeout(Gc,e)},Hc="timeout";else if(1==t)Y=function(){Ic(Gc)},Hc="rAF";else if(2==t){if(!window.setImmediate){var r=[];window.addEventListener("message",function(t){t.source===window&&"__emcc"===t.data&&(t.stopPropagation(),r.shift()())},!0),window.setImmediate=function(t){r.push(t),window.postMessage("__emcc","*")}}Y=function(){window.setImmediate(Gc)},Hc="immediate"}return 0}function Jc(a,t,r,s,i){e.noExitRuntime=!0,assert(!Fc,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Fc=a,Kc=s;var l=Lc;if(Gc=function(){if(!na)if(0<Mc.length){var t=Date.now(),r=Mc.shift();if(r.ab(r.X),Nc){var i=Nc,o=0==i%1?i-1:Math.floor(i);Nc=r.Bd?o:(8*i+(o+.5))/9}console.log('main loop blocker "'+r.name+'" took '+(Date.now()-t)+" ms"),Oc(),setTimeout(Gc,0)}else l<Lc||(Pc=Pc+1|0,1==Dc&&1<Ec&&0!=Pc%Ec?Y():("timeout"===Hc&&e.ka&&(e.W("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Hc=""),Qc(function(){void 0!==s?n.L("vi",a,[s]):n.L("v",a)}),l<Lc||("object"==typeof SDL&&SDL.audio&&SDL.audio.mb&&SDL.audio.mb(),Y())))},i||(t&&0<t?Cc(0,1e3/t):Cc(1,1),Y()),r)throw"SimulateInfiniteLoop"}e._memcpy=Bc;var Y=null,Hc="",Lc=0,Fc=null,Kc=0,Dc=0,Ec=0,Pc=0,Mc=[];function Oc(){if(e.setStatus){var t=e.statusMessage||"Please wait...",r=Nc,i=Rc.Dd;r?r<i?e.setStatus(t+" ("+(i-r)+"/"+i+")"):e.setStatus(t):e.setStatus("")}}function Qc(t){if(!(na||e.preMainLoop&&!1===e.preMainLoop())){try{t()}catch(t){if(t instanceof ia)return;throw t&&"object"==typeof t&&t.stack&&e.W("exception thrown: "+[t,t.stack]),t}e.postMainLoop&&e.postMainLoop()}}var Rc={},Gc,Nc,Sc=!1,Tc=!1,Uc=[];function Vc(){function t(){Tc=document.pointerLockElement===r||document.mozPointerLockElement===r||document.webkitPointerLockElement===r||document.msPointerLockElement===r}if(e.preloadPlugins||(e.preloadPlugins=[]),!Wc){Wc=!0;try{Xc=!0}catch(t){Xc=!1,console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Yc="undefined"!=typeof MozBlobBuilder?MozBlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:Xc?null:console.log("warning: no BlobBuilder"),Zc="undefined"!=typeof window?window.URL?window.URL:window.webkitURL:void 0,e.Qa||void 0!==Zc||(console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),e.Qa=!0),e.preloadPlugins.push({canHandle:function(t){return!e.Qa&&/\.(jpg|jpeg|png|bmp)$/i.test(t)},handle:function(r,i,o,t){var a=null;if(Xc)try{(a=new Blob([r],{type:$c(i)})).size!==r.length&&(a=new Blob([new Uint8Array(r).buffer],{type:$c(i)}))}catch(t){n.O("Blob constructor present but fails: "+t+"; falling back to blob builder")}a||((a=new Yc).append(new Uint8Array(r).buffer),a=a.getBlob());var s=Zc.createObjectURL(a),l=new Image;l.onload=function(){assert(l.complete,"Image "+i+" could not be decoded");var t=document.createElement("canvas");t.width=l.width,t.height=l.height,t.getContext("2d").drawImage(l,0,0),e.preloadedImages[i]=t,Zc.revokeObjectURL(s),o&&o(r)},l.onerror=function(){console.log("Image "+s+" could not be decoded"),t&&t()},l.src=s}}),e.preloadPlugins.push({canHandle:function(t){return!e.Pd&&t.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},handle:function(o,a,r,t){function s(t){l||(l=!0,e.preloadedAudios[a]=t,r&&r(o))}function i(){l||(l=!0,e.preloadedAudios[a]=new Audio,t&&t())}var l=!1;if(!Xc)return i();try{var n=new Blob([o],{type:$c(a)})}catch(t){return i()}n=Zc.createObjectURL(n);var u=new Audio;u.addEventListener("canplaythrough",function(){s(u)},!1),u.onerror=function(){if(!l){console.log("warning: browser could not fully decode audio "+a+", trying slower base64 approach");for(var t="",e=0,r=0,i=0;i<o.length;i++)for(e=e<<8|o[i],r+=8;6<=r;){var n=e>>r-6&63;r=r-6,t=t+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[n]}2==r?(t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(3&e)<<4],t+="=="):4==r&&(t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(15&e)<<2],t+="="),u.src="data:audio/x-"+a.substr(-3)+";base64,"+t,s(u)}},u.src=n,ad(function(){s(u)})}});var r=e.canvas;r&&(r.sa=r.requestPointerLock||r.mozRequestPointerLock||r.webkitRequestPointerLock||r.msRequestPointerLock||function(){},r.Fa=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},r.Fa=r.Fa.bind(document),document.addEventListener("pointerlockchange",t,!1),document.addEventListener("mozpointerlockchange",t,!1),document.addEventListener("webkitpointerlockchange",t,!1),document.addEventListener("mspointerlockchange",t,!1),e.elementPointerLock&&r.addEventListener("click",function(t){!Tc&&r.sa&&(r.sa(),t.preventDefault())},!1))}}function bd(t,r,i,n){if(r&&e.ka&&t==e.canvas)return e.ka;var o,a;if(r){if(a={antialias:!1,alpha:!1},n)for(var s in n)a[s]=n[s];(a=GL.createContext(t,a))&&(o=GL.getContext(a).td),t.style.backgroundColor="black"}else o=t.getContext("2d");return o?(i&&(r||assert("undefined"==typeof GLctx,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),e.ka=o,r&&GL.Od(a),e.Td=r,Uc.forEach(function(t){t()}),Vc()),o):null}var cd=!1,dd=void 0,ed=void 0;function fd(t,r,i){function n(){Sc=!1;var t=o.parentNode;(document.webkitFullScreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.mozFullscreenElement||document.fullScreenElement||document.fullscreenElement||document.msFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement)===t?(o.Da=document.cancelFullScreen||document.mozCancelFullScreen||document.webkitCancelFullScreen||document.msExitFullscreen||document.exitFullscreen||function(){},o.Da=o.Da.bind(document),dd&&o.sa(),Sc=!0,ed&&gd()):(t.parentNode.insertBefore(o,t),t.parentNode.removeChild(t),ed&&hd()),e.onFullScreen&&e.onFullScreen(Sc),id(o)}void 0===(dd=t)&&(dd=!0),void 0===(ed=r)&&(ed=!1),void 0===(jd=i)&&(jd=null);var o=e.canvas;cd||(cd=!0,document.addEventListener("fullscreenchange",n,!1),document.addEventListener("mozfullscreenchange",n,!1),document.addEventListener("webkitfullscreenchange",n,!1),document.addEventListener("MSFullscreenChange",n,!1));var a=document.createElement("div");o.parentNode.insertBefore(a,o),a.appendChild(o),a.p=a.requestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen||(a.webkitRequestFullScreen?function(){a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),i?a.p({Ud:i}):a.p()}var kd=0;function ld(t){var e=Date.now();if(0===kd)kd=e+1e3/60;else for(;kd<=e+2;)kd+=1e3/60;e=Math.max(kd-e,0),setTimeout(t,e)}function Ic(t){"undefined"==typeof window?ld(t):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||ld),window.requestAnimationFrame(t))}function ad(t){e.noExitRuntime=!0,setTimeout(function(){na||t()},1e4)}function $c(t){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[t.substr(t.lastIndexOf(".")+1)]}function md(t,e,r){var i=new XMLHttpRequest;i.open("GET",t,!0),i.responseType="arraybuffer",i.onload=function(){200==i.status||0==i.status&&i.response?e(i.response):r()},i.onerror=r,i.send(null)}function nd(e,r,t){md(e,function(t){assert(t,'Loading data file "'+e+'" failed (no arrayBuffer).'),r(new Uint8Array(t)),lb()},function(){if(!t)throw'Loading data file "'+e+'" failed.';t()}),kb()}var od=[],Wc,Xc,Yc,Zc,jd;function pd(){var r=e.canvas;od.forEach(function(t){t(r.width,r.height)})}function gd(){if("undefined"!=typeof SDL){var t=Sa[SDL.screen+0*n.J>>2];C[SDL.screen+0*n.J>>2]=8388608|t}pd()}function hd(){if("undefined"!=typeof SDL){var t=Sa[SDL.screen+0*n.J>>2];C[SDL.screen+0*n.J>>2]=-8388609&t}pd()}function id(t,r,i){r&&i?(t.ub=r,t.hb=i):(r=t.ub,i=t.hb);var n=r,o=i;if(e.forcedAspectRatio&&0<e.forcedAspectRatio&&(n/o<e.forcedAspectRatio?n=Math.round(o*e.forcedAspectRatio):o=Math.round(n/e.forcedAspectRatio)),(document.webkitFullScreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.mozFullscreenElement||document.fullScreenElement||document.fullscreenElement||document.msFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement)===t.parentNode&&"undefined"!=typeof screen){var a=Math.min(screen.width/n,screen.height/o);n=Math.round(n*a),o=Math.round(o*a)}ed?(t.width!=n&&(t.width=n),t.height!=o&&(t.height=o),void 0!==t.style&&(t.style.removeProperty("width"),t.style.removeProperty("height"))):(t.width!=r&&(t.width=r),t.height!=i&&(t.height=i),void 0!==t.style&&(n!=r||o!=i?(t.style.setProperty("width",n+"px","important"),t.style.setProperty("height",o+"px","important")):(t.style.removeProperty("width"),t.style.removeProperty("height"))))}if(pc(),Q=Array(4096),ec(M,"/"),V("/tmp"),V("/home"),V("/home/web_user"),function(){var t;if(V("/dev"),Gb(259,{read:function(){return 0},write:function(t,e,r,i){return i}}),hc("/dev/null",259),Fb(1280,Ib),Fb(1536,Jb),hc("/dev/tty",1280),hc("/dev/tty1",1536),"undefined"!=typeof crypto){var e=new Uint8Array(1);t=function(){return crypto.getRandomValues(e),e[0]}}else t=da?function(){return require("crypto").randomBytes(1)[0]}:function(){return 256*Math.random()|0};W("/dev","random",t),W("/dev","urandom",t),V("/dev/shm"),V("/dev/shm/tmp")}(),V("/proc"),V("/proc/self"),V("/proc/self/fd"),ec({A:function(){var t=Lb("/proc/self","fd",16895,73);return t.k={lookup:function(t,e){var r=Rb[+e];if(!r)throw new L(J.ea);var i={parent:null,A:{Oa:"fake"},k:{readlink:function(){return r.path}}};return i.parent=i}},t}},"/proc/self/fd"),cb.unshift(function(){if(!e.noFSInit&&!qc){assert(!qc,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),qc=!0,pc(),e.stdin=e.stdin,e.stdout=e.stdout,e.stderr=e.stderr,e.stdin?W("/dev","stdin",e.stdin):ic("/dev/tty","/dev/stdin"),e.stdout?W("/dev","stdout",null,e.stdout):ic("/dev/tty","/dev/stdout"),e.stderr?W("/dev","stderr",null,e.stderr):ic("/dev/tty1","/dev/stderr");var t=kc("/dev/stdin","r");assert(0===t.fd,"invalid handle for stdin ("+t.fd+")"),assert(1===(t=kc("/dev/stdout","w")).fd,"invalid handle for stdout ("+t.fd+")"),assert(2===(t=kc("/dev/stderr","w")).fd,"invalid handle for stderr ("+t.fd+")")}}),db.push(function(){Tb=!1}),H.push(function(){qc=!1;var t=e._fflush;for(t&&t(0),t=0;t<Rb.length;t++){var r=Rb[t];r&&mc(r)}}),e.FS_createFolder=function(t,e,r,i){return V(t=K("string"==typeof t?t:T(t),e),rc(r,i))},e.FS_createPath=function(t,e){t="string"==typeof t?t:T(t);for(var r=e.split("/").reverse();r.length;){var i=r.pop();if(i){var n=K(t,i);try{V(n)}catch(t){}t=n}}return n},e.FS_createDataFile=tc,e.FS_createPreloadedFile=function(o,a,t,s,l,u,h,c,f,p){function r(r){function i(t){p&&p(),c||tc(o,a,t,s,l,f),u&&u(),lb()}var n=!1;e.preloadPlugins.forEach(function(t){!n&&t.canHandle(d)&&(t.handle(r,d,i,function(){h&&h(),lb()}),n=!0)}),n||i(r)}Vc();var d=a?Db(K(o,a)):o;kb(),"string"==typeof t?nd(t,function(t){r(t)},h):r(t)},e.FS_createLazyFile=function(t,e,l,r,i){var n,o;function a(){this.oa=!1,this.Y=[]}if(a.prototype.get=function(t){if(!(t>this.length-1||t<0)){var e=t%this.chunkSize;return this.gb(t/this.chunkSize|0)[e]}},a.prototype.pb=function(t){this.gb=t},a.prototype.Ca=function(){var t=new XMLHttpRequest;if(t.open("HEAD",l,!1),t.send(null),!(200<=t.status&&t.status<300||304===t.status))throw Error("Couldn't load "+l+". Status: "+t.status);var e,o=Number(t.getResponseHeader("Content-length")),a=1048576;(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e||(a=o);var s=this;s.pb(function(t){var e=t*a,r=(t+1)*a-1;r=Math.min(r,o-1);if(void 0===s.Y[t]){var i=s.Y;if(r<e)throw Error("invalid range ("+e+", "+r+") or no bytes requested!");if(o-1<r)throw Error("only "+o+" bytes available! programmer error!");var n=new XMLHttpRequest;if(n.open("GET",l,!1),o!==a&&n.setRequestHeader("Range","bytes="+e+"-"+r),"undefined"!=typeof Uint8Array&&(n.responseType="arraybuffer"),n.overrideMimeType&&n.overrideMimeType("text/plain; charset=x-user-defined"),n.send(null),!(200<=n.status&&n.status<300||304===n.status))throw Error("Couldn't load "+l+". Status: "+n.status);e=void 0!==n.response?new Uint8Array(n.response||[]):hb(n.responseText||"",!0),i[t]=e}if(void 0===s.Y[t])throw Error("doXHR failed!");return s.Y[t]}),this.Wa=o,this.Va=a,this.oa=!0},"undefined"!=typeof XMLHttpRequest){if(!ca)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";n=new a,Object.defineProperty(n,"length",{get:function(){return this.oa||this.Ca(),this.Wa}}),Object.defineProperty(n,"chunkSize",{get:function(){return this.oa||this.Ca(),this.Va}}),o=void 0}else o=l,n=void 0;var s=sc(t,e,r,i);n?s.e=n:o&&(s.e=null,s.url=o),Object.defineProperty(s,"usedBytes",{get:function(){return this.e.length}});var u={};return Object.keys(s.n).forEach(function(t){var e=s.n[t];u[t]=function(){if(!uc(s))throw new L(J.H);return e.apply(null,arguments)}}),u.read=function(t,e,r,i,n){if(!uc(s))throw new L(J.H);if(n>=(t=t.g.e).length)return 0;if(assert(0<=(i=Math.min(t.length-n,i))),t.slice)for(var o=0;o<i;o++)e[r+o]=t[n+o];else for(o=0;o<i;o++)e[r+o]=t.get(n+o);return i},s.n=u,s},e.FS_createLink=function(t,e,r){return ic(r,t=K("string"==typeof t?t:T(t),e))},e.FS_createDevice=W,e.FS_unlink=function(e){var r,t=S(e,{parent:!0}).g,i=Bb(e),n=Nb(t,i);t:{try{r=Nb(t,i)}catch(t){r=t.S;break t}var o=Yb(t,"wx");r=o||(N(r.mode)?J.P:0)}if(r)throw r===J.P&&(r=J.I),new L(r);if(!t.k.unlink)throw new L(J.I);if(n.U)throw new L(J.fa);try{R.willDeletePath&&R.willDeletePath(e)}catch(t){console.log("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}if(t.k.unlink(t,i),t=Wb(n.parent.id,n.name),Q[t]===n)Q[t]=n.M;else for(t=Q[t];t;){if(t.M===n){t.M=n.M;break}t=t.M}try{R.onDeletePath&&R.onDeletePath(e)}catch(t){console.log("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},cb.unshift(function(){}),H.push(function(){}),da){var fs=require("fs"),Ob=require("path");P.sb()}e.requestFullScreen=function(t,e,r){fd(t,e,r)},e.requestAnimationFrame=function(t){Ic(t)},e.setCanvasSize=function(t,r,i){id(e.canvas,t,r),i||pd()},e.pauseMainLoop=function(){Y=null,Lc++},e.resumeMainLoop=function(){Lc++;var t=Dc,e=Ec;Jc(Fc,0,!1,Kc,!(Fc=null)),Cc(t,e),Y()},e.getUserMedia=function(){window.p||(window.p=navigator.getUserMedia||navigator.mozGetUserMedia),window.p(void 0)},e.createContext=function(t,e,r,i){return bd(t,e,r,i)},Ua=m=n.ja(la),Fa=!0,Va=Ua+$a,Wa=r=n.ja(Va),assert(Wa<t,"TOTAL_MEMORY not big enough for stack");var qd=D([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",3);e.Ya={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0,byteLength:Ya},e.Za={abort:x,assert:assert,invoke_iiii:function(t,r,i,n){try{return e.dynCall_iiii(t,r,i,n)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_viiiii:function(t,r,i,n,o,a){try{e.dynCall_viiiii(t,r,i,n,o,a)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_vi:function(t,r){try{e.dynCall_vi(t,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_ii:function(t,r){try{return e.dynCall_ii(t,r)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_viii:function(t,r,i,n){try{e.dynCall_viii(t,r,i,n)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_v:function(t){try{e.dynCall_v(t)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_viiiiii:function(t,r,i,n,o,a,s){try{e.dynCall_viiiiii(t,r,i,n,o,a,s)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_iiiiii:function(t,r,i,n,o,a){try{return e.dynCall_iiiiii(t,r,i,n,o,a)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},invoke_viiii:function(t,r,i,n,o){try{e.dynCall_viiii(t,r,i,n,o)}catch(t){if("number"!=typeof t&&"longjmp"!==t)throw t;Z.setThrew(1,0)}},_pthread_cleanup_pop:function(){assert(pb.level==H.length,"cannot pop if something else added meanwhile!"),H.pop(),pb.level=H.length},___syscall54:function(t,e){wc=e;try{var r=xc(),i=X();switch(i){case 21505:case 21506:return r.tty?0:-J.Q;case 21519:if(!r.tty)return-J.Q;var n=X();return C[n>>2]=0;case 21520:return r.tty?-J.q:-J.Q;case 21531:if(n=X(),!r.n.ib)throw new L(J.Q);return r.n.ib(r,i,n);default:x("bad ioctl syscall "+i)}}catch(t){return void 0!==vc&&t instanceof L||x(t),-t.S}},___syscall6:function(t,e){wc=e;try{return mc(xc()),0}catch(t){return void 0!==vc&&t instanceof L||x(t),-t.S}},_emscripten_set_main_loop_timing:Cc,__ZSt18uncaught_exceptionv:tb,___setErrNo:ob,_sbrk:Ga,___cxa_begin_catch:function(t){var e;tb.p--,ub.push(t);t:{if(t&&!vb[t])for(e in vb)if(vb[e].wd===t)break t;e=t}return e&&vb[e].Sd++,t},_emscripten_memcpy_big:function(t,e,r){return E.set(E.subarray(e,e+r),t),t},_sysconf:function(t){switch(t){case 30:return 4096;case 85:return F/4096;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return ob(J.q),-1},_pthread_getspecific:function(t){return yc[t]||0},_pthread_self:function(){return 0},_pthread_once:wb,_pthread_key_create:function(t){return 0==t?J.q:(C[t>>2]=Ac,yc[Ac]=0,Ac++,0)},___unlock:function(){},_emscripten_set_main_loop:Jc,_pthread_setspecific:function(t,e){return t in yc?(yc[t]=e,0):J.q},___lock:function(){},_abort:function(){e.abort()},_pthread_cleanup_push:pb,_time:function(t){var e=Date.now()/1e3|0;return t&&(C[t>>2]=e),e},___syscall140:function(t,e){wc=e;try{var r=xc(),i=X(),n=X(),o=X(),a=X();return assert(0===i),nc(r,n,a),C[o>>2]=r.position,r.na&&0===n&&0===a&&(r.na=null),0}catch(t){return void 0!==vc&&t instanceof L||x(t),-t.S}},___syscall146:function(t,e){wc=e;try{var r,i=xc(),n=X();t:{for(var o=X(),a=0,s=0;s<o;s++){var l=oc(i,y,C[n+8*s>>2],C[n+(8*s+4)>>2],void 0);if(l<0){r=-1;break t}a+=l}r=a}return r}catch(t){return void 0!==vc&&t instanceof L||x(t),-t.S}},STACKTOP:m,STACK_MAX:Va,tempDoublePtr:mb,ABORT:na,cttz_i8:qd};var Z=function(t,e,r){"use asm";var i=t.Int8Array;var n=t.Int16Array;var o=t.Int32Array;var a=t.Uint8Array;var s=t.Uint16Array;var l=t.Uint32Array;var u=t.Float32Array;var h=t.Float64Array;var pt=new i(r);var $=new n(r);var dt=new o(r);var mt=new a(r);var gt=new s(r);var c=new l(r);var f=new u(r);var tt=new h(r);var p=t.byteLength;var vt=e.STACKTOP|0;var d=e.STACK_MAX|0;var et=e.tempDoublePtr|0;var m=e.ABORT|0;var g=e.cttz_i8|0;var v=0;var _=0;var y=0;var b=0;var x=t.NaN,w=t.Infinity;var T=0,k=0,S=0,P=0,C=0.0,A=0,E=0,I=0,O=0.0;var rt=0;var M=0;var D=0;var z=0;var R=0;var F=0;var j=0;var L=0;var N=0;var B=0;var U=t.Math.floor;var X=t.Math.abs;var H=t.Math.sqrt;var q=t.Math.pow;var W=t.Math.cos;var G=t.Math.sin;var V=t.Math.tan;var Y=t.Math.acos;var Z=t.Math.asin;var J=t.Math.atan;var K=t.Math.atan2;var Q=t.Math.exp;var it=t.Math.log;var nt=t.Math.ceil;var _t=t.Math.imul;var ot=t.Math.min;var at=t.Math.clz32;var st=e.abort;var lt=e.assert;var ut=e.invoke_iiii;var ht=e.invoke_viiiii;var ct=e.invoke_vi;var ft=e.invoke_ii;var yt=e.invoke_viii;var bt=e.invoke_v;var xt=e.invoke_viiiiii;var wt=e.invoke_iiiiii;var Tt=e.invoke_viiii;var kt=e._pthread_cleanup_pop;var St=e.___syscall54;var Pt=e.___syscall6;var Ct=e._emscripten_set_main_loop_timing;var At=e.__ZSt18uncaught_exceptionv;var Et=e.___setErrNo;var It=e._sbrk;var Ot=e.___cxa_begin_catch;var Mt=e._emscripten_memcpy_big;var Dt=e._sysconf;var zt=e._pthread_getspecific;var Rt=e._pthread_self;var Ft=e._pthread_once;var jt=e._pthread_key_create;var Lt=e.___unlock;var Nt=e._emscripten_set_main_loop;var Bt=e._pthread_setspecific;var Ut=e.___lock;var Xt=e._abort;var Ht=e._pthread_cleanup_push;var qt=e._time;var Wt=e.___syscall140;var Gt=e.___syscall146;var Vt=0.0;function Yt(t){if(p(t)&16777215||p(t)<=16777215||p(t)>2147483648)return false;pt=new i(t);$=new n(t);dt=new o(t);mt=new a(t);gt=new s(t);c=new l(t);f=new u(t);tt=new h(t);r=t;return true}function Zt(t){t=t|0;var e=0;e=vt;vt=vt+t|0;vt=vt+15&-16;return e|0}function Jt(){return vt|0}function Kt(t){t=t|0;vt=t}function Qt(t,e){t=t|0;e=e|0;vt=t;d=e}function $t(t,e){t=t|0;e=e|0;if(!v){v=t;_=e}}function te(t){t=t|0;pt[et>>0]=pt[t>>0];pt[et+1>>0]=pt[t+1>>0];pt[et+2>>0]=pt[t+2>>0];pt[et+3>>0]=pt[t+3>>0]}function ee(t){t=t|0;pt[et>>0]=pt[t>>0];pt[et+1>>0]=pt[t+1>>0];pt[et+2>>0]=pt[t+2>>0];pt[et+3>>0]=pt[t+3>>0];pt[et+4>>0]=pt[t+4>>0];pt[et+5>>0]=pt[t+5>>0];pt[et+6>>0]=pt[t+6>>0];pt[et+7>>0]=pt[t+7>>0]}function re(t){t=t|0;rt=t}function ie(){return rt|0}function ne(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0;m=vt;vt=vt+608|0;f=m+88|0;c=m+72|0;l=m+64|0;s=m+48|0;a=m+24|0;o=m;h=m+96|0;p=m+92|0;u=t+4|0;d=t+8|0;if((dt[u>>2]|0)>>>0>(dt[d>>2]|0)>>>0){dt[o>>2]=1154;dt[o+4>>2]=2120;dt[o+8>>2]=1133;br(h,1100,o)|0;yr(h,m+16|0)|0}if((2147418112/(i>>>0)|0)>>>0<=e>>>0){dt[a>>2]=1154;dt[a+4>>2]=2121;dt[a+8>>2]=1169;br(h,1100,a)|0;yr(h,m+40|0)|0}a=dt[d>>2]|0;if(a>>>0>=e>>>0){d=1;vt=m;return d|0}do{if(r){if(e){o=e+-1|0;if(!(o&e)){o=11;break}else e=o}else e=-1;e=e>>>16|e;e=e>>>8|e;e=e>>>4|e;e=e>>>2|e;e=(e>>>1|e)+1|0;o=10}else o=10}while(0);if((o|0)==10)if(!e){e=0;o=12}else o=11;if((o|0)==11)if(e>>>0<=a>>>0)o=12;if((o|0)==12){dt[s>>2]=1154;dt[s+4>>2]=2130;dt[s+8>>2]=1217;br(h,1100,s)|0;yr(h,l)|0}r=_t(e,i)|0;do{if(!n){o=oe(dt[t>>2]|0,r,p,1)|0;if(!o){d=0;vt=m;return d|0}else{dt[t>>2]=o;break}}else{a=ae(r,p)|0;if(!a){d=0;vt=m;return d|0}Ii[n&0](a,dt[t>>2]|0,dt[u>>2]|0);o=dt[t>>2]|0;do{if(o)if(!(o&7)){Di[dt[104>>2]&1](o,0,0,1,dt[27]|0)|0;break}else{dt[c>>2]=1154;dt[c+4>>2]=2499;dt[c+8>>2]=1516;br(h,1100,c)|0;yr(h,f)|0;break}}while(0);dt[t>>2]=a}}while(0);o=dt[p>>2]|0;if(o>>>0>r>>>0)e=(o>>>0)/(i>>>0)|0;dt[d>>2]=e;d=1;vt=m;return d|0}function oe(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0;u=vt;vt=vt+592|0;l=u+48|0;o=u+24|0;n=u;s=u+72|0;a=u+68|0;if(t&7){dt[n>>2]=1154;dt[n+4>>2]=2499;dt[n+8>>2]=1494;br(s,1100,n)|0;yr(s,u+16|0)|0;l=0;vt=u;return l|0}if(e>>>0>2147418112){dt[o>>2]=1154;dt[o+4>>2]=2499;dt[o+8>>2]=1387;br(s,1100,o)|0;yr(s,u+40|0)|0;l=0;vt=u;return l|0}dt[a>>2]=e;i=Di[dt[104>>2]&1](t,e,a,i,dt[27]|0)|0;if(r)dt[r>>2]=dt[a>>2];if(!(i&7)){l=i;vt=u;return l|0}dt[l>>2]=1154;dt[l+4>>2]=2551;dt[l+8>>2]=1440;br(s,1100,l)|0;yr(s,u+64|0)|0;l=i;vt=u;return l|0}function ae(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0;l=vt;vt=vt+592|0;a=l+48|0;s=l+24|0;r=l;o=l+72|0;n=l+68|0;i=t+3&-4;i=(i|0)!=0?i:4;if(i>>>0>2147418112){dt[r>>2]=1154;dt[r+4>>2]=2499;dt[r+8>>2]=1387;br(o,1100,r)|0;yr(o,l+16|0)|0;s=0;vt=l;return s|0}dt[n>>2]=i;r=Di[dt[104>>2]&1](0,i,n,1,dt[27]|0)|0;t=dt[n>>2]|0;if(e)dt[e>>2]=t;if((r|0)==0|t>>>0<i>>>0){dt[s>>2]=1154;dt[s+4>>2]=2499;dt[s+8>>2]=1413;br(o,1100,s)|0;yr(o,l+40|0)|0;s=0;vt=l;return s|0}if(!(r&7)){s=r;vt=l;return s|0}dt[a>>2]=1154;dt[a+4>>2]=2526;dt[a+8>>2]=1440;br(o,1100,a)|0;yr(o,l+64|0)|0;s=r;vt=l;return s|0}function se(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0;L=vt;vt=vt+960|0;R=L+232|0;z=L+216|0;D=L+208|0;M=L+192|0;O=L+184|0;I=L+168|0;E=L+160|0;A=L+144|0;S=L+136|0;k=L+120|0;T=L+112|0;w=L+96|0;y=L+88|0;_=L+72|0;v=L+64|0;g=L+48|0;c=L+40|0;p=L+24|0;f=L+16|0;h=L;C=L+440|0;F=L+376|0;j=L+304|0;m=L+236|0;if((e|0)==0|i>>>0>11){t=0;vt=L;return t|0}dt[t>>2]=e;n=j;o=n+68|0;do{dt[n>>2]=0;n=n+4|0}while((n|0)<(o|0));o=0;do{n=pt[r+o>>0]|0;if(n<<24>>24){P=j+((n&255)<<2)|0;dt[P>>2]=(dt[P>>2]|0)+1}o=o+1|0}while((o|0)!=(e|0));o=0;u=1;a=0;s=-1;l=0;while(1){n=dt[j+(u<<2)>>2]|0;if(!n)dt[t+28+(u+-1<<2)>>2]=0;else{P=u+-1|0;dt[F+(P<<2)>>2]=o;o=n+o|0;x=16-u|0;dt[t+28+(P<<2)>>2]=(o+-1<<x|(1<<x)+-1)+1;dt[t+96+(P<<2)>>2]=l;dt[m+(u<<2)>>2]=l;a=a>>>0>u>>>0?a:u;s=s>>>0<u>>>0?s:u;l=n+l|0}u=u+1|0;if((u|0)==17){P=a;break}else o=o<<1}dt[t+4>>2]=l;o=t+172|0;do{if(l>>>0>(dt[o>>2]|0)>>>0){dt[o>>2]=l;if(l){n=l+-1|0;if(n&l)d=14}else{n=-1;d=14}if((d|0)==14){x=n>>>16|n;x=x>>>8|x;x=x>>>4|x;x=x>>>2|x;x=(x>>>1|x)+1|0;dt[o>>2]=x>>>0>e>>>0?e:x}a=t+176|0;n=dt[a>>2]|0;do{if(n){x=dt[n+-4>>2]|0;n=n+-8|0;if(!((x|0)!=0?(x|0)==(~dt[n>>2]|0):0)){dt[h>>2]=1154;dt[h+4>>2]=644;dt[h+8>>2]=1863;br(C,1100,h)|0;yr(C,f)|0}if(!(n&7)){Di[dt[104>>2]&1](n,0,0,1,dt[27]|0)|0;break}else{dt[p>>2]=1154;dt[p+4>>2]=2499;dt[p+8>>2]=1516;br(C,1100,p)|0;yr(C,c)|0;break}}}while(0);o=dt[o>>2]|0;o=(o|0)!=0?o:1;n=ae((o<<1)+8|0,0)|0;if(!n){dt[a>>2]=0;n=0;break}else{dt[n+4>>2]=o;dt[n>>2]=~o;dt[a>>2]=n+8;d=25;break}}else d=25}while(0);t:do{if((d|0)==25){x=t+24|0;pt[x>>0]=s;pt[t+25>>0]=P;o=t+176|0;a=0;do{b=pt[r+a>>0]|0;n=b&255;if(b<<24>>24){if(!(dt[j+(n<<2)>>2]|0)){dt[g>>2]=1154;dt[g+4>>2]=2273;dt[g+8>>2]=1261;br(C,1100,g)|0;yr(C,v)|0}b=m+(n<<2)|0;n=dt[b>>2]|0;dt[b>>2]=n+1;if(n>>>0>=l>>>0){dt[_>>2]=1154;dt[_+4>>2]=2277;dt[_+8>>2]=1274;br(C,1100,_)|0;yr(C,y)|0}$[(dt[o>>2]|0)+(n<<1)>>1]=a}a=a+1|0}while((a|0)!=(e|0));n=pt[x>>0]|0;y=(n&255)>>>0<i>>>0?i:0;b=t+8|0;dt[b>>2]=y;_=(y|0)!=0;if(_){v=1<<y;n=t+164|0;do{if(v>>>0>(dt[n>>2]|0)>>>0){dt[n>>2]=v;a=t+168|0;n=dt[a>>2]|0;do{if(n){g=dt[n+-4>>2]|0;n=n+-8|0;if(!((g|0)!=0?(g|0)==(~dt[n>>2]|0):0)){dt[w>>2]=1154;dt[w+4>>2]=644;dt[w+8>>2]=1863;br(C,1100,w)|0;yr(C,T)|0}if(!(n&7)){Di[dt[104>>2]&1](n,0,0,1,dt[27]|0)|0;break}else{dt[k>>2]=1154;dt[k+4>>2]=2499;dt[k+8>>2]=1516;br(C,1100,k)|0;yr(C,S)|0;break}}}while(0);n=v<<2;o=ae(n+8|0,0)|0;if(!o){dt[a>>2]=0;n=0;break t}else{S=o+8|0;dt[o+4>>2]=v;dt[o>>2]=~v;dt[a>>2]=S;o=S;break}}else{o=t+168|0;n=v<<2;a=o;o=dt[o>>2]|0}}while(0);Yr(o|0,-1,n|0)|0;d=t+176|0;g=1;do{if(dt[j+(g<<2)>>2]|0){e=y-g|0;m=1<<e;o=g+-1|0;s=dt[F+(o<<2)>>2]|0;if(o>>>0>=16){dt[A>>2]=1154;dt[A+4>>2]=1953;dt[A+8>>2]=1737;br(C,1100,A)|0;yr(C,E)|0}n=dt[t+28+(o<<2)>>2]|0;if(!n)p=-1;else p=(n+-1|0)>>>(16-g|0);if(s>>>0<=p>>>0){c=(dt[t+96+(o<<2)>>2]|0)-s|0;f=g<<16;do{n=gt[(dt[d>>2]|0)+(c+s<<1)>>1]|0;if((mt[r+n>>0]|0|0)!=(g|0)){dt[I>>2]=1154;dt[I+4>>2]=2319;dt[I+8>>2]=1303;br(C,1100,I)|0;yr(C,O)|0}h=s<<e;o=n|f;u=0;do{l=u+h|0;if(l>>>0>=v>>>0){dt[M>>2]=1154;dt[M+4>>2]=2325;dt[M+8>>2]=1337;br(C,1100,M)|0;yr(C,D)|0}n=dt[a>>2]|0;if((dt[n+(l<<2)>>2]|0)!=-1){dt[z>>2]=1154;dt[z+4>>2]=2327;dt[z+8>>2]=1360;br(C,1100,z)|0;yr(C,R)|0;n=dt[a>>2]|0}dt[n+(l<<2)>>2]=o;u=u+1|0}while(u>>>0<m>>>0);s=s+1|0}while(s>>>0<=p>>>0)}}g=g+1|0}while(y>>>0>=g>>>0);n=pt[x>>0]|0}o=t+96|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F>>2]|0);o=t+100|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+4>>2]|0);o=t+104|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+8>>2]|0);o=t+108|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+12>>2]|0);o=t+112|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+16>>2]|0);o=t+116|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+20>>2]|0);o=t+120|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+24>>2]|0);o=t+124|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+28>>2]|0);o=t+128|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+32>>2]|0);o=t+132|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+36>>2]|0);o=t+136|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+40>>2]|0);o=t+140|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+44>>2]|0);o=t+144|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+48>>2]|0);o=t+148|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+52>>2]|0);o=t+152|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+56>>2]|0);o=t+156|0;dt[o>>2]=(dt[o>>2]|0)-(dt[F+60>>2]|0);o=t+16|0;dt[o>>2]=0;a=t+20|0;dt[a>>2]=n&255;e:do{if(_){while(1){if(!i)break e;n=i+-1|0;if(!(dt[j+(i<<2)>>2]|0))i=n;else break}dt[o>>2]=dt[t+28+(n<<2)>>2];n=y+1|0;dt[a>>2]=n;if(n>>>0<=P>>>0){while(1){if(dt[j+(n<<2)>>2]|0)break;n=n+1|0;if(n>>>0>P>>>0)break e}dt[a>>2]=n}}}while(0);dt[t+92>>2]=-1;dt[t+160>>2]=1048575;dt[t+12>>2]=32-(dt[b>>2]|0);n=1}}while(0);t=n;vt=L;return t|0}function le(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0;if(!t){n=Br(e)|0;if(!r){r=n;return r|0}if(!n)o=0;else o=Hr(n)|0;dt[r>>2]=o;r=n;return r|0}if(!e){Ur(t);if(!r){r=0;return r|0}dt[r>>2]=0;r=0;return r|0}n=Xr(t,e)|0;o=(n|0)!=0;if(o|i^1)o=o?n:t;else{n=Xr(t,e)|0;o=(n|0)==0?t:n}if(!r){r=n;return r|0}e=Hr(o)|0;dt[r>>2]=e;r=n;return r|0}function ue(t,e,r){t=t|0;e=e|0;r=r|0;var i=0;if(!((t|0)!=0&e>>>0>73&(r|0)!=0)){r=0;return r|0}if((dt[r>>2]|0)!=40|e>>>0<74){r=0;return r|0}if(((mt[t>>0]|0)<<8|(mt[t+1>>0]|0)|0)!=18552){r=0;return r|0}if(((mt[t+2>>0]|0)<<8|(mt[t+3>>0]|0))>>>0<74){r=0;return r|0}if(((mt[t+7>>0]|0)<<16|(mt[t+6>>0]|0)<<24|(mt[t+8>>0]|0)<<8|(mt[t+9>>0]|0))>>>0>e>>>0){r=0;return r|0}dt[r+4>>2]=(mt[t+12>>0]|0)<<8|(mt[t+13>>0]|0);dt[r+8>>2]=(mt[t+14>>0]|0)<<8|(mt[t+15>>0]|0);dt[r+12>>2]=mt[t+16>>0];dt[r+16>>2]=mt[t+17>>0];e=t+18|0;i=r+32|0;dt[i>>2]=mt[e>>0];dt[i+4>>2]=0;e=pt[e>>0]|0;dt[r+20>>2]=e<<24>>24==0|e<<24>>24==9?8:16;dt[r+24>>2]=(mt[t+26>>0]|0)<<16|(mt[t+25>>0]|0)<<24|(mt[t+27>>0]|0)<<8|(mt[t+28>>0]|0);dt[r+28>>2]=(mt[t+30>>0]|0)<<16|(mt[t+29>>0]|0)<<24|(mt[t+31>>0]|0)<<8|(mt[t+32>>0]|0);r=1;return r|0}function he(t){t=t|0;Ot(t|0)|0;Ue()}function ce(t){t=t|0;var e=0,r=0,i=0,n=0,o=0;o=vt;vt=vt+544|0;n=o;i=o+24|0;e=dt[t+20>>2]|0;if(e)fe(e);e=t+4|0;r=dt[e>>2]|0;if(!r){n=t+16|0;pt[n>>0]=0;vt=o;return}if(!(r&7))Di[dt[104>>2]&1](r,0,0,1,dt[27]|0)|0;else{dt[n>>2]=1154;dt[n+4>>2]=2499;dt[n+8>>2]=1516;br(i,1100,n)|0;yr(i,o+16|0)|0}dt[e>>2]=0;dt[t+8>>2]=0;dt[t+12>>2]=0;n=t+16|0;pt[n>>0]=0;vt=o;return}function fe(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0;p=vt;vt=vt+640|0;f=p+112|0;c=p+96|0;h=p+88|0;u=p+72|0;l=p+64|0;s=p+48|0;i=p+40|0;o=p+24|0;n=p+16|0;r=p;a=p+120|0;if(!t){vt=p;return}e=dt[t+168>>2]|0;do{if(e){d=dt[e+-4>>2]|0;e=e+-8|0;if(!((d|0)!=0?(d|0)==(~dt[e>>2]|0):0)){dt[r>>2]=1154;dt[r+4>>2]=644;dt[r+8>>2]=1863;br(a,1100,r)|0;yr(a,n)|0}if(!(e&7)){Di[dt[104>>2]&1](e,0,0,1,dt[27]|0)|0;break}else{dt[o>>2]=1154;dt[o+4>>2]=2499;dt[o+8>>2]=1516;br(a,1100,o)|0;yr(a,i)|0;break}}}while(0);e=dt[t+176>>2]|0;do{if(e){d=dt[e+-4>>2]|0;e=e+-8|0;if(!((d|0)!=0?(d|0)==(~dt[e>>2]|0):0)){dt[s>>2]=1154;dt[s+4>>2]=644;dt[s+8>>2]=1863;br(a,1100,s)|0;yr(a,l)|0}if(!(e&7)){Di[dt[104>>2]&1](e,0,0,1,dt[27]|0)|0;break}else{dt[u>>2]=1154;dt[u+4>>2]=2499;dt[u+8>>2]=1516;br(a,1100,u)|0;yr(a,h)|0;break}}}while(0);if(!(t&7)){Di[dt[104>>2]&1](t,0,0,1,dt[27]|0)|0;vt=p;return}else{dt[c>>2]=1154;dt[c+4>>2]=2499;dt[c+8>>2]=1516;br(a,1100,c)|0;yr(a,f)|0;vt=p;return}}function pe(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0;h=vt;vt=vt+560|0;a=h+40|0;s=h+24|0;e=h;o=h+48|0;n=t+8|0;r=dt[n>>2]|0;if((r+-1|0)>>>0>=8192){dt[e>>2]=1154;dt[e+4>>2]=2997;dt[e+8>>2]=1541;br(o,1100,e)|0;yr(o,h+16|0)|0}dt[t>>2]=r;i=t+20|0;e=dt[i>>2]|0;if(!e){e=ae(180,0)|0;if(!e)e=0;else{u=e+164|0;dt[u>>2]=0;dt[u+4>>2]=0;dt[u+8>>2]=0;dt[u+12>>2]=0}dt[i>>2]=e;u=e;l=dt[t>>2]|0}else{u=e;l=r}if(!(dt[n>>2]|0)){dt[s>>2]=1154;dt[s+4>>2]=903;dt[s+8>>2]=1781;br(o,1100,s)|0;yr(o,a)|0;o=dt[t>>2]|0}else o=l;n=dt[t+4>>2]|0;if(o>>>0>16){r=o;e=0}else{t=0;u=se(u,l,n,t)|0;vt=h;return u|0}while(1){i=e+1|0;if(r>>>0>3){r=r>>>1;e=i}else{r=i;break}}t=e+2+((r|0)!=32&1<<r>>>0<o>>>0&1)|0;t=t>>>0<11?t&255:11;u=se(u,l,n,t)|0;vt=h;return u|0}function de(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0;R=vt;vt=vt+800|0;I=R+256|0;E=R+240|0;A=R+232|0;C=R+216|0;P=R+208|0;S=R+192|0;k=R+184|0;T=R+168|0;w=R+160|0;x=R+144|0;b=R+136|0;y=R+120|0;_=R+112|0;v=R+96|0;g=R+88|0;m=R+72|0;c=R+64|0;h=R+48|0;s=R+40|0;l=R+24|0;o=R+16|0;n=R;D=R+288|0;z=R+264|0;O=me(t,14)|0;if(!O){dt[e>>2]=0;r=e+4|0;i=dt[r>>2]|0;if(i){if(!(i&7))Di[dt[104>>2]&1](i,0,0,1,dt[27]|0)|0;else{dt[n>>2]=1154;dt[n+4>>2]=2499;dt[n+8>>2]=1516;br(D,1100,n)|0;yr(D,o)|0}dt[r>>2]=0;dt[e+8>>2]=0;dt[e+12>>2]=0}pt[e+16>>0]=0;r=e+20|0;i=dt[r>>2]|0;if(!i){e=1;vt=R;return e|0}fe(i);dt[r>>2]=0;e=1;vt=R;return e|0}p=e+4|0;d=e+8|0;r=dt[d>>2]|0;if((r|0)!=(O|0)){if(r>>>0<=O>>>0){do{if((dt[e+12>>2]|0)>>>0<O>>>0){if(ne(p,O,(r+1|0)==(O|0),1,0)|0){r=dt[d>>2]|0;break}pt[e+16>>0]=1;e=0;vt=R;return e|0}}while(0);Yr((dt[p>>2]|0)+r|0,0,O-r|0)|0}dt[d>>2]=O}Yr(dt[p>>2]|0,0,O|0)|0;f=t+20|0;r=dt[f>>2]|0;if((r|0)<5){o=t+4|0;a=t+8|0;n=t+16|0;do{i=dt[o>>2]|0;if((i|0)==(dt[a>>2]|0))i=0;else{dt[o>>2]=i+1;i=mt[i>>0]|0}r=r+8|0;dt[f>>2]=r;if((r|0)>=33){dt[l>>2]=1154;dt[l+4>>2]=3199;dt[l+8>>2]=1650;br(D,1100,l)|0;yr(D,s)|0;r=dt[f>>2]|0}i=i<<32-r|dt[n>>2];dt[n>>2]=i}while((r|0)<5)}else{i=t+16|0;n=i;i=dt[i>>2]|0}u=i>>>27;dt[n>>2]=i<<5;dt[f>>2]=r+-5;if((u+-1|0)>>>0>20){e=0;vt=R;return e|0}dt[z+20>>2]=0;dt[z>>2]=0;dt[z+4>>2]=0;dt[z+8>>2]=0;dt[z+12>>2]=0;pt[z+16>>0]=0;r=z+4|0;i=z+8|0;t:do{if(ne(r,21,0,1,0)|0){s=dt[i>>2]|0;l=dt[r>>2]|0;Yr(l+s|0,0,21-s|0)|0;dt[i>>2]=21;if(u){n=t+4|0;o=t+8|0;a=t+16|0;s=0;do{r=dt[f>>2]|0;if((r|0)<3)do{i=dt[n>>2]|0;if((i|0)==(dt[o>>2]|0))i=0;else{dt[n>>2]=i+1;i=mt[i>>0]|0}r=r+8|0;dt[f>>2]=r;if((r|0)>=33){dt[h>>2]=1154;dt[h+4>>2]=3199;dt[h+8>>2]=1650;br(D,1100,h)|0;yr(D,c)|0;r=dt[f>>2]|0}i=i<<32-r|dt[a>>2];dt[a>>2]=i}while((r|0)<3);else i=dt[a>>2]|0;dt[a>>2]=i<<3;dt[f>>2]=r+-3;pt[l+(mt[1611+s>>0]|0)>>0]=i>>>29;s=s+1|0}while((s|0)!=(u|0))}if(pe(z)|0){s=t+4|0;l=t+8|0;u=t+16|0;i=0;e:while(1){a=O-i|0;r=ge(t,z)|0;r:do{if(r>>>0<17){if((dt[d>>2]|0)>>>0<=i>>>0){dt[m>>2]=1154;dt[m+4>>2]=903;dt[m+8>>2]=1781;br(D,1100,m)|0;yr(D,g)|0}pt[(dt[p>>2]|0)+i>>0]=r;r=i+1|0}else switch(r|0){case 17:{r=dt[f>>2]|0;if((r|0)<3)do{n=dt[s>>2]|0;if((n|0)==(dt[l>>2]|0))n=0;else{dt[s>>2]=n+1;n=mt[n>>0]|0}r=r+8|0;dt[f>>2]=r;if((r|0)>=33){dt[v>>2]=1154;dt[v+4>>2]=3199;dt[v+8>>2]=1650;br(D,1100,v)|0;yr(D,_)|0;r=dt[f>>2]|0}n=n<<32-r|dt[u>>2];dt[u>>2]=n}while((r|0)<3);else n=dt[u>>2]|0;dt[u>>2]=n<<3;dt[f>>2]=r+-3;r=(n>>>29)+3|0;if(r>>>0>a>>>0){r=0;break t}r=r+i|0;break r}case 18:{r=dt[f>>2]|0;if((r|0)<7)do{n=dt[s>>2]|0;if((n|0)==(dt[l>>2]|0))n=0;else{dt[s>>2]=n+1;n=mt[n>>0]|0}r=r+8|0;dt[f>>2]=r;if((r|0)>=33){dt[y>>2]=1154;dt[y+4>>2]=3199;dt[y+8>>2]=1650;br(D,1100,y)|0;yr(D,b)|0;r=dt[f>>2]|0}n=n<<32-r|dt[u>>2];dt[u>>2]=n}while((r|0)<7);else n=dt[u>>2]|0;dt[u>>2]=n<<7;dt[f>>2]=r+-7;r=(n>>>25)+11|0;if(r>>>0>a>>>0){r=0;break t}r=r+i|0;break r}default:{if((r+-19|0)>>>0>=2){M=90;break e}o=dt[f>>2]|0;if((r|0)==19){if((o|0)<2){n=o;while(1){r=dt[s>>2]|0;if((r|0)==(dt[l>>2]|0))o=0;else{dt[s>>2]=r+1;o=mt[r>>0]|0}r=n+8|0;dt[f>>2]=r;if((r|0)>=33){dt[x>>2]=1154;dt[x+4>>2]=3199;dt[x+8>>2]=1650;br(D,1100,x)|0;yr(D,w)|0;r=dt[f>>2]|0}n=o<<32-r|dt[u>>2];dt[u>>2]=n;if((r|0)<2)n=r;else break}}else{n=dt[u>>2]|0;r=o}dt[u>>2]=n<<2;dt[f>>2]=r+-2;o=(n>>>30)+3|0}else{if((o|0)<6){n=o;while(1){r=dt[s>>2]|0;if((r|0)==(dt[l>>2]|0))o=0;else{dt[s>>2]=r+1;o=mt[r>>0]|0}r=n+8|0;dt[f>>2]=r;if((r|0)>=33){dt[T>>2]=1154;dt[T+4>>2]=3199;dt[T+8>>2]=1650;br(D,1100,T)|0;yr(D,k)|0;r=dt[f>>2]|0}n=o<<32-r|dt[u>>2];dt[u>>2]=n;if((r|0)<6)n=r;else break}}else{n=dt[u>>2]|0;r=o}dt[u>>2]=n<<6;dt[f>>2]=r+-6;o=(n>>>26)+7|0}if((i|0)==0|o>>>0>a>>>0){r=0;break t}r=i+-1|0;if((dt[d>>2]|0)>>>0<=r>>>0){dt[S>>2]=1154;dt[S+4>>2]=903;dt[S+8>>2]=1781;br(D,1100,S)|0;yr(D,P)|0}n=pt[(dt[p>>2]|0)+r>>0]|0;if(!(n<<24>>24)){r=0;break t}r=o+i|0;if(i>>>0>=r>>>0){r=i;break r}do{if((dt[d>>2]|0)>>>0<=i>>>0){dt[C>>2]=1154;dt[C+4>>2]=903;dt[C+8>>2]=1781;br(D,1100,C)|0;yr(D,A)|0}pt[(dt[p>>2]|0)+i>>0]=n;i=i+1|0}while((i|0)!=(r|0))}}}while(0);if(O>>>0>r>>>0)i=r;else break}if((M|0)==90){dt[E>>2]=1154;dt[E+4>>2]=3140;dt[E+8>>2]=1632;br(D,1100,E)|0;yr(D,I)|0;r=0;break}if((O|0)==(r|0))r=pe(e)|0;else r=0}else r=0}else{pt[z+16>>0]=1;r=0}}while(0);ce(z);e=r;vt=R;return e|0}function me(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0;h=vt;vt=vt+544|0;s=h+16|0;a=h;o=h+24|0;if(!e){u=0;vt=h;return u|0}if(e>>>0<=16){u=ve(t,e)|0;vt=h;return u|0}l=ve(t,e+-16|0)|0;u=t+20|0;e=dt[u>>2]|0;if((e|0)<16){i=t+4|0;n=t+8|0;r=t+16|0;do{t=dt[i>>2]|0;if((t|0)==(dt[n>>2]|0))t=0;else{dt[i>>2]=t+1;t=mt[t>>0]|0}e=e+8|0;dt[u>>2]=e;if((e|0)>=33){dt[a>>2]=1154;dt[a+4>>2]=3199;dt[a+8>>2]=1650;br(o,1100,a)|0;yr(o,s)|0;e=dt[u>>2]|0}t=t<<32-e|dt[r>>2];dt[r>>2]=t}while((e|0)<16)}else{t=t+16|0;r=t;t=dt[t>>2]|0}dt[r>>2]=t<<16;dt[u>>2]=e+-16;u=t>>>16|l<<16;vt=h;return u|0}function ge(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0;y=vt;vt=vt+608|0;m=y+88|0;d=y+72|0;f=y+64|0;c=y+48|0;h=y+40|0;p=y+24|0;u=y+16|0;l=y;v=y+96|0;g=dt[e+20>>2]|0;_=t+20|0;s=dt[_>>2]|0;do{if((s|0)<24){a=t+4|0;i=dt[a>>2]|0;n=dt[t+8>>2]|0;r=i>>>0<n>>>0;if((s|0)>=16){if(r){dt[a>>2]=i+1;r=mt[i>>0]|0}else r=0;dt[_>>2]=s+8;a=t+16|0;o=r<<24-s|dt[a>>2];dt[a>>2]=o;break}if(r){o=(mt[i>>0]|0)<<8;r=i+1|0}else{o=0;r=i}if(r>>>0<n>>>0){i=mt[r>>0]|0;r=r+1|0}else i=0;dt[a>>2]=r;dt[_>>2]=s+16;a=t+16|0;o=(i|o)<<16-s|dt[a>>2];dt[a>>2]=o}else{o=t+16|0;a=o;o=dt[o>>2]|0}}while(0);n=(o>>>16)+1|0;do{if(n>>>0<=(dt[g+16>>2]|0)>>>0){i=dt[(dt[g+168>>2]|0)+(o>>>(32-(dt[g+8>>2]|0)|0)<<2)>>2]|0;if((i|0)==-1){dt[l>>2]=1154;dt[l+4>>2]=3244;dt[l+8>>2]=1677;br(v,1100,l)|0;yr(v,u)|0}r=i&65535;i=i>>>16;if((dt[e+8>>2]|0)>>>0<=r>>>0){dt[p>>2]=1154;dt[p+4>>2]=902;dt[p+8>>2]=1781;br(v,1100,p)|0;yr(v,h)|0}if((mt[(dt[e+4>>2]|0)+r>>0]|0|0)!=(i|0)){dt[c>>2]=1154;dt[c+4>>2]=3248;dt[c+8>>2]=1694;br(v,1100,c)|0;yr(v,f)|0}}else{i=dt[g+20>>2]|0;while(1){r=i+-1|0;if(n>>>0>(dt[g+28+(r<<2)>>2]|0)>>>0)i=i+1|0;else break}r=(o>>>(32-i|0))+(dt[g+96+(r<<2)>>2]|0)|0;if(r>>>0<(dt[e>>2]|0)>>>0){r=gt[(dt[g+176>>2]|0)+(r<<1)>>1]|0;break}dt[d>>2]=1154;dt[d+4>>2]=3266;dt[d+8>>2]=1632;br(v,1100,d)|0;yr(v,m)|0;_=0;vt=y;return _|0}}while(0);dt[a>>2]=dt[a>>2]<<i;dt[_>>2]=(dt[_>>2]|0)-i;_=r;vt=y;return _|0}function ve(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0;h=vt;vt=vt+560|0;s=h+40|0;l=h+24|0;r=h;a=h+48|0;if(e>>>0>=33){dt[r>>2]=1154;dt[r+4>>2]=3190;dt[r+8>>2]=1634;br(a,1100,r)|0;yr(a,h+16|0)|0}u=t+20|0;r=dt[u>>2]|0;if((r|0)>=(e|0)){o=t+16|0;a=o;o=dt[o>>2]|0;s=r;l=32-e|0;l=o>>>l;o=o<<e;dt[a>>2]=o;e=s-e|0;dt[u>>2]=e;vt=h;return l|0}n=t+4|0;o=t+8|0;i=t+16|0;do{t=dt[n>>2]|0;if((t|0)==(dt[o>>2]|0))t=0;else{dt[n>>2]=t+1;t=mt[t>>0]|0}r=r+8|0;dt[u>>2]=r;if((r|0)>=33){dt[l>>2]=1154;dt[l+4>>2]=3199;dt[l+8>>2]=1650;br(a,1100,l)|0;yr(a,s)|0;r=dt[u>>2]|0}t=t<<32-r|dt[i>>2];dt[i>>2]=t}while((r|0)<(e|0));l=32-e|0;l=t>>>l;s=t<<e;dt[i>>2]=s;e=r-e|0;dt[u>>2]=e;vt=h;return l|0}function _e(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0;d=vt;vt=vt+544|0;f=d+16|0;c=d;h=d+24|0;if((t|0)==0|e>>>0<62){p=0;vt=d;return p|0}u=ae(300,0)|0;if(!u){p=0;vt=d;return p|0}dt[u>>2]=519686845;r=u+4|0;dt[r>>2]=0;i=u+8|0;dt[i>>2]=0;l=u+88|0;n=u+136|0;o=u+160|0;a=l;s=a+44|0;do{dt[a>>2]=0;a=a+4|0}while((a|0)<(s|0));pt[l+44>>0]=0;m=u+184|0;a=u+208|0;s=u+232|0;g=u+252|0;dt[g>>2]=0;dt[g+4>>2]=0;dt[g+8>>2]=0;pt[g+12>>0]=0;g=u+268|0;dt[g>>2]=0;dt[g+4>>2]=0;dt[g+8>>2]=0;pt[g+12>>0]=0;g=u+284|0;dt[g>>2]=0;dt[g+4>>2]=0;dt[g+8>>2]=0;pt[g+12>>0]=0;dt[n>>2]=0;dt[n+4>>2]=0;dt[n+8>>2]=0;dt[n+12>>2]=0;dt[n+16>>2]=0;pt[n+20>>0]=0;dt[o>>2]=0;dt[o+4>>2]=0;dt[o+8>>2]=0;dt[o+12>>2]=0;dt[o+16>>2]=0;pt[o+20>>0]=0;dt[m>>2]=0;dt[m+4>>2]=0;dt[m+8>>2]=0;dt[m+12>>2]=0;dt[m+16>>2]=0;pt[m+20>>0]=0;dt[a>>2]=0;dt[a+4>>2]=0;dt[a+8>>2]=0;dt[a+12>>2]=0;dt[a+16>>2]=0;pt[a+20>>0]=0;dt[s>>2]=0;dt[s+4>>2]=0;dt[s+8>>2]=0;dt[s+12>>2]=0;pt[s+16>>0]=0;do{if(((e>>>0>=74?((mt[t>>0]|0)<<8|(mt[t+1>>0]|0)|0)==18552:0)?((mt[t+2>>0]|0)<<8|(mt[t+3>>0]|0))>>>0>=74:0)?((mt[t+7>>0]|0)<<16|(mt[t+6>>0]|0)<<24|(mt[t+8>>0]|0)<<8|(mt[t+9>>0]|0))>>>0<=e>>>0:0){dt[l>>2]=t;dt[r>>2]=t;dt[i>>2]=e;if(Ce(u)|0){r=dt[l>>2]|0;if((mt[r+39>>0]|0)<<8|(mt[r+40>>0]|0)){if(!(Ae(u)|0))break;if(!(Ee(u)|0))break;r=dt[l>>2]|0}if(!((mt[r+55>>0]|0)<<8|(mt[r+56>>0]|0))){g=u;vt=d;return g|0}if(Ie(u)|0?Oe(u)|0:0){g=u;vt=d;return g|0}}}else p=7}while(0);if((p|0)==7)dt[l>>2]=0;Fe(u);if(!(u&7)){Di[dt[104>>2]&1](u,0,0,1,dt[27]|0)|0;g=0;vt=d;return g|0}else{dt[c>>2]=1154;dt[c+4>>2]=2499;dt[c+8>>2]=1516;br(h,1100,c)|0;yr(h,f)|0;g=0;vt=d;return g|0}return 0}function ye(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0,u=0,h=0;h=vt;vt=vt+544|0;u=h;l=h+24|0;o=dt[t+88>>2]|0;s=(mt[o+70+(n<<2)+1>>0]|0)<<16|(mt[o+70+(n<<2)>>0]|0)<<24|(mt[o+70+(n<<2)+2>>0]|0)<<8|(mt[o+70+(n<<2)+3>>0]|0);a=n+1|0;if(a>>>0<(mt[o+16>>0]|0)>>>0)o=(mt[o+70+(a<<2)+1>>0]|0)<<16|(mt[o+70+(a<<2)>>0]|0)<<24|(mt[o+70+(a<<2)+2>>0]|0)<<8|(mt[o+70+(a<<2)+3>>0]|0);else o=dt[t+8>>2]|0;if(o>>>0>s>>>0){l=t+4|0;l=dt[l>>2]|0;l=l+s|0;u=o-s|0;u=be(t,l,u,e,r,i,n)|0;vt=h;return u|0}dt[u>>2]=1154;dt[u+4>>2]=3704;dt[u+8>>2]=1792;br(l,1100,u)|0;yr(l,h+16|0)|0;l=t+4|0;l=dt[l>>2]|0;l=l+s|0;u=o-s|0;u=be(t,l,u,e,r,i,n)|0;vt=h;return u|0}function be(t,e,r,i,n,o,a){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;var s=0,l=0,u=0,h=0;h=dt[t+88>>2]|0;l=((mt[h+12>>0]|0)<<8|(mt[h+13>>0]|0))>>>a;u=((mt[h+14>>0]|0)<<8|(mt[h+15>>0]|0))>>>a;l=l>>>0>1?(l+3|0)>>>2:1;u=u>>>0>1?(u+3|0)>>>2:1;h=h+18|0;a=pt[h>>0]|0;a=_t(a<<24>>24==0|a<<24>>24==9?8:16,l)|0;if(o)if((o&3|0)==0&a>>>0<=o>>>0)a=o;else{t=0;return t|0}if((_t(a,u)|0)>>>0>n>>>0){t=0;return t|0}o=(l+1|0)>>>1;s=(u+1|0)>>>1;if(!r){t=0;return t|0}dt[t+92>>2]=e;dt[t+96>>2]=e;dt[t+104>>2]=r;dt[t+100>>2]=e+r;dt[t+108>>2]=0;dt[t+112>>2]=0;switch(mt[h>>0]|0|0){case 0:{Me(t,i,n,a,l,u,o,s)|0;t=1;return t|0}case 4:case 6:case 5:case 3:case 2:{De(t,i,n,a,l,u,o,s)|0;t=1;return t|0}case 9:{ze(t,i,n,a,l,u,o,s)|0;t=1;return t|0}case 8:case 7:{Re(t,i,n,a,l,u,o,s)|0;t=1;return t|0}default:{t=0;return t|0}}return 0}function xe(t,e){t=t|0;e=e|0;var r=0,i=0;i=vt;vt=vt+48|0;r=i;dt[r>>2]=40;ue(t,e,r)|0;vt=i;return dt[r+4>>2]|0}function we(t,e){t=t|0;e=e|0;var r=0,i=0;i=vt;vt=vt+48|0;r=i;dt[r>>2]=40;ue(t,e,r)|0;vt=i;return dt[r+8>>2]|0}function Te(t,e){t=t|0;e=e|0;var r=0,i=0;i=vt;vt=vt+48|0;r=i;dt[r>>2]=40;ue(t,e,r)|0;vt=i;return dt[r+12>>2]|0}function ke(t,e){t=t|0;e=e|0;var r=0,i=0;i=vt;vt=vt+48|0;r=i;dt[r>>2]=40;ue(t,e,r)|0;vt=i;return dt[r+32>>2]|0}function Se(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0,s=0,l=0,u=0;l=vt;vt=vt+576|0;a=l+56|0;o=l+40|0;n=l+64|0;u=l;dt[u>>2]=40;ue(t,e,u)|0;i=(((dt[u+4>>2]|0)>>>r)+3|0)>>>2;e=(((dt[u+8>>2]|0)>>>r)+3|0)>>>2;r=u+32|0;t=dt[r+4>>2]|0;do{switch(dt[r>>2]|0){case 0:{if(!t)t=8;else s=13;break}case 1:{if(!t)s=12;else s=13;break}case 2:{if(!t)s=12;else s=13;break}case 3:{if(!t)s=12;else s=13;break}case 4:{if(!t)s=12;else s=13;break}case 5:{if(!t)s=12;else s=13;break}case 6:{if(!t)s=12;else s=13;break}case 7:{if(!t)s=12;else s=13;break}case 8:{if(!t)s=12;else s=13;break}case 9:{if(!t)t=8;else s=13;break}default:s=13}}while(0);if((s|0)==12)t=16;else if((s|0)==13){dt[o>>2]=1154;dt[o+4>>2]=2663;dt[o+8>>2]=1535;br(n,1100,o)|0;yr(n,a)|0;t=0}u=_t(_t(e,i)|0,t)|0;vt=l;return u|0}function Pe(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0;d=vt;vt=vt+608|0;f=d+80|0;p=d+64|0;s=d+56|0;a=d+40|0;h=d+88|0;m=d;c=d+84|0;dt[m>>2]=40;ue(t,e,m)|0;l=(((dt[m+4>>2]|0)>>>n)+3|0)>>>2;m=m+32|0;o=dt[m+4>>2]|0;do{switch(dt[m>>2]|0){case 0:{if(!o)o=8;else u=13;break}case 1:{if(!o)u=12;else u=13;break}case 2:{if(!o)u=12;else u=13;break}case 3:{if(!o)u=12;else u=13;break}case 4:{if(!o)u=12;else u=13;break}case 5:{if(!o)u=12;else u=13;break}case 6:{if(!o)u=12;else u=13;break}case 7:{if(!o)u=12;else u=13;break}case 8:{if(!o)u=12;else u=13;break}case 9:{if(!o)o=8;else u=13;break}default:u=13}}while(0);if((u|0)==12)o=16;else if((u|0)==13){dt[a>>2]=1154;dt[a+4>>2]=2663;dt[a+8>>2]=1535;br(h,1100,a)|0;yr(h,s)|0;o=0}s=_t(o,l)|0;a=_e(t,e)|0;dt[c>>2]=r;o=(a|0)==0;if(!(n>>>0>15|(i>>>0<8|o))?(dt[a>>2]|0)==519686845:0)ye(a,c,i,s,n)|0;if(o){vt=d;return}if((dt[a>>2]|0)!=519686845){vt=d;return}Fe(a);if(!(a&7)){Di[dt[104>>2]&1](a,0,0,1,dt[27]|0)|0;vt=d;return}else{dt[p>>2]=1154;dt[p+4>>2]=2499;dt[p+8>>2]=1516;br(h,1100,p)|0;yr(h,f)|0;vt=d;return}}function Ce(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0;a=t+92|0;i=dt[t+4>>2]|0;o=t+88|0;n=dt[o>>2]|0;e=(mt[n+68>>0]|0)<<8|(mt[n+67>>0]|0)<<16|(mt[n+69>>0]|0);r=i+e|0;n=(mt[n+65>>0]|0)<<8|(mt[n+66>>0]|0);if(!n){t=0;return t|0}dt[a>>2]=r;dt[t+96>>2]=r;dt[t+104>>2]=n;dt[t+100>>2]=i+(n+e);dt[t+108>>2]=0;dt[t+112>>2]=0;if(!(de(a,t+116|0)|0)){t=0;return t|0}e=dt[o>>2]|0;do{if(!((mt[e+39>>0]|0)<<8|(mt[e+40>>0]|0))){if(!((mt[e+55>>0]|0)<<8|(mt[e+56>>0]|0))){t=0;return t|0}}else{if(!(de(a,t+140|0)|0)){t=0;return t|0}if(de(a,t+188|0)|0){e=dt[o>>2]|0;break}else{t=0;return t|0}}}while(0);if((mt[e+55>>0]|0)<<8|(mt[e+56>>0]|0)){if(!(de(a,t+164|0)|0)){t=0;return t|0}if(!(de(a,t+212|0)|0)){t=0;return t|0}}t=1;return t|0}function Ae(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0;d=vt;vt=vt+592|0;l=d+16|0;s=d;a=d+72|0;p=d+24|0;i=t+88|0;e=dt[i>>2]|0;f=(mt[e+39>>0]|0)<<8|(mt[e+40>>0]|0);h=t+236|0;o=t+240|0;r=dt[o>>2]|0;if((r|0)!=(f|0)){if(r>>>0<=f>>>0){do{if((dt[t+244>>2]|0)>>>0<f>>>0){if(ne(h,f,(r+1|0)==(f|0),4,0)|0){e=dt[o>>2]|0;break}pt[t+248>>0]=1;p=0;vt=d;return p|0}else e=r}while(0);Yr((dt[h>>2]|0)+(e<<2)|0,0,f-e<<2|0)|0;e=dt[i>>2]|0}dt[o>>2]=f}u=t+92|0;r=dt[t+4>>2]|0;i=(mt[e+34>>0]|0)<<8|(mt[e+33>>0]|0)<<16|(mt[e+35>>0]|0);n=r+i|0;e=(mt[e+37>>0]|0)<<8|(mt[e+36>>0]|0)<<16|(mt[e+38>>0]|0);if(!e){p=0;vt=d;return p|0}dt[u>>2]=n;dt[t+96>>2]=n;dt[t+104>>2]=e;dt[t+100>>2]=r+(e+i);dt[t+108>>2]=0;dt[t+112>>2]=0;dt[p+20>>2]=0;dt[p>>2]=0;dt[p+4>>2]=0;dt[p+8>>2]=0;dt[p+12>>2]=0;pt[p+16>>0]=0;t=p+24|0;dt[p+44>>2]=0;dt[t>>2]=0;dt[t+4>>2]=0;dt[t+8>>2]=0;dt[t+12>>2]=0;pt[t+16>>0]=0;if(de(u,p)|0?(c=p+24|0,de(u,c)|0):0){if(!(dt[o>>2]|0)){dt[s>>2]=1154;dt[s+4>>2]=903;dt[s+8>>2]=1781;br(a,1100,s)|0;yr(a,l)|0}if(!f)e=1;else{i=0;n=0;o=0;e=0;a=0;t=0;s=0;r=dt[h>>2]|0;while(1){i=(ge(u,p)|0)+i&31;n=(ge(u,c)|0)+n&63;o=(ge(u,p)|0)+o&31;e=(ge(u,p)|0)+e|0;a=(ge(u,c)|0)+a&63;t=(ge(u,p)|0)+t&31;dt[r>>2]=n<<5|i<<11|o|e<<27|a<<21|t<<16;s=s+1|0;if((s|0)==(f|0)){e=1;break}else{e=e&31;r=r+4|0}}}}else e=0;ce(p+24|0);ce(p);p=e;vt=d;return p|0}function Ee(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0;S=vt;vt=vt+1024|0;s=S+16|0;a=S;o=S+504|0;k=S+480|0;w=S+284|0;T=S+88|0;x=S+24|0;n=dt[t+88>>2]|0;b=(mt[n+47>>0]|0)<<8|(mt[n+48>>0]|0);y=t+92|0;e=dt[t+4>>2]|0;r=(mt[n+42>>0]|0)<<8|(mt[n+41>>0]|0)<<16|(mt[n+43>>0]|0);i=e+r|0;n=(mt[n+45>>0]|0)<<8|(mt[n+44>>0]|0)<<16|(mt[n+46>>0]|0);if(!n){k=0;vt=S;return k|0}dt[y>>2]=i;dt[t+96>>2]=i;dt[t+104>>2]=n;dt[t+100>>2]=e+(n+r);dt[t+108>>2]=0;dt[t+112>>2]=0;dt[k+20>>2]=0;dt[k>>2]=0;dt[k+4>>2]=0;dt[k+8>>2]=0;dt[k+12>>2]=0;pt[k+16>>0]=0;if(de(y,k)|0){r=0;i=-3;n=-3;while(1){dt[w+(r<<2)>>2]=i;dt[T+(r<<2)>>2]=n;e=(i|0)>2;r=r+1|0;if((r|0)==49)break;else{i=e?-3:i+1|0;n=(e&1)+n|0}}e=x;r=e+64|0;do{dt[e>>2]=0;e=e+4|0}while((e|0)<(r|0));_=t+252|0;r=t+256|0;e=dt[r>>2]|0;t:do{if((e|0)==(b|0))l=13;else{if(e>>>0<=b>>>0){do{if((dt[t+260>>2]|0)>>>0<b>>>0)if(ne(_,b,(e+1|0)==(b|0),4,0)|0){e=dt[r>>2]|0;break}else{pt[t+264>>0]=1;e=0;break t}}while(0);Yr((dt[_>>2]|0)+(e<<2)|0,0,b-e<<2|0)|0}dt[r>>2]=b;l=13}}while(0);do{if((l|0)==13){if(!b){dt[a>>2]=1154;dt[a+4>>2]=903;dt[a+8>>2]=1781;br(o,1100,a)|0;yr(o,s)|0;e=1;break}i=x+4|0;n=x+8|0;t=x+12|0;o=x+16|0;a=x+20|0;s=x+24|0;l=x+28|0;u=x+32|0;h=x+36|0;c=x+40|0;f=x+44|0;p=x+48|0;d=x+52|0;m=x+56|0;g=x+60|0;v=0;r=dt[_>>2]|0;while(1){e=0;do{P=ge(y,k)|0;_=e<<1;C=x+(_<<2)|0;dt[C>>2]=(dt[C>>2]|0)+(dt[w+(P<<2)>>2]|0)&3;_=x+((_|1)<<2)|0;dt[_>>2]=(dt[_>>2]|0)+(dt[T+(P<<2)>>2]|0)&3;e=e+1|0}while((e|0)!=8);dt[r>>2]=(mt[1725+(dt[i>>2]|0)>>0]|0)<<2|(mt[1725+(dt[x>>2]|0)>>0]|0)|(mt[1725+(dt[n>>2]|0)>>0]|0)<<4|(mt[1725+(dt[t>>2]|0)>>0]|0)<<6|(mt[1725+(dt[o>>2]|0)>>0]|0)<<8|(mt[1725+(dt[a>>2]|0)>>0]|0)<<10|(mt[1725+(dt[s>>2]|0)>>0]|0)<<12|(mt[1725+(dt[l>>2]|0)>>0]|0)<<14|(mt[1725+(dt[u>>2]|0)>>0]|0)<<16|(mt[1725+(dt[h>>2]|0)>>0]|0)<<18|(mt[1725+(dt[c>>2]|0)>>0]|0)<<20|(mt[1725+(dt[f>>2]|0)>>0]|0)<<22|(mt[1725+(dt[p>>2]|0)>>0]|0)<<24|(mt[1725+(dt[d>>2]|0)>>0]|0)<<26|(mt[1725+(dt[m>>2]|0)>>0]|0)<<28|(mt[1725+(dt[g>>2]|0)>>0]|0)<<30;v=v+1|0;if((v|0)==(b|0)){e=1;break}else r=r+4|0}}}while(0)}else e=0;ce(k);C=e;vt=S;return C|0}function Ie(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0;f=vt;vt=vt+560|0;l=f+16|0;s=f;a=f+48|0;c=f+24|0;n=dt[t+88>>2]|0;h=(mt[n+55>>0]|0)<<8|(mt[n+56>>0]|0);u=t+92|0;e=dt[t+4>>2]|0;r=(mt[n+50>>0]|0)<<8|(mt[n+49>>0]|0)<<16|(mt[n+51>>0]|0);i=e+r|0;n=(mt[n+53>>0]|0)<<8|(mt[n+52>>0]|0)<<16|(mt[n+54>>0]|0);if(!n){c=0;vt=f;return c|0}dt[u>>2]=i;dt[t+96>>2]=i;dt[t+104>>2]=n;dt[t+100>>2]=e+(n+r);dt[t+108>>2]=0;dt[t+112>>2]=0;dt[c+20>>2]=0;dt[c>>2]=0;dt[c+4>>2]=0;dt[c+8>>2]=0;dt[c+12>>2]=0;pt[c+16>>0]=0;t:do{if(de(u,c)|0){o=t+268|0;r=t+272|0;e=dt[r>>2]|0;if((e|0)!=(h|0)){if(e>>>0<=h>>>0){do{if((dt[t+276>>2]|0)>>>0<h>>>0)if(ne(o,h,(e+1|0)==(h|0),2,0)|0){e=dt[r>>2]|0;break}else{pt[t+280>>0]=1;e=0;break t}}while(0);Yr((dt[o>>2]|0)+(e<<1)|0,0,h-e<<1|0)|0}dt[r>>2]=h}if(!h){dt[s>>2]=1154;dt[s+4>>2]=903;dt[s+8>>2]=1781;br(a,1100,s)|0;yr(a,l)|0;e=1;break}r=0;i=0;n=0;e=dt[o>>2]|0;while(1){l=ge(u,c)|0;r=l+r&255;i=(ge(u,c)|0)+i&255;$[e>>1]=i<<8|r;n=n+1|0;if((n|0)==(h|0)){e=1;break}else e=e+2|0}}else e=0}while(0);ce(c);c=e;vt=f;return c|0}function Oe(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0;S=vt;vt=vt+2432|0;s=S+16|0;a=S;o=S+1912|0;k=S+1888|0;w=S+988|0;T=S+88|0;x=S+24|0;n=dt[t+88>>2]|0;b=(mt[n+63>>0]|0)<<8|(mt[n+64>>0]|0);y=t+92|0;e=dt[t+4>>2]|0;r=(mt[n+58>>0]|0)<<8|(mt[n+57>>0]|0)<<16|(mt[n+59>>0]|0);i=e+r|0;n=(mt[n+61>>0]|0)<<8|(mt[n+60>>0]|0)<<16|(mt[n+62>>0]|0);if(!n){k=0;vt=S;return k|0}dt[y>>2]=i;dt[t+96>>2]=i;dt[t+104>>2]=n;dt[t+100>>2]=e+(n+r);dt[t+108>>2]=0;dt[t+112>>2]=0;dt[k+20>>2]=0;dt[k>>2]=0;dt[k+4>>2]=0;dt[k+8>>2]=0;dt[k+12>>2]=0;pt[k+16>>0]=0;if(de(y,k)|0){r=0;i=-7;n=-7;while(1){dt[w+(r<<2)>>2]=i;dt[T+(r<<2)>>2]=n;e=(i|0)>6;r=r+1|0;if((r|0)==225)break;else{i=e?-7:i+1|0;n=(e&1)+n|0}}e=x;r=e+64|0;do{dt[e>>2]=0;e=e+4|0}while((e|0)<(r|0));_=t+284|0;r=b*3|0;i=t+288|0;e=dt[i>>2]|0;t:do{if((e|0)==(r|0))l=13;else{if(e>>>0<=r>>>0){do{if((dt[t+292>>2]|0)>>>0<r>>>0)if(ne(_,r,(e+1|0)==(r|0),2,0)|0){e=dt[i>>2]|0;break}else{pt[t+296>>0]=1;e=0;break t}}while(0);Yr((dt[_>>2]|0)+(e<<1)|0,0,r-e<<1|0)|0}dt[i>>2]=r;l=13}}while(0);do{if((l|0)==13){if(!b){dt[a>>2]=1154;dt[a+4>>2]=903;dt[a+8>>2]=1781;br(o,1100,a)|0;yr(o,s)|0;e=1;break}i=x+4|0;n=x+8|0;t=x+12|0;o=x+16|0;a=x+20|0;s=x+24|0;l=x+28|0;u=x+32|0;h=x+36|0;c=x+40|0;f=x+44|0;p=x+48|0;d=x+52|0;m=x+56|0;g=x+60|0;v=0;r=dt[_>>2]|0;while(1){e=0;do{P=ge(y,k)|0;_=e<<1;C=x+(_<<2)|0;dt[C>>2]=(dt[C>>2]|0)+(dt[w+(P<<2)>>2]|0)&7;_=x+((_|1)<<2)|0;dt[_>>2]=(dt[_>>2]|0)+(dt[T+(P<<2)>>2]|0)&7;e=e+1|0}while((e|0)!=8);P=mt[1729+(dt[a>>2]|0)>>0]|0;$[r>>1]=(mt[1729+(dt[i>>2]|0)>>0]|0)<<3|(mt[1729+(dt[x>>2]|0)>>0]|0)|(mt[1729+(dt[n>>2]|0)>>0]|0)<<6|(mt[1729+(dt[t>>2]|0)>>0]|0)<<9|(mt[1729+(dt[o>>2]|0)>>0]|0)<<12|P<<15;C=mt[1729+(dt[c>>2]|0)>>0]|0;$[r+2>>1]=(mt[1729+(dt[s>>2]|0)>>0]|0)<<2|P>>>1|(mt[1729+(dt[l>>2]|0)>>0]|0)<<5|(mt[1729+(dt[u>>2]|0)>>0]|0)<<8|(mt[1729+(dt[h>>2]|0)>>0]|0)<<11|C<<14;$[r+4>>1]=(mt[1729+(dt[f>>2]|0)>>0]|0)<<1|C>>>2|(mt[1729+(dt[p>>2]|0)>>0]|0)<<4|(mt[1729+(dt[d>>2]|0)>>0]|0)<<7|(mt[1729+(dt[m>>2]|0)>>0]|0)<<10|(mt[1729+(dt[g>>2]|0)>>0]|0)<<13;v=v+1|0;if((v|0)==(b|0)){e=1;break}else r=r+6|0}}}while(0)}else e=0;ce(k);C=e;vt=S;return C|0}function Me(t,e,r,i,n,o,a,s){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;s=s|0;var l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0,N=0,B=0,U=0,X=0,H=0,q=0,W=0,G=0,V=0,Y=0,Z=0,J=0,K=0,Q=0,$=0,tt=0,et=0,rt=0,it=0,nt=0,ot=0,at=0,st=0,lt=0,ut=0,ht=0,ct=0,ft=0;ht=vt;vt=vt+720|0;ut=ht+184|0;st=ht+168|0;at=ht+160|0;ot=ht+144|0;nt=ht+136|0;it=ht+120|0;rt=ht+112|0;tt=ht+96|0;$=ht+88|0;Q=ht+72|0;K=ht+64|0;J=ht+48|0;Z=ht+40|0;lt=ht+24|0;et=ht+16|0;Y=ht;G=ht+208|0;V=ht+192|0;N=t+240|0;B=dt[N>>2]|0;H=t+256|0;q=dt[H>>2]|0;r=pt[(dt[t+88>>2]|0)+17>>0]|0;W=i>>>2;if(!(r<<24>>24)){vt=ht;return 1}U=(s|0)==0;X=s+-1|0;M=(o&1|0)!=0;D=i<<1;z=t+92|0;R=t+116|0;F=t+140|0;j=t+236|0;L=a+-1|0;O=(n&1|0)!=0;I=t+188|0;S=t+252|0;P=W+1|0;C=W+2|0;A=W+3|0;E=L<<4;T=r&255;r=0;o=0;n=1;k=0;do{if(!U){x=dt[e+(k<<2)>>2]|0;w=0;while(1){_=w&1;l=(_|0)==0;v=(_<<5^32)+-16|0;_=(_<<1^2)+-1|0;b=l?a:-1;u=l?0:L;t=(w|0)==(X|0);y=M&t;if((u|0)!=(b|0)){g=M&t^1;m=l?x:x+E|0;while(1){if((n|0)==1)n=ge(z,R)|0|512;d=n&7;n=n>>>3;l=mt[1823+d>>0]|0;t=0;do{f=(ge(z,F)|0)+o|0;p=f-B|0;o=p>>31;o=o&f|p&~o;if((dt[N>>2]|0)>>>0<=o>>>0){dt[Y>>2]=1154;dt[Y+4>>2]=903;dt[Y+8>>2]=1781;br(G,1100,Y)|0;yr(G,et)|0}dt[V+(t<<2)>>2]=dt[(dt[j>>2]|0)+(o<<2)>>2];t=t+1|0}while(t>>>0<l>>>0);p=O&(u|0)==(L|0);if(y|p){f=0;do{h=_t(f,i)|0;t=m+h|0;l=(f|0)==0|g;c=f<<1;ft=(ge(z,I)|0)+r|0;ct=ft-q|0;r=ct>>31;r=r&ft|ct&~r;do{if(p){if(!l){ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;break}dt[t>>2]=dt[V+((mt[1831+(d<<2)+c>>0]|0)<<2)>>2];if((dt[H>>2]|0)>>>0<=r>>>0){dt[ot>>2]=1154;dt[ot+4>>2]=903;dt[ot+8>>2]=1781;br(G,1100,ot)|0;yr(G,at)|0}dt[m+(h+4)>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r}else{if(!l){ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;break}dt[t>>2]=dt[V+((mt[1831+(d<<2)+c>>0]|0)<<2)>>2];if((dt[H>>2]|0)>>>0<=r>>>0){dt[it>>2]=1154;dt[it+4>>2]=903;dt[it+8>>2]=1781;br(G,1100,it)|0;yr(G,nt)|0}dt[m+(h+4)>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;dt[m+(h+8)>>2]=dt[V+((mt[(c|1)+(1831+(d<<2))>>0]|0)<<2)>>2];if((dt[H>>2]|0)>>>0<=r>>>0){dt[st>>2]=1154;dt[st+4>>2]=903;dt[st+8>>2]=1781;br(G,1100,st)|0;yr(G,ut)|0}dt[m+(h+12)>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2]}}while(0);f=f+1|0}while((f|0)!=2)}else{dt[m>>2]=dt[V+((mt[1831+(d<<2)>>0]|0)<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;if((dt[H>>2]|0)>>>0<=r>>>0){dt[lt>>2]=1154;dt[lt+4>>2]=903;dt[lt+8>>2]=1781;br(G,1100,lt)|0;yr(G,Z)|0}dt[m+4>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2];dt[m+8>>2]=dt[V+((mt[1831+(d<<2)+1>>0]|0)<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;if((dt[H>>2]|0)>>>0<=r>>>0){dt[J>>2]=1154;dt[J+4>>2]=903;dt[J+8>>2]=1781;br(G,1100,J)|0;yr(G,K)|0}dt[m+12>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2];dt[m+(W<<2)>>2]=dt[V+((mt[1831+(d<<2)+2>>0]|0)<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;if((dt[H>>2]|0)>>>0<=r>>>0){dt[Q>>2]=1154;dt[Q+4>>2]=903;dt[Q+8>>2]=1781;br(G,1100,Q)|0;yr(G,$)|0}dt[m+(P<<2)>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2];dt[m+(C<<2)>>2]=dt[V+((mt[1831+(d<<2)+3>>0]|0)<<2)>>2];ct=(ge(z,I)|0)+r|0;ft=ct-q|0;r=ft>>31;r=r&ct|ft&~r;if((dt[H>>2]|0)>>>0<=r>>>0){dt[tt>>2]=1154;dt[tt+4>>2]=903;dt[tt+8>>2]=1781;br(G,1100,tt)|0;yr(G,rt)|0}dt[m+(A<<2)>>2]=dt[(dt[S>>2]|0)+(r<<2)>>2]}u=u+_|0;if((u|0)==(b|0))break;else m=m+v|0}}w=w+1|0;if((w|0)==(s|0))break;else x=x+D|0}}k=k+1|0}while((k|0)!=(T|0));vt=ht;return 1}function De(t,e,r,i,n,o,a,s){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;s=s|0;var l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0,N=0,B=0,U=0,X=0,H=0,q=0,W=0,G=0,V=0,Y=0,Z=0,J=0,K=0,Q=0,$=0,tt=0,et=0,rt=0,it=0,nt=0,ot=0,at=0,st=0,lt=0,ut=0,ht=0,ct=0,ft=0;ct=vt;vt=vt+640|0;lt=ct+88|0;st=ct+72|0;at=ct+64|0;ot=ct+48|0;nt=ct+40|0;ht=ct+24|0;ut=ct+16|0;it=ct;et=ct+128|0;rt=ct+112|0;tt=ct+96|0;N=t+240|0;B=dt[N>>2]|0;H=t+256|0;K=dt[H>>2]|0;Q=t+272|0;$=dt[Q>>2]|0;r=dt[t+88>>2]|0;U=(mt[r+63>>0]|0)<<8|(mt[r+64>>0]|0);r=pt[r+17>>0]|0;if(!(r<<24>>24)){vt=ct;return 1}X=(s|0)==0;q=s+-1|0;W=i<<1;G=t+92|0;V=t+116|0;Y=a+-1|0;Z=t+212|0;J=t+188|0;L=(n&1|0)==0;j=(o&1|0)==0;O=t+288|0;M=t+284|0;D=t+252|0;z=t+140|0;R=t+236|0;F=t+164|0;E=t+268|0;I=Y<<5;C=r&255;r=0;n=0;o=0;t=0;l=1;A=0;do{if(!X){S=dt[e+(A<<2)>>2]|0;P=0;while(1){T=P&1;u=(T|0)==0;w=(T<<6^64)+-32|0;T=(T<<1^2)+-1|0;k=u?a:-1;h=u?0:Y;if((h|0)!=(k|0)){x=j|(P|0)!=(q|0);b=u?S:S+I|0;while(1){if((l|0)==1)l=ge(G,V)|0|512;y=l&7;l=l>>>3;c=mt[1823+y>>0]|0;u=0;do{v=(ge(G,F)|0)+n|0;_=v-$|0;n=_>>31;n=n&v|_&~n;if((dt[Q>>2]|0)>>>0<=n>>>0){dt[it>>2]=1154;dt[it+4>>2]=903;dt[it+8>>2]=1781;br(et,1100,it)|0;yr(et,ut)|0}dt[tt+(u<<2)>>2]=gt[(dt[E>>2]|0)+(n<<1)>>1];u=u+1|0}while(u>>>0<c>>>0);u=0;do{v=(ge(G,z)|0)+t|0;_=v-B|0;t=_>>31;t=t&v|_&~t;if((dt[N>>2]|0)>>>0<=t>>>0){dt[ht>>2]=1154;dt[ht+4>>2]=903;dt[ht+8>>2]=1781;br(et,1100,ht)|0;yr(et,nt)|0}dt[rt+(u<<2)>>2]=dt[(dt[R>>2]|0)+(t<<2)>>2];u=u+1|0}while(u>>>0<c>>>0);_=L|(h|0)!=(Y|0);g=0;v=b;while(1){m=x|(g|0)==0;d=g<<1;f=0;p=v;while(1){c=(ge(G,Z)|0)+r|0;u=c-U|0;r=u>>31;r=r&c|u&~r;u=(ge(G,J)|0)+o|0;c=u-K|0;o=c>>31;o=o&u|c&~o;if((_|(f|0)==0)&m){u=mt[f+d+(1831+(y<<2))>>0]|0;c=r*3|0;if((dt[O>>2]|0)>>>0<=c>>>0){dt[ot>>2]=1154;dt[ot+4>>2]=903;dt[ot+8>>2]=1781;br(et,1100,ot)|0;yr(et,at)|0}ft=dt[M>>2]|0;dt[p>>2]=(gt[ft+(c<<1)>>1]|0)<<16|dt[tt+(u<<2)>>2];dt[p+4>>2]=(gt[ft+(c+2<<1)>>1]|0)<<16|(gt[ft+(c+1<<1)>>1]|0);dt[p+8>>2]=dt[rt+(u<<2)>>2];if((dt[H>>2]|0)>>>0<=o>>>0){dt[st>>2]=1154;dt[st+4>>2]=903;dt[st+8>>2]=1781;br(et,1100,st)|0;yr(et,lt)|0}dt[p+12>>2]=dt[(dt[D>>2]|0)+(o<<2)>>2]}f=f+1|0;if((f|0)==2)break;else p=p+16|0}g=g+1|0;if((g|0)==2)break;else v=v+i|0}h=h+T|0;if((h|0)==(k|0))break;else b=b+w|0}}P=P+1|0;if((P|0)==(s|0))break;else S=S+W|0}}A=A+1|0}while((A|0)!=(C|0));vt=ct;return 1}function ze(t,e,r,i,n,o,a,s){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;s=s|0;var l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0,N=0,B=0,U=0,X=0,H=0,q=0,W=0,G=0,V=0,Y=0,Z=0,J=0,K=0;K=vt;vt=vt+608|0;Y=K+64|0;V=K+48|0;G=K+40|0;J=K+24|0;Z=K+16|0;W=K;q=K+88|0;H=K+72|0;D=t+272|0;z=dt[D>>2]|0;r=dt[t+88>>2]|0;R=(mt[r+63>>0]|0)<<8|(mt[r+64>>0]|0);r=pt[r+17>>0]|0;if(!(r<<24>>24)){vt=K;return 1}F=(s|0)==0;j=s+-1|0;L=i<<1;N=t+92|0;B=t+116|0;U=a+-1|0;X=t+212|0;M=(o&1|0)==0;E=t+288|0;I=t+284|0;O=t+164|0;C=t+268|0;A=U<<4;P=r&255;S=(n&1|0)!=0;r=0;o=0;t=1;k=0;do{if(!F){w=dt[e+(k<<2)>>2]|0;T=0;while(1){b=T&1;n=(b|0)==0;y=(b<<5^32)+-16|0;b=(b<<1^2)+-1|0;x=n?a:-1;l=n?0:U;if((l|0)!=(x|0)){_=M|(T|0)!=(j|0);v=n?w:w+A|0;while(1){if((t|0)==1)t=ge(N,B)|0|512;g=t&7;t=t>>>3;u=mt[1823+g>>0]|0;n=0;do{d=(ge(N,O)|0)+o|0;m=d-z|0;o=m>>31;o=o&d|m&~o;if((dt[D>>2]|0)>>>0<=o>>>0){dt[W>>2]=1154;dt[W+4>>2]=903;dt[W+8>>2]=1781;br(q,1100,W)|0;yr(q,Z)|0}dt[H+(n<<2)>>2]=gt[(dt[C>>2]|0)+(o<<1)>>1];n=n+1|0}while(n>>>0<u>>>0);m=(l|0)==(U|0)&S;p=0;d=v;while(1){f=_|(p|0)==0;c=p<<1;n=(ge(N,X)|0)+r|0;h=n-R|0;u=h>>31;u=u&n|h&~u;if(f){r=mt[1831+(g<<2)+c>>0]|0;n=u*3|0;if((dt[E>>2]|0)>>>0<=n>>>0){dt[J>>2]=1154;dt[J+4>>2]=903;dt[J+8>>2]=1781;br(q,1100,J)|0;yr(q,G)|0}h=dt[I>>2]|0;dt[d>>2]=(gt[h+(n<<1)>>1]|0)<<16|dt[H+(r<<2)>>2];dt[d+4>>2]=(gt[h+(n+2<<1)>>1]|0)<<16|(gt[h+(n+1<<1)>>1]|0)}h=d+8|0;n=(ge(N,X)|0)+u|0;u=n-R|0;r=u>>31;r=r&n|u&~r;if(!(m|f^1)){n=mt[(c|1)+(1831+(g<<2))>>0]|0;u=r*3|0;if((dt[E>>2]|0)>>>0<=u>>>0){dt[V>>2]=1154;dt[V+4>>2]=903;dt[V+8>>2]=1781;br(q,1100,V)|0;yr(q,Y)|0}f=dt[I>>2]|0;dt[h>>2]=(gt[f+(u<<1)>>1]|0)<<16|dt[H+(n<<2)>>2];dt[d+12>>2]=(gt[f+(u+2<<1)>>1]|0)<<16|(gt[f+(u+1<<1)>>1]|0)}p=p+1|0;if((p|0)==2)break;else d=d+i|0}l=l+b|0;if((l|0)==(x|0))break;else v=v+y|0}}T=T+1|0;if((T|0)==(s|0))break;else w=w+L|0}}k=k+1|0}while((k|0)!=(P|0));vt=K;return 1}function Re(t,e,r,i,n,o,a,s){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;s=s|0;var l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0,N=0,B=0,U=0,X=0,H=0,q=0,W=0,G=0,V=0,Y=0,Z=0,J=0,K=0,Q=0,$=0,tt=0,et=0,rt=0,it=0,nt=0,ot=0,at=0;at=vt;vt=vt+640|0;it=at+88|0;rt=at+72|0;et=at+64|0;tt=at+48|0;$=at+40|0;ot=at+24|0;nt=at+16|0;Q=at;K=at+128|0;Z=at+112|0;J=at+96|0;N=t+272|0;B=dt[N>>2]|0;r=dt[t+88>>2]|0;U=(mt[r+63>>0]|0)<<8|(mt[r+64>>0]|0);r=pt[r+17>>0]|0;if(!(r<<24>>24)){vt=at;return 1}X=(s|0)==0;H=s+-1|0;q=i<<1;W=t+92|0;G=t+116|0;V=a+-1|0;Y=t+212|0;L=(n&1|0)==0;j=(o&1|0)==0;z=t+288|0;R=t+284|0;F=t+164|0;M=t+268|0;D=V<<5;I=r&255;r=0;n=0;o=0;t=0;l=1;O=0;do{if(!X){A=dt[e+(O<<2)>>2]|0;E=0;while(1){P=E&1;u=(P|0)==0;S=(P<<6^64)+-32|0;P=(P<<1^2)+-1|0;C=u?a:-1;h=u?0:V;if((h|0)!=(C|0)){k=j|(E|0)!=(H|0);T=u?A:A+D|0;while(1){if((l|0)==1)l=ge(W,G)|0|512;w=l&7;l=l>>>3;c=mt[1823+w>>0]|0;u=0;do{b=(ge(W,F)|0)+t|0;x=b-B|0;t=x>>31;t=t&b|x&~t;if((dt[N>>2]|0)>>>0<=t>>>0){dt[Q>>2]=1154;dt[Q+4>>2]=903;dt[Q+8>>2]=1781;br(K,1100,Q)|0;yr(K,nt)|0}dt[Z+(u<<2)>>2]=gt[(dt[M>>2]|0)+(t<<1)>>1];u=u+1|0}while(u>>>0<c>>>0);u=0;do{b=(ge(W,F)|0)+n|0;x=b-B|0;n=x>>31;n=n&b|x&~n;if((dt[N>>2]|0)>>>0<=n>>>0){dt[ot>>2]=1154;dt[ot+4>>2]=903;dt[ot+8>>2]=1781;br(K,1100,ot)|0;yr(K,$)|0}dt[J+(u<<2)>>2]=gt[(dt[M>>2]|0)+(n<<1)>>1];u=u+1|0}while(u>>>0<c>>>0);x=L|(h|0)!=(V|0);y=0;b=T;while(1){_=k|(y|0)==0;v=y<<1;m=0;g=b;while(1){d=(ge(W,Y)|0)+o|0;p=d-U|0;o=p>>31;o=o&d|p&~o;p=(ge(W,Y)|0)+r|0;d=p-U|0;r=d>>31;r=r&p|d&~r;if((x|(m|0)==0)&_){p=mt[m+v+(1831+(w<<2))>>0]|0;d=o*3|0;u=dt[z>>2]|0;if(u>>>0<=d>>>0){dt[tt>>2]=1154;dt[tt+4>>2]=903;dt[tt+8>>2]=1781;br(K,1100,tt)|0;yr(K,et)|0;u=dt[z>>2]|0}c=dt[R>>2]|0;f=r*3|0;if(u>>>0>f>>>0)u=c;else{dt[rt>>2]=1154;dt[rt+4>>2]=903;dt[rt+8>>2]=1781;br(K,1100,rt)|0;yr(K,it)|0;u=dt[R>>2]|0}dt[g>>2]=(gt[c+(d<<1)>>1]|0)<<16|dt[Z+(p<<2)>>2];dt[g+4>>2]=(gt[c+(d+2<<1)>>1]|0)<<16|(gt[c+(d+1<<1)>>1]|0);dt[g+8>>2]=(gt[u+(f<<1)>>1]|0)<<16|dt[J+(p<<2)>>2];dt[g+12>>2]=(gt[u+(f+2<<1)>>1]|0)<<16|(gt[u+(f+1<<1)>>1]|0)}m=m+1|0;if((m|0)==2)break;else g=g+16|0}y=y+1|0;if((y|0)==2)break;else b=b+i|0}h=h+P|0;if((h|0)==(C|0))break;else T=T+S|0}}E=E+1|0;if((E|0)==(s|0))break;else A=A+q|0}}O=O+1|0}while((O|0)!=(I|0));vt=at;return 1}function Fe(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0;f=vt;vt=vt+608|0;c=f+88|0;h=f+72|0;l=f+64|0;s=f+48|0;o=f+40|0;a=f+24|0;n=f+16|0;i=f;u=f+96|0;dt[t>>2]=0;e=t+284|0;r=dt[e>>2]|0;if(r){if(!(r&7))Di[dt[104>>2]&1](r,0,0,1,dt[27]|0)|0;else{dt[i>>2]=1154;dt[i+4>>2]=2499;dt[i+8>>2]=1516;br(u,1100,i)|0;yr(u,n)|0}dt[e>>2]=0;dt[t+288>>2]=0;dt[t+292>>2]=0}pt[t+296>>0]=0;e=t+268|0;r=dt[e>>2]|0;if(r){if(!(r&7))Di[dt[104>>2]&1](r,0,0,1,dt[27]|0)|0;else{dt[a>>2]=1154;dt[a+4>>2]=2499;dt[a+8>>2]=1516;br(u,1100,a)|0;yr(u,o)|0}dt[e>>2]=0;dt[t+272>>2]=0;dt[t+276>>2]=0}pt[t+280>>0]=0;e=t+252|0;r=dt[e>>2]|0;if(r){if(!(r&7))Di[dt[104>>2]&1](r,0,0,1,dt[27]|0)|0;else{dt[s>>2]=1154;dt[s+4>>2]=2499;dt[s+8>>2]=1516;br(u,1100,s)|0;yr(u,l)|0}dt[e>>2]=0;dt[t+256>>2]=0;dt[t+260>>2]=0}pt[t+264>>0]=0;e=t+236|0;r=dt[e>>2]|0;if(!r){c=t+248|0;pt[c>>0]=0;c=t+212|0;ce(c);c=t+188|0;ce(c);c=t+164|0;ce(c);c=t+140|0;ce(c);c=t+116|0;ce(c);vt=f;return}if(!(r&7))Di[dt[104>>2]&1](r,0,0,1,dt[27]|0)|0;else{dt[h>>2]=1154;dt[h+4>>2]=2499;dt[h+8>>2]=1516;br(u,1100,h)|0;yr(u,c)|0}dt[e>>2]=0;dt[t+240>>2]=0;dt[t+244>>2]=0;c=t+248|0;pt[c>>0]=0;c=t+212|0;ce(c);c=t+188|0;ce(c);c=t+164|0;ce(c);c=t+140|0;ce(c);c=t+116|0;ce(c);vt=f;return}function je(t,e){t=t|0;e=e|0;var r=0;r=vt;vt=vt+16|0;dt[r>>2]=e;e=dt[63]|0;xr(e,t,r)|0;vr(10,e)|0;Xt()}function Le(){var t=0,e=0;t=vt;vt=vt+16|0;if(!(Ft(200,2)|0)){e=zt(dt[49]|0)|0;vt=t;return e|0}else je(2090,t);return 0}function Ne(t){t=t|0;Ur(t);return}function Be(t){t=t|0;var e=0;e=vt;vt=vt+16|0;Oi[t&3]();je(2139,e)}function Ue(){var t=0,e=0;t=Le()|0;if(((t|0)!=0?(e=dt[t>>2]|0,(e|0)!=0):0)?(t=e+48|0,(dt[t>>2]&-256|0)==1126902528?(dt[t+4>>2]|0)==1129074247:0):0)Be(dt[e+12>>2]|0);e=dt[28]|0;dt[28]=e+0;Be(e)}function Xe(t){t=t|0;return}function He(t){t=t|0;return}function qe(t){t=t|0;return}function We(t){t=t|0;return}function Ge(t){t=t|0;Ne(t);return}function Ve(t){t=t|0;Ne(t);return}function Ye(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0;a=vt;vt=vt+64|0;o=a;if((t|0)!=(e|0))if((e|0)!=0?(n=Qe(e,24,40,0)|0,(n|0)!=0):0){e=o;i=e+56|0;do{dt[e>>2]=0;e=e+4|0}while((e|0)<(i|0));dt[o>>2]=n;dt[o+8>>2]=t;dt[o+12>>2]=-1;dt[o+48>>2]=1;zi[dt[(dt[n>>2]|0)+28>>2]&3](n,o,dt[r>>2]|0,1);if((dt[o+24>>2]|0)==1){dt[r>>2]=dt[o+16>>2];e=1}else e=0}else e=0;else e=1;vt=a;return e|0}function Ze(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0;t=e+16|0;n=dt[t>>2]|0;do{if(n){if((n|0)!=(r|0)){i=e+36|0;dt[i>>2]=(dt[i>>2]|0)+1;dt[e+24>>2]=2;pt[e+54>>0]=1;break}t=e+24|0;if((dt[t>>2]|0)==2)dt[t>>2]=i}else{dt[t>>2]=r;dt[e+24>>2]=i;dt[e+36>>2]=1}}while(0);return}function Je(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;if((t|0)==(dt[e+8>>2]|0))Ze(0,e,r,i);return}function Ke(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;if((t|0)==(dt[e+8>>2]|0))Ze(0,e,r,i);else{t=dt[t+8>>2]|0;zi[dt[(dt[t>>2]|0)+28>>2]&3](t,e,r,i)}return}function Qe(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0;p=vt;vt=vt+64|0;f=p;c=dt[t>>2]|0;h=t+(dt[c+-8>>2]|0)|0;c=dt[c+-4>>2]|0;dt[f>>2]=r;dt[f+4>>2]=t;dt[f+8>>2]=e;dt[f+12>>2]=i;i=f+16|0;t=f+20|0;e=f+24|0;n=f+28|0;o=f+32|0;a=f+40|0;s=(c|0)==(r|0);l=i;u=l+36|0;do{dt[l>>2]=0;l=l+4|0}while((l|0)<(u|0));$[i+36>>1]=0;pt[i+38>>0]=0;t:do{if(s){dt[f+48>>2]=1;Mi[dt[(dt[r>>2]|0)+20>>2]&3](r,f,h,h,1,0);i=(dt[e>>2]|0)==1?h:0}else{Ci[dt[(dt[c>>2]|0)+24>>2]&3](c,f,h,1,0);switch(dt[f+36>>2]|0){case 0:{i=(dt[a>>2]|0)==1&(dt[n>>2]|0)==1&(dt[o>>2]|0)==1?dt[t>>2]|0:0;break t}case 1:break;default:{i=0;break t}}if((dt[e>>2]|0)!=1?!((dt[a>>2]|0)==0&(dt[n>>2]|0)==1&(dt[o>>2]|0)==1):0){i=0;break}i=dt[i>>2]|0}}while(0);vt=p;return i|0}function $e(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;pt[e+53>>0]=1;do{if((dt[e+4>>2]|0)==(i|0)){pt[e+52>>0]=1;i=e+16|0;t=dt[i>>2]|0;if(!t){dt[i>>2]=r;dt[e+24>>2]=n;dt[e+36>>2]=1;if(!((n|0)==1?(dt[e+48>>2]|0)==1:0))break;pt[e+54>>0]=1;break}if((t|0)!=(r|0)){n=e+36|0;dt[n>>2]=(dt[n>>2]|0)+1;pt[e+54>>0]=1;break}t=e+24|0;i=dt[t>>2]|0;if((i|0)==2){dt[t>>2]=n;i=n}if((i|0)==1?(dt[e+48>>2]|0)==1:0)pt[e+54>>0]=1}}while(0);return}function tr(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0;t:do{if((t|0)==(dt[e+8>>2]|0)){if((dt[e+4>>2]|0)==(r|0)?(o=e+28|0,(dt[o>>2]|0)!=1):0)dt[o>>2]=i}else{if((t|0)!=(dt[e>>2]|0)){s=dt[t+8>>2]|0;Ci[dt[(dt[s>>2]|0)+24>>2]&3](s,e,r,i,n);break}if((dt[e+16>>2]|0)!=(r|0)?(a=e+20|0,(dt[a>>2]|0)!=(r|0)):0){dt[e+32>>2]=i;i=e+44|0;if((dt[i>>2]|0)==4)break;o=e+52|0;pt[o>>0]=0;l=e+53|0;pt[l>>0]=0;t=dt[t+8>>2]|0;Mi[dt[(dt[t>>2]|0)+20>>2]&3](t,e,r,r,1,n);if(pt[l>>0]|0){if(!(pt[o>>0]|0)){o=1;s=13}}else{o=0;s=13}do{if((s|0)==13){dt[a>>2]=r;l=e+40|0;dt[l>>2]=(dt[l>>2]|0)+1;if((dt[e+36>>2]|0)==1?(dt[e+24>>2]|0)==2:0){pt[e+54>>0]=1;if(o)break}else s=16;if((s|0)==16?o:0)break;dt[i>>2]=4;break t}}while(0);dt[i>>2]=3;break}if((i|0)==1)dt[e+32>>2]=1}}while(0);return}function er(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0;do{if((t|0)==(dt[e+8>>2]|0)){if((dt[e+4>>2]|0)==(r|0)?(a=e+28|0,(dt[a>>2]|0)!=1):0)dt[a>>2]=i}else if((t|0)==(dt[e>>2]|0)){if((dt[e+16>>2]|0)!=(r|0)?(o=e+20|0,(dt[o>>2]|0)!=(r|0)):0){dt[e+32>>2]=i;dt[o>>2]=r;n=e+40|0;dt[n>>2]=(dt[n>>2]|0)+1;if((dt[e+36>>2]|0)==1?(dt[e+24>>2]|0)==2:0)pt[e+54>>0]=1;dt[e+44>>2]=4;break}if((i|0)==1)dt[e+32>>2]=1}}while(0);return}function rr(t,e,r,i,n,o){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;if((t|0)==(dt[e+8>>2]|0))$e(0,e,r,i,n);else{t=dt[t+8>>2]|0;Mi[dt[(dt[t>>2]|0)+20>>2]&3](t,e,r,i,n,o)}return}function ir(t,e,r,i,n,o){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;if((t|0)==(dt[e+8>>2]|0))$e(0,e,r,i,n);return}function nr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0;n=vt;vt=vt+16|0;i=n;dt[i>>2]=dt[r>>2];t=Pi[dt[(dt[t>>2]|0)+16>>2]&7](t,e,i)|0;if(t)dt[r>>2]=dt[i>>2];vt=n;return t&1|0}function or(t){t=t|0;if(!t)t=0;else t=(Qe(t,24,72,0)|0)!=0;return t&1|0}function ar(){var t=0,e=0,r=0,i=0,n=0,o=0,a=0,s=0;n=vt;vt=vt+48|0;a=n+32|0;r=n+24|0;s=n+16|0;o=n;n=n+36|0;t=Le()|0;if((t|0)!=0?(i=dt[t>>2]|0,(i|0)!=0):0){t=i+48|0;e=dt[t>>2]|0;t=dt[t+4>>2]|0;if(!((e&-256|0)==1126902528&(t|0)==1129074247)){dt[r>>2]=dt[51];je(2368,r)}if((e|0)==1126902529&(t|0)==1129074247)t=dt[i+44>>2]|0;else t=i+80|0;dt[n>>2]=t;i=dt[i>>2]|0;t=dt[i+4>>2]|0;if(Pi[dt[(dt[8>>2]|0)+16>>2]&7](8,i,n)|0){s=dt[n>>2]|0;n=dt[51]|0;s=Ei[dt[(dt[s>>2]|0)+8>>2]&1](s)|0;dt[o>>2]=n;dt[o+4>>2]=t;dt[o+8>>2]=s;je(2282,o)}else{dt[s>>2]=dt[51];dt[s+4>>2]=t;je(2327,s)}}je(2406,a)}function sr(){var t=0;t=vt;vt=vt+16|0;if(!(jt(196,6)|0)){vt=t;return}else je(2179,t)}function lr(t){t=t|0;var e=0;e=vt;vt=vt+16|0;Ur(t);if(!(Bt(dt[49]|0,0)|0)){vt=e;return}else je(2229,e)}function ur(t){t=t|0;var e=0,r=0;e=0;while(1){if((mt[2427+e>>0]|0)==(t|0)){r=2;break}e=e+1|0;if((e|0)==87){e=87;t=2515;r=5;break}}if((r|0)==2)if(!e)t=2515;else{t=2515;r=5}if((r|0)==5)while(1){r=t;while(1){t=r+1|0;if(!(pt[r>>0]|0))break;else r=t}e=e+-1|0;if(!e)break;else r=5}return t|0}function hr(){var t=0;if(!(dt[52]|0))t=264;else{t=(Rt()|0)+60|0;t=dt[t>>2]|0}return t|0}function cr(t){t=t|0;var e=0;if(t>>>0>4294963200){e=hr()|0;dt[e>>2]=0-t;t=-1}return t|0}function fr(t,e){t=+t;e=e|0;var r=0,i=0,n=0;tt[et>>3]=t;r=dt[et>>2]|0;i=dt[et+4>>2]|0;n=Zr(r|0,i|0,52)|0;n=n&2047;switch(n|0){case 0:{if(t!=0.0){t=+fr(t*18446744073709552.0e3,e);r=(dt[e>>2]|0)+-64|0}else r=0;dt[e>>2]=r;break}case 2047:break;default:{dt[e>>2]=n+-1022;dt[et>>2]=r;dt[et+4>>2]=i&-2146435073|1071644672;t=+tt[et>>3]}}return+t}function pr(t,e){t=+t;e=e|0;return+ +fr(t,e)}function dr(t,e,r){t=t|0;e=e|0;r=r|0;do{if(t){if(e>>>0<128){pt[t>>0]=e;t=1;break}if(e>>>0<2048){pt[t>>0]=e>>>6|192;pt[t+1>>0]=e&63|128;t=2;break}if(e>>>0<55296|(e&-8192|0)==57344){pt[t>>0]=e>>>12|224;pt[t+1>>0]=e>>>6&63|128;pt[t+2>>0]=e&63|128;t=3;break}if((e+-65536|0)>>>0<1048576){pt[t>>0]=e>>>18|240;pt[t+1>>0]=e>>>12&63|128;pt[t+2>>0]=e>>>6&63|128;pt[t+3>>0]=e&63|128;t=4;break}else{t=hr()|0;dt[t>>2]=84;t=-1;break}}else t=1}while(0);return t|0}function mr(t,e){t=t|0;e=e|0;if(!t)t=0;else t=dr(t,e,0)|0;return t|0}function gr(t){t=t|0;var e=0,r=0;do{if(t){if((dt[t+76>>2]|0)<=-1){e=Dr(t)|0;break}r=(kr(t)|0)==0;e=Dr(t)|0;if(!r)Sr(t)}else{if(!(dt[65]|0))e=0;else e=gr(dt[65]|0)|0;Ut(236);t=dt[58]|0;if(t)do{if((dt[t+76>>2]|0)>-1)r=kr(t)|0;else r=0;if((dt[t+20>>2]|0)>>>0>(dt[t+28>>2]|0)>>>0)e=Dr(t)|0|e;if(r)Sr(t);t=dt[t+56>>2]|0}while((t|0)!=0);Lt(236)}}while(0);return e|0}function vr(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0;if((dt[e+76>>2]|0)>=0?(kr(e)|0)!=0:0){if((pt[e+75>>0]|0)!=(t|0)?(i=e+20|0,n=dt[i>>2]|0,n>>>0<(dt[e+16>>2]|0)>>>0):0){dt[i>>2]=n+1;pt[n>>0]=t;r=t&255}else r=Pr(e,t)|0;Sr(e)}else a=3;do{if((a|0)==3){if((pt[e+75>>0]|0)!=(t|0)?(o=e+20|0,r=dt[o>>2]|0,r>>>0<(dt[e+16>>2]|0)>>>0):0){dt[o>>2]=r+1;pt[r>>0]=t;r=t&255;break}r=Pr(e,t)|0}}while(0);return r|0}function _r(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0;i=r+16|0;n=dt[i>>2]|0;if(!n)if(!(Or(r)|0)){n=dt[i>>2]|0;o=4}else i=0;else o=4;t:do{if((o|0)==4){a=r+20|0;o=dt[a>>2]|0;if((n-o|0)>>>0<e>>>0){i=Pi[dt[r+36>>2]&7](r,t,e)|0;break}e:do{if((pt[r+75>>0]|0)>-1){i=e;while(1){if(!i){n=o;i=0;break e}n=i+-1|0;if((pt[t+n>>0]|0)==10)break;else i=n}if((Pi[dt[r+36>>2]&7](r,t,i)|0)>>>0<i>>>0)break t;e=e-i|0;t=t+i|0;n=dt[a>>2]|0}else{n=o;i=0}}while(0);Qr(n|0,t|0,e|0)|0;dt[a>>2]=(dt[a>>2]|0)+e;i=i+e|0}}while(0);return i|0}function yr(t,e){t=t|0;e=e|0;var r=0,i=0;r=vt;vt=vt+16|0;i=r;dt[i>>2]=e;e=xr(dt[64]|0,t,i)|0;vt=r;return e|0}function br(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0;i=vt;vt=vt+16|0;n=i;dt[n>>2]=r;r=Tr(t,e,n)|0;vt=i;return r|0}function xr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0;m=vt;vt=vt+224|0;c=m+120|0;d=m+80|0;p=m;f=m+136|0;i=d;n=i+40|0;do{dt[i>>2]=0;i=i+4|0}while((i|0)<(n|0));dt[c>>2]=dt[r>>2];if((zr(0,e,c,p,d)|0)<0)r=-1;else{if((dt[t+76>>2]|0)>-1)u=kr(t)|0;else u=0;r=dt[t>>2]|0;h=r&32;if((pt[t+74>>0]|0)<1)dt[t>>2]=r&-33;r=t+48|0;if(!(dt[r>>2]|0)){n=t+44|0;o=dt[n>>2]|0;dt[n>>2]=f;a=t+28|0;dt[a>>2]=f;s=t+20|0;dt[s>>2]=f;dt[r>>2]=80;l=t+16|0;dt[l>>2]=f+80;i=zr(t,e,c,p,d)|0;if(o){Pi[dt[t+36>>2]&7](t,0,0)|0;i=(dt[s>>2]|0)==0?-1:i;dt[n>>2]=o;dt[r>>2]=0;dt[l>>2]=0;dt[a>>2]=0;dt[s>>2]=0}}else i=zr(t,e,c,p,d)|0;r=dt[t>>2]|0;dt[t>>2]=r|h;if(u)Sr(t);r=(r&32|0)==0?i:-1}vt=m;return r|0}function wr(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0,h=0;h=vt;vt=vt+128|0;n=h+112|0;u=h;o=u;a=268;s=o+112|0;do{dt[o>>2]=dt[a>>2];o=o+4|0;a=a+4|0}while((o|0)<(s|0));if((e+-1|0)>>>0>2147483646)if(!e){e=1;l=4}else{e=hr()|0;dt[e>>2]=75;e=-1}else{n=t;l=4}if((l|0)==4){l=-2-n|0;l=e>>>0>l>>>0?l:e;dt[u+48>>2]=l;t=u+20|0;dt[t>>2]=n;dt[u+44>>2]=n;e=n+l|0;n=u+16|0;dt[n>>2]=e;dt[u+28>>2]=e;e=xr(u,r,i)|0;if(l){r=dt[t>>2]|0;pt[r+(((r|0)==(dt[n>>2]|0))<<31>>31)>>0]=0}}vt=h;return e|0}function Tr(t,e,r){t=t|0;e=e|0;r=r|0;return wr(t,2147483647,e,r)|0}function kr(t){t=t|0;return 0}function Sr(t){t=t|0;return}function Pr(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0;l=vt;vt=vt+16|0;s=l;a=e&255;pt[s>>0]=a;i=t+16|0;n=dt[i>>2]|0;if(!n)if(!(Or(t)|0)){n=dt[i>>2]|0;o=4}else r=-1;else o=4;do{if((o|0)==4){i=t+20|0;o=dt[i>>2]|0;if(o>>>0<n>>>0?(r=e&255,(r|0)!=(pt[t+75>>0]|0)):0){dt[i>>2]=o+1;pt[o>>0]=a;break}if((Pi[dt[t+36>>2]&7](t,s,1)|0)==1)r=mt[s>>0]|0;else r=-1}}while(0);vt=l;return r|0}function Cr(t){t=t|0;var e=0,r=0;e=vt;vt=vt+16|0;r=e;dt[r>>2]=dt[t+60>>2];t=cr(Pt(6,r|0)|0)|0;vt=e;return t|0}function Ar(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0;n=vt;vt=vt+32|0;o=n;i=n+20|0;dt[o>>2]=dt[t+60>>2];dt[o+4>>2]=0;dt[o+8>>2]=e;dt[o+12>>2]=i;dt[o+16>>2]=r;if((cr(Wt(140,o|0)|0)|0)<0){dt[i>>2]=-1;t=-1}else t=dt[i>>2]|0;vt=n;return t|0}function Er(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0;d=vt;vt=vt+48|0;c=d+16|0;h=d;i=d+32|0;f=t+28|0;n=dt[f>>2]|0;dt[i>>2]=n;p=t+20|0;n=(dt[p>>2]|0)-n|0;dt[i+4>>2]=n;dt[i+8>>2]=e;dt[i+12>>2]=r;l=t+60|0;u=t+44|0;e=2;n=n+r|0;while(1){if(!(dt[52]|0)){dt[c>>2]=dt[l>>2];dt[c+4>>2]=i;dt[c+8>>2]=e;a=cr(Gt(146,c|0)|0)|0}else{Ht(7,t|0);dt[h>>2]=dt[l>>2];dt[h+4>>2]=i;dt[h+8>>2]=e;a=cr(Gt(146,h|0)|0)|0;kt(0)}if((n|0)==(a|0)){n=6;break}if((a|0)<0){n=8;break}n=n-a|0;o=dt[i+4>>2]|0;if(a>>>0<=o>>>0)if((e|0)==2){dt[f>>2]=(dt[f>>2]|0)+a;s=o;e=2}else s=o;else{s=dt[u>>2]|0;dt[f>>2]=s;dt[p>>2]=s;s=dt[i+12>>2]|0;a=a-o|0;i=i+8|0;e=e+-1|0}dt[i>>2]=(dt[i>>2]|0)+a;dt[i+4>>2]=s-a}if((n|0)==6){c=dt[u>>2]|0;dt[t+16>>2]=c+(dt[t+48>>2]|0);t=c;dt[f>>2]=t;dt[p>>2]=t}else if((n|0)==8){dt[t+16>>2]=0;dt[f>>2]=0;dt[p>>2]=0;dt[t>>2]=dt[t>>2]|32;if((e|0)==2)r=0;else r=r-(dt[i+4>>2]|0)|0}vt=d;return r|0}function Ir(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0;n=vt;vt=vt+80|0;i=n;dt[t+36>>2]=3;if((dt[t>>2]&64|0)==0?(dt[i>>2]=dt[t+60>>2],dt[i+4>>2]=21505,dt[i+8>>2]=n+12,(St(54,i|0)|0)!=0):0)pt[t+75>>0]=-1;i=Er(t,e,r)|0;vt=n;return i|0}function Or(t){t=t|0;var e=0,r=0;e=t+74|0;r=pt[e>>0]|0;pt[e>>0]=r+255|r;e=dt[t>>2]|0;if(!(e&8)){dt[t+8>>2]=0;dt[t+4>>2]=0;e=dt[t+44>>2]|0;dt[t+28>>2]=e;dt[t+20>>2]=e;dt[t+16>>2]=e+(dt[t+48>>2]|0);e=0}else{dt[t>>2]=e|32;e=-1}return e|0}function Mr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0;o=e&255;i=(r|0)!=0;t:do{if(i&(t&3|0)!=0){n=e&255;while(1){if((pt[t>>0]|0)==n<<24>>24){a=6;break t}t=t+1|0;r=r+-1|0;i=(r|0)!=0;if(!(i&(t&3|0)!=0)){a=5;break}}}else a=5}while(0);if((a|0)==5)if(i)a=6;else r=0;t:do{if((a|0)==6){n=e&255;if((pt[t>>0]|0)!=n<<24>>24){i=_t(o,16843009)|0;e:do{if(r>>>0>3)while(1){o=dt[t>>2]^i;if((o&-2139062144^-2139062144)&o+-16843009)break;t=t+4|0;r=r+-4|0;if(r>>>0<=3){a=11;break e}}else a=11}while(0);if((a|0)==11)if(!r){r=0;break}while(1){if((pt[t>>0]|0)==n<<24>>24)break t;t=t+1|0;r=r+-1|0;if(!r){r=0;break}}}}}while(0);return((r|0)!=0?t:0)|0}function Dr(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0;e=t+20|0;o=t+28|0;if((dt[e>>2]|0)>>>0>(dt[o>>2]|0)>>>0?(Pi[dt[t+36>>2]&7](t,0,0)|0,(dt[e>>2]|0)==0):0)e=-1;else{a=t+4|0;r=dt[a>>2]|0;i=t+8|0;n=dt[i>>2]|0;if(r>>>0<n>>>0)Pi[dt[t+40>>2]&7](t,r-n|0,1)|0;dt[t+16>>2]=0;dt[o>>2]=0;dt[e>>2]=0;dt[i>>2]=0;dt[a>>2]=0;e=0}return e|0}function zr(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0,u=0.0,h=0,c=0,f=0,p=0,d=0.0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0,L=0,N=0,B=0,U=0,X=0,H=0,q=0,W=0,G=0,V=0,Y=0,Z=0,J=0,K=0,Q=0;Q=vt;vt=vt+624|0;V=Q+24|0;Z=Q+16|0;Y=Q+588|0;X=Q+576|0;G=Q;N=Q+536|0;K=Q+8|0;J=Q+528|0;I=(t|0)!=0;O=N+40|0;L=O;N=N+39|0;B=K+4|0;U=X+12|0;X=X+11|0;H=Y;q=U;W=q-H|0;M=-2-H|0;D=q+2|0;z=V+288|0;R=Y+9|0;F=R;j=Y+8|0;o=0;m=e;a=0;e=0;t:while(1){do{if((o|0)>-1)if((a|0)>(2147483647-o|0)){o=hr()|0;dt[o>>2]=75;o=-1;break}else{o=a+o|0;break}}while(0);a=pt[m>>0]|0;if(!(a<<24>>24)){E=245;break}else s=m;e:while(1){switch(a<<24>>24){case 37:{a=s;E=9;break e}case 0:{a=s;break e}default:{}}A=s+1|0;a=pt[A>>0]|0;s=A}e:do{if((E|0)==9)while(1){E=0;if((pt[a+1>>0]|0)!=37)break e;s=s+1|0;a=a+2|0;if((pt[a>>0]|0)==37)E=9;else break}}while(0);v=s-m|0;if(I?(dt[t>>2]&32|0)==0:0)_r(m,v,t)|0;if((s|0)!=(m|0)){m=a;a=v;continue}h=a+1|0;s=pt[h>>0]|0;l=(s<<24>>24)+-48|0;if(l>>>0<10){A=(pt[a+2>>0]|0)==36;h=A?a+3|0:h;s=pt[h>>0]|0;p=A?l:-1;e=A?1:e}else p=-1;a=s<<24>>24;e:do{if((a&-32|0)==32){l=0;while(1){if(!(1<<a+-32&75913)){c=l;a=h;break e}l=1<<(s<<24>>24)+-32|l;h=h+1|0;s=pt[h>>0]|0;a=s<<24>>24;if((a&-32|0)!=32){c=l;a=h;break}}}else{c=0;a=h}}while(0);do{if(s<<24>>24==42){l=a+1|0;s=(pt[l>>0]|0)+-48|0;if(s>>>0<10?(pt[a+2>>0]|0)==36:0){dt[n+(s<<2)>>2]=10;e=1;a=a+3|0;s=dt[i+((pt[l>>0]|0)+-48<<3)>>2]|0}else{if(e){o=-1;break t}if(!I){g=c;a=l;e=0;A=0;break}e=(dt[r>>2]|0)+(4-1)&~(4-1);s=dt[e>>2]|0;dt[r>>2]=e+4;e=0;a=l}if((s|0)<0){g=c|8192;A=0-s|0}else{g=c;A=s}}else{l=(s<<24>>24)+-48|0;if(l>>>0<10){s=0;do{s=(s*10|0)+l|0;a=a+1|0;l=(pt[a>>0]|0)+-48|0}while(l>>>0<10);if((s|0)<0){o=-1;break t}else{g=c;A=s}}else{g=c;A=0}}}while(0);e:do{if((pt[a>>0]|0)==46){l=a+1|0;s=pt[l>>0]|0;if(s<<24>>24!=42){h=(s<<24>>24)+-48|0;if(h>>>0<10){a=l;s=0}else{a=l;h=0;break}while(1){s=(s*10|0)+h|0;a=a+1|0;h=(pt[a>>0]|0)+-48|0;if(h>>>0>=10){h=s;break e}}}l=a+2|0;s=(pt[l>>0]|0)+-48|0;if(s>>>0<10?(pt[a+3>>0]|0)==36:0){dt[n+(s<<2)>>2]=10;a=a+4|0;h=dt[i+((pt[l>>0]|0)+-48<<3)>>2]|0;break}if(e){o=-1;break t}if(I){a=(dt[r>>2]|0)+(4-1)&~(4-1);h=dt[a>>2]|0;dt[r>>2]=a+4;a=l}else{a=l;h=0}}else h=-1}while(0);f=0;while(1){s=(pt[a>>0]|0)+-65|0;if(s>>>0>57){o=-1;break t}l=a+1|0;s=pt[5359+(f*58|0)+s>>0]|0;c=s&255;if((c+-1|0)>>>0<8){a=l;f=c}else{C=l;break}}if(!(s<<24>>24)){o=-1;break}l=(p|0)>-1;do{if(s<<24>>24==19)if(l){o=-1;break t}else E=52;else{if(l){dt[n+(p<<2)>>2]=c;S=i+(p<<3)|0;P=dt[S+4>>2]|0;E=G;dt[E>>2]=dt[S>>2];dt[E+4>>2]=P;E=52;break}if(!I){o=0;break t}jr(G,c,r)}}while(0);if((E|0)==52?(E=0,!I):0){m=C;a=v;continue}p=pt[a>>0]|0;p=(f|0)!=0&(p&15|0)==3?p&-33:p;l=g&-65537;P=(g&8192|0)==0?g:l;e:do{switch(p|0){case 110:switch(f|0){case 0:{dt[dt[G>>2]>>2]=o;m=C;a=v;continue t}case 1:{dt[dt[G>>2]>>2]=o;m=C;a=v;continue t}case 2:{m=dt[G>>2]|0;dt[m>>2]=o;dt[m+4>>2]=((o|0)<0)<<31>>31;m=C;a=v;continue t}case 3:{$[dt[G>>2]>>1]=o;m=C;a=v;continue t}case 4:{pt[dt[G>>2]>>0]=o;m=C;a=v;continue t}case 6:{dt[dt[G>>2]>>2]=o;m=C;a=v;continue t}case 7:{m=dt[G>>2]|0;dt[m>>2]=o;dt[m+4>>2]=((o|0)<0)<<31>>31;m=C;a=v;continue t}default:{m=C;a=v;continue t}}case 112:{f=P|8;h=h>>>0>8?h:8;p=120;E=64;break}case 88:case 120:{f=P;E=64;break}case 111:{l=G;s=dt[l>>2]|0;l=dt[l+4>>2]|0;if((s|0)==0&(l|0)==0)a=O;else{a=O;do{a=a+-1|0;pt[a>>0]=s&7|48;s=Zr(s|0,l|0,3)|0;l=rt}while(!((s|0)==0&(l|0)==0))}if(!(P&8)){s=P;f=0;c=5839;E=77}else{f=L-a+1|0;s=P;h=(h|0)<(f|0)?f:h;f=0;c=5839;E=77}break}case 105:case 100:{s=G;a=dt[s>>2]|0;s=dt[s+4>>2]|0;if((s|0)<0){a=Vr(0,0,a|0,s|0)|0;s=rt;l=G;dt[l>>2]=a;dt[l+4>>2]=s;l=1;c=5839;E=76;break e}if(!(P&2048)){c=P&1;l=c;c=(c|0)==0?5839:5841;E=76}else{l=1;c=5840;E=76}break}case 117:{s=G;a=dt[s>>2]|0;s=dt[s+4>>2]|0;l=0;c=5839;E=76;break}case 99:{pt[N>>0]=dt[G>>2];m=N;s=1;f=0;p=5839;a=O;break}case 109:{a=hr()|0;a=ur(dt[a>>2]|0)|0;E=82;break}case 115:{a=dt[G>>2]|0;a=(a|0)!=0?a:5849;E=82;break}case 67:{dt[K>>2]=dt[G>>2];dt[B>>2]=0;dt[G>>2]=K;h=-1;E=86;break}case 83:{if(!h){Nr(t,32,A,0,P);a=0;E=98}else E=86;break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{u=+tt[G>>3];dt[Z>>2]=0;tt[et>>3]=u;if((dt[et+4>>2]|0)>=0)if(!(P&2048)){S=P&1;k=S;S=(S|0)==0?5857:5862}else{k=1;S=5859}else{u=-u;k=1;S=5856}tt[et>>3]=u;T=dt[et+4>>2]&2146435072;do{if(T>>>0<2146435072|(T|0)==2146435072&0<0){d=+pr(u,Z)*2.0;s=d!=0.0;if(s)dt[Z>>2]=(dt[Z>>2]|0)+-1;x=p|32;if((x|0)==97){m=p&32;v=(m|0)==0?S:S+9|0;g=k|2;a=12-h|0;do{if(!(h>>>0>11|(a|0)==0)){u=8.0;do{a=a+-1|0;u=u*16.0}while((a|0)!=0);if((pt[v>>0]|0)==45){u=-(u+(-d-u));break}else{u=d+u-u;break}}else u=d}while(0);s=dt[Z>>2]|0;a=(s|0)<0?0-s|0:s;a=Lr(a,((a|0)<0)<<31>>31,U)|0;if((a|0)==(U|0)){pt[X>>0]=48;a=X}pt[a+-1>>0]=(s>>31&2)+43;f=a+-2|0;pt[f>>0]=p+15;c=(h|0)<1;l=(P&8|0)==0;s=Y;while(1){S=~~u;a=s+1|0;pt[s>>0]=mt[5823+S>>0]|m;u=(u-+(S|0))*16.0;do{if((a-H|0)==1){if(l&(c&u==0.0))break;pt[a>>0]=46;a=s+2|0}}while(0);if(!(u!=0.0))break;else s=a}h=(h|0)!=0&(M+a|0)<(h|0)?D+h-f|0:W-f+a|0;l=h+g|0;Nr(t,32,A,l,P);if(!(dt[t>>2]&32))_r(v,g,t)|0;Nr(t,48,A,l,P^65536);a=a-H|0;if(!(dt[t>>2]&32))_r(Y,a,t)|0;s=q-f|0;Nr(t,48,h-(a+s)|0,0,0);if(!(dt[t>>2]&32))_r(f,s,t)|0;Nr(t,32,A,l,P^8192);a=(l|0)<(A|0)?A:l;break}a=(h|0)<0?6:h;if(s){s=(dt[Z>>2]|0)+-28|0;dt[Z>>2]=s;u=d*268435456.0}else{u=d;s=dt[Z>>2]|0}T=(s|0)<0?V:z;w=T;s=T;do{b=~~u>>>0;dt[s>>2]=b;s=s+4|0;u=(u-+(b>>>0))*1.0e9}while(u!=0.0);l=s;s=dt[Z>>2]|0;if((s|0)>0){c=T;while(1){f=(s|0)>29?29:s;h=l+-4|0;do{if(h>>>0<c>>>0)h=c;else{s=0;do{b=Jr(dt[h>>2]|0,0,f|0)|0;b=Kr(b|0,rt|0,s|0,0)|0;s=rt;y=ai(b|0,s|0,1e9,0)|0;dt[h>>2]=y;s=oi(b|0,s|0,1e9,0)|0;h=h+-4|0}while(h>>>0>=c>>>0);if(!s){h=c;break}h=c+-4|0;dt[h>>2]=s}}while(0);while(1){if(l>>>0<=h>>>0)break;s=l+-4|0;if(!(dt[s>>2]|0))l=s;else break}s=(dt[Z>>2]|0)-f|0;dt[Z>>2]=s;if((s|0)>0)c=h;else break}}else h=T;if((s|0)<0){v=((a+25|0)/9|0)+1|0;_=(x|0)==102;m=h;while(1){g=0-s|0;g=(g|0)>9?9:g;do{if(m>>>0<l>>>0){s=(1<<g)+-1|0;c=1e9>>>g;h=0;f=m;do{b=dt[f>>2]|0;dt[f>>2]=(b>>>g)+h;h=_t(b&s,c)|0;f=f+4|0}while(f>>>0<l>>>0);s=(dt[m>>2]|0)==0?m+4|0:m;if(!h){h=s;break}dt[l>>2]=h;h=s;l=l+4|0}else h=(dt[m>>2]|0)==0?m+4|0:m}while(0);s=_?T:h;l=(l-s>>2|0)>(v|0)?s+(v<<2)|0:l;s=(dt[Z>>2]|0)+g|0;dt[Z>>2]=s;if((s|0)>=0){m=h;break}else m=h}}else m=h;do{if(m>>>0<l>>>0){s=(w-m>>2)*9|0;c=dt[m>>2]|0;if(c>>>0<10)break;else h=10;do{h=h*10|0;s=s+1|0}while(c>>>0>=h>>>0)}else s=0}while(0);y=(x|0)==103;b=(a|0)!=0;h=a-((x|0)!=102?s:0)+((b&y)<<31>>31)|0;if((h|0)<(((l-w>>2)*9|0)+-9|0)){f=h+9216|0;_=(f|0)/9|0;h=T+(_+-1023<<2)|0;f=((f|0)%9|0)+1|0;if((f|0)<9){c=10;do{c=c*10|0;f=f+1|0}while((f|0)!=9)}else c=10;g=dt[h>>2]|0;v=(g>>>0)%(c>>>0)|0;if((v|0)==0?(T+(_+-1022<<2)|0)==(l|0):0)c=m;else E=163;do{if((E|0)==163){E=0;d=(((g>>>0)/(c>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;f=(c|0)/2|0;do{if(v>>>0<f>>>0)u=.5;else{if((v|0)==(f|0)?(T+(_+-1022<<2)|0)==(l|0):0){u=1.0;break}u=1.5}}while(0);do{if(k){if((pt[S>>0]|0)!=45)break;d=-d;u=-u}}while(0);f=g-v|0;dt[h>>2]=f;if(!(d+u!=d)){c=m;break}x=f+c|0;dt[h>>2]=x;if(x>>>0>999999999){s=m;while(1){c=h+-4|0;dt[h>>2]=0;if(c>>>0<s>>>0){s=s+-4|0;dt[s>>2]=0}x=(dt[c>>2]|0)+1|0;dt[c>>2]=x;if(x>>>0>999999999)h=c;else{m=s;h=c;break}}}s=(w-m>>2)*9|0;f=dt[m>>2]|0;if(f>>>0<10){c=m;break}else c=10;do{c=c*10|0;s=s+1|0}while(f>>>0>=c>>>0);c=m}}while(0);x=h+4|0;m=c;l=l>>>0>x>>>0?x:l}v=0-s|0;while(1){if(l>>>0<=m>>>0){_=0;x=l;break}h=l+-4|0;if(!(dt[h>>2]|0))l=h;else{_=1;x=l;break}}do{if(y){a=(b&1^1)+a|0;if((a|0)>(s|0)&(s|0)>-5){p=p+-1|0;a=a+-1-s|0}else{p=p+-2|0;a=a+-1|0}l=P&8;if(l)break;do{if(_){l=dt[x+-4>>2]|0;if(!l){h=9;break}if(!((l>>>0)%10|0)){c=10;h=0}else{h=0;break}do{c=c*10|0;h=h+1|0}while(((l>>>0)%(c>>>0)|0|0)==0)}else h=9}while(0);l=((x-w>>2)*9|0)+-9|0;if((p|32|0)==102){l=l-h|0;l=(l|0)<0?0:l;a=(a|0)<(l|0)?a:l;l=0;break}else{l=l+s-h|0;l=(l|0)<0?0:l;a=(a|0)<(l|0)?a:l;l=0;break}}else l=P&8}while(0);g=a|l;c=(g|0)!=0&1;f=(p|32|0)==102;if(f){s=(s|0)>0?s:0;p=0}else{h=(s|0)<0?v:s;h=Lr(h,((h|0)<0)<<31>>31,U)|0;if((q-h|0)<2)do{h=h+-1|0;pt[h>>0]=48}while((q-h|0)<2);pt[h+-1>>0]=(s>>31&2)+43;w=h+-2|0;pt[w>>0]=p;s=q-w|0;p=w}v=k+1+a+c+s|0;Nr(t,32,A,v,P);if(!(dt[t>>2]&32))_r(S,k,t)|0;Nr(t,48,A,v,P^65536);do{if(f){h=m>>>0>T>>>0?T:m;s=h;do{l=Lr(dt[s>>2]|0,0,R)|0;do{if((s|0)==(h|0)){if((l|0)!=(R|0))break;pt[j>>0]=48;l=j}else{if(l>>>0<=Y>>>0)break;do{l=l+-1|0;pt[l>>0]=48}while(l>>>0>Y>>>0)}}while(0);if(!(dt[t>>2]&32))_r(l,F-l|0,t)|0;s=s+4|0}while(s>>>0<=T>>>0);do{if(g){if(dt[t>>2]&32)break;_r(5891,1,t)|0}}while(0);if((a|0)>0&s>>>0<x>>>0){l=s;while(1){s=Lr(dt[l>>2]|0,0,R)|0;if(s>>>0>Y>>>0)do{s=s+-1|0;pt[s>>0]=48}while(s>>>0>Y>>>0);if(!(dt[t>>2]&32))_r(s,(a|0)>9?9:a,t)|0;l=l+4|0;s=a+-9|0;if(!((a|0)>9&l>>>0<x>>>0)){a=s;break}else a=s}}Nr(t,48,a+9|0,9,0)}else{f=_?x:m+4|0;if((a|0)>-1){c=(l|0)==0;h=m;do{s=Lr(dt[h>>2]|0,0,R)|0;if((s|0)==(R|0)){pt[j>>0]=48;s=j}do{if((h|0)==(m|0)){l=s+1|0;if(!(dt[t>>2]&32))_r(s,1,t)|0;if(c&(a|0)<1){s=l;break}if(dt[t>>2]&32){s=l;break}_r(5891,1,t)|0;s=l}else{if(s>>>0<=Y>>>0)break;do{s=s+-1|0;pt[s>>0]=48}while(s>>>0>Y>>>0)}}while(0);l=F-s|0;if(!(dt[t>>2]&32))_r(s,(a|0)>(l|0)?l:a,t)|0;a=a-l|0;h=h+4|0}while(h>>>0<f>>>0&(a|0)>-1)}Nr(t,48,a+18|0,18,0);if(dt[t>>2]&32)break;_r(p,q-p|0,t)|0}}while(0);Nr(t,32,A,v,P^8192);a=(v|0)<(A|0)?A:v}else{f=(p&32|0)!=0;c=u!=u|0.0!=0.0;s=c?0:k;h=s+3|0;Nr(t,32,A,h,l);a=dt[t>>2]|0;if(!(a&32)){_r(S,s,t)|0;a=dt[t>>2]|0}if(!(a&32))_r(c?f?5883:5887:f?5875:5879,3,t)|0;Nr(t,32,A,h,P^8192);a=(h|0)<(A|0)?A:h}}while(0);m=C;continue t}default:{l=P;s=h;f=0;p=5839;a=O}}}while(0);e:do{if((E|0)==64){l=G;s=dt[l>>2]|0;l=dt[l+4>>2]|0;c=p&32;if(!((s|0)==0&(l|0)==0)){a=O;do{a=a+-1|0;pt[a>>0]=mt[5823+(s&15)>>0]|c;s=Zr(s|0,l|0,4)|0;l=rt}while(!((s|0)==0&(l|0)==0));E=G;if((f&8|0)==0|(dt[E>>2]|0)==0&(dt[E+4>>2]|0)==0){s=f;f=0;c=5839;E=77}else{s=f;f=2;c=5839+(p>>4)|0;E=77}}else{a=O;s=f;f=0;c=5839;E=77}}else if((E|0)==76){a=Lr(a,s,O)|0;s=P;f=l;E=77}else if((E|0)==82){E=0;P=Mr(a,0,h)|0;S=(P|0)==0;m=a;s=S?h:P-a|0;f=0;p=5839;a=S?a+h|0:P}else if((E|0)==86){E=0;s=0;a=0;c=dt[G>>2]|0;while(1){l=dt[c>>2]|0;if(!l)break;a=mr(J,l)|0;if((a|0)<0|a>>>0>(h-s|0)>>>0)break;s=a+s|0;if(h>>>0>s>>>0)c=c+4|0;else break}if((a|0)<0){o=-1;break t}Nr(t,32,A,s,P);if(!s){a=0;E=98}else{l=0;h=dt[G>>2]|0;while(1){a=dt[h>>2]|0;if(!a){a=s;E=98;break e}a=mr(J,a)|0;l=a+l|0;if((l|0)>(s|0)){a=s;E=98;break e}if(!(dt[t>>2]&32))_r(J,a,t)|0;if(l>>>0>=s>>>0){a=s;E=98;break}else h=h+4|0}}}}while(0);if((E|0)==98){E=0;Nr(t,32,A,a,P^8192);m=C;a=(A|0)>(a|0)?A:a;continue}if((E|0)==77){E=0;l=(h|0)>-1?s&-65537:s;s=G;s=(dt[s>>2]|0)!=0|(dt[s+4>>2]|0)!=0;if((h|0)!=0|s){s=(s&1^1)+(L-a)|0;m=a;s=(h|0)>(s|0)?h:s;p=c;a=O}else{m=O;s=0;p=c;a=O}}c=a-m|0;s=(s|0)<(c|0)?c:s;h=f+s|0;a=(A|0)<(h|0)?h:A;Nr(t,32,a,h,l);if(!(dt[t>>2]&32))_r(p,f,t)|0;Nr(t,48,a,h,l^65536);Nr(t,48,s,c,0);if(!(dt[t>>2]&32))_r(m,c,t)|0;Nr(t,32,a,h,l^8192);m=C}t:do{if((E|0)==245)if(!t)if(e){o=1;while(1){e=dt[n+(o<<2)>>2]|0;if(!e)break;jr(i+(o<<3)|0,e,r);o=o+1|0;if((o|0)>=10){o=1;break t}}if((o|0)<10)while(1){if(dt[n+(o<<2)>>2]|0){o=-1;break t}o=o+1|0;if((o|0)>=10){o=1;break}}else o=1}else o=0}while(0);vt=Q;return o|0}function Rr(t){t=t|0;if(!(dt[t+68>>2]|0))Sr(t);return}function Fr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0;i=t+20|0;n=dt[i>>2]|0;t=(dt[t+16>>2]|0)-n|0;t=t>>>0>r>>>0?r:t;Qr(n|0,e|0,t|0)|0;dt[i>>2]=(dt[i>>2]|0)+t;return r|0}function jr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0.0;t:do{if(e>>>0<=20)do{switch(e|0){case 9:{i=(dt[r>>2]|0)+(4-1)&~(4-1);e=dt[i>>2]|0;dt[r>>2]=i+4;dt[t>>2]=e;break t}case 10:{i=(dt[r>>2]|0)+(4-1)&~(4-1);e=dt[i>>2]|0;dt[r>>2]=i+4;i=t;dt[i>>2]=e;dt[i+4>>2]=((e|0)<0)<<31>>31;break t}case 11:{i=(dt[r>>2]|0)+(4-1)&~(4-1);e=dt[i>>2]|0;dt[r>>2]=i+4;i=t;dt[i>>2]=e;dt[i+4>>2]=0;break t}case 12:{i=(dt[r>>2]|0)+(8-1)&~(8-1);e=i;n=dt[e>>2]|0;e=dt[e+4>>2]|0;dt[r>>2]=i+8;i=t;dt[i>>2]=n;dt[i+4>>2]=e;break t}case 13:{n=(dt[r>>2]|0)+(4-1)&~(4-1);i=dt[n>>2]|0;dt[r>>2]=n+4;i=(i&65535)<<16>>16;n=t;dt[n>>2]=i;dt[n+4>>2]=((i|0)<0)<<31>>31;break t}case 14:{n=(dt[r>>2]|0)+(4-1)&~(4-1);i=dt[n>>2]|0;dt[r>>2]=n+4;n=t;dt[n>>2]=i&65535;dt[n+4>>2]=0;break t}case 15:{n=(dt[r>>2]|0)+(4-1)&~(4-1);i=dt[n>>2]|0;dt[r>>2]=n+4;i=(i&255)<<24>>24;n=t;dt[n>>2]=i;dt[n+4>>2]=((i|0)<0)<<31>>31;break t}case 16:{n=(dt[r>>2]|0)+(4-1)&~(4-1);i=dt[n>>2]|0;dt[r>>2]=n+4;n=t;dt[n>>2]=i&255;dt[n+4>>2]=0;break t}case 17:{n=(dt[r>>2]|0)+(8-1)&~(8-1);o=+tt[n>>3];dt[r>>2]=n+8;tt[t>>3]=o;break t}case 18:{n=(dt[r>>2]|0)+(8-1)&~(8-1);o=+tt[n>>3];dt[r>>2]=n+8;tt[t>>3]=o;break t}default:break t}}while(0)}while(0);return}function Lr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0;if(e>>>0>0|(e|0)==0&t>>>0>4294967295)while(1){i=ai(t|0,e|0,10,0)|0;r=r+-1|0;pt[r>>0]=i|48;i=oi(t|0,e|0,10,0)|0;if(e>>>0>9|(e|0)==9&t>>>0>4294967295){t=i;e=rt}else{t=i;break}}if(t)while(1){r=r+-1|0;pt[r>>0]=(t>>>0)%10|0|48;if(t>>>0<10)break;else t=(t>>>0)/10|0}return r|0}function Nr(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0;s=vt;vt=vt+256|0;a=s;do{if((r|0)>(i|0)&(n&73728|0)==0){n=r-i|0;Yr(a|0,e|0,(n>>>0>256?256:n)|0)|0;e=dt[t>>2]|0;o=(e&32|0)==0;if(n>>>0>255){i=r-i|0;do{if(o){_r(a,256,t)|0;e=dt[t>>2]|0}n=n+-256|0;o=(e&32|0)==0}while(n>>>0>255);if(o)n=i&255;else break}else if(!o)break;_r(a,n,t)|0}}while(0);vt=s;return}function Br(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0,b=0,x=0,w=0,T=0,k=0,S=0,P=0,C=0,A=0,E=0,I=0,O=0,M=0,D=0,z=0,R=0,F=0,j=0;do{if(t>>>0<245){p=t>>>0<11?16:t+11&-8;t=p>>>3;s=dt[151]|0;r=s>>>t;if(r&3){t=(r&1^1)+t|0;i=t<<1;r=644+(i<<2)|0;i=644+(i+2<<2)|0;n=dt[i>>2]|0;o=n+8|0;a=dt[o>>2]|0;do{if((r|0)!=(a|0)){if(a>>>0<(dt[155]|0)>>>0)Xt();e=a+12|0;if((dt[e>>2]|0)==(n|0)){dt[e>>2]=r;dt[i>>2]=a;break}else Xt()}else dt[151]=s&~(1<<t)}while(0);j=t<<3;dt[n+4>>2]=j|3;j=n+(j|4)|0;dt[j>>2]=dt[j>>2]|1;j=o;return j|0}a=dt[153]|0;if(p>>>0>a>>>0){if(r){i=2<<t;i=r<<t&(i|0-i);i=(i&0-i)+-1|0;l=i>>>12&16;i=i>>>l;n=i>>>5&8;i=i>>>n;o=i>>>2&4;i=i>>>o;r=i>>>1&2;i=i>>>r;t=i>>>1&1;t=(n|l|o|r|t)+(i>>>t)|0;i=t<<1;r=644+(i<<2)|0;i=644+(i+2<<2)|0;o=dt[i>>2]|0;l=o+8|0;n=dt[l>>2]|0;do{if((r|0)!=(n|0)){if(n>>>0<(dt[155]|0)>>>0)Xt();e=n+12|0;if((dt[e>>2]|0)==(o|0)){dt[e>>2]=r;dt[i>>2]=n;u=dt[153]|0;break}else Xt()}else{dt[151]=s&~(1<<t);u=a}}while(0);j=t<<3;a=j-p|0;dt[o+4>>2]=p|3;s=o+p|0;dt[o+(p|4)>>2]=a|1;dt[o+j>>2]=a;if(u){n=dt[156]|0;r=u>>>3;e=r<<1;i=644+(e<<2)|0;t=dt[151]|0;r=1<<r;if(t&r){t=644+(e+2<<2)|0;e=dt[t>>2]|0;if(e>>>0<(dt[155]|0)>>>0)Xt();else{h=t;c=e}}else{dt[151]=t|r;h=644+(e+2<<2)|0;c=i}dt[h>>2]=n;dt[c+12>>2]=n;dt[n+8>>2]=c;dt[n+12>>2]=i}dt[153]=a;dt[156]=s;j=l;return j|0}t=dt[152]|0;if(t){r=(t&0-t)+-1|0;F=r>>>12&16;r=r>>>F;R=r>>>5&8;r=r>>>R;j=r>>>2&4;r=r>>>j;t=r>>>1&2;r=r>>>t;i=r>>>1&1;i=dt[908+((R|F|j|t|i)+(r>>>i)<<2)>>2]|0;r=(dt[i+4>>2]&-8)-p|0;t=i;while(1){e=dt[t+16>>2]|0;if(!e){e=dt[t+20>>2]|0;if(!e){l=r;break}}t=(dt[e+4>>2]&-8)-p|0;j=t>>>0<r>>>0;r=j?t:r;t=e;i=j?e:i}o=dt[155]|0;if(i>>>0<o>>>0)Xt();s=i+p|0;if(i>>>0>=s>>>0)Xt();a=dt[i+24>>2]|0;r=dt[i+12>>2]|0;do{if((r|0)==(i|0)){t=i+20|0;e=dt[t>>2]|0;if(!e){t=i+16|0;e=dt[t>>2]|0;if(!e){f=0;break}}while(1){r=e+20|0;n=dt[r>>2]|0;if(n){e=n;t=r;continue}r=e+16|0;n=dt[r>>2]|0;if(!n)break;else{e=n;t=r}}if(t>>>0<o>>>0)Xt();else{dt[t>>2]=0;f=e;break}}else{n=dt[i+8>>2]|0;if(n>>>0<o>>>0)Xt();e=n+12|0;if((dt[e>>2]|0)!=(i|0))Xt();t=r+8|0;if((dt[t>>2]|0)==(i|0)){dt[e>>2]=r;dt[t>>2]=n;f=r;break}else Xt()}}while(0);do{if(a){e=dt[i+28>>2]|0;t=908+(e<<2)|0;if((i|0)==(dt[t>>2]|0)){dt[t>>2]=f;if(!f){dt[152]=dt[152]&~(1<<e);break}}else{if(a>>>0<(dt[155]|0)>>>0)Xt();e=a+16|0;if((dt[e>>2]|0)==(i|0))dt[e>>2]=f;else dt[a+20>>2]=f;if(!f)break}t=dt[155]|0;if(f>>>0<t>>>0)Xt();dt[f+24>>2]=a;e=dt[i+16>>2]|0;do{if(e)if(e>>>0<t>>>0)Xt();else{dt[f+16>>2]=e;dt[e+24>>2]=f;break}}while(0);e=dt[i+20>>2]|0;if(e)if(e>>>0<(dt[155]|0)>>>0)Xt();else{dt[f+20>>2]=e;dt[e+24>>2]=f;break}}}while(0);if(l>>>0<16){j=l+p|0;dt[i+4>>2]=j|3;j=i+(j+4)|0;dt[j>>2]=dt[j>>2]|1}else{dt[i+4>>2]=p|3;dt[i+(p|4)>>2]=l|1;dt[i+(l+p)>>2]=l;e=dt[153]|0;if(e){o=dt[156]|0;r=e>>>3;e=r<<1;n=644+(e<<2)|0;t=dt[151]|0;r=1<<r;if(t&r){e=644+(e+2<<2)|0;t=dt[e>>2]|0;if(t>>>0<(dt[155]|0)>>>0)Xt();else{d=e;m=t}}else{dt[151]=t|r;d=644+(e+2<<2)|0;m=n}dt[d>>2]=o;dt[m+12>>2]=o;dt[o+8>>2]=m;dt[o+12>>2]=n}dt[153]=l;dt[156]=s}j=i+8|0;return j|0}else m=p}else m=p}else if(t>>>0<=4294967231){t=t+11|0;c=t&-8;h=dt[152]|0;if(h){r=0-c|0;t=t>>>8;if(t)if(c>>>0>16777215)u=31;else{m=(t+1048320|0)>>>16&8;b=t<<m;d=(b+520192|0)>>>16&4;b=b<<d;u=(b+245760|0)>>>16&2;u=14-(d|m|u)+(b<<u>>>15)|0;u=c>>>(u+7|0)&1|u<<1}else u=0;t=dt[908+(u<<2)>>2]|0;t:do{if(!t){n=0;t=0;b=86}else{a=r;n=0;s=c<<((u|0)==31?0:25-(u>>>1)|0);l=t;t=0;while(1){o=dt[l+4>>2]&-8;r=o-c|0;if(r>>>0<a>>>0)if((o|0)==(c|0)){o=l;t=l;b=90;break t}else t=l;else r=a;b=dt[l+20>>2]|0;l=dt[l+16+(s>>>31<<2)>>2]|0;n=(b|0)==0|(b|0)==(l|0)?n:b;if(!l){b=86;break}else{a=r;s=s<<1}}}}while(0);if((b|0)==86){if((n|0)==0&(t|0)==0){t=2<<u;t=h&(t|0-t);if(!t){m=c;break}t=(t&0-t)+-1|0;f=t>>>12&16;t=t>>>f;h=t>>>5&8;t=t>>>h;d=t>>>2&4;t=t>>>d;m=t>>>1&2;t=t>>>m;n=t>>>1&1;n=dt[908+((h|f|d|m|n)+(t>>>n)<<2)>>2]|0;t=0}if(!n){s=r;l=t}else{o=n;b=90}}if((b|0)==90)while(1){b=0;m=(dt[o+4>>2]&-8)-c|0;n=m>>>0<r>>>0;r=n?m:r;t=n?o:t;n=dt[o+16>>2]|0;if(n){o=n;b=90;continue}o=dt[o+20>>2]|0;if(!o){s=r;l=t;break}else b=90}if((l|0)!=0?s>>>0<((dt[153]|0)-c|0)>>>0:0){n=dt[155]|0;if(l>>>0<n>>>0)Xt();a=l+c|0;if(l>>>0>=a>>>0)Xt();o=dt[l+24>>2]|0;r=dt[l+12>>2]|0;do{if((r|0)==(l|0)){t=l+20|0;e=dt[t>>2]|0;if(!e){t=l+16|0;e=dt[t>>2]|0;if(!e){p=0;break}}while(1){r=e+20|0;i=dt[r>>2]|0;if(i){e=i;t=r;continue}r=e+16|0;i=dt[r>>2]|0;if(!i)break;else{e=i;t=r}}if(t>>>0<n>>>0)Xt();else{dt[t>>2]=0;p=e;break}}else{i=dt[l+8>>2]|0;if(i>>>0<n>>>0)Xt();e=i+12|0;if((dt[e>>2]|0)!=(l|0))Xt();t=r+8|0;if((dt[t>>2]|0)==(l|0)){dt[e>>2]=r;dt[t>>2]=i;p=r;break}else Xt()}}while(0);do{if(o){e=dt[l+28>>2]|0;t=908+(e<<2)|0;if((l|0)==(dt[t>>2]|0)){dt[t>>2]=p;if(!p){dt[152]=dt[152]&~(1<<e);break}}else{if(o>>>0<(dt[155]|0)>>>0)Xt();e=o+16|0;if((dt[e>>2]|0)==(l|0))dt[e>>2]=p;else dt[o+20>>2]=p;if(!p)break}t=dt[155]|0;if(p>>>0<t>>>0)Xt();dt[p+24>>2]=o;e=dt[l+16>>2]|0;do{if(e)if(e>>>0<t>>>0)Xt();else{dt[p+16>>2]=e;dt[e+24>>2]=p;break}}while(0);e=dt[l+20>>2]|0;if(e)if(e>>>0<(dt[155]|0)>>>0)Xt();else{dt[p+20>>2]=e;dt[e+24>>2]=p;break}}}while(0);t:do{if(s>>>0>=16){dt[l+4>>2]=c|3;dt[l+(c|4)>>2]=s|1;dt[l+(s+c)>>2]=s;e=s>>>3;if(s>>>0<256){t=e<<1;i=644+(t<<2)|0;r=dt[151]|0;e=1<<e;if(r&e){e=644+(t+2<<2)|0;t=dt[e>>2]|0;if(t>>>0<(dt[155]|0)>>>0)Xt();else{v=e;_=t}}else{dt[151]=r|e;v=644+(t+2<<2)|0;_=i}dt[v>>2]=a;dt[_+12>>2]=a;dt[l+(c+8)>>2]=_;dt[l+(c+12)>>2]=i;break}e=s>>>8;if(e)if(s>>>0>16777215)i=31;else{F=(e+1048320|0)>>>16&8;j=e<<F;R=(j+520192|0)>>>16&4;j=j<<R;i=(j+245760|0)>>>16&2;i=14-(R|F|i)+(j<<i>>>15)|0;i=s>>>(i+7|0)&1|i<<1}else i=0;e=908+(i<<2)|0;dt[l+(c+28)>>2]=i;dt[l+(c+20)>>2]=0;dt[l+(c+16)>>2]=0;t=dt[152]|0;r=1<<i;if(!(t&r)){dt[152]=t|r;dt[e>>2]=a;dt[l+(c+24)>>2]=e;dt[l+(c+12)>>2]=a;dt[l+(c+8)>>2]=a;break}e=dt[e>>2]|0;e:do{if((dt[e+4>>2]&-8|0)!=(s|0)){i=s<<((i|0)==31?0:25-(i>>>1)|0);while(1){t=e+16+(i>>>31<<2)|0;r=dt[t>>2]|0;if(!r)break;if((dt[r+4>>2]&-8|0)==(s|0)){T=r;break e}else{i=i<<1;e=r}}if(t>>>0<(dt[155]|0)>>>0)Xt();else{dt[t>>2]=a;dt[l+(c+24)>>2]=e;dt[l+(c+12)>>2]=a;dt[l+(c+8)>>2]=a;break t}}else T=e}while(0);e=T+8|0;t=dt[e>>2]|0;j=dt[155]|0;if(t>>>0>=j>>>0&T>>>0>=j>>>0){dt[t+12>>2]=a;dt[e>>2]=a;dt[l+(c+8)>>2]=t;dt[l+(c+12)>>2]=T;dt[l+(c+24)>>2]=0;break}else Xt()}else{j=s+c|0;dt[l+4>>2]=j|3;j=l+(j+4)|0;dt[j>>2]=dt[j>>2]|1}}while(0);j=l+8|0;return j|0}else m=c}else m=c}else m=-1}while(0);r=dt[153]|0;if(r>>>0>=m>>>0){e=r-m|0;t=dt[156]|0;if(e>>>0>15){dt[156]=t+m;dt[153]=e;dt[t+(m+4)>>2]=e|1;dt[t+r>>2]=e;dt[t+4>>2]=m|3}else{dt[153]=0;dt[156]=0;dt[t+4>>2]=r|3;j=t+(r+4)|0;dt[j>>2]=dt[j>>2]|1}j=t+8|0;return j|0}t=dt[154]|0;if(t>>>0>m>>>0){F=t-m|0;dt[154]=F;j=dt[157]|0;dt[157]=j+m;dt[j+(m+4)>>2]=F|1;dt[j+4>>2]=m|3;j=j+8|0;return j|0}do{if(!(dt[269]|0)){t=Dt(30)|0;if(!(t+-1&t)){dt[271]=t;dt[270]=t;dt[272]=-1;dt[273]=-1;dt[274]=0;dt[262]=0;T=(qt(0)|0)&-16^1431655768;dt[269]=T;break}else Xt()}}while(0);l=m+48|0;s=dt[271]|0;u=m+47|0;a=s+u|0;s=0-s|0;h=a&s;if(h>>>0<=m>>>0){j=0;return j|0}t=dt[261]|0;if((t|0)!=0?(_=dt[259]|0,T=_+h|0,T>>>0<=_>>>0|T>>>0>t>>>0):0){j=0;return j|0}t:do{if(!(dt[262]&4)){t=dt[157]|0;e:do{if(t){n=1052;while(1){r=dt[n>>2]|0;if(r>>>0<=t>>>0?(g=n+4|0,(r+(dt[g>>2]|0)|0)>>>0>t>>>0):0){o=n;t=g;break}n=dt[n+8>>2]|0;if(!n){b=174;break e}}r=a-(dt[154]|0)&s;if(r>>>0<2147483647){n=It(r|0)|0;T=(n|0)==((dt[o>>2]|0)+(dt[t>>2]|0)|0);t=T?r:0;if(T){if((n|0)!=(-1|0)){x=n;d=t;b=194;break t}}else b=184}else t=0}else b=174}while(0);do{if((b|0)==174){o=It(0)|0;if((o|0)!=(-1|0)){t=o;r=dt[270]|0;n=r+-1|0;if(!(n&t))r=h;else r=h-t+(n+t&0-r)|0;t=dt[259]|0;n=t+r|0;if(r>>>0>m>>>0&r>>>0<2147483647){T=dt[261]|0;if((T|0)!=0?n>>>0<=t>>>0|n>>>0>T>>>0:0){t=0;break}n=It(r|0)|0;T=(n|0)==(o|0);t=T?r:0;if(T){x=o;d=t;b=194;break t}else b=184}else t=0}else t=0}}while(0);e:do{if((b|0)==184){o=0-r|0;do{if(l>>>0>r>>>0&(r>>>0<2147483647&(n|0)!=(-1|0))?(y=dt[271]|0,y=u-r+y&0-y,y>>>0<2147483647):0)if((It(y|0)|0)==(-1|0)){It(o|0)|0;break e}else{r=y+r|0;break}}while(0);if((n|0)!=(-1|0)){x=n;d=r;b=194;break t}}}while(0);dt[262]=dt[262]|4;b=191}else{t=0;b=191}}while(0);if((((b|0)==191?h>>>0<2147483647:0)?(x=It(h|0)|0,w=It(0)|0,x>>>0<w>>>0&((x|0)!=(-1|0)&(w|0)!=(-1|0))):0)?(k=w-x|0,S=k>>>0>(m+40|0)>>>0,S):0){d=S?k:t;b=194}if((b|0)==194){t=(dt[259]|0)+d|0;dt[259]=t;if(t>>>0>(dt[260]|0)>>>0)dt[260]=t;a=dt[157]|0;t:do{if(a){o=1052;do{t=dt[o>>2]|0;r=o+4|0;n=dt[r>>2]|0;if((x|0)==(t+n|0)){P=t;C=r;A=n;E=o;b=204;break}o=dt[o+8>>2]|0}while((o|0)!=0);if(((b|0)==204?(dt[E+12>>2]&8|0)==0:0)?a>>>0<x>>>0&a>>>0>=P>>>0:0){dt[C>>2]=A+d;j=(dt[154]|0)+d|0;F=a+8|0;F=(F&7|0)==0?0:0-F&7;R=j-F|0;dt[157]=a+F;dt[154]=R;dt[a+(F+4)>>2]=R|1;dt[a+(j+4)>>2]=40;dt[158]=dt[273];break}t=dt[155]|0;if(x>>>0<t>>>0){dt[155]=x;t=x}r=x+d|0;o=1052;while(1){if((dt[o>>2]|0)==(r|0)){n=o;r=o;b=212;break}o=dt[o+8>>2]|0;if(!o){r=1052;break}}if((b|0)==212)if(!(dt[r+12>>2]&8)){dt[n>>2]=x;f=r+4|0;dt[f>>2]=(dt[f>>2]|0)+d;f=x+8|0;f=(f&7|0)==0?0:0-f&7;u=x+(d+8)|0;u=(u&7|0)==0?0:0-u&7;e=x+(u+d)|0;c=f+m|0;p=x+c|0;h=e-(x+f)-m|0;dt[x+(f+4)>>2]=m|3;e:do{if((e|0)!=(a|0)){if((e|0)==(dt[156]|0)){j=(dt[153]|0)+h|0;dt[153]=j;dt[156]=p;dt[x+(c+4)>>2]=j|1;dt[x+(j+c)>>2]=j;break}s=d+4|0;r=dt[x+(s+u)>>2]|0;if((r&3|0)==1){l=r&-8;o=r>>>3;r:do{if(r>>>0>=256){a=dt[x+((u|24)+d)>>2]|0;i=dt[x+(d+12+u)>>2]|0;do{if((i|0)==(e|0)){n=u|16;i=x+(s+n)|0;r=dt[i>>2]|0;if(!r){i=x+(n+d)|0;r=dt[i>>2]|0;if(!r){z=0;break}}while(1){n=r+20|0;o=dt[n>>2]|0;if(o){r=o;i=n;continue}n=r+16|0;o=dt[n>>2]|0;if(!o)break;else{r=o;i=n}}if(i>>>0<t>>>0)Xt();else{dt[i>>2]=0;z=r;break}}else{n=dt[x+((u|8)+d)>>2]|0;if(n>>>0<t>>>0)Xt();t=n+12|0;if((dt[t>>2]|0)!=(e|0))Xt();r=i+8|0;if((dt[r>>2]|0)==(e|0)){dt[t>>2]=i;dt[r>>2]=n;z=i;break}else Xt()}}while(0);if(!a)break;t=dt[x+(d+28+u)>>2]|0;r=908+(t<<2)|0;do{if((e|0)!=(dt[r>>2]|0)){if(a>>>0<(dt[155]|0)>>>0)Xt();t=a+16|0;if((dt[t>>2]|0)==(e|0))dt[t>>2]=z;else dt[a+20>>2]=z;if(!z)break r}else{dt[r>>2]=z;if(z)break;dt[152]=dt[152]&~(1<<t);break r}}while(0);r=dt[155]|0;if(z>>>0<r>>>0)Xt();dt[z+24>>2]=a;e=u|16;t=dt[x+(e+d)>>2]|0;do{if(t)if(t>>>0<r>>>0)Xt();else{dt[z+16>>2]=t;dt[t+24>>2]=z;break}}while(0);e=dt[x+(s+e)>>2]|0;if(!e)break;if(e>>>0<(dt[155]|0)>>>0)Xt();else{dt[z+20>>2]=e;dt[e+24>>2]=z;break}}else{i=dt[x+((u|8)+d)>>2]|0;n=dt[x+(d+12+u)>>2]|0;r=644+(o<<1<<2)|0;do{if((i|0)!=(r|0)){if(i>>>0<t>>>0)Xt();if((dt[i+12>>2]|0)==(e|0))break;Xt()}}while(0);if((n|0)==(i|0)){dt[151]=dt[151]&~(1<<o);break}do{if((n|0)==(r|0))I=n+8|0;else{if(n>>>0<t>>>0)Xt();t=n+8|0;if((dt[t>>2]|0)==(e|0)){I=t;break}Xt()}}while(0);dt[i+12>>2]=n;dt[I>>2]=i}}while(0);e=x+((l|u)+d)|0;n=l+h|0}else n=h;e=e+4|0;dt[e>>2]=dt[e>>2]&-2;dt[x+(c+4)>>2]=n|1;dt[x+(n+c)>>2]=n;e=n>>>3;if(n>>>0<256){t=e<<1;i=644+(t<<2)|0;r=dt[151]|0;e=1<<e;do{if(!(r&e)){dt[151]=r|e;R=644+(t+2<<2)|0;F=i}else{e=644+(t+2<<2)|0;t=dt[e>>2]|0;if(t>>>0>=(dt[155]|0)>>>0){R=e;F=t;break}Xt()}}while(0);dt[R>>2]=p;dt[F+12>>2]=p;dt[x+(c+8)>>2]=F;dt[x+(c+12)>>2]=i;break}e=n>>>8;do{if(!e)i=0;else{if(n>>>0>16777215){i=31;break}R=(e+1048320|0)>>>16&8;F=e<<R;z=(F+520192|0)>>>16&4;F=F<<z;i=(F+245760|0)>>>16&2;i=14-(z|R|i)+(F<<i>>>15)|0;i=n>>>(i+7|0)&1|i<<1}}while(0);e=908+(i<<2)|0;dt[x+(c+28)>>2]=i;dt[x+(c+20)>>2]=0;dt[x+(c+16)>>2]=0;t=dt[152]|0;r=1<<i;if(!(t&r)){dt[152]=t|r;dt[e>>2]=p;dt[x+(c+24)>>2]=e;dt[x+(c+12)>>2]=p;dt[x+(c+8)>>2]=p;break}e=dt[e>>2]|0;r:do{if((dt[e+4>>2]&-8|0)!=(n|0)){i=n<<((i|0)==31?0:25-(i>>>1)|0);while(1){t=e+16+(i>>>31<<2)|0;r=dt[t>>2]|0;if(!r)break;if((dt[r+4>>2]&-8|0)==(n|0)){j=r;break r}else{i=i<<1;e=r}}if(t>>>0<(dt[155]|0)>>>0)Xt();else{dt[t>>2]=p;dt[x+(c+24)>>2]=e;dt[x+(c+12)>>2]=p;dt[x+(c+8)>>2]=p;break e}}else j=e}while(0);e=j+8|0;t=dt[e>>2]|0;F=dt[155]|0;if(t>>>0>=F>>>0&j>>>0>=F>>>0){dt[t+12>>2]=p;dt[e>>2]=p;dt[x+(c+8)>>2]=t;dt[x+(c+12)>>2]=j;dt[x+(c+24)>>2]=0;break}else Xt()}else{j=(dt[154]|0)+h|0;dt[154]=j;dt[157]=p;dt[x+(c+4)>>2]=j|1}}while(0);j=x+(f|8)|0;return j|0}else r=1052;while(1){t=dt[r>>2]|0;if(t>>>0<=a>>>0?(e=dt[r+4>>2]|0,i=t+e|0,i>>>0>a>>>0):0)break;r=dt[r+8>>2]|0}n=t+(e+-39)|0;t=t+(e+-47+((n&7|0)==0?0:0-n&7))|0;n=a+16|0;t=t>>>0<n>>>0?a:t;e=t+8|0;r=x+8|0;r=(r&7|0)==0?0:0-r&7;j=d+-40-r|0;dt[157]=x+r;dt[154]=j;dt[x+(r+4)>>2]=j|1;dt[x+(d+-36)>>2]=40;dt[158]=dt[273];r=t+4|0;dt[r>>2]=27;dt[e>>2]=dt[263];dt[e+4>>2]=dt[264];dt[e+8>>2]=dt[265];dt[e+12>>2]=dt[266];dt[263]=x;dt[264]=d;dt[266]=0;dt[265]=e;e=t+28|0;dt[e>>2]=7;if((t+32|0)>>>0<i>>>0)do{j=e;e=e+4|0;dt[e>>2]=7}while((j+8|0)>>>0<i>>>0);if((t|0)!=(a|0)){o=t-a|0;dt[r>>2]=dt[r>>2]&-2;dt[a+4>>2]=o|1;dt[t>>2]=o;e=o>>>3;if(o>>>0<256){t=e<<1;i=644+(t<<2)|0;r=dt[151]|0;e=1<<e;if(r&e){e=644+(t+2<<2)|0;t=dt[e>>2]|0;if(t>>>0<(dt[155]|0)>>>0)Xt();else{O=e;M=t}}else{dt[151]=r|e;O=644+(t+2<<2)|0;M=i}dt[O>>2]=a;dt[M+12>>2]=a;dt[a+8>>2]=M;dt[a+12>>2]=i;break}e=o>>>8;if(e)if(o>>>0>16777215)i=31;else{F=(e+1048320|0)>>>16&8;j=e<<F;R=(j+520192|0)>>>16&4;j=j<<R;i=(j+245760|0)>>>16&2;i=14-(R|F|i)+(j<<i>>>15)|0;i=o>>>(i+7|0)&1|i<<1}else i=0;r=908+(i<<2)|0;dt[a+28>>2]=i;dt[a+20>>2]=0;dt[n>>2]=0;e=dt[152]|0;t=1<<i;if(!(e&t)){dt[152]=e|t;dt[r>>2]=a;dt[a+24>>2]=r;dt[a+12>>2]=a;dt[a+8>>2]=a;break}e=dt[r>>2]|0;e:do{if((dt[e+4>>2]&-8|0)!=(o|0)){i=o<<((i|0)==31?0:25-(i>>>1)|0);while(1){t=e+16+(i>>>31<<2)|0;r=dt[t>>2]|0;if(!r)break;if((dt[r+4>>2]&-8|0)==(o|0)){D=r;break e}else{i=i<<1;e=r}}if(t>>>0<(dt[155]|0)>>>0)Xt();else{dt[t>>2]=a;dt[a+24>>2]=e;dt[a+12>>2]=a;dt[a+8>>2]=a;break t}}else D=e}while(0);e=D+8|0;t=dt[e>>2]|0;j=dt[155]|0;if(t>>>0>=j>>>0&D>>>0>=j>>>0){dt[t+12>>2]=a;dt[e>>2]=a;dt[a+8>>2]=t;dt[a+12>>2]=D;dt[a+24>>2]=0;break}else Xt()}}else{j=dt[155]|0;if((j|0)==0|x>>>0<j>>>0)dt[155]=x;dt[263]=x;dt[264]=d;dt[266]=0;dt[160]=dt[269];dt[159]=-1;e=0;do{j=e<<1;F=644+(j<<2)|0;dt[644+(j+3<<2)>>2]=F;dt[644+(j+2<<2)>>2]=F;e=e+1|0}while((e|0)!=32);j=x+8|0;j=(j&7|0)==0?0:0-j&7;F=d+-40-j|0;dt[157]=x+j;dt[154]=F;dt[x+(j+4)>>2]=F|1;dt[x+(d+-36)>>2]=40;dt[158]=dt[273]}}while(0);e=dt[154]|0;if(e>>>0>m>>>0){F=e-m|0;dt[154]=F;j=dt[157]|0;dt[157]=j+m;dt[j+(m+4)>>2]=F|1;dt[j+4>>2]=m|3;j=j+8|0;return j|0}}j=hr()|0;dt[j>>2]=12;j=0;return j|0}function Ur(t){t=t|0;var e=0,r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0,y=0;if(!t)return;e=t+-8|0;s=dt[155]|0;if(e>>>0<s>>>0)Xt();r=dt[t+-4>>2]|0;i=r&3;if((i|0)==1)Xt();p=r&-8;m=t+(p+-8)|0;do{if(!(r&1)){e=dt[e>>2]|0;if(!i)return;l=-8-e|0;h=t+l|0;c=e+p|0;if(h>>>0<s>>>0)Xt();if((h|0)==(dt[156]|0)){e=t+(p+-4)|0;r=dt[e>>2]|0;if((r&3|0)!=3){y=h;o=c;break}dt[153]=c;dt[e>>2]=r&-2;dt[t+(l+4)>>2]=c|1;dt[m>>2]=c;return}n=e>>>3;if(e>>>0<256){i=dt[t+(l+8)>>2]|0;r=dt[t+(l+12)>>2]|0;e=644+(n<<1<<2)|0;if((i|0)!=(e|0)){if(i>>>0<s>>>0)Xt();if((dt[i+12>>2]|0)!=(h|0))Xt()}if((r|0)==(i|0)){dt[151]=dt[151]&~(1<<n);y=h;o=c;break}if((r|0)!=(e|0)){if(r>>>0<s>>>0)Xt();e=r+8|0;if((dt[e>>2]|0)==(h|0))a=e;else Xt()}else a=r+8|0;dt[i+12>>2]=r;dt[a>>2]=i;y=h;o=c;break}a=dt[t+(l+24)>>2]|0;i=dt[t+(l+12)>>2]|0;do{if((i|0)==(h|0)){r=t+(l+20)|0;e=dt[r>>2]|0;if(!e){r=t+(l+16)|0;e=dt[r>>2]|0;if(!e){u=0;break}}while(1){i=e+20|0;n=dt[i>>2]|0;if(n){e=n;r=i;continue}i=e+16|0;n=dt[i>>2]|0;if(!n)break;else{e=n;r=i}}if(r>>>0<s>>>0)Xt();else{dt[r>>2]=0;u=e;break}}else{n=dt[t+(l+8)>>2]|0;if(n>>>0<s>>>0)Xt();e=n+12|0;if((dt[e>>2]|0)!=(h|0))Xt();r=i+8|0;if((dt[r>>2]|0)==(h|0)){dt[e>>2]=i;dt[r>>2]=n;u=i;break}else Xt()}}while(0);if(a){e=dt[t+(l+28)>>2]|0;r=908+(e<<2)|0;if((h|0)==(dt[r>>2]|0)){dt[r>>2]=u;if(!u){dt[152]=dt[152]&~(1<<e);y=h;o=c;break}}else{if(a>>>0<(dt[155]|0)>>>0)Xt();e=a+16|0;if((dt[e>>2]|0)==(h|0))dt[e>>2]=u;else dt[a+20>>2]=u;if(!u){y=h;o=c;break}}r=dt[155]|0;if(u>>>0<r>>>0)Xt();dt[u+24>>2]=a;e=dt[t+(l+16)>>2]|0;do{if(e)if(e>>>0<r>>>0)Xt();else{dt[u+16>>2]=e;dt[e+24>>2]=u;break}}while(0);e=dt[t+(l+20)>>2]|0;if(e)if(e>>>0<(dt[155]|0)>>>0)Xt();else{dt[u+20>>2]=e;dt[e+24>>2]=u;y=h;o=c;break}else{y=h;o=c}}else{y=h;o=c}}else{y=e;o=p}}while(0);if(y>>>0>=m>>>0)Xt();e=t+(p+-4)|0;r=dt[e>>2]|0;if(!(r&1))Xt();if(!(r&2)){if((m|0)==(dt[157]|0)){_=(dt[154]|0)+o|0;dt[154]=_;dt[157]=y;dt[y+4>>2]=_|1;if((y|0)!=(dt[156]|0))return;dt[156]=0;dt[153]=0;return}if((m|0)==(dt[156]|0)){_=(dt[153]|0)+o|0;dt[153]=_;dt[156]=y;dt[y+4>>2]=_|1;dt[y+_>>2]=_;return}o=(r&-8)+o|0;n=r>>>3;do{if(r>>>0>=256){a=dt[t+(p+16)>>2]|0;e=dt[t+(p|4)>>2]|0;do{if((e|0)==(m|0)){r=t+(p+12)|0;e=dt[r>>2]|0;if(!e){r=t+(p+8)|0;e=dt[r>>2]|0;if(!e){d=0;break}}while(1){i=e+20|0;n=dt[i>>2]|0;if(n){e=n;r=i;continue}i=e+16|0;n=dt[i>>2]|0;if(!n)break;else{e=n;r=i}}if(r>>>0<(dt[155]|0)>>>0)Xt();else{dt[r>>2]=0;d=e;break}}else{r=dt[t+p>>2]|0;if(r>>>0<(dt[155]|0)>>>0)Xt();i=r+12|0;if((dt[i>>2]|0)!=(m|0))Xt();n=e+8|0;if((dt[n>>2]|0)==(m|0)){dt[i>>2]=e;dt[n>>2]=r;d=e;break}else Xt()}}while(0);if(a){e=dt[t+(p+20)>>2]|0;r=908+(e<<2)|0;if((m|0)==(dt[r>>2]|0)){dt[r>>2]=d;if(!d){dt[152]=dt[152]&~(1<<e);break}}else{if(a>>>0<(dt[155]|0)>>>0)Xt();e=a+16|0;if((dt[e>>2]|0)==(m|0))dt[e>>2]=d;else dt[a+20>>2]=d;if(!d)break}r=dt[155]|0;if(d>>>0<r>>>0)Xt();dt[d+24>>2]=a;e=dt[t+(p+8)>>2]|0;do{if(e)if(e>>>0<r>>>0)Xt();else{dt[d+16>>2]=e;dt[e+24>>2]=d;break}}while(0);e=dt[t+(p+12)>>2]|0;if(e)if(e>>>0<(dt[155]|0)>>>0)Xt();else{dt[d+20>>2]=e;dt[e+24>>2]=d;break}}}else{i=dt[t+p>>2]|0;r=dt[t+(p|4)>>2]|0;e=644+(n<<1<<2)|0;if((i|0)!=(e|0)){if(i>>>0<(dt[155]|0)>>>0)Xt();if((dt[i+12>>2]|0)!=(m|0))Xt()}if((r|0)==(i|0)){dt[151]=dt[151]&~(1<<n);break}if((r|0)!=(e|0)){if(r>>>0<(dt[155]|0)>>>0)Xt();e=r+8|0;if((dt[e>>2]|0)==(m|0))f=e;else Xt()}else f=r+8|0;dt[i+12>>2]=r;dt[f>>2]=i}}while(0);dt[y+4>>2]=o|1;dt[y+o>>2]=o;if((y|0)==(dt[156]|0)){dt[153]=o;return}}else{dt[e>>2]=r&-2;dt[y+4>>2]=o|1;dt[y+o>>2]=o}e=o>>>3;if(o>>>0<256){r=e<<1;n=644+(r<<2)|0;i=dt[151]|0;e=1<<e;if(i&e){e=644+(r+2<<2)|0;r=dt[e>>2]|0;if(r>>>0<(dt[155]|0)>>>0)Xt();else{g=e;v=r}}else{dt[151]=i|e;g=644+(r+2<<2)|0;v=n}dt[g>>2]=y;dt[v+12>>2]=y;dt[y+8>>2]=v;dt[y+12>>2]=n;return}e=o>>>8;if(e)if(o>>>0>16777215)n=31;else{g=(e+1048320|0)>>>16&8;v=e<<g;m=(v+520192|0)>>>16&4;v=v<<m;n=(v+245760|0)>>>16&2;n=14-(m|g|n)+(v<<n>>>15)|0;n=o>>>(n+7|0)&1|n<<1}else n=0;e=908+(n<<2)|0;dt[y+28>>2]=n;dt[y+20>>2]=0;dt[y+16>>2]=0;r=dt[152]|0;i=1<<n;t:do{if(r&i){e=dt[e>>2]|0;e:do{if((dt[e+4>>2]&-8|0)!=(o|0)){n=o<<((n|0)==31?0:25-(n>>>1)|0);while(1){r=e+16+(n>>>31<<2)|0;i=dt[r>>2]|0;if(!i)break;if((dt[i+4>>2]&-8|0)==(o|0)){_=i;break e}else{n=n<<1;e=i}}if(r>>>0<(dt[155]|0)>>>0)Xt();else{dt[r>>2]=y;dt[y+24>>2]=e;dt[y+12>>2]=y;dt[y+8>>2]=y;break t}}else _=e}while(0);e=_+8|0;r=dt[e>>2]|0;v=dt[155]|0;if(r>>>0>=v>>>0&_>>>0>=v>>>0){dt[r+12>>2]=y;dt[e>>2]=y;dt[y+8>>2]=r;dt[y+12>>2]=_;dt[y+24>>2]=0;break}else Xt()}else{dt[152]=r|i;dt[e>>2]=y;dt[y+24>>2]=e;dt[y+12>>2]=y;dt[y+8>>2]=y}}while(0);y=(dt[159]|0)+-1|0;dt[159]=y;if(!y)e=1060;else return;while(1){e=dt[e>>2]|0;if(!e)break;else e=e+8|0}dt[159]=-1;return}function Xr(t,e){t=t|0;e=e|0;var r=0,i=0;if(!t){t=Br(e)|0;return t|0}if(e>>>0>4294967231){t=hr()|0;dt[t>>2]=12;t=0;return t|0}r=qr(t+-8|0,e>>>0<11?16:e+11&-8)|0;if(r){t=r+8|0;return t|0}r=Br(e)|0;if(!r){t=0;return t|0}i=dt[t+-4>>2]|0;i=(i&-8)-((i&3|0)==0?8:4)|0;Qr(r|0,t|0,(i>>>0<e>>>0?i:e)|0)|0;Ur(t);t=r;return t|0}function Hr(t){t=t|0;var e=0;if(!t){e=0;return e|0}t=dt[t+-4>>2]|0;e=t&3;if((e|0)==1){e=0;return e|0}e=(t&-8)-((e|0)==0?8:4)|0;return e|0}function qr(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0;p=t+4|0;d=dt[p>>2]|0;l=d&-8;h=t+l|0;s=dt[155]|0;r=d&3;if(!((r|0)!=1&t>>>0>=s>>>0&t>>>0<h>>>0))Xt();i=t+(l|4)|0;n=dt[i>>2]|0;if(!(n&1))Xt();if(!r){if(e>>>0<256){t=0;return t|0}if(l>>>0>=(e+4|0)>>>0?(l-e|0)>>>0<=dt[271]<<1>>>0:0)return t|0;t=0;return t|0}if(l>>>0>=e>>>0){r=l-e|0;if(r>>>0<=15)return t|0;dt[p>>2]=d&1|e|2;dt[t+(e+4)>>2]=r|3;dt[i>>2]=dt[i>>2]|1;Wr(t+e|0,r);return t|0}if((h|0)==(dt[157]|0)){r=(dt[154]|0)+l|0;if(r>>>0<=e>>>0){t=0;return t|0}f=r-e|0;dt[p>>2]=d&1|e|2;dt[t+(e+4)>>2]=f|1;dt[157]=t+e;dt[154]=f;return t|0}if((h|0)==(dt[156]|0)){i=(dt[153]|0)+l|0;if(i>>>0<e>>>0){t=0;return t|0}r=i-e|0;if(r>>>0>15){dt[p>>2]=d&1|e|2;dt[t+(e+4)>>2]=r|1;dt[t+i>>2]=r;i=t+(i+4)|0;dt[i>>2]=dt[i>>2]&-2;i=t+e|0}else{dt[p>>2]=d&1|i|2;i=t+(i+4)|0;dt[i>>2]=dt[i>>2]|1;i=0;r=0}dt[153]=r;dt[156]=i;return t|0}if(n&2){t=0;return t|0}c=(n&-8)+l|0;if(c>>>0<e>>>0){t=0;return t|0}f=c-e|0;o=n>>>3;do{if(n>>>0>=256){a=dt[t+(l+24)>>2]|0;o=dt[t+(l+12)>>2]|0;do{if((o|0)==(h|0)){i=t+(l+20)|0;r=dt[i>>2]|0;if(!r){i=t+(l+16)|0;r=dt[i>>2]|0;if(!r){u=0;break}}while(1){n=r+20|0;o=dt[n>>2]|0;if(o){r=o;i=n;continue}n=r+16|0;o=dt[n>>2]|0;if(!o)break;else{r=o;i=n}}if(i>>>0<s>>>0)Xt();else{dt[i>>2]=0;u=r;break}}else{n=dt[t+(l+8)>>2]|0;if(n>>>0<s>>>0)Xt();r=n+12|0;if((dt[r>>2]|0)!=(h|0))Xt();i=o+8|0;if((dt[i>>2]|0)==(h|0)){dt[r>>2]=o;dt[i>>2]=n;u=o;break}else Xt()}}while(0);if(a){r=dt[t+(l+28)>>2]|0;i=908+(r<<2)|0;if((h|0)==(dt[i>>2]|0)){dt[i>>2]=u;if(!u){dt[152]=dt[152]&~(1<<r);break}}else{if(a>>>0<(dt[155]|0)>>>0)Xt();r=a+16|0;if((dt[r>>2]|0)==(h|0))dt[r>>2]=u;else dt[a+20>>2]=u;if(!u)break}i=dt[155]|0;if(u>>>0<i>>>0)Xt();dt[u+24>>2]=a;r=dt[t+(l+16)>>2]|0;do{if(r)if(r>>>0<i>>>0)Xt();else{dt[u+16>>2]=r;dt[r+24>>2]=u;break}}while(0);r=dt[t+(l+20)>>2]|0;if(r)if(r>>>0<(dt[155]|0)>>>0)Xt();else{dt[u+20>>2]=r;dt[r+24>>2]=u;break}}}else{n=dt[t+(l+8)>>2]|0;i=dt[t+(l+12)>>2]|0;r=644+(o<<1<<2)|0;if((n|0)!=(r|0)){if(n>>>0<s>>>0)Xt();if((dt[n+12>>2]|0)!=(h|0))Xt()}if((i|0)==(n|0)){dt[151]=dt[151]&~(1<<o);break}if((i|0)!=(r|0)){if(i>>>0<s>>>0)Xt();r=i+8|0;if((dt[r>>2]|0)==(h|0))a=r;else Xt()}else a=i+8|0;dt[n+12>>2]=i;dt[a>>2]=n}}while(0);if(f>>>0<16){dt[p>>2]=c|d&1|2;e=t+(c|4)|0;dt[e>>2]=dt[e>>2]|1;return t|0}else{dt[p>>2]=d&1|e|2;dt[t+(e+4)>>2]=f|3;d=t+(c|4)|0;dt[d>>2]=dt[d>>2]|1;Wr(t+e|0,f);return t|0}return 0}function Wr(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0,m=0,g=0,v=0,_=0;m=t+e|0;r=dt[t+4>>2]|0;do{if(!(r&1)){u=dt[t>>2]|0;if(!(r&3))return;f=t+(0-u)|0;c=u+e|0;l=dt[155]|0;if(f>>>0<l>>>0)Xt();if((f|0)==(dt[156]|0)){i=t+(e+4)|0;r=dt[i>>2]|0;if((r&3|0)!=3){_=f;a=c;break}dt[153]=c;dt[i>>2]=r&-2;dt[t+(4-u)>>2]=c|1;dt[m>>2]=c;return}o=u>>>3;if(u>>>0<256){n=dt[t+(8-u)>>2]|0;i=dt[t+(12-u)>>2]|0;r=644+(o<<1<<2)|0;if((n|0)!=(r|0)){if(n>>>0<l>>>0)Xt();if((dt[n+12>>2]|0)!=(f|0))Xt()}if((i|0)==(n|0)){dt[151]=dt[151]&~(1<<o);_=f;a=c;break}if((i|0)!=(r|0)){if(i>>>0<l>>>0)Xt();r=i+8|0;if((dt[r>>2]|0)==(f|0))s=r;else Xt()}else s=i+8|0;dt[n+12>>2]=i;dt[s>>2]=n;_=f;a=c;break}s=dt[t+(24-u)>>2]|0;n=dt[t+(12-u)>>2]|0;do{if((n|0)==(f|0)){n=16-u|0;i=t+(n+4)|0;r=dt[i>>2]|0;if(!r){i=t+n|0;r=dt[i>>2]|0;if(!r){h=0;break}}while(1){n=r+20|0;o=dt[n>>2]|0;if(o){r=o;i=n;continue}n=r+16|0;o=dt[n>>2]|0;if(!o)break;else{r=o;i=n}}if(i>>>0<l>>>0)Xt();else{dt[i>>2]=0;h=r;break}}else{o=dt[t+(8-u)>>2]|0;if(o>>>0<l>>>0)Xt();r=o+12|0;if((dt[r>>2]|0)!=(f|0))Xt();i=n+8|0;if((dt[i>>2]|0)==(f|0)){dt[r>>2]=n;dt[i>>2]=o;h=n;break}else Xt()}}while(0);if(s){r=dt[t+(28-u)>>2]|0;i=908+(r<<2)|0;if((f|0)==(dt[i>>2]|0)){dt[i>>2]=h;if(!h){dt[152]=dt[152]&~(1<<r);_=f;a=c;break}}else{if(s>>>0<(dt[155]|0)>>>0)Xt();r=s+16|0;if((dt[r>>2]|0)==(f|0))dt[r>>2]=h;else dt[s+20>>2]=h;if(!h){_=f;a=c;break}}n=dt[155]|0;if(h>>>0<n>>>0)Xt();dt[h+24>>2]=s;r=16-u|0;i=dt[t+r>>2]|0;do{if(i)if(i>>>0<n>>>0)Xt();else{dt[h+16>>2]=i;dt[i+24>>2]=h;break}}while(0);r=dt[t+(r+4)>>2]|0;if(r)if(r>>>0<(dt[155]|0)>>>0)Xt();else{dt[h+20>>2]=r;dt[r+24>>2]=h;_=f;a=c;break}else{_=f;a=c}}else{_=f;a=c}}else{_=t;a=e}}while(0);l=dt[155]|0;if(m>>>0<l>>>0)Xt();r=t+(e+4)|0;i=dt[r>>2]|0;if(!(i&2)){if((m|0)==(dt[157]|0)){v=(dt[154]|0)+a|0;dt[154]=v;dt[157]=_;dt[_+4>>2]=v|1;if((_|0)!=(dt[156]|0))return;dt[156]=0;dt[153]=0;return}if((m|0)==(dt[156]|0)){v=(dt[153]|0)+a|0;dt[153]=v;dt[156]=_;dt[_+4>>2]=v|1;dt[_+v>>2]=v;return}a=(i&-8)+a|0;o=i>>>3;do{if(i>>>0>=256){s=dt[t+(e+24)>>2]|0;n=dt[t+(e+12)>>2]|0;do{if((n|0)==(m|0)){i=t+(e+20)|0;r=dt[i>>2]|0;if(!r){i=t+(e+16)|0;r=dt[i>>2]|0;if(!r){d=0;break}}while(1){n=r+20|0;o=dt[n>>2]|0;if(o){r=o;i=n;continue}n=r+16|0;o=dt[n>>2]|0;if(!o)break;else{r=o;i=n}}if(i>>>0<l>>>0)Xt();else{dt[i>>2]=0;d=r;break}}else{o=dt[t+(e+8)>>2]|0;if(o>>>0<l>>>0)Xt();r=o+12|0;if((dt[r>>2]|0)!=(m|0))Xt();i=n+8|0;if((dt[i>>2]|0)==(m|0)){dt[r>>2]=n;dt[i>>2]=o;d=n;break}else Xt()}}while(0);if(s){r=dt[t+(e+28)>>2]|0;i=908+(r<<2)|0;if((m|0)==(dt[i>>2]|0)){dt[i>>2]=d;if(!d){dt[152]=dt[152]&~(1<<r);break}}else{if(s>>>0<(dt[155]|0)>>>0)Xt();r=s+16|0;if((dt[r>>2]|0)==(m|0))dt[r>>2]=d;else dt[s+20>>2]=d;if(!d)break}i=dt[155]|0;if(d>>>0<i>>>0)Xt();dt[d+24>>2]=s;r=dt[t+(e+16)>>2]|0;do{if(r)if(r>>>0<i>>>0)Xt();else{dt[d+16>>2]=r;dt[r+24>>2]=d;break}}while(0);r=dt[t+(e+20)>>2]|0;if(r)if(r>>>0<(dt[155]|0)>>>0)Xt();else{dt[d+20>>2]=r;dt[r+24>>2]=d;break}}}else{n=dt[t+(e+8)>>2]|0;i=dt[t+(e+12)>>2]|0;r=644+(o<<1<<2)|0;if((n|0)!=(r|0)){if(n>>>0<l>>>0)Xt();if((dt[n+12>>2]|0)!=(m|0))Xt()}if((i|0)==(n|0)){dt[151]=dt[151]&~(1<<o);break}if((i|0)!=(r|0)){if(i>>>0<l>>>0)Xt();r=i+8|0;if((dt[r>>2]|0)==(m|0))p=r;else Xt()}else p=i+8|0;dt[n+12>>2]=i;dt[p>>2]=n}}while(0);dt[_+4>>2]=a|1;dt[_+a>>2]=a;if((_|0)==(dt[156]|0)){dt[153]=a;return}}else{dt[r>>2]=i&-2;dt[_+4>>2]=a|1;dt[_+a>>2]=a}r=a>>>3;if(a>>>0<256){i=r<<1;o=644+(i<<2)|0;n=dt[151]|0;r=1<<r;if(n&r){r=644+(i+2<<2)|0;i=dt[r>>2]|0;if(i>>>0<(dt[155]|0)>>>0)Xt();else{g=r;v=i}}else{dt[151]=n|r;g=644+(i+2<<2)|0;v=o}dt[g>>2]=_;dt[v+12>>2]=_;dt[_+8>>2]=v;dt[_+12>>2]=o;return}r=a>>>8;if(r)if(a>>>0>16777215)o=31;else{g=(r+1048320|0)>>>16&8;v=r<<g;m=(v+520192|0)>>>16&4;v=v<<m;o=(v+245760|0)>>>16&2;o=14-(m|g|o)+(v<<o>>>15)|0;o=a>>>(o+7|0)&1|o<<1}else o=0;r=908+(o<<2)|0;dt[_+28>>2]=o;dt[_+20>>2]=0;dt[_+16>>2]=0;i=dt[152]|0;n=1<<o;if(!(i&n)){dt[152]=i|n;dt[r>>2]=_;dt[_+24>>2]=r;dt[_+12>>2]=_;dt[_+8>>2]=_;return}r=dt[r>>2]|0;t:do{if((dt[r+4>>2]&-8|0)!=(a|0)){o=a<<((o|0)==31?0:25-(o>>>1)|0);while(1){i=r+16+(o>>>31<<2)|0;n=dt[i>>2]|0;if(!n)break;if((dt[n+4>>2]&-8|0)==(a|0)){r=n;break t}else{o=o<<1;r=n}}if(i>>>0<(dt[155]|0)>>>0)Xt();dt[i>>2]=_;dt[_+24>>2]=r;dt[_+12>>2]=_;dt[_+8>>2]=_;return}}while(0);i=r+8|0;n=dt[i>>2]|0;v=dt[155]|0;if(!(n>>>0>=v>>>0&r>>>0>=v>>>0))Xt();dt[n+12>>2]=_;dt[i>>2]=_;dt[_+8>>2]=n;dt[_+12>>2]=r;dt[_+24>>2]=0;return}function Gr(){}function Vr(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;i=e-i-(r>>>0>t>>>0|0)>>>0;return(rt=i,t-r>>>0|0)|0}function Yr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0,n=0,o=0,a=0;i=t+r|0;if((r|0)>=20){e=e&255;o=t&3;a=e|e<<8|e<<16|e<<24;n=i&~3;if(o){o=t+4-o|0;while((t|0)<(o|0)){pt[t>>0]=e;t=t+1|0}}while((t|0)<(n|0)){dt[t>>2]=a;t=t+4|0}}while((t|0)<(i|0)){pt[t>>0]=e;t=t+1|0}return t-r|0}function Zr(t,e,r){t=t|0;e=e|0;r=r|0;if((r|0)<32){rt=e>>>r;return t>>>r|(e&(1<<r)-1)<<32-r}rt=0;return e>>>r-32|0}function Jr(t,e,r){t=t|0;e=e|0;r=r|0;if((r|0)<32){rt=e<<r|(t&(1<<r)-1<<32-r)>>>32-r;return t<<r}rt=t<<r-32;return 0}function Kr(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;r=t+r>>>0;return(rt=e+i+(r>>>0<t>>>0|0)>>>0,r|0)|0}function Qr(t,e,r){t=t|0;e=e|0;r=r|0;var i=0;if((r|0)>=4096)return Mt(t|0,e|0,r|0)|0;i=t|0;if((t&3)==(e&3)){while(t&3){if(!r)return i|0;pt[t>>0]=pt[e>>0]|0;t=t+1|0;e=e+1|0;r=r-1|0}while((r|0)>=4){dt[t>>2]=dt[e>>2];t=t+4|0;e=e+4|0;r=r-4|0}}while((r|0)>0){pt[t>>0]=pt[e>>0]|0;t=t+1|0;e=e+1|0;r=r-1|0}return i|0}function $r(t,e,r){t=t|0;e=e|0;r=r|0;if((r|0)<32){rt=e>>r;return t>>>r|(e&(1<<r)-1)<<32-r}rt=(e|0)<0?-1:0;return e>>r-32|0}function ti(t){t=t|0;var e=0;e=pt[g+(t&255)>>0]|0;if((e|0)<8)return e|0;e=pt[g+(t>>8&255)>>0]|0;if((e|0)<8)return e+8|0;e=pt[g+(t>>16&255)>>0]|0;if((e|0)<8)return e+16|0;return(pt[g+(t>>>24)>>0]|0)+24|0}function ei(t,e){t=t|0;e=e|0;var r=0,i=0,n=0,o=0;o=t&65535;n=e&65535;r=_t(n,o)|0;i=t>>>16;t=(r>>>16)+(_t(n,i)|0)|0;n=e>>>16;e=_t(n,o)|0;return(rt=(t>>>16)+(_t(n,i)|0)+(((t&65535)+e|0)>>>16)|0,t+e<<16|r&65535|0)|0}function ri(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0;u=e>>31|((e|0)<0?-1:0)<<1;l=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;o=i>>31|((i|0)<0?-1:0)<<1;n=((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1;s=Vr(u^t,l^e,u,l)|0;a=rt;t=o^u;e=n^l;return Vr((si(s,a,Vr(o^r,n^i,o,n)|0,rt,0)|0)^t,rt^e,t,e)|0}function ii(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0,a=0,s=0,l=0,u=0;n=vt;vt=vt+16|0;s=n|0;a=e>>31|((e|0)<0?-1:0)<<1;o=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;u=i>>31|((i|0)<0?-1:0)<<1;l=((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1;t=Vr(a^t,o^e,a,o)|0;e=rt;si(t,e,Vr(u^r,l^i,u,l)|0,rt,s)|0;i=Vr(dt[s>>2]^a,dt[s+4>>2]^o,a,o)|0;r=rt;vt=n;return(rt=r,i)|0}function ni(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0;n=t;o=r;r=ei(n,o)|0;t=rt;return(rt=(_t(e,o)|0)+(_t(i,n)|0)+t|t&0,r|0|0)|0}function oi(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;return si(t,e,r,i,0)|0}function ai(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;var n=0,o=0;o=vt;vt=vt+16|0;n=o|0;si(t,e,r,i,n)|0;vt=o;return(rt=dt[n+4>>2]|0,dt[n>>2]|0)|0}function si(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;var o=0,a=0,s=0,l=0,u=0,h=0,c=0,f=0,p=0,d=0;h=t;l=e;u=l;a=r;f=i;s=f;if(!u){o=(n|0)!=0;if(!s){if(o){dt[n>>2]=(h>>>0)%(a>>>0);dt[n+4>>2]=0}f=0;n=(h>>>0)/(a>>>0)>>>0;return(rt=f,n)|0}else{if(!o){f=0;n=0;return(rt=f,n)|0}dt[n>>2]=t|0;dt[n+4>>2]=e&0;f=0;n=0;return(rt=f,n)|0}}o=(s|0)==0;do{if(a){if(!o){o=(at(s|0)|0)-(at(u|0)|0)|0;if(o>>>0<=31){c=o+1|0;s=31-o|0;e=o-31>>31;a=c;t=h>>>(c>>>0)&e|u<<s;e=u>>>(c>>>0)&e;o=0;s=h<<s;break}if(!n){f=0;n=0;return(rt=f,n)|0}dt[n>>2]=t|0;dt[n+4>>2]=l|e&0;f=0;n=0;return(rt=f,n)|0}o=a-1|0;if(o&a){s=(at(a|0)|0)+33-(at(u|0)|0)|0;d=64-s|0;c=32-s|0;l=c>>31;p=s-32|0;e=p>>31;a=s;t=c-1>>31&u>>>(p>>>0)|(u<<c|h>>>(s>>>0))&e;e=e&u>>>(s>>>0);o=h<<d&l;s=(u<<d|h>>>(p>>>0))&l|h<<c&s-33>>31;break}if(n){dt[n>>2]=o&h;dt[n+4>>2]=0}if((a|0)==1){p=l|e&0;d=t|0|0;return(rt=p,d)|0}else{d=ti(a|0)|0;p=u>>>(d>>>0)|0;d=u<<32-d|h>>>(d>>>0)|0;return(rt=p,d)|0}}else{if(o){if(n){dt[n>>2]=(u>>>0)%(a>>>0);dt[n+4>>2]=0}p=0;d=(u>>>0)/(a>>>0)>>>0;return(rt=p,d)|0}if(!h){if(n){dt[n>>2]=0;dt[n+4>>2]=(u>>>0)%(s>>>0)}p=0;d=(u>>>0)/(s>>>0)>>>0;return(rt=p,d)|0}o=s-1|0;if(!(o&s)){if(n){dt[n>>2]=t|0;dt[n+4>>2]=o&u|e&0}p=0;d=u>>>((ti(s|0)|0)>>>0);return(rt=p,d)|0}o=(at(s|0)|0)-(at(u|0)|0)|0;if(o>>>0<=30){e=o+1|0;s=31-o|0;a=e;t=u<<s|h>>>(e>>>0);e=u>>>(e>>>0);o=0;s=h<<s;break}if(!n){p=0;d=0;return(rt=p,d)|0}dt[n>>2]=t|0;dt[n+4>>2]=l|e&0;p=0;d=0;return(rt=p,d)|0}}while(0);if(!a){u=s;l=0;s=0}else{c=r|0|0;h=f|i&0;u=Kr(c|0,h|0,-1,-1)|0;r=rt;l=s;s=0;do{i=l;l=o>>>31|l<<1;o=s|o<<1;i=t<<1|i>>>31|0;f=t>>>31|e<<1|0;Vr(u,r,i,f)|0;d=rt;p=d>>31|((d|0)<0?-1:0)<<1;s=p&1;t=Vr(i,f,p&c,(((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1)&h)|0;e=rt;a=a-1|0}while((a|0)!=0);u=l;l=0}a=0;if(n){dt[n>>2]=t;dt[n+4>>2]=e}p=(o|0)>>>31|(u|a)<<1|(a<<1|o>>>31)&0|l;d=(o<<1|0>>>31)&-2|s;return(rt=p,d)|0}function li(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;return Pi[t&7](e|0,r|0,i|0)|0}function ui(t,e,r,i,n,o){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;Ci[t&3](e|0,r|0,i|0,n|0,o|0)}function hi(t,e){t=t|0;e=e|0;Ai[t&7](e|0)}function ci(t,e){t=t|0;e=e|0;return Ei[t&1](e|0)|0}function fi(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;Ii[t&0](e|0,r|0,i|0)}function pi(t){t=t|0;Oi[t&3]()}function di(t,e,r,i,n,o,a){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;a=a|0;Mi[t&3](e|0,r|0,i|0,n|0,o|0,a|0)}function mi(t,e,r,i,n,o){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;return Di[t&1](e|0,r|0,i|0,n|0,o|0)|0}function gi(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;zi[t&3](e|0,r|0,i|0,n|0)}function vi(t,e,r){t=t|0;e=e|0;r=r|0;st(0);return 0}function _i(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;st(1)}function yi(t){t=t|0;st(2)}function bi(t){t=t|0;st(3);return 0}function xi(t,e,r){t=t|0;e=e|0;r=r|0;st(4)}function wi(){st(5)}function Ti(t,e,r,i,n,o){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;o=o|0;st(6)}function ki(t,e,r,i,n){t=t|0;e=e|0;r=r|0;i=i|0;n=n|0;st(7);return 0}function Si(t,e,r,i){t=t|0;e=e|0;r=r|0;i=i|0;st(8)}var Pi=[vi,Ye,Fr,Er,Ar,Ir,vi,vi];var Ci=[_i,er,tr,_i];var Ai=[yi,He,Ge,qe,We,Ve,lr,Rr];var Ei=[bi,Cr];var Ii=[xi];var Oi=[wi,ar,sr,wi];var Mi=[Ti,ir,rr,Ti];var Di=[ki,le];var zi=[Si,Je,Ke,Si];return{___cxa_can_catch:nr,_crn_get_levels:Te,_crn_get_uncompressed_size:Se,_crn_decompress:Pe,_i64Add:Kr,_crn_get_width:xe,___cxa_is_pointer_type:or,_i64Subtract:Vr,_memset:Yr,_malloc:Br,_free:Ur,_memcpy:Qr,_bitshift64Lshr:Zr,_fflush:gr,_bitshift64Shl:Jr,_crn_get_height:we,___errno_location:hr,_crn_get_dxt_format:ke,runPostSets:Gr,_emscripten_replace_memory:Yt,stackAlloc:Zt,stackSave:Jt,stackRestore:Kt,establishStackSpace:Qt,setThrew:$t,setTempRet0:re,getTempRet0:ie,dynCall_iiii:li,dynCall_viiiii:ui,dynCall_vi:hi,dynCall_ii:ci,dynCall_viii:fi,dynCall_v:pi,dynCall_viiiiii:di,dynCall_iiiiii:mi,dynCall_viiii:gi}}(e.Ya,e.Za,buffer);e.___cxa_can_catch=Z.___cxa_can_catch,e._crn_get_levels=Z._crn_get_levels,e.runPostSets=Z.runPostSets,e._crn_get_uncompressed_size=Z._crn_get_uncompressed_size,e._crn_decompress=Z._crn_decompress;var zc=e._i64Add=Z._i64Add;e._crn_get_height=Z._crn_get_height,e.___cxa_is_pointer_type=Z.___cxa_is_pointer_type;var nb=e._i64Subtract=Z._i64Subtract,qb=e._memset=Z._memset,Ea=e._malloc=Z._malloc,Bc=e._memcpy=Z._memcpy,Xa=e._emscripten_replace_memory=Z._emscripten_replace_memory;e._crn_get_dxt_format=Z._crn_get_dxt_format;var rb=e._bitshift64Lshr=Z._bitshift64Lshr,Na=e._free=Z._free;e._fflush=Z._fflush,e._crn_get_width=Z._crn_get_width,e.___errno_location=Z.___errno_location;var sb=e._bitshift64Shl=Z._bitshift64Shl;function ia(t){this.name="ExitStatus",this.message="Program terminated with exit("+t+")",this.status=t}e.dynCall_iiii=Z.dynCall_iiii,e.dynCall_viiiii=Z.dynCall_viiiii,e.dynCall_vi=Z.dynCall_vi,e.dynCall_ii=Z.dynCall_ii,e.dynCall_viii=Z.dynCall_viii,e.dynCall_v=Z.dynCall_v,e.dynCall_viiiiii=Z.dynCall_viiiiii,e.dynCall_iiiiii=Z.dynCall_iiiiii,e.dynCall_viiii=Z.dynCall_viiii,n.aa=Z.stackAlloc,n.ua=Z.stackSave,n.ba=Z.stackRestore,n.Cd=Z.establishStackSpace,n.rb=Z.setTempRet0,n.fb=Z.getTempRet0,ia.prototype=Error(),ia.prototype.constructor=ia;var rd=null,jb=function t(){e.calledRun||td(),e.calledRun||(jb=t)};function td(t){function r(){if(!e.calledRun&&(e.calledRun=!0,!na)){if(Ha||(Ha=!0,ab(cb)),ab(db),e.onRuntimeInitialized&&e.onRuntimeInitialized(),e._main&&vd&&e.callMain(t),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)gb(e.postRun.shift());ab(eb)}}if(t=t||e.arguments,null===rd&&(rd=Date.now()),!(0<I)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)fb(e.preRun.shift());ab(bb),0<I||e.calledRun||(e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),r()},1)):r())}}function ud(t,r){if(!r||!e.noExitRuntime)throw!e.noExitRuntime&&(na=!0,m=void 0,ab(H),e.onExit)&&e.onExit(t),da?(process.stdout.once("drain",function(){process.exit(t)}),console.log(" "),setTimeout(function(){process.exit(t)},500)):ea&&"function"==typeof quit&&quit(t),new ia(t)}e.callMain=e.zd=function(t){function r(){for(var t=0;t<3;t++)n.push(0)}assert(0==I,"cannot call main when async dependencies remain! (listen on __ATMAIN__)"),assert(0==bb.length,"cannot call main when preRun functions remain to be called"),t=t||[],Ha||(Ha=!0,ab(cb));var i=t.length+1,n=[D(hb(e.thisProgram),"i8",0)];r();for(var o=0;o<i-1;o+=1)n.push(D(hb(t[o]),"i8",0)),r();n.push(0),n=D(n,"i32",0);try{ud(e._main(i,n,0),!0)}catch(t){if(!(t instanceof ia)){if("SimulateInfiniteLoop"!=t)throw t&&"object"==typeof t&&t.stack&&e.W("exception thrown: "+[t,t.stack]),t;e.noExitRuntime=!0}}},e.run=e.run=td,e.exit=e.exit=ud;var wd=[];function x(r){r=void 0!==r?(e.print(r),e.W(r),JSON.stringify(r)):"",na=!0;var i="abort("+r+") at "+Oa()+"\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";throw wd&&wd.forEach(function(t){i=t(i,r)}),i}if(e.abort=e.abort=x,e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();var vd=!0;e.noInitialRun&&(vd=!1),td(),window.Module=e;var __extends=this&&this.__extends||function(){var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};return function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures;function fourCCToInt32(t){return t.charCodeAt(0)+(t.charCodeAt(1)<<8)+(t.charCodeAt(2)<<16)+(t.charCodeAt(3)<<24)}function int32ToFourCC(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)}!function(s){s.loadFromArrayBuffer=function(t,e,r){return new i(e).loadFromArrayBuffer(t,r)};var i=function(l){function t(t,e,r,i,n,o,a){var s=l.call(this)||this;return s.complete=!1,s.isCompressedImage=!0,s.preserveSource=!0,s.onload=null,s.baseTexture=null,s.init(t,e,r,i,n,o,a),s}return __extends(t,l),t.prototype.init=function(t,e,r,i,n,o,a){void 0===i&&(i=-1),void 0===n&&(n=-1),this.src=t,this.resize(i,n),this._width=i,this._height=n,this.data=e,this.type=r,this.levels=o,this.internalFormat=a;var s=this.complete;return this.complete=!!e,!s&&this.complete&&this.onload&&this.onload({target:this}),this.update(),this},t.prototype.dispose=function(){this.data=null},t.prototype.bind=function(t){t.premultiplyAlpha=!1,l.prototype.bind.call(this,t)},t.prototype.upload=function(t,e,r){var i=t.state.gl;if(r.compressed=!1,t.texture.initCompressed(),null===this.data)throw"Trying to create a second (or more) webgl texture from the same CompressedImage : "+this.src;for(var n=this.levels,o=this.width,a=this.height,s=0,l=0;l<n;++l){var u=this._internalLoader.levelBufferSize(o,a,l),h=new Uint8Array(this.data.buffer,this.data.byteOffset+s,u);i.compressedTexImage2D(i.TEXTURE_2D,l,this.internalFormat,o,a,0,h),(o>>=1)<1&&(o=1),(a>>=1)<1&&(a=1),s+=u}return this._internalLoader.free(),this.preserveSource||(this.data=null),!0},t.prototype.style=function(t,e,r){var i=t.state.gl,n=this.levels;return e.scaleMode===PIXI.SCALE_MODES.LINEAR?1<n?(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR_MIPMAP_NEAREST)):(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR)):1<n?(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.NEAREST),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.NEAREST_MIPMAP_NEAREST)):(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.NEAREST),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.NEAREST)),!0},t.prototype.loadFromArrayBuffer=function(t,e){var r=s.Loaders;if(!r||!r.length)throw"Registered compressed loaders is missing. Call `TextureSystem.initCompressed` before loading!";for(var i=void 0,n=0,o=r;n<o.length;n++){var a=o[n];if(e){if("CRN"===a.type){i=a;break}}else if(a.test(t)){i=a;break}}if(i)return this._internalLoader=new i(this),this._internalLoader.load(t);throw new Error("Compressed texture format is not recognized: "+this.src)},t}(PIXI.resources.Resource);s.CompressedImage=i}(pixi_compressed_textures||(pixi_compressed_textures={})),function(e){var t=function(){function t(t){void 0===t&&(t=new e.CompressedImage("unknown")),this._image=t,this._format=0,t._internalLoader=this}return t.prototype.free=function(){},t.test=function(t){return!1},t.type="ABSTRACT",t}();e.AbstractInternalLoader=t}(pixi_compressed_textures||(pixi_compressed_textures={})),function(t){var e,h=((e={})[16]=0,e[20]=1,e[25]=2,e[30]=3,e[36]=4,e[40]=5,e[48]=6,e[64]=7,e[50]=8,e[60]=9,e[80]=10,e[100]=11,e[120]=12,e[144]=13,e),r=function(i){function u(t,e){void 0===e&&(e=!1);var r=i.call(this,t)||this;return r.useSRGB=e,r._blockSize={x:0,y:0},r}return __extends(u,i),u.prototype.load=function(t){if(!u.test(t))throw"Invalid magic number in ASTC header";var e=new Uint8Array(t,0,16),r=e[4],i=e[5],n=e[7]+(e[8]<<8)+(e[9]<<16),o=e[10]+(e[11]<<8)+(e[12]<<16),a=h[r*i]+(this.useSRGB?37840:37808),s=new Uint8Array(t,16);this._format=a,this._blockSize.x=r,this._blockSize.y=i;var l=this._image;return l.init(l.src,s,"ASTC",n,o,1,a),l},u.test=function(t){return 1554098963===new Int32Array(t,0,1)[0]},u.prototype.levelBufferSize=function(t,e,r){void 0===r&&(r=0);var i=Math.floor,n=this._blockSize.x,o=this._blockSize.y;return i((t+n-1)/n)*i((e+o-1)/o)<<4},u.type="ASTC",u}(t.AbstractInternalLoader);t.ASTCLoader=r}(pixi_compressed_textures||(pixi_compressed_textures={})),function(t){var e,r=fourCCToInt32("DXT1"),i=fourCCToInt32("DXT3"),n=fourCCToInt32("DXT5"),o=fourCCToInt32("ATC "),a=fourCCToInt32("ATCA"),s=fourCCToInt32("ATCI"),c=((e={})[r]=33776,e[i]=33778,e[n]=33779,e[o]=35986,e[a]=35987,e[s]=34798,e),l=function(e){function h(t){return e.call(this,t)||this}return __extends(h,e),h.prototype.load=function(t){if(!h.test(t))throw"Invalid magic number in DDS header";var e=new Int32Array(t,0,31);if(!(4&e[20]))throw"Unsupported format, must contain a FourCC code";var r=e[21],i=c[r]||-1;if(i<0)throw"Unsupported FourCC code: "+int32ToFourCC(r);var n=1;131072&e[2]&&(n=Math.max(1,e[7]));var o=e[4],a=e[3],s=e[1]+4,l=new Uint8Array(t,s),u=this._image;return this._format=i,u.init(u.src,l,"DDS",o,a,n,i),u},h.test=function(t){return 542327876===new Int32Array(t,0,1)[0]},h.prototype.levelBufferSize=function(t,e,r){switch(void 0===r&&(r=0),this._format){case 33776:case 35986:return(t+3>>2)*(e+3>>2)*8;case 33778:case 33779:case 35987:case 34798:return(t+3>>2)*(e+3>>2)*16;default:return 0}},h.type="DDS",h}(t.AbstractInternalLoader);t.DDSLoader=l}(pixi_compressed_textures||(pixi_compressed_textures={})),function(h){var t,c=((t={})[0]=35841,t[1]=35843,t[2]=35840,t[3]=35842,t[6]=36196,t[7]=33776,t[9]=33778,t[5]=33779,t),e=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.load=function(t){if(!h.DDSLoader.test(t))throw"Invalid magic number in PVR header";var e=new Int32Array(t,0,13),r=e[2],i=c[r]||-1,n=e[7],o=e[6],a=e[11],s=e[12]+52,l=new Uint8Array(t,s),u=this._image;return this._format=i,u.init(u.src,l,"PVR",n,o,a,i),u},t.test=function(t){return 55727696===new Int32Array(t,0,1)[0]},t.prototype.levelBufferSize=function(t,e,r){switch(void 0===r&&(r=0),this._format){case 33776:case 36196:return(t+3>>2)*(e+3>>2)*8;case 33778:case 33779:return(t+3>>2)*(e+3>>2)*16;case 35840:case 35842:return Math.floor((Math.max(t,8)*Math.max(e,8)*4+7)/8);case 35841:case 35843:return Math.floor((Math.max(t,16)*Math.max(e,8)*2+7)/8);default:return 0}},t.type="PVR",t}(h.AbstractInternalLoader);h.PVRTCLoader=e}(pixi_compressed_textures||(pixi_compressed_textures={}));var __awaiter=this&&this.__awaiter||function(t,a,s,l){return new(s||(s=Promise))(function(e,r){function i(t){try{o(l.next(t))}catch(t){r(t)}}function n(t){try{o(l.throw(t))}catch(t){r(t)}}function o(t){t.done?e(t.value):function(e){return e instanceof s?e:new s(function(t){t(e)})}(t.value).then(i,n)}o((l=l.apply(t,a||[])).next())})},__generator=this&&this.__generator||function(r,i){var n,o,a,t,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return t={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(a=2&e[0]?o.return:e[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,e[1])).done)return a;switch(o=0,a&&(e=[2&e[0],a.value]),e[0]){case 0:case 1:a=e;break;case 4:return s.label++,{value:e[1],done:!1};case 5:s.label++,o=e[1],e=[0];continue;case 7:e=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===e[0]||2===e[0])){s=0;continue}if(3===e[0]&&(!a||e[1]>a[0]&&e[1]<a[3])){s.label=e[1];break}if(6===e[0]&&s.label<a[1]){s.label=a[1],a=e;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(e);break}a[2]&&s.ops.pop(),s.trys.pop();continue}e=i.call(r,s)}catch(t){e=[6,t],o=0}finally{n=a=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}},pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures,pixi_compressed_textures;!function(l){var t,e,r=0,i=2,n=3,o=8,a=9,s=10,u=11,h=((t={})[3]=!0,t[9]=!0,t[10]=!0,t[11]=!0,t),c=((e={})[u]=-1,e[r]=36196,e[i]=33776,e[n]=33779,e[o]=35840,e[a]=35842,e[s]=37808,e),f=Object.keys(c).reduce(function(t,e){return t[c[+e]]=+e,t},{}),p=function(r){function p(t){var e=r.call(this,t)||this;return e.type="BASIS",e._file=void 0,e}return __extends(p,r),p.test=function(t){var e=1262195===new Uint32Array(t,0,1)[0]&&!!p.BASIS_BINDING,r=p.RGB_FORMAT&&p.RGBA_FORMAT;return!e&&r&&console.warn("[BASIS LOADER] Is Supported, but transcoder not binded or file is not BASIS file!"),r&&e},p.bindTranscoder=function(t,i){if(!t||!i)throw"Invalid state! undef fileCtr or ext invalid!";var e=Object.keys(i).reduce(function(t,e){var r=i[e];return r?Object.assign(t,r.__proto__):t},{}),r=void 0,n=void 0;for(var o in e){var a=e[o];if(void 0!==f[a]){var s=f[a];h[s]?n={native:a,name:o,basis:s}:r={native:a,name:o,basis:s}}}p.RGB_FORMAT=r||n,p.RGBA_FORMAT=n||r,p.BASIS_BINDING=t,console.log("[BASISLoader] Supported formats:","\nRGB:"+p.RGB_FORMAT.name+"\nRGBA:"+p.RGBA_FORMAT.name),l.RegisterCompressedLoader(p),l.RegisterCompressedExtensions("basis")},p.prototype.load=function(t){if(!p.test(t))throw"BASIS Transcoder not binded or transcoding not supported =(!";return this._loadAsync(t),this._image},p.prototype._loadAsync=function(f){return __awaiter(this,void 0,void 0,function(){var e,r,i,n,o,a,s,l,u,h,c;return __generator(this,function(t){switch(t.label){case 0:return e=performance.now(),[4,(r=new p.BASIS_BINDING(new Uint8Array(f))).getImageWidth(0,0)];case 1:return i=t.sent(),[4,r.getImageHeight(0,0)];case 2:return n=t.sent(),o=1,[4,r.getHasAlpha()];case 3:return a=t.sent(),s=this._image,[4,r.startTranscoding()];case 4:if(!t.sent())throw"Transcoding error!";return l=a?p.RGBA_FORMAT:p.RGB_FORMAT,console.log("Grats! BASIS will be transcoded to:",l),h=Uint8Array.bind,[4,r.getImageTranscodedSizeInBytes(0,0,l.basis)];case 5:return u=new(h.apply(Uint8Array,[void 0,t.sent()])),[4,r.transcodeImage(u,0,0,l.basis,!1,!1)];case 6:if(!t.sent())throw"Transcoding error!";return console.log("[BASISLoader] Totla transcoding time:",performance.now()-e),this._format=l.native,this._file=r,c=l.name.replace("COMPRESSED_",""),[2,s.init(s.src,u,"BASIS|"+c,i,n,o,l.native)]}})})},p.prototype.levelBufferSize=function(t,e,r){return this._file?this._file.getImageTranscodedSizeInBytes(0,r,f[this._format]):void 0},p.BASIS_BINDING=void 0,p}(l.AbstractInternalLoader);l.BASISLoader=p}(pixi_compressed_textures||(pixi_compressed_textures={})),function(i){var p=window.CRN_Module;var d=[33776,33778,33779],t=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.load=function(t){var e=t.byteLength,r=new Uint8Array(t),i=p._malloc(e);!function(t,e,r,i){for(var n=r/4,o=i%4,a=new Uint32Array(t.buffer,0,(i-o)/4),s=new Uint32Array(e.buffer),l=0;l<a.length;l++)s[n+l]=a[l];for(var u=i-o;u<i;u++)e[r+u]=t[u]}(r,p.HEAPU8,i,e);var n=p._crn_get_width(i,e),o=p._crn_get_height(i,e),a=p._crn_get_levels(i,e),s=p._crn_get_dxt_format(i,e),l=p._crn_get_uncompressed_size(i,e,0),u=p._malloc(l);p._crn_decompress(i,e,u,l,0);var h=new Uint8Array(p.HEAPU8.buffer,u,l),c=d[s],f=this._image;return this._format=c,this._caches=[i,u],f.init(f.src,h,"CRN",n,o,a,c)},t.prototype.levelBufferSize=function(t,e,r){return void 0===r&&(r=0),i.DDSLoader.prototype.levelBufferSize.call(this,t,e,r)},t.prototype.free=function(){p._free(this._caches[0]),p._free(this._caches[1])},t.test=function(t){return!!p},t.type="CRN",t}(i.AbstractInternalLoader);i.CRNLoader=t}(pixi_compressed_textures||(pixi_compressed_textures={})),function(i){i.Loaders=[i.DDSLoader,i.PVRTCLoader,i.ASTCLoader,i.CRNLoader],PIXI.systems.TextureSystem.prototype.initCompressed=function(){var t=this.gl;this.compressedExtensions||(this.compressedExtensions={dxt:t.getExtension("WEBGL_compressed_texture_s3tc"),pvrtc:t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),astc:t.getExtension("WEBGL_compressed_texture_astc"),atc:t.getExtension("WEBGL_compressed_texture_atc"),etc1:t.getExtension("WEBGL_compressed_texture_etc1")},this.compressedExtensions.crn=this.compressedExtensions.dxt)},i.RegisterCompressedLoader=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r in i.Loaders=i.Loaders||[],t)i.Loaders.indexOf(t[r])<0&&i.Loaders.push(t[r])},i.detectExtensions=function(t,e){var r=[];if(t instanceof PIXI.Renderer){t.texture.initCompressed();var i=t.texture.compressedExtensions;i.dxt&&r.push(".dds"),i.pvrtc&&r.push(".pvr"),i.atc&&r.push(".atc"),i.astc&&r.push(".astc"),i.etc1&&r.push(".etc1")}for(var n="@"+(e=e||t.resolution)+"x",o=r.slice(0);0<o.length;)r.push(n+o.pop());return r.push(n+".png"),r.push(n+".jpg"),r.push(n+".json"),r.push(n+".atlas"),r}}(pixi_compressed_textures||(pixi_compressed_textures={})),function(a){var i=PIXI.LoaderResource;function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r in t)a.TEXTURE_EXTENSIONS.indexOf(t[r])<0&&(a.TEXTURE_EXTENSIONS.push(t[r]),i.setExtensionXhrType(t[r],i.XHR_RESPONSE_TYPE.BUFFER))}a.TEXTURE_EXTENSIONS=[],a.RegisterCompressedExtensions=t;var e=function(){function t(){}return t.use=function(t,e){var r=t.url,i=r.lastIndexOf("."),n=r.lastIndexOf("?"),o=r.substring(i+1,0<n?n:r.length);if(a.TEXTURE_EXTENSIONS.indexOf(o)<0)e();else{if(!t.data)throw new Error("compressedImageParser middleware for PixiJS v5 must be specified in loader.use() and must have resource.data when completed");t.compressedImage||(t.compressedImage=new a.CompressedImage(t.url),t.compressedImage.loadFromArrayBuffer(t.data,"crn"===o),t.isCompressedImage=!0,t.texture=function(t,e,r){var i=new PIXI.BaseTexture(t,{scaleMode:PIXI.settings.SCALE_MODE,resolution:PIXI.utils.getResolutionOfUrl(e)}),n=new PIXI.Texture(i);r||(r=e);PIXI.BaseTexture.addToCache(n.baseTexture,r),PIXI.Texture.addToCache(n,r),r!==e&&(PIXI.BaseTexture.addToCache(n.baseTexture,e),PIXI.Texture.addToCache(n,e));return n}(t.compressedImage,t.url,t.name)),e()}},t}();a.ImageParser=e,t("dds","crn","pvr","etc1","astc"),PIXI.Loader.registerPlugin(e)}(pixi_compressed_textures||(pixi_compressed_textures={})),(pixi_compressed_textures||(pixi_compressed_textures={})).extensionChooser=function(l){return void 0===l&&(l=[]),function(t,e){var r=t.metadata.choice;if(!r)return e();var i=t.url,n=0;if(!t._defaultUrlChoice){if(!(0<=(n=(t._defaultUrlChoice=i).lastIndexOf("."))))return e();t._baseUrl=i.substring(0,n),4<=n&&"@1x"===i.substring(n-3,3)&&(t._baseUrl=i.substring(0,n))}for(var o=r.length-1;0<=o;o--){i=t._baseUrl+r[o];for(var a=0;a<l.length;a++)if(r[o]===l[a]){t.url=i;var s=r[o];return-1<s.indexOf("@")&&(s=s.replace(/@[0-9.]*x/,"")),0<=(n=s.indexOf("."))&&(s=s.substring(n+1)),t.extension=s,t.loadType=t._determineLoadType(),void e()}}e()}},function(t){var e=function(){function t(){}return t.use=function(t,e){if(t.texture&&t._defaultUrlChoice&&t._defaultUrl!==t.url){var r=t.texture,i=r.baseTexture,n=t.url,o=t._defaultUrlChoice,a=i.textureCacheIds.indexOf(n);0<=a&&(i.textureCacheIds[a]=o,delete PIXI.utils.BaseTextureCache[t.url],PIXI.utils.BaseTextureCache[o]=i),0<=(a=r.textureCacheIds.indexOf(n))&&(r.textureCacheIds[a]=o,delete PIXI.utils.TextureCache[t.url],PIXI.utils.TextureCache[o]=i)}e()},t}();t.ExtensionFixer=e}(pixi_compressed_textures||(pixi_compressed_textures={})),function(t){PIXI.compressedTextures=t}(pixi_compressed_textures||(pixi_compressed_textures={}));var __filters=function(t,n,f,p,l,s,u,h){"use strict";var r="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}",e=function(e){function t(t){e.call(this,r,"varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform float gamma;\nuniform float contrast;\nuniform float saturation;\nuniform float brightness;\nuniform float red;\nuniform float green;\nuniform float blue;\nuniform float alpha;\n\nvoid main(void)\n{\n vec4 c = texture2D(uSampler, vTextureCoord);\n\n if (c.a > 0.0) {\n c.rgb /= c.a;\n\n vec3 rgb = pow(c.rgb, vec3(1. / gamma));\n rgb = mix(vec3(.5), mix(vec3(dot(vec3(.2125, .7154, .0721), rgb)), rgb, saturation), contrast);\n rgb.r *= red;\n rgb.g *= green;\n rgb.b *= blue;\n c.rgb = rgb * brightness;\n\n c.rgb *= c.a;\n }\n\n gl_FragColor = c * alpha;\n}\n"),Object.assign(this,{gamma:1,saturation:1,contrast:1,brightness:1,red:1,green:1,blue:1,alpha:1},t)}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.gamma=Math.max(this.gamma,1e-4),this.uniforms.saturation=this.saturation,this.uniforms.contrast=this.contrast,this.uniforms.brightness=this.brightness,this.uniforms.red=this.red,this.uniforms.green=this.green,this.uniforms.blue=this.blue,this.uniforms.alpha=this.alpha,t.applyFilter(this,e,r,i)},t}(n.Filter),d=function(i){function t(t,e,r){void 0===t&&(t=4),void 0===e&&(e=3),void 0===r&&(r=!1),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}",r?"\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 uOffset;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n\n // Sample top left pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y + uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample top right pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y + uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample bottom right pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y - uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample bottom left pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y - uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Average\n color *= 0.25;\n\n gl_FragColor = color;\n}\n":"\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 uOffset;\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n\n // Sample top left pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y + uOffset.y));\n\n // Sample top right pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y + uOffset.y));\n\n // Sample bottom right pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y - uOffset.y));\n\n // Sample bottom left pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y - uOffset.y));\n\n // Average\n color *= 0.25;\n\n gl_FragColor = color;\n}"),this.uniforms.uOffset=new Float32Array(2),this._pixelSize=new f.Point,this.pixelSize=1,this._clamp=r,this._kernels=null,Array.isArray(t)?this.kernels=t:(this._blur=t,this.quality=e)}i&&(t.__proto__=i);var e={kernels:{configurable:!0},clamp:{configurable:!0},pixelSize:{configurable:!0},quality:{configurable:!0},blur:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n,o=this.pixelSize.x/e._frame.width,a=this.pixelSize.y/e._frame.height;if(1===this._quality||0===this._blur)n=this._kernels[0]+.5,this.uniforms.uOffset[0]=n*o,this.uniforms.uOffset[1]=n*a,t.applyFilter(this,e,r,i);else{for(var s,l=t.getFilterTexture(),u=e,h=l,c=this._quality-1,f=0;f<c;f++)n=this._kernels[f]+.5,this.uniforms.uOffset[0]=n*o,this.uniforms.uOffset[1]=n*a,t.applyFilter(this,u,h,!0),s=u,u=h,h=s;n=this._kernels[c]+.5,this.uniforms.uOffset[0]=n*o,this.uniforms.uOffset[1]=n*a,t.applyFilter(this,u,r,i),t.returnFilterTexture(l)}},t.prototype._generateKernels=function(){var t=this._blur,e=this._quality,r=[t];if(0<t)for(var i=t,n=t/e,o=1;o<e;o++)i-=n,r.push(i);this._kernels=r},e.kernels.get=function(){return this._kernels},e.kernels.set=function(t){Array.isArray(t)&&0<t.length?(this._kernels=t,this._quality=t.length,this._blur=Math.max.apply(Math,t)):(this._kernels=[0],this._quality=1)},e.clamp.get=function(){return this._clamp},e.pixelSize.set=function(t){"number"==typeof t?(this._pixelSize.x=t,this._pixelSize.y=t):Array.isArray(t)?(this._pixelSize.x=t[0],this._pixelSize.y=t[1]):t instanceof f.Point?(this._pixelSize.x=t.x,this._pixelSize.y=t.y):(this._pixelSize.x=1,this._pixelSize.y=1)},e.pixelSize.get=function(){return this._pixelSize},e.quality.get=function(){return this._quality},e.quality.set=function(t){this._quality=Math.max(1,Math.round(t)),this._generateKernels()},e.blur.get=function(){return this._blur},e.blur.set=function(t){this._blur=t,this._generateKernels()},Object.defineProperties(t.prototype,e),t}(n.Filter),c=r,m=function(e){function t(t){void 0===t&&(t=.5),e.call(this,c,"\nuniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform float threshold;\n\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord);\n\n // A simple & fast algorithm for getting brightness.\n // It's inaccuracy , but good enought for this feature.\n float _max = max(max(color.r, color.g), color.b);\n float _min = min(min(color.r, color.g), color.b);\n float brightness = (_max + _min) * 0.5;\n\n if(brightness > threshold) {\n gl_FragColor = color;\n } else {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);\n }\n}\n"),this.threshold=t}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={threshold:{configurable:!0}};return r.threshold.get=function(){return this.uniforms.threshold},r.threshold.set=function(t){this.uniforms.threshold=t},Object.defineProperties(t.prototype,r),t}(n.Filter),i=function(a){function t(t){a.call(this,c,"uniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D bloomTexture;\nuniform float bloomScale;\nuniform float brightness;\n\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord);\n color.rgb *= brightness;\n vec4 bloomColor = vec4(texture2D(bloomTexture, vTextureCoord).rgb, 0.0);\n bloomColor.rgb *= bloomScale;\n gl_FragColor = color + bloomColor;\n}\n"),"number"==typeof t&&(t={threshold:t}),t=Object.assign({threshold:.5,bloomScale:1,brightness:1,kernels:null,blur:8,quality:4,pixelSize:1,resolution:p.settings.RESOLUTION},t),this.bloomScale=t.bloomScale,this.brightness=t.brightness;var e=t.kernels,r=t.blur,i=t.quality,n=t.pixelSize,o=t.resolution;this._extractFilter=new m(t.threshold),this._extractFilter.resolution=o,this._blurFilter=e?new d(e):new d(r,i),this.pixelSize=n,this.resolution=o}a&&(t.__proto__=a);var e={resolution:{configurable:!0},threshold:{configurable:!0},kernels:{configurable:!0},blur:{configurable:!0},quality:{configurable:!0},pixelSize:{configurable:!0}};return((t.prototype=Object.create(a&&a.prototype)).constructor=t).prototype.apply=function(t,e,r,i,n){var o=t.getFilterTexture();this._extractFilter.apply(t,e,o,!0,n);var a=t.getFilterTexture();this._blurFilter.apply(t,o,a,!0,n),this.uniforms.bloomScale=this.bloomScale,this.uniforms.brightness=this.brightness,this.uniforms.bloomTexture=a,t.applyFilter(this,e,r,i),t.returnFilterTexture(a),t.returnFilterTexture(o)},e.resolution.get=function(){return this._resolution},e.resolution.set=function(t){this._resolution=t,this._extractFilter&&(this._extractFilter.resolution=t),this._blurFilter&&(this._blurFilter.resolution=t)},e.threshold.get=function(){return this._extractFilter.threshold},e.threshold.set=function(t){this._extractFilter.threshold=t},e.kernels.get=function(){return this._blurFilter.kernels},e.kernels.set=function(t){this._blurFilter.kernels=t},e.blur.get=function(){return this._blurFilter.blur},e.blur.set=function(t){this._blurFilter.blur=t},e.quality.get=function(){return this._blurFilter.quality},e.quality.set=function(t){this._blurFilter.quality=t},e.pixelSize.get=function(){return this._blurFilter.pixelSize},e.pixelSize.set=function(t){this._blurFilter.pixelSize=t},Object.defineProperties(t.prototype,e),t}(n.Filter),o=function(e){function t(t){void 0===t&&(t=8),e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform vec4 filterArea;\nuniform float pixelSize;\nuniform sampler2D uSampler;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 pixelate(vec2 coord, vec2 size)\n{\n return floor( coord / size ) * size;\n}\n\nvec2 getMod(vec2 coord, vec2 size)\n{\n return mod( coord , size) / size;\n}\n\nfloat character(float n, vec2 p)\n{\n p = floor(p*vec2(4.0, -4.0) + 2.5);\n\n if (clamp(p.x, 0.0, 4.0) == p.x)\n {\n if (clamp(p.y, 0.0, 4.0) == p.y)\n {\n if (int(mod(n/exp2(p.x + 5.0*p.y), 2.0)) == 1) return 1.0;\n }\n }\n return 0.0;\n}\n\nvoid main()\n{\n vec2 coord = mapCoord(vTextureCoord);\n\n // get the rounded color..\n vec2 pixCoord = pixelate(coord, vec2(pixelSize));\n pixCoord = unmapCoord(pixCoord);\n\n vec4 color = texture2D(uSampler, pixCoord);\n\n // determine the character to use\n float gray = (color.r + color.g + color.b) / 3.0;\n\n float n = 65536.0; // .\n if (gray > 0.2) n = 65600.0; // :\n if (gray > 0.3) n = 332772.0; // *\n if (gray > 0.4) n = 15255086.0; // o\n if (gray > 0.5) n = 23385164.0; // &\n if (gray > 0.6) n = 15252014.0; // 8\n if (gray > 0.7) n = 13199452.0; // @\n if (gray > 0.8) n = 11512810.0; // #\n\n // get the mod..\n vec2 modd = getMod(coord, vec2(pixelSize));\n\n gl_FragColor = color * character( n, vec2(-1.0) + modd * 2.0);\n\n}\n"),this.size=t}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={size:{configurable:!0}};return r.size.get=function(){return this.uniforms.pixelSize},r.size.set=function(t){this.uniforms.pixelSize=t},Object.defineProperties(t.prototype,r),t}(n.Filter),a=function(e){function t(t){void 0===t&&(t={}),e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform float transformX;\nuniform float transformY;\nuniform vec3 lightColor;\nuniform float lightAlpha;\nuniform vec3 shadowColor;\nuniform float shadowAlpha;\n\nvoid main(void) {\n vec2 transform = vec2(1.0 / filterArea) * vec2(transformX, transformY);\n vec4 color = texture2D(uSampler, vTextureCoord);\n float light = texture2D(uSampler, vTextureCoord - transform).a;\n float shadow = texture2D(uSampler, vTextureCoord + transform).a;\n\n color.rgb = mix(color.rgb, lightColor, clamp((color.a - light) * lightAlpha, 0.0, 1.0));\n color.rgb = mix(color.rgb, shadowColor, clamp((color.a - shadow) * shadowAlpha, 0.0, 1.0));\n gl_FragColor = vec4(color.rgb * color.a, color.a);\n}\n"),this.uniforms.lightColor=new Float32Array(3),this.uniforms.shadowColor=new Float32Array(3),t=Object.assign({rotation:45,thickness:2,lightColor:16777215,lightAlpha:.7,shadowColor:0,shadowAlpha:.7},t),this.rotation=t.rotation,this.thickness=t.thickness,this.lightColor=t.lightColor,this.lightAlpha=t.lightAlpha,this.shadowColor=t.shadowColor,this.shadowAlpha=t.shadowAlpha}e&&(t.__proto__=e);var r={rotation:{configurable:!0},thickness:{configurable:!0},lightColor:{configurable:!0},lightAlpha:{configurable:!0},shadowColor:{configurable:!0},shadowAlpha:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype._updateTransform=function(){this.uniforms.transformX=this._thickness*Math.cos(this._angle),this.uniforms.transformY=this._thickness*Math.sin(this._angle)},r.rotation.get=function(){return this._angle/f.DEG_TO_RAD},r.rotation.set=function(t){this._angle=t*f.DEG_TO_RAD,this._updateTransform()},r.thickness.get=function(){return this._thickness},r.thickness.set=function(t){this._thickness=t,this._updateTransform()},r.lightColor.get=function(){return l.rgb2hex(this.uniforms.lightColor)},r.lightColor.set=function(t){l.hex2rgb(t,this.uniforms.lightColor)},r.lightAlpha.get=function(){return this.uniforms.lightAlpha},r.lightAlpha.set=function(t){this.uniforms.lightAlpha=t},r.shadowColor.get=function(){return l.rgb2hex(this.uniforms.shadowColor)},r.shadowColor.set=function(t){l.hex2rgb(t,this.uniforms.shadowColor)},r.shadowAlpha.get=function(){return this.uniforms.shadowAlpha},r.shadowAlpha.set=function(t){this.uniforms.shadowAlpha=t},Object.defineProperties(t.prototype,r),t}(n.Filter),g=function(a){function t(t,e,r,i){var n,o;void 0===t&&(t=2),void 0===e&&(e=4),void 0===r&&(r=p.settings.RESOLUTION),void 0===i&&(i=5),a.call(this),"number"==typeof t?o=n=t:t instanceof f.Point?(n=t.x,o=t.y):Array.isArray(t)&&(n=t[0],o=t[1]),this.blurXFilter=new h.BlurFilterPass(!0,n,e,r,i),this.blurYFilter=new h.BlurFilterPass(!1,o,e,r,i),this.blurYFilter.blendMode=s.BLEND_MODES.SCREEN,this.defaultFilter=new u.AlphaFilter}a&&(t.__proto__=a);var e={blur:{configurable:!0},blurX:{configurable:!0},blurY:{configurable:!0}};return((t.prototype=Object.create(a&&a.prototype)).constructor=t).prototype.apply=function(t,e,r){var i=t.getFilterTexture(!0);this.defaultFilter.apply(t,e,r),this.blurXFilter.apply(t,e,i),this.blurYFilter.apply(t,i,r),t.returnFilterTexture(i)},e.blur.get=function(){return this.blurXFilter.blur},e.blur.set=function(t){this.blurXFilter.blur=this.blurYFilter.blur=t},e.blurX.get=function(){return this.blurXFilter.blur},e.blurX.set=function(t){this.blurXFilter.blur=t},e.blurY.get=function(){return this.blurYFilter.blur},e.blurY.set=function(t){this.blurYFilter.blur=t},Object.defineProperties(t.prototype,e),t}(n.Filter),v=function(i){function t(t,e,r){i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","uniform float radius;\nuniform float strength;\nuniform vec2 center;\nuniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\n\nvoid main()\n{\n vec2 coord = vTextureCoord * filterArea.xy;\n coord -= center * dimensions.xy;\n float distance = length(coord);\n if (distance < radius) {\n float percent = distance / radius;\n if (strength > 0.0) {\n coord *= mix(1.0, smoothstep(0.0, radius / distance, percent), strength * 0.75);\n } else {\n coord *= mix(1.0, pow(percent, 1.0 + strength * 0.75) * radius / distance, 1.0 - percent);\n }\n }\n coord += center * dimensions.xy;\n coord /= filterArea.xy;\n vec2 clampedCoord = clamp(coord, filterClamp.xy, filterClamp.zw);\n vec4 color = texture2D(uSampler, clampedCoord);\n if (coord != clampedCoord) {\n color *= max(0.0, 1.0 - length(coord - clampedCoord));\n }\n\n gl_FragColor = color;\n}\n"),this.uniforms.dimensions=new Float32Array(2),this.center=t||[.5,.5],this.radius="number"==typeof e?e:100,this.strength="number"==typeof r?r:1}i&&(t.__proto__=i);var e={radius:{configurable:!0},strength:{configurable:!0},center:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.dimensions[0]=e.filterFrame.width,this.uniforms.dimensions[1]=e.filterFrame.height,t.applyFilter(this,e,r,i)},e.radius.get=function(){return this.uniforms.radius},e.radius.set=function(t){this.uniforms.radius=t},e.strength.get=function(){return this.uniforms.strength},e.strength.set=function(t){this.uniforms.strength=t},e.center.get=function(){return this.uniforms.center},e.center.set=function(t){this.uniforms.center=t},Object.defineProperties(t.prototype,e),t}(n.Filter),_=function(i){function t(t,e,r){void 0===e&&(e=!1),void 0===r&&(r=1),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform sampler2D colorMap;\nuniform float _mix;\nuniform float _size;\nuniform float _sliceSize;\nuniform float _slicePixelSize;\nuniform float _sliceInnerSize;\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord.xy);\n\n vec4 adjusted;\n if (color.a > 0.0) {\n color.rgb /= color.a;\n float innerWidth = _size - 1.0;\n float zSlice0 = min(floor(color.b * innerWidth), innerWidth);\n float zSlice1 = min(zSlice0 + 1.0, innerWidth);\n float xOffset = _slicePixelSize * 0.5 + color.r * _sliceInnerSize;\n float s0 = xOffset + (zSlice0 * _sliceSize);\n float s1 = xOffset + (zSlice1 * _sliceSize);\n float yOffset = _sliceSize * 0.5 + color.g * (1.0 - _sliceSize);\n vec4 slice0Color = texture2D(colorMap, vec2(s0,yOffset));\n vec4 slice1Color = texture2D(colorMap, vec2(s1,yOffset));\n float zOffset = fract(color.b * innerWidth);\n adjusted = mix(slice0Color, slice1Color, zOffset);\n\n color.rgb *= color.a;\n }\n gl_FragColor = vec4(mix(color, adjusted, _mix).rgb, color.a);\n\n}"),this._size=0,this._sliceSize=0,this._slicePixelSize=0,this._sliceInnerSize=0,this._scaleMode=null,this._nearest=!1,this.nearest=e,this.mix=r,this.colorMap=t}i&&(t.__proto__=i);var e={colorSize:{configurable:!0},colorMap:{configurable:!0},nearest:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms._mix=this.mix,t.applyFilter(this,e,r,i)},e.colorSize.get=function(){return this._size},e.colorMap.get=function(){return this._colorMap},e.colorMap.set=function(t){t instanceof n.Texture||(t=n.Texture.from(t)),t&&t.baseTexture&&(t.baseTexture.scaleMode=this._scaleMode,t.baseTexture.mipmap=!1,this._size=t.height,this._sliceSize=1/this._size,this._slicePixelSize=this._sliceSize/this._size,this._sliceInnerSize=this._slicePixelSize*(this._size-1),this.uniforms._size=this._size,this.uniforms._sliceSize=this._sliceSize,this.uniforms._slicePixelSize=this._slicePixelSize,this.uniforms._sliceInnerSize=this._sliceInnerSize,this.uniforms.colorMap=t),this._colorMap=t},e.nearest.get=function(){return this._nearest},e.nearest.set=function(t){this._nearest=t,this._scaleMode=t?s.SCALE_MODES.NEAREST:s.SCALE_MODES.LINEAR;var e=this._colorMap;e&&e.baseTexture&&(e.baseTexture._glTextures={},e.baseTexture.scaleMode=this._scaleMode,e.baseTexture.mipmap=!1,e._updateID++,e.baseTexture.emit("update",e.baseTexture))},t.prototype.updateColorMap=function(){var t=this._colorMap;t&&t.baseTexture&&(t._updateID++,t.baseTexture.emit("update",t.baseTexture),this.colorMap=t)},t.prototype.destroy=function(t){this._colorMap&&this._colorMap.destroy(t),i.prototype.destroy.call(this)},Object.defineProperties(t.prototype,e),t}(n.Filter),y=function(i){function t(t,e,r){void 0===t&&(t=16711680),void 0===e&&(e=0),void 0===r&&(r=.4),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec3 originalColor;\nuniform vec3 newColor;\nuniform float epsilon;\nvoid main(void) {\n vec4 currentColor = texture2D(uSampler, vTextureCoord);\n vec3 colorDiff = originalColor - (currentColor.rgb / max(currentColor.a, 0.0000000001));\n float colorDistance = length(colorDiff);\n float doReplace = step(colorDistance, epsilon);\n gl_FragColor = vec4(mix(currentColor.rgb, (newColor + colorDiff) * currentColor.a, doReplace), currentColor.a);\n}\n"),this.uniforms.originalColor=new Float32Array(3),this.uniforms.newColor=new Float32Array(3),this.originalColor=t,this.newColor=e,this.epsilon=r}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={originalColor:{configurable:!0},newColor:{configurable:!0},epsilon:{configurable:!0}};return e.originalColor.set=function(t){var e=this.uniforms.originalColor;"number"==typeof t?(l.hex2rgb(t,e),this._originalColor=t):(e[0]=t[0],e[1]=t[1],e[2]=t[2],this._originalColor=l.rgb2hex(e))},e.originalColor.get=function(){return this._originalColor},e.newColor.set=function(t){var e=this.uniforms.newColor;"number"==typeof t?(l.hex2rgb(t,e),this._newColor=t):(e[0]=t[0],e[1]=t[1],e[2]=t[2],this._newColor=l.rgb2hex(e))},e.newColor.get=function(){return this._newColor},e.epsilon.set=function(t){this.uniforms.epsilon=t},e.epsilon.get=function(){return this.uniforms.epsilon},Object.defineProperties(t.prototype,e),t}(n.Filter),b=function(i){function t(t,e,r){void 0===e&&(e=200),void 0===r&&(r=200),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying mediump vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec2 texelSize;\nuniform float matrix[9];\n\nvoid main(void)\n{\n vec4 c11 = texture2D(uSampler, vTextureCoord - texelSize); // top left\n vec4 c12 = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - texelSize.y)); // top center\n vec4 c13 = texture2D(uSampler, vec2(vTextureCoord.x + texelSize.x, vTextureCoord.y - texelSize.y)); // top right\n\n vec4 c21 = texture2D(uSampler, vec2(vTextureCoord.x - texelSize.x, vTextureCoord.y)); // mid left\n vec4 c22 = texture2D(uSampler, vTextureCoord); // mid center\n vec4 c23 = texture2D(uSampler, vec2(vTextureCoord.x + texelSize.x, vTextureCoord.y)); // mid right\n\n vec4 c31 = texture2D(uSampler, vec2(vTextureCoord.x - texelSize.x, vTextureCoord.y + texelSize.y)); // bottom left\n vec4 c32 = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + texelSize.y)); // bottom center\n vec4 c33 = texture2D(uSampler, vTextureCoord + texelSize); // bottom right\n\n gl_FragColor =\n c11 * matrix[0] + c12 * matrix[1] + c13 * matrix[2] +\n c21 * matrix[3] + c22 * matrix[4] + c23 * matrix[5] +\n c31 * matrix[6] + c32 * matrix[7] + c33 * matrix[8];\n\n gl_FragColor.a = c22.a;\n}\n"),this.uniforms.texelSize=new Float32Array(2),this.uniforms.matrix=new Float32Array(9),void 0!==t&&(this.matrix=t),this.width=e,this.height=r}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={matrix:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return e.matrix.get=function(){return this.uniforms.matrix},e.matrix.set=function(t){var r=this;t.forEach(function(t,e){return r.uniforms.matrix[e]=t})},e.width.get=function(){return 1/this.uniforms.texelSize[0]},e.width.set=function(t){this.uniforms.texelSize[0]=1/t},e.height.get=function(){return 1/this.uniforms.texelSize[1]},e.height.set=function(t){this.uniforms.texelSize[1]=1/t},Object.defineProperties(t.prototype,e),t}(n.Filter),x=function(t){function e(){t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n float lum = length(texture2D(uSampler, vTextureCoord.xy).rgb);\n\n gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);\n\n if (lum < 1.00)\n {\n if (mod(gl_FragCoord.x + gl_FragCoord.y, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.75)\n {\n if (mod(gl_FragCoord.x - gl_FragCoord.y, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.50)\n {\n if (mod(gl_FragCoord.x + gl_FragCoord.y - 5.0, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.3)\n {\n if (mod(gl_FragCoord.x - gl_FragCoord.y - 5.0, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n}\n")}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e}(n.Filter),w=function(e){function t(t){e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec2 dimensions;\n\nconst float SQRT_2 = 1.414213;\n\nconst float light = 1.0;\n\nuniform float curvature;\nuniform float lineWidth;\nuniform float lineContrast;\nuniform bool verticalLine;\nuniform float noise;\nuniform float noiseSize;\n\nuniform float vignetting;\nuniform float vignettingAlpha;\nuniform float vignettingBlur;\n\nuniform float seed;\nuniform float time;\n\nfloat rand(vec2 co) {\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main(void)\n{\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n vec2 coord = pixelCoord / dimensions;\n\n vec2 dir = vec2(coord - vec2(0.5, 0.5));\n\n float _c = curvature > 0. ? curvature : 1.;\n float k = curvature > 0. ?(length(dir * dir) * 0.25 * _c * _c + 0.935 * _c) : 1.;\n vec2 uv = dir * k;\n\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n vec3 rgb = gl_FragColor.rgb;\n\n\n if (noise > 0.0 && noiseSize > 0.0)\n {\n pixelCoord.x = floor(pixelCoord.x / noiseSize);\n pixelCoord.y = floor(pixelCoord.y / noiseSize);\n float _noise = rand(pixelCoord * noiseSize * seed) - 0.5;\n rgb += _noise * noise;\n }\n\n if (lineWidth > 0.0) {\n float v = (verticalLine ? uv.x * dimensions.x : uv.y * dimensions.y) * min(1.0, 2.0 / lineWidth ) / _c;\n float j = 1. + cos(v * 1.2 - time) * 0.5 * lineContrast;\n rgb *= j;\n float segment = verticalLine ? mod((dir.x + .5) * dimensions.x, 4.) : mod((dir.y + .5) * dimensions.y, 4.);\n rgb *= 0.99 + ceil(segment) * 0.015;\n }\n\n if (vignetting > 0.0)\n {\n float outter = SQRT_2 - vignetting * SQRT_2;\n float darker = clamp((outter - length(dir) * SQRT_2) / ( 0.00001 + vignettingBlur * SQRT_2), 0.0, 1.0);\n rgb *= darker + (1.0 - darker) * (1.0 - vignettingAlpha);\n }\n\n gl_FragColor.rgb = rgb;\n}\n"),this.uniforms.dimensions=new Float32Array(2),this.time=0,this.seed=0,Object.assign(this,{curvature:1,lineWidth:1,lineContrast:.25,verticalLine:!1,noise:0,noiseSize:1,seed:0,vignetting:.3,vignettingAlpha:1,vignettingBlur:.3,time:0},t)}e&&(t.__proto__=e);var r={curvature:{configurable:!0},lineWidth:{configurable:!0},lineContrast:{configurable:!0},verticalLine:{configurable:!0},noise:{configurable:!0},noiseSize:{configurable:!0},vignetting:{configurable:!0},vignettingAlpha:{configurable:!0},vignettingBlur:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.dimensions[0]=e.filterFrame.width,this.uniforms.dimensions[1]=e.filterFrame.height,this.uniforms.seed=this.seed,this.uniforms.time=this.time,t.applyFilter(this,e,r,i)},r.curvature.set=function(t){this.uniforms.curvature=t},r.curvature.get=function(){return this.uniforms.curvature},r.lineWidth.set=function(t){this.uniforms.lineWidth=t},r.lineWidth.get=function(){return this.uniforms.lineWidth},r.lineContrast.set=function(t){this.uniforms.lineContrast=t},r.lineContrast.get=function(){return this.uniforms.lineContrast},r.verticalLine.set=function(t){this.uniforms.verticalLine=t},r.verticalLine.get=function(){return this.uniforms.verticalLine},r.noise.set=function(t){this.uniforms.noise=t},r.noise.get=function(){return this.uniforms.noise},r.noiseSize.set=function(t){this.uniforms.noiseSize=t},r.noiseSize.get=function(){return this.uniforms.noiseSize},r.vignetting.set=function(t){this.uniforms.vignetting=t},r.vignetting.get=function(){return this.uniforms.vignetting},r.vignettingAlpha.set=function(t){this.uniforms.vignettingAlpha=t},r.vignettingAlpha.get=function(){return this.uniforms.vignettingAlpha},r.vignettingBlur.set=function(t){this.uniforms.vignettingBlur=t},r.vignettingBlur.get=function(){return this.uniforms.vignettingBlur},Object.defineProperties(t.prototype,r),t}(n.Filter),T=function(r){function t(t,e){void 0===t&&(t=1),void 0===e&&(e=5),r.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform vec4 filterArea;\nuniform sampler2D uSampler;\n\nuniform float angle;\nuniform float scale;\n\nfloat pattern()\n{\n float s = sin(angle), c = cos(angle);\n vec2 tex = vTextureCoord * filterArea.xy;\n vec2 point = vec2(\n c * tex.x - s * tex.y,\n s * tex.x + c * tex.y\n ) * scale;\n return (sin(point.x) * sin(point.y)) * 4.0;\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float average = (color.r + color.g + color.b) / 3.0;\n gl_FragColor = vec4(vec3(average * 10.0 - 5.0 + pattern()), color.a);\n}\n"),this.scale=t,this.angle=e}r&&(t.__proto__=r),(t.prototype=Object.create(r&&r.prototype)).constructor=t;var e={scale:{configurable:!0},angle:{configurable:!0}};return e.scale.get=function(){return this.uniforms.scale},e.scale.set=function(t){this.uniforms.scale=t},e.angle.get=function(){return this.uniforms.angle},e.angle.set=function(t){this.uniforms.angle=t},Object.defineProperties(t.prototype,e),t}(n.Filter),k=function(c){function t(t){t&&t.constructor!==Object&&(console.warn("DropShadowFilter now uses options instead of (rotation, distance, blur, color, alpha)"),t={rotation:t},void 0!==arguments[1]&&(t.distance=arguments[1]),void 0!==arguments[2]&&(t.blur=arguments[2]),void 0!==arguments[3]&&(t.color=arguments[3]),void 0!==arguments[4]&&(t.alpha=arguments[4])),t=Object.assign({rotation:45,distance:5,color:0,alpha:.5,shadowOnly:!1,kernels:null,blur:2,quality:3,pixelSize:1,resolution:p.settings.RESOLUTION},t),c.call(this);var e=t.kernels,r=t.blur,i=t.quality,n=t.pixelSize,o=t.resolution;this._tintFilter=new c("attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float alpha;\nuniform vec3 color;\n\nuniform vec2 shift;\nuniform vec4 inputSize;\n\nvoid main(void){\n vec4 sample = texture2D(uSampler, vTextureCoord - shift * inputSize.zw);\n\n // Un-premultiply alpha before applying the color\n if (sample.a > 0.0) {\n sample.rgb /= sample.a;\n }\n\n // Premultiply alpha again\n sample.rgb = color.rgb * sample.a;\n\n // alpha user alpha\n sample *= alpha;\n\n gl_FragColor = sample;\n}"),this._tintFilter.uniforms.color=new Float32Array(4),this._tintFilter.uniforms.shift=new f.Point,this._tintFilter.resolution=o,this._blurFilter=e?new d(e):new d(r,i),this.pixelSize=n,this.resolution=o;var a=t.shadowOnly,s=t.rotation,l=t.distance,u=t.alpha,h=t.color;this.shadowOnly=a,this.rotation=s,this.distance=l,this.alpha=u,this.color=h,this._updatePadding()}c&&(t.__proto__=c);var e={resolution:{configurable:!0},distance:{configurable:!0},rotation:{configurable:!0},alpha:{configurable:!0},color:{configurable:!0},kernels:{configurable:!0},blur:{configurable:!0},quality:{configurable:!0},pixelSize:{configurable:!0}};return((t.prototype=Object.create(c&&c.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=t.getFilterTexture();this._tintFilter.apply(t,e,n,!0),this._blurFilter.apply(t,n,r,i),!0!==this.shadowOnly&&t.applyFilter(this,e,r,!1),t.returnFilterTexture(n)},t.prototype._updatePadding=function(){this.padding=this.distance+2*this.blur},t.prototype._updateShift=function(){this._tintFilter.uniforms.shift.set(this.distance*Math.cos(this.angle),this.distance*Math.sin(this.angle))},e.resolution.get=function(){return this._resolution},e.resolution.set=function(t){this._resolution=t,this._tintFilter&&(this._tintFilter.resolution=t),this._blurFilter&&(this._blurFilter.resolution=t)},e.distance.get=function(){return this._distance},e.distance.set=function(t){this._distance=t,this._updatePadding(),this._updateShift()},e.rotation.get=function(){return this.angle/f.DEG_TO_RAD},e.rotation.set=function(t){this.angle=t*f.DEG_TO_RAD,this._updateShift()},e.alpha.get=function(){return this._tintFilter.uniforms.alpha},e.alpha.set=function(t){this._tintFilter.uniforms.alpha=t},e.color.get=function(){return l.rgb2hex(this._tintFilter.uniforms.color)},e.color.set=function(t){l.hex2rgb(t,this._tintFilter.uniforms.color)},e.kernels.get=function(){return this._blurFilter.kernels},e.kernels.set=function(t){this._blurFilter.kernels=t},e.blur.get=function(){return this._blurFilter.blur},e.blur.set=function(t){this._blurFilter.blur=t,this._updatePadding()},e.quality.get=function(){return this._blurFilter.quality},e.quality.set=function(t){this._blurFilter.quality=t},e.pixelSize.get=function(){return this._blurFilter.pixelSize},e.pixelSize.set=function(t){this._blurFilter.pixelSize=t},Object.defineProperties(t.prototype,e),t}(n.Filter),S=function(e){function t(t){void 0===t&&(t=5),e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float strength;\nuniform vec4 filterArea;\n\n\nvoid main(void)\n{\n\tvec2 onePixel = vec2(1.0 / filterArea);\n\n\tvec4 color;\n\n\tcolor.rgb = vec3(0.5);\n\n\tcolor -= texture2D(uSampler, vTextureCoord - onePixel) * strength;\n\tcolor += texture2D(uSampler, vTextureCoord + onePixel) * strength;\n\n\tcolor.rgb = vec3((color.r + color.g + color.b) / 3.0);\n\n\tfloat alpha = texture2D(uSampler, vTextureCoord).a;\n\n\tgl_FragColor = vec4(color.rgb * alpha, alpha);\n}\n"),this.strength=t}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={strength:{configurable:!0}};return r.strength.get=function(){return this.uniforms.strength},r.strength.set=function(t){this.uniforms.strength=t},Object.defineProperties(t.prototype,r),t}(n.Filter),P=function(e){function t(t){void 0===t&&(t={}),e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","// precision highp float;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\nuniform float aspect;\n\nuniform sampler2D displacementMap;\nuniform float offset;\nuniform float sinDir;\nuniform float cosDir;\nuniform int fillMode;\n\nuniform float seed;\nuniform vec2 red;\nuniform vec2 green;\nuniform vec2 blue;\n\nconst int TRANSPARENT = 0;\nconst int ORIGINAL = 1;\nconst int LOOP = 2;\nconst int CLAMP = 3;\nconst int MIRROR = 4;\n\nvoid main(void)\n{\n vec2 coord = (vTextureCoord * filterArea.xy) / dimensions;\n\n if (coord.x > 1.0 || coord.y > 1.0) {\n return;\n }\n\n float cx = coord.x - 0.5;\n float cy = (coord.y - 0.5) * aspect;\n float ny = (-sinDir * cx + cosDir * cy) / aspect + 0.5;\n\n // displacementMap: repeat\n // ny = ny > 1.0 ? ny - 1.0 : (ny < 0.0 ? 1.0 + ny : ny);\n\n // displacementMap: mirror\n ny = ny > 1.0 ? 2.0 - ny : (ny < 0.0 ? -ny : ny);\n\n vec4 dc = texture2D(displacementMap, vec2(0.5, ny));\n\n float displacement = (dc.r - dc.g) * (offset / filterArea.x);\n\n coord = vTextureCoord + vec2(cosDir * displacement, sinDir * displacement * aspect);\n\n if (fillMode == CLAMP) {\n coord = clamp(coord, filterClamp.xy, filterClamp.zw);\n } else {\n if( coord.x > filterClamp.z ) {\n if (fillMode == TRANSPARENT) {\n discard;\n } else if (fillMode == LOOP) {\n coord.x -= filterClamp.z;\n } else if (fillMode == MIRROR) {\n coord.x = filterClamp.z * 2.0 - coord.x;\n }\n } else if( coord.x < filterClamp.x ) {\n if (fillMode == TRANSPARENT) {\n discard;\n } else if (fillMode == LOOP) {\n coord.x += filterClamp.z;\n } else if (fillMode == MIRROR) {\n coord.x *= -filterClamp.z;\n }\n }\n\n if( coord.y > filterClamp.w ) {\n if (fillMode == TRANSPARENT) {\n discard;\n } else if (fillMode == LOOP) {\n coord.y -= filterClamp.w;\n } else if (fillMode == MIRROR) {\n coord.y = filterClamp.w * 2.0 - coord.y;\n }\n } else if( coord.y < filterClamp.y ) {\n if (fillMode == TRANSPARENT) {\n discard;\n } else if (fillMode == LOOP) {\n coord.y += filterClamp.w;\n } else if (fillMode == MIRROR) {\n coord.y *= -filterClamp.w;\n }\n }\n }\n\n gl_FragColor.r = texture2D(uSampler, coord + red * (1.0 - seed * 0.4) / filterArea.xy).r;\n gl_FragColor.g = texture2D(uSampler, coord + green * (1.0 - seed * 0.3) / filterArea.xy).g;\n gl_FragColor.b = texture2D(uSampler, coord + blue * (1.0 - seed * 0.2) / filterArea.xy).b;\n gl_FragColor.a = texture2D(uSampler, coord).a;\n}\n"),this.uniforms.dimensions=new Float32Array(2),t=Object.assign({slices:5,offset:100,direction:0,fillMode:0,average:!1,seed:0,red:[0,0],green:[0,0],blue:[0,0],minSize:8,sampleSize:512},t),this.direction=t.direction,this.red=t.red,this.green=t.green,this.blue=t.blue,this.offset=t.offset,this.fillMode=t.fillMode,this.average=t.average,this.seed=t.seed,this.minSize=t.minSize,this.sampleSize=t.sampleSize,this._canvas=document.createElement("canvas"),this._canvas.width=4,this._canvas.height=this.sampleSize,this.texture=n.Texture.from(this._canvas,{scaleMode:s.SCALE_MODES.NEAREST}),this._slices=0,this.slices=t.slices}e&&(t.__proto__=e);var r={sizes:{configurable:!0},offsets:{configurable:!0},slices:{configurable:!0},direction:{configurable:!0},red:{configurable:!0},green:{configurable:!0},blue:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=e.filterFrame.width,o=e.filterFrame.height;this.uniforms.dimensions[0]=n,this.uniforms.dimensions[1]=o,this.uniforms.aspect=o/n,this.uniforms.seed=this.seed,this.uniforms.offset=this.offset,this.uniforms.fillMode=this.fillMode,t.applyFilter(this,e,r,i)},t.prototype._randomizeSizes=function(){var t=this._sizes,e=this._slices-1,r=this.sampleSize,i=Math.min(this.minSize/r,.9/this._slices);if(this.average){for(var n=this._slices,o=1,a=0;a<e;a++){var s=o/(n-a),l=Math.max(s*(1-.6*Math.random()),i);o-=t[a]=l}t[e]=o}else{for(var u=1,h=Math.sqrt(1/this._slices),c=0;c<e;c++){var f=Math.max(h*u*Math.random(),i);u-=t[c]=f}t[e]=u}this.shuffle()},t.prototype.shuffle=function(){for(var t=this._sizes,e=this._slices-1;0<e;e--){var r=Math.random()*e>>0,i=t[e];t[e]=t[r],t[r]=i}},t.prototype._randomizeOffsets=function(){for(var t=0;t<this._slices;t++)this._offsets[t]=Math.random()*(Math.random()<.5?-1:1)},t.prototype.refresh=function(){this._randomizeSizes(),this._randomizeOffsets(),this.redraw()},t.prototype.redraw=function(){var t,e=this.sampleSize,r=this.texture,i=this._canvas.getContext("2d");i.clearRect(0,0,8,e);for(var n=0,o=0;o<this._slices;o++){t=Math.floor(256*this._offsets[o]);var a=this._sizes[o]*e,s=0<t?t:0,l=t<0?-t:0;i.fillStyle="rgba("+s+", "+l+", 0, 1)",i.fillRect(0,n>>0,e,1+a>>0),n+=a}r.baseTexture.update(),this.uniforms.displacementMap=r},r.sizes.set=function(t){for(var e=Math.min(this._slices,t.length),r=0;r<e;r++)this._sizes[r]=t[r]},r.sizes.get=function(){return this._sizes},r.offsets.set=function(t){for(var e=Math.min(this._slices,t.length),r=0;r<e;r++)this._offsets[r]=t[r]},r.offsets.get=function(){return this._offsets},r.slices.get=function(){return this._slices},r.slices.set=function(t){this._slices!==t&&(this._slices=t,this.uniforms.slices=t,this._sizes=this.uniforms.slicesWidth=new Float32Array(t),this._offsets=this.uniforms.slicesOffset=new Float32Array(t),this.refresh())},r.direction.get=function(){return this._direction},r.direction.set=function(t){if(this._direction!==t){var e=(this._direction=t)*f.DEG_TO_RAD;this.uniforms.sinDir=Math.sin(e),this.uniforms.cosDir=Math.cos(e)}},r.red.get=function(){return this.uniforms.red},r.red.set=function(t){this.uniforms.red=t},r.green.get=function(){return this.uniforms.green},r.green.set=function(t){this.uniforms.green=t},r.blue.get=function(){return this.uniforms.blue},r.blue.set=function(t){this.uniforms.blue=t},t.prototype.destroy=function(){this.texture.destroy(!0),this.texture=null,this._canvas=null,this.red=null,this.green=null,this.blue=null,this._sizes=null,this._offsets=null},Object.defineProperties(t.prototype,r),t}(n.Filter);P.TRANSPARENT=0,P.ORIGINAL=1,P.LOOP=2,P.CLAMP=3,P.MIRROR=4;var C=function(o){function t(t,e,r,i,n){void 0===t&&(t=10),void 0===e&&(e=4),void 0===r&&(r=0),void 0===i&&(i=16777215),void 0===n&&(n=.1),o.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform sampler2D uSampler;\n\nuniform float distance;\nuniform float outerStrength;\nuniform float innerStrength;\nuniform vec4 glowColor;\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nconst float PI = 3.14159265358979323846264;\n\nvoid main(void) {\n vec2 px = vec2(1.0 / filterArea.x, 1.0 / filterArea.y);\n vec4 ownColor = texture2D(uSampler, vTextureCoord);\n vec4 curColor;\n float totalAlpha = 0.0;\n float maxTotalAlpha = 0.0;\n float cosAngle;\n float sinAngle;\n vec2 displaced;\n for (float angle = 0.0; angle <= PI * 2.0; angle += %QUALITY_DIST%) {\n cosAngle = cos(angle);\n sinAngle = sin(angle);\n for (float curDistance = 1.0; curDistance <= %DIST%; curDistance++) {\n displaced.x = vTextureCoord.x + cosAngle * curDistance * px.x;\n displaced.y = vTextureCoord.y + sinAngle * curDistance * px.y;\n curColor = texture2D(uSampler, clamp(displaced, filterClamp.xy, filterClamp.zw));\n totalAlpha += (distance - curDistance) * curColor.a;\n maxTotalAlpha += (distance - curDistance);\n }\n }\n maxTotalAlpha = max(maxTotalAlpha, 0.0001);\n\n ownColor.a = max(ownColor.a, 0.0001);\n ownColor.rgb = ownColor.rgb / ownColor.a;\n float outerGlowAlpha = (totalAlpha / maxTotalAlpha) * outerStrength * (1. - ownColor.a);\n float innerGlowAlpha = ((maxTotalAlpha - totalAlpha) / maxTotalAlpha) * innerStrength * ownColor.a;\n float resultAlpha = (ownColor.a + outerGlowAlpha);\n gl_FragColor = vec4(mix(mix(ownColor.rgb, glowColor.rgb, innerGlowAlpha / ownColor.a), glowColor.rgb, outerGlowAlpha / resultAlpha) * resultAlpha, resultAlpha);\n}\n".replace(/%QUALITY_DIST%/gi,""+(1/n/t).toFixed(7)).replace(/%DIST%/gi,""+t.toFixed(7))),this.uniforms.glowColor=new Float32Array([0,0,0,1]),this.distance=t,this.color=i,this.outerStrength=e,this.innerStrength=r}o&&(t.__proto__=o),(t.prototype=Object.create(o&&o.prototype)).constructor=t;var e={color:{configurable:!0},distance:{configurable:!0},outerStrength:{configurable:!0},innerStrength:{configurable:!0}};return e.color.get=function(){return l.rgb2hex(this.uniforms.glowColor)},e.color.set=function(t){l.hex2rgb(t,this.uniforms.glowColor)},e.distance.get=function(){return this.uniforms.distance},e.distance.set=function(t){this.uniforms.distance=t},e.outerStrength.get=function(){return this.uniforms.outerStrength},e.outerStrength.set=function(t){this.uniforms.outerStrength=t},e.innerStrength.get=function(){return this.uniforms.innerStrength},e.innerStrength.set=function(t){this.uniforms.innerStrength=t},Object.defineProperties(t.prototype,e),t}(n.Filter),A=function(e){function t(t){e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec2 dimensions;\n\nuniform vec2 light;\nuniform bool parallel;\nuniform float aspect;\n\nuniform float gain;\nuniform float lacunarity;\nuniform float time;\n\n${perlin}\n\nvoid main(void) {\n vec2 coord = vTextureCoord * filterArea.xy / dimensions.xy;\n\n float d;\n\n if (parallel) {\n float _cos = light.x;\n float _sin = light.y;\n d = (_cos * coord.x) + (_sin * coord.y * aspect);\n } else {\n float dx = coord.x - light.x / dimensions.x;\n float dy = (coord.y - light.y / dimensions.y) * aspect;\n float dis = sqrt(dx * dx + dy * dy) + 0.00001;\n d = dy / dis;\n }\n\n vec3 dir = vec3(d, d, 0.0);\n\n float noise = turb(dir + vec3(time, 0.0, 62.1 + time) * 0.05, vec3(480.0, 320.0, 480.0), lacunarity, gain);\n noise = mix(noise, 0.0, 0.3);\n //fade vertically.\n vec4 mist = vec4(noise, noise, noise, 1.0) * (1.0 - coord.y);\n mist.a = 1.0;\n\n gl_FragColor = texture2D(uSampler, vTextureCoord) + mist;\n}\n".replace("${perlin}","vec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\nvec4 permute(vec4 x)\n{\n return mod289(((x * 34.0) + 1.0) * x);\n}\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\nvec3 fade(vec3 t)\n{\n return t * t * t * (t * (t * 6.0 - 15.0) + 10.0);\n}\n// Classic Perlin noise, periodic variant\nfloat pnoise(vec3 P, vec3 rep)\n{\n vec3 Pi0 = mod(floor(P), rep); // Integer part, modulo period\n vec3 Pi1 = mod(Pi0 + vec3(1.0), rep); // Integer part + 1, mod period\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n vec3 g000 = vec3(gx0.x, gy0.x, gz0.x);\n vec3 g100 = vec3(gx0.y, gy0.y, gz0.y);\n vec3 g010 = vec3(gx0.z, gy0.z, gz0.z);\n vec3 g110 = vec3(gx0.w, gy0.w, gz0.w);\n vec3 g001 = vec3(gx1.x, gy1.x, gz1.x);\n vec3 g101 = vec3(gx1.y, gy1.y, gz1.y);\n vec3 g011 = vec3(gx1.z, gy1.z, gz1.z);\n vec3 g111 = vec3(gx1.w, gy1.w, gz1.w);\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\nfloat turb(vec3 P, vec3 rep, float lacunarity, float gain)\n{\n float sum = 0.0;\n float sc = 1.0;\n float totalgain = 1.0;\n for (float i = 0.0; i < 6.0; i++)\n {\n sum += totalgain * pnoise(P * sc, rep);\n sc *= lacunarity;\n totalgain *= gain;\n }\n return abs(sum);\n}\n")),this.uniforms.dimensions=new Float32Array(2),"number"==typeof t&&(console.warn("GodrayFilter now uses options instead of (angle, gain, lacunarity, time)"),t={angle:t},void 0!==arguments[1]&&(t.gain=arguments[1]),void 0!==arguments[2]&&(t.lacunarity=arguments[2]),void 0!==arguments[3]&&(t.time=arguments[3])),t=Object.assign({angle:30,gain:.5,lacunarity:2.5,time:0,parallel:!0,center:[0,0]},t),this._angleLight=new f.Point,this.angle=t.angle,this.gain=t.gain,this.lacunarity=t.lacunarity,this.parallel=t.parallel,this.center=t.center,this.time=t.time}e&&(t.__proto__=e);var r={angle:{configurable:!0},gain:{configurable:!0},lacunarity:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=e.filterFrame,o=n.width,a=n.height;this.uniforms.light=this.parallel?this._angleLight:this.center,this.uniforms.parallel=this.parallel,this.uniforms.dimensions[0]=o,this.uniforms.dimensions[1]=a,this.uniforms.aspect=a/o,this.uniforms.time=this.time,t.applyFilter(this,e,r,i)},r.angle.get=function(){return this._angle},r.angle.set=function(t){var e=(this._angle=t)*f.DEG_TO_RAD;this._angleLight.x=Math.cos(e),this._angleLight.y=Math.sin(e)},r.gain.get=function(){return this.uniforms.gain},r.gain.set=function(t){this.uniforms.gain=t},r.lacunarity.get=function(){return this.uniforms.lacunarity},r.lacunarity.set=function(t){this.uniforms.lacunarity=t},Object.defineProperties(t.prototype,r),t}(n.Filter),E=function(i){function t(t,e,r){void 0===t&&(t=[0,0]),void 0===e&&(e=5),void 0===r&&(r=0),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform vec2 uVelocity;\nuniform int uKernelSize;\nuniform float uOffset;\n\nconst int MAX_KERNEL_SIZE = 2048;\n\n// Notice:\n// the perfect way:\n// int kernelSize = min(uKernelSize, MAX_KERNELSIZE);\n// BUT in real use-case , uKernelSize < MAX_KERNELSIZE almost always.\n// So use uKernelSize directly.\n\nvoid main(void)\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n\n if (uKernelSize == 0)\n {\n gl_FragColor = color;\n return;\n }\n\n vec2 velocity = uVelocity / filterArea.xy;\n float offset = -uOffset / length(uVelocity) - 0.5;\n int k = uKernelSize - 1;\n\n for(int i = 0; i < MAX_KERNEL_SIZE - 1; i++) {\n if (i == k) {\n break;\n }\n vec2 bias = velocity * (float(i) / float(k) + offset);\n color += texture2D(uSampler, vTextureCoord + bias);\n }\n gl_FragColor = color / float(uKernelSize);\n}\n"),this.uniforms.uVelocity=new Float32Array(2),this._velocity=new f.ObservablePoint(this.velocityChanged,this),this.velocity=t,this.kernelSize=e,this.offset=r}i&&(t.__proto__=i);var e={velocity:{configurable:!0},offset:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){var n=this.velocity,o=n.x,a=n.y;this.uniforms.uKernelSize=0!==o||0!==a?this.kernelSize:0,t.applyFilter(this,e,r,i)},e.velocity.set=function(t){Array.isArray(t)?this._velocity.set(t[0],t[1]):(t instanceof f.Point||t instanceof f.ObservablePoint)&&this._velocity.copy(t)},e.velocity.get=function(){return this._velocity},t.prototype.velocityChanged=function(){this.uniforms.uVelocity[0]=this._velocity.x,this.uniforms.uVelocity[1]=this._velocity.y},e.offset.set=function(t){this.uniforms.uOffset=t},e.offset.get=function(){return this.uniforms.uOffset},Object.defineProperties(t.prototype,e),t}(n.Filter),I=function(i){function t(t,e,r){void 0===e&&(e=.05),void 0===r&&(r=null),r=r||t.length,i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform float epsilon;\n\nconst int MAX_COLORS = %maxColors%;\n\nuniform vec3 originalColors[MAX_COLORS];\nuniform vec3 targetColors[MAX_COLORS];\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n\n float alpha = gl_FragColor.a;\n if (alpha < 0.0001)\n {\n return;\n }\n\n vec3 color = gl_FragColor.rgb / alpha;\n\n for(int i = 0; i < MAX_COLORS; i++)\n {\n vec3 origColor = originalColors[i];\n if (origColor.r < 0.0)\n {\n break;\n }\n vec3 colorDiff = origColor - color;\n if (length(colorDiff) < epsilon)\n {\n vec3 targetColor = targetColors[i];\n gl_FragColor = vec4((targetColor + colorDiff) * alpha, alpha);\n return;\n }\n }\n}\n".replace(/%maxColors%/g,r)),this.epsilon=e,this._maxColors=r,this._replacements=null,this.uniforms.originalColors=new Float32Array(3*r),this.uniforms.targetColors=new Float32Array(3*r),this.replacements=t}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={replacements:{configurable:!0},maxColors:{configurable:!0},epsilon:{configurable:!0}};return e.replacements.set=function(t){var e=this.uniforms.originalColors,r=this.uniforms.targetColors,i=t.length;if(i>this._maxColors)throw"Length of replacements ("+i+") exceeds the maximum colors length ("+this._maxColors+")";e[3*i]=-1;for(var n=0;n<i;n++){var o=t[n],a=o[0];"number"==typeof a?a=l.hex2rgb(a):o[0]=l.rgb2hex(a),e[3*n]=a[0],e[3*n+1]=a[1],e[3*n+2]=a[2];var s=o[1];"number"==typeof s?s=l.hex2rgb(s):o[1]=l.rgb2hex(s),r[3*n]=s[0],r[3*n+1]=s[1],r[3*n+2]=s[2]}this._replacements=t},e.replacements.get=function(){return this._replacements},t.prototype.refresh=function(){this.replacements=this._replacements},e.maxColors.get=function(){return this._maxColors},e.epsilon.set=function(t){this.uniforms.epsilon=t},e.epsilon.get=function(){return this.uniforms.epsilon},Object.defineProperties(t.prototype,e),t}(n.Filter),O=function(r){function t(t,e){void 0===e&&(e=0),r.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec2 dimensions;\n\nuniform float sepia;\nuniform float noise;\nuniform float noiseSize;\nuniform float scratch;\nuniform float scratchDensity;\nuniform float scratchWidth;\nuniform float vignetting;\nuniform float vignettingAlpha;\nuniform float vignettingBlur;\nuniform float seed;\n\nconst float SQRT_2 = 1.414213;\nconst vec3 SEPIA_RGB = vec3(112.0 / 255.0, 66.0 / 255.0, 20.0 / 255.0);\n\nfloat rand(vec2 co) {\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvec3 Overlay(vec3 src, vec3 dst)\n{\n // if (dst <= 0.5) then: 2 * src * dst\n // if (dst > 0.5) then: 1 - 2 * (1 - dst) * (1 - src)\n return vec3((dst.x <= 0.5) ? (2.0 * src.x * dst.x) : (1.0 - 2.0 * (1.0 - dst.x) * (1.0 - src.x)),\n (dst.y <= 0.5) ? (2.0 * src.y * dst.y) : (1.0 - 2.0 * (1.0 - dst.y) * (1.0 - src.y)),\n (dst.z <= 0.5) ? (2.0 * src.z * dst.z) : (1.0 - 2.0 * (1.0 - dst.z) * (1.0 - src.z)));\n}\n\n\nvoid main()\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n vec3 color = gl_FragColor.rgb;\n\n if (sepia > 0.0)\n {\n float gray = (color.x + color.y + color.z) / 3.0;\n vec3 grayscale = vec3(gray);\n\n color = Overlay(SEPIA_RGB, grayscale);\n\n color = grayscale + sepia * (color - grayscale);\n }\n\n vec2 coord = vTextureCoord * filterArea.xy / dimensions.xy;\n\n if (vignetting > 0.0)\n {\n float outter = SQRT_2 - vignetting * SQRT_2;\n vec2 dir = vec2(vec2(0.5, 0.5) - coord);\n dir.y *= dimensions.y / dimensions.x;\n float darker = clamp((outter - length(dir) * SQRT_2) / ( 0.00001 + vignettingBlur * SQRT_2), 0.0, 1.0);\n color.rgb *= darker + (1.0 - darker) * (1.0 - vignettingAlpha);\n }\n\n if (scratchDensity > seed && scratch != 0.0)\n {\n float phase = seed * 256.0;\n float s = mod(floor(phase), 2.0);\n float dist = 1.0 / scratchDensity;\n float d = distance(coord, vec2(seed * dist, abs(s - seed * dist)));\n if (d < seed * 0.6 + 0.4)\n {\n highp float period = scratchDensity * 10.0;\n\n float xx = coord.x * period + phase;\n float aa = abs(mod(xx, 0.5) * 4.0);\n float bb = mod(floor(xx / 0.5), 2.0);\n float yy = (1.0 - bb) * aa + bb * (2.0 - aa);\n\n float kk = 2.0 * period;\n float dw = scratchWidth / dimensions.x * (0.75 + seed);\n float dh = dw * kk;\n\n float tine = (yy - (2.0 - dh));\n\n if (tine > 0.0) {\n float _sign = sign(scratch);\n\n tine = s * tine / period + scratch + 0.1;\n tine = clamp(tine + 1.0, 0.5 + _sign * 0.5, 1.5 + _sign * 0.5);\n\n color.rgb *= tine;\n }\n }\n }\n\n if (noise > 0.0 && noiseSize > 0.0)\n {\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n pixelCoord.x = floor(pixelCoord.x / noiseSize);\n pixelCoord.y = floor(pixelCoord.y / noiseSize);\n // vec2 d = pixelCoord * noiseSize * vec2(1024.0 + seed * 512.0, 1024.0 - seed * 512.0);\n // float _noise = snoise(d) * 0.5;\n float _noise = rand(pixelCoord * noiseSize * seed) - 0.5;\n color += _noise * noise;\n }\n\n gl_FragColor.rgb = color;\n}\n"),this.uniforms.dimensions=new Float32Array(2),"number"==typeof t?(this.seed=t,t=null):this.seed=e,Object.assign(this,{sepia:.3,noise:.3,noiseSize:1,scratch:.5,scratchDensity:.3,scratchWidth:1,vignetting:.3,vignettingAlpha:1,vignettingBlur:.3},t)}r&&(t.__proto__=r);var e={sepia:{configurable:!0},noise:{configurable:!0},noiseSize:{configurable:!0},scratch:{configurable:!0},scratchDensity:{configurable:!0},scratchWidth:{configurable:!0},vignetting:{configurable:!0},vignettingAlpha:{configurable:!0},vignettingBlur:{configurable:!0}};return((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.dimensions[0]=e.filterFrame.width,this.uniforms.dimensions[1]=e.filterFrame.height,this.uniforms.seed=this.seed,t.applyFilter(this,e,r,i)},e.sepia.set=function(t){this.uniforms.sepia=t},e.sepia.get=function(){return this.uniforms.sepia},e.noise.set=function(t){this.uniforms.noise=t},e.noise.get=function(){return this.uniforms.noise},e.noiseSize.set=function(t){this.uniforms.noiseSize=t},e.noiseSize.get=function(){return this.uniforms.noiseSize},e.scratch.set=function(t){this.uniforms.scratch=t},e.scratch.get=function(){return this.uniforms.scratch},e.scratchDensity.set=function(t){this.uniforms.scratchDensity=t},e.scratchDensity.get=function(){return this.uniforms.scratchDensity},e.scratchWidth.set=function(t){this.uniforms.scratchWidth=t},e.scratchWidth.get=function(){return this.uniforms.scratchWidth},e.vignetting.set=function(t){this.uniforms.vignetting=t},e.vignetting.get=function(){return this.uniforms.vignetting},e.vignettingAlpha.set=function(t){this.uniforms.vignettingAlpha=t},e.vignettingAlpha.get=function(){return this.uniforms.vignettingAlpha},e.vignettingBlur.set=function(t){this.uniforms.vignettingBlur=t},e.vignettingBlur.get=function(){return this.uniforms.vignettingBlur},Object.defineProperties(t.prototype,e),t}(n.Filter),M=function(o){function a(t,e,r){void 0===t&&(t=1),void 0===e&&(e=0),void 0===r&&(r=.1);var i=Math.max(r*a.MAX_SAMPLES,a.MIN_SAMPLES),n=(2*Math.PI/i).toFixed(7);o.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 thickness;\nuniform vec4 outlineColor;\nuniform vec4 filterClamp;\n\nconst float DOUBLE_PI = 3.14159265358979323846264 * 2.;\n\nvoid main(void) {\n vec4 ownColor = texture2D(uSampler, vTextureCoord);\n vec4 curColor;\n float maxAlpha = 0.;\n vec2 displaced;\n for (float angle = 0.; angle <= DOUBLE_PI; angle += ${angleStep}) {\n displaced.x = vTextureCoord.x + thickness.x * cos(angle);\n displaced.y = vTextureCoord.y + thickness.y * sin(angle);\n curColor = texture2D(uSampler, clamp(displaced, filterClamp.xy, filterClamp.zw));\n maxAlpha = max(maxAlpha, curColor.a);\n }\n float resultAlpha = max(maxAlpha, ownColor.a);\n gl_FragColor = vec4((ownColor.rgb + outlineColor.rgb * (1. - ownColor.a)) * resultAlpha, resultAlpha);\n}\n".replace(/\$\{angleStep\}/,n)),this.uniforms.thickness=new Float32Array([0,0]),this.thickness=t,this.uniforms.outlineColor=new Float32Array([0,0,0,1]),this.color=e,this.quality=r}o&&(a.__proto__=o);var t={color:{configurable:!0}};return((a.prototype=Object.create(o&&o.prototype)).constructor=a).prototype.apply=function(t,e,r,i){this.uniforms.thickness[0]=this.thickness/e._frame.width,this.uniforms.thickness[1]=this.thickness/e._frame.height,t.applyFilter(this,e,r,i)},t.color.get=function(){return l.rgb2hex(this.uniforms.outlineColor)},t.color.set=function(t){l.hex2rgb(t,this.uniforms.outlineColor)},Object.defineProperties(a.prototype,t),a}(n.Filter);M.MIN_SAMPLES=1,M.MAX_SAMPLES=100;var D=function(e){function t(t){void 0===t&&(t=10),e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform vec2 size;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 pixelate(vec2 coord, vec2 size)\n{\n\treturn floor( coord / size ) * size;\n}\n\nvoid main(void)\n{\n vec2 coord = mapCoord(vTextureCoord);\n\n coord = pixelate(coord, size);\n\n coord = unmapCoord(coord);\n\n gl_FragColor = texture2D(uSampler, coord);\n}\n"),this.size=t}e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t;var r={size:{configurable:!0}};return r.size.get=function(){return this.uniforms.size},r.size.set=function(t){"number"==typeof t&&(t=[t,t]),this.uniforms.size=t},Object.defineProperties(t.prototype,r),t}(n.Filter),z=function(n){function t(t,e,r,i){void 0===t&&(t=0),void 0===e&&(e=[0,0]),void 0===r&&(r=5),void 0===i&&(i=-1),n.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform float uRadian;\nuniform vec2 uCenter;\nuniform float uRadius;\nuniform int uKernelSize;\n\nconst int MAX_KERNEL_SIZE = 2048;\n\nvoid main(void)\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n\n if (uKernelSize == 0)\n {\n gl_FragColor = color;\n return;\n }\n\n float aspect = filterArea.y / filterArea.x;\n vec2 center = uCenter.xy / filterArea.xy;\n float gradient = uRadius / filterArea.x * 0.3;\n float radius = uRadius / filterArea.x - gradient * 0.5;\n int k = uKernelSize - 1;\n\n vec2 coord = vTextureCoord;\n vec2 dir = vec2(center - coord);\n float dist = length(vec2(dir.x, dir.y * aspect));\n\n float radianStep = uRadian;\n if (radius >= 0.0 && dist > radius) {\n float delta = dist - radius;\n float gap = gradient;\n float scale = 1.0 - abs(delta / gap);\n if (scale <= 0.0) {\n gl_FragColor = color;\n return;\n }\n radianStep *= scale;\n }\n radianStep /= float(k);\n\n float s = sin(radianStep);\n float c = cos(radianStep);\n mat2 rotationMatrix = mat2(vec2(c, -s), vec2(s, c));\n\n for(int i = 0; i < MAX_KERNEL_SIZE - 1; i++) {\n if (i == k) {\n break;\n }\n\n coord -= center;\n coord.y *= aspect;\n coord = rotationMatrix * coord;\n coord.y /= aspect;\n coord += center;\n\n vec4 sample = texture2D(uSampler, coord);\n\n // switch to pre-multiplied alpha to correctly blur transparent images\n // sample.rgb *= sample.a;\n\n color += sample;\n }\n\n gl_FragColor = color / float(uKernelSize);\n}\n"),this._angle=0,this.angle=t,this.center=e,this.kernelSize=r,this.radius=i}n&&(t.__proto__=n);var e={angle:{configurable:!0},center:{configurable:!0},radius:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.uKernelSize=0!==this._angle?this.kernelSize:0,t.applyFilter(this,e,r,i)},e.angle.set=function(t){this._angle=t,this.uniforms.uRadian=t*Math.PI/180},e.angle.get=function(){return this._angle},e.center.get=function(){return this.uniforms.uCenter},e.center.set=function(t){this.uniforms.uCenter=t},e.radius.get=function(){return this.uniforms.uRadius},e.radius.set=function(t){(t<0||t===1/0)&&(t=-1),this.uniforms.uRadius=t},Object.defineProperties(t.prototype,e),t}(n.Filter),R=function(e){function t(t){e.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\n\nuniform bool mirror;\nuniform float boundary;\nuniform vec2 amplitude;\nuniform vec2 waveLength;\nuniform vec2 alpha;\nuniform float time;\n\nfloat rand(vec2 co) {\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main(void)\n{\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n vec2 coord = pixelCoord / dimensions;\n\n if (coord.y < boundary) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n\n float k = (coord.y - boundary) / (1. - boundary + 0.0001);\n float areaY = boundary * dimensions.y / filterArea.y;\n float v = areaY + areaY - vTextureCoord.y;\n float y = mirror ? v : vTextureCoord.y;\n\n float _amplitude = ((amplitude.y - amplitude.x) * k + amplitude.x ) / filterArea.x;\n float _waveLength = ((waveLength.y - waveLength.x) * k + waveLength.x) / filterArea.y;\n float _alpha = (alpha.y - alpha.x) * k + alpha.x;\n\n float x = vTextureCoord.x + cos(v * 6.28 / _waveLength - time) * _amplitude;\n x = clamp(x, filterClamp.x, filterClamp.z);\n\n vec4 color = texture2D(uSampler, vec2(x, y));\n\n gl_FragColor = color * _alpha;\n}\n"),this.uniforms.amplitude=new Float32Array(2),this.uniforms.waveLength=new Float32Array(2),this.uniforms.alpha=new Float32Array(2),this.uniforms.dimensions=new Float32Array(2),Object.assign(this,{mirror:!0,boundary:.5,amplitude:[0,20],waveLength:[30,100],alpha:[1,1],time:0},t)}e&&(t.__proto__=e);var r={mirror:{configurable:!0},boundary:{configurable:!0},amplitude:{configurable:!0},waveLength:{configurable:!0},alpha:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.dimensions[0]=e.filterFrame.width,this.uniforms.dimensions[1]=e.filterFrame.height,this.uniforms.time=this.time,t.applyFilter(this,e,r,i)},r.mirror.set=function(t){this.uniforms.mirror=t},r.mirror.get=function(){return this.uniforms.mirror},r.boundary.set=function(t){this.uniforms.boundary=t},r.boundary.get=function(){return this.uniforms.boundary},r.amplitude.set=function(t){this.uniforms.amplitude[0]=t[0],this.uniforms.amplitude[1]=t[1]},r.amplitude.get=function(){return this.uniforms.amplitude},r.waveLength.set=function(t){this.uniforms.waveLength[0]=t[0],this.uniforms.waveLength[1]=t[1]},r.waveLength.get=function(){return this.uniforms.waveLength},r.alpha.set=function(t){this.uniforms.alpha[0]=t[0],this.uniforms.alpha[1]=t[1]},r.alpha.get=function(){return this.uniforms.alpha},Object.defineProperties(t.prototype,r),t}(n.Filter),F=function(i){function t(t,e,r){void 0===t&&(t=[-10,0]),void 0===e&&(e=[0,10]),void 0===r&&(r=[0,0]),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec2 red;\nuniform vec2 green;\nuniform vec2 blue;\n\nvoid main(void)\n{\n gl_FragColor.r = texture2D(uSampler, vTextureCoord + red/filterArea.xy).r;\n gl_FragColor.g = texture2D(uSampler, vTextureCoord + green/filterArea.xy).g;\n gl_FragColor.b = texture2D(uSampler, vTextureCoord + blue/filterArea.xy).b;\n gl_FragColor.a = texture2D(uSampler, vTextureCoord).a;\n}\n"),this.red=t,this.green=e,this.blue=r}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={red:{configurable:!0},green:{configurable:!0},blue:{configurable:!0}};return e.red.get=function(){return this.uniforms.red},e.red.set=function(t){this.uniforms.red=t},e.green.get=function(){return this.uniforms.green},e.green.set=function(t){this.uniforms.green=t},e.blue.get=function(){return this.uniforms.blue},e.blue.set=function(t){this.uniforms.blue=t},Object.defineProperties(t.prototype,e),t}(n.Filter),j=function(i){function t(t,e,r){void 0===t&&(t=[0,0]),void 0===e&&(e={}),void 0===r&&(r=0),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nuniform vec2 center;\n\nuniform float amplitude;\nuniform float wavelength;\n// uniform float power;\nuniform float brightness;\nuniform float speed;\nuniform float radius;\n\nuniform float time;\n\nconst float PI = 3.14159;\n\nvoid main()\n{\n float halfWavelength = wavelength * 0.5 / filterArea.x;\n float maxRadius = radius / filterArea.x;\n float currentRadius = time * speed / filterArea.x;\n\n float fade = 1.0;\n\n if (maxRadius > 0.0) {\n if (currentRadius > maxRadius) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n fade = 1.0 - pow(currentRadius / maxRadius, 2.0);\n }\n\n vec2 dir = vec2(vTextureCoord - center / filterArea.xy);\n dir.y *= filterArea.y / filterArea.x;\n float dist = length(dir);\n\n if (dist <= 0.0 || dist < currentRadius - halfWavelength || dist > currentRadius + halfWavelength) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n\n vec2 diffUV = normalize(dir);\n\n float diff = (dist - currentRadius) / halfWavelength;\n\n float p = 1.0 - pow(abs(diff), 2.0);\n\n // float powDiff = diff * pow(p, 2.0) * ( amplitude * fade );\n float powDiff = 1.25 * sin(diff * PI) * p * ( amplitude * fade );\n\n vec2 offset = diffUV * powDiff / filterArea.xy;\n\n // Do clamp :\n vec2 coord = vTextureCoord + offset;\n vec2 clampedCoord = clamp(coord, filterClamp.xy, filterClamp.zw);\n vec4 color = texture2D(uSampler, clampedCoord);\n if (coord != clampedCoord) {\n color *= max(0.0, 1.0 - length(coord - clampedCoord));\n }\n\n // No clamp :\n // gl_FragColor = texture2D(uSampler, vTextureCoord + offset);\n\n color.rgb *= 1.0 + (brightness - 1.0) * p * fade;\n\n gl_FragColor = color;\n}\n"),this.center=t,Array.isArray(e)&&(console.warn("Deprecated Warning: ShockwaveFilter params Array has been changed to options Object."),e={}),e=Object.assign({amplitude:30,wavelength:160,brightness:1,speed:500,radius:-1},e),this.amplitude=e.amplitude,this.wavelength=e.wavelength,this.brightness=e.brightness,this.speed=e.speed,this.radius=e.radius,this.time=r}i&&(t.__proto__=i);var e={center:{configurable:!0},amplitude:{configurable:!0},wavelength:{configurable:!0},brightness:{configurable:!0},speed:{configurable:!0},radius:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.time=this.time,t.applyFilter(this,e,r,i)},e.center.get=function(){return this.uniforms.center},e.center.set=function(t){this.uniforms.center=t},e.amplitude.get=function(){return this.uniforms.amplitude},e.amplitude.set=function(t){this.uniforms.amplitude=t},e.wavelength.get=function(){return this.uniforms.wavelength},e.wavelength.set=function(t){this.uniforms.wavelength=t},e.brightness.get=function(){return this.uniforms.brightness},e.brightness.set=function(t){this.uniforms.brightness=t},e.speed.get=function(){return this.uniforms.speed},e.speed.set=function(t){this.uniforms.speed=t},e.radius.get=function(){return this.uniforms.radius},e.radius.set=function(t){this.uniforms.radius=t},Object.defineProperties(t.prototype,e),t}(n.Filter),L=function(i){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=1),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform sampler2D uLightmap;\nuniform vec4 filterArea;\nuniform vec2 dimensions;\nuniform vec4 ambientColor;\nvoid main() {\n vec4 diffuseColor = texture2D(uSampler, vTextureCoord);\n vec2 lightCoord = (vTextureCoord * filterArea.xy) / dimensions;\n vec4 light = texture2D(uLightmap, lightCoord);\n vec3 ambient = ambientColor.rgb * ambientColor.a;\n vec3 intensity = ambient + light.rgb;\n vec3 finalColor = diffuseColor.rgb * intensity;\n gl_FragColor = vec4(finalColor, diffuseColor.a);\n}\n"),this.uniforms.dimensions=new Float32Array(2),this.uniforms.ambientColor=new Float32Array([0,0,0,r]),this.texture=t,this.color=e}i&&(t.__proto__=i);var e={texture:{configurable:!0},color:{configurable:!0},alpha:{configurable:!0}};return((t.prototype=Object.create(i&&i.prototype)).constructor=t).prototype.apply=function(t,e,r,i){this.uniforms.dimensions[0]=e.filterFrame.width,this.uniforms.dimensions[1]=e.filterFrame.height,t.applyFilter(this,e,r,i)},e.texture.get=function(){return this.uniforms.uLightmap},e.texture.set=function(t){this.uniforms.uLightmap=t},e.color.set=function(t){var e=this.uniforms.ambientColor;"number"==typeof t?(l.hex2rgb(t,e),this._color=t):(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],this._color=l.rgb2hex(e))},e.color.get=function(){return this._color},e.alpha.get=function(){return this.uniforms.ambientColor[3]},e.alpha.set=function(t){this.uniforms.ambientColor[3]=t},Object.defineProperties(t.prototype,e),t}(n.Filter),N=function(n){function t(t,e,r,i){void 0===t&&(t=100),void 0===e&&(e=600),void 0===r&&(r=null),void 0===i&&(i=null),n.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float blur;\nuniform float gradientBlur;\nuniform vec2 start;\nuniform vec2 end;\nuniform vec2 delta;\nuniform vec2 texSize;\n\nfloat random(vec3 scale, float seed)\n{\n return fract(sin(dot(gl_FragCoord.xyz + seed, scale)) * 43758.5453 + seed);\n}\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n float total = 0.0;\n\n float offset = random(vec3(12.9898, 78.233, 151.7182), 0.0);\n vec2 normal = normalize(vec2(start.y - end.y, end.x - start.x));\n float radius = smoothstep(0.0, 1.0, abs(dot(vTextureCoord * texSize - start, normal)) / gradientBlur) * blur;\n\n for (float t = -30.0; t <= 30.0; t++)\n {\n float percent = (t + offset - 0.5) / 30.0;\n float weight = 1.0 - abs(percent);\n vec4 sample = texture2D(uSampler, vTextureCoord + delta / texSize * percent * radius);\n sample.rgb *= sample.a;\n color += sample * weight;\n total += weight;\n }\n\n color /= total;\n color.rgb /= color.a + 0.00001;\n\n gl_FragColor = color;\n}\n"),this.uniforms.blur=t,this.uniforms.gradientBlur=e,this.uniforms.start=r||new f.Point(0,window.innerHeight/2),this.uniforms.end=i||new f.Point(600,window.innerHeight/2),this.uniforms.delta=new f.Point(30,30),this.uniforms.texSize=new f.Point(window.innerWidth,window.innerHeight),this.updateDelta()}n&&(t.__proto__=n);var e={blur:{configurable:!0},gradientBlur:{configurable:!0},start:{configurable:!0},end:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.updateDelta=function(){this.uniforms.delta.x=0,this.uniforms.delta.y=0},e.blur.get=function(){return this.uniforms.blur},e.blur.set=function(t){this.uniforms.blur=t},e.gradientBlur.get=function(){return this.uniforms.gradientBlur},e.gradientBlur.set=function(t){this.uniforms.gradientBlur=t},e.start.get=function(){return this.uniforms.start},e.start.set=function(t){this.uniforms.start=t,this.updateDelta()},e.end.get=function(){return this.uniforms.end},e.end.set=function(t){this.uniforms.end=t,this.updateDelta()},Object.defineProperties(t.prototype,e),t}(n.Filter),B=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.updateDelta=function(){var t=this.uniforms.end.x-this.uniforms.start.x,e=this.uniforms.end.y-this.uniforms.start.y,r=Math.sqrt(t*t+e*e);this.uniforms.delta.x=t/r,this.uniforms.delta.y=e/r},e}(N),U=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.updateDelta=function(){var t=this.uniforms.end.x-this.uniforms.start.x,e=this.uniforms.end.y-this.uniforms.start.y,r=Math.sqrt(t*t+e*e);this.uniforms.delta.x=-e/r,this.uniforms.delta.y=t/r},e}(N),X=function(n){function t(t,e,r,i){void 0===t&&(t=100),void 0===e&&(e=600),void 0===r&&(r=null),void 0===i&&(i=null),n.call(this),this.tiltShiftXFilter=new B(t,e,r,i),this.tiltShiftYFilter=new U(t,e,r,i)}n&&(t.__proto__=n);var e={blur:{configurable:!0},gradientBlur:{configurable:!0},start:{configurable:!0},end:{configurable:!0}};return((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.apply=function(t,e,r){var i=t.getFilterTexture();this.tiltShiftXFilter.apply(t,e,i),this.tiltShiftYFilter.apply(t,i,r),t.returnFilterTexture(i)},e.blur.get=function(){return this.tiltShiftXFilter.blur},e.blur.set=function(t){this.tiltShiftXFilter.blur=this.tiltShiftYFilter.blur=t},e.gradientBlur.get=function(){return this.tiltShiftXFilter.gradientBlur},e.gradientBlur.set=function(t){this.tiltShiftXFilter.gradientBlur=this.tiltShiftYFilter.gradientBlur=t},e.start.get=function(){return this.tiltShiftXFilter.start},e.start.set=function(t){this.tiltShiftXFilter.start=this.tiltShiftYFilter.start=t},e.end.get=function(){return this.tiltShiftXFilter.end},e.end.set=function(t){this.tiltShiftXFilter.end=this.tiltShiftYFilter.end=t},Object.defineProperties(t.prototype,e),t}(n.Filter),H=function(i){function t(t,e,r){void 0===t&&(t=200),void 0===e&&(e=4),void 0===r&&(r=20),i.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float radius;\nuniform float angle;\nuniform vec2 offset;\nuniform vec4 filterArea;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 twist(vec2 coord)\n{\n coord -= offset;\n\n float dist = length(coord);\n\n if (dist < radius)\n {\n float ratioDist = (radius - dist) / radius;\n float angleMod = ratioDist * ratioDist * angle;\n float s = sin(angleMod);\n float c = cos(angleMod);\n coord = vec2(coord.x * c - coord.y * s, coord.x * s + coord.y * c);\n }\n\n coord += offset;\n\n return coord;\n}\n\nvoid main(void)\n{\n\n vec2 coord = mapCoord(vTextureCoord);\n\n coord = twist(coord);\n\n coord = unmapCoord(coord);\n\n gl_FragColor = texture2D(uSampler, coord );\n\n}\n"),this.radius=t,this.angle=e,this.padding=r}i&&(t.__proto__=i),(t.prototype=Object.create(i&&i.prototype)).constructor=t;var e={offset:{configurable:!0},radius:{configurable:!0},angle:{configurable:!0}};return e.offset.get=function(){return this.uniforms.offset},e.offset.set=function(t){this.uniforms.offset=t},e.radius.get=function(){return this.uniforms.radius},e.radius.set=function(t){this.uniforms.radius=t},e.angle.get=function(){return this.uniforms.angle},e.angle.set=function(t){this.uniforms.angle=t},Object.defineProperties(t.prototype,e),t}(n.Filter),q=function(n){function t(t,e,r,i){void 0===t&&(t=.1),void 0===e&&(e=[0,0]),void 0===r&&(r=0),void 0===i&&(i=-1),n.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform vec2 uCenter;\nuniform float uStrength;\nuniform float uInnerRadius;\nuniform float uRadius;\n\nconst float MAX_KERNEL_SIZE = 32.0;\n\n// author: http://byteblacksmith.com/improvements-to-the-canonical-one-liner-glsl-rand-for-opengl-es-2-0/\nhighp float rand(vec2 co, float seed) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot(co + seed, vec2(a, b)), sn = mod(dt, 3.14159);\n return fract(sin(sn) * c + seed);\n}\n\nvoid main() {\n\n float minGradient = uInnerRadius * 0.3;\n float innerRadius = (uInnerRadius + minGradient * 0.5) / filterArea.x;\n\n float gradient = uRadius * 0.3;\n float radius = (uRadius - gradient * 0.5) / filterArea.x;\n\n float countLimit = MAX_KERNEL_SIZE;\n\n vec2 dir = vec2(uCenter.xy / filterArea.xy - vTextureCoord);\n float dist = length(vec2(dir.x, dir.y * filterArea.y / filterArea.x));\n\n float strength = uStrength;\n\n float delta = 0.0;\n float gap;\n if (dist < innerRadius) {\n delta = innerRadius - dist;\n gap = minGradient;\n } else if (radius >= 0.0 && dist > radius) { // radius < 0 means it's infinity\n delta = dist - radius;\n gap = gradient;\n }\n\n if (delta > 0.0) {\n float normalCount = gap / filterArea.x;\n delta = (normalCount - delta) / normalCount;\n countLimit *= delta;\n strength *= delta;\n if (countLimit < 1.0)\n {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n }\n\n // randomize the lookup values to hide the fixed number of samples\n float offset = rand(vTextureCoord, 0.0);\n\n float total = 0.0;\n vec4 color = vec4(0.0);\n\n dir *= strength;\n\n for (float t = 0.0; t < MAX_KERNEL_SIZE; t++) {\n float percent = (t + offset) / MAX_KERNEL_SIZE;\n float weight = 4.0 * (percent - percent * percent);\n vec2 p = vTextureCoord + dir * percent;\n vec4 sample = texture2D(uSampler, p);\n\n // switch to pre-multiplied alpha to correctly blur transparent images\n // sample.rgb *= sample.a;\n\n color += sample * weight;\n total += weight;\n\n if (t > countLimit){\n break;\n }\n }\n\n color /= total;\n // switch back from pre-multiplied alpha\n // color.rgb /= color.a + 0.00001;\n\n gl_FragColor = color;\n}\n"),this.center=e,this.strength=t,this.innerRadius=r,this.radius=i}n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t;var e={center:{configurable:!0},strength:{configurable:!0},innerRadius:{configurable:!0},radius:{configurable:!0}};return e.center.get=function(){return this.uniforms.uCenter},e.center.set=function(t){this.uniforms.uCenter=t},e.strength.get=function(){return this.uniforms.uStrength},e.strength.set=function(t){this.uniforms.uStrength=t},e.innerRadius.get=function(){return this.uniforms.uInnerRadius},e.innerRadius.set=function(t){this.uniforms.uInnerRadius=t},e.radius.get=function(){return this.uniforms.uRadius},e.radius.set=function(t){(t<0||t===1/0)&&(t=-1),this.uniforms.uRadius=t},Object.defineProperties(t.prototype,e),t}(n.Filter);return t.AdjustmentFilter=e,t.AdvancedBloomFilter=i,t.AsciiFilter=o,t.BevelFilter=a,t.BloomFilter=g,t.BulgePinchFilter=v,t.CRTFilter=w,t.ColorMapFilter=_,t.ColorReplaceFilter=y,t.ConvolutionFilter=b,t.CrossHatchFilter=x,t.DotFilter=T,t.DropShadowFilter=k,t.EmbossFilter=S,t.GlitchFilter=P,t.GlowFilter=C,t.GodrayFilter=A,t.KawaseBlurFilter=d,t.MotionBlurFilter=E,t.MultiColorReplaceFilter=I,t.OldFilmFilter=O,t.OutlineFilter=M,t.PixelateFilter=D,t.RGBSplitFilter=F,t.RadialBlurFilter=z,t.ReflectionFilter=R,t.ShockwaveFilter=j,t.SimpleLightmapFilter=L,t.TiltShiftAxisFilter=N,t.TiltShiftFilter=X,t.TiltShiftXFilter=B,t.TiltShiftYFilter=U,t.TwistFilter=H,t.ZoomBlurFilter=q,t}({},PIXI,PIXI,PIXI,PIXI.utils,PIXI,PIXI.filters,PIXI.filters),pixi_projection,pixi_projection;Object.assign(PIXI.filters,__filters),this.PIXI=this.PIXI||{},function(p,v){"use strict";var e,f,d=function(){function f(t,e,r){this.value=t,this.time=e,this.next=null,this.isStepped=!1,this.ease=r?"function"==typeof r?r:p.ParticleUtils.generateEase(r):null}return f.createList=function(t){if("list"in t){var e=t.list,r=void 0,i=void 0,n=e[0],o=n.value,a=n.time;if(i=r=new f("string"==typeof o?p.ParticleUtils.hexToRGB(o):o,a,t.ease),2<e.length||2===e.length&&e[1].value!==o)for(var s=1;s<e.length;++s){var l=e[s],u=l.value,h=l.time;r.next=new f("string"==typeof u?p.ParticleUtils.hexToRGB(u):u,h),r=r.next}return i.isStepped=!!t.isStepped,i}var c=new f("string"==typeof t.start?p.ParticleUtils.hexToRGB(t.start):t.start,0);return t.end!==t.start&&(c.next=new f("string"==typeof t.end?p.ParticleUtils.hexToRGB(t.end):t.end,1)),c},f}(),t=v;function h(t){return e(t)}e=parseInt(/^(\d+)\./.exec(v.VERSION)[1])<5?t.Texture.fromImage:t.Texture.from,(f=p.ParticleUtils||(p.ParticleUtils={})).verbose=!1,f.DEG_TO_RADS=Math.PI/180,f.rotatePoint=function(t,e){if(t){t*=f.DEG_TO_RADS;var r=Math.sin(t),i=Math.cos(t),n=e.x*i-e.y*r,o=e.x*r+e.y*i;e.x=n,e.y=o}},f.combineRGBComponents=function(t,e,r){return t<<16|e<<8|r},f.normalize=function(t){var e=1/f.length(t);t.x*=e,t.y*=e},f.scaleBy=function(t,e){t.x*=e,t.y*=e},f.length=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},f.hexToRGB=function(t,e){var r;return e||(e={}),"#"==t.charAt(0)?t=t.substr(1):0===t.indexOf("0x")&&(t=t.substr(2)),8==t.length&&(r=t.substr(0,2),t=t.substr(2)),e.r=parseInt(t.substr(0,2),16),e.g=parseInt(t.substr(2,2),16),e.b=parseInt(t.substr(4,2),16),r&&(e.a=parseInt(r,16)),e},f.generateEase=function(n){var o=n.length,a=1/o;return function(t){var e,r,i=o*t|0;return e=(t-i*a)*o,(r=n[i]||n[o-1]).s+e*(2*(1-e)*(r.cp-r.s)+e*(r.e-r.s))}},f.getBlendMode=function(t){if(!t)return v.BLEND_MODES.NORMAL;for(t=t.toUpperCase();0<=t.indexOf(" ");)t=t.replace(" ","_");return v.BLEND_MODES[t]||v.BLEND_MODES.NORMAL},f.createSteppedGradient=function(t,e){void 0===e&&(e=10),("number"!=typeof e||e<=0)&&(e=10);var r=new d(f.hexToRGB(t[0].value),t[0].time);r.isStepped=!0;for(var i=r,n=t[0],o=1,a=t[o],s=1;s<e;++s){for(var l=s/e;l>a.time;)n=a,a=t[++o];l=(l-n.time)/(a.time-n.time);var u=f.hexToRGB(n.value),h=f.hexToRGB(a.value),c={r:(h.r-u.r)*l+u.r,g:(h.g-u.g)*l+u.g,b:(h.b-u.b)*l+u.b};i.next=new d(c,s/e),i=i.next}return r};var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function n(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){function t(t){void 0===t&&(t=!1),this.current=null,this.next=null,this.isColor=!!t,this.interpolate=null,this.ease=null}return t.prototype.reset=function(t){this.current=t,this.next=t.next,this.next&&1<=this.next.time?this.interpolate=this.isColor?a:r:t.isStepped?this.interpolate=this.isColor?c:u:this.interpolate=this.isColor?l:s,this.ease=this.current.ease},t}();function r(t){return this.ease&&(t=this.ease(t)),(this.next.value-this.current.value)*t+this.current.value}function a(t){this.ease&&(t=this.ease(t));var e=this.current.value,r=this.next.value,i=(r.r-e.r)*t+e.r,n=(r.g-e.g)*t+e.g,o=(r.b-e.b)*t+e.b;return p.ParticleUtils.combineRGBComponents(i,n,o)}function s(t){for(this.ease&&(t=this.ease(t));t>this.next.time;)this.current=this.next,this.next=this.next.next;return t=(t-this.current.time)/(this.next.time-this.current.time),(this.next.value-this.current.value)*t+this.current.value}function l(t){for(this.ease&&(t=this.ease(t));t>this.next.time;)this.current=this.next,this.next=this.next.next;t=(t-this.current.time)/(this.next.time-this.current.time);var e=this.current.value,r=this.next.value,i=(r.r-e.r)*t+e.r,n=(r.g-e.g)*t+e.g,o=(r.b-e.b)*t+e.b;return p.ParticleUtils.combineRGBComponents(i,n,o)}function u(t){for(this.ease&&(t=this.ease(t));this.next&&t>this.next.time;)this.current=this.next,this.next=this.next.next;return this.current.value}function c(t){for(this.ease&&(t=this.ease(t));this.next&&t>this.next.time;)this.current=this.next,this.next=this.next.next;var e=this.current.value;return p.ParticleUtils.combineRGBComponents(e.r,e.g,e.b)}var m,g=function(r){function i(t){var e=r.call(this)||this;return e.emitter=t,e.anchor.x=e.anchor.y=.5,e.velocity=new v.Point,e.rotationSpeed=0,e.rotationAcceleration=0,e.maxLife=0,e.age=0,e.ease=null,e.extraData=null,e.alphaList=new o,e.speedList=new o,e.speedMultiplier=1,e.acceleration=new v.Point,e.maxSpeed=NaN,e.scaleList=new o,e.scaleMultiplier=1,e.colorList=new o(!0),e._doAlpha=!1,e._doScale=!1,e._doSpeed=!1,e._doAcceleration=!1,e._doColor=!1,e._doNormalMovement=!1,e._oneOverLife=0,e.next=null,e.prev=null,e.init=e.init,e.Particle_init=i.prototype.init,e.update=e.update,e.Particle_update=i.prototype.update,e.Sprite_destroy=r.prototype.destroy,e.Particle_destroy=i.prototype.destroy,e.applyArt=e.applyArt,e.kill=e.kill,e}return n(i,r),i.prototype.init=function(){this.age=0,this.velocity.x=this.speedList.current.value*this.speedMultiplier,this.velocity.y=0,p.ParticleUtils.rotatePoint(this.rotation,this.velocity),this.noRotation?this.rotation=0:this.rotation*=p.ParticleUtils.DEG_TO_RADS,this.rotationSpeed*=p.ParticleUtils.DEG_TO_RADS,this.rotationAcceleration*=p.ParticleUtils.DEG_TO_RADS,this.alpha=this.alphaList.current.value,this.scale.x=this.scale.y=this.scaleList.current.value,this._doAlpha=!!this.alphaList.current.next,this._doSpeed=!!this.speedList.current.next,this._doScale=!!this.scaleList.current.next,this._doColor=!!this.colorList.current.next,this._doAcceleration=0!==this.acceleration.x||0!==this.acceleration.y,this._doNormalMovement=this._doSpeed||0!==this.speedList.current.value||this._doAcceleration,this._oneOverLife=1/this.maxLife;var t=this.colorList.current.value;this.tint=p.ParticleUtils.combineRGBComponents(t.r,t.g,t.b),this.visible=!0},i.prototype.applyArt=function(t){this.texture=t||v.Texture.EMPTY},i.prototype.update=function(t){if(this.age+=t,this.age>=this.maxLife||this.age<0)return this.kill(),-1;var e=this.age*this._oneOverLife;if(this.ease&&(e=4==this.ease.length?this.ease(e,0,1,1):this.ease(e)),this._doAlpha&&(this.alpha=this.alphaList.interpolate(e)),this._doScale){var r=this.scaleList.interpolate(e)*this.scaleMultiplier;this.scale.x=this.scale.y=r}if(this._doNormalMovement){var i=void 0,n=void 0;if(this._doSpeed){var o=this.speedList.interpolate(e)*this.speedMultiplier;p.ParticleUtils.normalize(this.velocity),p.ParticleUtils.scaleBy(this.velocity,o),i=this.velocity.x*t,n=this.velocity.y*t}else if(this._doAcceleration){var a=this.velocity.x,s=this.velocity.y;if(this.velocity.x+=this.acceleration.x*t,this.velocity.y+=this.acceleration.y*t,this.maxSpeed){var l=p.ParticleUtils.length(this.velocity);l>this.maxSpeed&&p.ParticleUtils.scaleBy(this.velocity,this.maxSpeed/l)}i=(a+this.velocity.x)/2*t,n=(s+this.velocity.y)/2*t}else i=this.velocity.x*t,n=this.velocity.y*t;this.position.x+=i,this.position.y+=n}if(this._doColor&&(this.tint=this.colorList.interpolate(e)),0!==this.rotationAcceleration){var u=this.rotationSpeed+this.rotationAcceleration*t;this.rotation+=(this.rotationSpeed+u)/2*t,this.rotationSpeed=u}else 0!==this.rotationSpeed?this.rotation+=this.rotationSpeed*t:this.acceleration&&!this.noRotation&&(this.rotation=Math.atan2(this.velocity.y,this.velocity.x));return e},i.prototype.kill=function(){this.emitter.recycle(this)},i.prototype.destroy=function(){this.parent&&this.parent.removeChild(this),this.Sprite_destroy(),this.emitter=this.velocity=this.colorList=this.scaleList=this.alphaList=this.speedList=this.ease=this.next=this.prev=null},i.parseArt=function(t){var e;for(e=t.length;0<=e;--e)"string"==typeof t[e]&&(t[e]=h(t[e]));if(p.ParticleUtils.verbose)for(e=t.length-1;0<e;--e)if(t[e].baseTexture!=t[e-1].baseTexture){window.console&&console.warn("PixiParticles: using particle textures from different images may hinder performance in WebGL");break}return t},i.parseData=function(t){return t},i}(v.Sprite),_=function(){function t(t){this.segments=[],this.countingLengths=[],this.totalLength=0,this.init(t)}return t.prototype.init=function(t){if(t&&t.length)if(Array.isArray(t[0]))for(var e=0;e<t.length;++e)for(var r=t[e],i=r[0],n=1;n<r.length;++n){var o=r[n];this.segments.push({p1:i,p2:o,l:0}),i=o}else for(i=t[0],e=1;e<t.length;++e){o=t[e];this.segments.push({p1:i,p2:o,l:0}),i=o}else this.segments.push({p1:{x:0,y:0},p2:{x:0,y:0},l:0});for(e=0;e<this.segments.length;++e){var a=this.segments[e],s=a.p1,l=a.p2,u=Math.sqrt((l.x-s.x)*(l.x-s.x)+(l.y-s.y)*(l.y-s.y));this.segments[e].l=u,this.totalLength+=u,this.countingLengths.push(this.totalLength)}},t.prototype.getRandomPoint=function(t){var e,r,i=Math.random()*this.totalLength;if(1===this.segments.length)e=this.segments[0],r=i;else for(var n=0;n<this.countingLengths.length;++n)if(i<this.countingLengths[n]){e=this.segments[n],r=0===n?i:i-this.countingLengths[n-1];break}r/=e.l||1;var o=e.p1,a=e.p2;t.x=o.x+r*(a.x-o.x),t.y=o.y+r*(a.y-o.y)},t}(),y=v;m=parseInt(/^(\d+)\./.exec(v.VERSION)[1])<5?y.ticker.shared:y.Ticker.shared;var b=new v.Point,x=function(){function t(t,e,r){this._currentImageIndex=-1,this._particleConstructor=g,this.particleImages=null,this.startAlpha=null,this.startSpeed=null,this.minimumSpeedMultiplier=1,this.acceleration=null,this.maxSpeed=NaN,this.startScale=null,this.minimumScaleMultiplier=1,this.startColor=null,this.minLifetime=0,this.maxLifetime=0,this.minStartRotation=0,this.maxStartRotation=0,this.noRotation=!1,this.minRotationSpeed=0,this.maxRotationSpeed=0,this.particleBlendMode=0,this.customEase=null,this.extraData=null,this._frequency=1,this.spawnChance=1,this.maxParticles=1e3,this.emitterLifetime=-1,this.spawnPos=null,this.spawnType=null,this._spawnFunc=null,this.spawnRect=null,this.spawnCircle=null,this.spawnPolygonalChain=null,this.particlesPerWave=1,this.particleSpacing=0,this.angleStart=0,this.rotation=0,this.ownerPos=null,this._prevEmitterPos=null,this._prevPosIsValid=!1,this._posChanged=!1,this._parent=null,this.addAtBack=!1,this.particleCount=0,this._emit=!1,this._spawnTimer=0,this._emitterLife=-1,this._activeParticlesFirst=null,this._activeParticlesLast=null,this._poolFirst=null,this._origConfig=null,this._origArt=null,this._autoUpdate=!1,this._currentImageIndex=-1,this._destroyWhenComplete=!1,this._completeCallback=null,this.parent=t,e&&r&&this.init(e,r),this.recycle=this.recycle,this.update=this.update,this.rotate=this.rotate,this.updateSpawnPos=this.updateSpawnPos,this.updateOwnerPos=this.updateOwnerPos}return Object.defineProperty(t.prototype,"orderedArt",{get:function(){return-1!==this._currentImageIndex},set:function(t){this._currentImageIndex=t?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"frequency",{get:function(){return this._frequency},set:function(t){this._frequency="number"==typeof t&&0<t?t:1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"particleConstructor",{get:function(){return this._particleConstructor},set:function(t){if(t!=this._particleConstructor){this._particleConstructor=t,this.cleanup();for(var e=this._poolFirst;e;e=e.next)e.destroy();this._poolFirst=null,this._origConfig&&this._origArt&&this.init(this._origArt,this._origConfig)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},set:function(t){this.cleanup(),this._parent=t},enumerable:!0,configurable:!0}),t.prototype.init=function(t,e){if(t&&e){this.cleanup(),this._origConfig=e,this._origArt=t,t=Array.isArray(t)?t.slice():[t];var r=this._particleConstructor;this.particleImages=r.parseArt?r.parseArt(t):t,e.alpha?this.startAlpha=d.createList(e.alpha):this.startAlpha=new d(1,0),e.speed?(this.startSpeed=d.createList(e.speed),this.minimumSpeedMultiplier=("minimumSpeedMultiplier"in e?e.minimumSpeedMultiplier:e.speed.minimumSpeedMultiplier)||1):(this.minimumSpeedMultiplier=1,this.startSpeed=new d(0,0));var i=e.acceleration;i&&(i.x||i.y)?(this.startSpeed.next=null,this.acceleration=new v.Point(i.x,i.y),this.maxSpeed=e.maxSpeed||NaN):this.acceleration=new v.Point,e.scale?(this.startScale=d.createList(e.scale),this.minimumScaleMultiplier=("minimumScaleMultiplier"in e?e.minimumScaleMultiplier:e.scale.minimumScaleMultiplier)||1):(this.startScale=new d(1,0),this.minimumScaleMultiplier=1),e.color?this.startColor=d.createList(e.color):this.startColor=new d({r:255,g:255,b:255},0),e.startRotation?(this.minStartRotation=e.startRotation.min,this.maxStartRotation=e.startRotation.max):this.minStartRotation=this.maxStartRotation=0,e.noRotation&&(this.minStartRotation||this.maxStartRotation)?this.noRotation=!!e.noRotation:this.noRotation=!1,e.rotationSpeed?(this.minRotationSpeed=e.rotationSpeed.min,this.maxRotationSpeed=e.rotationSpeed.max):this.minRotationSpeed=this.maxRotationSpeed=0,this.rotationAcceleration=e.rotationAcceleration||0,this.minLifetime=e.lifetime.min,this.maxLifetime=e.lifetime.max,this.particleBlendMode=p.ParticleUtils.getBlendMode(e.blendMode),e.ease?this.customEase="function"==typeof e.ease?e.ease:p.ParticleUtils.generateEase(e.ease):this.customEase=null,r.parseData?this.extraData=r.parseData(e.extraData):this.extraData=e.extraData||null,this.spawnRect=this.spawnCircle=null,this.particlesPerWave=1,e.particlesPerWave&&1<e.particlesPerWave&&(this.particlesPerWave=e.particlesPerWave),this.particleSpacing=0,this.angleStart=0,this.parseSpawnType(e),this.frequency=e.frequency,this.spawnChance="number"==typeof e.spawnChance&&0<e.spawnChance?e.spawnChance:1,this.emitterLifetime=e.emitterLifetime||-1,this.maxParticles=0<e.maxParticles?e.maxParticles:1e3,this.addAtBack=!!e.addAtBack,this.rotation=0,this.ownerPos=new v.Point,this.spawnPos=new v.Point(e.pos.x,e.pos.y),this.initAdditional(t,e),this._prevEmitterPos=this.spawnPos.clone(),this._prevPosIsValid=!1,this._spawnTimer=0,this.emit=void 0===e.emit||!!e.emit,this.autoUpdate=!!e.autoUpdate,this.orderedArt=!!e.orderedArt}},t.prototype.initAdditional=function(t,e){},t.prototype.parseSpawnType=function(t){var e;switch(t.spawnType){case"rect":this.spawnType="rect",this._spawnFunc=this._spawnRect;var r=t.spawnRect;this.spawnRect=new v.Rectangle(r.x,r.y,r.w,r.h);break;case"circle":this.spawnType="circle",this._spawnFunc=this._spawnCircle,e=t.spawnCircle,this.spawnCircle=new v.Circle(e.x,e.y,e.r);break;case"ring":this.spawnType="ring",this._spawnFunc=this._spawnRing,e=t.spawnCircle,this.spawnCircle=new v.Circle(e.x,e.y,e.r),this.spawnCircle.minRadius=e.minR;break;case"burst":this.spawnType="burst",this._spawnFunc=this._spawnBurst,this.particleSpacing=t.particleSpacing,this.angleStart=t.angleStart?t.angleStart:0;break;case"point":this.spawnType="point",this._spawnFunc=this._spawnPoint;break;case"polygonalChain":this.spawnType="polygonalChain",this._spawnFunc=this._spawnPolygonalChain,this.spawnPolygonalChain=new _(t.spawnPolygon);break;default:this.spawnType="point",this._spawnFunc=this._spawnPoint}},t.prototype.recycle=function(t){t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next),t==this._activeParticlesLast&&(this._activeParticlesLast=t.prev),t==this._activeParticlesFirst&&(this._activeParticlesFirst=t.next),t.prev=null,t.next=this._poolFirst,(this._poolFirst=t).parent&&t.parent.removeChild(t),--this.particleCount},t.prototype.rotate=function(t){if(this.rotation!=t){var e=t-this.rotation;this.rotation=t,p.ParticleUtils.rotatePoint(e,this.spawnPos),this._posChanged=!0}},t.prototype.updateSpawnPos=function(t,e){this._posChanged=!0,this.spawnPos.x=t,this.spawnPos.y=e},t.prototype.updateOwnerPos=function(t,e){this._posChanged=!0,this.ownerPos.x=t,this.ownerPos.y=e},t.prototype.resetPositionTracking=function(){this._prevPosIsValid=!1},Object.defineProperty(t.prototype,"emit",{get:function(){return this._emit},set:function(t){this._emit=!!t,this._emitterLife=this.emitterLifetime},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){this._autoUpdate&&!t?m.remove(this.update,this):!this._autoUpdate&&t&&m.add(this.update,this),this._autoUpdate=!!t},enumerable:!0,configurable:!0}),t.prototype.playOnceAndDestroy=function(t){this.autoUpdate=!0,this.emit=!0,this._destroyWhenComplete=!0,this._completeCallback=t},t.prototype.playOnce=function(t){this.emit=!0,this._completeCallback=t},t.prototype.update=function(t){if(this._autoUpdate&&(t=t/v.settings.TARGET_FPMS/1e3),this._parent){var e,r,i,n,o;for(r=this._activeParticlesFirst;r;r=i)i=r.next,r.update(t);this._prevPosIsValid&&(n=this._prevEmitterPos.x,o=this._prevEmitterPos.y);var a=this.ownerPos.x+this.spawnPos.x,s=this.ownerPos.y+this.spawnPos.y;if(this._emit)for(this._spawnTimer-=t<0?0:t;this._spawnTimer<=0;){if(0<this._emitterLife&&(this._emitterLife-=this._frequency,this._emitterLife<=0)){this._spawnTimer=0,this._emitterLife=0,this.emit=!1;break}if(this.particleCount>=this.maxParticles)this._spawnTimer+=this._frequency;else{var l=void 0;if(l=this.minLifetime==this.maxLifetime?this.minLifetime:Math.random()*(this.maxLifetime-this.minLifetime)+this.minLifetime,-this._spawnTimer<l){var u=void 0,h=void 0;if(this._prevPosIsValid&&this._posChanged){var c=1+this._spawnTimer/t;u=(a-n)*c+n,h=(s-o)*c+o}else u=a,h=s;e=0;for(var f=Math.min(this.particlesPerWave,this.maxParticles-this.particleCount);e<f;++e)if(!(this.spawnChance<1&&Math.random()>=this.spawnChance)){var p=void 0;if(this._poolFirst?(p=this._poolFirst,this._poolFirst=this._poolFirst.next,p.next=null):p=new this.particleConstructor(this),1<this.particleImages.length?-1!==this._currentImageIndex?(p.applyArt(this.particleImages[this._currentImageIndex++]),(this._currentImageIndex<0||this._currentImageIndex>=this.particleImages.length)&&(this._currentImageIndex=0)):p.applyArt(this.particleImages[Math.floor(Math.random()*this.particleImages.length)]):p.applyArt(this.particleImages[0]),p.alphaList.reset(this.startAlpha),1!=this.minimumSpeedMultiplier&&(p.speedMultiplier=Math.random()*(1-this.minimumSpeedMultiplier)+this.minimumSpeedMultiplier),p.speedList.reset(this.startSpeed),p.acceleration.x=this.acceleration.x,p.acceleration.y=this.acceleration.y,p.maxSpeed=this.maxSpeed,1!=this.minimumScaleMultiplier&&(p.scaleMultiplier=Math.random()*(1-this.minimumScaleMultiplier)+this.minimumScaleMultiplier),p.scaleList.reset(this.startScale),p.colorList.reset(this.startColor),this.minRotationSpeed==this.maxRotationSpeed?p.rotationSpeed=this.minRotationSpeed:p.rotationSpeed=Math.random()*(this.maxRotationSpeed-this.minRotationSpeed)+this.minRotationSpeed,p.rotationAcceleration=this.rotationAcceleration,p.noRotation=this.noRotation,p.maxLife=l,p.blendMode=this.particleBlendMode,p.ease=this.customEase,p.extraData=this.extraData,this.applyAdditionalProperties(p),this._spawnFunc(p,u,h,e),p.init(),p.update(-this._spawnTimer),p.parent){var d=this._parent.children;if(d[0]==p)d.shift();else if(d[d.length-1]==p)d.pop();else{var m=d.indexOf(p);d.splice(m,1)}this.addAtBack?d.unshift(p):d.push(p)}else this.addAtBack?this._parent.addChildAt(p,0):this._parent.addChild(p);this._activeParticlesLast?((this._activeParticlesLast.next=p).prev=this._activeParticlesLast,this._activeParticlesLast=p):this._activeParticlesLast=this._activeParticlesFirst=p,++this.particleCount}}this._spawnTimer+=this._frequency}}if(this._posChanged&&(this._prevEmitterPos.x=a,this._prevEmitterPos.y=s,this._prevPosIsValid=!0,this._posChanged=!1),!this._emit&&!this._activeParticlesFirst){if(this._completeCallback){var g=this._completeCallback;this._completeCallback=null,g()}this._destroyWhenComplete&&this.destroy()}}},t.prototype.applyAdditionalProperties=function(t){},t.prototype._spawnPoint=function(t,e,r){this.minStartRotation==this.maxStartRotation?t.rotation=this.minStartRotation+this.rotation:t.rotation=Math.random()*(this.maxStartRotation-this.minStartRotation)+this.minStartRotation+this.rotation,t.position.x=e,t.position.y=r},t.prototype._spawnRect=function(t,e,r){this.minStartRotation==this.maxStartRotation?t.rotation=this.minStartRotation+this.rotation:t.rotation=Math.random()*(this.maxStartRotation-this.minStartRotation)+this.minStartRotation+this.rotation,b.x=Math.random()*this.spawnRect.width+this.spawnRect.x,b.y=Math.random()*this.spawnRect.height+this.spawnRect.y,0!==this.rotation&&p.ParticleUtils.rotatePoint(this.rotation,b),t.position.x=e+b.x,t.position.y=r+b.y},t.prototype._spawnCircle=function(t,e,r){this.minStartRotation==this.maxStartRotation?t.rotation=this.minStartRotation+this.rotation:t.rotation=Math.random()*(this.maxStartRotation-this.minStartRotation)+this.minStartRotation+this.rotation,b.x=Math.random()*this.spawnCircle.radius,b.y=0,p.ParticleUtils.rotatePoint(360*Math.random(),b),b.x+=this.spawnCircle.x,b.y+=this.spawnCircle.y,0!==this.rotation&&p.ParticleUtils.rotatePoint(this.rotation,b),t.position.x=e+b.x,t.position.y=r+b.y},t.prototype._spawnRing=function(t,e,r){var i=this.spawnCircle;this.minStartRotation==this.maxStartRotation?t.rotation=this.minStartRotation+this.rotation:t.rotation=Math.random()*(this.maxStartRotation-this.minStartRotation)+this.minStartRotation+this.rotation,i.minRadius!==i.radius?b.x=Math.random()*(i.radius-i.minRadius)+i.minRadius:b.x=i.radius,b.y=0;var n=360*Math.random();t.rotation+=n,p.ParticleUtils.rotatePoint(n,b),b.x+=this.spawnCircle.x,b.y+=this.spawnCircle.y,0!==this.rotation&&p.ParticleUtils.rotatePoint(this.rotation,b),t.position.x=e+b.x,t.position.y=r+b.y},t.prototype._spawnPolygonalChain=function(t,e,r){this.minStartRotation==this.maxStartRotation?t.rotation=this.minStartRotation+this.rotation:t.rotation=Math.random()*(this.maxStartRotation-this.minStartRotation)+this.minStartRotation+this.rotation,this.spawnPolygonalChain.getRandomPoint(b),0!==this.rotation&&p.ParticleUtils.rotatePoint(this.rotation,b),t.position.x=e+b.x,t.position.y=r+b.y},t.prototype._spawnBurst=function(t,e,r,i){0===this.particleSpacing?t.rotation=360*Math.random():t.rotation=this.angleStart+this.particleSpacing*i+this.rotation,t.position.x=e,t.position.y=r},t.prototype.cleanup=function(){var t,e;for(t=this._activeParticlesFirst;t;t=e)e=t.next,this.recycle(t),t.parent&&t.parent.removeChild(t);this._activeParticlesFirst=this._activeParticlesLast=null,this.particleCount=0},t.prototype.destroy=function(){var t;this.autoUpdate=!1,this.cleanup();for(var e=this._poolFirst;e;e=t)t=e.next,e.destroy();this._poolFirst=this._parent=this.particleImages=this.spawnPos=this.ownerPos=this.startColor=this.startScale=this.startAlpha=this.startSpeed=this.customEase=this._completeCallback=null},t}(),w=new v.Point,T=["pow","sqrt","abs","floor","round","ceil","E","PI","sin","cos","tan","asin","acos","atan","atan2","log"],k=new RegExp(["[01234567890\\.\\*\\-\\+\\/\\(\\)x ,]"].concat(T).join("|"),"g"),S=function(r){function t(t){var e=r.call(this,t)||this;return e.path=null,e.initialRotation=0,e.initialPosition=new v.Point,e.movement=0,e}return n(t,r),t.prototype.init=function(){this.initialRotation=this.rotation,this.Particle_init(),this.path=this.extraData.path,this._doNormalMovement=!this.path,this.movement=0,this.initialPosition.x=this.position.x,this.initialPosition.y=this.position.y},t.prototype.update=function(t){var e=this.Particle_update(t);if(0<=e&&this.path){var r=this.speedList.interpolate(e)*this.speedMultiplier;this.movement+=r*t,w.x=this.movement,w.y=this.path(this.movement),p.ParticleUtils.rotatePoint(this.initialRotation,w),this.position.x=this.initialPosition.x+w.x,this.position.y=this.initialPosition.y+w.y}return e},t.prototype.destroy=function(){this.Particle_destroy(),this.path=this.initialPosition=null},t.parseArt=function(t){return g.parseArt(t)},t.parseData=function(t){var e={};if(t&&t.path)try{e.path=function(t){for(var e=t.match(k),r=e.length-1;0<=r;--r)0<=T.indexOf(e[r])&&(e[r]="Math."+e[r]);return t=e.join(""),new Function("x","return "+t+";")}(t.path)}catch(t){p.ParticleUtils.verbose&&console.error("PathParticle: error in parsing path expression"),e.path=null}else p.ParticleUtils.verbose&&console.error("PathParticle requires a path string in extraData!"),e.path=null;return e},t}(g),P=function(r){function t(t){var e=r.call(this,t)||this;return e.textures=null,e.duration=0,e.framerate=0,e.elapsed=0,e.loop=!1,e}return n(t,r),t.prototype.init=function(){this.Particle_init(),this.elapsed=0,this.framerate<0&&(this.duration=this.maxLife,this.framerate=this.textures.length/this.duration)},t.prototype.applyArt=function(t){this.textures=t.textures,this.framerate=t.framerate,this.duration=t.duration,this.loop=t.loop},t.prototype.update=function(t){var e=this.Particle_update(t);if(0<=e){this.elapsed+=t,this.elapsed>this.duration&&(this.loop?this.elapsed=this.elapsed%this.duration:this.elapsed=this.duration-1e-6);var r=this.elapsed*this.framerate+1e-7|0;this.texture=this.textures[r]||v.Texture.EMPTY}return e},t.prototype.destroy=function(){this.Particle_destroy(),this.textures=null},t.parseArt=function(t){for(var e,r,i,n,o,a=[],s=0;s<t.length;++s){e=t[s],a[s]=r={},r.textures=o=[],i=e.textures;for(var l=0;l<i.length;++l)if("string"==typeof(n=i[l]))o.push(h(n));else if(n instanceof v.Texture)o.push(n);else{var u=n.count||1;for(n="string"==typeof n.texture?h(n.texture):n.texture;0<u;--u)o.push(n)}"matchLife"==e.framerate?(r.framerate=-1,r.duration=0,r.loop=!1):(r.loop=!!e.loop,r.framerate=0<e.framerate?e.framerate:60,r.duration=o.length/r.framerate)}return a},t}(g);p.GetTextureFromString=h,p.Particle=g,p.Emitter=x,p.PathParticle=S,p.AnimatedParticle=P,p.PolygonalChain=_,p.PropertyList=o,p.PropertyNode=d}(this.PIXI.particles=this.PIXI.particles||{},PIXI),function(t){var e;(e=t.utils||(t.utils={})).getIntersectionFactor=function(t,e,r,i,n){var o=e.x-t.x,a=r.x-i.x,s=r.x-t.x,l=e.y-t.y,u=r.y-i.y,h=r.y-t.y,c=o*u-l*a;if(Math.abs(c)<1e-7)return n.x=o,n.y=l,0;var f=(s*u-h*a)/c,p=(o*h-l*s)/c;return p<1e-6||-1e-6<p-1?-1:(n.x=t.x+f*(e.x-t.x),n.y=t.y+f*(e.y-t.y),1)},e.getPositionFromQuad=function(t,e,r){r=r||new PIXI.Point;var i=1-e.x,n=1-i,o=1-e.y,a=1-o;return r.x=(t[0].x*i+t[1].x*n)*o+(t[3].x*i+t[2].x*n)*a,r.y=(t[0].y*i+t[1].y*n)*o+(t[3].y*i+t[2].y*n)*a,r}}(pixi_projection||(pixi_projection={})),PIXI.projection=pixi_projection,function(t){var e,r=function(){function t(t,e){void 0===e&&(e=!0),this._enabled=!1,this.legacy=t,e&&(this.enabled=!0),this.legacy.proj=this}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!0,configurable:!0}),t.prototype.clear=function(){},t}();t.AbstractProjection=r,(e=t.TRANSFORM_STEP||(t.TRANSFORM_STEP={}))[e.NONE=0]="NONE",e[e.BEFORE_PROJ=4]="BEFORE_PROJ",e[e.PROJ=5]="PROJ",e[e.ALL=9]="ALL"}(pixi_projection||(pixi_projection={}));var __extends=this&&this.__extends||function(){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection,pixi_projection;!function(r){function i(t){var e=this.proj,r=this,i=t._worldID,n=r.localTransform,o=e.scaleAfterAffine&&2<=e.affine;r._localID!==r._currentLocalID&&(o?(n.a=r._cx,n.b=r._sx,n.c=r._cy,n.d=r._sy,n.tx=r.position._x,n.ty=r.position._y):(n.a=r._cx*r.scale._x,n.b=r._sx*r.scale._x,n.c=r._cy*r.scale._y,n.d=r._sy*r.scale._y,n.tx=r.position._x-(r.pivot._x*n.a+r.pivot._y*n.c),n.ty=r.position._y-(r.pivot._x*n.b+r.pivot._y*n.d)),r._currentLocalID=r._localID,e._currentProjID=-1);var a=e._projID;if(e._currentProjID!==a&&(e._currentProjID=a,e.updateLocalTransform(n),r._parentID=-1),r._parentID!==i){var s=t.proj;s&&!s._affine?e.world.setToMult(s.world,e.local):e.world.setToMultLegacy(t.worldTransform,e.local);var l=r.worldTransform;e.world.copyTo(l,e._affine,e.affinePreserveOrientation),o&&(l.a*=r.scale._x,l.b*=r.scale._x,l.c*=r.scale._y,l.d*=r.scale._y,l.tx-=r.pivot._x*l.a+r.pivot._y*l.c,l.ty-=r.pivot._x*l.b+r.pivot._y*l.d),r._parentID=i,r._worldID++}}var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._projID=0,t._currentProjID=-1,t._affine=r.AFFINE.NONE,t.affinePreserveOrientation=!1,t.scaleAfterAffine=!0,t}return __extends(t,e),t.prototype.updateLocalTransform=function(t){},Object.defineProperty(t.prototype,"affine",{get:function(){return this._affine},set:function(t){this._affine!=t&&(this._affine=t,this._currentProjID=-1,this.legacy._currentLocalID=-1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{set:function(t){t!==this._enabled&&(this._enabled=t,this.legacy.updateTransform=t?i:PIXI.Transform.prototype.updateTransform,this.legacy._parentID=-1)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._currentProjID=-1,this._projID=0},t}(r.AbstractProjection);r.LinearProjection=t}(pixi_projection||(pixi_projection={})),function(t){var i=PIXI.TYPES,v=PIXI.utils.premultiplyTint,r=function(r){function t(t){void 0===t&&(t=!1);var e=r.call(this)||this;return e._buffer=new PIXI.Buffer(null,t,!1),e._indexBuffer=new PIXI.Buffer(null,t,!0),e.addAttribute("aVertexPosition",e._buffer,3,!1,i.FLOAT).addAttribute("aTextureCoord",e._buffer,2,!1,i.FLOAT).addAttribute("aColor",e._buffer,4,!0,i.UNSIGNED_BYTE).addAttribute("aTextureId",e._buffer,1,!0,i.FLOAT).addIndex(e._indexBuffer),e}return __extends(t,r),t}(PIXI.Geometry);t.Batch3dGeometry=r;var e=function(){function t(){}return t.create=function(t){var e=Object.assign({vertex:"precision highp float;\nattribute vec3 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position.xyw = projectionMatrix * aVertexPosition;\n gl_Position.z = 0.0;\n \n vTextureCoord = aTextureCoord;\n vTextureId = aTextureId;\n vColor = aColor;\n}\n",fragment:"\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\nvec4 color;\n%forloop%\ngl_FragColor = color * vColor;\n}",geometryClass:r,vertexSize:7},t),i=e.vertex,n=e.fragment,o=e.vertexSize,a=e.geometryClass;return function(r){function t(t){var e=r.call(this,t)||this;return e.shaderGenerator=new PIXI.BatchShaderGenerator(i,n),e.geometryClass=a,e.vertexSize=o,e}return __extends(t,r),t.prototype.packInterleavedGeometry=function(t,e,r,i,n){var o=e.uint32View,a=e.float32View,s=i/this.vertexSize,l=t.uvs,u=t.indices,h=t.vertexData,c=t.vertexData2d,f=t._texture.baseTexture._id,p=Math.min(t.worldAlpha,1),d=p<1&&t._texture.baseTexture.premultiplyAlpha?v(t._tintRGB,p):t._tintRGB+(255*p<<24);if(c)for(var m=0,g=0;g<c.length;g+=3,m+=2)a[i++]=c[g],a[i++]=c[g+1],a[i++]=c[g+2],a[i++]=l[m],a[i++]=l[m+1],o[i++]=d,a[i++]=f;else for(g=0;g<h.length;g+=2)a[i++]=h[g],a[i++]=h[g+1],a[i++]=1,a[i++]=l[g],a[i++]=l[g+1],o[i++]=d,a[i++]=f;for(g=0;g<u.length;g++)r[n++]=s+u[g]},t}(PIXI.AbstractBatchRenderer)},t}();t.Batch2dPluginFactory=e,PIXI.Renderer.registerPlugin("batch2d",e.create({}))}(pixi_projection||(pixi_projection={})),function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.addToBatch=function(t){},e}(PIXI.AbstractBatchRenderer);t.UniformBatchRenderer=e}(pixi_projection||(pixi_projection={})),function(t){var c=[new PIXI.Point,new PIXI.Point,new PIXI.Point,new PIXI.Point],f=[0,0,0,0],e=function(){function t(){this.surfaceID="default",this._updateID=0,this.vertexSrc="",this.fragmentSrc=""}return t.prototype.fillUniforms=function(t){},t.prototype.clear=function(){},t.prototype.boundsQuad=function(t,e,r){for(var i=e[0],n=e[1],o=e[0],a=e[1],s=2;s<8;s+=2)i>e[s]&&(i=e[s]),o<e[s]&&(o=e[s]),n>e[s+1]&&(n=e[s+1]),a<e[s+1]&&(a=e[s+1]);if(c[0].set(i,n),this.apply(c[0],c[0]),c[1].set(o,n),this.apply(c[1],c[1]),c[2].set(o,a),this.apply(c[2],c[2]),c[3].set(i,a),this.apply(c[3],c[3]),r)r.apply(c[0],c[0]),r.apply(c[1],c[1]),r.apply(c[2],c[2]),r.apply(c[3],c[3]),e[0]=c[0].x,e[1]=c[0].y,e[2]=c[1].x,e[3]=c[1].y,e[4]=c[2].x,e[5]=c[2].y,e[6]=c[3].x,e[7]=c[3].y;else{for(s=1;s<=3;s++)if(c[s].y<c[0].y||c[s].y==c[0].y&&c[s].x<c[0].x){var l=c[0];c[0]=c[s],c[s]=l}for(s=1;s<=3;s++)f[s]=Math.atan2(c[s].y-c[0].y,c[s].x-c[0].x);for(s=1;s<=3;s++)for(var u=s+1;u<=3;u++)if(f[s]>f[u]){l=c[s];c[s]=c[u],c[u]=l;var h=f[s];f[s]=f[u],f[u]=h}if(e[0]=c[0].x,e[1]=c[0].y,e[2]=c[1].x,e[3]=c[1].y,e[4]=c[2].x,e[5]=c[2].y,e[6]=c[3].x,e[7]=c[3].y,(c[3].x-c[2].x)*(c[1].y-c[2].y)-(c[1].x-c[2].x)*(c[3].y-c[2].y)<0)return e[4]=c[3].x,void(e[5]=c[3].y)}},t}();t.Surface=e}(pixi_projection||(pixi_projection={})),function(t){var k=new PIXI.Matrix,n=new PIXI.Rectangle,S=new PIXI.Point,e=function(e){function t(){var t=e.call(this)||this;return t.distortion=new PIXI.Point,t}return __extends(t,e),t.prototype.clear=function(){this.distortion.set(0,0)},t.prototype.apply=function(t,e){e=e||new PIXI.Point;var r=this.distortion,i=t.x*t.y;return e.x=t.x+r.x*i,e.y=t.y+r.y*i,e},t.prototype.applyInverse=function(t,e){e=e||new PIXI.Point;var r=t.x,i=t.y,n=this.distortion.x,o=this.distortion.y;if(0==n)e.x=r,e.y=i/(1+o*r);else if(0==o)e.y=i,e.x=r/(1+n*i);else{var a=.5*(i*n-r*o+1)/o,s=a*a+r/o;if(s<=1e-5)return void e.set(NaN,NaN);e.x=0<o?-a+Math.sqrt(s):-a-Math.sqrt(s),e.y=(r/e.x-1)/n}return e},t.prototype.mapSprite=function(t,e,r){var i=t.texture;return n.x=-t.anchor.x*i.orig.width,n.y=-t.anchor.y*i.orig.height,n.width=i.orig.width,n.height=i.orig.height,this.mapQuad(n,e,r||t.transform)},t.prototype.mapQuad=function(t,e,r){var i=-t.x/t.width,n=-t.y/t.height,o=(1-t.x)/t.width,a=(1-t.y)/t.height,s=e[0].x*(1-i)+e[1].x*i,l=e[0].y*(1-i)+e[1].y*i,u=e[0].x*(1-o)+e[1].x*o,h=e[0].y*(1-o)+e[1].y*o,c=e[3].x*(1-i)+e[2].x*i,f=e[3].y*(1-i)+e[2].y*i,p=e[3].x*(1-o)+e[2].x*o,d=e[3].y*(1-o)+e[2].y*o,m=s*(1-n)+c*n,g=l*(1-n)+f*n,v=u*(1-n)+p*n,_=h*(1-n)+d*n,y=s*(1-a)+c*a,b=l*(1-a)+f*a,x=u*(1-a)+p*a,w=h*(1-a)+d*a,T=k;return T.tx=m,T.ty=g,T.a=v-m,T.b=_-g,T.c=y-m,T.d=b-g,S.set(x,w),T.applyInverse(S,S),this.distortion.set(S.x-1,S.y-1),r.setFromMatrix(T),this},t.prototype.fillUniforms=function(t){t.distortion=t.distortion||new Float32Array([0,0,0,0]);var e=Math.abs(this.distortion.x),r=Math.abs(this.distortion.y);t.distortion[0]=1e4*e<=r?0:this.distortion.x,t.distortion[1]=1e4*r<=e?0:this.distortion.y,t.distortion[2]=1/t.distortion[0],t.distortion[3]=1/t.distortion[1]},t}(t.Surface);t.BilinearSurface=e}(pixi_projection||(pixi_projection={})),function(r){var t=function(e){function t(){var t=e.call(this)||this;return t.proj=new r.ProjectionSurface(t.transform),t}return __extends(t,e),Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj},enumerable:!0,configurable:!0}),t}(PIXI.Container);r.Container2s=t}(pixi_projection||(pixi_projection={})),function(r){var i=PIXI.Transform.prototype.updateTransform;function e(t){var e=this.proj,r=t.proj;return r?r._surface?(e._activeProjection=r,this.updateLocalTransform(),this.localTransform.copyFrom(this.worldTransform),void(this._parentID<0&&++this._worldID)):(i.call(this,t),void(e._activeProjection=r._activeProjection)):(i.call(this,t),void(e._activeProjection=null))}var t=function(i){function t(t,e){var r=i.call(this,t,e)||this;return r._surface=null,r._activeProjection=null,r._currentSurfaceID=-1,r._currentLegacyID=-1,r._lastUniforms=null,r}return __extends(t,i),Object.defineProperty(t.prototype,"enabled",{set:function(t){t!==this._enabled&&(this._enabled=t,this.legacy.updateTransform=t?e:PIXI.Transform.prototype.updateTransform,this.legacy._parentID=-1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"surface",{get:function(){return this._surface},set:function(t){this._surface!=t&&(this._surface=t||null,this.legacy._parentID=-1)},enumerable:!0,configurable:!0}),t.prototype.applyPartial=function(t,e){return null!==this._activeProjection?(e=this.legacy.worldTransform.apply(t,e),this._activeProjection.surface.apply(e,e)):null!==this._surface?this.surface.apply(t,e):this.legacy.worldTransform.apply(t,e)},t.prototype.apply=function(t,e){return null!==this._activeProjection?(e=this.legacy.worldTransform.apply(t,e),this._activeProjection.surface.apply(e,e),this._activeProjection.legacy.worldTransform.apply(e,e)):null!==this._surface?(e=this.surface.apply(t,e),this.legacy.worldTransform.apply(e,e)):this.legacy.worldTransform.apply(t,e)},t.prototype.applyInverse=function(t,e){return null!==this._activeProjection?(e=this._activeProjection.legacy.worldTransform.applyInverse(t,e),this._activeProjection._surface.applyInverse(e,e),this.legacy.worldTransform.applyInverse(e,e)):null!==this._surface?(e=this.legacy.worldTransform.applyInverse(t,e),this._surface.applyInverse(e,e)):this.legacy.worldTransform.applyInverse(t,e)},t.prototype.mapBilinearSprite=function(t,e){this._surface instanceof r.BilinearSurface||(this.surface=new r.BilinearSurface),this.surface.mapSprite(t,e,this.legacy)},t.prototype.clear=function(){this.surface&&this.surface.clear()},Object.defineProperty(t.prototype,"uniforms",{get:function(){return this._currentLegacyID===this.legacy._worldID&&this._currentSurfaceID===this.surface._updateID||(this._lastUniforms=this._lastUniforms||{},this._lastUniforms.worldTransform=this.legacy.worldTransform.toArray(!0),this._surface.fillUniforms(this._lastUniforms)),this._lastUniforms},enumerable:!0,configurable:!0}),t}(r.AbstractProjection);r.ProjectionSurface=t}(pixi_projection||(pixi_projection={})),function(r){var i=PIXI.TYPES,d=PIXI.utils.premultiplyTint,t=function(r){function t(t){void 0===t&&(t=!1);var e=r.call(this)||this;return e._buffer=new PIXI.Buffer(null,t,!1),e._indexBuffer=new PIXI.Buffer(null,t,!0),e.addAttribute("aVertexPosition",e._buffer,2,!1,i.FLOAT).addAttribute("aTrans1",e._buffer,3,!1,i.FLOAT).addAttribute("aTrans2",e._buffer,3,!1,i.FLOAT).addAttribute("aFrame",e._buffer,4,!1,i.FLOAT).addAttribute("aColor",e._buffer,4,!0,i.UNSIGNED_BYTE).addIndex(e._indexBuffer),e}return __extends(t,r),t}(PIXI.Geometry);r.BatchBilineardGeometry=t;var e=function(){function t(){}return t.create=function(t){var e=Object.assign({vertex:"precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec3 aTrans1;\nattribute vec3 aTrans2;\nattribute vec4 aFrame;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 worldTransform;\n\nvarying vec2 vTextureCoord;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position.xyw = projectionMatrix * worldTransform * vec3(aVertexPosition, 1.0);\n gl_Position.z = 0.0;\n \n vTextureCoord = aVertexPosition;\n vTrans1 = aTrans1;\n vTrans2 = aTrans2;\n vTextureId = aTextureId;\n vColor = aColor;\n vFrame = aFrame;\n}\n",fragment:"precision highp float;\nvarying vec2 vTextureCoord;\nvarying vec3 vTrans1;\nvarying vec3 vTrans2;\nvarying vec4 vFrame;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nuniform sampler2D uSamplers[%count%];\nuniform vec2 samplerSize[%count%]; \nuniform vec4 distortion;\n\nvoid main(void){\nvec2 surface;\nvec2 surface2;\n\nfloat vx = vTextureCoord.x;\nfloat vy = vTextureCoord.y;\nfloat dx = distortion.x;\nfloat dy = distortion.y;\nfloat revx = distortion.z;\nfloat revy = distortion.w;\n\nif (distortion.x == 0.0) {\n surface.x = vx;\n surface.y = vy / (1.0 + dy * vx);\n surface2 = surface;\n} else\nif (distortion.y == 0.0) {\n surface.y = vy;\n surface.x = vx/ (1.0 + dx * vy);\n surface2 = surface;\n} else {\n float c = vy * dx - vx * dy;\n float b = (c + 1.0) * 0.5;\n float b2 = (-c + 1.0) * 0.5;\n float d = b * b + vx * dy;\n if (d < -0.00001) {\n discard;\n }\n d = sqrt(max(d, 0.0));\n surface.x = (- b + d) * revy;\n surface2.x = (- b - d) * revy;\n surface.y = (- b2 + d) * revx;\n surface2.y = (- b2 - d) * revx;\n}\n\nvec2 uv;\nuv.x = vTrans1.x * surface.x + vTrans1.y * surface.y + vTrans1.z;\nuv.y = vTrans2.x * surface.x + vTrans2.y * surface.y + vTrans2.z;\n\nvec2 pixels = uv * samplerSize[0];\n\nif (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n pixels.y < vFrame.y || pixels.y > vFrame.w) {\n uv.x = vTrans1.x * surface2.x + vTrans1.y * surface2.y + vTrans1.z;\n uv.y = vTrans2.x * surface2.x + vTrans2.y * surface2.y + vTrans2.z;\n pixels = uv * samplerSize[0];\n \n if (pixels.x < vFrame.x || pixels.x > vFrame.z ||\n pixels.y < vFrame.y || pixels.y > vFrame.w) {\n discard;\n }\n}\n\nvec4 edge;\nedge.xy = clamp(pixels - vFrame.xy + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\nedge.zw = clamp(vFrame.zw - pixels + 0.5, vec2(0.0, 0.0), vec2(1.0, 1.0));\n\nfloat alpha = 1.0; //edge.x * edge.y * edge.z * edge.w;\nvec4 rColor = vColor * alpha;\n\nfloat textureId = floor(vTextureId+0.5);\n%forloop%\ngl_FragColor = color * rColor;\n}",geometryClass:r.Batch3dGeometry,vertexSize:7},t),i=e.vertex,n=e.fragment,o=e.vertexSize,a=e.geometryClass;return function(r){function t(t){var e=r.call(this,t)||this;return e.defUniforms={worldTransform:new Float32Array([1,0,0,0,1,0,0,0,1]),distortion:new Float32Array([0,0])},e.shaderGenerator=new PIXI.BatchShaderGenerator(i,n),e.geometryClass=a,e.vertexSize=o,e}return __extends(t,r),t.prototype.getUniforms=function(t){var e=t.proj;this._shader;return null!==e.surface?e.uniforms:null!==e._activeProjection?e._activeProjection.uniforms:this.defUniforms},t.prototype.packGeometry=function(t,e,r,i,n,o){for(var a=n/this.vertexSize,s=(t.uvs,t.indices),l=t.vertexData,u=t._texture._frame,h=t.aTrans,c=Math.min(t.worldAlpha,1),f=c<1&&t._texture.baseTexture.premultiplyAlpha?d(t._tintRGB,c):t._tintRGB+(255*c<<24),p=0;p<l.length;p+=2)e[n]=l[2*p],e[n+1]=l[2*p+1],e[n+2]=h.a,e[n+3]=h.c,e[n+4]=h.tx,e[n+5]=h.b,e[n+6]=h.d,e[n+7]=h.ty,e[n+8]=u.x,e[n+9]=u.y,e[n+10]=u.x+u.width,e[n+11]=u.y+u.height,r[n+12]=f,n+=13;for(p=0;p<s.length;p++)i[o++]=a+s[p]},t}(PIXI.AbstractBatchRenderer)},t}();r.BatchBilinearPluginFactory=e}(pixi_projection||(pixi_projection={})),function(i){var t=function(r){function t(t){var e=r.call(this,t)||this;return e.aTrans=new PIXI.Matrix,e.proj=new i.ProjectionSurface(e.transform),e.pluginName="batch_bilinear",e}return __extends(t,r),t.prototype._calculateBounds=function(){this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData)},t.prototype.calculateVertices=function(){var t=this.transform._worldID,e=this._texture._updateID;if(this._transformID!==t||this._textureID!==e){this._transformID=t,this._textureID=e;var r=this._texture,i=this.vertexData,n=r.trim,o=r.orig,a=this._anchor,s=0,l=0,u=0,h=0;if(u=n?(s=(l=n.x-a._x*o.width)+n.width,(h=n.y-a._y*o.height)+n.height):(s=(l=-a._x*o.width)+o.width,(h=-a._y*o.height)+o.height),this.proj._surface)i[0]=l,i[1]=h,i[2]=s,i[3]=h,i[4]=s,i[5]=u,i[6]=l,i[7]=u,this.proj._surface.boundsQuad(i,i);else{var c=this.transform.worldTransform,f=c.a,p=c.b,d=c.c,m=c.d,g=c.tx,v=c.ty;i[0]=f*l+d*h+g,i[1]=m*h+p*l+v,i[2]=f*s+d*h+g,i[3]=m*h+p*s+v,i[4]=f*s+d*u+g,i[5]=m*u+p*s+v,i[6]=f*l+d*u+g,i[7]=m*u+p*l+v,this.proj._activeProjection&&this.proj._activeProjection.surface.boundsQuad(i,i)}r.uvMatrix||(r.uvMatrix=new PIXI.TextureMatrix(r)),r.uvMatrix.update();var _=this.aTrans;_.set(o.width,0,0,o.height,l,h),null===this.proj._surface&&_.prepend(this.transform.worldTransform),_.invert(),_.prepend(r.uvMatrix.mapCoord)}},t.prototype.calculateTrimmedVertices=function(){var t=this.transform._worldID,e=this._texture._updateID;if(this.vertexTrimmedData){if(this._transformTrimmedID===t&&this._textureTrimmedID===e)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=t,this._textureTrimmedID=e;var r=this._texture,i=this.vertexTrimmedData,n=r.orig,o=this._anchor,a=-o._x*n.width,s=a+n.width,l=-o._y*n.height,u=l+n.height;if(this.proj._surface)i[0]=a,i[1]=l,i[2]=s,i[3]=l,i[4]=s,i[5]=u,i[6]=a,i[7]=u,this.proj._surface.boundsQuad(i,i,this.transform.worldTransform);else{var h=this.transform.worldTransform,c=h.a,f=h.b,p=h.c,d=h.d,m=h.tx,g=h.ty;i[0]=c*a+p*l+m,i[1]=d*l+f*a+g,i[2]=c*s+p*l+m,i[3]=d*l+f*s+g,i[4]=c*s+p*u+m,i[5]=d*u+f*s+g,i[6]=c*a+p*u+m,i[7]=d*u+f*a+g,this.proj._activeProjection&&this.proj._activeProjection.surface.boundsQuad(i,i,this.proj._activeProjection.legacy.worldTransform)}},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj},enumerable:!0,configurable:!0}),t}(PIXI.Sprite);i.Sprite2s=t}(pixi_projection||(pixi_projection={})),function(o){var t=function(n){function t(t,e,r){var i=n.call(this,t,e,r)||this;return i.aTrans=new PIXI.Matrix,i.proj=new o.ProjectionSurface(i.transform),i.pluginName="batch_bilinear",i}return __extends(t,n),Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj},enumerable:!0,configurable:!0}),t}(PIXI.Text);(o.Text2s=t).prototype.calculateVertices=o.Sprite2s.prototype.calculateVertices,t.prototype.calculateTrimmedVertices=o.Sprite2s.prototype.calculateTrimmedVertices,t.prototype._calculateBounds=o.Sprite2s.prototype._calculateBounds}(pixi_projection||(pixi_projection={})),function(t){PIXI.Sprite.prototype.convertTo2s=function(){this.proj||(this.pluginName="sprite_bilinear",this.aTrans=new PIXI.Matrix,this.calculateVertices=t.Sprite2s.prototype.calculateVertices,this.calculateTrimmedVertices=t.Sprite2s.prototype.calculateTrimmedVertices,this._calculateBounds=t.Sprite2s.prototype._calculateBounds,PIXI.Container.prototype.convertTo2s.call(this))},PIXI.Container.prototype.convertTo2s=function(){this.proj||(this.proj=new t.Projection2d(this.transform),Object.defineProperty(this,"worldTransform",{get:function(){return this.proj},enumerable:!0,configurable:!0}))},PIXI.Container.prototype.convertSubtreeTo2s=function(){this.convertTo2s();for(var t=0;t<this.children.length;t++)this.children[t].convertSubtreeTo2s()}}(pixi_projection||(pixi_projection={})),function(o){o.container2dWorldTransform=function(){return this.proj.affine?this.transform.worldTransform:this.proj.world};var t=function(e){function t(){var t=e.call(this)||this;return t.proj=new o.Projection2d(t.transform),t}return __extends(t,e),t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),e&&(t=e.toGlobal(t,r,i)),i||this._recursivePostUpdateTransform(),n>=o.TRANSFORM_STEP.PROJ?(i||this.displayObjectUpdateTransform(),this.proj.affine?this.transform.worldTransform.applyInverse(t,r):this.proj.world.applyInverse(t,r)):(this.parent?r=this.parent.worldTransform.applyInverse(t,r):r.copyFrom(t),n===o.TRANSFORM_STEP.NONE?r:this.transform.localTransform.applyInverse(r,r))},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t}(PIXI.Container);o.Container2d=t,o.container2dToLocal=t.prototype.toLocal}(pixi_projection||(pixi_projection={})),function(t){var l,e,v=PIXI.Point,r=[1,0,0,0,1,0,0,0,1];(e=l=t.AFFINE||(t.AFFINE={}))[e.NONE=0]="NONE",e[e.FREE=1]="FREE",e[e.AXIS_X=2]="AXIS_X",e[e.AXIS_Y=3]="AXIS_Y",e[e.POINT=4]="POINT",e[e.AXIS_XR=5]="AXIS_XR";var i=function(){function t(t){this.floatArray=null,this.mat3=new Float64Array(t||r)}return Object.defineProperty(t.prototype,"a",{get:function(){return this.mat3[0]/this.mat3[8]},set:function(t){this.mat3[0]=t*this.mat3[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){return this.mat3[1]/this.mat3[8]},set:function(t){this.mat3[1]=t*this.mat3[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"c",{get:function(){return this.mat3[3]/this.mat3[8]},set:function(t){this.mat3[3]=t*this.mat3[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"d",{get:function(){return this.mat3[4]/this.mat3[8]},set:function(t){this.mat3[4]=t*this.mat3[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tx",{get:function(){return this.mat3[6]/this.mat3[8]},set:function(t){this.mat3[6]=t*this.mat3[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ty",{get:function(){return this.mat3[7]/this.mat3[8]},set:function(t){this.mat3[7]=t*this.mat3[8]},enumerable:!0,configurable:!0}),t.prototype.set=function(t,e,r,i,n,o){var a=this.mat3;return a[0]=t,a[1]=e,a[2]=0,a[3]=r,a[4]=i,a[5]=0,a[6]=n,a[7]=o,a[8]=1,this},t.prototype.toArray=function(t,e){this.floatArray||(this.floatArray=new Float32Array(9));var r=e||this.floatArray,i=this.mat3;return t?(r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],r[4]=i[4],r[5]=i[5],r[6]=i[6],r[7]=i[7]):(r[0]=i[0],r[1]=i[3],r[2]=i[6],r[3]=i[1],r[4]=i[4],r[5]=i[7],r[6]=i[2],r[7]=i[5]),r[8]=i[8],r},t.prototype.apply=function(t,e){e=e||new PIXI.Point;var r=this.mat3,i=t.x,n=t.y,o=1/(r[2]*i+r[5]*n+r[8]);return e.x=o*(r[0]*i+r[3]*n+r[6]),e.y=o*(r[1]*i+r[4]*n+r[7]),e},t.prototype.translate=function(t,e){var r=this.mat3;return r[0]+=t*r[2],r[1]+=e*r[2],r[3]+=t*r[5],r[4]+=e*r[5],r[6]+=t*r[8],r[7]+=e*r[8],this},t.prototype.scale=function(t,e){var r=this.mat3;return r[0]*=t,r[1]*=e,r[3]*=t,r[4]*=e,r[6]*=t,r[7]*=e,this},t.prototype.scaleAndTranslate=function(t,e,r,i){var n=this.mat3;n[0]=t*n[0]+r*n[2],n[1]=e*n[1]+i*n[2],n[3]=t*n[3]+r*n[5],n[4]=e*n[4]+i*n[5],n[6]=t*n[6]+r*n[8],n[7]=e*n[7]+i*n[8]},t.prototype.applyInverse=function(t,e){e=e||new v;var r=this.mat3,i=t.x,n=t.y,o=r[0],a=r[3],s=r[6],l=r[1],u=r[4],h=r[7],c=r[2],f=r[5],p=r[8],d=(p*u-h*f)*i+(-p*a+s*f)*n+(h*a-s*u),m=(-p*l+h*c)*i+(p*o-s*c)*n+(-h*o+s*l),g=(f*l-u*c)*i+(-f*o+a*c)*n+(u*o-a*l);return e.x=d/g,e.y=m/g,e},t.prototype.invert=function(){var t=this.mat3,e=t[0],r=t[1],i=t[2],n=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],h=u*o-a*l,c=-u*n+a*s,f=l*n-o*s,p=e*h+r*c+i*f;return p&&(p=1/p,t[0]=h*p,t[1]=(-u*r+i*l)*p,t[2]=(a*r-i*o)*p,t[3]=c*p,t[4]=(u*e-i*s)*p,t[5]=(-a*e+i*n)*p,t[6]=f*p,t[7]=(-l*e+r*s)*p,t[8]=(o*e-r*n)*p),this},t.prototype.identity=function(){var t=this.mat3;return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,this},t.prototype.clone=function(){return new t(this.mat3)},t.prototype.copyTo2dOr3d=function(t){var e=this.mat3,r=t.mat3;return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r[6]=e[6],r[7]=e[7],r[8]=e[8],t},t.prototype.copyTo=function(t,e,r){var i=this.mat3,n=1/i[8],o=i[6]*n,a=i[7]*n;if(t.a=(i[0]-i[2]*o)*n,t.b=(i[1]-i[2]*a)*n,t.c=(i[3]-i[5]*o)*n,t.d=(i[4]-i[5]*a)*n,t.tx=o,t.ty=a,2<=e){var s=t.a*t.d-t.b*t.c;r||(s=Math.abs(s)),e===l.POINT?(s=0<s?1:-1,t.a=s,t.b=0,t.c=0,t.d=s):e===l.AXIS_X?(s/=Math.sqrt(t.b*t.b+t.d*t.d),t.c=0,t.d=s):e===l.AXIS_Y?(s/=Math.sqrt(t.a*t.a+t.c*t.c),t.a=s,t.c=0):e===l.AXIS_XR&&(t.a=t.d*s,t.c=-t.b*s)}return t},t.prototype.copyFrom=function(t){var e=this.mat3;return e[0]=t.a,e[1]=t.b,e[2]=0,e[3]=t.c,e[4]=t.d,e[5]=0,e[6]=t.tx,e[7]=t.ty,e[8]=1,this},t.prototype.setToMultLegacy=function(t,e){var r=this.mat3,i=e.mat3,n=t.a,o=t.b,a=t.c,s=t.d,l=t.tx,u=t.ty,h=i[0],c=i[1],f=i[2],p=i[3],d=i[4],m=i[5],g=i[6],v=i[7],_=i[8];return r[0]=h*n+c*a+f*l,r[1]=h*o+c*s+f*u,r[2]=f,r[3]=p*n+d*a+m*l,r[4]=p*o+d*s+m*u,r[5]=m,r[6]=g*n+v*a+_*l,r[7]=g*o+v*s+_*u,r[8]=_,this},t.prototype.setToMultLegacy2=function(t,e){var r=this.mat3,i=t.mat3,n=i[0],o=i[1],a=i[2],s=i[3],l=i[4],u=i[5],h=i[6],c=i[7],f=i[8],p=e.a,d=e.b,m=e.c,g=e.d,v=e.tx,_=e.ty;return r[0]=p*n+d*s,r[1]=p*o+d*l,r[2]=p*a+d*u,r[3]=m*n+g*s,r[4]=m*o+g*l,r[5]=m*a+g*u,r[6]=v*n+_*s+h,r[7]=v*o+_*l+c,r[8]=v*a+_*u+f,this},t.prototype.setToMult=function(t,e){var r=this.mat3,i=t.mat3,n=e.mat3,o=i[0],a=i[1],s=i[2],l=i[3],u=i[4],h=i[5],c=i[6],f=i[7],p=i[8],d=n[0],m=n[1],g=n[2],v=n[3],_=n[4],y=n[5],b=n[6],x=n[7],w=n[8];return r[0]=d*o+m*l+g*c,r[1]=d*a+m*u+g*f,r[2]=d*s+m*h+g*p,r[3]=v*o+_*l+y*c,r[4]=v*a+_*u+y*f,r[5]=v*s+_*h+y*p,r[6]=b*o+x*l+w*c,r[7]=b*a+x*u+w*f,r[8]=b*s+x*h+w*p,this},t.prototype.prepend=function(t){return t.mat3?this.setToMult(t,this):this.setToMultLegacy(t,this)},t.IDENTITY=new t,t.TEMP_MATRIX=new t,t}();t.Matrix2d=i}(pixi_projection||(pixi_projection={})),function(p){var d=new PIXI.Point,m=[new PIXI.Point,new PIXI.Point,new PIXI.Point,new PIXI.Point],n=new PIXI.Rectangle,g=new p.Matrix2d,t=function(i){function t(t,e){var r=i.call(this,t,e)||this;return r.matrix=new p.Matrix2d,r.pivot=new PIXI.ObservablePoint(r.onChange,r,0,0),r.reverseLocalOrder=!1,r.local=new p.Matrix2d,r.world=new p.Matrix2d,r}return __extends(t,i),t.prototype.onChange=function(){var t=this.pivot,e=this.matrix.mat3;e[6]=-(t._x*e[0]+t._y*e[3]),e[7]=-(t._x*e[1]+t._y*e[4]),this._projID++},t.prototype.setAxisX=function(t,e){void 0===e&&(e=1);var r=t.x,i=t.y,n=Math.sqrt(r*r+i*i),o=this.matrix.mat3;o[0]=r/n,o[1]=i/n,o[2]=e/n,this.onChange()},t.prototype.setAxisY=function(t,e){void 0===e&&(e=1);var r=t.x,i=t.y,n=Math.sqrt(r*r+i*i),o=this.matrix.mat3;o[3]=r/n,o[4]=i/n,o[5]=e/n,this.onChange()},t.prototype.mapSprite=function(t,e){var r=t.texture;return n.x=-t.anchor.x*r.orig.width,n.y=-t.anchor.y*r.orig.height,n.width=r.orig.width,n.height=r.orig.height,this.mapQuad(n,e)},t.prototype.mapQuad=function(t,e){m[0].set(t.x,t.y),m[1].set(t.x+t.width,t.y),m[2].set(t.x+t.width,t.y+t.height),m[3].set(t.x,t.y+t.height);var r=1,i=2,n=3;if(0!==p.utils.getIntersectionFactor(e[0],e[2],e[1],e[3],d)){r=1,i=3,n=2;var o=Math.sqrt((e[0].x-d.x)*(e[0].x-d.x)+(e[0].y-d.y)*(e[0].y-d.y)),a=Math.sqrt((e[r].x-d.x)*(e[r].x-d.x)+(e[r].y-d.y)*(e[r].y-d.y)),s=Math.sqrt((e[i].x-d.x)*(e[i].x-d.x)+(e[i].y-d.y)*(e[i].y-d.y)),l=Math.sqrt((e[n].x-d.x)*(e[n].x-d.x)+(e[n].y-d.y)*(e[n].y-d.y)),u=(o+l)/l,h=(a+s)/s,c=(a+s)/a,f=this.matrix.mat3;f[0]=m[0].x*u,f[1]=m[0].y*u,f[2]=u,f[3]=m[r].x*h,f[4]=m[r].y*h,f[5]=h,f[6]=m[i].x*c,f[7]=m[i].y*c,f[8]=c,this.matrix.invert(),(f=g.mat3)[0]=e[0].x,f[1]=e[0].y,f[2]=1,f[3]=e[r].x,f[4]=e[r].y,f[5]=1,f[6]=e[i].x,f[7]=e[i].y,f[8]=1,this.matrix.setToMult(g,this.matrix),this._projID++}},t.prototype.updateLocalTransform=function(t){0!==this._projID?this.reverseLocalOrder?this.local.setToMultLegacy2(this.matrix,t):this.local.setToMultLegacy(t,this.matrix):this.local.copyFrom(t)},t.prototype.clear=function(){i.prototype.clear.call(this),this.matrix.identity(),this.pivot.set(0,0)},t}(p.LinearProjection);p.Projection2d=t}(pixi_projection||(pixi_projection={})),function(o){var s=function(c){function t(t,e,r,i){var n=c.call(this,t,e,r,i)||this;return n.vertexData2d=null,n.proj=new o.Projection2d(n.transform),n}return __extends(t,c),t.prototype.calculateVertices=function(){if(this.proj._affine)return this.vertexData2d=null,void c.prototype.calculateVertices.call(this);var t=this.geometry,e=t.buffers[0].data;if(t.vertexDirtyId!==this.vertexDirty||this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID,this.vertexData.length!==e.length&&(this.vertexData=new Float32Array(e.length)),this.vertexData2d.length!==3*e.length/2&&(this.vertexData2d=new Float32Array(3*e.length));for(var r=this.proj.world.mat3,i=this.vertexData2d,n=this.vertexData,o=0;o<n.length/2;o++){var a=e[2*o],s=e[2*o+1],l=r[0]*a+r[3]*s+r[6],u=r[1]*a+r[4]*s+r[7],h=r[2]*a+r[5]*s+r[8];i[3*o]=l,i[3*o+1]=u,i[3*o+2]=h,n[2*o]=l/h,n[2*o+1]=u/h}this.vertexDirty=t.vertexDirtyId}},t.prototype._renderDefault=function(t){var e=this.shader;e.alpha=this.worldAlpha,e.update&&e.update(),t.batch.flush(),e.program.uniformData.translationMatrix&&(e.uniforms.translationMatrix=this.worldTransform.toArray(!0)),t.shader.bind(e,!1),t.state.set(this.state),t.geometry.bind(this.geometry,e),t.geometry.draw(this.drawMode,this.size,this.start,this.geometry.instanceCount)},t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),o.container2dToLocal.call(this,t,e,r,i,n)},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t.defaultVertexShader="precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position.xyw = projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0);\n gl_Position.z = 0.0;\n\n vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n",t.defaultFragmentShader="\nvarying vec2 vTextureCoord;\nuniform vec4 uColor;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uColor;\n}",t}(PIXI.Mesh),t=function(a){function t(t,e,r,i,n){var o=a.call(this,new PIXI.MeshGeometry(e,r,i),new PIXI.MeshMaterial(t,{program:PIXI.Program.from(s.defaultVertexShader,s.defaultFragmentShader),pluginName:"batch2d"}),null,n)||this;return o.autoUpdate=!0,o.geometry.getBuffer("aVertexPosition").static=!1,o}return __extends(t,a),Object.defineProperty(t.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!0,configurable:!0}),t.prototype._render=function(t){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),a.prototype._render.call(this,t)},t}(o.Mesh2d=s);o.SimpleMesh2d=t}(pixi_projection||(pixi_projection={})),function(o){var t=function(p){function t(t){var e=p.call(this,t)||this;return e.vertexData2d=null,e.proj=new o.Projection2d(e.transform),e.pluginName="batch2d",e}return __extends(t,p),t.prototype._calculateBounds=function(){this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData)},t.prototype.calculateVertices=function(){var t=this._texture;if(this.proj._affine)return this.vertexData2d=null,void p.prototype.calculateVertices.call(this);this.vertexData2d||(this.vertexData2d=new Float32Array(12));var e=this.transform._worldID,r=t._updateID;if(this._transformID!==e||this._textureID!==r){this._textureID!==r&&(this.uvs=t._uvs.uvsFloat32),this._transformID=e,this._textureID=r;var i=this.proj.world.mat3,n=this.vertexData2d,o=this.vertexData,a=t.trim,s=t.orig,l=this._anchor,u=0,h=0,c=0,f=0;c=a?(u=(h=a.x-l._x*s.width)+a.width,(f=a.y-l._y*s.height)+a.height):(u=(h=-l._x*s.width)+s.width,(f=-l._y*s.height)+s.height),n[0]=i[0]*h+i[3]*f+i[6],n[1]=i[1]*h+i[4]*f+i[7],n[2]=i[2]*h+i[5]*f+i[8],n[3]=i[0]*u+i[3]*f+i[6],n[4]=i[1]*u+i[4]*f+i[7],n[5]=i[2]*u+i[5]*f+i[8],n[6]=i[0]*u+i[3]*c+i[6],n[7]=i[1]*u+i[4]*c+i[7],n[8]=i[2]*u+i[5]*c+i[8],n[9]=i[0]*h+i[3]*c+i[6],n[10]=i[1]*h+i[4]*c+i[7],n[11]=i[2]*h+i[5]*c+i[8],o[0]=n[0]/n[2],o[1]=n[1]/n[2],o[2]=n[3]/n[5],o[3]=n[4]/n[5],o[4]=n[6]/n[8],o[5]=n[7]/n[8],o[6]=n[9]/n[11],o[7]=n[10]/n[11]}},t.prototype.calculateTrimmedVertices=function(){if(this.proj._affine)p.prototype.calculateTrimmedVertices.call(this);else{var t=this.transform._worldID,e=this._texture._updateID;if(this.vertexTrimmedData){if(this._transformTrimmedID===t&&this._textureTrimmedID===e)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=t,this._textureTrimmedID=e;var r=this._texture,i=this.vertexTrimmedData,n=r.orig,o=this._anchor,a=this.proj.world.mat3,s=-o._x*n.width,l=s+n.width,u=-o._y*n.height,h=u+n.height,c=1/(a[2]*s+a[5]*u+a[8]);i[0]=c*(a[0]*s+a[3]*u+a[6]),i[1]=c*(a[1]*s+a[4]*u+a[7]),c=1/(a[2]*l+a[5]*u+a[8]),i[2]=c*(a[0]*l+a[3]*u+a[6]),i[3]=c*(a[1]*l+a[4]*u+a[7]),c=1/(a[2]*l+a[5]*h+a[8]),i[4]=c*(a[0]*l+a[3]*h+a[6]),i[5]=c*(a[1]*l+a[4]*h+a[7]),c=1/(a[2]*s+a[5]*h+a[8]),i[6]=c*(a[0]*s+a[3]*h+a[6]),i[7]=c*(a[1]*s+a[4]*h+a[7])}},t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),o.container2dToLocal.call(this,t,e,r,i,n)},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t}(PIXI.Sprite);o.Sprite2d=t}(pixi_projection||(pixi_projection={})),function(o){var t=function(n){function t(t,e,r){var i=n.call(this,t,e,r)||this;return i.vertexData2d=null,i.proj=new o.Projection2d(i.transform),i.pluginName="batch2d",i}return __extends(t,n),Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t}(PIXI.Text);(o.Text2d=t).prototype.calculateVertices=o.Sprite2d.prototype.calculateVertices,t.prototype.calculateTrimmedVertices=o.Sprite2d.prototype.calculateTrimmedVertices,t.prototype._calculateBounds=o.Sprite2d.prototype._calculateBounds}(pixi_projection||(pixi_projection={})),function(t){function e(){this.proj||(this.proj=new t.Projection2d(this.transform),this.toLocal=t.Container2d.prototype.toLocal,Object.defineProperty(this,"worldTransform",{get:t.container2dWorldTransform,enumerable:!0,configurable:!0}))}PIXI.Container.prototype.convertTo2d=e,PIXI.Sprite.prototype.convertTo2d=function(){this.proj||(this.calculateVertices=t.Sprite2d.prototype.calculateVertices,this.calculateTrimmedVertices=t.Sprite2d.prototype.calculateTrimmedVertices,this._calculateBounds=t.Sprite2d.prototype._calculateBounds,this.pluginName="sprite2d",e.call(this))},PIXI.Container.prototype.convertSubtreeTo2d=function(){this.convertTo2d();for(var t=0;t<this.children.length;t++)this.children[t].convertSubtreeTo2d()},PIXI.SimpleMesh&&(PIXI.SimpleMesh.prototype.convertTo2d=PIXI.SimpleRope.prototype.convertTo2d=function(){this.proj||(this.calculateVertices=t.Mesh2d.prototype.calculateVertices,this._renderDefault=t.Mesh2d.prototype._renderDefault,"batch2d"!==this.material.pluginName&&(this.material=new PIXI.MeshMaterial(this.material.texture,{program:PIXI.Program.from(t.Mesh2d.defaultVertexShader,t.Mesh2d.defaultFragmentShader),pluginName:"batch2d"})),e.call(this))})}(pixi_projection||(pixi_projection={})),function(o){var r=new PIXI.Transform,t=function(n){function t(t,e,r){var i=n.call(this,t,e,r)||this;return i.tileProj=new o.Projection2d(i.tileTransform),i.tileProj.reverseLocalOrder=!0,i.proj=new o.Projection2d(i.transform),i.pluginName="tilingSprite2d",i.uvRespectAnchor=!0,i}return __extends(t,n),Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),o.container2dToLocal.call(this,t,e,r,i,n)},t.prototype._render=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateTransform(r),this.uvMatrix.update(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},t}(PIXI.TilingSprite);o.TilingSprite2d=t}(pixi_projection||(pixi_projection={})),function(t){var n="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec3 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position.xyw = projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0);\n\n vTextureCoord = uTransform * vec3(aTextureCoord, 1.0);\n}\n",h=new t.Matrix2d,c=PIXI.WRAP_MODES,f=PIXI.utils,e=function(i){function t(t){var e=i.call(this,t)||this;e.quad=new PIXI.QuadUv;var r={globals:e.renderer.globalUniforms};return e.shader=PIXI.Shader.from(n,"\nvarying vec3 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n vec2 coord = mod(vTextureCoord.xy / vTextureCoord.z - uClampOffset, vec2(1.0, 1.0)) + uClampOffset;\n coord = (uMapCoord * vec3(coord, 1.0)).xy;\n coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n vec4 sample = texture2D(uSampler, coord);\n gl_FragColor = sample * uColor;\n}\n",r),e.simpleShader=PIXI.Shader.from(n,"\n\tvarying vec3 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n vec4 sample = texture2D(uSampler, vTextureCoord.xy / vTextureCoord.z);\n gl_FragColor = sample * uColor;\n}\n",r),e}return __extends(t,i),t.prototype.render=function(t){var e=this.renderer,r=this.quad,i=r.vertices;i[0]=i[6]=t._width*-t.anchor.x,i[1]=i[3]=t._height*-t.anchor.y,i[2]=i[4]=t._width*(1-t.anchor.x),i[5]=i[7]=t._height*(1-t.anchor.y),t.uvRespectAnchor&&((i=r.uvs)[0]=i[6]=-t.anchor.x,i[1]=i[3]=-t.anchor.y,i[2]=i[4]=1-t.anchor.x,i[5]=i[7]=1-t.anchor.y),r.invalidate();var n=t._texture,o=n.baseTexture,a=t.tileProj.world,s=t.uvMatrix,l=o.isPowerOfTwo&&n.frame.width===o.width&&n.frame.height===o.height;l&&(o._glTextures[e.CONTEXT_UID]?l=o.wrapMode!==c.CLAMP:o.wrapMode===c.CLAMP&&(o.wrapMode=c.REPEAT));var u=l?this.simpleShader:this.shader;h.identity(),h.scale(n.width,n.height),h.prepend(a),h.scale(1/t._width,1/t._height),h.invert(),l?h.prepend(s.mapCoord):(u.uniforms.uMapCoord=s.mapCoord.toArray(!0),u.uniforms.uClampFrame=s.uClampFrame,u.uniforms.uClampOffset=s.uClampOffset),u.uniforms.uTransform=h.toArray(!0),u.uniforms.uColor=f.premultiplyTintToRgba(t.tint,t.worldAlpha,u.uniforms.uColor,o.premultiplyAlpha),u.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),u.uniforms.uSampler=n,e.shader.bind(u,!1),e.geometry.bind(r,void 0),e.state.setBlendMode(f.correctBlendMode(t.blendMode,o.premultiplyAlpha)),e.geometry.draw(PIXI.DRAW_MODES.TRIANGLES,6,0)},t}(PIXI.ObjectRenderer);t.TilingSprite2dRenderer=e,PIXI.Renderer.registerPlugin("tilingSprite2d",e)}(pixi_projection||(pixi_projection={})),function(i){PIXI.systems.MaskSystem.prototype.pushSpriteMask=function(t,e){var r=this.alphaMaskPool[this.alphaMaskIndex];r||(r=this.alphaMaskPool[this.alphaMaskIndex]=[new i.SpriteMaskFilter2d(e)]),r[0].resolution=this.renderer.resolution,r[0].maskSprite=e,t.filterArea=e.getBounds(!0),this.renderer.filter.push(t,r),this.alphaMaskIndex++}}(pixi_projection||(pixi_projection={})),function(i){var s=new i.Matrix2d,t=function(r){function a(t){var e=r.call(this,"\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec3 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n\tgl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n\tvTextureCoord = aTextureCoord;\n\tvMaskCoord = otherMatrix * vec3( aTextureCoord, 1.0);\n}\n","\nvarying vec3 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n vec2 uv = vMaskCoord.xy / vMaskCoord.z;\n \n float clip = step(3.5,\n step(maskClamp.x, uv.x) +\n step(maskClamp.y, uv.y) +\n step(uv.x, maskClamp.z) +\n step(uv.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, uv);\n \n original *= (masky.r * masky.a * alpha * clip);\n\n gl_FragColor = original;\n}\n")||this;return e.maskMatrix=new i.Matrix2d,t.renderable=!1,e.maskSprite=t,e}return __extends(a,r),a.prototype.apply=function(t,e,r,i){var n=this.maskSprite,o=this.maskSprite.texture;o.valid&&(o.uvMatrix||(o.uvMatrix=new PIXI.TextureMatrix(o,0)),o.uvMatrix.update(),this.uniforms.mask=n.texture,this.uniforms.otherMatrix=a.calculateSpriteMatrix(e,this.maskMatrix,n).prepend(o.uvMatrix.mapCoord),this.uniforms.alpha=n.worldAlpha,this.uniforms.maskClamp=o.uvMatrix.uClampFrame,t.applyFilter(this,e,r,i))},a.calculateSpriteMatrix=function(t,e,r){var i=r.proj,n=t.filterFrame,o=i&&!i._affine?i.world.copyTo2dOr3d(s):s.copyFrom(r.transform.worldTransform),a=r.texture.orig;return e.set(t.width,0,0,t.height,n.x,n.y),o.invert(),e.setToMult(o,e),e.scaleAndTranslate(1/a.width,1/a.height,r.anchor.x,r.anchor.y),e},a}(PIXI.Filter);i.SpriteMaskFilter2d=t}(pixi_projection||(pixi_projection={})),function(o){o.container3dWorldTransform=function(){return this.proj.affine?this.transform.worldTransform:this.proj.world};var t=function(e){function t(){var t=e.call(this)||this;return t.proj=new o.Projection3d(t.transform),t}return __extends(t,e),t.prototype.isFrontFace=function(t){void 0===t&&(t=!1),t&&(this._recursivePostUpdateTransform(),this.displayObjectUpdateTransform());var e=this.proj.world.mat4,r=e[0]*e[15]-e[3]*e[12],i=e[1]*e[15]-e[3]*e[13],n=e[4]*e[15]-e[7]*e[12];return 0<r*(e[5]*e[15]-e[7]*e[13])-n*i},t.prototype.getDepth=function(t){void 0===t&&(t=!1),t&&(this._recursivePostUpdateTransform(),this.displayObjectUpdateTransform());var e=this.proj.world.mat4;return e[14]/e[15]},t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),e&&(t=e.toGlobal(t,r,i)),i||this._recursivePostUpdateTransform(),n===o.TRANSFORM_STEP.ALL?(i||this.displayObjectUpdateTransform(),this.proj.affine?this.transform.worldTransform.applyInverse(t,r):this.proj.world.applyInverse(t,r)):(this.parent?r=this.parent.worldTransform.applyInverse(t,r):r.copyFrom(t),n===o.TRANSFORM_STEP.NONE||(r=this.transform.localTransform.applyInverse(r,r),n===o.TRANSFORM_STEP.PROJ&&this.proj.cameraMode&&(r=this.proj.cameraMatrix.applyInverse(r,r))),r)},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"position3d",{get:function(){return this.proj.position},set:function(t){this.proj.position.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale3d",{get:function(){return this.proj.scale},set:function(t){this.proj.scale.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"euler",{get:function(){return this.proj.euler},set:function(t){this.proj.euler.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pivot3d",{get:function(){return this.proj.pivot},set:function(t){this.proj.pivot.copyFrom(t)},enumerable:!0,configurable:!0}),t}(PIXI.Container);o.Container3d=t,o.container3dToLocal=t.prototype.toLocal,o.container3dGetDepth=t.prototype.getDepth,o.container3dIsFrontFace=t.prototype.isFrontFace}(pixi_projection||(pixi_projection={})),function(t){var e=function(e){function t(){var t=e.call(this)||this;return t._far=0,t._near=0,t._focus=0,t._orthographic=!1,t.proj.cameraMode=!0,t.setPlanes(400,10,1e4,!1),t}return __extends(t,e),Object.defineProperty(t.prototype,"far",{get:function(){return this._far},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"near",{get:function(){return this._near},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focus",{get:function(){return this._focus},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ortographic",{get:function(){return this._orthographic},enumerable:!0,configurable:!0}),t.prototype.setPlanes=function(t,e,r,i){void 0===e&&(e=10),void 0===r&&(r=1e4),void 0===i&&(i=!1),this._focus=t,this._near=e,this._far=r,this._orthographic=i;var n=this.proj,o=n.cameraMatrix.mat4;n._projID++,o[10]=1/(r-e),o[14]=(t-e)/(r-e),this._orthographic?o[11]=0:o[11]=1/t},t}(t.Container3d);t.Camera3d=e}(pixi_projection||(pixi_projection={})),function(t){var e=function(){function t(t,e,r){this._quatUpdateId=-1,this._quatDirtyId=0,this._sign=1,this._x=t||0,this._y=e||0,this._z=r||0,this.quaternion=new Float64Array(4),this.quaternion[3]=1,this.update()}return Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"z",{get:function(){return this._z},set:function(t){this._z!==t&&(this._z=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pitch",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yaw",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"roll",{get:function(){return this._z},set:function(t){this._z!==t&&(this._z=t,this._quatDirtyId++)},enumerable:!0,configurable:!0}),t.prototype.set=function(t,e,r){var i=t||0,n=e||0,o=r||0;this._x===i&&this._y===n&&this._z===o||(this._x=i,this._y=n,this._z=o,this._quatDirtyId++)},t.prototype.copyFrom=function(t){var e=t.x,r=t.y,i=t.z;this._x===e&&this._y===r&&this._z===i||(this._x=e,this._y=r,this._z=i,this._quatDirtyId++)},t.prototype.copyTo=function(t){return t.set(this._x,this._y,this._z),t},t.prototype.equals=function(t){return this._x===t.x&&this._y===t.y&&this._z===t.z},t.prototype.clone=function(){return new t(this._x,this._y,this._z)},t.prototype.update=function(){if(this._quatUpdateId===this._quatDirtyId)return!1;this._quatUpdateId=this._quatDirtyId;var t=Math.cos(this._x/2),e=Math.cos(this._y/2),r=Math.cos(this._z/2),i=this._sign,n=i*Math.sin(this._x/2),o=i*Math.sin(this._y/2),a=i*Math.sin(this._z/2),s=this.quaternion;return s[0]=n*e*r+t*o*a,s[1]=t*o*r-n*e*a,s[2]=t*e*a+n*o*r,s[3]=t*e*r-n*o*a,!0},t}();t.Euler=e}(pixi_projection||(pixi_projection={})),function(v){var e=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],t=function(){function g(t){this.floatArray=null,this._dirtyId=0,this._updateId=-1,this._mat4inv=null,this.cacheInverse=!1,this.mat4=new Float64Array(t||e)}return Object.defineProperty(g.prototype,"a",{get:function(){return this.mat4[0]/this.mat4[15]},set:function(t){this.mat4[0]=t*this.mat4[15]},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"b",{get:function(){return this.mat4[1]/this.mat4[15]},set:function(t){this.mat4[1]=t*this.mat4[15]},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"c",{get:function(){return this.mat4[4]/this.mat4[15]},set:function(t){this.mat4[4]=t*this.mat4[15]},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"d",{get:function(){return this.mat4[5]/this.mat4[15]},set:function(t){this.mat4[5]=t*this.mat4[15]},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"tx",{get:function(){return this.mat4[12]/this.mat4[15]},set:function(t){this.mat4[12]=t*this.mat4[15]},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"ty",{get:function(){return this.mat4[13]/this.mat4[15]},set:function(t){this.mat4[13]=t*this.mat4[15]},enumerable:!0,configurable:!0}),g.prototype.set=function(t,e,r,i,n,o){var a=this.mat4;return a[0]=t,a[1]=e,a[2]=0,a[3]=0,a[4]=r,a[5]=i,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=n,a[13]=o,a[14]=0,a[15]=1,this},g.prototype.toArray=function(t,e){this.floatArray||(this.floatArray=new Float32Array(9));var r=e||this.floatArray,i=this.mat4;return t?(r[0]=i[0],r[1]=i[1],r[2]=i[3],r[3]=i[4],r[4]=i[5],r[5]=i[7],r[6]=i[12],r[7]=i[13]):(r[0]=i[0],r[1]=i[4],r[2]=i[12],r[3]=i[2],r[4]=i[6],r[5]=i[13],r[6]=i[3],r[7]=i[7]),r[8]=i[15],r},g.prototype.setToTranslation=function(t,e,r){var i=this.mat4;i[0]=1,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=1,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=1,i[11]=0,i[12]=t,i[13]=e,i[14]=r,i[15]=1},g.prototype.setToRotationTranslationScale=function(t,e,r,i,n,o,a){var s=this.mat4,l=t[0],u=t[1],h=t[2],c=t[3],f=l+l,p=u+u,d=h+h,m=l*f,g=l*p,v=l*d,_=u*p,y=u*d,b=h*d,x=c*f,w=c*p,T=c*d;return s[0]=(1-(_+b))*n,s[1]=(g+T)*n,s[2]=(v-w)*n,s[3]=0,s[4]=(g-T)*o,s[5]=(1-(m+b))*o,s[6]=(y+x)*o,s[7]=0,s[8]=(v+w)*a,s[9]=(y-x)*a,s[10]=(1-(m+_))*a,s[11]=0,s[12]=e,s[13]=r,s[14]=i,s[15]=1,s},g.prototype.apply=function(t,e){e=e||new v.Point3d;var r=this.mat4,i=t.x,n=t.y,o=t.z||0,a=1/(r[3]*i+r[7]*n+r[11]*o+r[15]);return e.x=a*(r[0]*i+r[4]*n+r[8]*o+r[12]),e.y=a*(r[1]*i+r[5]*n+r[9]*o+r[13]),e.z=a*(r[2]*i+r[6]*n+r[10]*o+r[14]),e},g.prototype.translate=function(t,e,r){var i=this.mat4;return i[12]=i[0]*t+i[4]*e+i[8]*r+i[12],i[13]=i[1]*t+i[5]*e+i[9]*r+i[13],i[14]=i[2]*t+i[6]*e+i[10]*r+i[14],i[15]=i[3]*t+i[7]*e+i[11]*r+i[15],this},g.prototype.scale=function(t,e,r){var i=this.mat4;return i[0]*=t,i[1]*=t,i[2]*=t,i[3]*=t,i[4]*=e,i[5]*=e,i[6]*=e,i[7]*=e,void 0!==r&&(i[8]*=r,i[9]*=r,i[10]*=r,i[11]*=r),this},g.prototype.scaleAndTranslate=function(t,e,r,i,n,o){var a=this.mat4;a[0]=t*a[0]+i*a[3],a[1]=e*a[1]+n*a[3],a[2]=r*a[2]+o*a[3],a[4]=t*a[4]+i*a[7],a[5]=e*a[5]+n*a[7],a[6]=r*a[6]+o*a[7],a[8]=t*a[8]+i*a[11],a[9]=e*a[9]+n*a[11],a[10]=r*a[10]+o*a[11],a[12]=t*a[12]+i*a[15],a[13]=e*a[13]+n*a[15],a[14]=r*a[14]+o*a[15]},g.prototype.applyInverse=function(t,e){e=e||new v.Point3d,this._mat4inv||(this._mat4inv=new Float64Array(16));var r=this._mat4inv,i=this.mat4,n=t.x,o=t.y,a=t.z||0;this.cacheInverse&&this._updateId===this._dirtyId||(this._updateId=this._dirtyId,g.glMatrixMat4Invert(r,i));var s=1/(r[3]*n+r[7]*o+r[11]*a+r[15]),l=s*(r[0]*n+r[4]*o+r[8]*a+r[12]),u=s*(r[1]*n+r[5]*o+r[9]*a+r[13]),h=s*(r[2]*n+r[6]*o+r[10]*a+r[14]);a+=1;var c=1/(r[3]*n+r[7]*o+r[11]*a+r[15]),f=c*(r[0]*n+r[4]*o+r[8]*a+r[12]),p=c*(r[1]*n+r[5]*o+r[9]*a+r[13]),d=c*(r[2]*n+r[6]*o+r[10]*a+r[14]);Math.abs(h-d)<1e-10&&e.set(NaN,NaN,0);var m=(0-h)/(d-h);return e.set((f-l)*m+l,(p-u)*m+u,0),e},g.prototype.invert=function(){return g.glMatrixMat4Invert(this.mat4,this.mat4),this},g.prototype.invertCopyTo=function(t){this._mat4inv||(this._mat4inv=new Float64Array(16));var e=this._mat4inv,r=this.mat4;this.cacheInverse&&this._updateId===this._dirtyId||(this._updateId=this._dirtyId,g.glMatrixMat4Invert(e,r)),t.mat4.set(e)},g.prototype.identity=function(){var t=this.mat4;return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this},g.prototype.clone=function(){return new g(this.mat4)},g.prototype.copyTo3d=function(t){var e=this.mat4,r=t.mat4;return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r[6]=e[6],r[7]=e[7],r[8]=e[8],t},g.prototype.copyTo2d=function(t){var e=this.mat4,r=t.mat3;return r[0]=e[0],r[1]=e[1],r[2]=e[3],r[3]=e[4],r[4]=e[5],r[5]=e[7],r[6]=e[12],r[7]=e[13],r[8]=e[15],t},g.prototype.copyTo2dOr3d=function(t){return t instanceof v.Matrix2d?this.copyTo2d(t):this.copyTo3d(t)},g.prototype.copyTo=function(t,e,r){var i=this.mat4,n=1/i[15],o=i[12]*n,a=i[13]*n;if(t.a=(i[0]-i[3]*o)*n,t.b=(i[1]-i[3]*a)*n,t.c=(i[4]-i[7]*o)*n,t.d=(i[5]-i[7]*a)*n,t.tx=o,t.ty=a,2<=e){var s=t.a*t.d-t.b*t.c;r||(s=Math.abs(s)),e===v.AFFINE.POINT?(s=0<s?1:-1,t.a=s,t.b=0,t.c=0,t.d=s):e===v.AFFINE.AXIS_X?(s/=Math.sqrt(t.b*t.b+t.d*t.d),t.c=0,t.d=s):e===v.AFFINE.AXIS_Y&&(s/=Math.sqrt(t.a*t.a+t.c*t.c),t.a=s,t.c=0)}return t},g.prototype.copyFrom=function(t){var e=this.mat4;return e[0]=t.a,e[1]=t.b,e[2]=0,e[3]=0,e[4]=t.c,e[5]=t.d,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t.tx,e[13]=t.ty,e[14]=0,e[15]=1,this._dirtyId++,this},g.prototype.setToMultLegacy=function(t,e){var r=this.mat4,i=e.mat4,n=t.a,o=t.b,a=t.c,s=t.d,l=t.tx,u=t.ty,h=i[0],c=i[1],f=i[2],p=i[3];return r[0]=h*n+c*a+p*l,r[1]=h*o+c*s+p*u,r[2]=f,r[3]=p,h=i[4],c=i[5],f=i[6],p=i[7],r[4]=h*n+c*a+p*l,r[5]=h*o+c*s+p*u,r[6]=f,r[7]=p,h=i[8],c=i[9],f=i[10],p=i[11],r[8]=h*n+c*a+p*l,r[9]=h*o+c*s+p*u,r[10]=f,r[11]=p,h=i[12],c=i[13],f=i[14],p=i[15],r[12]=h*n+c*a+p*l,r[13]=h*o+c*s+p*u,r[14]=f,r[15]=p,this._dirtyId++,this},g.prototype.setToMultLegacy2=function(t,e){var r=this.mat4,i=t.mat4,n=i[0],o=i[1],a=i[2],s=i[3],l=i[4],u=i[5],h=i[6],c=i[7],f=e.a,p=e.b,d=e.c,m=e.d,g=e.tx,v=e.ty;return r[0]=f*n+p*l,r[1]=f*o+p*u,r[2]=f*a+p*h,r[3]=f*s+p*c,r[4]=d*n+m*l,r[5]=d*o+m*u,r[6]=d*a+m*h,r[7]=d*s+m*c,r[8]=i[8],r[9]=i[9],r[10]=i[10],r[11]=i[11],r[12]=g*n+v*l+i[12],r[13]=g*o+v*u+i[13],r[14]=g*a+v*h+i[14],r[15]=g*s+v*c+i[15],this._dirtyId++,this},g.prototype.setToMult=function(t,e){return g.glMatrixMat4Multiply(this.mat4,t.mat4,e.mat4),this._dirtyId++,this},g.prototype.prepend=function(t){t.mat4?this.setToMult(t,this):this.setToMultLegacy(t,this)},g.glMatrixMat4Invert=function(t,e){var r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],h=e[8],c=e[9],f=e[10],p=e[11],d=e[12],m=e[13],g=e[14],v=e[15],_=r*s-i*a,y=r*l-n*a,b=r*u-o*a,x=i*l-n*s,w=i*u-o*s,T=n*u-o*l,k=h*m-c*d,S=h*g-f*d,P=h*v-p*d,C=c*g-f*m,A=c*v-p*m,E=f*v-p*g,I=_*E-y*A+b*C+x*P-w*S+T*k;return I?(I=1/I,t[0]=(s*E-l*A+u*C)*I,t[1]=(n*A-i*E-o*C)*I,t[2]=(m*T-g*w+v*x)*I,t[3]=(f*w-c*T-p*x)*I,t[4]=(l*P-a*E-u*S)*I,t[5]=(r*E-n*P+o*S)*I,t[6]=(g*b-d*T-v*y)*I,t[7]=(h*T-f*b+p*y)*I,t[8]=(a*A-s*P+u*k)*I,t[9]=(i*P-r*A-o*k)*I,t[10]=(d*w-m*b+v*_)*I,t[11]=(c*b-h*w-p*_)*I,t[12]=(s*S-a*C-l*k)*I,t[13]=(r*C-i*S+n*k)*I,t[14]=(m*y-d*x-g*_)*I,t[15]=(h*x-c*y+f*_)*I,t):null},g.glMatrixMat4Multiply=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],h=e[7],c=e[8],f=e[9],p=e[10],d=e[11],m=e[12],g=e[13],v=e[14],_=e[15],y=r[0],b=r[1],x=r[2],w=r[3];return t[0]=y*i+b*s+x*c+w*m,t[1]=y*n+b*l+x*f+w*g,t[2]=y*o+b*u+x*p+w*v,t[3]=y*a+b*h+x*d+w*_,y=r[4],b=r[5],x=r[6],w=r[7],t[4]=y*i+b*s+x*c+w*m,t[5]=y*n+b*l+x*f+w*g,t[6]=y*o+b*u+x*p+w*v,t[7]=y*a+b*h+x*d+w*_,y=r[8],b=r[9],x=r[10],w=r[11],t[8]=y*i+b*s+x*c+w*m,t[9]=y*n+b*l+x*f+w*g,t[10]=y*o+b*u+x*p+w*v,t[11]=y*a+b*h+x*d+w*_,y=r[12],b=r[13],x=r[14],w=r[15],t[12]=y*i+b*s+x*c+w*m,t[13]=y*n+b*l+x*f+w*g,t[14]=y*o+b*u+x*p+w*v,t[15]=y*a+b*h+x*d+w*_,t},g.IDENTITY=new g,g.TEMP_MATRIX=new g,g}();v.Matrix3d=t}(pixi_projection||(pixi_projection={})),function(e){var t=function(){function t(t,e,r,i,n){this.cb=t,this.scope=e,this._quatUpdateId=-1,this._quatDirtyId=0,this._sign=1,this._x=r||0,this._y=i||0,this._z=n||0,this.quaternion=new Float64Array(4),this.quaternion[3]=1,this.update()}return Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"z",{get:function(){return this._z},set:function(t){this._z!==t&&(this._z=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pitch",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yaw",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"roll",{get:function(){return this._z},set:function(t){this._z!==t&&(this._z=t,this._quatDirtyId++,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),t.prototype.set=function(t,e,r){var i=t||0,n=e||0,o=r||0;this._x===i&&this._y===n&&this._z===o||(this._x=i,this._y=n,this._z=o,this._quatDirtyId++,this.cb.call(this.scope))},t.prototype.copyFrom=function(t){var e=t.x,r=t.y,i=t.z;this._x===e&&this._y===r&&this._z===i||(this._x=e,this._y=r,this._z=i,this._quatDirtyId++,this.cb.call(this.scope))},t.prototype.copyTo=function(t){return t.set(this._x,this._y,this._z),t},t.prototype.equals=function(t){return this._x===t.x&&this._y===t.y&&this._z===t.z},t.prototype.clone=function(){return new e.Euler(this._x,this._y,this._z)},t.prototype.update=function(){if(this._quatUpdateId===this._quatDirtyId)return!1;this._quatUpdateId=this._quatDirtyId;var t=Math.cos(this._x/2),e=Math.cos(this._y/2),r=Math.cos(this._z/2),i=this._sign,n=i*Math.sin(this._x/2),o=i*Math.sin(this._y/2),a=i*Math.sin(this._z/2),s=this.quaternion;return s[0]=n*e*r+t*o*a,s[1]=t*o*r-n*e*a,s[2]=t*e*a+n*o*r,s[3]=t*e*r-n*o*a,!0},t}();e.ObservableEuler=t}(pixi_projection||(pixi_projection={})),function(t){PIXI.ObservablePoint.prototype.copy=function(t){};var e=function(n){function t(t,e,r){var i=n.call(this,t,e)||this;return i.z=r,i}return __extends(t,n),t.prototype.set=function(t,e,r){this.x=t||0,this.y=void 0===e?this.x:e||0,this.z=void 0===e?this.x:r||0},t.prototype.copyFrom=function(t){return this.set(t.x,t.y,t.z||0),this},t.prototype.copyTo=function(t){return t.set(this.x,this.y,this.z),t},t}(PIXI.Point);t.Point3d=e;var r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._z=0,t}return __extends(t,e),Object.defineProperty(t.prototype,"z",{get:function(){return this._z},set:function(t){this._z!==t&&(this._z=t,this.cb.call(this.scope))},enumerable:!0,configurable:!0}),t.prototype.set=function(t,e,r){var i=t||0,n=void 0===e?i:e||0,o=void 0===e?i:r||0;this._x===i&&this._y===n&&this._z===o||(this._x=i,this._y=n,this._z=o,this.cb.call(this.scope))},t.prototype.copyFrom=function(t){return this.set(t.x,t.y,t.z||0),this},t.prototype.copyTo=function(t){return t.set(this._x,this._y,this._z),t},t}(PIXI.ObservablePoint);t.ObservablePoint3d=r}(pixi_projection||(pixi_projection={})),function(n){var a=new n.Matrix3d,t=function(i){function t(t,e){var r=i.call(this,t,e)||this;return r.cameraMatrix=null,r._cameraMode=!1,r.position=new n.ObservablePoint3d(r.onChange,r,0,0),r.scale=new n.ObservablePoint3d(r.onChange,r,1,1),r.euler=new n.ObservableEuler(r.onChange,r,0,0,0),r.pivot=new n.ObservablePoint3d(r.onChange,r,0,0),r.local=new n.Matrix3d,r.world=new n.Matrix3d,r.local.cacheInverse=!0,r.world.cacheInverse=!0,r.position._z=0,r.scale._z=1,r.pivot._z=0,r}return __extends(t,i),Object.defineProperty(t.prototype,"cameraMode",{get:function(){return this._cameraMode},set:function(t){this._cameraMode!==t&&(this._cameraMode=t,this.euler._sign=this._cameraMode?-1:1,this.euler._quatDirtyId++,t&&(this.cameraMatrix=new n.Matrix3d))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(){this._projID++},t.prototype.clear=function(){this.cameraMatrix&&this.cameraMatrix.identity(),this.position.set(0,0,0),this.scale.set(1,1,1),this.euler.set(0,0,0),this.pivot.set(0,0,0),i.prototype.clear.call(this)},t.prototype.updateLocalTransform=function(t){if(0!==this._projID){var e=this.local,r=this.euler,i=this.position,n=this.scale,o=this.pivot;if(r.update(),!this.cameraMode)return e.setToRotationTranslationScale(r.quaternion,i._x,i._y,i._z,n._x,n._y,n._z),e.translate(-o._x,-o._y,-o._z),void e.setToMultLegacy(t,e);e.setToMultLegacy(t,this.cameraMatrix),e.translate(o._x,o._y,o._z),e.scale(1/n._x,1/n._y,1/n._z),a.setToRotationTranslationScale(r.quaternion,0,0,0,1,1,1),e.setToMult(e,a),e.translate(-i._x,-i._y,-i._z),this.local._dirtyId++}else this.local.copyFrom(t)},t}(n.LinearProjection);n.Projection3d=t}(pixi_projection||(pixi_projection={})),function(s){var t=function(c){function t(t,e,r,i){var n=c.call(this,t,e,r,i)||this;return n.vertexData2d=null,n.proj=new s.Projection3d(n.transform),n}return __extends(t,c),t.prototype.calculateVertices=function(){if(this.proj._affine)return this.vertexData2d=null,void c.prototype.calculateVertices.call(this);var t=this.geometry,e=t.buffers[0].data;if(t.vertexDirtyId!==this.vertexDirty||this._transformID!==this.transform._worldID){this._transformID=this.transform._worldID,this.vertexData.length!==e.length&&(this.vertexData=new Float32Array(e.length)),this.vertexData2d.length!==3*e.length/2&&(this.vertexData2d=new Float32Array(3*e.length));for(var r=this.proj.world.mat4,i=this.vertexData2d,n=this.vertexData,o=0;o<n.length/2;o++){var a=e[2*o],s=e[2*o+1],l=r[0]*a+r[4]*s+r[12],u=r[1]*a+r[5]*s+r[13],h=r[3]*a+r[7]*s+r[15];i[3*o]=l,i[3*o+1]=u,i[3*o+2]=h,n[2*o]=l/h,n[2*o+1]=u/h}this.vertexDirty=t.vertexDirtyId}},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=s.TRANSFORM_STEP.ALL),s.container3dToLocal.call(this,t,e,r,i,n)},t.prototype.isFrontFace=function(t){return s.container3dIsFrontFace.call(this,t)},t.prototype.getDepth=function(t){return s.container3dGetDepth.call(this,t)},Object.defineProperty(t.prototype,"position3d",{get:function(){return this.proj.position},set:function(t){this.proj.position.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale3d",{get:function(){return this.proj.scale},set:function(t){this.proj.scale.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"euler",{get:function(){return this.proj.euler},set:function(t){this.proj.euler.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pivot3d",{get:function(){return this.proj.pivot},set:function(t){this.proj.pivot.copyFrom(t)},enumerable:!0,configurable:!0}),t}(PIXI.Mesh);(s.Mesh3d2d=t).prototype._renderDefault=s.Mesh2d.prototype._renderDefault;var e=function(a){function t(t,e,r,i,n){var o=a.call(this,new PIXI.MeshGeometry(e,r,i),new PIXI.MeshMaterial(t,{program:PIXI.Program.from(s.Mesh2d.defaultVertexShader,s.Mesh2d.defaultFragmentShader),pluginName:"batch2d"}),null,n)||this;return o.autoUpdate=!0,o.geometry.getBuffer("aVertexPosition").static=!1,o}return __extends(t,a),Object.defineProperty(t.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!0,configurable:!0}),t.prototype._render=function(t){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),a.prototype._render.call(this,t)},t}(t);s.SimpleMesh3d2d=e}(pixi_projection||(pixi_projection={})),function(o){var t=function(m){function t(t){var e=m.call(this,t)||this;return e.vertexData2d=null,e.culledByFrustrum=!1,e.trimmedCulledByFrustrum=!1,e.proj=new o.Projection3d(e.transform),e.pluginName="batch2d",e}return __extends(t,m),t.prototype.calculateVertices=function(){var t=this._texture;if(this.proj._affine)return this.vertexData2d=null,void m.prototype.calculateVertices.call(this);this.vertexData2d||(this.vertexData2d=new Float32Array(12));var e=this.transform._worldID,r=t._updateID;if(this._transformID!==e||this._textureID!==r){this._textureID!==r&&(this.uvs=t._uvs.uvsFloat32),this._transformID=e,this._textureID=r;var i=this.proj.world.mat4,n=this.vertexData2d,o=this.vertexData,a=t.trim,s=t.orig,l=this._anchor,u=0,h=0,c=0,f=0;c=a?(u=(h=a.x-l._x*s.width)+a.width,(f=a.y-l._y*s.height)+a.height):(u=(h=-l._x*s.width)+s.width,(f=-l._y*s.height)+s.height);var p,d=!1;n[0]=i[0]*h+i[4]*f+i[12],n[1]=i[1]*h+i[5]*f+i[13],p=i[2]*h+i[6]*f+i[14],n[2]=i[3]*h+i[7]*f+i[15],d=d||p<0,n[3]=i[0]*u+i[4]*f+i[12],n[4]=i[1]*u+i[5]*f+i[13],p=i[2]*u+i[6]*f+i[14],n[5]=i[3]*u+i[7]*f+i[15],d=d||p<0,n[6]=i[0]*u+i[4]*c+i[12],n[7]=i[1]*u+i[5]*c+i[13],p=i[2]*u+i[6]*c+i[14],n[8]=i[3]*u+i[7]*c+i[15],d=d||p<0,n[9]=i[0]*h+i[4]*c+i[12],n[10]=i[1]*h+i[5]*c+i[13],p=i[2]*h+i[6]*c+i[14],n[11]=i[3]*h+i[7]*c+i[15],d=d||p<0,this.culledByFrustrum=d,o[0]=n[0]/n[2],o[1]=n[1]/n[2],o[2]=n[3]/n[5],o[3]=n[4]/n[5],o[4]=n[6]/n[8],o[5]=n[7]/n[8],o[6]=n[9]/n[11],o[7]=n[10]/n[11]}},t.prototype.calculateTrimmedVertices=function(){if(this.proj._affine)m.prototype.calculateTrimmedVertices.call(this);else{var t=this.transform._worldID,e=this._texture._updateID;if(this.vertexTrimmedData){if(this._transformTrimmedID===t&&this._textureTrimmedID===e)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=t,this._textureTrimmedID=e;var r,i=this._texture,n=this.vertexTrimmedData,o=i.orig,a=this._anchor,s=this.proj.world.mat4,l=-a._x*o.width,u=l+o.width,h=-a._y*o.height,c=h+o.height,f=!1,p=1/(s[3]*l+s[7]*h+s[15]);n[0]=p*(s[0]*l+s[4]*h+s[12]),n[1]=p*(s[1]*l+s[5]*h+s[13]),r=s[2]*l+s[6]*h+s[14],f=f||r<0,p=1/(s[3]*u+s[7]*h+s[15]),n[2]=p*(s[0]*u+s[4]*h+s[12]),n[3]=p*(s[1]*u+s[5]*h+s[13]),r=s[2]*u+s[6]*h+s[14],f=f||r<0,p=1/(s[3]*u+s[7]*c+s[15]),n[4]=p*(s[0]*u+s[4]*c+s[12]),n[5]=p*(s[1]*u+s[5]*c+s[13]),r=s[2]*u+s[6]*c+s[14],f=f||r<0,p=1/(s[3]*l+s[7]*c+s[15]),n[6]=p*(s[0]*l+s[4]*c+s[12]),n[7]=p*(s[1]*l+s[5]*c+s[13]),r=s[2]*l+s[6]*c+s[14],f=f||r<0,this.culledByFrustrum=f}},t.prototype._calculateBounds=function(){if(this.calculateVertices(),!this.culledByFrustrum){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?this._bounds.addQuad(this.vertexData):(this.calculateTrimmedVertices(),this.trimmedCulledByFrustrum||this._bounds.addQuad(this.vertexTrimmedData))}},t.prototype._render=function(t){this.calculateVertices(),this.culledByFrustrum||(t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},t.prototype.containsPoint=function(t){return!this.culledByFrustrum&&m.prototype.containsPoint.call(this,t)},Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),o.container3dToLocal.call(this,t,e,r,i,n)},t.prototype.isFrontFace=function(t){return o.container3dIsFrontFace.call(this,t)},t.prototype.getDepth=function(t){return o.container3dGetDepth.call(this,t)},Object.defineProperty(t.prototype,"position3d",{get:function(){return this.proj.position},set:function(t){this.proj.position.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale3d",{get:function(){return this.proj.scale},set:function(t){this.proj.scale.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"euler",{get:function(){return this.proj.euler},set:function(t){this.proj.euler.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pivot3d",{get:function(){return this.proj.pivot},set:function(t){this.proj.pivot.copyFrom(t)},enumerable:!0,configurable:!0}),t}(PIXI.Sprite);o.Sprite3d=t}(pixi_projection||(pixi_projection={})),function(o){var t=function(n){function t(t,e,r){var i=n.call(this,t,e,r)||this;return i.vertexData2d=null,i.proj=new o.Projection3d(i.transform),i.pluginName="batch2d",i}return __extends(t,n),Object.defineProperty(t.prototype,"worldTransform",{get:function(){return this.proj.affine?this.transform.worldTransform:this.proj.world},enumerable:!0,configurable:!0}),t.prototype.toLocal=function(t,e,r,i,n){return void 0===n&&(n=o.TRANSFORM_STEP.ALL),o.container3dToLocal.call(this,t,e,r,i,n)},t.prototype.isFrontFace=function(t){return o.container3dIsFrontFace.call(this,t)},t.prototype.getDepth=function(t){return o.container3dGetDepth.call(this,t)},Object.defineProperty(t.prototype,"position3d",{get:function(){return this.proj.position},set:function(t){this.proj.position.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale3d",{get:function(){return this.proj.scale},set:function(t){this.proj.scale.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"euler",{get:function(){return this.proj.euler},set:function(t){this.proj.euler.copyFrom(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pivot3d",{get:function(){return this.proj.pivot},set:function(t){this.proj.pivot.copyFrom(t)},enumerable:!0,configurable:!0}),t}(PIXI.Text);(o.Text3d=t).prototype.calculateVertices=o.Sprite3d.prototype.calculateVertices,t.prototype.calculateTrimmedVertices=o.Sprite3d.prototype.calculateTrimmedVertices,t.prototype._calculateBounds=o.Sprite3d.prototype._calculateBounds,t.prototype.containsPoint=o.Sprite3d.prototype.containsPoint,t.prototype._render=o.Sprite3d.prototype._render}(pixi_projection||(pixi_projection={})),function(t){var e={worldTransform:{get:t.container3dWorldTransform,enumerable:!0,configurable:!0},position3d:{get:function(){return this.proj.position},set:function(t){this.proj.position.copy(t)}},scale3d:{get:function(){return this.proj.scale},set:function(t){this.proj.scale.copy(t)}},pivot3d:{get:function(){return this.proj.pivot},set:function(t){this.proj.pivot.copy(t)}},euler:{get:function(){return this.proj.euler},set:function(t){this.proj.euler.copy(t)}}};function r(){this.proj||(this.proj=new t.Projection3d(this.transform),this.toLocal=t.Container3d.prototype.toLocal,this.isFrontFace=t.Container3d.prototype.isFrontFace,this.getDepth=t.Container3d.prototype.getDepth,Object.defineProperties(this,e))}PIXI.Container.prototype.convertTo3d=r,PIXI.Sprite.prototype.convertTo3d=function(){this.proj||(this.calculateVertices=t.Sprite3d.prototype.calculateVertices,this.calculateTrimmedVertices=t.Sprite3d.prototype.calculateTrimmedVertices,this._calculateBounds=t.Sprite3d.prototype._calculateBounds,this.containsPoint=t.Sprite3d.prototype.containsPoint,this.pluginName="batch2d",r.call(this))},PIXI.Container.prototype.convertSubtreeTo3d=function(){this.convertTo3d();for(var t=0;t<this.children.length;t++)this.children[t].convertSubtreeTo3d()},PIXI.SimpleMesh&&(PIXI.SimpleMesh.prototype.convertTo3d=PIXI.SimpleRope.prototype.convertTo3d=function(){this.proj||(this.calculateVertices=t.Mesh3d2d.prototype.calculateVertices,this._renderDefault=t.Mesh3d2d.prototype._renderDefault,"batch2d"!==this.material.pluginName&&(this.material=new PIXI.MeshMaterial(this.material.texture,{program:PIXI.Program.from(t.Mesh2d.defaultVertexShader,t.Mesh2d.defaultFragmentShader),pluginName:"batch2d"})),r.call(this))})}(pixi_projection||(pixi_projection={}));var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var k,x,w,T,v,r,_,S,y,b,p,d,g,t,e,l,u,i;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(i,h,y){var m=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r},g=function(t,e,r){var i,n,o=t.cycle;for(i in o)n=o[i],t[i]="function"==typeof n?n(r,e[r],e):n[r%n.length];delete t.cycle},v=function(t){if("function"==typeof t)return t;var d="object"==typeof t?t:{each:t},m=d.ease,g=d.from||0,v=d.base||0,_={},y=isNaN(g),b=d.axis,x={center:.5,end:1}[g]||0;return function(t,e,r){var i,n,o,a,s,l,u,h,c,f=(r||d).length,p=_[f];if(!p){if(!(c="auto"===d.grid?0:(d.grid||[1/0])[0])){for(u=-1/0;u<(u=r[c++].getBoundingClientRect().left)&&c<f;);c--}for(p=_[f]=[],i=y?Math.min(c,f)*x-.5:g%c,n=y?f*x/c-.5:g/c|0,h=1/(u=0),l=0;l<f;l++)o=l%c-i,a=n-(l/c|0),p[l]=s=b?Math.abs("y"===b?a:o):Math.sqrt(o*o+a*a),u<s&&(u=s),s<h&&(h=s);p.max=u-h,p.min=h,p.v=f=d.amount||d.each*(f<c?f-1:b?"y"===b?f/c:c:Math.max(c,f/c))||0,p.b=f<0?v-f:v}return f=(p[t]-p.min)/p.max,p.b+(m?m.getRatio(f):f)*p.v}},_=function(t,e,r){y.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=_.prototype.render},b=1e-8,x=y._internals,w=x.isSelector,T=x.isArray,t=_.prototype=y.to({},.1,{}),k=[];_.version="2.1.3",t.constructor=_,t.kill()._gc=!1,_.killTweensOf=_.killDelayedCallsTo=y.killTweensOf,_.getTweensOf=y.getTweensOf,_.lagSmoothing=y.lagSmoothing,_.ticker=y.ticker,_.render=y.render,_.distribute=v,t.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),y.prototype.invalidate.call(this)},t.updateTo=function(t,e){var r,i=this,n=i.ratio,o=i.vars.immediateRender||t.immediateRender;for(r in e&&i._startTime<i._timeline._time&&(i._startTime=i._timeline._time,i._uncache(!1),i._gc?i._enabled(!0,!1):i._timeline.insert(i,i._startTime-i._delay)),t)i.vars[r]=t[r];if(i._initted||o)if(e)i._initted=!1,o&&i.render(0,!0,!0);else if(i._gc&&i._enabled(!0,!1),i._notifyPluginsOfEnabled&&i._firstPT&&y._onPluginEvent("_onDisable",i),.998<i._time/i._duration){var a=i._totalTime;i.render(0,!0,!1),i._initted=!1,i.render(a,!0,!1)}else if(i._initted=!1,i._init(),0<i._time||o)for(var s,l=1/(1-n),u=i._firstPT;u;)s=u.s+u.c,u.c*=l,u.s=s-u.c,u=u._next;return i},t.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var i,n,o,a,s,l,u,h,c,f=this,p=f._dirty?f.totalDuration():f._totalDuration,d=f._time,m=f._totalTime,g=f._cycle,v=f._duration,_=f._rawPrevTime;if(p-b<=t&&0<=t?(f._totalTime=p,f._cycle=f._repeat,f._yoyo&&0!=(1&f._cycle)?(f._time=0,f.ratio=f._ease._calcEnd?f._ease.getRatio(0):0):(f._time=v,f.ratio=f._ease._calcEnd?f._ease.getRatio(1):1),f._reversed||(i=!0,n="onComplete",r=r||f._timeline.autoRemoveChildren),0===v&&(f._initted||!f.vars.lazy||r)&&(f._startTime===f._timeline._duration&&(t=0),(_<0||t<=0&&-b<=t||_===b&&"isPause"!==f.data)&&_!==t&&(r=!0,b<_&&(n="onReverseComplete")),f._rawPrevTime=h=!e||t||_===t?t:b)):t<b?(f._totalTime=f._time=f._cycle=0,f.ratio=f._ease._calcEnd?f._ease.getRatio(0):0,(0!==m||0===v&&0<_)&&(n="onReverseComplete",i=f._reversed),-b<t?t=0:t<0&&(f._active=!1,0===v&&(f._initted||!f.vars.lazy||r)&&(0<=_&&(r=!0),f._rawPrevTime=h=!e||t||_===t?t:b)),f._initted||(r=!0)):(f._totalTime=f._time=t,0!==f._repeat&&(a=v+f._repeatDelay,f._cycle=f._totalTime/a>>0,0!==f._cycle&&f._cycle===f._totalTime/a&&m<=t&&f._cycle--,f._time=f._totalTime-f._cycle*a,f._yoyo&&0!=(1&f._cycle)&&(f._time=v-f._time,(c=f._yoyoEase||f.vars.yoyoEase)&&(f._yoyoEase||(!0!==c||f._initted?f._yoyoEase=c=!0===c?f._ease:c instanceof Ease?c:Ease.map[c]:(c=f.vars.ease,f._yoyoEase=c=c?c instanceof Ease?c:"function"==typeof c?new Ease(c,f.vars.easeParams):Ease.map[c]||y.defaultEase:y.defaultEase)),f.ratio=c?1-c.getRatio((v-f._time)/v):0)),f._time>v?f._time=v:f._time<0&&(f._time=0)),f._easeType&&!c?(s=f._time/v,(1===(l=f._easeType)||3===l&&.5<=s)&&(s=1-s),3===l&&(s*=2),1===(u=f._easePower)?s*=s:2===u?s*=s*s:3===u?s*=s*s*s:4===u&&(s*=s*s*s*s),f.ratio=1===l?1-s:2===l?s:f._time/v<.5?s/2:1-s/2):c||(f.ratio=f._ease.getRatio(f._time/v))),d!==f._time||r||g!==f._cycle){if(!f._initted){if(f._init(),!f._initted||f._gc)return;if(!r&&f._firstPT&&(!1!==f.vars.lazy&&f._duration||f.vars.lazy&&!f._duration))return f._time=d,f._totalTime=m,f._rawPrevTime=_,f._cycle=g,x.lazyTweens.push(f),void(f._lazy=[t,e]);!f._time||i||c?i&&this._ease._calcEnd&&!c&&(f.ratio=f._ease.getRatio(0===f._time?0:1)):f.ratio=f._ease.getRatio(f._time/v)}for(!1!==f._lazy&&(f._lazy=!1),f._active||!f._paused&&f._time!==d&&0<=t&&(f._active=!0),0===m&&(2===f._initted&&0<t&&f._init(),f._startAt&&(0<=t?f._startAt.render(t,!0,r):n||(n="_dummyGS")),f.vars.onStart&&(0===f._totalTime&&0!==v||e||f._callback("onStart"))),o=f._firstPT;o;)o.f?o.t[o.p](o.c*f.ratio+o.s):o.t[o.p]=o.c*f.ratio+o.s,o=o._next;f._onUpdate&&(t<0&&f._startAt&&f._startTime&&f._startAt.render(t,!0,r),e||(f._totalTime!==m||n)&&f._callback("onUpdate")),f._cycle!==g&&(e||f._gc||f.vars.onRepeat&&f._callback("onRepeat")),n&&(f._gc&&!r||(t<0&&f._startAt&&!f._onUpdate&&f._startTime&&f._startAt.render(t,!0,r),i&&(f._timeline.autoRemoveChildren&&f._enabled(!1,!1),f._active=!1),!e&&f.vars[n]&&f._callback(n),0===v&&f._rawPrevTime===b&&h!==b&&(f._rawPrevTime=0)))}else m!==f._totalTime&&f._onUpdate&&(e||f._callback("onUpdate"))},_.to=function(t,e,r){return new _(t,e,r)},_.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new _(t,e,r)},_.fromTo=function(t,e,r,i){return i.startAt=r,i.immediateRender=0!=i.immediateRender&&0!=r.immediateRender,new _(t,e,i)},_.staggerTo=_.allTo=function(t,e,r,i,n,o,a){var s,l,u,h,c=[],f=v(r.stagger||i),p=r.cycle,d=(r.startAt||k).cycle;for(T(t)||("string"==typeof t&&(t=y.selector(t)||t),w(t)&&(t=m(t))),s=(t=t||[]).length-1,u=0;u<=s;u++){for(h in l={},r)l[h]=r[h];if(p&&(g(l,t,u),null!=l.duration&&(e=l.duration,delete l.duration)),d){for(h in d=l.startAt={},r.startAt)d[h]=r.startAt[h];g(l.startAt,t,u)}l.delay=f(u,t[u],t)+(l.delay||0),u===s&&n&&(l.onComplete=function(){r.onComplete&&r.onComplete.apply(r.onCompleteScope||this,arguments),n.apply(a||r.callbackScope||this,o||k)}),c[u]=new _(t[u],e,l)}return c},_.staggerFrom=_.allFrom=function(t,e,r,i,n,o,a){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,_.staggerTo(t,e,r,i,n,o,a)},_.staggerFromTo=_.allFromTo=function(t,e,r,i,n,o,a,s){return i.startAt=r,i.immediateRender=0!=i.immediateRender&&0!=r.immediateRender,_.staggerTo(t,e,i,n,o,a,s)},_.delayedCall=function(t,e,r,i,n){return new _(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,useFrames:n,overwrite:0})},_.set=function(t,e){return new _(t,0,e)},_.isTweening=function(t){return 0<y.getTweensOf(t,!0).length};var o=function(t,e){for(var r=[],i=0,n=t._first;n;)n instanceof y?r[i++]=n:(e&&(r[i++]=n),i=(r=r.concat(o(n,e))).length),n=n._next;return r},c=_.getAllTweens=function(t){return o(i._rootTimeline,t).concat(o(i._rootFramesTimeline,t))};_.killAll=function(t,e,r,i){null==e&&(e=!0),null==r&&(r=!0);var n,o,a,s=c(0!=i),l=s.length,u=e&&r&&i;for(a=0;a<l;a++)o=s[a],(u||o instanceof h||(n=o.target===o.vars.onComplete)&&r||e&&!n)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},_.killChildTweensOf=function(t,e){if(null!=t){var r,i,n,o,a,s=x.tweenLookup;if("string"==typeof t&&(t=y.selector(t)||t),w(t)&&(t=m(t)),T(t))for(o=t.length;-1<--o;)_.killChildTweensOf(t[o],e);else{for(n in r=[],s)for(i=s[n].target.parentNode;i;)i===t&&(r=r.concat(s[n].tweens)),i=i.parentNode;for(a=r.length,o=0;o<a;o++)e&&r[o].totalTime(r[o].totalDuration()),r[o]._enabled(!1,!1)}}};var n=function(t,e,r,i){e=!1!==e,r=!1!==r;for(var n,o,a=c(i=!1!==i),s=e&&r&&i,l=a.length;-1<--l;)o=a[l],(s||o instanceof h||(n=o.target===o.vars.onComplete)&&r||e&&!n)&&o.paused(t)};return _.pauseAll=function(t,e,r){n(!0,t,e,r)},_.resumeAll=function(t,e,r){n(!1,t,e,r)},_.globalTimeScale=function(t){var e=i._rootTimeline,r=y.ticker.time;return arguments.length?(t=t||b,e._startTime=r-(r-e._startTime)*e._timeScale/t,e=i._rootFramesTimeline,r=y.ticker.frame,e._startTime=r-(r-e._startTime)*e._timeScale/t,e._timeScale=i._rootTimeline._timeScale=t,t):e._timeScale},t.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},t.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},t.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var r=this._duration,i=this._cycle,n=i*(r+this._repeatDelay);return r<t&&(t=r),this.totalTime(this._yoyo&&1&i?r-t+n:this._repeat?t+n:t,e)},t.duration=function(t){return arguments.length?i.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},_},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(c,f,d){var m=function(t){f.call(this,t);var e,r,i=this.vars;for(r in this._labels={},this.autoRemoveChildren=!!i.autoRemoveChildren,this.smoothChildTiming=!!i.smoothChildTiming,this._sortChildren=!0,this._onUpdate=i.onUpdate,i)e=i[r],p(e)&&-1!==e.join("").indexOf("{self}")&&(i[r]=this._swapSelfInParams(e));p(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},t=d._internals,e=m._internals={},g=t.isSelector,p=t.isArray,v=t.lazyTweens,_=t.lazyRender,a=_gsScope._gsDefine.globals,y=function(t){var e,r={};for(e in t)r[e]=t[e];return r},b=function(t,e,r){var i,n,o=t.cycle;for(i in o)n=o[i],t[i]="function"==typeof n?n(r,e[r],e):n[r%n.length];delete t.cycle},o=e.pauseCallback=function(){},u=function(t,e,r,i){var n="immediateRender";return n in e||(e[n]=!(r&&!1===r[n]||i)),e},x=function(t){if("function"==typeof t)return t;var d="object"==typeof t?t:{each:t},m=d.ease,g=d.from||0,v=d.base||0,_={},y=isNaN(g),b=d.axis,x={center:.5,end:1}[g]||0;return function(t,e,r){var i,n,o,a,s,l,u,h,c,f=(r||d).length,p=_[f];if(!p){if(!(c="auto"===d.grid?0:(d.grid||[1/0])[0])){for(u=-1/0;u<(u=r[c++].getBoundingClientRect().left)&&c<f;);c--}for(p=_[f]=[],i=y?Math.min(c,f)*x-.5:g%c,n=y?f*x/c-.5:g/c|0,h=1/(u=0),l=0;l<f;l++)o=l%c-i,a=n-(l/c|0),p[l]=s=b?Math.abs("y"===b?a:o):Math.sqrt(o*o+a*a),u<s&&(u=s),s<h&&(h=s);p.max=u-h,p.min=h,p.v=f=d.amount||d.each*(f<c?f-1:b?"y"===b?f/c:c:Math.max(c,f/c))||0,p.b=f<0?v-f:v}return f=(p[t]-p.min)/p.max,p.b+(m?m.getRatio(f):f)*p.v}},r=m.prototype=new f;return m.version="2.1.3",m.distribute=x,r.constructor=m,r.kill()._gc=r._forcingPlayhead=r._hasPause=!1,r.to=function(t,e,r,i){var n=r.repeat&&a.TweenMax||d;return e?this.add(new n(t,e,r),i):this.set(t,r,i)},r.from=function(t,e,r,i){return this.add((r.repeat&&a.TweenMax||d).from(t,e,u(0,r)),i)},r.fromTo=function(t,e,r,i,n){var o=i.repeat&&a.TweenMax||d;return i=u(0,i,r),e?this.add(o.fromTo(t,e,r,i),n):this.set(t,i,n)},r.staggerTo=function(t,e,r,i,n,o,a,s){var l,u,h=new m({onComplete:o,onCompleteParams:a,callbackScope:s,smoothChildTiming:this.smoothChildTiming}),c=x(r.stagger||i),f=r.startAt,p=r.cycle;for("string"==typeof t&&(t=d.selector(t)||t),g(t=t||[])&&(t=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r}(t)),u=0;u<t.length;u++)l=y(r),f&&(l.startAt=y(f),f.cycle&&b(l.startAt,t,u)),p&&(b(l,t,u),null!=l.duration&&(e=l.duration,delete l.duration)),h.to(t[u],e,l,c(u,t[u],t));return this.add(h,n)},r.staggerFrom=function(t,e,r,i,n,o,a,s){return r.runBackwards=!0,this.staggerTo(t,e,u(0,r),i,n,o,a,s)},r.staggerFromTo=function(t,e,r,i,n,o,a,s,l){return i.startAt=r,this.staggerTo(t,e,u(0,i,r),n,o,a,s,l)},r.call=function(t,e,r,i){return this.add(d.delayedCall(0,t,e,r),i)},r.set=function(t,e,r){return this.add(new d(t,0,u(0,e,null,!0)),r)},m.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var r,i,n,o,a=new m(t),s=a._timeline;for(null==e&&(e=!0),s._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=s._time,n=s._first;n;)o=n._next,e&&n instanceof d&&n.target===n.vars.onComplete||((i=n._startTime-n._delay)<0&&(r=1),a.add(n,i)),n=o;return s.add(a,0),r&&a.totalDuration(),a},r.add=function(t,e,r,i){var n,o,a,s,l,u,h=this;if("number"!=typeof e&&(e=h._parseTimeOrLabel(e,0,!0,t)),!(t instanceof c)){if(t instanceof Array||t&&t.push&&p(t)){for(r=r||"normal",i=i||0,n=e,o=t.length,a=0;a<o;a++)p(s=t[a])&&(s=new m({tweens:s})),h.add(s,n),"string"!=typeof s&&"function"!=typeof s&&("sequence"===r?n=s._startTime+s.totalDuration()/s._timeScale:"start"===r&&(s._startTime-=s.delay())),n+=i;return h._uncache(!0)}if("string"==typeof t)return h.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=d.delayedCall(0,t)}if(f.prototype.add.call(h,t,e),(t._time||!t._duration&&t._initted)&&(n=(h.rawTime()-t._startTime)*t._timeScale,(!t._duration||1e-5<Math.abs(Math.max(0,Math.min(t.totalDuration(),n)))-t._totalTime)&&t.render(n,!1,!1)),(h._gc||h._time===h._duration)&&!h._paused&&h._duration<h.duration())for(u=(l=h).rawTime()>t._startTime;l._timeline;)u&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return h},r.remove=function(t){if(t instanceof c){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?c._rootFramesTimeline:c._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&p(t)){for(var r=t.length;-1<--r;)this.remove(t[r]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},r._remove=function(t,e){return f.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},r.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},r.insert=r.insertMultiple=function(t,e,r,i){return this.add(t,e||0,r,i)},r.appendMultiple=function(t,e,r,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),r,i)},r.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},r.addPause=function(t,e,r,i){var n=d.delayedCall(0,o,r,i||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},r.removeLabel=function(t){return delete this._labels[t],this},r.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},r._parseTimeOrLabel=function(t,e,r,i){var n,o;if(i instanceof c&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&p(i)))for(o=i.length;-1<--o;)i[o]instanceof c&&i[o].timeline===this&&this.remove(i[o]);if(n="number"!=typeof t||e?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,r&&"number"==typeof t&&null==this._labels[e]?t-n:0,r);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=n);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?r?this._labels[t]=n+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=1<o?this._parseTimeOrLabel(t.substr(0,o-1),0,r):n}return Number(t)+e},r.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(t,e){return this.play(t,e)},r.gotoAndStop=function(t,e){return this.pause(t,e)},r.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var i,n,o,a,s,l,u,h,c=this,f=c._time,p=c._dirty?c.totalDuration():c._totalDuration,d=c._startTime,m=c._timeScale,g=c._paused;if(f!==c._time&&(t+=c._time-f),c._hasPause&&!c._forcingPlayhead&&!e){if(f<t)for(i=c._first;i&&i._startTime<=t&&!l;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===c._rawPrevTime||(l=i),i=i._next;else for(i=c._last;i&&i._startTime>=t&&!l;)i._duration||"isPause"===i.data&&0<i._rawPrevTime&&(l=i),i=i._prev;l&&(c._time=c._totalTime=t=l._startTime,h=c._startTime+(c._reversed?c._duration-t:t)/c._timeScale)}if(p-1e-8<=t&&0<=t)c._totalTime=c._time=p,c._reversed||c._hasPausedChild()||(n=!0,a="onComplete",s=!!c._timeline.autoRemoveChildren,0===c._duration&&(t<=0&&-1e-8<=t||c._rawPrevTime<0||1e-8===c._rawPrevTime)&&c._rawPrevTime!==t&&c._first&&(s=!0,1e-8<c._rawPrevTime&&(a="onReverseComplete"))),c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,t=p+1e-4;else if(t<1e-8)if(c._totalTime=c._time=0,-1e-8<t&&(t=0),(0!==f||0===c._duration&&1e-8!==c._rawPrevTime&&(0<c._rawPrevTime||t<0&&0<=c._rawPrevTime))&&(a="onReverseComplete",n=c._reversed),t<0)c._active=!1,c._timeline.autoRemoveChildren&&c._reversed?(s=n=!0,a="onReverseComplete"):0<=c._rawPrevTime&&c._first&&(s=!0),c._rawPrevTime=t;else{if(c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,0===t&&n)for(i=c._first;i&&0===i._startTime;)i._duration||(n=!1),i=i._next;t=0,c._initted||(s=!0)}else c._totalTime=c._time=c._rawPrevTime=t;if(c._time!==f&&c._first||r||s||l){if(c._initted||(c._initted=!0),c._active||!c._paused&&c._time!==f&&0<t&&(c._active=!0),0===f&&c.vars.onStart&&(0===c._time&&c._duration||e||c._callback("onStart")),f<=(u=c._time))for(i=c._first;i&&(o=i._next,u===c._time&&(!c._paused||g));)(i._active||i._startTime<=u&&!i._paused&&!i._gc)&&(l===i&&(c.pause(),c._pauseTime=h),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=o;else for(i=c._last;i&&(o=i._prev,u===c._time&&(!c._paused||g));){if(i._active||i._startTime<=f&&!i._paused&&!i._gc){if(l===i){for(l=i._prev;l&&l.endTime()>c._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,r),l=l._prev;l=null,c.pause(),c._pauseTime=h}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)}i=o}c._onUpdate&&(e||(v.length&&_(),c._callback("onUpdate"))),a&&(c._gc||d!==c._startTime&&m===c._timeScale||(0===c._time||p>=c.totalDuration())&&(n&&(v.length&&_(),c._timeline.autoRemoveChildren&&c._enabled(!1,!1),c._active=!1),!e&&c.vars[a]&&c._callback(a)))}},r._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof m&&t._hasPausedChild())return!0;t=t._next}return!1},r.getChildren=function(t,e,r,i){i=i||-9999999999;for(var n=[],o=this._first,a=0;o;)o._startTime<i||(o instanceof d?!1!==e&&(n[a++]=o):(!1!==r&&(n[a++]=o),!1!==t&&(a=(n=n.concat(o.getChildren(!0,e,r))).length))),o=o._next;return n},r.getTweensOf=function(t,e){var r,i,n=this._gc,o=[],a=0;for(n&&this._enabled(!0,!0),i=(r=d.getTweensOf(t)).length;-1<--i;)(r[i].timeline===this||e&&this._contains(r[i]))&&(o[a++]=r[i]);return n&&this._enabled(!1,!0),o},r.recent=function(){return this._recent},r._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},r.shiftChildren=function(t,e,r){r=r||0;for(var i,n=this._first,o=this._labels;n;)n._startTime>=r&&(n._startTime+=t),n=n._next;if(e)for(i in o)o[i]>=r&&(o[i]+=t);return this._uncache(!0)},r._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var r=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=r.length,n=!1;-1<--i;)r[i]._kill(t,e)&&(n=!0);return n},r.clear=function(t){var e=this.getChildren(!1,!0,!0),r=e.length;for(this._time=this._totalTime=0;-1<--r;)e[r]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return c.prototype.invalidate.call(this)},r._enabled=function(t,e){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return f.prototype._enabled.call(this,t,e)},r.totalTime=function(t,e,r){this._forcingPlayhead=!0;var i=c.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},r.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,r,i=0,n=this,o=n._last,a=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>a&&n._sortChildren&&!o._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(o,o._startTime-o._delay),n._calculatingDuration=0):a=o._startTime,o._startTime<0&&!o._paused&&(i-=o._startTime,n._timeline.smoothChildTiming&&(n._startTime+=o._startTime/n._timeScale,n._time-=o._startTime,n._totalTime-=o._startTime,n._rawPrevTime-=o._startTime),n.shiftChildren(-o._startTime,!1,-9999999999),a=0),i<(r=o._startTime+o._totalDuration/o._timeScale)&&(i=r),o=e;n._duration=n._totalDuration=i,n._dirty=!1}return this._totalDuration},r.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return c.prototype.paused.apply(this,arguments)},r.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===c._rootFramesTimeline},r.rawTime=function(t){return t&&(this._paused||this._repeat&&0<this.time()&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},m},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,s,t){var r=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},A=1e-8,i=s._internals,E=i.lazyTweens,I=i.lazyRender,l=_gsScope._gsDefine.globals,u=new t(null,null,1,0),n=r.prototype=new e;return n.constructor=r,n.kill()._gc=!1,r.version="2.1.3",n.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},n.addCallback=function(t,e,r,i){return this.add(s.delayedCall(0,t,r,i),e)},n.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var r=this.getTweensOf(t,!1),i=r.length,n=this._parseTimeOrLabel(e);-1<--i;)r[i]._startTime===n&&r[i]._enabled(!1,!1);return this},n.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},n.tweenTo=function(t,e){e=e||{};var r,i,n,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=e.repeat&&l.TweenMax||s;for(i in e)o[i]=e[i];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,n=new a(this,r,o),o.onStart=function(){n.target.paused(!0),n.vars.time===n.target.time()||r!==n.duration()||n.isFromTo||n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale).render(n.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||n,e.onStartParams||[])},n},n.tweenFromTo=function(t,e,r){r=r||{},t=this._parseTimeOrLabel(t),r.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},r.immediateRender=!1!==r.immediateRender;var i=this.tweenTo(e,r);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},n.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var i,n,o,a,s,l,u,h,c,f=this,p=f._time,d=f._dirty?f.totalDuration():f._totalDuration,m=f._duration,g=f._totalTime,v=f._startTime,_=f._timeScale,y=f._rawPrevTime,b=f._paused,x=f._cycle;if(p!==f._time&&(t+=f._time-p),d-A<=t&&0<=t)f._locked||(f._totalTime=d,f._cycle=f._repeat),f._reversed||f._hasPausedChild()||(n=!0,a="onComplete",s=!!f._timeline.autoRemoveChildren,0===f._duration&&(t<=0&&-A<=t||y<0||y===A)&&y!==t&&f._first&&(s=!0,A<y&&(a="onReverseComplete"))),f._rawPrevTime=f._duration||!e||t||f._rawPrevTime===t?t:A,f._yoyo&&1&f._cycle?f._time=t=0:t=(f._time=m)+1e-4;else if(t<A)if(f._locked||(f._totalTime=f._cycle=0),f._time=0,-A<t&&(t=0),(0!==p||0===m&&y!==A&&(0<y||t<0&&0<=y)&&!f._locked)&&(a="onReverseComplete",n=f._reversed),t<0)f._active=!1,f._timeline.autoRemoveChildren&&f._reversed?(s=n=!0,a="onReverseComplete"):0<=y&&f._first&&(s=!0),f._rawPrevTime=t;else{if(f._rawPrevTime=m||!e||t||f._rawPrevTime===t?t:A,0===t&&n)for(i=f._first;i&&0===i._startTime;)i._duration||(n=!1),i=i._next;t=0,f._initted||(s=!0)}else 0===m&&y<0&&(s=!0),f._time=f._rawPrevTime=t,f._locked||(f._totalTime=t,0!==f._repeat&&(l=m+f._repeatDelay,f._cycle=f._totalTime/l>>0,f._cycle&&f._cycle===f._totalTime/l&&g<=t&&f._cycle--,f._time=f._totalTime-f._cycle*l,f._yoyo&&1&f._cycle&&(f._time=m-f._time),f._time>m?t=(f._time=m)+1e-4:f._time<0?f._time=t=0:t=f._time));if(f._hasPause&&!f._forcingPlayhead&&!e){if(p<(t=f._time)||f._repeat&&x!==f._cycle)for(i=f._first;i&&i._startTime<=t&&!u;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===f._rawPrevTime||(u=i),i=i._next;else for(i=f._last;i&&i._startTime>=t&&!u;)i._duration||"isPause"===i.data&&0<i._rawPrevTime&&(u=i),i=i._prev;u&&(c=f._startTime+(f._reversed?f._duration-u._startTime:u._startTime)/f._timeScale,u._startTime<m&&(f._time=f._rawPrevTime=t=u._startTime,f._totalTime=t+f._cycle*(f._totalDuration+f._repeatDelay)))}if(f._cycle!==x&&!f._locked){var w=f._yoyo&&0!=(1&x),T=w===(f._yoyo&&0!=(1&f._cycle)),k=f._totalTime,S=f._cycle,P=f._rawPrevTime,C=f._time;if(f._totalTime=x*m,f._cycle<x?w=!w:f._totalTime+=m,f._time=p,f._rawPrevTime=0===m?y-1e-4:y,f._cycle=x,f._locked=!0,p=w?0:m,f.render(p,e,0===m),e||f._gc||f.vars.onRepeat&&(f._cycle=S,f._locked=!1,f._callback("onRepeat")),p!==f._time)return;if(T&&(f._cycle=x,f._locked=!0,p=w?m+1e-4:-1e-4,f.render(p,!0,!1)),f._locked=!1,f._paused&&!b)return;f._time=C,f._totalTime=k,f._cycle=S,f._rawPrevTime=P}if(f._time!==p&&f._first||r||s||u){if(f._initted||(f._initted=!0),f._active||!f._paused&&f._totalTime!==g&&0<t&&(f._active=!0),0===g&&f.vars.onStart&&(0===f._totalTime&&f._totalDuration||e||f._callback("onStart")),p<=(h=f._time))for(i=f._first;i&&(o=i._next,h===f._time&&(!f._paused||b));)(i._active||i._startTime<=f._time&&!i._paused&&!i._gc)&&(u===i&&(f.pause(),f._pauseTime=c),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=o;else for(i=f._last;i&&(o=i._prev,h===f._time&&(!f._paused||b));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(u===i){for(u=i._prev;u&&u.endTime()>f._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,r),u=u._prev;u=null,f.pause(),f._pauseTime=c}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)}i=o}f._onUpdate&&(e||(E.length&&I(),f._callback("onUpdate"))),a&&(f._locked||f._gc||v!==f._startTime&&_===f._timeScale||(0===f._time||d>=f.totalDuration())&&(n&&(E.length&&I(),f._timeline.autoRemoveChildren&&f._enabled(!1,!1),f._active=!1),!e&&f.vars[a]&&f._callback(a)))}else g!==f._totalTime&&f._onUpdate&&(e||f._callback("onUpdate"))},n.getActive=function(t,e,r){var i,n,o=[],a=this.getChildren(t||null==t,e||null==t,!!r),s=0,l=a.length;for(i=0;i<l;i++)(n=a[i]).isActive()&&(o[s++]=n);return o},n.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,r=this.getLabelsArray(),i=r.length;for(e=0;e<i;e++)if(r[e].time>t)return r[e].name;return null},n.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),r=e.length;-1<--r;)if(e[r].time<t)return e[r].name;return null},n.getLabelsArray=function(){var t,e=[],r=0;for(t in this._labels)e[r++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},n.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},n.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},n.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},n.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},n.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var r=this._duration,i=this._cycle,n=i*(r+this._repeatDelay);return r<t&&(t=r),this.totalTime(this._yoyo&&1&i?r-t+n:this._repeat?t+n:t,e)},n.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},n.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},n.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+A)},r},!0),k=180/Math.PI,x=[],w=[],T=[],v={},r=_gsScope._gsDefine.globals,_=function(t,e,r,i){r===i&&(r=i-(i-e)/1e6),t===e&&(e=t+(r-t)/1e6),this.a=t,this.b=e,this.c=r,this.d=i,this.da=i-t,this.ca=r-t,this.ba=e-t},S=function(t,e,r,i){var n={a:t},o={},a={},s={c:i},l=(t+e)/2,u=(e+r)/2,h=(r+i)/2,c=(l+u)/2,f=(u+h)/2,p=(f-c)/8;return n.b=l+(t-l)/4,o.b=c+p,n.c=o.a=(n.b+o.b)/2,o.c=a.a=(c+f)/2,a.b=f-p,s.b=h+(i-h)/4,a.c=s.a=(a.b+s.b)/2,[n,o,a,s]},y=function(t,e,r,i,n){var o,a,s,l,u,h,c,f,p,d,m,g,v,_=t.length-1,y=0,b=t[0].a;for(o=0;o<_;o++)a=(u=t[y]).a,s=u.d,l=t[y+1].d,f=n?(m=x[o],v=((g=w[o])+m)*e*.25/(i?.5:T[o]||.5),s-((h=s-(s-a)*(i?.5*e:0!==m?v/m:0))+(((c=s+(l-s)*(i?.5*e:0!==g?v/g:0))-h)*(3*m/(m+g)+.5)/4||0))):s-((h=s-(s-a)*e*.5)+(c=s+(l-s)*e*.5))/2,h+=f,c+=f,u.c=p=h,u.b=0!==o?b:b=u.a+.6*(u.c-u.a),u.da=s-a,u.ca=p-a,u.ba=b-a,r?(d=S(a,b,p,s),t.splice(y,1,d[0],d[1],d[2],d[3]),y+=4):y++,b=c;(u=t[y]).b=b,u.c=b+.4*(u.d-b),u.da=u.d-u.a,u.ca=u.c-u.a,u.ba=b-u.a,r&&(d=S(u.a,b,u.c,u.d),t.splice(y,1,d[0],d[1],d[2],d[3]))},b=function(t,e,r,i){var n,o,a,s,l,u,h=[];if(i)for(o=(t=[i].concat(t)).length;-1<--o;)"string"==typeof(u=t[o][e])&&"="===u.charAt(1)&&(t[o][e]=i[e]+Number(u.charAt(0)+u.substr(2)));if((n=t.length-2)<0)return h[0]=new _(t[0][e],0,0,t[0][e]),h;for(o=0;o<n;o++)a=t[o][e],s=t[o+1][e],h[o]=new _(a,0,0,s),r&&(l=t[o+2][e],x[o]=(x[o]||0)+(s-a)*(s-a),w[o]=(w[o]||0)+(l-s)*(l-s));return h[o]=new _(t[o][e],0,0,t[o+1][e]),h},p=function(t,e,r,i,n,o){var a,s,l,u,h,c,f,p,d={},m=[],g=o||t[0];for(s in n="string"==typeof n?","+n+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])m.push(s);if(1<t.length){for(p=t[t.length-1],f=!0,a=m.length;-1<--a;)if(s=m[a],.05<Math.abs(g[s]-p[s])){f=!1;break}f&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(x.length=w.length=T.length=0,a=m.length;-1<--a;)s=m[a],v[s]=-1!==n.indexOf(","+s+","),d[s]=b(t,s,v[s],o);for(a=x.length;-1<--a;)x[a]=Math.sqrt(x[a]),w[a]=Math.sqrt(w[a]);if(!i){for(a=m.length;-1<--a;)if(v[s])for(c=(l=d[m[a]]).length-1,u=0;u<c;u++)h=l[u+1].da/w[u]+l[u].da/x[u]||0,T[u]=(T[u]||0)+h*h;for(a=T.length;-1<--a;)T[a]=Math.sqrt(T[a])}for(a=m.length,u=r?4:1;-1<--a;)l=d[s=m[a]],y(l,e,r,i,v[s]),f&&(l.splice(0,u),l.splice(l.length-u,u));return d},d=function(t,e,r){for(var i,n,o,a,s,l,u,h,c,f,p,d=1/r,m=t.length;-1<--m;)for(o=(f=t[m]).a,a=f.d-o,s=f.c-o,l=f.b-o,i=n=0,h=1;h<=r;h++)i=n-(n=((u=d*h)*u*a+3*(c=1-u)*(u*s+c*l))*u),e[p=m*r+h-1]=(e[p]||0)+i*i},g=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,r){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,n,o,a,s,l=e.values||[],u={},h=l[0],c=e.autoRotate||r.vars.orientToBezier;for(i in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,h)this._props.push(i);for(o=this._props.length;-1<--o;)i=this._props[o],this._overwriteProps.push(i),n=this._func[i]="function"==typeof t[i],u[i]=n?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?p(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,r){var i,n,o,a,s,l,u,h,c,f,p,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&r&&(t=[r].concat(t)),null==t||t.length<1+m)throw"invalid Bezier data";for(c in t[0])v.push(c);for(l=v.length;-1<--l;){for(d[c=v[l]]=s=[],f=0,h=t.length,u=0;u<h;u++)i=null==r?t[u][c]:"string"==typeof(p=t[u][c])&&"="===p.charAt(1)?r[c]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&1<u&&u<h-1&&(s[f++]=(i+s[f-2])/2),s[f++]=i;for(h=f-m+1,u=f=0;u<h;u+=m)i=s[u],n=s[u+1],o=s[u+2],a=2==m?0:s[u+3],s[f++]=p=3==m?new _(i,n,o,a):new _(i,(2*n+i)/3,(2*n+o)/3,o);s.length=f}return d}(l,e.type,u),this._segCount=this._beziers[i].length,this._timeRes){var f=function(t,e){var r,i,n,o,a=[],s=[],l=0,u=0,h=(e=e>>0||6)-1,c=[],f=[];for(r in t)d(t[r],a,e);for(n=a.length,i=0;i<n;i++)l+=Math.sqrt(a[i]),f[o=i%e]=l,o===h&&(u+=l,c[o=i/e>>0]=f,s[o]=u,l=0,f=[]);return{length:u,lengths:s,segments:c}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),o=c.length;-1<--o;){for(a=0;a<3;a++)i=c[o][a],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=c[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=r.vars.runBackwards?1:0,!0},set:function(t){var e,r,i,n,o,a,s,l,u,h,c,f=this._segCount,p=this._func,d=this._target,m=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,h=this._curSeg,c=t*this._length,i=this._li,c>this._l2&&i<f-1){for(l=f-1;i<l&&(this._l2=u[++i])<=c;);this._l1=u[i-1],this._li=i,this._curSeg=h=this._segments[i],this._s2=h[this._s1=this._si=0]}else if(c<this._l1&&0<i){for(;0<i&&(this._l1=u[--i])>=c;);0===i&&c<this._l1?this._l1=0:i++,this._l2=u[i],this._li=i,this._curSeg=h=this._segments[i],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(e=i,c-=this._l1,i=this._si,c>this._s2&&i<h.length-1){for(l=h.length-1;i<l&&(this._s2=h[++i])<=c;);this._s1=h[i-1],this._si=i}else if(c<this._s1&&0<i){for(;0<i&&(this._s1=h[--i])>=c;);0===i&&c<this._s1?this._s1=0:i++,this._s2=h[i],this._si=i}a=1===t?1:(i+(c-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(e=t<0?0:1<=t?f-1:f*t>>0)*(1/f))*f;for(r=1-a,i=this._props.length;-1<--i;)n=this._props[i],s=(a*a*(o=this._beziers[n][e]).da+3*r*(a*o.ca+r*o.ba))*a+o.a,this._mod[n]&&(s=this._mod[n](s,d)),p[n]?d[n](s):d[n]=s;if(this._autoRotate){var g,v,_,y,b,x,w,T=this._autoRotate;for(i=T.length;-1<--i;)n=T[i][2],x=T[i][3]||0,w=!0===T[i][4]?1:k,o=this._beziers[T[i][0]],g=this._beziers[T[i][1]],o&&g&&(o=o[e],g=g[e],v=o.a+(o.b-o.a)*a,v+=((y=o.b+(o.c-o.b)*a)-v)*a,y+=(o.c+(o.d-o.c)*a-y)*a,_=g.a+(g.b-g.a)*a,_+=((b=g.b+(g.c-g.b)*a)-_)*a,b+=(g.c+(g.d-g.c)*a-b)*a,s=m?Math.atan2(b-_,y-v)*w+x:this._initialRotations[i],this._mod[n]&&(s=this._mod[n](s,d)),p[n]?d[n](s):d[n]=s)}}}),t=g.prototype,g.bezierThrough=p,g.cubicToQuadratic=S,g._autoCSS=!0,g.quadraticToCubic=function(t,e,r){return new _(t,(2*e+t)/3,(2*e+r)/3,r)},g._cssRegister=function(){var t=r.CSSPlugin;if(t){var e=t._internals,p=e._parseToProxy,d=e._setPluginRatio,m=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,r,i,n,o){e instanceof Array&&(e={values:e}),o=new g;var a,s,l,u=e.values,h=u.length-1,c=[],f={};if(h<0)return n;for(a=0;a<=h;a++)l=p(t,u[a],i,n,o,h!==a),c[a]=l.end;for(s in e)f[s]=e[s];return f.values=c,(n=new m(t,"bezier",0,0,l.pt,2)).data=l,n.plugin=o,n.setRatio=d,0===f.autoRotate&&(f.autoRotate=!0),!f.autoRotate||f.autoRotate instanceof Array||(a=!0===f.autoRotate?0:Number(f.autoRotate),f.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),f.autoRotate&&(i._transform||i._enableTransforms(!1),l.autoRotate=i._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,i._overwriteProps.push("rotation")),o._onInitTween(l.proxy,f,i._tween),n}})}},t._mod=function(t){for(var e,r=this._overwriteProps,i=r.length;-1<--i;)(e=t[r[i]])&&"function"==typeof e&&(this._mod[r[i]]=e)},t._kill=function(t){var e,r,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],r=i.length;-1<--r;)i[r]===e&&i.splice(r,1);if(i=this._autoRotate)for(r=i.length;-1<--r;)t[i[r][2]]&&i.splice(r,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(o,B){var d,k,S,m,U=function(){o.call(this,"css"),this._overwriteProps.length=0,this.setRatio=U.prototype.setRatio},u=_gsScope._gsDefine.globals,g={},t=U.prototype=new o("css");(t.constructor=U).version="2.1.3",U.API=2,U.defaultTransformPerspective=0,U.defaultSkewType="compensated",U.defaultSmoothOrigin=!0,t="px",U.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var C,v,_,j,y,P,A,E,e,r,I=/(?:\-|\.|\b)(\d|\.|e\-)+/g,O=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,n=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,h=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,M=/(?:\d|\-|\+|=|#|\.)*/g,D=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,a=/alpha\(opacity *=.+?\)/i,w=/^(rgb|hsl)/,s=/([A-Z])/g,l=/-([a-z])/gi,T=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,c=function(t,e){return e.toUpperCase()},p=/(?:Left|Right|Width)/i,f=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,R=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,L=Math.PI/180,X=180/Math.PI,N={},i={style:{}},H=_gsScope.document||{createElement:function(){return i}},q=function(t,e){var r=H.createElementNS?H.createElementNS(e||"http://www.w3.org/1999/xhtml",t):H.createElement(t);return r.style?r:H.createElement(t)},W=q("div"),G=q("img"),V=U._internals={_specialProps:g},Y=(_gsScope.navigator||{}).userAgent||"",Z=(e=Y.indexOf("Android"),r=q("a"),_=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===e||3<parseFloat(Y.substr(e+8,2))),y=_&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,j=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(P=parseFloat(RegExp.$1)),!!r&&(r.style.cssText="top:1px;opacity:.55;",/^0.55/.test(r.style.opacity))),J=function(t){return D.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},K=function(t){_gsScope.console&&console.log(t)},Q="",$="",tt=function(t,e){var r,i,n=(e=e||W).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;-1<--i&&void 0===n[r[i]+t];);return 0<=i?(Q="-"+($=3===i?"ms":r[i]).toLowerCase()+"-",$+t):null},et="undefined"!=typeof window?window:H.defaultView||{getComputedStyle:function(){}},rt=function(t){return et.getComputedStyle(t)},it=U.getStyle=function(t,e,r,i,n){var o;return Z||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(r=r||rt(t))?o=r[e]||r.getPropertyValue(e)||r.getPropertyValue(e.replace(s,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==n||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:n):J(t)},nt=V.convertToPixels=function(t,e,r,i,n){if("px"===i||!i&&"lineHeight"!==e)return r;if("auto"===i||!r)return 0;var o,a,s,l=p.test(e),u=t,h=W.style,c=r<0,f=1===r;if(c&&(r=-r),f&&(r*=100),"lineHeight"!==e||i)if("%"===i&&-1!==e.indexOf("border"))o=r/100*(l?t.clientWidth:t.clientHeight);else{if(h.cssText="border:0 solid red;position:"+it(t,"position")+";line-height:0;","%"!==i&&u.appendChild&&"v"!==i.charAt(0)&&"rem"!==i)h[l?"borderLeftWidth":"borderTopWidth"]=r+i;else{if(u=t.parentNode||H.body,-1!==it(u,"display").indexOf("flex")&&(h.position="absolute"),a=u._gsCache,s=B.ticker.frame,a&&l&&a.time===s)return a.width*r/100;h[l?"width":"height"]=r+i}u.appendChild(W),o=parseFloat(W[l?"offsetWidth":"offsetHeight"]),u.removeChild(W),l&&"%"===i&&!1!==U.cacheWidths&&((a=u._gsCache=u._gsCache||{}).time=s,a.width=o/r*100),0!==o||n||(o=nt(t,e,r,i,!0))}else a=rt(t).lineHeight,t.style.lineHeight=r,o=parseFloat(rt(t).lineHeight),t.style.lineHeight=a;return f&&(o/=100),c?-o:o},ot=V.calculateOffset=function(t,e,r){if("absolute"!==it(t,"position",r))return 0;var i="left"===e?"Left":"Top",n=it(t,"margin"+i,r);return t["offset"+i]-(nt(t,e,parseFloat(n),n.replace(M,""))||0)},at=function(t,e){var r,i,n,o={};if(e=e||rt(t))if(r=e.length)for(;-1<--r;)-1!==(n=e[r]).indexOf("-transform")&&jt!==n||(o[n.replace(l,c)]=e.getPropertyValue(n));else for(r in e)-1!==r.indexOf("Transform")&&Ft!==r||(o[r]=e[r]);else if(e=t.currentStyle||t.style)for(r in e)"string"==typeof r&&void 0===o[r]&&(o[r.replace(l,c)]=e[r]);return Z||(o.opacity=J(t)),i=Jt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Nt&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},st=function(t,e,r,i,n){var o,a,s,l={},u=t.style;for(a in r)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=r[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[a]||""===e[a].replace(h,"")?o:0:ot(t,a),void 0!==u[a]&&(s=new wt(u,a,u[a],s))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:s}},lt={width:["Left","Right"],height:["Top","Bottom"]},ut=["marginLeft","marginRight","marginTop","marginBottom"],ht=function(t,e,r){if("svg"===(t.nodeName+"").toLowerCase())return(r||rt(t))[e]||0;if(t.getCTM&&Vt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=lt[e],o=n.length;for(r=r||rt(t);-1<--o;)i-=parseFloat(it(t,"padding"+n[o],r,!0))||0,i-=parseFloat(it(t,"border"+n[o]+"Width",r,!0))||0;return i},ct=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var r,i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(3<i.length&&!e){for(i=t.split(", ").join(",").split(","),t=[],r=0;r<i.length;r++)t.push(ct(i[r]));return t.join(",")}return null==o?o="center"===n?"50%":"0":"center"===o&&(o="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+o+(2<i.length?" "+i[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(n.replace(h,"")),e.oy=parseFloat(o.replace(h,"")),e.v=t),e||t},ft=function(t,e){return"function"==typeof t&&(t=t(E,A)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},pt=function(t,e){"function"==typeof t&&(t=t(E,A));var r="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(r?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(r?t.substr(2):t)/100)),null==t?e:r?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},dt=function(t,e,r,i){var n,o,a,s;return"function"==typeof t&&(t=t(E,A)),(a=null==t?e:"number"==typeof t?t:(360,n=t.split("_"),o=((s="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(n[0].substr(2)):parseFloat(n[0]))*(-1===t.indexOf("rad")?1:X)-(s?0:e),n.length&&(i&&(i[r]=e+o),-1!==t.indexOf("short")&&(o%=360)!==o%180&&(o=o<0?o+360:o-360),-1!==t.indexOf("_cw")&&o<0?o=(o+3599999999640)%360-360*(o/360|0):-1!==t.indexOf("ccw")&&0<o&&(o=(o-3599999999640)%360-360*(o/360|0))),e+o))<1e-6&&-1e-6<a&&(a=0),a},mt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},gt=function(t,e,r){return 255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)+.5|0},vt=U.parseColor=function(t,e){var r,i,n,o,a,s,l,u,h,c,f;if(t)if("number"==typeof t)r=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),mt[t])r=mt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(o=t.charAt(3))+o),r=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(r=f=t.match(I),e){if(-1!==t.indexOf("="))return t.match(O)}else a=Number(r[0])%360/360,s=Number(r[1])/100,i=2*(l=Number(r[2])/100)-(n=l<=.5?l*(s+1):l+s-l*s),3<r.length&&(r[3]=Number(r[3])),r[0]=gt(a+1/3,i,n),r[1]=gt(a,i,n),r[2]=gt(a-1/3,i,n);else r=t.match(I)||mt.transparent;r[0]=Number(r[0]),r[1]=Number(r[1]),r[2]=Number(r[2]),3<r.length&&(r[3]=Number(r[3]))}else r=mt.black;return e&&!f&&(i=r[0]/255,n=r[1]/255,o=r[2]/255,l=((u=Math.max(i,n,o))+(h=Math.min(i,n,o)))/2,u===h?a=s=0:(c=u-h,s=.5<l?c/(2-u-h):c/(u+h),a=u===i?(n-o)/c+(n<o?6:0):u===n?(o-i)/c+2:(i-n)/c+4,a*=60),r[0]=a+.5|0,r[1]=100*s+.5|0,r[2]=100*l+.5|0),r},_t=function(t,e){var r,i,n,o=t.match(yt)||[],a=0,s="";if(!o.length)return t;for(r=0;r<o.length;r++)i=o[r],a+=(n=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=vt(i,e)).length&&i.push(1),s+=n+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return s+t.substr(a)},yt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in mt)yt+="|"+t+"\\b";yt=new RegExp(yt+")","gi"),U.colorStringFilter=function(t){var e,r=t[0]+" "+t[1];yt.test(r)&&(e=-1!==r.indexOf("hsl(")||-1!==r.indexOf("hsla("),t[0]=_t(t[0],e),t[1]=_t(t[1],e)),yt.lastIndex=0},B.defaultStringFilter||(B.defaultStringFilter=U.colorStringFilter);var bt=function(t,e,o,a){if(null==t)return function(t){return t};var s,l=e?(t.match(yt)||[""])[0]:"",u=t.split(l).join("").match(b)||[],h=t.substr(0,t.indexOf(u[0])),c=")"===t.charAt(t.length-1)?")":"",f=-1!==t.indexOf(" ")?" ":",",p=u.length,d=0<p?u[0].replace(I,""):"";return p?s=e?function(t){var e,r,i,n;if("number"==typeof t)t+=d;else if(a&&R.test(t)){for(n=t.replace(R,"|").split("|"),i=0;i<n.length;i++)n[i]=s(n[i]);return n.join(",")}if(e=(t.match(yt)||[l])[0],i=(r=t.split(e).join("").match(b)||[]).length,p>i--)for(;++i<p;)r[i]=o?r[(i-1)/2|0]:u[i];return h+r.join(f)+f+e+c+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,r,i;if("number"==typeof t)t+=d;else if(a&&R.test(t)){for(r=t.replace(R,"|").split("|"),i=0;i<r.length;i++)r[i]=s(r[i]);return r.join(",")}if(i=(e=t.match(","==f?b:n)||[]).length,p>i--)for(;++i<p;)e[i]=o?e[(i-1)/2|0]:u[i];return(h&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||h)+e.join(f)+c}:function(t){return t}},xt=function(u){return u=u.split(","),function(t,e,r,i,n,o,a){var s,l=(e+"").split(" ");for(a={},s=0;s<4;s++)a[u[s]]=l[s]=l[s]||l[(s-1)/2>>0];return i.parse(t,a,n,o)}},wt=(V._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,r,i,n,o,a=this.data,s=a.proxy,l=a.firstMPT;l;)e=s[l.v],l.r?e=l.r(e):e<1e-6&&-1e-6<e&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=a.firstMPT,o=1===t?"e":"b";l;){if((r=l.t).type){if(1===r.type){for(n=r.xs0+r.s+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r[o]=n}}else r[o]=r.s+r.xs0;l=l._next}},function(t,e,r,i,n){this.t=t,this.p=e,this.v=r,this.r=n,i&&((i._prev=this)._next=i)}),Tt=(V._parseToProxy=function(t,e,r,i,n,o){var a,s,l,u,h,c=i,f={},p={},d=r._transform,m=N;for(r._transform=null,N=e,i=h=r.parse(t,e,i,n),N=m,o&&(r._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));i&&i!==c;){if(i.type<=1&&(p[s=i.p]=i.s+i.c,f[s]=i.s,o||(u=new wt(i,"s",s,u,i.r),i.c=0),1===i.type))for(a=i.l;0<--a;)l="xn"+a,p[s=i.p+"_"+l]=i.data[l],f[s]=i[l],o||(u=new wt(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:f,end:p,firstMPT:u,pt:h}},V.CSSPropTween=function(t,e,r,i,n,o,a,s,l,u,h){this.t=t,this.p=e,this.s=r,this.c=i,this.n=a||e,t instanceof Tt||m.push(this.n),this.r=s?"function"==typeof s?s:Math.round:s,this.type=o||0,l&&(this.pr=l,d=!0),this.b=void 0===u?r:u,this.e=void 0===h?r+i:h,n&&((this._next=n)._prev=this)}),kt=function(t,e,r,i,n,o){var a=new Tt(t,e,r,i-r,n,-1,o);return a.b=r,a.e=a.xs0=i,a},St=U.parseComplex=function(t,e,r,i,n,o,a,s,l,u){r=r||o||"","function"==typeof i&&(i=i(E,A)),a=new Tt(t,e,0,0,a,u?2:1,null,!1,s,r,i),i+="",n&&yt.test(i+r)&&(i=[r,i],U.colorStringFilter(i),r=i[0],i=i[1]);var h,c,f,p,d,m,g,v,_,y,b,x,w,T=r.split(", ").join(",").split(" "),k=i.split(", ").join(",").split(" "),S=T.length,P=!1!==C;for(-1===i.indexOf(",")&&-1===r.indexOf(",")||(k=-1!==(i+r).indexOf("rgb")||-1!==(i+r).indexOf("hsl")?(T=T.join(" ").replace(R,", ").split(" "),k.join(" ").replace(R,", ").split(" ")):(T=T.join(" ").split(",").join(", ").split(" "),k.join(" ").split(",").join(", ").split(" ")),S=T.length),S!==k.length&&(S=(T=(o||"").split(" ")).length),a.plugin=l,a.setRatio=u,h=yt.lastIndex=0;h<S;h++)if(p=T[h],d=k[h]+"",(v=parseFloat(p))||0===v)a.appendXtra("",v,ft(d,v),d.replace(O,""),P&&-1!==d.indexOf("px")&&Math.round,!0);else if(n&&yt.test(p))x=")"+((x=d.indexOf(")")+1)?d.substr(x):""),w=-1!==d.indexOf("hsl")&&Z,y=d,p=vt(p,w),d=vt(d,w),(_=6<p.length+d.length)&&!Z&&0===d[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[h]).join("transparent")):(Z||(_=!1),w?a.appendXtra(y.substr(0,y.indexOf("hsl"))+(_?"hsla(":"hsl("),p[0],ft(d[0],p[0]),",",!1,!0).appendXtra("",p[1],ft(d[1],p[1]),"%,",!1).appendXtra("",p[2],ft(d[2],p[2]),_?"%,":"%"+x,!1):a.appendXtra(y.substr(0,y.indexOf("rgb"))+(_?"rgba(":"rgb("),p[0],d[0]-p[0],",",Math.round,!0).appendXtra("",p[1],d[1]-p[1],",",Math.round).appendXtra("",p[2],d[2]-p[2],_?",":x,Math.round),_&&(p=p.length<4?1:p[3],a.appendXtra("",p,(d.length<4?1:d[3])-p,x,!1))),yt.lastIndex=0;else if(m=p.match(I)){if(!(g=d.match(O))||g.length!==m.length)return a;for(c=f=0;c<m.length;c++)b=m[c],y=p.indexOf(b,f),a.appendXtra(p.substr(f,y-f),Number(b),ft(g[c],b),"",P&&"px"===p.substr(y+b.length,2)&&Math.round,0===c),f=y+b.length;a["xs"+a.l]+=p.substr(f)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+d:d;if(-1!==i.indexOf("=")&&a.data){for(x=a.xs0+a.data.s,h=1;h<a.l;h++)x+=a["xs"+h]+a.data["xn"+h];a.e=x+a["xs"+h]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Pt=9;for((t=Tt.prototype).l=t.pr=0;0<--Pt;)t["xn"+Pt]=0,t["xs"+Pt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,r,i,n,o){var a=this,s=a.l;return a["xs"+s]+=o&&(s||a["xs"+s])?" "+t:t||"",r||0===s||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",0<s?(a.data["xn"+s]=e+r,a.rxp["xn"+s]=n,a["xn"+s]=e,a.plugin||(a.xfirst=new Tt(a,"xn"+s,e,r,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0)):(a.data={s:e+r},a.rxp={},a.s=e,a.c=r,a.r=n),a):(a["xs"+s]+=e+(i||""),a)};var Ct=function(t,e){e=e||{},this.p=e.prefix&&tt(t)||t,g[t]=g[this.p]=this,this.format=e.formatter||bt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},At=V._registerComplexSpecialProp=function(t,e,r){"object"!=typeof e&&(e={parser:r});var i,n=t.split(","),o=e.defaultValue;for(r=r||[o],i=0;i<n.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=r[i]||o,new Ct(n[i],e)},Et=V._registerPluginProp=function(t){if(!g[t]){var l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";At(t,{parser:function(t,e,r,i,n,o,a){var s=u.com.greensock.plugins[l];return s?(s._cssRegister(),g[r].parse(t,e,r,i,n,o,a)):(K("Error: "+l+" js file not loaded."),n)}})}};(t=Ct.prototype).parseComplex=function(t,e,r,i,n,o){var a,s,l,u,h,c,f=this.keyword;if(this.multi&&(R.test(r)||R.test(e)?(s=e.replace(R,"|").split("|"),l=r.replace(R,"|").split("|")):f&&(s=[e],l=[r])),l){for(u=l.length>s.length?l.length:s.length,a=0;a<u;a++)e=s[a]=s[a]||this.dflt,r=l[a]=l[a]||this.dflt,f&&(h=e.indexOf(f))!==(c=r.indexOf(f))&&(-1===c?s[a]=s[a].split(f).join(""):-1===h&&(s[a]+=" "+f));e=s.join(", "),r=l.join(", ")}return St(t,this.p,e,r,this.clrs,this.dflt,i,this.pr,n,o)},t.parse=function(t,e,r,i,n,o,a){return this.parseComplex(t.style,this.format(it(t,this.p,S,!1,this.dflt)),this.format(e),n,o)},U.registerSpecialProp=function(t,l,u){At(t,{parser:function(t,e,r,i,n,o,a){var s=new Tt(t,r,0,0,n,2,r,!1,u);return s.plugin=o,s.setRatio=l(t,e,i._tween,r),s},priority:u})},U.useSVGTransformAttr=!0;var It,Ot,Mt,Dt,zt,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ft=tt("transform"),jt=Q+"transform",Lt=tt("transformOrigin"),Nt=null!==tt("perspective"),Bt=V.Transform=function(){this.perspective=parseFloat(U.defaultTransformPerspective)||0,this.force3D=!(!1===U.defaultForce3D||!Nt)&&(U.defaultForce3D||"auto")},Ut=_gsScope.SVGElement,Xt=function(t,e,r){var i,n=H.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in r)n.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),r[i]);return e.appendChild(n),n},Ht=H.documentElement||{},qt=(zt=P||/Android/i.test(Y)&&!_gsScope.chrome,H.createElementNS&&Ht.appendChild&&!zt&&(Ot=Xt("svg",Ht),Dt=(Mt=Xt("rect",Ot,{width:100,height:50,x:100})).getBoundingClientRect().width,Mt.style[Lt]="50% 50%",Mt.style[Ft]="scaleX(0.5)",zt=Dt===Mt.getBoundingClientRect().width&&!(j&&Nt),Ht.removeChild(Ot)),zt),Wt=function(t,e,r,i,n,o){var a,s,l,u,h,c,f,p,d,m,g,v,_,y,b=t._gsTransform,x=Zt(t,!0);b&&(_=b.xOrigin,y=b.yOrigin),(!i||(a=i.split(" ")).length<2)&&(0===(f=t.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ct(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*f.width:parseFloat(e[0]))+f.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*f.height:parseFloat(e[1]))+f.y]),r.xOrigin=u=parseFloat(a[0]),r.yOrigin=h=parseFloat(a[1]),i&&x!==Yt&&(c=x[0],f=x[1],p=x[2],d=x[3],m=x[4],g=x[5],(v=c*d-f*p)&&(s=u*(d/v)+h*(-p/v)+(p*g-d*m)/v,l=u*(-f/v)+h*(c/v)-(c*g-f*m)/v,u=r.xOrigin=a[0]=s,h=r.yOrigin=a[1]=l)),b&&(o&&(r.xOffset=b.xOffset,r.yOffset=b.yOffset,b=r),n||!1!==n&&!1!==U.defaultSmoothOrigin?(s=u-_,l=h-y,b.xOffset+=s*x[0]+l*x[2]-s,b.yOffset+=s*x[1]+l*x[3]-l):b.xOffset=b.yOffset=0),o||t.setAttribute("data-svg-origin",a.join(" "))},Gt=function(t){var e,r=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,o=this.style.cssText;if(Ht.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Gt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?i.insertBefore(this,n):i.appendChild(this),Ht.removeChild(r),this.style.cssText=o,e},Vt=function(t){return!(!Ut||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Gt.call(e,!0)}}(t))},Yt=[1,0,0,1,0,0],Zt=function(t,e){var r,i,n,o,a,s,l,u=t._gsTransform||new Bt,h=t.style;if(Ft?i=it(t,jt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(f))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),u.x||0,u.y||0].join(","):""),r=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,Ft&&r&&!t.offsetParent&&t!==Ht&&(o=h.display,h.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,s=t.nextSibling,Ht.appendChild(t)),r=!(i=it(t,jt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?h.display=o:te(h,"display"),a&&(s?l.insertBefore(t,s):l?l.appendChild(t):Ht.removeChild(t))),(u.svg||t.getCTM&&Vt(t))&&(r&&-1!==(h[Ft]+"").indexOf("matrix")&&(i=h[Ft],r=0),n=t.getAttribute("transform"),r&&n&&(i="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",r=0)),r)return Yt;for(n=(i||"").match(I)||[],Pt=n.length;-1<--Pt;)o=Number(n[Pt]),n[Pt]=(a=o-(o|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+o:o;return e&&6<n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Jt=V.getTransform=function(t,e,r,i){if(t._gsTransform&&r&&!i)return t._gsTransform;var n,o,a,s,l,u,h=r&&t._gsTransform||new Bt,c=h.scaleX<0,f=Nt&&(parseFloat(it(t,Lt,e,!1,"0 0 0").split(" ")[2])||h.zOrigin)||0,p=parseFloat(U.defaultTransformPerspective)||0;if(h.svg=!(!t.getCTM||!Vt(t)),h.svg&&(Wt(t,it(t,Lt,e,!1,"50% 50%")+"",h,t.getAttribute("data-svg-origin")),It=U.useSVGTransformAttr||qt),(n=Zt(t))!==Yt){if(16===n.length){var d,m,g,v,_,y=n[0],b=n[1],x=n[2],w=n[3],T=n[4],k=n[5],S=n[6],P=n[7],C=n[8],A=n[9],E=n[10],I=n[12],O=n[13],M=n[14],D=n[11],z=Math.atan2(S,E);h.zOrigin&&(I=C*(M=-h.zOrigin)-n[12],O=A*M-n[13],M=E*M+h.zOrigin-n[14]),h.rotationX=z*X,z&&(d=T*(v=Math.cos(-z))+C*(_=Math.sin(-z)),m=k*v+A*_,g=S*v+E*_,C=T*-_+C*v,A=k*-_+A*v,E=S*-_+E*v,D=P*-_+D*v,T=d,k=m,S=g),z=Math.atan2(-x,E),h.rotationY=z*X,z&&(m=b*(v=Math.cos(-z))-A*(_=Math.sin(-z)),g=x*v-E*_,A=b*_+A*v,E=x*_+E*v,D=w*_+D*v,y=d=y*v-C*_,b=m,x=g),z=Math.atan2(b,y),h.rotation=z*X,z&&(d=y*(v=Math.cos(z))+b*(_=Math.sin(z)),m=T*v+k*_,g=C*v+A*_,b=b*v-y*_,k=k*v-T*_,A=A*v-C*_,y=d,T=m,C=g),h.rotationX&&359.9<Math.abs(h.rotationX)+Math.abs(h.rotation)&&(h.rotationX=h.rotation=0,h.rotationY=180-h.rotationY),z=Math.atan2(T,k),h.scaleX=(1e5*Math.sqrt(y*y+b*b+x*x)+.5|0)/1e5,h.scaleY=(1e5*Math.sqrt(k*k+S*S)+.5|0)/1e5,h.scaleZ=(1e5*Math.sqrt(C*C+A*A+E*E)+.5|0)/1e5,y/=h.scaleX,T/=h.scaleY,b/=h.scaleX,k/=h.scaleY,2e-5<Math.abs(z)?(h.skewX=z*X,T=0,"simple"!==h.skewType&&(h.scaleY*=1/Math.cos(z))):h.skewX=0,h.perspective=D?1/(D<0?-D:D):0,h.x=I,h.y=O,h.z=M,h.svg&&(h.x-=h.xOrigin-(h.xOrigin*y-h.yOrigin*T),h.y-=h.yOrigin-(h.yOrigin*b-h.xOrigin*k))}else if(!Nt||i||!n.length||h.x!==n[4]||h.y!==n[5]||!h.rotationX&&!h.rotationY){var R=6<=n.length,F=R?n[0]:1,j=n[1]||0,L=n[2]||0,N=R?n[3]:1;h.x=n[4]||0,h.y=n[5]||0,a=Math.sqrt(F*F+j*j),s=Math.sqrt(N*N+L*L),l=F||j?Math.atan2(j,F)*X:h.rotation||0,u=L||N?Math.atan2(L,N)*X+l:h.skewX||0,h.scaleX=a,h.scaleY=s,h.rotation=l,h.skewX=u,Nt&&(h.rotationX=h.rotationY=h.z=0,h.perspective=p,h.scaleZ=1),h.svg&&(h.x-=h.xOrigin-(h.xOrigin*F+h.yOrigin*L),h.y-=h.yOrigin-(h.xOrigin*j+h.yOrigin*N))}for(o in 90<Math.abs(h.skewX)&&Math.abs(h.skewX)<270&&(c?(h.scaleX*=-1,h.skewX+=h.rotation<=0?180:-180,h.rotation+=h.rotation<=0?180:-180):(h.scaleY*=-1,h.skewX+=h.skewX<=0?180:-180)),h.zOrigin=f,h)h[o]<2e-5&&-2e-5<h[o]&&(h[o]=0)}return r&&(t._gsTransform=h).svg&&(It&&t.style[Ft]?B.delayedCall(.001,function(){te(t.style,Ft)}):!It&&t.getAttribute("transform")&&B.delayedCall(.001,function(){t.removeAttribute("transform")})),h},Kt=function(t){var e,r,i=this.data,n=-i.rotation*L,o=n+i.skewX*L,a=(Math.cos(n)*i.scaleX*1e5|0)/1e5,s=(Math.sin(n)*i.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-i.scaleY*1e5|0)/1e5,u=(Math.cos(o)*i.scaleY*1e5|0)/1e5,h=this.t.style,c=this.t.currentStyle;if(c){r=s,s=-l,l=-r,e=c.filter,h.filter="";var f,p,d=this.t.offsetWidth,m=this.t.offsetHeight,g="absolute"!==c.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+s+", M21="+l+", M22="+u,_=i.x+d*i.xPercent/100,y=i.y+m*i.yPercent/100;if(null!=i.ox&&(_+=(f=(i.oxp?d*i.ox*.01:i.ox)-d/2)-(f*a+(p=(i.oyp?m*i.oy*.01:i.oy)-m/2)*s),y+=p-(f*l+p*u)),v+=g?", Dx="+((f=d/2)-(f*a+(p=m/2)*s)+_)+", Dy="+(p-(f*l+p*u)+y)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(z,v):h.filter=v+" "+e,0!==t&&1!==t||1==a&&0===s&&0===l&&1==u&&(g&&-1===v.indexOf("Dx=0, Dy=0")||D.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!g){var b,x,w,T=P<8?1:-1;for(f=i.ieOffsetX||0,p=i.ieOffsetY||0,i.ieOffsetX=Math.round((d-((a<0?-a:a)*d+(s<0?-s:s)*m))/2+_),i.ieOffsetY=Math.round((m-((u<0?-u:u)*m+(l<0?-l:l)*d))/2+y),Pt=0;Pt<4;Pt++)w=(r=-1!==(b=c[x=ut[Pt]]).indexOf("px")?parseFloat(b):nt(this.t,x,parseFloat(b),b.replace(M,""))||0)!==i[x]?Pt<2?-i.ieOffsetX:-i.ieOffsetY:Pt<2?f-i.ieOffsetX:p-i.ieOffsetY,h[x]=(i[x]=Math.round(r-w*(0===Pt||2===Pt?1:T)))+"px"}}},Qt=V.set3DTransformRatio=V.setTransformRatio=function(t){var e,r,i,n,o,a,s,l,u,h,c,f,p,d,m,g,v,_,y,b,x=this.data,w=this.t.style,T=x.rotation,k=x.rotationX,S=x.rotationY,P=x.scaleX,C=x.scaleY,A=x.scaleZ,E=x.x,I=x.y,O=x.z,M=x.svg,D=x.perspective,z=x.force3D,R=x.skewY,F=x.skewX;if(R&&(F+=R,T+=R),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||O||D||S||k||1!==A)||It&&M||!Nt)T||F||M?(T*=L,b=F*L,1e5,r=Math.cos(T)*P,o=Math.sin(T)*P,i=Math.sin(T-b)*-C,a=Math.cos(T-b)*C,b&&"simple"===x.skewType&&(e=Math.tan(b-R*L),i*=e=Math.sqrt(1+e*e),a*=e,R&&(e=Math.tan(R*L),r*=e=Math.sqrt(1+e*e),o*=e)),M&&(E+=x.xOrigin-(x.xOrigin*r+x.yOrigin*i)+x.xOffset,I+=x.yOrigin-(x.xOrigin*o+x.yOrigin*a)+x.yOffset,It&&(x.xPercent||x.yPercent)&&(m=this.t.getBBox(),E+=.01*x.xPercent*m.width,I+=.01*x.yPercent*m.height),E<(m=1e-6)&&-m<E&&(E=0),I<m&&-m<I&&(I=0)),y=(1e5*r|0)/1e5+","+(1e5*o|0)/1e5+","+(1e5*i|0)/1e5+","+(1e5*a|0)/1e5+","+E+","+I+")",M&&It?this.t.setAttribute("transform","matrix("+y):w[Ft]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+y):w[Ft]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+C+","+E+","+I+")";else{if(j&&(P<(m=1e-4)&&-m<P&&(P=A=2e-5),C<m&&-m<C&&(C=A=2e-5),!D||x.z||x.rotationX||x.rotationY||(D=0)),T||F)T*=L,g=r=Math.cos(T),v=o=Math.sin(T),F&&(T-=F*L,g=Math.cos(T),v=Math.sin(T),"simple"===x.skewType&&(e=Math.tan((F-R)*L),g*=e=Math.sqrt(1+e*e),v*=e,x.skewY&&(e=Math.tan(R*L),r*=e=Math.sqrt(1+e*e),o*=e))),i=-v,a=g;else{if(!(S||k||1!==A||D||M))return void(w[Ft]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+E+"px,"+I+"px,"+O+"px)"+(1!==P||1!==C?" scale("+P+","+C+")":""));r=a=1,i=o=0}h=1,n=s=l=u=c=f=0,p=D?-1/D:0,d=x.zOrigin,m=1e-6,",","0",(T=S*L)&&(g=Math.cos(T),c=p*(l=-(v=Math.sin(T))),n=r*v,s=o*v,p*=h=g,r*=g,o*=g),(T=k*L)&&(e=i*(g=Math.cos(T))+n*(v=Math.sin(T)),_=a*g+s*v,u=h*v,f=p*v,n=i*-v+n*g,s=a*-v+s*g,h*=g,p*=g,i=e,a=_),1!==A&&(n*=A,s*=A,h*=A,p*=A),1!==C&&(i*=C,a*=C,u*=C,f*=C),1!==P&&(r*=P,o*=P,l*=P,c*=P),(d||M)&&(d&&(E+=n*-d,I+=s*-d,O+=h*-d+d),M&&(E+=x.xOrigin-(x.xOrigin*r+x.yOrigin*i)+x.xOffset,I+=x.yOrigin-(x.xOrigin*o+x.yOrigin*a)+x.yOffset),E<m&&-m<E&&(E="0"),I<m&&-m<I&&(I="0"),O<m&&-m<O&&(O=0)),y=x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(",y+=(r<m&&-m<r?"0":r)+","+(o<m&&-m<o?"0":o)+","+(l<m&&-m<l?"0":l),y+=","+(c<m&&-m<c?"0":c)+","+(i<m&&-m<i?"0":i)+","+(a<m&&-m<a?"0":a),k||S||1!==A?(y+=","+(u<m&&-m<u?"0":u)+","+(f<m&&-m<f?"0":f)+","+(n<m&&-m<n?"0":n),y+=","+(s<m&&-m<s?"0":s)+","+(h<m&&-m<h?"0":h)+","+(p<m&&-m<p?"0":p)+","):y+=",0,0,0,0,1,0,",y+=E+","+I+","+O+","+(D?1+-O/D:1)+")",w[Ft]=y}};(t=Bt.prototype).x=t.y=t.z=t.skewX=t.skewY=t.rotation=t.rotationX=t.rotationY=t.zOrigin=t.xPercent=t.yPercent=t.xOffset=t.yOffset=0,t.scaleX=t.scaleY=t.scaleZ=1,At("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,r,i,n,o,a){if(i._lastParsedTransform===a)return n;var s=(i._lastParsedTransform=a).scale&&"function"==typeof a.scale?a.scale:0;s&&(a.scale=s(E,t));var l,u,h,c,f,p,d,m,g,v=t._gsTransform,_=t.style,y=Rt.length,b=a,x={},w="transformOrigin",T=Jt(t,S,!0,b.parseTransform),k=b.transform&&("function"==typeof b.transform?b.transform(E,A):b.transform);if(T.skewType=b.skewType||T.skewType||U.defaultSkewType,i._transform=T,"rotationZ"in b&&(b.rotation=b.rotationZ),k&&"string"==typeof k&&Ft)(u=W.style)[Ft]=k,u.display="block",u.position="absolute",-1!==k.indexOf("%")&&(u.width=it(t,"width"),u.height=it(t,"height")),H.body.appendChild(W),l=Jt(W,null,!1),"simple"===T.skewType&&(l.scaleY*=Math.cos(l.skewX*L)),T.svg&&(p=T.xOrigin,d=T.yOrigin,l.x-=T.xOffset,l.y-=T.yOffset,(b.transformOrigin||b.svgOrigin)&&(k={},Wt(t,ct(b.transformOrigin),k,b.svgOrigin,b.smoothOrigin,!0),p=k.xOrigin,d=k.yOrigin,l.x-=k.xOffset-T.xOffset,l.y-=k.yOffset-T.yOffset),(p||d)&&(m=Zt(W,!0),l.x-=p-(p*m[0]+d*m[2]),l.y-=d-(p*m[1]+d*m[3]))),H.body.removeChild(W),l.perspective||(l.perspective=T.perspective),null!=b.xPercent&&(l.xPercent=pt(b.xPercent,T.xPercent)),null!=b.yPercent&&(l.yPercent=pt(b.yPercent,T.yPercent));else if("object"==typeof b){if(l={scaleX:pt(null!=b.scaleX?b.scaleX:b.scale,T.scaleX),scaleY:pt(null!=b.scaleY?b.scaleY:b.scale,T.scaleY),scaleZ:pt(b.scaleZ,T.scaleZ),x:pt(b.x,T.x),y:pt(b.y,T.y),z:pt(b.z,T.z),xPercent:pt(b.xPercent,T.xPercent),yPercent:pt(b.yPercent,T.yPercent),perspective:pt(b.transformPerspective,T.perspective)},null!=(f=b.directionalRotation))if("object"==typeof f)for(u in f)b[u]=f[u];else b.rotation=f;"string"==typeof b.x&&-1!==b.x.indexOf("%")&&(l.x=0,l.xPercent=pt(b.x,T.xPercent)),"string"==typeof b.y&&-1!==b.y.indexOf("%")&&(l.y=0,l.yPercent=pt(b.y,T.yPercent)),l.rotation=dt("rotation"in b?b.rotation:"shortRotation"in b?b.shortRotation+"_short":T.rotation,T.rotation,"rotation",x),Nt&&(l.rotationX=dt("rotationX"in b?b.rotationX:"shortRotationX"in b?b.shortRotationX+"_short":T.rotationX||0,T.rotationX,"rotationX",x),l.rotationY=dt("rotationY"in b?b.rotationY:"shortRotationY"in b?b.shortRotationY+"_short":T.rotationY||0,T.rotationY,"rotationY",x)),l.skewX=dt(b.skewX,T.skewX),l.skewY=dt(b.skewY,T.skewY)}for(Nt&&null!=b.force3D&&(T.force3D=b.force3D,c=!0),(h=T.force3D||T.z||T.rotationX||T.rotationY||l.z||l.rotationX||l.rotationY||l.perspective)||null==b.scale||(l.scaleZ=1);-1<--y;)(1e-6<(k=l[g=Rt[y]]-T[g])||k<-1e-6||null!=b[g]||null!=N[g])&&(c=!0,n=new Tt(T,g,T[g],k,n),g in x&&(n.e=x[g]),n.xs0=0,n.plugin=o,i._overwriteProps.push(n.n));return k="function"==typeof b.transformOrigin?b.transformOrigin(E,A):b.transformOrigin,T.svg&&(k||b.svgOrigin)&&(p=T.xOffset,d=T.yOffset,Wt(t,ct(k),l,b.svgOrigin,b.smoothOrigin),n=kt(T,"xOrigin",(v?T:l).xOrigin,l.xOrigin,n,w),n=kt(T,"yOrigin",(v?T:l).yOrigin,l.yOrigin,n,w),p===T.xOffset&&d===T.yOffset||(n=kt(T,"xOffset",v?p:T.xOffset,T.xOffset,n,w),n=kt(T,"yOffset",v?d:T.yOffset,T.yOffset,n,w)),k="0px 0px"),(k||Nt&&h&&T.zOrigin)&&(Ft?(c=!0,g=Lt,k||(k=(k=(it(t,g,S,!1,"50% 50%")+"").split(" "))[0]+" "+k[1]+" "+T.zOrigin+"px"),k+="",(n=new Tt(_,g,0,0,n,-1,w)).b=_[g],n.plugin=o,Nt?(u=T.zOrigin,k=k.split(" "),T.zOrigin=(2<k.length?parseFloat(k[2]):u)||0,n.xs0=n.e=k[0]+" "+(k[1]||"50%")+" 0px",(n=new Tt(T,"zOrigin",0,0,n,-1,n.n)).b=u,n.xs0=n.e=T.zOrigin):n.xs0=n.e=k):ct(k+"",T)),c&&(i._transformType=T.svg&&It||!h&&3!==this._transformType?2:3),s&&(a.scale=s),n},allowFunc:!0,prefix:!0}),At("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),At("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:bt("inset(0% 0% 0% 0%)",!1,!0)}),At("borderRadius",{defaultValue:"0px",parser:function(t,e,r,i,n,o){e=this.format(e);var a,s,l,u,h,c,f,p,d,m,g,v,_,y,b,x,w=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(d=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),a=e.split(" "),s=0;s<w.length;s++)this.p.indexOf("border")&&(w[s]=tt(w[s])),-1!==(h=u=it(t,w[s],S,!1,"0px")).indexOf(" ")&&(h=(u=h.split(" "))[0],u=u[1]),c=l=a[s],f=parseFloat(h),v=h.substr((f+"").length),""===(g=(_="="===c.charAt(1))?(p=parseInt(c.charAt(0)+"1",10),c=c.substr(2),p*=parseFloat(c),c.substr((p+"").length-(p<0?1:0))||""):(p=parseFloat(c),c.substr((p+"").length)))&&(g=k[r]||v),g!==v&&(y=nt(t,"borderLeft",f,v),b=nt(t,"borderTop",f,v),u="%"===g?(h=y/d*100+"%",b/m*100+"%"):"em"===g?(h=y/(x=nt(t,"borderLeft",1,"em"))+"em",b/x+"em"):(h=y+"px",b+"px"),_&&(c=parseFloat(h)+p+g,l=parseFloat(u)+p+g)),n=St(T,w[s],h+" "+u,c+" "+l,!1,"0px",n);return n},prefix:!0,formatter:bt("0px 0px 0px 0px",!1,!0)}),At("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,r,i,n,o){return St(t.style,r,this.format(it(t,r,S,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:bt("0px 0px",!1,!0)}),At("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,r,i,n,o){var a,s,l,u,h,c,f="background-position",p=S||rt(t),d=this.format((p?P?p.getPropertyValue(f+"-x")+" "+p.getPropertyValue(f+"-y"):p.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==d.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(c=it(t,"backgroundImage").replace(T,""))&&"none"!==c){for(a=d.split(" "),s=m.split(" "),G.setAttribute("src",c),l=2;-1<--l;)(u=-1!==(d=a[l]).indexOf("%"))!=(-1!==s[l].indexOf("%"))&&(h=0===l?t.offsetWidth-G.width:t.offsetHeight-G.height,a[l]=u?parseFloat(d)/100*h+"px":parseFloat(d)/h*100+"%");d=a.join(" ")}return this.parseComplex(t.style,d,m,n,o)},formatter:ct}),At("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ct(-1===t.indexOf(" ")?t+" "+t:t)}}),At("perspective",{defaultValue:"0px",prefix:!0}),At("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),At("transformStyle",{prefix:!0}),At("backfaceVisibility",{prefix:!0}),At("userSelect",{prefix:!0}),At("margin",{parser:xt("marginTop,marginRight,marginBottom,marginLeft")}),At("padding",{parser:xt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),At("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,r,i,n,o){var a,s,l;return e=P<9?(s=t.currentStyle,l=P<8?" ":",",a="rect("+s.clipTop+l+s.clipRight+l+s.clipBottom+l+s.clipLeft+")",this.format(e).split(",").join(l)):(a=this.format(it(t,this.p,S,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,n,o)}}),At("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),At("autoRound,strictUnits",{parser:function(t,e,r,i,n){return n}}),At("border",{defaultValue:"0px solid #000",parser:function(t,e,r,i,n,o){var a=it(t,"borderTopWidth",S,!1,"0px"),s=this.format(e).split(" "),l=s[0].replace(M,"");return"px"!==l&&(a=parseFloat(a)/nt(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(a+" "+it(t,"borderTopStyle",S,!1,"solid")+" "+it(t,"borderTopColor",S,!1,"#000")),s.join(" "),n,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(yt)||["#000"])[0]}}),At("borderWidth",{parser:xt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),At("float,cssFloat,styleFloat",{parser:function(t,e,r,i,n,o){var a=t.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,s,0,0,n,-1,r,!1,0,a[s],e)}});var $t=function(t){var e,r=this.t,i=r.filter||it(this.data,"filter")||"",n=this.s+this.c*t|0;100==n&&(e=-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(r.removeAttribute("filter"),!it(this.data,"filter")):(r.filter=i.replace(a,""),!0)),e||(this.xn1&&(r.filter=i=i||"alpha(opacity="+n+")"),-1===i.indexOf("pacity")?0==n&&this.xn1||(r.filter=i+" alpha(opacity="+n+")"):r.filter=i.replace(D,"opacity="+n))};At("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,r,i,n,o){var a=parseFloat(it(t,"opacity",S,!1,"1")),s=t.style,l="autoAlpha"===r;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===it(t,"visibility",S)&&0!==e&&(a=0),Z?n=new Tt(s,"opacity",a,e-a,n):((n=new Tt(s,"opacity",100*a,100*(e-a),n)).xn1=l?1:0,s.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=o,n.setRatio=$t),l&&((n=new Tt(s,"visibility",0,0,n,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(n.n),i._overwriteProps.push(r)),n}});var te=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(s,"-$1").toLowerCase())):t.removeAttribute(e))},ee=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,r=this.t.style;e;)e.v?r[e.p]=e.v:te(r,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};At("className",{parser:function(t,e,r,i,n,o,a){var s,l,u,h,c,f=t.getAttribute("class")||"",p=t.style.cssText;if((n=i._classNamePT=new Tt(t,r,0,0,n,2)).setRatio=ee,n.pr=-11,d=!0,n.b=f,l=at(t,S),u=t._gsClassPT){for(h={},c=u.data;c;)h[c.p]=1,c=c._next;u.setRatio(1)}return(t._gsClassPT=n).e="="!==e.charAt(1)?e:f.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",n.e),s=st(t,l,at(t),a,h),t.setAttribute("class",f),n.data=s.firstMPT,t.style.cssText!==p&&(t.style.cssText=p),n=n.xfirst=i.parse(t,s.difs,n,o)}});var re=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,r,i,n,o,a=this.t.style,s=g.transform.parse;if("all"===this.e)n=!(a.cssText="");else for(i=(e=this.e.split(" ").join("").split(",")).length;-1<--i;)r=e[i],g[r]&&(g[r].parse===s?n=!0:r="transformOrigin"===r?Lt:g[r].p),te(a,r);n&&(te(a,Ft),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(At("clearProps",{parser:function(t,e,r,i,n){return(n=new Tt(t,r,0,0,n,2)).setRatio=re,n.e=e,n.pr=-10,n.data=i._tween,d=!0,n}}),t="bezier,throwProps,physicsProps,physics2D".split(","),Pt=t.length;Pt--;)Et(t[Pt]);(t=U.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,r,i){if(!t.nodeType)return!1;this._target=A=t,this._tween=r,this._vars=e,E=i,C=e.autoRound,d=!1,k=e.suffixMap||U.suffixMap,S=rt(t),m=this._overwriteProps;var n,o,a,s,l,u,h,c,f,p=t.style;if(v&&""===p.zIndex&&("auto"!==(n=it(t,"zIndex",S))&&""!==n||this._addLazySet(p,"zIndex",0)),"string"==typeof e&&(s=p.cssText,n=at(t,S),p.cssText=s+";"+e,n=st(t,n,at(t)).difs,!Z&&x.test(e)&&(n.opacity=parseFloat(RegExp.$1)),e=n,p.cssText=s),e.className?this._firstPT=o=g.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=o=this.parse(t,e,null),this._transformType){for(f=3===this._transformType,Ft?_&&(v=!0,""===p.zIndex&&("auto"!==(h=it(t,"zIndex",S))&&""!==h||this._addLazySet(p,"zIndex",0)),y&&this._addLazySet(p,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(f?"visible":"hidden"))):p.zoom=1,a=o;a&&a._next;)a=a._next;c=new Tt(t,"transform",0,0,null,2),this._linkCSSP(c,null,a),c.setRatio=Ft?Qt:Kt,c.data=this._transform||Jt(t,S,!0),c.tween=r,c.pr=-1,m.pop()}if(d){for(;o;){for(u=o._next,a=s;a&&a.pr>o.pr;)a=a._next;(o._prev=a?a._prev:l)?o._prev._next=o:s=o,(o._next=a)?a._prev=o:l=o,o=u}this._firstPT=s}return!0},t.parse=function(t,e,r,i){var n,o,a,s,l,u,h,c,f,p,d=t.style;for(n in e){if(u=e[n],o=g[n],"function"!=typeof u||o&&o.allowFunc||(u=u(E,A)),o)r=o.parse(t,u,n,this,r,i,e);else{if("--"===n.substr(0,2)){this._tween._propLookup[n]=this._addTween.call(this._tween,t.style,"setProperty",rt(t).getPropertyValue(n)+"",u+"",n,!1,n);continue}l=it(t,n,S)+"",f="string"==typeof u,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||f&&w.test(u)?(f||(u=(3<(u=vt(u)).length?"rgba(":"rgb(")+u.join(",")+")"),r=St(d,n,l,u,!0,"transparent",r,0,i)):f&&F.test(u)?r=St(d,n,l,u,!0,null,r,0,i):(h=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",""!==l&&"auto"!==l||(h="width"===n||"height"===n?(a=ht(t,n,S),"px"):"left"===n||"top"===n?(a=ot(t,n,S),"px"):(a="opacity"!==n?0:1,"")),""===(c=(p=f&&"="===u.charAt(1))?(s=parseInt(u.charAt(0)+"1",10),u=u.substr(2),s*=parseFloat(u),u.replace(M,"")):(s=parseFloat(u),f?u.replace(M,""):""))&&(c=n in k?k[n]:h),u=s||0===s?(p?s+a:s)+c:e[n],h!==c&&(""===c&&"lineHeight"!==n||(s||0===s)&&a&&(a=nt(t,n,a,h),"%"===c?(a/=nt(t,n,100,"%")/100,!0!==e.strictUnits&&(l=a+"%")):"em"===c||"rem"===c||"vw"===c||"vh"===c?a/=nt(t,n,1,c):"px"!==c&&(s=nt(t,n,s,c),c="px"),p&&(s||0===s)&&(u=s+a+c))),p&&(s+=a),!a&&0!==a||!s&&0!==s?void 0!==d[n]&&(u||u+""!="NaN"&&null!=u)?(r=new Tt(d,n,s||a||0,0,r,-1,n,!1,0,l,u)).xs0="none"!==u||"display"!==n&&-1===n.indexOf("Style")?u:l:K("invalid "+n+" tween value: "+e[n]):(r=new Tt(d,n,a,s-a,r,0,n,!1!==C&&("px"===c||"zIndex"===n),0,l,u)).xs0=c)}i&&r&&!r.plugin&&(r.plugin=i)}return r},t.setRatio=function(t){var e,r,i,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):e<1e-6&&-1e-6<e&&(e=0),n.type)if(1===n.type)if(2===(i=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===i)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(r=n.xs0+e+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n.t[n.p]=r}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(i=n.l,r=n.xs0+e+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n.t[n.p]=r}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},t._enableTransforms=function(t){this._transform=this._transform||Jt(this._target,S,!0),this._transformType=this._transform.svg&&It||!t&&3!==this._transformType?2:3};var ie=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};t._addLazySet=function(t,e,r){var i=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);i.e=r,i.setRatio=ie,i.data=this},t._linkCSSP=function(t,e,r,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),r?r._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=r),t},t._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},t._kill=function(t){var e,r,i,n=t;if(t.autoAlpha||t.alpha){for(r in n={},t)n[r]=t[r];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(t.className&&(e=this._classNamePT)&&((i=e.xfirst)&&i._prev?this._linkCSSP(i._prev,e._next,i._prev._prev):i===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,i._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==r&&e.plugin._kill&&(e.plugin._kill(t),r=e.plugin),e=e._next;return o.prototype._kill.call(this,n)};var ne=function(t,e,r){var i,n,o,a;if(t.slice)for(n=t.length;-1<--n;)ne(t[n],e,r);else for(n=(i=t.childNodes).length;-1<--n;)a=(o=i[n]).type,o.style&&(e.push(at(o)),r&&r.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||ne(o,e,r)};return U.cascadeTo=function(t,e,r){var i,n,o,a,s=B.to(t,e,r),l=[s],u=[],h=[],c=[],f=B._internals.reservedProps;for(t=s._targets||s.target,ne(t,u,c),s.render(e,!0,!0),ne(t,h),s.render(0,!0,!0),s._enabled(!0),i=c.length;-1<--i;)if((n=st(c[i],u[i],h[i])).firstMPT){for(o in n=n.difs,r)f[o]&&(n[o]=r[o]);for(o in a={},n)a[o]=u[i][o];l.push(B.fromTo(c[i],e,a,n))}return l},o.activate([U]),U},!0),e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,r){return this._tween=r,!0}}),l=function(e){var r=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return(Math.round(t/e)*e*r|0)/r}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},(i=e.prototype)._onInitAllProps=function(){var t,e,r,i,n=this._tween,o=n.vars.roundProps,a={},s=n._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),r=o.length;-1<--r;)a[o[r]]=Math.round;else for(i in o)a[i]=l(o[i]);for(i in a)for(t=n._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,a[i]):(this._add(t.t,i,t.s,t.c,a[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:n._firstPT===t&&(n._firstPT=e),t._next=t._prev=null,n._propLookup[i]=s)),t=e;return!1},i._add=function(t,e,r,i,n){this._addTween(t,e,r,r+i,e,n||Math.round),this._overwriteProps.push(e)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,r,i){var n,o;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(o=e[n])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",o+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,r,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,o,a,s,l,u,h=!0===e.useRadians?2*Math.PI:360;for(n in e)"useRadians"!==n&&("function"==typeof(s=e[n])&&(s=s(i,t)),o=(u=(s+"").split("_"))[0],a=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(s=this.finals[n]="string"==typeof o&&"="===o.charAt(1)?a+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-a,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=h)!==l%(h/2)&&(l=l<0?l+h:l-h),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*h)%h-(l/h|0)*h:-1!==o.indexOf("ccw")&&0<l&&(l=(l-9999999999*h)%h-(l/h|0)*h)),(1e-6<l||l<-1e-6)&&(this._addTween(t,n,a,a+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){var r,i,e,t,n=_gsScope.GreenSockGlobals||_gsScope,o=n.com.greensock,a=2*Math.PI,s=Math.PI/2,l=o._class,u=function(t,e){var r=l("easing."+t,function(){},!0),i=r.prototype=new g;return i.constructor=r,i.getRatio=e,r},h=g.register||function(){},c=function(t,e,r,i,n){var o=l("easing."+t,{easeOut:new e,easeIn:new r,easeInOut:new i},!0);return h(o,t),o},v=function(t,e,r){this.t=t,this.v=e,r&&(((this.next=r).prev=this).c=r.v-e,this.gap=r.t-t)},f=function(t,e){var r=l("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),i=r.prototype=new g;return i.constructor=r,i.getRatio=e,i.config=function(t){return new r(t)},r},p=c("Back",f("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),f("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),f("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),d=l("easing.SlowMo",function(t,e,r){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===r},!0),m=d.prototype=new g;return m.constructor=d,m.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},d.ease=new d(.7,.7),m.config=d.config=function(t,e,r){return new d(t,e,r)},(m=(r=l("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new g).constructor=r,m.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},m.config=r.config=function(t,e){return new r(t,e)},(m=(i=l("easing.ExpoScaleEase",function(t,e,r){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=r},!0)).prototype=new g).constructor=i,m.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},m.config=i.config=function(t,e,r){return new i(t,e,r)},(m=(e=l("easing.RoughEase",function(t){for(var e,r,i,n,o,a,s=(t=t||{}).taper||"none",l=[],u=0,h=0|(t.points||20),c=h,f=!1!==t.randomize,p=!0===t.clamp,d=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--c;)e=f?Math.random():1/h*c,r=d?d.getRatio(e):e,i="none"===s?m:"out"===s?(n=1-e)*n*m:"in"===s?e*e*m:e<.5?(n=2*e)*n*.5*m:(n=2*(1-e))*n*.5*m,f?r+=Math.random()*i-.5*i:c%2?r+=.5*i:r-=.5*i,p&&(1<r?r=1:r<0&&(r=0)),l[u++]={x:e,y:r};for(l.sort(function(t,e){return t.x-e.x}),a=new v(1,1,null),c=h;-1<--c;)o=l[c],a=new v(o.x,o.y,a);this._prev=new v(0,0,0!==a.t?a:a.next)},!0)).prototype=new g).constructor=e,m.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},m.config=function(t){return new e(t)},e.ease=new e,c("Bounce",u("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),c("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),c("Elastic",(t=function(t,e,r){var i=l("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||r)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),n=i.prototype=new g;return n.constructor=i,n.getRatio=e,n.config=function(t,e){return new i(t,e)},i})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),t("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),t("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),c("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),c("Sine",u("SineOut",function(t){return Math.sin(t*s)}),u("SineIn",function(t){return 1-Math.cos(t*s)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),h(n.SlowMo,"SlowMo","ease,"),h(e,"RoughEase","ease,"),h(r,"SteppedEase","ease,"),p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(f,p){"use strict";var d={},i=f.document,m=f.GreenSockGlobals=f.GreenSockGlobals||f,t=m[p];if(t)return"undefined"!=typeof module&&module.exports&&(module.exports=t);var e,r,n,g,v,o,a,_=function(t){var e,r=t.split("."),i=m;for(e=0;e<r.length;e++)i[r[e]]=i=i[r[e]]||{};return i},c=_("com.greensock"),y=1e-8,l=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r},b=function(){},x=(o=Object.prototype.toString,a=o.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&o.call(t)===a)}),w={},T=function(s,l,u,h){this.sc=w[s]?w[s].sc:[],(w[s]=this).gsClass=null,this.func=u;var c=[];this.check=function(t){for(var e,r,i,n,o=l.length,a=o;-1<--o;)(e=w[l[o]]||new T(l[o],[])).gsClass?(c[o]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&u){if(i=(r=("com.greensock."+s).split(".")).pop(),n=_(r.join("."))[i]=this.gsClass=u.apply(u,c),h)if(m[i]=d[i]=n,"undefined"!=typeof module&&module.exports)if(s===p)for(o in module.exports=d[p]=n,d)n[o]=d[o];else d[p]&&(d[p][i]=n);else"function"==typeof define&&define.amd&&define((f.GreenSockAMDPath?f.GreenSockAMDPath+"/":"")+s.split(".").pop(),[],function(){return n});for(o=0;o<this.sc.length;o++)this.sc[o].check()}},this.check(!0)},s=f._gsDefine=function(t,e,r,i){return new T(t,e,r,i)},k=c._class=function(t,e,r){return e=e||function(){},s(t,[],function(){return e},r),e};s.globals=m;var u=[0,0,1,1],S=k("easing.Ease",function(t,e,r,i){this._func=t,this._type=r||0,this._power=i||0,this._params=e?u.concat(e):u},!0),P=S.map={},h=S.register=function(t,e,r,i){for(var n,o,a,s,l=e.split(","),u=l.length,h=(r||"easeIn,easeOut,easeInOut").split(",");-1<--u;)for(o=l[u],n=i?k("easing."+o,null,!0):c.easing[o]||{},a=h.length;-1<--a;)s=h[a],P[o+"."+s]=P[s+o]=n[s]=t.getRatio?t:t[s]||new t};for((n=S.prototype)._calcEnd=!1,n.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,r=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===r?i*=i:2===r?i*=i*i:3===r?i*=i*i*i:4===r&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},r=(e=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--r;)n=e[r]+",Power"+r,h(new S(null,null,1,r),n,"easeOut",!0),h(new S(null,null,2,r),n,"easeIn"+(0===r?",easeNone":"")),h(new S(null,null,3,r),n,"easeInOut");P.linear=c.easing.Linear.easeIn,P.swing=c.easing.Quad.easeInOut;var C=k("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(n=C.prototype).addEventListener=function(t,e,r,i,n){n=n||0;var o,a,s=this._listeners[t],l=0;for(this!==g||v||g.wake(),null==s&&(this._listeners[t]=s=[]),a=s.length;-1<--a;)(o=s[a]).c===e&&o.s===r?s.splice(a,1):0===l&&o.pr<n&&(l=a+1);s.splice(l,0,{c:e,s:r,up:i,pr:n})},n.removeEventListener=function(t,e){var r,i=this._listeners[t];if(i)for(r=i.length;-1<--r;)if(i[r].c===e)return void i.splice(r,1)},n.dispatchEvent=function(t){var e,r,i,n=this._listeners[t];if(n)for(1<(e=n.length)&&(n=n.slice(0)),r=this._eventTarget;-1<--e;)(i=n[e])&&(i.up?i.c.call(i.s||r,{type:t,target:r}):i.c.call(i.s||r))};var A=f.requestAnimationFrame,E=f.cancelAnimationFrame,I=Date.now||function(){return(new Date).getTime()},O=I();for(r=(e=["ms","moz","webkit","o"]).length;-1<--r&&!A;)A=f[e[r]+"RequestAnimationFrame"],E=f[e[r]+"CancelAnimationFrame"]||f[e[r]+"CancelRequestAnimationFrame"];k("Ticker",function(t,e){var n,o,a,s,l,u=this,h=I(),r=!(!1===e||!A)&&"auto",c=500,f=33,p=function(t){var e,r,i=I()-O;c<i&&(h+=i-f),O+=i,u.time=(O-h)/1e3,e=u.time-l,(!n||0<e||!0===t)&&(u.frame++,l+=e+(s<=e?.004:s-e),r=!0),!0!==t&&(a=o(p)),r&&u.dispatchEvent("tick")};C.call(u),u.time=u.frame=0,u.tick=function(){p(!0)},u.lagSmoothing=function(t,e){if(!arguments.length)return c<1e8;c=t||1e8,f=Math.min(e,c,0)},u.sleep=function(){null!=a&&(r&&E?E(a):clearTimeout(a),o=b,a=null,u===g&&(v=!1))},u.wake=function(t){null!==a?u.sleep():t?h+=-O+(O=I()):10<u.frame&&(O=I()-c+5),o=0===n?b:r&&A?A:function(t){return setTimeout(t,1e3*(l-u.time)+1|0)},u===g&&(v=!0),p(2)},u.fps=function(t){if(!arguments.length)return n;s=1/((n=t)||60),l=this.time+s,u.wake()},u.useRAF=function(t){if(!arguments.length)return r;u.sleep(),r=t,u.fps(n)},u.fps(t),setTimeout(function(){"auto"===r&&u.frame<5&&"hidden"!==(i||{}).visibilityState&&u.useRAF(!1)},1500)}),(n=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var M=k("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Q){v||g.wake();var r=this.vars.useFrames?K:Q;r.add(this,r._time),this.vars.paused&&this.paused(!0)}});g=M.ticker=new c.Ticker,(n=M.prototype)._dirty=n._gc=n._initted=n._paused=!1,n._totalTime=n._time=0,n._rawPrevTime=-1,n._next=n._last=n._onUpdate=n._timeline=n.timeline=null,n._paused=!1;var D=function(){v&&2e3<I()-O&&("hidden"!==(i||{}).visibilityState||!g.lagSmoothing())&&g.wake();var t=setTimeout(D,2e3);t.unref&&t.unref()};D(),n.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},n.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},n.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},n.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},n.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},n.render=function(t,e,r){},n.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},n.isActive=function(){var t,e=this._timeline,r=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<r+this.totalDuration()/this._timeScale-y},n._enabled=function(t,e){return v||g.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(t,e){return this._enabled(!1,!1)},n.kill=function(t,e){return this._kill(t,e),this},n._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},n._swapSelfInParams=function(t){for(var e=t.length,r=t.concat();-1<--e;)"{self}"===t[e]&&(r[e]=this);return r},n._callback=function(t){var e=this.vars,r=e[t],i=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:r.call(n);break;case 1:r.call(n,i[0]);break;case 2:r.call(n,i[0],i[1]);break;default:r.apply(n,i)}},n.eventCallback=function(t,e,r,i){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=x(r)&&-1!==r.join("").indexOf("{self}")?this._swapSelfInParams(r):r,n[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},n.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},n.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},n.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},n.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTime=function(t,e,r){if(v||g.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!r&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,n=this._timeline;if(i<t&&!r&&(t=i),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?i-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(j.length&&tt(),this.render(t,e,!1),j.length&&tt())}return this},n.progress=n.totalProgress=function(t,e){var r=this.duration();return arguments.length?this.totalTime(r*t,e):r?this._time/r:this.ratio},n.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},n.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,r;for(t=t||y,this._timeline&&this._timeline.smoothChildTiming&&(r=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=r-(r-this._startTime)*this._timeScale/t),this._timeScale=t,r=this.timeline;r&&r.timeline;)r._dirty=!0,r.totalDuration(),r=r.timeline;return this},n.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},n.paused=function(t){if(!arguments.length)return this._paused;var e,r,i=this._timeline;return t!=this._paused&&i&&(v||t||g.wake(),r=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=r,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!=r&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var z=k("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(n=z.prototype=new M).constructor=z,n.kill()._gc=!1,n._first=n._last=n._recent=null,n._sortChildren=!1,n.add=n.insert=function(t,e,r,i){var n,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(o=t._startTime;n&&n._startTime>o;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},n._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},n.render=function(t,e,r){var i,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)i=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=i},n.rawTime=function(){return v||g.wake(),this._totalTime};var R=k("TweenLite",function(t,e,r){if(M.call(this,e,r),this.render=R.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:R.selector(t)||t;var i,n,o,a=t.jquery||t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType),s=this.vars.overwrite;if(this._overwrite=s=null==s?J[R.defaultOverwrite]:"number"==typeof s?s>>0:J[s],(a||t instanceof Array||t.push&&x(t))&&"number"!=typeof t[0])for(this._targets=o=l(t),this._propLookup=[],this._siblings=[],i=0;i<o.length;i++)(n=o[i])?"string"!=typeof n?n.length&&n!==f&&n[0]&&(n[0]===f||n[0].nodeType&&n[0].style&&!n.nodeType)?(o.splice(i--,1),this._targets=o=o.concat(l(n))):(this._siblings[i]=et(n,this,!1),1===s&&1<this._siblings[i].length&&it(n,this,null,1,this._siblings[i])):"string"==typeof(n=o[i--]=R.selector(n))&&o.splice(i+1,1):o.splice(i--,1);else this._propLookup={},this._siblings=et(t,this,!1),1===s&&1<this._siblings.length&&it(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-y,this.render(Math.min(0,-this._delay)))},!0),F=function(t){return t&&t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType)};(n=R.prototype=new M).constructor=R,n.kill()._gc=!1,n.ratio=0,n._firstPT=n._targets=n._overwrittenProps=n._startAt=null,n._notifyPluginsOfEnabled=n._lazy=!1,R.version="2.1.3",R.defaultEase=n._ease=new S(null,null,1,1),R.defaultOverwrite="auto",R.ticker=g,R.autoSleep=120,R.lagSmoothing=function(t,e){g.lagSmoothing(t,e)},R.selector=f.$||f.jQuery||function(t){var e=f.$||f.jQuery;return e?(R.selector=e)(t):(i||(i=f.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var j=[],L={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,B=/[\+-]=-?[\.\d]/,U=function(t){for(var e,r=this._firstPT;r;)e=r.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:r.c*t+r.s,r.m?e=r.m.call(this._tween,e,this._target||r.t,this._tween):e<1e-6&&-1e-6<e&&!r.blob&&(e=0),r.f?r.fp?r.t[r.p](r.fp,e):r.t[r.p](e):r.t[r.p]=e,r=r._next},X=function(t){return(1e3*t|0)/1e3+""},H=function(t,e,r,i){var n,o,a,s,l,u,h,c=[],f=0,p="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",r&&(r(c),t=c[0],e=c[1]),c.length=0,n=t.match(N)||[],o=e.match(N)||[],i&&(i._next=null,i.blob=1,c._firstPT=c._applyPT=i),l=o.length,s=0;s<l;s++)h=o[s],p+=(u=e.substr(f,e.indexOf(h,f)-f))||!s?u:",",f+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),h===n[s]||n.length<=s?p+=h:(p&&(c.push(p),p=""),a=parseFloat(n[s]),c.push(a),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:d&&d<4?Math.round:X}),f+=h.length;return(p+=e.substr(f))&&c.push(p),c.setRatio=U,B.test(e)&&(c.end=null),c},q=function(t,e,r,i,n,o,a,s,l){"function"==typeof i&&(i=i(l||0,t));var u=typeof t[e],h="function"!=u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),c="get"!==r?r:h?a?t[h](a):t[h]():t[e],f="string"==typeof i&&"="===i.charAt(1),p={t:t,p:e,s:c,f:"function"==u,pg:0,n:n||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:f?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-c||0};if(("number"!=typeof c||"number"!=typeof i&&!f)&&(a||isNaN(c)||!f&&isNaN(i)||"boolean"==typeof c||"boolean"==typeof i?(p.fp=a,p={t:H(c,f?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):i,s||R.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(p.s=parseFloat(c),f||(p.c=parseFloat(i)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p},W=R._internals={isArray:x,isSelector:F,lazyTweens:j,blobDif:H},G=R._plugins={},V=W.tweenLookup={},Y=0,Z=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},J={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},K=M._rootFramesTimeline=new z,Q=M._rootTimeline=new z,$=30,tt=W.lazyRender=function(){var t,e,r=j.length;for(L={},t=0;t<r;t++)(e=j[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);j.length=0};Q._startTime=g.time,K._startTime=g.frame,Q._active=K._active=!0,setTimeout(tt,1),M._updateRoot=R.render=function(){var t,e,r;if(j.length&&tt(),Q.render((g.time-Q._startTime)*Q._timeScale,!1,!1),K.render((g.frame-K._startTime)*K._timeScale,!1,!1),j.length&&tt(),g.frame>=$){for(r in $=g.frame+(parseInt(R.autoSleep,10)||120),V){for(t=(e=V[r].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete V[r]}if((!(r=Q._first)||r._paused)&&R.autoSleep&&!K._first&&1===g._listeners.tick.length){for(;r&&r._paused;)r=r._next;r||g.sleep()}}},g.addEventListener("tick",M._updateRoot);var et=function(t,e,r){var i,n,o=t._gsTweenID;if(V[o||(t._gsTweenID=o="t"+Y++)]||(V[o]={target:t,tweens:[]}),e&&((i=V[o].tweens)[n=i.length]=e,r))for(;-1<--n;)i[n]===e&&i.splice(n,1);return V[o].tweens},rt=function(t,e,r,i){var n,o,a=t.vars.onOverwrite;return a&&(n=a(t,e,r,i)),(a=R.onOverwrite)&&(o=a(t,e,r,i)),!1!==n&&!1!==o},it=function(t,e,r,i,n){var o,a,s,l;if(1===i||4<=i){for(l=n.length,o=0;o<l;o++)if((s=n[o])!==e)s._gc||s._kill(null,t,e)&&(a=!0);else if(5===i)break;return a}var u,h=e._startTime+y,c=[],f=0,p=0===e._duration;for(o=n.length;-1<--o;)(s=n[o])===e||s._gc||s._paused||(s._timeline!==e._timeline?(u=u||nt(e,0,p),0===nt(s,u,p)&&(c[f++]=s)):s._startTime<=h&&s._startTime+s.totalDuration()/s._timeScale>h&&((p||!s._initted)&&h-s._startTime<=2e-8||(c[f++]=s)));for(o=f;-1<--o;)if(l=(s=c[o])._firstPT,2===i&&s._kill(r,t,e)&&(a=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!rt(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},nt=function(t,e,r){for(var i=t._timeline,n=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,n*=i._timeScale,i._paused)return-100;i=i._timeline}return e<(o/=n)?o-e:r&&o===e||!t._initted&&o-e<2e-8?y:(o+=t.totalDuration()/t._timeScale/n)>e+y?0:o-e-y};n._init=function(){var t,e,r,i,n,o,a=this.vars,s=this._overwrittenProps,l=this._duration,u=!!a.immediateRender,h=a.ease,c=this._startAt;if(a.startAt){for(i in c&&(c.render(-1,!0),c.kill()),n={},a.startAt)n[i]=a.startAt[i];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==a.lazy,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=R.to(this.target||{},0,n),u)if(0<this._time)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),r={},a)Z[i]&&"autoCSS"!==i||(r[i]=a[i]);if(r.overwrite=0,r.data="isFromStart",r.lazy=u&&!1!==a.lazy,r.immediateRender=u,this._startAt=R.to(this.target,0,r),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof S?h:"function"==typeof h?new S(h,a.easeParams):P[h]||R.defaultEase:R.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(e&&R._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(r=this._firstPT;r;)r.s+=r.c,r.c=-r.c,r=r._next;this._onUpdate=a.onUpdate,this._initted=!0},n._initProps=function(t,e,r,i,n){var o,a,s,l,u,h;if(null==t)return!1;for(o in L[t._gsTweenID]&&tt(),this.vars.css||t.style&&t!==f&&t.nodeType&&G.css&&!1!==this.vars.autoCSS&&function(t,e){var r,i={};for(r in t)Z[r]||r in e&&"transform"!==r&&"x"!==r&&"y"!==r&&"width"!==r&&"height"!==r&&"className"!==r&&"border"!==r||!(!G[r]||G[r]&&G[r]._autoCSS)||(i[r]=t[r],delete t[r]);t.css=i}(this.vars,t),this.vars)if(h=this.vars[o],Z[o])h&&(h instanceof Array||h.push&&x(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[o]=h=this._swapSelfInParams(h,this));else if(G[o]&&(l=new G[o])._onInitTween(t,this.vars[o],this,n)){for(this._firstPT=u={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:l._priority,m:0},a=l._overwriteProps.length;-1<--a;)e[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(s=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else e[o]=q.call(this,t,o,"get",h,o,0,null,this.vars.stringFilter,n);return i&&this._kill(i,t)?this._initProps(t,e,r,i,n):1<this._overwrite&&this._firstPT&&1<r.length&&it(t,this,e,this._overwrite,r)?(this._kill(e,t),this._initProps(t,e,r,i,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[t._gsTweenID]=!0),s)},n.render=function(t,e,r){var i,n,o,a,s=this,l=s._time,u=s._duration,h=s._rawPrevTime;if(u-y<=t&&0<=t)s._totalTime=s._time=u,s.ratio=s._ease._calcEnd?s._ease.getRatio(1):1,s._reversed||(i=!0,n="onComplete",r=r||s._timeline.autoRemoveChildren),0===u&&(s._initted||!s.vars.lazy||r)&&(s._startTime===s._timeline._duration&&(t=0),(h<0||t<=0&&-y<=t||h===y&&"isPause"!==s.data)&&h!==t&&(r=!0,y<h&&(n="onReverseComplete")),s._rawPrevTime=a=!e||t||h===t?t:y);else if(t<y)s._totalTime=s._time=0,s.ratio=s._ease._calcEnd?s._ease.getRatio(0):0,(0!==l||0===u&&0<h)&&(n="onReverseComplete",i=s._reversed),-y<t?t=0:t<0&&(s._active=!1,0===u&&(s._initted||!s.vars.lazy||r)&&(0<=h&&(h!==y||"isPause"!==s.data)&&(r=!0),s._rawPrevTime=a=!e||t||h===t?t:y)),(!s._initted||s._startAt&&s._startAt.progress())&&(r=!0);else if(s._totalTime=s._time=t,s._easeType){var c=t/u,f=s._easeType,p=s._easePower;(1===f||3===f&&.5<=c)&&(c=1-c),3===f&&(c*=2),1===p?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),s.ratio=1===f?1-c:2===f?c:t/u<.5?c/2:1-c/2}else s.ratio=s._ease.getRatio(t/u);if(s._time!==l||r){if(!s._initted){if(s._init(),!s._initted||s._gc)return;if(!r&&s._firstPT&&(!1!==s.vars.lazy&&s._duration||s.vars.lazy&&!s._duration))return s._time=s._totalTime=l,s._rawPrevTime=h,j.push(s),void(s._lazy=[t,e]);s._time&&!i?s.ratio=s._ease.getRatio(s._time/u):i&&s._ease._calcEnd&&(s.ratio=s._ease.getRatio(0===s._time?0:1))}for(!1!==s._lazy&&(s._lazy=!1),s._active||!s._paused&&s._time!==l&&0<=t&&(s._active=!0),0===l&&(s._startAt&&(0<=t?s._startAt.render(t,!0,r):n||(n="_dummyGS")),s.vars.onStart&&(0===s._time&&0!==u||e||s._callback("onStart"))),o=s._firstPT;o;)o.f?o.t[o.p](o.c*s.ratio+o.s):o.t[o.p]=o.c*s.ratio+o.s,o=o._next;s._onUpdate&&(t<0&&s._startAt&&-1e-4!==t&&s._startAt.render(t,!0,r),e||(s._time!==l||i||r)&&s._callback("onUpdate")),n&&(s._gc&&!r||(t<0&&s._startAt&&!s._onUpdate&&-1e-4!==t&&s._startAt.render(t,!0,r),i&&(s._timeline.autoRemoveChildren&&s._enabled(!1,!1),s._active=!1),!e&&s.vars[n]&&s._callback(n),0===u&&s._rawPrevTime===y&&a!==y&&(s._rawPrevTime=0)))}},n._kill=function(t,e,r){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:R.selector(e)||e;var i,n,o,a,s,l,u,h,c,f=r&&this._time&&r._startTime===this._startTime&&this._timeline===r._timeline,p=this._firstPT;if((x(e)||F(e))&&"number"!=typeof e[0])for(i=e.length;-1<--i;)this._kill(t,e[i],r)&&(l=!0);else{if(this._targets){for(i=this._targets.length;-1<--i;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(u=t||s,h=t!==n&&"all"!==n&&t!==s&&("object"!=typeof t||!t._tempKill),r&&(R.onOverwrite||this.vars.onOverwrite)){for(o in u)s[o]&&(c||(c=[]),c.push(o));if((c||!t)&&!rt(this,r,e,c))return!1}for(o in u)(a=s[o])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(u)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete s[o]),h&&(n[o]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},n.invalidate=function(){this._notifyPluginsOfEnabled&&R._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-y,this.render(t,!1,!1!==this.vars.lazy)),this},n._enabled=function(t,e){if(v||g.wake(),t&&this._gc){var r,i=this._targets;if(i)for(r=i.length;-1<--r;)this._siblings[r]=et(i[r],this,!0);else this._siblings=et(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&R._onPluginEvent(t?"_onEnable":"_onDisable",this)},R.to=function(t,e,r){return new R(t,e,r)},R.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new R(t,e,r)},R.fromTo=function(t,e,r,i){return i.startAt=r,i.immediateRender=0!=i.immediateRender&&0!=r.immediateRender,new R(t,e,i)},R.delayedCall=function(t,e,r,i,n){return new R(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},R.set=function(t,e){return new R(t,0,e)},R.getTweensOf=function(t,e){if(null==t)return[];var r,i,n,o;if(t="string"!=typeof t?t:R.selector(t)||t,(x(t)||F(t))&&"number"!=typeof t[0]){for(r=t.length,i=[];-1<--r;)i=i.concat(R.getTweensOf(t[r],e));for(r=i.length;-1<--r;)for(o=i[r],n=r;-1<--n;)o===i[n]&&i.splice(r,1)}else if(t._gsTweenID)for(r=(i=et(t).concat()).length;-1<--r;)(i[r]._gc||e&&!i[r].isActive())&&i.splice(r,1);return i||[]},R.killTweensOf=R.killDelayedCallsTo=function(t,e,r){"object"==typeof e&&(r=e,e=!1);for(var i=R.getTweensOf(t,e),n=i.length;-1<--n;)i[n]._kill(r,t)};var ot=k("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=ot.prototype},!0);if(n=ot.prototype,ot.version="1.19.0",ot.API=2,n._firstPT=null,n._addTween=q,n.setRatio=U,n._kill=function(t){var e,r=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=r.length;-1<--e;)null!=t[r[e]]&&r.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},n._mod=n._roundProps=function(t){for(var e,r=this._firstPT;r;)(e=t[this._propName]||null!=r.n&&t[r.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===r.f?r.t._applyPT.m=e:r.m=e),r=r._next},R._onPluginEvent=function(t,e){var r,i,n,o,a,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(a=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:o=s,s=a}s=e._firstPT=n}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(r=!0),s=s._next;return r},ot.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===ot.API&&(G[(new t[e])._propName]=t[e]);return!0},s.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,r=t.propName,i=t.priority||0,n=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=k("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){ot.call(this,r,i),this._overwriteProps=n||[]},!0===t.global),s=a.prototype=new ot(r);for(e in(s.constructor=a).API=t.API,o)"function"==typeof t[e]&&(s[o[e]]=t[e]);return a.version=t.version,ot.activate([a]),a},e=f._gsQueue){for(r=0;r<e.length;r++)e[r]();for(n in w)w[n].func||f.console.log("GSAP encountered missing dependency: "+n)}v=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,s,t){var r=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},A=1e-8,i=s._internals,E=i.lazyTweens,I=i.lazyRender,l=_gsScope._gsDefine.globals,u=new t(null,null,1,0),n=r.prototype=new e;return n.constructor=r,n.kill()._gc=!1,r.version="2.1.3",n.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},n.addCallback=function(t,e,r,i){return this.add(s.delayedCall(0,t,r,i),e)},n.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var r=this.getTweensOf(t,!1),i=r.length,n=this._parseTimeOrLabel(e);-1<--i;)r[i]._startTime===n&&r[i]._enabled(!1,!1);return this},n.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},n.tweenTo=function(t,e){e=e||{};var r,i,n,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=e.repeat&&l.TweenMax||s;for(i in e)o[i]=e[i];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,n=new a(this,r,o),o.onStart=function(){n.target.paused(!0),n.vars.time===n.target.time()||r!==n.duration()||n.isFromTo||n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale).render(n.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||n,e.onStartParams||[])},n},n.tweenFromTo=function(t,e,r){r=r||{},t=this._parseTimeOrLabel(t),r.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},r.immediateRender=!1!==r.immediateRender;var i=this.tweenTo(e,r);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},n.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var i,n,o,a,s,l,u,h,c,f=this,p=f._time,d=f._dirty?f.totalDuration():f._totalDuration,m=f._duration,g=f._totalTime,v=f._startTime,_=f._timeScale,y=f._rawPrevTime,b=f._paused,x=f._cycle;if(p!==f._time&&(t+=f._time-p),d-A<=t&&0<=t)f._locked||(f._totalTime=d,f._cycle=f._repeat),f._reversed||f._hasPausedChild()||(n=!0,a="onComplete",s=!!f._timeline.autoRemoveChildren,0===f._duration&&(t<=0&&-A<=t||y<0||y===A)&&y!==t&&f._first&&(s=!0,A<y&&(a="onReverseComplete"))),f._rawPrevTime=f._duration||!e||t||f._rawPrevTime===t?t:A,f._yoyo&&1&f._cycle?f._time=t=0:t=(f._time=m)+1e-4;else if(t<A)if(f._locked||(f._totalTime=f._cycle=0),f._time=0,-A<t&&(t=0),(0!==p||0===m&&y!==A&&(0<y||t<0&&0<=y)&&!f._locked)&&(a="onReverseComplete",n=f._reversed),t<0)f._active=!1,f._timeline.autoRemoveChildren&&f._reversed?(s=n=!0,a="onReverseComplete"):0<=y&&f._first&&(s=!0),f._rawPrevTime=t;else{if(f._rawPrevTime=m||!e||t||f._rawPrevTime===t?t:A,0===t&&n)for(i=f._first;i&&0===i._startTime;)i._duration||(n=!1),i=i._next;t=0,f._initted||(s=!0)}else 0===m&&y<0&&(s=!0),f._time=f._rawPrevTime=t,f._locked||(f._totalTime=t,0!==f._repeat&&(l=m+f._repeatDelay,f._cycle=f._totalTime/l>>0,f._cycle&&f._cycle===f._totalTime/l&&g<=t&&f._cycle--,f._time=f._totalTime-f._cycle*l,f._yoyo&&1&f._cycle&&(f._time=m-f._time),f._time>m?t=(f._time=m)+1e-4:f._time<0?f._time=t=0:t=f._time));if(f._hasPause&&!f._forcingPlayhead&&!e){if(p<(t=f._time)||f._repeat&&x!==f._cycle)for(i=f._first;i&&i._startTime<=t&&!u;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===f._rawPrevTime||(u=i),i=i._next;else for(i=f._last;i&&i._startTime>=t&&!u;)i._duration||"isPause"===i.data&&0<i._rawPrevTime&&(u=i),i=i._prev;u&&(c=f._startTime+(f._reversed?f._duration-u._startTime:u._startTime)/f._timeScale,u._startTime<m&&(f._time=f._rawPrevTime=t=u._startTime,f._totalTime=t+f._cycle*(f._totalDuration+f._repeatDelay)))}if(f._cycle!==x&&!f._locked){var w=f._yoyo&&0!=(1&x),T=w===(f._yoyo&&0!=(1&f._cycle)),k=f._totalTime,S=f._cycle,P=f._rawPrevTime,C=f._time;if(f._totalTime=x*m,f._cycle<x?w=!w:f._totalTime+=m,f._time=p,f._rawPrevTime=0===m?y-1e-4:y,f._cycle=x,f._locked=!0,p=w?0:m,f.render(p,e,0===m),e||f._gc||f.vars.onRepeat&&(f._cycle=S,f._locked=!1,f._callback("onRepeat")),p!==f._time)return;if(T&&(f._cycle=x,f._locked=!0,p=w?m+1e-4:-1e-4,f.render(p,!0,!1)),f._locked=!1,f._paused&&!b)return;f._time=C,f._totalTime=k,f._cycle=S,f._rawPrevTime=P}if(f._time!==p&&f._first||r||s||u){if(f._initted||(f._initted=!0),f._active||!f._paused&&f._totalTime!==g&&0<t&&(f._active=!0),0===g&&f.vars.onStart&&(0===f._totalTime&&f._totalDuration||e||f._callback("onStart")),p<=(h=f._time))for(i=f._first;i&&(o=i._next,h===f._time&&(!f._paused||b));)(i._active||i._startTime<=f._time&&!i._paused&&!i._gc)&&(u===i&&(f.pause(),f._pauseTime=c),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=o;else for(i=f._last;i&&(o=i._prev,h===f._time&&(!f._paused||b));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(u===i){for(u=i._prev;u&&u.endTime()>f._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,r),u=u._prev;u=null,f.pause(),f._pauseTime=c}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)}i=o}f._onUpdate&&(e||(E.length&&I(),f._callback("onUpdate"))),a&&(f._locked||f._gc||v!==f._startTime&&_===f._timeScale||(0===f._time||d>=f.totalDuration())&&(n&&(E.length&&I(),f._timeline.autoRemoveChildren&&f._enabled(!1,!1),f._active=!1),!e&&f.vars[a]&&f._callback(a)))}else g!==f._totalTime&&f._onUpdate&&(e||f._callback("onUpdate"))},n.getActive=function(t,e,r){var i,n,o=[],a=this.getChildren(t||null==t,e||null==t,!!r),s=0,l=a.length;for(i=0;i<l;i++)(n=a[i]).isActive()&&(o[s++]=n);return o},n.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,r=this.getLabelsArray(),i=r.length;for(e=0;e<i;e++)if(r[e].time>t)return r[e].name;return null},n.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),r=e.length;-1<--r;)if(e[r].time<t)return e[r].name;return null},n.getLabelsArray=function(){var t,e=[],r=0;for(t in this._labels)e[r++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},n.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},n.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},n.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},n.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},n.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var r=this._duration,i=this._cycle,n=i*(r+this._repeatDelay);return r<t&&(t=r),this.totalTime(this._yoyo&&1&i?r-t+n:this._repeat?t+n:t,e)},n.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},n.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},n.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+A)},r},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(c,f,d){var m=function(t){f.call(this,t);var e,r,i=this.vars;for(r in this._labels={},this.autoRemoveChildren=!!i.autoRemoveChildren,this.smoothChildTiming=!!i.smoothChildTiming,this._sortChildren=!0,this._onUpdate=i.onUpdate,i)e=i[r],p(e)&&-1!==e.join("").indexOf("{self}")&&(i[r]=this._swapSelfInParams(e));p(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},t=d._internals,e=m._internals={},g=t.isSelector,p=t.isArray,v=t.lazyTweens,_=t.lazyRender,a=_gsScope._gsDefine.globals,y=function(t){var e,r={};for(e in t)r[e]=t[e];return r},b=function(t,e,r){var i,n,o=t.cycle;for(i in o)n=o[i],t[i]="function"==typeof n?n(r,e[r],e):n[r%n.length];delete t.cycle},o=e.pauseCallback=function(){},u=function(t,e,r,i){var n="immediateRender";return n in e||(e[n]=!(r&&!1===r[n]||i)),e},x=function(t){if("function"==typeof t)return t;var d="object"==typeof t?t:{each:t},m=d.ease,g=d.from||0,v=d.base||0,_={},y=isNaN(g),b=d.axis,x={center:.5,end:1}[g]||0;return function(t,e,r){var i,n,o,a,s,l,u,h,c,f=(r||d).length,p=_[f];if(!p){if(!(c="auto"===d.grid?0:(d.grid||[1/0])[0])){for(u=-1/0;u<(u=r[c++].getBoundingClientRect().left)&&c<f;);c--}for(p=_[f]=[],i=y?Math.min(c,f)*x-.5:g%c,n=y?f*x/c-.5:g/c|0,h=1/(u=0),l=0;l<f;l++)o=l%c-i,a=n-(l/c|0),p[l]=s=b?Math.abs("y"===b?a:o):Math.sqrt(o*o+a*a),u<s&&(u=s),s<h&&(h=s);p.max=u-h,p.min=h,p.v=f=d.amount||d.each*(f<c?f-1:b?"y"===b?f/c:c:Math.max(c,f/c))||0,p.b=f<0?v-f:v}return f=(p[t]-p.min)/p.max,p.b+(m?m.getRatio(f):f)*p.v}},r=m.prototype=new f;return m.version="2.1.3",m.distribute=x,r.constructor=m,r.kill()._gc=r._forcingPlayhead=r._hasPause=!1,r.to=function(t,e,r,i){var n=r.repeat&&a.TweenMax||d;return e?this.add(new n(t,e,r),i):this.set(t,r,i)},r.from=function(t,e,r,i){return this.add((r.repeat&&a.TweenMax||d).from(t,e,u(0,r)),i)},r.fromTo=function(t,e,r,i,n){var o=i.repeat&&a.TweenMax||d;return i=u(0,i,r),e?this.add(o.fromTo(t,e,r,i),n):this.set(t,i,n)},r.staggerTo=function(t,e,r,i,n,o,a,s){var l,u,h=new m({onComplete:o,onCompleteParams:a,callbackScope:s,smoothChildTiming:this.smoothChildTiming}),c=x(r.stagger||i),f=r.startAt,p=r.cycle;for("string"==typeof t&&(t=d.selector(t)||t),g(t=t||[])&&(t=function(t){var e,r=[],i=t.length;for(e=0;e!==i;r.push(t[e++]));return r}(t)),u=0;u<t.length;u++)l=y(r),f&&(l.startAt=y(f),f.cycle&&b(l.startAt,t,u)),p&&(b(l,t,u),null!=l.duration&&(e=l.duration,delete l.duration)),h.to(t[u],e,l,c(u,t[u],t));return this.add(h,n)},r.staggerFrom=function(t,e,r,i,n,o,a,s){return r.runBackwards=!0,this.staggerTo(t,e,u(0,r),i,n,o,a,s)},r.staggerFromTo=function(t,e,r,i,n,o,a,s,l){return i.startAt=r,this.staggerTo(t,e,u(0,i,r),n,o,a,s,l)},r.call=function(t,e,r,i){return this.add(d.delayedCall(0,t,e,r),i)},r.set=function(t,e,r){return this.add(new d(t,0,u(0,e,null,!0)),r)},m.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var r,i,n,o,a=new m(t),s=a._timeline;for(null==e&&(e=!0),s._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=s._time,n=s._first;n;)o=n._next,e&&n instanceof d&&n.target===n.vars.onComplete||((i=n._startTime-n._delay)<0&&(r=1),a.add(n,i)),n=o;return s.add(a,0),r&&a.totalDuration(),a},r.add=function(t,e,r,i){var n,o,a,s,l,u,h=this;if("number"!=typeof e&&(e=h._parseTimeOrLabel(e,0,!0,t)),!(t instanceof c)){if(t instanceof Array||t&&t.push&&p(t)){for(r=r||"normal",i=i||0,n=e,o=t.length,a=0;a<o;a++)p(s=t[a])&&(s=new m({tweens:s})),h.add(s,n),"string"!=typeof s&&"function"!=typeof s&&("sequence"===r?n=s._startTime+s.totalDuration()/s._timeScale:"start"===r&&(s._startTime-=s.delay())),n+=i;return h._uncache(!0)}if("string"==typeof t)return h.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=d.delayedCall(0,t)}if(f.prototype.add.call(h,t,e),(t._time||!t._duration&&t._initted)&&(n=(h.rawTime()-t._startTime)*t._timeScale,(!t._duration||1e-5<Math.abs(Math.max(0,Math.min(t.totalDuration(),n)))-t._totalTime)&&t.render(n,!1,!1)),(h._gc||h._time===h._duration)&&!h._paused&&h._duration<h.duration())for(u=(l=h).rawTime()>t._startTime;l._timeline;)u&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return h},r.remove=function(t){if(t instanceof c){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?c._rootFramesTimeline:c._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&p(t)){for(var r=t.length;-1<--r;)this.remove(t[r]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},r._remove=function(t,e){return f.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},r.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},r.insert=r.insertMultiple=function(t,e,r,i){return this.add(t,e||0,r,i)},r.appendMultiple=function(t,e,r,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),r,i)},r.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},r.addPause=function(t,e,r,i){var n=d.delayedCall(0,o,r,i||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},r.removeLabel=function(t){return delete this._labels[t],this},r.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},r._parseTimeOrLabel=function(t,e,r,i){var n,o;if(i instanceof c&&i.timeline===this)this.remove(i);else if(i&&(i instanceof Array||i.push&&p(i)))for(o=i.length;-1<--o;)i[o]instanceof c&&i[o].timeline===this&&this.remove(i[o]);if(n="number"!=typeof t||e?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,r&&"number"==typeof t&&null==this._labels[e]?t-n:0,r);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=n);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?r?this._labels[t]=n+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=1<o?this._parseTimeOrLabel(t.substr(0,o-1),0,r):n}return Number(t)+e},r.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(t,e){return this.play(t,e)},r.gotoAndStop=function(t,e){return this.pause(t,e)},r.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var i,n,o,a,s,l,u,h,c=this,f=c._time,p=c._dirty?c.totalDuration():c._totalDuration,d=c._startTime,m=c._timeScale,g=c._paused;if(f!==c._time&&(t+=c._time-f),c._hasPause&&!c._forcingPlayhead&&!e){if(f<t)for(i=c._first;i&&i._startTime<=t&&!l;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===c._rawPrevTime||(l=i),i=i._next;else for(i=c._last;i&&i._startTime>=t&&!l;)i._duration||"isPause"===i.data&&0<i._rawPrevTime&&(l=i),i=i._prev;l&&(c._time=c._totalTime=t=l._startTime,h=c._startTime+(c._reversed?c._duration-t:t)/c._timeScale)}if(p-1e-8<=t&&0<=t)c._totalTime=c._time=p,c._reversed||c._hasPausedChild()||(n=!0,a="onComplete",s=!!c._timeline.autoRemoveChildren,0===c._duration&&(t<=0&&-1e-8<=t||c._rawPrevTime<0||1e-8===c._rawPrevTime)&&c._rawPrevTime!==t&&c._first&&(s=!0,1e-8<c._rawPrevTime&&(a="onReverseComplete"))),c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,t=p+1e-4;else if(t<1e-8)if(c._totalTime=c._time=0,-1e-8<t&&(t=0),(0!==f||0===c._duration&&1e-8!==c._rawPrevTime&&(0<c._rawPrevTime||t<0&&0<=c._rawPrevTime))&&(a="onReverseComplete",n=c._reversed),t<0)c._active=!1,c._timeline.autoRemoveChildren&&c._reversed?(s=n=!0,a="onReverseComplete"):0<=c._rawPrevTime&&c._first&&(s=!0),c._rawPrevTime=t;else{if(c._rawPrevTime=c._duration||!e||t||c._rawPrevTime===t?t:1e-8,0===t&&n)for(i=c._first;i&&0===i._startTime;)i._duration||(n=!1),i=i._next;t=0,c._initted||(s=!0)}else c._totalTime=c._time=c._rawPrevTime=t;if(c._time!==f&&c._first||r||s||l){if(c._initted||(c._initted=!0),c._active||!c._paused&&c._time!==f&&0<t&&(c._active=!0),0===f&&c.vars.onStart&&(0===c._time&&c._duration||e||c._callback("onStart")),f<=(u=c._time))for(i=c._first;i&&(o=i._next,u===c._time&&(!c._paused||g));)(i._active||i._startTime<=u&&!i._paused&&!i._gc)&&(l===i&&(c.pause(),c._pauseTime=h),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)),i=o;else for(i=c._last;i&&(o=i._prev,u===c._time&&(!c._paused||g));){if(i._active||i._startTime<=f&&!i._paused&&!i._gc){if(l===i){for(l=i._prev;l&&l.endTime()>c._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,r),l=l._prev;l=null,c.pause(),c._pauseTime=h}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,r):i.render((t-i._startTime)*i._timeScale,e,r)}i=o}c._onUpdate&&(e||(v.length&&_(),c._callback("onUpdate"))),a&&(c._gc||d!==c._startTime&&m===c._timeScale||(0===c._time||p>=c.totalDuration())&&(n&&(v.length&&_(),c._timeline.autoRemoveChildren&&c._enabled(!1,!1),c._active=!1),!e&&c.vars[a]&&c._callback(a)))}},r._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof m&&t._hasPausedChild())return!0;t=t._next}return!1},r.getChildren=function(t,e,r,i){i=i||-9999999999;for(var n=[],o=this._first,a=0;o;)o._startTime<i||(o instanceof d?!1!==e&&(n[a++]=o):(!1!==r&&(n[a++]=o),!1!==t&&(a=(n=n.concat(o.getChildren(!0,e,r))).length))),o=o._next;return n},r.getTweensOf=function(t,e){var r,i,n=this._gc,o=[],a=0;for(n&&this._enabled(!0,!0),i=(r=d.getTweensOf(t)).length;-1<--i;)(r[i].timeline===this||e&&this._contains(r[i]))&&(o[a++]=r[i]);return n&&this._enabled(!1,!0),o},r.recent=function(){return this._recent},r._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},r.shiftChildren=function(t,e,r){r=r||0;for(var i,n=this._first,o=this._labels;n;)n._startTime>=r&&(n._startTime+=t),n=n._next;if(e)for(i in o)o[i]>=r&&(o[i]+=t);return this._uncache(!0)},r._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var r=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=r.length,n=!1;-1<--i;)r[i]._kill(t,e)&&(n=!0);return n},r.clear=function(t){var e=this.getChildren(!1,!0,!0),r=e.length;for(this._time=this._totalTime=0;-1<--r;)e[r]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return c.prototype.invalidate.call(this)},r._enabled=function(t,e){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return f.prototype._enabled.call(this,t,e)},r.totalTime=function(t,e,r){this._forcingPlayhead=!0;var i=c.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},r.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,r,i=0,n=this,o=n._last,a=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>a&&n._sortChildren&&!o._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(o,o._startTime-o._delay),n._calculatingDuration=0):a=o._startTime,o._startTime<0&&!o._paused&&(i-=o._startTime,n._timeline.smoothChildTiming&&(n._startTime+=o._startTime/n._timeScale,n._time-=o._startTime,n._totalTime-=o._startTime,n._rawPrevTime-=o._startTime),n.shiftChildren(-o._startTime,!1,-9999999999),a=0),i<(r=o._startTime+o._totalDuration/o._timeScale)&&(i=r),o=e;n._duration=n._totalDuration=i,n._dirty=!1}return this._totalDuration},r.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return c.prototype.paused.apply(this,arguments)},r.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===c._rootFramesTimeline},r.rawTime=function(t){return t&&(this._paused||this._repeat&&0<this.time()&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},m},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineMax};"undefined"!=typeof module&&module.exports?(require("./TweenLite.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}(),function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(T,t){"use strict";var e=[],k=T.document,i=Object.getPrototypeOf,s=e.slice,m=e.concat,l=e.push,n=e.indexOf,r={},o=r.toString,g=r.hasOwnProperty,a=g.toString,u=a.call(Object),v={},_=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},h={type:!0,src:!0,noModule:!0};function b(t,e,r){var i,n=(e=e||k).createElement("script");if(n.text=t,r)for(i in h)r[i]&&(n[i]=r[i]);e.head.appendChild(n).parentNode.removeChild(n)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?r[o.call(t)]||"object":typeof t}var S=function(t,e){return new S.fn.init(t,e)},c=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(t){var e=!!t&&"length"in t&&t.length,r=x(t);return!_(t)&&!y(t)&&("array"===r||0===e||"number"==typeof e&&0<e&&e-1 in t)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(r){return this.pushStack(S.map(this,function(t,e){return r.call(t,e,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,r=+t+(t<0?e:0);return this.pushStack(0<=r&&r<e?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},S.extend=S.fn.extend=function(){var t,e,r,i,n,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||_(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)r=a[e],a!==(i=t[e])&&(u&&i&&(S.isPlainObject(i)||(n=Array.isArray(i)))?(o=n?(n=!1,r&&Array.isArray(r)?r:[]):r&&S.isPlainObject(r)?r:{},a[e]=S.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},S.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,r;return!(!t||"[object Object]"!==o.call(t))&&(!(e=i(t))||"function"==typeof(r=g.call(e,"constructor")&&e.constructor)&&a.call(r)===u)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){b(t)},each:function(t,e){var r,i=0;if(f(t))for(r=t.length;i<r&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(c,"")},makeArray:function(t,e){var r=e||[];return null!=t&&(f(Object(t))?S.merge(r,"string"==typeof t?[t]:t):l.call(r,t)),r},inArray:function(t,e,r){return null==e?-1:n.call(e,t,r)},merge:function(t,e){for(var r=+e.length,i=0,n=t.length;i<r;i++)t[n++]=e[i];return t.length=n,t},grep:function(t,e,r){for(var i=[],n=0,o=t.length,a=!r;n<o;n++)!e(t[n],n)!=a&&i.push(t[n]);return i},map:function(t,e,r){var i,n,o=0,a=[];if(f(t))for(i=t.length;o<i;o++)null!=(n=e(t[o],o,r))&&a.push(n);else for(o in t)null!=(n=e(t[o],o,r))&&a.push(n);return m.apply([],a)},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=e[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){r["[object "+e+"]"]=e.toLowerCase()});var p=function(r){var t,p,b,o,n,d,c,m,x,l,u,w,T,a,k,g,s,h,v,S="sizzle"+1*new Date,_=r.document,P=0,i=0,f=at(),y=at(),C=at(),A=function(t,e){return t===e&&(u=!0),0},E={}.hasOwnProperty,e=[],I=e.pop,O=e.push,M=e.push,D=e.slice,z=function(t,e){for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",L="\\["+F+"*("+j+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+F+"*\\]",N=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",B=new RegExp(F+"+","g"),U=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),X=new RegExp("^"+F+"*,"+F+"*"),H=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),q=new RegExp("="+F+"*([^\\]'\"]*?)"+F+"*\\]","g"),W=new RegExp(N),G=new RegExp("^"+j+"$"),V={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,$=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),tt=function(t,e,r){var i="0x"+e-65536;return i!=i||r?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){w()},nt=_t(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{M.apply(e=D.call(_.childNodes),_.childNodes),e[_.childNodes.length].nodeType}catch(t){M={apply:e.length?function(t,e){O.apply(t,D.call(e))}:function(t,e){for(var r=t.length,i=0;t[r++]=e[i++];);t.length=r-1}}}function ot(t,e,r,i){var n,o,a,s,l,u,h,c=e&&e.ownerDocument,f=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return r;if(!i&&((e?e.ownerDocument||e:_)!==T&&w(e),e=e||T,k)){if(11!==f&&(l=K.exec(t)))if(n=l[1]){if(9===f){if(!(a=e.getElementById(n)))return r;if(a.id===n)return r.push(a),r}else if(c&&(a=c.getElementById(n))&&v(e,a)&&a.id===n)return r.push(a),r}else{if(l[2])return M.apply(r,e.getElementsByTagName(t)),r;if((n=l[3])&&p.getElementsByClassName&&e.getElementsByClassName)return M.apply(r,e.getElementsByClassName(n)),r}if(p.qsa&&!C[t+" "]&&(!g||!g.test(t))){if(1!==f)c=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(et,rt):e.setAttribute("id",s=S),o=(u=d(t)).length;o--;)u[o]="#"+s+" "+vt(u[o]);h=u.join(","),c=Q.test(t)&&mt(e.parentNode)||e}if(h)try{return M.apply(r,c.querySelectorAll(h)),r}catch(t){}finally{s===S&&e.removeAttribute("id")}}}return m(t.replace(U,"$1"),e,r,i)}function at(){var i=[];return function t(e,r){return i.push(e+" ")>b.cacheLength&&delete t[i.shift()],t[e+" "]=r}}function st(t){return t[S]=!0,t}function lt(t){var e=T.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){for(var r=t.split("|"),i=r.length;i--;)b.attrHandle[r[i]]=e}function ht(t,e){var r=e&&t,i=r&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(r)for(;r=r.nextSibling;)if(r===e)return-1;return t?1:-1}function ct(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ft(r){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===r}}function pt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&nt(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function dt(a){return st(function(o){return o=+o,st(function(t,e){for(var r,i=a([],t.length,o),n=i.length;n--;)t[r=i[n]]&&(t[r]=!(e[r]=t[r]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in p=ot.support={},n=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},w=ot.setDocument=function(t){var e,r,i=t?t.ownerDocument||t:_;return i!==T&&9===i.nodeType&&i.documentElement&&(a=(T=i).documentElement,k=!n(T),_!==T&&(r=T.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",it,!1):r.attachEvent&&r.attachEvent("onunload",it)),p.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=lt(function(t){return t.appendChild(T.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=J.test(T.getElementsByClassName),p.getById=lt(function(t){return a.appendChild(t).id=S,!T.getElementsByName||!T.getElementsByName(S).length}),p.getById?(b.filter.ID=function(t){var e=t.replace($,tt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var r=e.getElementById(t);return r?[r]:[]}}):(b.filter.ID=function(t){var r=t.replace($,tt);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===r}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&k){var r,i,n,o=e.getElementById(t);if(o){if((r=o.getAttributeNode("id"))&&r.value===t)return[o];for(n=e.getElementsByName(t),i=0;o=n[i++];)if((r=o.getAttributeNode("id"))&&r.value===t)return[o]}return[]}}),b.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var r,i=[],n=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;r=o[n++];)1===r.nodeType&&i.push(r);return i},b.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&k)return e.getElementsByClassName(t)},s=[],g=[],(p.qsa=J.test(T.querySelectorAll))&&(lt(function(t){a.appendChild(t).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+S+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=T.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+F+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=J.test(h=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&<(function(t){p.disconnectedMatch=h.call(t,"*"),h.call(t,"[s!='']:x"),s.push("!=",N)}),g=g.length&&new RegExp(g.join("|")),s=s.length&&new RegExp(s.join("|")),e=J.test(a.compareDocumentPosition),v=e||J.test(a.contains)?function(t,e){var r=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return u=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===r?t===T||t.ownerDocument===_&&v(_,t)?-1:e===T||e.ownerDocument===_&&v(_,e)?1:l?z(l,t)-z(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return u=!0,0;var r,i=0,n=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!n||!o)return t===T?-1:e===T?1:n?-1:o?1:l?z(l,t)-z(l,e):0;if(n===o)return ht(t,e);for(r=t;r=r.parentNode;)a.unshift(r);for(r=e;r=r.parentNode;)s.unshift(r);for(;a[i]===s[i];)i++;return i?ht(a[i],s[i]):a[i]===_?-1:s[i]===_?1:0}),T},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==T&&w(t),e=e.replace(q,"='$1']"),p.matchesSelector&&k&&!C[e+" "]&&(!s||!s.test(e))&&(!g||!g.test(e)))try{var r=h.call(t,e);if(r||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){}return 0<ot(e,T,null,[t]).length},ot.contains=function(t,e){return(t.ownerDocument||t)!==T&&w(t),v(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==T&&w(t);var r=b.attrHandle[e.toLowerCase()],i=r&&E.call(b.attrHandle,e.toLowerCase())?r(t,e,!k):void 0;return void 0!==i?i:p.attributes||!k?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},ot.escape=function(t){return(t+"").replace(et,rt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,r=[],i=0,n=0;if(u=!p.detectDuplicates,l=!p.sortStable&&t.slice(0),t.sort(A),u){for(;e=t[n++];)e===t[n]&&(i=r.push(n));for(;i--;)t.splice(r[i],1)}return l=null,t},o=ot.getText=function(t){var e,r="",i=0,n=t.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)r+=o(t)}else if(3===n||4===n)return t.nodeValue}else for(;e=t[i++];)r+=o(e);return r},(b=ot.selectors={cacheLength:50,createPseudo:st,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace($,tt),t[3]=(t[3]||t[4]||t[5]||"").replace($,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,r=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":r&&W.test(r)&&(e=d(r,!0))&&(e=r.indexOf(")",r.length-e)-r.length)&&(t[0]=t[0].slice(0,e),t[2]=r.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace($,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=f[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&f(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(r,i,n){return function(t){var e=ot.attr(t,r);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(B," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(d,t,e,m,g){var v="nth"!==d.slice(0,3),_="last"!==d.slice(-4),y="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,r){var i,n,o,a,s,l,u=v!=_?"nextSibling":"previousSibling",h=t.parentNode,c=y&&t.nodeName.toLowerCase(),f=!r&&!y,p=!1;if(h){if(v){for(;u;){for(a=t;a=a[u];)if(y?a.nodeName.toLowerCase()===c:1===a.nodeType)return!1;l=u="only"===d&&!l&&"nextSibling"}return!0}if(l=[_?h.firstChild:h.lastChild],_&&f){for(p=(s=(i=(n=(o=(a=h)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[d]||[])[0]===P&&i[1])&&i[2],a=s&&h.childNodes[s];a=++s&&a&&a[u]||(p=s=0)||l.pop();)if(1===a.nodeType&&++p&&a===t){n[d]=[P,s,p];break}}else if(f&&(p=s=(i=(n=(o=(a=t)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[d]||[])[0]===P&&i[1]),!1===p)for(;(a=++s&&a&&a[u]||(p=s=0)||l.pop())&&((y?a.nodeName.toLowerCase()!==c:1!==a.nodeType)||!++p||(f&&((n=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[d]=[P,p]),a!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,o){var e,a=b.pseudos[t]||b.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return a[S]?a(o):1<a.length?(e=[t,t,"",o],b.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,e){for(var r,i=a(t,o),n=i.length;n--;)t[r=z(t,i[n])]=!(e[r]=i[n])}):function(t){return a(t,0,e)}):a}},pseudos:{not:st(function(t){var i=[],n=[],s=c(t.replace(U,"$1"));return s[S]?st(function(t,e,r,i){for(var n,o=s(t,null,i,[]),a=t.length;a--;)(n=o[a])&&(t[a]=!(e[a]=n))}):function(t,e,r){return i[0]=t,s(i,null,r,n),i[0]=null,!n.pop()}}),has:st(function(e){return function(t){return 0<ot(e,t).length}}),contains:st(function(e){return e=e.replace($,tt),function(t){return-1<(t.textContent||t.innerText||o(t)).indexOf(e)}}),lang:st(function(r){return G.test(r||"")||ot.error("unsupported lang: "+r),r=r.replace($,tt).toLowerCase(),function(t){var e;do{if(e=k?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===r||0===e.indexOf(r+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=r.location&&r.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===a},focus:function(t){return t===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:dt(function(){return[0]}),last:dt(function(t,e){return[e-1]}),eq:dt(function(t,e,r){return[r<0?r+e:r]}),even:dt(function(t,e){for(var r=0;r<e;r+=2)t.push(r);return t}),odd:dt(function(t,e){for(var r=1;r<e;r+=2)t.push(r);return t}),lt:dt(function(t,e,r){for(var i=r<0?r+e:r;0<=--i;)t.push(i);return t}),gt:dt(function(t,e,r){for(var i=r<0?r+e:r;++i<e;)t.push(i);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[t]=ct(t);for(t in{submit:!0,reset:!0})b.pseudos[t]=ft(t);function gt(){}function vt(t){for(var e=0,r=t.length,i="";e<r;e++)i+=t[e].value;return i}function _t(s,t,e){var l=t.dir,u=t.next,h=u||l,c=e&&"parentNode"===h,f=i++;return t.first?function(t,e,r){for(;t=t[l];)if(1===t.nodeType||c)return s(t,e,r);return!1}:function(t,e,r){var i,n,o,a=[P,f];if(r){for(;t=t[l];)if((1===t.nodeType||c)&&s(t,e,r))return!0}else for(;t=t[l];)if(1===t.nodeType||c)if(n=(o=t[S]||(t[S]={}))[t.uniqueID]||(o[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[l]||t;else{if((i=n[h])&&i[0]===P&&i[1]===f)return a[2]=i[2];if((n[h]=a)[2]=s(t,e,r))return!0}return!1}}function yt(n){return 1<n.length?function(t,e,r){for(var i=n.length;i--;)if(!n[i](t,e,r))return!1;return!0}:n[0]}function bt(t,e,r,i,n){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(r&&!r(o,i,n)||(a.push(o),u&&e.push(s)));return a}function xt(p,d,m,g,v,t){return g&&!g[S]&&(g=xt(g)),v&&!v[S]&&(v=xt(v,t)),st(function(t,e,r,i){var n,o,a,s=[],l=[],u=e.length,h=t||function(t,e,r){for(var i=0,n=e.length;i<n;i++)ot(t,e[i],r);return r}(d||"*",r.nodeType?[r]:r,[]),c=!p||!t&&d?h:bt(h,s,p,r,i),f=m?v||(t?p:u||g)?[]:e:c;if(m&&m(c,f,r,i),g)for(n=bt(f,l),g(n,[],r,i),o=n.length;o--;)(a=n[o])&&(f[l[o]]=!(c[l[o]]=a));if(t){if(v||p){if(v){for(n=[],o=f.length;o--;)(a=f[o])&&n.push(c[o]=a);v(null,f=[],n,i)}for(o=f.length;o--;)(a=f[o])&&-1<(n=v?z(t,a):s[o])&&(t[n]=!(e[n]=a))}}else f=bt(f===e?f.splice(u,f.length):f),v?v(null,e,f,i):M.apply(e,f)})}function wt(t){for(var n,e,r,i=t.length,o=b.relative[t[0].type],a=o||b.relative[" "],s=o?1:0,l=_t(function(t){return t===n},a,!0),u=_t(function(t){return-1<z(n,t)},a,!0),h=[function(t,e,r){var i=!o&&(r||e!==x)||((n=e).nodeType?l(t,e,r):u(t,e,r));return n=null,i}];s<i;s++)if(e=b.relative[t[s].type])h=[_t(yt(h),e)];else{if((e=b.filter[t[s].type].apply(null,t[s].matches))[S]){for(r=++s;r<i&&!b.relative[t[r].type];r++);return xt(1<s&&yt(h),1<s&&vt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(U,"$1"),e,s<r&&wt(t.slice(s,r)),r<i&&wt(t=t.slice(r)),r<i&&vt(t))}h.push(e)}return yt(h)}return gt.prototype=b.filters=b.pseudos,b.setFilters=new gt,d=ot.tokenize=function(t,e){var r,i,n,o,a,s,l,u=y[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=b.preFilter;a;){for(o in r&&!(i=X.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(n=[])),r=!1,(i=H.exec(a))&&(r=i.shift(),n.push({value:r,type:i[0].replace(U," ")}),a=a.slice(r.length)),b.filter)!(i=V[o].exec(a))||l[o]&&!(i=l[o](i))||(r=i.shift(),n.push({value:r,type:o,matches:i}),a=a.slice(r.length));if(!r)break}return e?a.length:a?ot.error(t):y(t,s).slice(0)},c=ot.compile=function(t,e){var r,i=[],n=[],o=C[t+" "];if(!o){for(e||(e=d(t)),r=e.length;r--;)(o=wt(e[r]))[S]?i.push(o):n.push(o);(o=C(t,function(g,v){var _=0<v.length,y=0<g.length,t=function(t,e,r,i,n){var o,a,s,l=0,u="0",h=t&&[],c=[],f=x,p=t||y&&b.find.TAG("*",n),d=P+=null==f?1:Math.random()||.1,m=p.length;for(n&&(x=e===T||e||n);u!==m&&null!=(o=p[u]);u++){if(y&&o){for(a=0,e||o.ownerDocument===T||(w(o),r=!k);s=g[a++];)if(s(o,e||T,r)){i.push(o);break}n&&(P=d)}_&&((o=!s&&o)&&l--,t&&h.push(o))}if(l+=u,_&&u!==l){for(a=0;s=v[a++];)s(h,c,e,r);if(t){if(0<l)for(;u--;)h[u]||c[u]||(c[u]=I.call(i));c=bt(c)}M.apply(i,c),n&&!t&&0<c.length&&1<l+v.length&&ot.uniqueSort(i)}return n&&(P=d,x=f),h};return _?st(t):t}(n,i))).selector=t}return o},m=ot.select=function(t,e,r,i){var n,o,a,s,l,u="function"==typeof t&&t,h=!i&&d(t=u.selector||t);if(r=r||[],1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===e.nodeType&&k&&b.relative[o[1].type]){if(!(e=(b.find.ID(a.matches[0].replace($,tt),e)||[])[0]))return r;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(n=V.needsContext.test(t)?0:o.length;n--&&(a=o[n],!b.relative[s=a.type]);)if((l=b.find[s])&&(i=l(a.matches[0].replace($,tt),Q.test(o[0].type)&&mt(e.parentNode)||e))){if(o.splice(n,1),!(t=i.length&&vt(o)))return M.apply(r,i),r;break}}return(u||c(t,h))(i,e,!k,r,!e||Q.test(t)&&mt(e.parentNode)||e),r},p.sortStable=S.split("").sort(A).join("")===S,p.detectDuplicates=!!u,w(),p.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(T.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ut("type|href|height|width",function(t,e,r){if(!r)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&<(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ut("value",function(t,e,r){if(!r&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ut(R,function(t,e,r){var i;if(!r)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),ot}(T);S.find=p,S.expr=p.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=p.uniqueSort,S.text=p.getText,S.isXMLDoc=p.isXML,S.contains=p.contains,S.escapeSelector=p.escape;var d=function(t,e,r){for(var i=[],n=void 0!==r;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(n&&S(t).is(r))break;i.push(t)}return i},w=function(t,e){for(var r=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&r.push(t);return r},P=S.expr.match.needsContext;function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(t,r,i){return _(r)?S.grep(t,function(t,e){return!!r.call(t,e,t)!==i}):r.nodeType?S.grep(t,function(t){return t===r!==i}):"string"!=typeof r?S.grep(t,function(t){return-1<n.call(r,t)!==i}):S.filter(r,t,i)}S.filter=function(t,e,r){var i=e[0];return r&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?S.find.matchesSelector(i,t)?[i]:[]:S.find.matches(t,S.grep(e,function(t){return 1===t.nodeType}))},S.fn.extend({find:function(t){var e,r,i=this.length,n=this;if("string"!=typeof t)return this.pushStack(S(t).filter(function(){for(e=0;e<i;e++)if(S.contains(n[e],this))return!0}));for(r=this.pushStack([]),e=0;e<i;e++)S.find(t,n[e],r);return 1<i?S.uniqueSort(r):r},filter:function(t){return this.pushStack(E(this,t||[],!1))},not:function(t){return this.pushStack(E(this,t||[],!0))},is:function(t){return!!E(this,"string"==typeof t&&P.test(t)?S(t):t||[],!1).length}});var I,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,r){var i,n;if(!t)return this;if(r=r||I,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):_(t)?void 0!==r.ready?r.ready(t):t(S):S.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:O.exec(t))||!i[1]&&e)return!e||e.jquery?(e||r).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),A.test(i[1])&&S.isPlainObject(e))for(i in e)_(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(n=k.getElementById(i[2]))&&(this[0]=n,this.length=1),this}).prototype=S.fn,I=S(k);var M=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function z(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),r=e.length;return this.filter(function(){for(var t=0;t<r;t++)if(S.contains(this,e[t]))return!0})},closest:function(t,e){var r,i=0,n=this.length,o=[],a="string"!=typeof t&&S(t);if(!P.test(t))for(;i<n;i++)for(r=this[i];r&&r!==e;r=r.parentNode)if(r.nodeType<11&&(a?-1<a.index(r):1===r.nodeType&&S.find.matchesSelector(r,t))){o.push(r);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?n.call(S(t),this[0]):n.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return d(t,"parentNode")},parentsUntil:function(t,e,r){return d(t,"parentNode",r)},next:function(t){return z(t,"nextSibling")},prev:function(t){return z(t,"previousSibling")},nextAll:function(t){return d(t,"nextSibling")},prevAll:function(t){return d(t,"previousSibling")},nextUntil:function(t,e,r){return d(t,"nextSibling",r)},prevUntil:function(t,e,r){return d(t,"previousSibling",r)},siblings:function(t){return w((t.parentNode||{}).firstChild,t)},children:function(t){return w(t.firstChild)},contents:function(t){return C(t,"iframe")?t.contentDocument:(C(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},function(i,n){S.fn[i]=function(t,e){var r=S.map(this,n,t);return"Until"!==i.slice(-5)&&(e=t),e&&"string"==typeof e&&(r=S.filter(e,r)),1<this.length&&(D[i]||S.uniqueSort(r),M.test(i)&&r.reverse()),this.pushStack(r)}});var R=/[^\x20\t\r\n\f]+/g;function F(t){return t}function j(t){throw t}function L(t,e,r,i){var n;try{t&&_(n=t.promise)?n.call(t).done(e).fail(r):t&&_(n=t.then)?n.call(t,e,r):e.apply(void 0,[t].slice(i))}catch(t){r.apply(void 0,[t])}}S.Callbacks=function(i){i="string"==typeof i?function(t){var r={};return S.each(t.match(R)||[],function(t,e){r[e]=!0}),r}(i):S.extend({},i);var r,t,e,n,o=[],a=[],s=-1,l=function(){for(n=n||i.once,e=r=!0;a.length;s=-1)for(t=a.shift();++s<o.length;)!1===o[s].apply(t[0],t[1])&&i.stopOnFalse&&(s=o.length,t=!1);i.memory||(t=!1),r=!1,n&&(o=t?[]:"")},u={add:function(){return o&&(t&&!r&&(s=o.length-1,a.push(t)),function r(t){S.each(t,function(t,e){_(e)?i.unique&&u.has(e)||o.push(e):e&&e.length&&"string"!==x(e)&&r(e)})}(arguments),t&&!r&&l()),this},remove:function(){return S.each(arguments,function(t,e){for(var r;-1<(r=S.inArray(e,o,r));)o.splice(r,1),r<=s&&s--}),this},has:function(t){return t?-1<S.inArray(t,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=t="",this},disabled:function(){return!o},lock:function(){return n=a=[],t||r||(o=t=""),this},locked:function(){return!!n},fireWith:function(t,e){return n||(e=[t,(e=e||[]).slice?e.slice():e],a.push(e),r||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!e}};return u},S.extend({Deferred:function(t){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return a.then(null,t)},pipe:function(){var n=arguments;return S.Deferred(function(i){S.each(o,function(t,e){var r=_(n[e[4]])&&n[e[4]];s[e[1]](function(){var t=r&&r.apply(this,arguments);t&&_(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this,r?[t]:arguments)})}),n=null}).promise()},then:function(e,r,i){var l=0;function u(n,o,a,s){return function(){var r=this,i=arguments,t=function(){var t,e;if(!(n<l)){if((t=a.apply(r,i))===o.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,_(e)?s?e.call(t,u(l,o,F,s),u(l,o,j,s)):(l++,e.call(t,u(l,o,F,s),u(l,o,j,s),u(l,o,F,o.notifyWith))):(a!==F&&(r=void 0,i=[t]),(s||o.resolveWith)(r,i))}},e=s?t:function(){try{t()}catch(t){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(t,e.stackTrace),l<=n+1&&(a!==j&&(r=void 0,i=[t]),o.rejectWith(r,i))}};n?e():(S.Deferred.getStackHook&&(e.stackTrace=S.Deferred.getStackHook()),T.setTimeout(e))}}return S.Deferred(function(t){o[0][3].add(u(0,t,_(i)?i:F,t.notifyWith)),o[1][3].add(u(0,t,_(e)?e:F)),o[2][3].add(u(0,t,_(r)?r:j))}).promise()},promise:function(t){return null!=t?S.extend(t,a):a}},s={};return S.each(o,function(t,e){var r=e[2],i=e[5];a[e[1]]=r.add,i&&r.add(function(){n=i},o[3-t][2].disable,o[3-t][3].disable,o[0][2].lock,o[0][3].lock),r.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=r.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(t){var r=arguments.length,e=r,i=Array(e),n=s.call(arguments),o=S.Deferred(),a=function(e){return function(t){i[e]=this,n[e]=1<arguments.length?s.call(arguments):t,--r||o.resolveWith(i,n)}};if(r<=1&&(L(t,o.done(a(e)).resolve,o.reject,!r),"pending"===o.state()||_(n[e]&&n[e].then)))return o.then();for(;e--;)L(n[e],a(e),o.reject);return o.promise()}});var N=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,e){T.console&&T.console.warn&&t&&N.test(t.name)&&T.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},S.readyException=function(t){T.setTimeout(function(){throw t})};var B=S.Deferred();function U(){k.removeEventListener("DOMContentLoaded",U),T.removeEventListener("load",U),S.ready()}S.fn.ready=function(t){return B.then(t).catch(function(t){S.readyException(t)}),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||(S.isReady=!0)!==t&&0<--S.readyWait||B.resolveWith(k,[S])}}),S.ready.then=B.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?T.setTimeout(S.ready):(k.addEventListener("DOMContentLoaded",U),T.addEventListener("load",U));var X=function(t,e,r,i,n,o,a){var s=0,l=t.length,u=null==r;if("object"===x(r))for(s in n=!0,r)X(t,e,s,r[s],!0,o,a);else if(void 0!==i&&(n=!0,_(i)||(a=!0),u&&(e=a?(e.call(t,i),null):(u=e,function(t,e,r){return u.call(S(t),r)})),e))for(;s<l;s++)e(t[s],r,a?i:i.call(t[s],s,e(t[s],r)));return n?t:u?e.call(t):l?e(t[0],r):o},H=/^-ms-/,q=/-([a-z])/g;function W(t,e){return e.toUpperCase()}function G(t){return t.replace(H,"ms-").replace(q,W)}var V=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Y(){this.expando=S.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,r){var i,n=this.cache(t);if("string"==typeof e)n[G(e)]=r;else for(i in e)n[G(i)]=e[i];return n},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(e)]},access:function(t,e,r){return void 0===e||e&&"string"==typeof e&&void 0===r?this.get(t,e):(this.set(t,e,r),void 0!==r?r:e)},remove:function(t,e){var r,i=t[this.expando];if(void 0!==i){if(void 0!==e){r=(e=Array.isArray(e)?e.map(G):(e=G(e))in i?[e]:e.match(R)||[]).length;for(;r--;)delete i[e[r]]}(void 0===e||S.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var Z=new Y,J=new Y,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function $(t,e,r){var i;if(void 0===r&&1===t.nodeType)if(i="data-"+e.replace(Q,"-$&").toLowerCase(),"string"==typeof(r=t.getAttribute(i))){try{r=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:K.test(t)?JSON.parse(t):t)}(r)}catch(t){}J.set(t,e,r)}else r=void 0;return r}S.extend({hasData:function(t){return J.hasData(t)||Z.hasData(t)},data:function(t,e,r){return J.access(t,e,r)},removeData:function(t,e){J.remove(t,e)},_data:function(t,e,r){return Z.access(t,e,r)},_removeData:function(t,e){Z.remove(t,e)}}),S.fn.extend({data:function(r,t){var e,i,n,o=this[0],a=o&&o.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){J.set(this,r)}):X(this,function(t){var e;if(o&&void 0===t)return void 0!==(e=J.get(o,r))?e:void 0!==(e=$(o,r))?e:void 0;this.each(function(){J.set(this,r,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(n=J.get(o),1===o.nodeType&&!Z.get(o,"hasDataAttrs"))){for(e=a.length;e--;)a[e]&&0===(i=a[e].name).indexOf("data-")&&(i=G(i.slice(5)),$(o,i,n[i]));Z.set(o,"hasDataAttrs",!0)}return n},removeData:function(t){return this.each(function(){J.remove(this,t)})}}),S.extend({queue:function(t,e,r){var i;if(t)return e=(e||"fx")+"queue",i=Z.get(t,e),r&&(!i||Array.isArray(r)?i=Z.access(t,e,S.makeArray(r)):i.push(r)),i||[]},dequeue:function(t,e){e=e||"fx";var r=S.queue(t,e),i=r.length,n=r.shift(),o=S._queueHooks(t,e);"inprogress"===n&&(n=r.shift(),i--),n&&("fx"===e&&r.unshift("inprogress"),delete o.stop,n.call(t,function(){S.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var r=e+"queueHooks";return Z.get(t,r)||Z.access(t,r,{empty:S.Callbacks("once memory").add(function(){Z.remove(t,[e+"queue",r])})})}}),S.fn.extend({queue:function(e,r){var t=2;return"string"!=typeof e&&(r=e,e="fx",t--),arguments.length<t?S.queue(this[0],e):void 0===r?this:this.each(function(){var t=S.queue(this,e,r);S._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&S.dequeue(this,e)})},dequeue:function(t){return this.each(function(){S.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var r,i=1,n=S.Deferred(),o=this,a=this.length,s=function(){--i||n.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(r=Z.get(o[a],t+"queueHooks"))&&r.empty&&(i++,r.empty.add(s));return s(),n.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],it=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&S.contains(t.ownerDocument,t)&&"none"===S.css(t,"display")},nt=function(t,e,r,i){var n,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in n=r.apply(t,i||[]),e)t.style[o]=a[o];return n};function ot(t,e,r,i){var n,o,a=20,s=i?function(){return i.cur()}:function(){return S.css(t,e,"")},l=s(),u=r&&r[3]||(S.cssNumber[e]?"":"px"),h=(S.cssNumber[e]||"px"!==u&&+l)&&et.exec(S.css(t,e));if(h&&h[3]!==u){for(l/=2,u=u||h[3],h=+l||1;a--;)S.style(t,e,h+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),h/=o;h*=2,S.style(t,e,h+u),r=r||[]}return r&&(h=+h||+l||0,n=r[1]?h+(r[1]+1)*r[2]:+r[2],i&&(i.unit=u,i.start=h,i.end=n)),n}var at={};function st(t,e){for(var r,i,n,o,a,s,l,u=[],h=0,c=t.length;h<c;h++)(i=t[h]).style&&(r=i.style.display,e?("none"===r&&(u[h]=Z.get(i,"display")||null,u[h]||(i.style.display="")),""===i.style.display&&it(i)&&(u[h]=(l=a=o=void 0,a=(n=i).ownerDocument,s=n.nodeName,(l=at[s])||(o=a.body.appendChild(a.createElement(s)),l=S.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),at[s]=l)))):"none"!==r&&(u[h]="none",Z.set(i,"display",r)));for(h=0;h<c;h++)null!=u[h]&&(t[h].style.display=u[h]);return t}S.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){it(this)?S(this).show():S(this).hide()})}});var lt=/^(?:checkbox|radio)$/i,ut=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ht=/^$|^module$|\/(?:java|ecma)script/i,ct={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ft(t,e){var r;return r=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?S.merge([t],r):r}function pt(t,e){for(var r=0,i=t.length;r<i;r++)Z.set(t[r],"globalEval",!e||Z.get(e[r],"globalEval"))}ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td;var dt,mt,gt=/<|&#?\w+;/;function vt(t,e,r,i,n){for(var o,a,s,l,u,h,c=e.createDocumentFragment(),f=[],p=0,d=t.length;p<d;p++)if((o=t[p])||0===o)if("object"===x(o))S.merge(f,o.nodeType?[o]:o);else if(gt.test(o)){for(a=a||c.appendChild(e.createElement("div")),s=(ut.exec(o)||["",""])[1].toLowerCase(),l=ct[s]||ct._default,a.innerHTML=l[1]+S.htmlPrefilter(o)+l[2],h=l[0];h--;)a=a.lastChild;S.merge(f,a.childNodes),(a=c.firstChild).textContent=""}else f.push(e.createTextNode(o));for(c.textContent="",p=0;o=f[p++];)if(i&&-1<S.inArray(o,i))n&&n.push(o);else if(u=S.contains(o.ownerDocument,o),a=ft(c.appendChild(o),"script"),u&&pt(a),r)for(h=0;o=a[h++];)ht.test(o.type||"")&&r.push(o);return c}dt=k.createDocumentFragment().appendChild(k.createElement("div")),(mt=k.createElement("input")).setAttribute("type","radio"),mt.setAttribute("checked","checked"),mt.setAttribute("name","t"),dt.appendChild(mt),v.checkClone=dt.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!dt.cloneNode(!0).lastChild.defaultValue;var _t=k.documentElement,yt=/^key/,bt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xt=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function Tt(){return!1}function kt(){try{return k.activeElement}catch(t){}}function St(t,e,r,i,n,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof r&&(i=i||r,r=void 0),e)St(t,s,r,i,e[s],o);return t}if(null==i&&null==n?(n=r,i=r=void 0):null==n&&("string"==typeof r?(n=i,i=void 0):(n=i,i=r,r=void 0)),!1===n)n=Tt;else if(!n)return t;return 1===o&&(a=n,(n=function(t){return S().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),t.each(function(){S.event.add(this,e,n,i,r)})}S.event={global:{},add:function(e,t,r,i,n){var o,a,s,l,u,h,c,f,p,d,m,g=Z.get(e);if(g)for(r.handler&&(r=(o=r).handler,n=o.selector),n&&S.find.matchesSelector(_t,n),r.guid||(r.guid=S.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(R)||[""]).length;u--;)p=m=(s=xt.exec(t[u])||[])[1],d=(s[2]||"").split(".").sort(),p&&(c=S.event.special[p]||{},p=(n?c.delegateType:c.bindType)||p,c=S.event.special[p]||{},h=S.extend({type:p,origType:m,data:i,handler:r,guid:r.guid,selector:n,needsContext:n&&S.expr.match.needsContext.test(n),namespace:d.join(".")},o),(f=l[p])||((f=l[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,d,a)||e.addEventListener&&e.addEventListener(p,a)),c.add&&(c.add.call(e,h),h.handler.guid||(h.handler.guid=r.guid)),n?f.splice(f.delegateCount++,0,h):f.push(h),S.event.global[p]=!0)},remove:function(t,e,r,i,n){var o,a,s,l,u,h,c,f,p,d,m,g=Z.hasData(t)&&Z.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(R)||[""]).length;u--;)if(p=m=(s=xt.exec(e[u])||[])[1],d=(s[2]||"").split(".").sort(),p){for(c=S.event.special[p]||{},f=l[p=(i?c.delegateType:c.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)h=f[o],!n&&m!==h.origType||r&&r.guid!==h.guid||s&&!s.test(h.namespace)||i&&i!==h.selector&&("**"!==i||!h.selector)||(f.splice(o,1),h.selector&&f.delegateCount--,c.remove&&c.remove.call(t,h));a&&!f.length&&(c.teardown&&!1!==c.teardown.call(t,d,g.handle)||S.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)S.event.remove(t,p+e[u],r,i,!0);S.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,r,i,n,o,a,s=S.event.fix(t),l=new Array(arguments.length),u=(Z.get(this,"events")||{})[s.type]||[],h=S.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,s)){for(a=S.event.handlers.call(this,s,u),e=0;(n=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=n.elem,r=0;(o=n.handlers[r++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(i=((S.event.special[o.origType]||{}).handle||o.handler).apply(n.elem,l))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,s),s.result}},handlers:function(t,e){var r,i,n,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&1<=t.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},r=0;r<l;r++)void 0===a[n=(i=e[r]).selector+" "]&&(a[n]=i.needsContext?-1<S(n,this).index(u):S.find(n,this,null,[u]).length),a[n]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(t){return t[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==kt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===kt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&C(this,"input"))return this.click(),!1},_default:function(t){return C(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},S.removeEvent=function(t,e,r){t.removeEventListener&&t.removeEventListener(e,r)},S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?wt:Tt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=wt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=wt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=wt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&yt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&bt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,n){S.event.special[t]={delegateType:n,bindType:n,handle:function(t){var e,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||S.contains(this,r))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=n),e}}}),S.fn.extend({on:function(t,e,r,i){return St(this,t,e,r,i)},one:function(t,e,r,i){return St(this,t,e,r,i,1)},off:function(t,e,r){var i,n;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,S(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(r=e,e=void 0),!1===r&&(r=Tt),this.each(function(){S.event.remove(this,t,r,e)});for(n in t)this.off(n,e,t[n]);return this}});var Pt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ct=/<script|<style|<link/i,At=/checked\s*(?:[^=]|=\s*.checked.)/i,Et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Mt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Dt(t,e){var r,i,n,o,a,s,l,u;if(1===e.nodeType){if(Z.hasData(t)&&(o=Z.access(t),a=Z.set(e,o),u=o.events))for(n in delete a.handle,a.events={},u)for(r=0,i=u[n].length;r<i;r++)S.event.add(e,n,u[n][r]);J.hasData(t)&&(s=J.access(t),l=S.extend({},s),J.set(e,l))}}function zt(r,i,n,o){i=m.apply([],i);var t,e,a,s,l,u,h=0,c=r.length,f=c-1,p=i[0],d=_(p);if(d||1<c&&"string"==typeof p&&!v.checkClone&&At.test(p))return r.each(function(t){var e=r.eq(t);d&&(i[0]=p.call(this,t,e.html())),zt(e,i,n,o)});if(c&&(e=(t=vt(i,r[0].ownerDocument,!1,r,o)).firstChild,1===t.childNodes.length&&(t=e),e||o)){for(s=(a=S.map(ft(t,"script"),Ot)).length;h<c;h++)l=t,h!==f&&(l=S.clone(l,!0,!0),s&&S.merge(a,ft(l,"script"))),n.call(r[h],l,h);if(s)for(u=a[a.length-1].ownerDocument,S.map(a,Mt),h=0;h<s;h++)l=a[h],ht.test(l.type||"")&&!Z.access(l,"globalEval")&&S.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(l.src):b(l.textContent.replace(Et,""),u,l))}return r}function Rt(t,e,r){for(var i,n=e?S.filter(e,t):t,o=0;null!=(i=n[o]);o++)r||1!==i.nodeType||S.cleanData(ft(i)),i.parentNode&&(r&&S.contains(i.ownerDocument,i)&&pt(ft(i,"script")),i.parentNode.removeChild(i));return t}S.extend({htmlPrefilter:function(t){return t.replace(Pt,"<$1></$2>")},clone:function(t,e,r){var i,n,o,a,s,l,u,h=t.cloneNode(!0),c=S.contains(t.ownerDocument,t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(a=ft(h),i=0,n=(o=ft(t)).length;i<n;i++)s=o[i],l=a[i],void 0,"input"===(u=l.nodeName.toLowerCase())&<.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(e)if(r)for(o=o||ft(t),a=a||ft(h),i=0,n=o.length;i<n;i++)Dt(o[i],a[i]);else Dt(t,h);return 0<(a=ft(h,"script")).length&&pt(a,!c&&ft(t,"script")),h},cleanData:function(t){for(var e,r,i,n=S.event.special,o=0;void 0!==(r=t[o]);o++)if(V(r)){if(e=r[Z.expando]){if(e.events)for(i in e.events)n[i]?S.event.remove(r,i):S.removeEvent(r,i,e.handle);r[Z.expando]=void 0}r[J.expando]&&(r[J.expando]=void 0)}}}),S.fn.extend({detach:function(t){return Rt(this,t,!0)},remove:function(t){return Rt(this,t)},text:function(t){return X(this,function(t){return void 0===t?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return zt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)})},prepend:function(){return zt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return zt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return zt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(S.cleanData(ft(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return S.clone(this,t,e)})},html:function(t){return X(this,function(t){var e=this[0]||{},r=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ct.test(t)&&!ct[(ut.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;r<i;r++)1===(e=this[r]||{}).nodeType&&(S.cleanData(ft(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var r=[];return zt(this,arguments,function(t){var e=this.parentNode;S.inArray(this,r)<0&&(S.cleanData(ft(this)),e&&e.replaceChild(t,this))},r)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){S.fn[t]=function(t){for(var e,r=[],i=S(t),n=i.length-1,o=0;o<=n;o++)e=o===n?this:this.clone(!0),S(i[o])[a](e),l.apply(r,e.get());return this.pushStack(r)}});var Ft=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),jt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=T),e.getComputedStyle(t)},Lt=new RegExp(rt.join("|"),"i");function Nt(t,e,r){var i,n,o,a,s=t.style;return(r=r||jt(t))&&(""!==(a=r.getPropertyValue(e)||r[e])||S.contains(t.ownerDocument,t)||(a=S.style(t,e)),!v.pixelBoxStyles()&&Ft.test(a)&&Lt.test(e)&&(i=s.width,n=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=r.width,s.width=i,s.minWidth=n,s.maxWidth=o)),void 0!==a?a+"":a}function Bt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_t.appendChild(s).appendChild(l);var t=T.getComputedStyle(l);r="1%"!==t.top,a=12===e(t.marginLeft),l.style.right="60%",o=36===e(t.right),i=36===e(t.width),l.style.position="absolute",n=36===l.offsetWidth||"absolute",_t.removeChild(s),l=null}}function e(t){return Math.round(parseFloat(t))}var r,i,n,o,a,s=k.createElement("div"),l=k.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(v,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),n}}))}();var Ut=/^(none|table(?!-c[ea]).+)/,Xt=/^--/,Ht={position:"absolute",visibility:"hidden",display:"block"},qt={letterSpacing:"0",fontWeight:"400"},Wt=["Webkit","Moz","ms"],Gt=k.createElement("div").style;function Vt(t){var e=S.cssProps[t];return e||(e=S.cssProps[t]=function(t){if(t in Gt)return t;for(var e=t[0].toUpperCase()+t.slice(1),r=Wt.length;r--;)if((t=Wt[r]+e)in Gt)return t}(t)||t),e}function Yt(t,e,r){var i=et.exec(e);return i?Math.max(0,i[2]-(r||0))+(i[3]||"px"):e}function Zt(t,e,r,i,n,o){var a="width"===e?1:0,s=0,l=0;if(r===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=S.css(t,r+rt[a],!0,n)),i?("content"===r&&(l-=S.css(t,"padding"+rt[a],!0,n)),"margin"!==r&&(l-=S.css(t,"border"+rt[a]+"Width",!0,n))):(l+=S.css(t,"padding"+rt[a],!0,n),"padding"!==r?l+=S.css(t,"border"+rt[a]+"Width",!0,n):s+=S.css(t,"border"+rt[a]+"Width",!0,n));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))),l}function Jt(t,e,r){var i=jt(t),n=Nt(t,e,i),o="border-box"===S.css(t,"boxSizing",!1,i),a=o;if(Ft.test(n)){if(!r)return n;n="auto"}return a=a&&(v.boxSizingReliable()||n===t.style[e]),("auto"===n||!parseFloat(n)&&"inline"===S.css(t,"display",!1,i))&&(n=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(n=parseFloat(n)||0)+Zt(t,e,r||(o?"border":"content"),a,i,n)+"px"}function Kt(t,e,r,i,n){return new Kt.prototype.init(t,e,r,i,n)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e){var r=Nt(t,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,r,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var n,o,a,s=G(e),l=Xt.test(e),u=t.style;if(l||(e=Vt(s)),a=S.cssHooks[e]||S.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(n=a.get(t,!1,i))?n:u[e];"string"===(o=typeof r)&&(n=et.exec(r))&&n[1]&&(r=ot(t,e,n),o="number"),null!=r&&r==r&&("number"===o&&(r+=n&&n[3]||(S.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==r||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(r=a.set(t,r,i))||(l?u.setProperty(e,r):u[e]=r))}},css:function(t,e,r,i){var n,o,a,s=G(e);return Xt.test(e)||(e=Vt(s)),(a=S.cssHooks[e]||S.cssHooks[s])&&"get"in a&&(n=a.get(t,!0,r)),void 0===n&&(n=Nt(t,e,i)),"normal"===n&&e in qt&&(n=qt[e]),""===r||r?(o=parseFloat(n),!0===r||isFinite(o)?o||0:n):n}}),S.each(["height","width"],function(t,s){S.cssHooks[s]={get:function(t,e,r){if(e)return!Ut.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Jt(t,s,r):nt(t,Ht,function(){return Jt(t,s,r)})},set:function(t,e,r){var i,n=jt(t),o="border-box"===S.css(t,"boxSizing",!1,n),a=r&&Zt(t,s,r,o,n);return o&&v.scrollboxSize()===n.position&&(a-=Math.ceil(t["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(n[s])-Zt(t,s,"border",!1,n)-.5)),a&&(i=et.exec(e))&&"px"!==(i[3]||"px")&&(t.style[s]=e,e=S.css(t,s)),Yt(0,e,a)}}}),S.cssHooks.marginLeft=Bt(v.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Nt(t,"marginLeft"))||t.getBoundingClientRect().left-nt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(n,o){S.cssHooks[n+o]={expand:function(t){for(var e=0,r={},i="string"==typeof t?t.split(" "):[t];e<4;e++)r[n+rt[e]+o]=i[e]||i[e-2]||i[0];return r}},"margin"!==n&&(S.cssHooks[n+o].set=Yt)}),S.fn.extend({css:function(t,e){return X(this,function(t,e,r){var i,n,o={},a=0;if(Array.isArray(e)){for(i=jt(t),n=e.length;a<n;a++)o[e[a]]=S.css(t,e[a],!1,i);return o}return void 0!==r?S.style(t,e,r):S.css(t,e)},t,e,1<arguments.length)}}),((S.Tween=Kt).prototype={constructor:Kt,init:function(t,e,r,i,n,o){this.elem=t,this.prop=r,this.easing=n||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[r]?"":"px")},cur:function(){var t=Kt.propHooks[this.prop];return t&&t.get?t.get(this):Kt.propHooks._default.get(this)},run:function(t){var e,r=Kt.propHooks[this.prop];return this.options.duration?this.pos=e=S.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Kt.propHooks._default.set(this),this}}).init.prototype=Kt.prototype,(Kt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[S.cssProps[t.prop]]&&!S.cssHooks[t.prop]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=Kt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=Kt.prototype.init,S.fx.step={};var Qt,$t,te,ee,re=/^(?:toggle|show|hide)$/,ie=/queueHooks$/;function ne(){$t&&(!1===k.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(ne):T.setTimeout(ne,S.fx.interval),S.fx.tick())}function oe(){return T.setTimeout(function(){Qt=void 0}),Qt=Date.now()}function ae(t,e){var r,i=0,n={height:t};for(e=e?1:0;i<4;i+=2-e)n["margin"+(r=rt[i])]=n["padding"+r]=t;return e&&(n.opacity=n.width=t),n}function se(t,e,r){for(var i,n=(le.tweeners[e]||[]).concat(le.tweeners["*"]),o=0,a=n.length;o<a;o++)if(i=n[o].call(r,e,t))return i}function le(o,t,e){var r,a,i=0,n=le.prefilters.length,s=S.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var t=Qt||oe(),e=Math.max(0,u.startTime+u.duration-t),r=1-(e/u.duration||0),i=0,n=u.tweens.length;i<n;i++)u.tweens[i].run(r);return s.notifyWith(o,[u,r,e]),r<1&&n?e:(n||s.notifyWith(o,[u,1,0]),s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},e),originalProperties:t,originalOptions:e,startTime:Qt||oe(),duration:e.duration,tweens:[],createTween:function(t,e){var r=S.Tween(o,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var e=0,r=t?u.tweens.length:0;if(a)return this;for(a=!0;e<r;e++)u.tweens[e].run(1);return t?(s.notifyWith(o,[u,1,0]),s.resolveWith(o,[u,t])):s.rejectWith(o,[u,t]),this}}),h=u.props;for(!function(t,e){var r,i,n,o,a;for(r in t)if(n=e[i=G(r)],o=t[r],Array.isArray(o)&&(n=o[1],o=t[r]=o[0]),r!==i&&(t[i]=o,delete t[r]),(a=S.cssHooks[i])&&"expand"in a)for(r in o=a.expand(o),delete t[i],o)r in t||(t[r]=o[r],e[r]=n);else e[i]=n}(h,u.opts.specialEasing);i<n;i++)if(r=le.prefilters[i].call(u,o,h,u.opts))return _(r.stop)&&(S._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return S.map(h,se,u),_(u.opts.start)&&u.opts.start.call(o,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),S.fx.timer(S.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u}S.Animation=S.extend(le,{tweeners:{"*":[function(t,e){var r=this.createTween(t,e);return ot(r.elem,t,et.exec(e),r),r}]},tweener:function(t,e){for(var r,i=0,n=(t=_(t)?(e=t,["*"]):t.match(R)).length;i<n;i++)r=t[i],le.tweeners[r]=le.tweeners[r]||[],le.tweeners[r].unshift(e)},prefilters:[function(t,e,r){var i,n,o,a,s,l,u,h,c="width"in e||"height"in e,f=this,p={},d=t.style,m=t.nodeType&&it(t),g=Z.get(t,"fxshow");for(i in r.queue||(null==(a=S._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,S.queue(t,"fx").length||a.empty.fire()})})),e)if(n=e[i],re.test(n)){if(delete e[i],o=o||"toggle"===n,n===(m?"hide":"show")){if("show"!==n||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||S.style(t,i)}if((l=!S.isEmptyObject(e))||!S.isEmptyObject(p))for(i in c&&1===t.nodeType&&(r.overflow=[d.overflow,d.overflowX,d.overflowY],null==(u=g&&g.display)&&(u=Z.get(t,"display")),"none"===(h=S.css(t,"display"))&&(u?h=u:(st([t],!0),u=t.style.display||u,h=S.css(t,"display"),st([t]))),("inline"===h||"inline-block"===h&&null!=u)&&"none"===S.css(t,"float")&&(l||(f.done(function(){d.display=u}),null==u&&(h=d.display,u="none"===h?"":h)),d.display="inline-block")),r.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=r.overflow[0],d.overflowX=r.overflow[1],d.overflowY=r.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Z.access(t,"fxshow",{display:u}),o&&(g.hidden=!m),m&&st([t],!0),f.done(function(){for(i in m||st([t]),Z.remove(t,"fxshow"),p)S.style(t,i,p[i])})),l=se(m?g[i]:0,i,f),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?le.prefilters.unshift(t):le.prefilters.push(t)}}),S.speed=function(t,e,r){var i=t&&"object"==typeof t?S.extend({},t):{complete:r||!r&&e||_(t)&&t,duration:t,easing:r&&e||e&&!_(e)&&e};return S.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){_(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(t,e,r,i){return this.filter(it).css("opacity",0).show().end().animate({opacity:e},t,r,i)},animate:function(e,t,r,i){var n=S.isEmptyObject(e),o=S.speed(t,r,i),a=function(){var t=le(this,S.extend({},e),o);(n||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,n||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(n,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof n&&(o=t,t=n,n=void 0),t&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){var t=!0,e=null!=n&&n+"queueHooks",r=S.timers,i=Z.get(this);if(e)i[e]&&i[e].stop&&a(i[e]);else for(e in i)i[e]&&i[e].stop&&ie.test(e)&&a(i[e]);for(e=r.length;e--;)r[e].elem!==this||null!=n&&r[e].queue!==n||(r[e].anim.stop(o),t=!1,r.splice(e,1));!t&&o||S.dequeue(this,n)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=Z.get(this),r=e[a+"queue"],i=e[a+"queueHooks"],n=S.timers,o=r?r.length:0;for(e.finish=!0,S.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),t=n.length;t--;)n[t].elem===this&&n[t].queue===a&&(n[t].anim.stop(!0),n.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete e.finish})}}),S.each(["toggle","show","hide"],function(t,i){var n=S.fn[i];S.fn[i]=function(t,e,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ae(i,!0),t,e,r)}}),S.each({slideDown:ae("show"),slideUp:ae("hide"),slideToggle:ae("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){S.fn[t]=function(t,e,r){return this.animate(i,t,e,r)}}),S.timers=[],S.fx.tick=function(){var t,e=0,r=S.timers;for(Qt=Date.now();e<r.length;e++)(t=r[e])()||r[e]!==t||r.splice(e--,1);r.length||S.fx.stop(),Qt=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){$t||($t=!0,ne())},S.fx.stop=function(){$t=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(i,t){return i=S.fx&&S.fx.speeds[i]||i,t=t||"fx",this.queue(t,function(t,e){var r=T.setTimeout(t,i);e.stop=function(){T.clearTimeout(r)}})},te=k.createElement("input"),ee=k.createElement("select").appendChild(k.createElement("option")),te.type="checkbox",v.checkOn=""!==te.value,v.optSelected=ee.selected,(te=k.createElement("input")).value="t",te.type="radio",v.radioValue="t"===te.value;var ue,he=S.expr.attrHandle;S.fn.extend({attr:function(t,e){return X(this,S.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){S.removeAttr(this,t)})}}),S.extend({attr:function(t,e,r){var i,n,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?S.prop(t,e,r):(1===o&&S.isXMLDoc(t)||(n=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?ue:void 0)),void 0!==r?null===r?void S.removeAttr(t,e):n&&"set"in n&&void 0!==(i=n.set(t,r,e))?i:(t.setAttribute(e,r+""),r):n&&"get"in n&&null!==(i=n.get(t,e))?i:null==(i=S.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&C(t,"input")){var r=t.value;return t.setAttribute("type",e),r&&(t.value=r),e}}}},removeAttr:function(t,e){var r,i=0,n=e&&e.match(R);if(n&&1===t.nodeType)for(;r=n[i++];)t.removeAttribute(r)}}),ue={set:function(t,e,r){return!1===e?S.removeAttr(t,r):t.setAttribute(r,r),r}},S.each(S.expr.match.bool.source.match(/\w+/g),function(t,e){var a=he[e]||S.find.attr;he[e]=function(t,e,r){var i,n,o=e.toLowerCase();return r||(n=he[o],he[o]=i,i=null!=a(t,e,r)?o:null,he[o]=n),i}});var ce=/^(?:input|select|textarea|button)$/i,fe=/^(?:a|area)$/i;function pe(t){return(t.match(R)||[]).join(" ")}function de(t){return t.getAttribute&&t.getAttribute("class")||""}function me(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}S.fn.extend({prop:function(t,e){return X(this,S.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[S.propFix[t]||t]})}}),S.extend({prop:function(t,e,r){var i,n,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(t)||(e=S.propFix[e]||e,n=S.propHooks[e]),void 0!==r?n&&"set"in n&&void 0!==(i=n.set(t,r,e))?i:t[e]=r:n&&"get"in n&&null!==(i=n.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");return e?parseInt(e,10):ce.test(t.nodeName)||fe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(S.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(e){var t,r,i,n,o,a,s,l=0;if(_(e))return this.each(function(t){S(this).addClass(e.call(this,t,de(this)))});if((t=me(e)).length)for(;r=this[l++];)if(n=de(r),i=1===r.nodeType&&" "+pe(n)+" "){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");n!==(s=pe(i))&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,i,n,o,a,s,l=0;if(_(e))return this.each(function(t){S(this).removeClass(e.call(this,t,de(this)))});if(!arguments.length)return this.attr("class","");if((t=me(e)).length)for(;r=this[l++];)if(n=de(r),i=1===r.nodeType&&" "+pe(n)+" "){for(a=0;o=t[a++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");n!==(s=pe(i))&&r.setAttribute("class",s)}return this},toggleClass:function(n,e){var o=typeof n,a="string"==o||Array.isArray(n);return"boolean"==typeof e&&a?e?this.addClass(n):this.removeClass(n):_(n)?this.each(function(t){S(this).toggleClass(n.call(this,t,de(this),e),e)}):this.each(function(){var t,e,r,i;if(a)for(e=0,r=S(this),i=me(n);t=i[e++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==n&&"boolean"!=o||((t=de(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":Z.get(this,"__className__")||""))})},hasClass:function(t){var e,r,i=0;for(e=" "+t+" ";r=this[i++];)if(1===r.nodeType&&-1<(" "+pe(de(r))+" ").indexOf(e))return!0;return!1}});var ge=/\r/g;S.fn.extend({val:function(r){var i,t,n,e=this[0];return arguments.length?(n=_(r),this.each(function(t){var e;1===this.nodeType&&(null==(e=n?r.call(this,t,S(this).val()):r)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=S.map(e,function(t){return null==t?"":t+""})),(i=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):e?(i=S.valHooks[e.type]||S.valHooks[e.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(ge,""):null==t?"":t:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:pe(S.text(t))}},select:{get:function(t){var e,r,i,n=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:n.length;for(i=o<0?l:a?o:0;i<l;i++)if(((r=n[i]).selected||i===o)&&!r.disabled&&(!r.parentNode.disabled||!C(r.parentNode,"optgroup"))){if(e=S(r).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var r,i,n=t.options,o=S.makeArray(e),a=n.length;a--;)((i=n[a]).selected=-1<S.inArray(S.valHooks.option.get(i),o))&&(r=!0);return r||(t.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<S.inArray(S(t).val(),e)}},v.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),v.focusin="onfocusin"in T;var ve=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};S.extend(S.event,{trigger:function(t,e,r,i){var n,o,a,s,l,u,h,c,f=[r||k],p=g.call(t,"type")?t.type:t,d=g.call(t,"namespace")?t.namespace.split("."):[];if(o=c=a=r=r||k,3!==r.nodeType&&8!==r.nodeType&&!ve.test(p+S.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),l=p.indexOf(":")<0&&"on"+p,(t=t[S.expando]?t:new S.Event(p,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:S.makeArray(e,[t]),h=S.event.special[p]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!y(r)){for(s=h.delegateType||p,ve.test(s+p)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(r.ownerDocument||k)&&f.push(a.defaultView||a.parentWindow||T)}for(n=0;(o=f[n++])&&!t.isPropagationStopped();)c=o,t.type=1<n?s:h.bindType||p,(u=(Z.get(o,"events")||{})[t.type]&&Z.get(o,"handle"))&&u.apply(o,e),(u=l&&o[l])&&u.apply&&V(o)&&(t.result=u.apply(o,e),!1===t.result&&t.preventDefault());return t.type=p,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!V(r)||l&&_(r[p])&&!y(r)&&((a=r[l])&&(r[l]=null),S.event.triggered=p,t.isPropagationStopped()&&c.addEventListener(p,_e),r[p](),t.isPropagationStopped()&&c.removeEventListener(p,_e),S.event.triggered=void 0,a&&(r[l]=a)),t.result}},simulate:function(t,e,r){var i=S.extend(new S.Event,r,{type:t,isSimulated:!0});S.event.trigger(i,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each(function(){S.event.trigger(t,e,this)})},triggerHandler:function(t,e){var r=this[0];if(r)return S.event.trigger(t,e,r,!0)}}),v.focusin||S.each({focus:"focusin",blur:"focusout"},function(r,i){var n=function(t){S.event.simulate(i,t.target,S.event.fix(t))};S.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=Z.access(t,i);e||t.addEventListener(r,n,!0),Z.access(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=Z.access(t,i)-1;e?Z.access(t,i,e):(t.removeEventListener(r,n,!0),Z.remove(t,i))}}});var ye=T.location,be=Date.now(),xe=/\?/;S.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new T.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+t),e};var we=/\[\]$/,Te=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;function Pe(r,t,i,n){var e;if(Array.isArray(t))S.each(t,function(t,e){i||we.test(r)?n(r,e):Pe(r+"["+("object"==typeof e&&null!=e?t:"")+"]",e,i,n)});else if(i||"object"!==x(t))n(r,t);else for(e in t)Pe(r+"["+e+"]",t[e],i,n)}S.param=function(t,e){var r,i=[],n=function(t,e){var r=_(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==r?"":r)};if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,function(){n(this.name,this.value)});else for(r in t)Pe(r,t[r],e,n);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&Se.test(this.nodeName)&&!ke.test(t)&&(this.checked||!lt.test(t))}).map(function(t,e){var r=S(this).val();return null==r?null:Array.isArray(r)?S.map(r,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:r.replace(Te,"\r\n")}}).get()}});var Ce=/%20/g,Ae=/#.*$/,Ee=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,Oe=/^(?:GET|HEAD)$/,Me=/^\/\//,De={},ze={},Re="*/".concat("*"),Fe=k.createElement("a");function je(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var r,i=0,n=t.toLowerCase().match(R)||[];if(_(e))for(;r=n[i++];)"+"===r[0]?(r=r.slice(1)||"*",(o[r]=o[r]||[]).unshift(e)):(o[r]=o[r]||[]).push(e)}}function Le(e,n,o,a){var s={},l=e===ze;function u(t){var i;return s[t]=!0,S.each(e[t]||[],function(t,e){var r=e(n,o,a);return"string"!=typeof r||l||s[r]?l?!(i=r):void 0:(n.dataTypes.unshift(r),u(r),!1)}),i}return u(n.dataTypes[0])||!s["*"]&&u("*")}function Ne(t,e){var r,i,n=S.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((n[r]?t:i||(i={}))[r]=e[r]);return i&&S.extend(!0,t,i),t}Fe.href=ye.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ye.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ye.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Re,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ne(Ne(t,S.ajaxSettings),e):Ne(S.ajaxSettings,t)},ajaxPrefilter:je(De),ajaxTransport:je(ze),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var h,c,f,r,p,i,d,m,n,o,g=S.ajaxSetup({},e),v=g.context||g,_=g.context&&(v.nodeType||v.jquery)?S(v):S.event,y=S.Deferred(),b=S.Callbacks("once memory"),x=g.statusCode||{},a={},s={},l="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(d){if(!r)for(r={};e=Ie.exec(f);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return d?f:null},setRequestHeader:function(t,e){return null==d&&(t=s[t.toLowerCase()]=s[t.toLowerCase()]||t,a[t]=e),this},overrideMimeType:function(t){return null==d&&(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(d)w.always(t[w.status]);else for(e in t)x[e]=[x[e],t[e]];return this},abort:function(t){var e=t||l;return h&&h.abort(e),u(0,e),this}};if(y.promise(w),g.url=((t||g.url||ye.href)+"").replace(Me,ye.protocol+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(R)||[""],null==g.crossDomain){i=k.createElement("a");try{i.href=g.url,i.href=i.href,g.crossDomain=Fe.protocol+"//"+Fe.host!=i.protocol+"//"+i.host}catch(t){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=S.param(g.data,g.traditional)),Le(De,g,e,w),d)return w;for(n in(m=S.event&&g.global)&&0==S.active++&&S.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Oe.test(g.type),c=g.url.replace(Ae,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Ce,"+")):(o=g.url.slice(c.length),g.data&&(g.processData||"string"==typeof g.data)&&(c+=(xe.test(c)?"&":"?")+g.data,delete g.data),!1===g.cache&&(c=c.replace(Ee,"$1"),o=(xe.test(c)?"&":"?")+"_="+be+++o),g.url=c+o),g.ifModified&&(S.lastModified[c]&&w.setRequestHeader("If-Modified-Since",S.lastModified[c]),S.etag[c]&&w.setRequestHeader("If-None-Match",S.etag[c])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&w.setRequestHeader("Content-Type",g.contentType),w.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Re+"; q=0.01":""):g.accepts["*"]),g.headers)w.setRequestHeader(n,g.headers[n]);if(g.beforeSend&&(!1===g.beforeSend.call(v,w,g)||d))return w.abort();if(l="abort",b.add(g.complete),w.done(g.success),w.fail(g.error),h=Le(ze,g,e,w)){if(w.readyState=1,m&&_.trigger("ajaxSend",[w,g]),d)return w;g.async&&0<g.timeout&&(p=T.setTimeout(function(){w.abort("timeout")},g.timeout));try{d=!1,h.send(a,u)}catch(t){if(d)throw t;u(-1,t)}}else u(-1,"No Transport");function u(t,e,r,i){var n,o,a,s,l,u=e;d||(d=!0,p&&T.clearTimeout(p),h=void 0,f=i||"",w.readyState=0<t?4:0,n=200<=t&&t<300||304===t,r&&(s=function(t,e,r){for(var i,n,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(n in s)if(s[n]&&s[n].test(i)){l.unshift(n);break}if(l[0]in r)o=l[0];else{for(n in r){if(!l[0]||t.converters[n+" "+l[0]]){o=n;break}a||(a=n)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),r[o]}(g,w,r)),s=function(t,e,r,i){var n,o,a,s,l,u={},h=t.dataTypes.slice();if(h[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=h.shift();o;)if(t.responseFields[o]&&(r[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=h.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(n in u)if((s=n.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[n]:!0!==u[n]&&(o=s[0],h.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(g,s,w,n),n?(g.ifModified&&((l=w.getResponseHeader("Last-Modified"))&&(S.lastModified[c]=l),(l=w.getResponseHeader("etag"))&&(S.etag[c]=l)),204===t||"HEAD"===g.type?u="nocontent":304===t?u="notmodified":(u=s.state,o=s.data,n=!(a=s.error))):(a=u,!t&&u||(u="error",t<0&&(t=0))),w.status=t,w.statusText=(e||u)+"",n?y.resolveWith(v,[o,u,w]):y.rejectWith(v,[w,u,a]),w.statusCode(x),x=void 0,m&&_.trigger(n?"ajaxSuccess":"ajaxError",[w,g,n?o:a]),b.fireWith(v,[w,u]),m&&(_.trigger("ajaxComplete",[w,g]),--S.active||S.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,r){return S.get(t,e,r,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],function(t,n){S[n]=function(t,e,r,i){return _(e)&&(i=i||r,r=e,e=void 0),S.ajax(S.extend({url:t,type:n,dataType:i,data:e,success:r},S.isPlainObject(t)&&t))}}),S._evalUrl=function(t){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&(_(t)&&(t=t.call(this[0])),e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(r){return _(r)?this.each(function(t){S(this).wrapInner(r.call(this,t))}):this.each(function(){var t=S(this),e=t.contents();e.length?e.wrapAll(r):t.append(r)})},wrap:function(e){var r=_(e);return this.each(function(t){S(this).wrapAll(r?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},Ue=S.ajaxSettings.xhr();v.cors=!!Ue&&"withCredentials"in Ue,v.ajax=Ue=!!Ue,S.ajaxTransport(function(n){var o,a;if(v.cors||Ue&&!n.crossDomain)return{send:function(t,e){var r,i=n.xhr();if(i.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(r in n.xhrFields)i[r]=n.xhrFields[r];for(r in n.mimeType&&i.overrideMimeType&&i.overrideMimeType(n.mimeType),n.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)i.setRequestHeader(r,t[r]);o=function(t){return function(){o&&(o=a=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===t?i.abort():"error"===t?"number"!=typeof i.status?e(0,"error"):e(i.status,i.statusText):e(Be[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),a=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=a:i.onreadystatechange=function(){4===i.readyState&&T.setTimeout(function(){o&&a()})},o=o("abort");try{i.send(n.hasContent&&n.data||null)}catch(t){if(o)throw t}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),S.ajaxTransport("script",function(r){var i,n;if(r.crossDomain)return{send:function(t,e){i=S("<script>").prop({charset:r.scriptCharset,src:r.url}).on("load error",n=function(t){i.remove(),n=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(i[0])},abort:function(){n&&n()}}});var Xe,He=[],qe=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=He.pop()||S.expando+"_"+be++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,r){var i,n,o,a=!1!==t.jsonp&&(qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&qe.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=_(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(qe,"$1"+i):!1!==t.jsonp&&(t.url+=(xe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||S.error(i+" was not called"),o[0]},t.dataTypes[0]="json",n=T[i],T[i]=function(){o=arguments},r.always(function(){void 0===n?S(T).removeProp(i):T[i]=n,t[i]&&(t.jsonpCallback=e.jsonpCallback,He.push(i)),o&&_(n)&&n(o[0]),o=n=void 0}),"script"}),v.createHTMLDocument=((Xe=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),S.parseHTML=function(t,e,r){return"string"!=typeof t?[]:("boolean"==typeof e&&(r=e,e=!1),e||(v.createHTMLDocument?((i=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(i)):e=k),o=!r&&[],(n=A.exec(t))?[e.createElement(n[1])]:(n=vt([t],e,o),o&&o.length&&S(o).remove(),S.merge([],n.childNodes)));var i,n,o},S.fn.load=function(t,e,r){var i,n,o,a=this,s=t.indexOf(" ");return-1<s&&(i=pe(t.slice(s)),t=t.slice(0,s)),_(e)?(r=e,e=void 0):e&&"object"==typeof e&&(n="POST"),0<a.length&&S.ajax({url:t,type:n||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?S("<div>").append(S.parseHTML(t)).find(i):t)}).always(r&&function(t,e){a.each(function(){r.apply(this,o||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,r){var i,n,o,a,s,l,u=S.css(t,"position"),h=S(t),c={};"static"===u&&(t.style.position="relative"),s=h.offset(),o=S.css(t,"top"),l=S.css(t,"left"),n=("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(i=h.position()).top,i.left):(a=parseFloat(o)||0,parseFloat(l)||0),_(e)&&(e=e.call(t,r,S.extend({},s))),null!=e.top&&(c.top=e.top-s.top+a),null!=e.left&&(c.left=e.left-s.left+n),"using"in e?e.using.call(t,c):h.css(c)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,r,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),r=i.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,r,i=this[0],n={top:0,left:0};if("fixed"===S.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),r=i.ownerDocument,t=i.offsetParent||r.documentElement;t&&(t===r.body||t===r.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((n=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),n.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-n.top-S.css(i,"marginTop",!0),left:e.left-n.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||_t})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var o="pageYOffset"===n;S.fn[e]=function(t){return X(this,function(t,e,r){var i;if(y(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===r)return i?i[n]:t[e];i?i.scrollTo(o?i.pageXOffset:r,o?r:i.pageYOffset):t[e]=r},e,t,arguments.length)}}),S.each(["top","left"],function(t,r){S.cssHooks[r]=Bt(v.pixelPosition,function(t,e){if(e)return e=Nt(t,r),Ft.test(e)?S(t).position()[r]+"px":e})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(i,o){S.fn[o]=function(t,e){var r=arguments.length&&(i||"boolean"!=typeof t),n=i||(!0===t||!0===e?"margin":"border");return X(this,function(t,e,r){var i;return y(t)?0===o.indexOf("outer")?t["inner"+a]:t.document.documentElement["client"+a]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+a],i["scroll"+a],t.body["offset"+a],i["offset"+a],i["client"+a])):void 0===r?S.css(t,e,n):S.style(t,e,r,n)},s,r?t:void 0,r)}})}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,r){S.fn[r]=function(t,e){return 0<arguments.length?this.on(r,null,t,e):this.trigger(r)}}),S.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),S.fn.extend({bind:function(t,e,r){return this.on(t,null,e,r)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,r,i){return this.on(e,t,r,i)},undelegate:function(t,e,r){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",r)}}),S.proxy=function(t,e){var r,i,n;if("string"==typeof e&&(r=t[e],e=t,t=r),_(t))return i=s.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(s.call(arguments)))}).guid=t.guid=t.guid||S.guid++,n},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=C,S.isFunction=_,S.isWindow=y,S.camelCase=G,S.type=x,S.now=Date.now,S.isNumeric=function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var We=T.jQuery,Ge=T.$;return S.noConflict=function(t){return T.$===S&&(T.$=Ge),t&&T.jQuery===S&&(T.jQuery=We),S},t||(T.jQuery=T.$=S),S}),function o(a,s,l){function u(r,t){if(!s[r]){if(!a[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(h)return h(r,!0);var i=new Error("Cannot find module '"+r+"'");throw i.code="MODULE_NOT_FOUND",i}var n=s[r]={exports:{}};a[r][0].call(n.exports,function(t){var e=a[r][1][t];return u(e||t)},n,n.exports,o,a,s,l)}return s[r].exports}for(var h="function"==typeof require&&require,t=0;t<l.length;t++)u(l[t]);return u}({1:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var o=t("./wait"),a=function(t){function a(t,e,r,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),n=n||{};var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t,n));return o.type="Angle",n.load?o.load(n.load):(o.angle=e,o.speed=r,o.duration=i||0),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,o),i(a,[{key:"save",value:function(){var t=n(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"save",this).call(this);return t.angle=this.angle,t.speed=this.speed,t}},{key:"load",value:function(t){n(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"load",this).call(this,t),this.angle=t.angle,this.speed=t.speed}},{key:"calculate",value:function(t){this.object.x+=this.cos*t*this.speed,this.object.y+=this.sin*t*this.speed}},{key:"reverse",value:function(){this.angle+=Math.PI}},{key:"angle",get:function(){return this._angle},set:function(t){this._angle=t,this.sin=Math.sin(this._angle),this.cos=Math.cos(this._angle)}}]),a}();e.exports=a},{"./wait":11}],2:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var a=t("yy-angle"),s=t("./wait"),o=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,i));return n.type="Face",n.target=e,i.load?n.load(i.load):n.speed=r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,s),i(o,[{key:"save",value:function(){if(this.options.cancel)return null;var t=n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"save",this).call(this);return t.speed=this.speed,t.keepAlive=this.options.keepAlive,t}},{key:"load",value:function(t){n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"load",this).call(this,t),this.speed=t.speed,this.options.keepAlive=t.keepAlive}},{key:"calculate",value:function(t){var e=a.angleTwoPoints(this.object.position,this.target),r=a.differenceAngles(e,this.object.rotation);if(0===r){if(this.emit("done",this.object),!this.options.keepAlive)return!0}else{var i=a.differenceAnglesSign(e,this.object.rotation),n=this.speed*t,o=r<n?r:n;this.object.rotation+=o*i}}}]),o}();e.exports=o},{"./wait":11,"yy-angle":22}],3:[function(t,e,r){"use strict";var i={list:t("./list"),wait:t("./wait"),to:t("./to"),shake:t("./shake"),tint:t("./tint"),face:t("./face"),angle:t("./angle"),target:t("./target"),movie:t("./movie"),load:t("./load")};PIXI.extras.Ease=i,e.exports=i},{"./angle":1,"./face":2,"./list":4,"./load":5,"./movie":6,"./shake":7,"./target":8,"./tint":9,"./to":10,"./wait":11}],4:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("eventemitter3"),a=t("./angle"),s=t("./face"),l=t("./load"),u=t("./movie"),h=t("./shake"),c=t("./target"),f=t("./tint"),p=t("./to"),d=t("./wait"),i=function(t){function i(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),t=t||{};var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));if(!t.noTicker){var r=t.ticker||PIXI.ticker.shared;r.add(function(){return e.update(r.elapsedMS)})}return e.list=[],e.empty=!0,e.removeWaiting=[],e.removeAllWaiting=!1,e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"add",value:function(){var t=void 0,e=!0,r=!1,i=void 0;try{for(var n,o=arguments[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var a=n.value;if(Array.isArray(a)){var s=!0,l=!1,u=void 0;try{for(var h,c=a[Symbol.iterator]();!(s=(h=c.next()).done);s=!0){var f=h.value;t||(t=f),this.list.push(f)}}catch(t){l=!0,u=t}finally{try{!s&&c.return&&c.return()}finally{if(l)throw u}}}else t=a,this.list.push(a)}}catch(t){r=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(r)throw i}}return this.empty=!1,t}},{key:"remove",value:function(t){if(this.inUpdate)this.removeWaiting.push(t);else{var e=this.list.indexOf(t);-1!==e&&this.list.splice(e,1)}}},{key:"removeAll",value:function(){this.inUpdate?this.removeAllWaiting=!0:this.list=[]}},{key:"update",value:function(t){this.inUpdate=!0;for(var e=0,r=this.list.length;e<r;e++)this.list[e]&&this.list[e].update(t)&&(this.list.splice(e,1),e--,r--);for(this.emit("each",this),0!==this.list.length||this.empty||(this.emit("done",this),this.empty=!0),this.inUpdate=!1,this.removeAllWaiting&&(this.removeAll(),this.removeAllWaiting=!1);this.removeWaiting.length;)this.remove(this.removeWaiting.pop())}},{key:"to",value:function(){return this.add(new(Function.prototype.bind.apply(p,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"angle",value:function(){return this.add(new(Function.prototype.bind.apply(a,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"face",value:function(){return this.add(new(Function.prototype.bind.apply(s,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"load",value:function(){return this.add(new(Function.prototype.bind.apply(l,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"movie",value:function(){return this.add(new(Function.prototype.bind.apply(u,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"shake",value:function(){return this.add(new(Function.prototype.bind.apply(h,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"target",value:function(){return this.add(new(Function.prototype.bind.apply(c,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"tint",value:function(){return this.add(new(Function.prototype.bind.apply(f,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"wait",value:function(){return this.add(new(Function.prototype.bind.apply(d,[null].concat(Array.prototype.slice.call(arguments)))))}},{key:"count",get:function(){return this.list.length}},{key:"countRunning",get:function(){var t=0,e=!0,r=!1,i=void 0;try{for(var n,o=this.list[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){n.value.pause||t++}}catch(t){r=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(r)throw i}}return t}}]),i}();e.exports=i},{"./angle":1,"./face":2,"./load":5,"./movie":6,"./shake":7,"./target":8,"./tint":9,"./to":10,"./wait":11,eventemitter3:12}],5:[function(t,e,r){"use strict";var i=t("./wait"),n=t("./to"),o=t("./tint"),a=t("./shake"),s=t("./angle"),l=t("./face"),u=t("./target"),h=t("./movie");e.exports=function(t,e){if(!e)return null;var r={load:e};switch(e.type){case"Wait":return new i(t,r);case"To":return new n(t,null,null,r);case"Tint":return new o(t,null,null,r);case"Shake":return new a(t,null,null,r);case"Angle":return new s(t,null,null,null,r);case"Face":return new l(t[0],t[1],null,r);case"Target":return new u(t[0],t[1],null,r);case"Movie":return new h(t,t[1],null,r)}}},{"./angle":1,"./face":2,"./movie":6,"./shake":7,"./target":8,"./tint":9,"./to":10,"./wait":11}],6:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var a=t("./wait"),o=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,i));return n.type="Movie",Array.isArray(t)&&(n.list=t,n.object=n.list[0]),i.load?n.load(i.load):(n.textures=e,n.duration=r,n.current=0,n.length=e.length,n.interval=r/n.length,n.isReverse=!1,n.restart()),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,a),i(o,[{key:"save",value:function(){var t=n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"save",this).call(this);return t.goto=this.goto,t.current=this.current,t.length=this.length,t.interval=this.interval,t}},{key:"load",value:function(t){n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"load",this).call(this,t),this.goto=t.goto,this.current=t.current,this.interval=t.current}},{key:"restart",value:function(){this.current=0,this.time=0,this.isReverse=!1}},{key:"reverse",value:function(){this.isReverse=!this.isReverse}},{key:"calculate",value:function(){var t=Math.round(this.options.ease(this.time,0,this.length-1,this.duration));if(this.isReverse&&(t=this.length-1-t),this.list)for(var e=0;e<this.list.length;e++)this.list[e].texture=this.textures[t];else this.object.texture=this.textures[t]}}]),o}();e.exports=o},{"./wait":11}],7:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var o=t("./wait"),a=function(t){function s(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t,i));if(n.type="Shake",Array.isArray(t)&&(n.array=!0,n.list=t),i.load)n.load(i.load);else{if(n.list){n.start=[];for(var o=0;o<t.length;o++){var a=t[o];n.start[o]={x:a.x,y:a.y}}}else n.start={x:t.x,y:t.y};n.amount=e,n.duration=r}return n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(s,o),i(s,[{key:"save",value:function(){var t=n(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"save",this).call(this);return t.start=this.start,t.amount=this.amount,t}},{key:"load",value:function(t){n(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"load",this).call(this,t),this.start=t.start,this.amount=t.amount}},{key:"calculate",value:function(){var t=this.object,e=this.start,r=this.amount;if(this.array)for(var i=this.list,n=0;n<i.length;n++){var o=i[n],a=e[n];o.x=a.x+Math.floor(Math.random()*r*2)-r,o.y=a.y+Math.floor(Math.random()*r*2)-r}t.x=e.x+Math.floor(Math.random()*r*2)-r,t.y=e.y+Math.floor(Math.random()*r*2)-r}},{key:"done",value:function(){var t=this.object,e=this.start;if(this.array)for(var r=this.list,i=0;i<r.length;i++){var n=r[i],o=e[i];n.x=o.x,n.y=o.y}else t.x=e.x,t.y=e.y}}]),s}();e.exports=a},{"./wait":11}],8:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var a=t("./wait"),o=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,i));return n.type="Target",n.target=e,i.load?n.load(i.load):n.speed=r,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,a),i(o,[{key:"save",value:function(){var t=n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"save",this).call(this);return t.speed=this.speed,t.keepAlive=this.options.keepAlive,t}},{key:"load",value:function(t){n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"load",this).call(this,t),this.speed=t.speed,this.options.keepAlive=t.keepAlive}},{key:"calculate",value:function(t){var e=this.target.x-this.object.x,r=this.target.y-this.object.y;if(0==e&&0==r){if(this.emit("done",this.object),!this.options.keepAlive)return!0}else{var i=Math.atan2(r,e);this.object.x+=Math.cos(i)*t*this.speed,this.object.y+=Math.sin(i)*t*this.speed,0<=e!=0<=this.target.x-this.object.x&&(this.object.x=this.target.x),0<=r!=0<=this.target.y-this.object.y&&(this.object.y=this.target.y)}}}]),o}();e.exports=o},{"./wait":11}],9:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var g=t("yy-color"),a=t("./wait"),o=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,i));return n.type="Tint",Array.isArray(t)&&(n.list=t,n.object=n.list[0]),n.duration=r,i.load?n.load(i.load):Array.isArray(e)?n.tints=[n.object.tint].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(e)):(n.start=n.object.tint,n.to=e),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,a),i(o,[{key:"save",value:function(){var t=n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"save",this).call(this);return t.start=this.start,t.to=this.to,t}},{key:"load",value:function(t){n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"load",this).call(this,t),this.start=t.start,this.to=t.to}},{key:"calculate",value:function(){var t=this.options.ease(this.time,0,1,this.duration);if(this.tints)for(var e=1/(this.tints.length-1),r=e,i=1;i<this.tints.length;i++){if(t<=r){var n=g.blend(1-(r-t)/e,this.tints[i-1],this.tints[i]);if(this.list){var o=!0,a=!1,s=void 0;try{for(var l,u=this.list[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){l.value.tint=n}}catch(t){a=!0,s=t}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}}else this.object.tint=n;break}r+=e}else{var h=g.blend(t,this.start,this.to);if(this.list){var c=!0,f=!1,p=void 0;try{for(var d,m=this.list[Symbol.iterator]();!(c=(d=m.next()).done);c=!0){d.value.tint=h}}catch(t){f=!0,p=t}finally{try{!c&&m.return&&m.return()}finally{if(f)throw p}}}else this.object.tint=h}}},{key:"reverse",value:function(){if(this.tints){for(var t=[],e=this.tints.length-1;0<=e;e--)t.push(this.tints[e]);this.tints=t}else{var r=this.to;this.to=this.start,this.start=r}}}]),o}();e.exports=o},{"./wait":11,"yy-color":23}],10:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}(),n=function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0};var a=t("./wait"),o=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),i=i||{};var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t,i));return n.type="To",Array.isArray(t)&&(n.list=t,n.object=n.list[0]),i.load?n.load(i.load):(n.goto=e,n.fixScale(),n.duration=r,n.restart()),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,a),i(o,[{key:"fixScale",value:function(){void 0===this.goto.scale||Number.isNaN(this.goto.scale)||(this.goto.scale={x:this.goto.scale,y:this.goto.scale})}},{key:"save",value:function(){var t=n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"save",this).call(this);return t.goto=this.goto,t.start=this.start,t.delta=this.delta,t.keys=this.keys,t}},{key:"load",value:function(t){n(o.prototype.__proto__||Object.getPrototypeOf(o.prototype),"load",this).call(this,t),this.goto=t.goto,this.start=t.start,this.delta=t.delta,this.keys=t.keys}},{key:"restart",value:function(){var t=0,e=this.start=[],r=this.delta=[],i=this.keys=[],n=this.goto,o=this.object;for(var a in n){if(isNaN(n[a])){i[t]={key:a,children:[]},e[t]=[],r[t]=[];var s=0;for(var l in n[a])i[t].children[s]=l,e[t][s]=parseFloat(o[a][l]),e[t][s]=this._correctDOM(l,e[t][s]),e[t][s]=isNaN(this.start[t][s])?0:e[t][s],r[t][s]=n[a][l]-e[t][s],s++}else e[t]=parseFloat(o[a]),e[t]=this._correctDOM(a,e[t]),e[t]=isNaN(this.start[t])?0:e[t],r[t]=n[a]-e[t],i[t]=a;t++}this.time=0}},{key:"reverse",value:function(){for(var t=this.object,e=this.keys,r=this.goto,i=this.delta,n=this.start,o=0,a=e.length;o<a;o++){var s=e[o];if(isNaN(r[s]))for(var l=0,u=s.children.length;l<u;l++)i[o][l]=-i[o][l],n[o][l]=parseFloat(t[s.key][s.children[l]]),n[o][l]=isNaN(n[o][l])?0:n[o][l];else i[o]=-i[o],n[o]=parseFloat(t[s]),n[o]=isNaN(n[o])?0:n[o]}}},{key:"calculate",value:function(){for(var t=this.object,e=this.list,r=this.keys,i=this.goto,n=this.time,o=this.start,a=this.delta,s=this.duration,l=this.options.ease,u=0,h=this.keys.length;u<h;u++){var c=r[u];if(isNaN(i[c]))for(var f=c.key,p=0,d=c.children.length;p<d;p++){var m=c.children[p],g=t[f][m]=s<=n?o[u][p]+a[u][p]:l(n,o[u][p],a[u][p],s);if(e)for(var v=1,_=e.length;v<_;v++)e[v][f][m]=g}else{var y=r[u],b=t[y]=s<=n?o[u]+a[u]:l(n,o[u],a[u],s);if(e)for(var x=1,w=this.list.length;x<w;x++)e[x][y]=b}}}}]),o}();e.exports=o},{"./wait":11}],11:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("penner"),a=t("eventemitter3"),i=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return r.object=t,r.options=e||{},r.type="Wait",r.options.load?r.load(r.options.load):r.time=0,r.options.ease&&"function"!=typeof r.options.ease&&(r.options.easeName=r.options.ease,r.options.ease=o[r.options.ease]),r.options.ease||(r.options.ease=o.linear),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,a),n(i,[{key:"save",value:function(){var t={type:this.type,time:this.time,duration:this.duration,ease:this.options.easeName},e=this.options;return e.wait&&(t.wait=e.wait),void 0!==e.id&&(t.id=e.id),e.pause&&(t.pause=e.pause),e.repeat&&(t.repeat=e.repeat),e.reverse&&(t.reverse=e.reverse),t}},{key:"load",value:function(t){this.options.wait=t.wait,this.options.pause=t.pause,this.options.repeat=t.repeat,this.options.reverse=t.reverse,this.options.id=t.id,this.options.ease=t.ease,this.options.ease&&"function"!=typeof this.options.ease&&(this.options.easeName=this.options.ease,this.options.ease=o[this.options.ease]),this.options.ease||(this.options.ease=o.linear),this.time=t.time,this.duration=t.duration}},{key:"end",value:function(t){if(this.options.reverse)this.reverse(),this.time=t,this.options.repeat?!0!==this.options.repeat&&this.options.repeat--:!0===this.options.reverse?this.options.reverse=!1:this.options.reverse--,this.emit("loop",this.list||this.object);else{if(!this.options.repeat)return this.done(),this.emit("done",this.list||this.object,t),!0;this.time=t,!0!==this.options.repeat&&this.options.repeat--,this.emit("loop",this.list||this.object)}}},{key:"update",value:function(t){var e=this.options;if(!e.pause){if(e.wait){if(e.wait-=t,!(e.wait<=0))return void this.emit("wait",t,this.list||this.object);t=-e.wait,e.wait=!1}this.first||(this.first=!0,this.emit("first",this.list||this.object)),this.time+=t;var r=0,i=this.duration,n=this.time;0!==i&&i<n&&(r=n-i,this.time=n=i);var o=this.calculate(t);return this.emit("each",t,this.list||this.object,this),"Wait"===this.type||0!==i&&n===i?this.end(r):o||n===i}}},{key:"_correctDOM",value:function(t,e){switch(t){case"opacity":return isNaN(e)?1:e}return e}},{key:"reverse",value:function(){}},{key:"calculate",value:function(){}},{key:"done",value:function(){}},{key:"pause",set:function(t){this.options.pause=t},get:function(){return this.options.pause}}]),i}();e.exports=i},{eventemitter3:12,penner:13}],12:[function(t,e,r){"use strict";var i=Object.prototype.hasOwnProperty,p="~";function n(){}function s(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,r,i,n){if("function"!=typeof r)throw new TypeError("The listener must be a function");var o=new s(r,i||t,n),a=p?p+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],o]:t._events[a].push(o):(t._events[a]=o,t._eventsCount++),t}function u(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(p=!1)),a.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)i.call(t,e)&&r.push(p?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},a.prototype.listeners=function(t){var e=p?p+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,n=r.length,o=new Array(n);i<n;i++)o[i]=r[i].fn;return o},a.prototype.listenerCount=function(t){var e=p?p+t:t,r=this._events[e];return r?r.fn?1:r.length:0},a.prototype.emit=function(t,e,r,i,n,o){var a=p?p+t:t;if(!this._events[a])return!1;var s,l,u=this._events[a],h=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),h){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,r),!0;case 4:return u.fn.call(u.context,e,r,i),!0;case 5:return u.fn.call(u.context,e,r,i,n),!0;case 6:return u.fn.call(u.context,e,r,i,n,o),!0}for(l=1,s=new Array(h-1);l<h;l++)s[l-1]=arguments[l];u.fn.apply(u.context,s)}else{var c,f=u.length;for(l=0;l<f;l++)switch(u[l].once&&this.removeListener(t,u[l].fn,void 0,!0),h){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,e);break;case 3:u[l].fn.call(u[l].context,e,r);break;case 4:u[l].fn.call(u[l].context,e,r,i);break;default:if(!s)for(c=1,s=new Array(h-1);c<h;c++)s[c-1]=arguments[c];u[l].fn.apply(u[l].context,s)}}return!0},a.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},a.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},a.prototype.removeListener=function(t,e,r,i){var n=p?p+t:t;if(!this._events[n])return this;if(!e)return u(this,n),this;var o=this._events[n];if(o.fn)o.fn!==e||i&&!o.once||r&&o.context!==r||u(this,n);else{for(var a=0,s=[],l=o.length;a<l;a++)(o[a].fn!==e||i&&!o[a].once||r&&o[a].context!==r)&&s.push(o[a]);s.length?this._events[n]=1===s.length?s[0]:s:u(this,n)}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=p?p+t:t,this._events[e]&&u(this,e)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=p,a.EventEmitter=a,void 0!==e&&(e.exports=a)},{}],13:[function(t,e,r){(function(){var n;(function(t){"object"==typeof r?e.exports=t:"function"==typeof define&&define.amd?define([],t):this.penner=t})(n={linear:function(t,e,r,i){return r*t/i+e},easeInQuad:function(t,e,r,i){return r*(t/=i)*t+e},easeOutQuad:function(t,e,r,i){return-r*(t/=i)*(t-2)+e},easeInOutQuad:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t+e:-r/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,r,i){return r*(t/=i)*t*t+e},easeOutCubic:function(t,e,r,i){return r*((t=t/i-1)*t*t+1)+e},easeInOutCubic:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,r,i){return r*(t/=i)*t*t*t+e},easeOutQuart:function(t,e,r,i){return-r*((t=t/i-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t*t+e:-r/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,r,i){return r*(t/=i)*t*t*t*t+e},easeOutQuint:function(t,e,r,i){return r*((t=t/i-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+e:r/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+e},easeOutSine:function(t,e,r,i){return r*Math.sin(t/i*(Math.PI/2))+e},easeInOutSine:function(t,e,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+e},easeInExpo:function(t,e,r,i){return 0===t?e:r*Math.pow(2,10*(t/i-1))+e},easeOutExpo:function(t,e,r,i){return t===i?e+r:r*(1-Math.pow(2,-10*t/i))+e},easeInOutExpo:function(t,e,r,i){return(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+e:r/2*(2-Math.pow(2,-10*--t))+e},easeInCirc:function(t,e,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+e},easeOutCirc:function(t,e,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+e},easeInOutCirc:function(t,e,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+e:r/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i),o||(o=.3*i),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)+e},easeOutElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i),o||(o=.3*i),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),n*Math.pow(2,-10*t)*Math.sin((t*i-a)*(2*Math.PI)/o)+r+e},easeInOutElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i/2),o||(o=i*(.3*1.5)),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*-.5+e:n*Math.pow(2,-10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*.5+r+e},easeInBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),r*(t/=i)*t*((n+1)*t-n)+e},easeOutBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),r*((t=t/i-1)*t*((n+1)*t+n)+1)+e},easeInOutBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),(t/=i/2)<1?r/2*(t*t*((1+(n*=1.525))*t-n))+e:r/2*((t-=2)*t*((1+(n*=1.525))*t+n)+2)+e},easeInBounce:function(t,e,r,i){return r-n.easeOutBounce(i-t,0,r,i)+e},easeOutBounce:function(t,e,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+e:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+e:r*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(t,e,r,i){return t<i/2?.5*n.easeInBounce(2*t,0,r,i)+e:.5*n.easeOutBounce(2*t-i,0,r,i)+.5*r+e}})}).call(this)},{}],14:[function(t,e,r){var i=t("./lib/alea"),n=t("./lib/xor128"),o=t("./lib/xorwow"),a=t("./lib/xorshift7"),s=t("./lib/xor4096"),l=t("./lib/tychei"),u=t("./seedrandom");u.alea=i,u.xor128=n,u.xorwow=o,u.xorshift7=a,u.xor4096=s,u.tychei=l,e.exports=u},{"./lib/alea":15,"./lib/tychei":16,"./lib/xor128":17,"./lib/xor4096":18,"./lib/xorshift7":19,"./lib/xorwow":20,"./seedrandom":21}],15:[function(t,e,r){!function(t,e,r){function o(t){var e=this,r=function(){var i=4022871197;return function(t){t=t.toString();for(var e=0;e<t.length;e++){var r=.02519603282416938*(i+=t.charCodeAt(e));r-=i=r>>>0,i=(r*=i)>>>0,i+=4294967296*(r-=i)}return 2.3283064365386963e-10*(i>>>0)}}();e.next=function(){var t=2091639*e.s0+2.3283064365386963e-10*e.c;return e.s0=e.s1,e.s1=e.s2,e.s2=t-(e.c=0|t)},e.c=1,e.s0=r(" "),e.s1=r(" "),e.s2=r(" "),e.s0-=r(t),e.s0<0&&(e.s0+=1),e.s1-=r(t),e.s1<0&&(e.s1+=1),e.s2-=r(t),e.s2<0&&(e.s2+=1),r=null}function a(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function i(t,e){var r=new o(t),i=e&&e.state,n=r.next;return n.int32=function(){return 4294967296*r.next()|0},n.double=function(){return n()+11102230246251565e-32*(2097152*n()|0)},n.quick=n,i&&("object"==typeof i&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.alea=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],16:[function(t,e,r){!function(t,e,r){function o(t){var n=this,e="";n.next=function(){var t=n.b,e=n.c,r=n.d,i=n.a;return t=t<<25^t>>>7^e,e=e-r|0,r=r<<24^r>>>8^i,i=i-t|0,n.b=t=t<<20^t>>>12^e,n.c=e=e-r|0,n.d=r<<16^e>>>16^i,n.a=i-t|0},n.a=0,n.b=0,n.c=-1640531527,n.d=1367130551,t===Math.floor(t)?(n.a=t/4294967296|0,n.b=0|t):e+=t;for(var r=0;r<e.length+20;r++)n.b^=0|e.charCodeAt(r),n.next()}function a(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function i(t,e){var r=new o(t),i=e&&e.state,n=function(){return(r.next()>>>0)/4294967296};return n.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},n.int32=r.next,n.quick=n,i&&("object"==typeof i&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.tychei=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],17:[function(t,e,r){!function(t,e,r){function o(t){var e=this,r="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:r+=t;for(var i=0;i<r.length+64;i++)e.x^=0|r.charCodeAt(i),e.next()}function a(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function i(t,e){var r=new o(t),i=e&&e.state,n=function(){return(r.next()>>>0)/4294967296};return n.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},n.int32=r.next,n.quick=n,i&&("object"==typeof i&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.xor128=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],18:[function(t,e,r){!function(t,e,r){function o(t){var o=this;o.next=function(){var t,e,r=o.w,i=o.X,n=o.i;return o.w=r=r+1640531527|0,e=i[n+34&127],t=i[n=n+1&127],e^=e<<13,t^=t<<17,e^=e>>>15,t^=t>>>12,e=i[n]=e^t,o.i=n,e+(r^r>>>16)|0},function(t,e){var r,i,n,o,a,s=[],l=128;for(e===(0|e)?(i=e,e=null):(e+="\0",i=0,l=Math.max(l,e.length)),n=0,o=-32;o<l;++o)e&&(i^=e.charCodeAt((o+32)%e.length)),0===o&&(a=i),i^=i<<10,i^=i>>>15,i^=i<<4,i^=i>>>13,0<=o&&(a=a+1640531527|0,n=0==(r=s[127&o]^=i+a)?n+1:0);for(128<=n&&(s[127&(e&&e.length||0)]=-1),n=127,o=512;0<o;--o)i=s[n+34&127],r=s[n=n+1&127],i^=i<<13,r^=r<<17,i^=i>>>15,r^=r>>>12,s[n]=i^r;t.w=a,t.X=s,t.i=n}(o,t)}function a(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function i(t,e){null==t&&(t=+new Date);var r=new o(t),i=e&&e.state,n=function(){return(r.next()>>>0)/4294967296};return n.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},n.int32=r.next,n.quick=n,i&&(i.X&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.xor4096=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],19:[function(t,e,r){!function(t,e,r){function o(t){var n=this;n.next=function(){var t,e,r=n.x,i=n.i;return t=r[i],e=(t^=t>>>7)^t<<24,e^=(t=r[i+1&7])^t>>>10,e^=(t=r[i+3&7])^t>>>3,e^=(t=r[i+4&7])^t<<7,t=r[i+7&7],e^=(t^=t<<13)^t<<9,r[i]=e,n.i=i+1&7,e},function(t,e){var r,i=[];if(e===(0|e))i[0]=e;else for(e=""+e,r=0;r<e.length;++r)i[7&r]=i[7&r]<<15^e.charCodeAt(r)+i[r+1&7]<<13;for(;i.length<8;)i.push(0);for(r=0;r<8&&0===i[r];++r);for(8==r?i[7]=-1:i[r],t.x=i,t.i=0,r=256;0<r;--r)t.next()}(n,t)}function a(t,e){return e.x=t.x.slice(),e.i=t.i,e}function i(t,e){null==t&&(t=+new Date);var r=new o(t),i=e&&e.state,n=function(){return(r.next()>>>0)/4294967296};return n.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},n.int32=r.next,n.quick=n,i&&(i.x&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.xorshift7=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],20:[function(t,e,r){!function(t,e,r){function o(t){var e=this,r="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,t===((e.v=0)|t)?e.x=t:r+=t;for(var i=0;i<r.length+64;i++)e.x^=0|r.charCodeAt(i),i==r.length&&(e.d=e.x<<10^e.x>>>4),e.next()}function a(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function i(t,e){var r=new o(t),i=e&&e.state,n=function(){return(r.next()>>>0)/4294967296};return n.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},n.int32=r.next,n.quick=n,i&&("object"==typeof i&&a(i,r),n.state=function(){return a(r,{})}),n}e&&e.exports?e.exports=i:r&&r.amd?r(function(){return i}):this.xorwow=i}(0,"object"==typeof e&&e,"function"==typeof define&&define)},{}],21:[function(e,r,t){!function(s,l){var u,h=this,c=256,f=6,p="random",d=l.pow(c,f),m=l.pow(2,52),g=2*m,v=c-1;function t(t,e,r){var i=[],n=b(function t(e,r){var i,n=[],o=typeof e;if(r&&"object"==o)for(i in e)try{n.push(t(e[i],r-1))}catch(t){}return n.length?n:"string"==o?e:e+"\0"}((e=1==e?{entropy:!0}:e||{}).entropy?[t,x(s)]:null==t?function(){try{var t;return u&&(t=u.randomBytes)?t=t(c):(t=new Uint8Array(c),(h.crypto||h.msCrypto).getRandomValues(t)),x(t)}catch(t){var e=h.navigator,r=e&&e.plugins;return[+new Date,h,r,h.screen,x(s)]}}():t,3),i),o=new _(i),a=function(){for(var t=o.g(f),e=d,r=0;t<m;)t=(t+r)*c,e*=c,r=o.g(1);for(;g<=t;)t/=2,e/=2,r>>>=1;return(t+r)/e};return a.int32=function(){return 0|o.g(4)},a.quick=function(){return o.g(4)/4294967296},a.double=a,b(x(o.S),s),(e.pass||r||function(t,e,r,i){return i&&(i.S&&y(i,o),t.state=function(){return y(o,{})}),r?(l[p]=t,e):t})(a,n,"global"in e?e.global:this==l,e.state)}function _(t){var e,r=t.length,a=this,i=0,n=a.i=a.j=0,o=a.S=[];for(r||(t=[r++]);i<c;)o[i]=i++;for(i=0;i<c;i++)o[i]=o[n=v&n+t[i%r]+(e=o[i])],o[n]=e;(a.g=function(t){for(var e,r=0,i=a.i,n=a.j,o=a.S;t--;)e=o[i=v&i+1],r=r*c+o[v&(o[i]=o[n=v&n+e])+(o[n]=e)];return a.i=i,a.j=n,r})(c)}function y(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function b(t,e){for(var r,i=t+"",n=0;n<i.length;)e[v&n]=v&(r^=19*e[v&n])+i.charCodeAt(n++);return x(e)}function x(t){return String.fromCharCode.apply(0,t)}if(l["seed"+p]=t,b(l.random(),s),"object"==typeof r&&r.exports){r.exports=t;try{u=e("crypto")}catch(t){}}else"function"==typeof define&&define.amd&&define(function(){return t})}([],Math)},{crypto:25}],22:[function(t,e,r){var i=180/Math.PI,n=Math.PI/180,o=Math.PI/2,a=3*Math.PI/2,s=Math.PI,l=o,u=a,h=s,c=2*Math.PI,f=Math.PI/4,p=Math.PI/2;function d(t,e){var r;return 0<((t-e+Math.PI)%(r=c)+r)%r-Math.PI?1:-1}function m(t,e){var r=Math.abs(t-e)%c;return r>Math.PI?c-r:r}function g(t){return t-c*Math.floor(t/c)}e.exports={UP:o,DOWN:a,LEFT:s,RIGHT:0,NORTH:l,SOUTH:u,WEST:h,EAST:0,PI_2:c,PI_QUARTER:f,PI_HALF:p,toDegrees:function(t){return t*i},toRadians:function(t){return t*n},isAngleBetween:function(t,e,r){if(((r-e)%c+c)%c>=Math.PI){var i=e;e=r,r=i}return e<=r?e<=t&&t<=r:e<=t||t<=r},differenceAnglesSign:d,differenceAngles:m,shortestAngle:function(t,e){return m(e,t)*d(e,t)+t},normalize:g,angleTwoPoints:function(){return 4===arguments.length?Math.atan2(arguments[3]-arguments[1],arguments[2]-arguments[0]):Math.atan2(arguments[1].y-arguments[0].y,arguments[1].x-arguments[0].x)},distanceTwoPoints:function(){return 2===arguments.length?Math.sqrt(Math.pow(arguments[1].x-arguments[0].x,2)+Math.pow(arguments[1].y-arguments[0].y,2)):Math.sqrt(Math.pow(arguments[2]-arguments[0],2)+Math.pow(arguments[3]-arguments[1],2))},distanceTwoPointsSquared:function(){return 2===arguments.length?Math.pow(arguments[1].x-arguments[0].x,2)+Math.pow(arguments[1].y-arguments[0].y,2):Math.pow(arguments[2]-arguments[0],2)+Math.pow(arguments[3]-arguments[1],2)},closestAngle:function(t){var e=m(t,s),r=m(t,0),i=m(t,o),n=m(t,a);return e<=r&&e<=i&&e<=n?s:r<=i&&r<=n?0:i<=n?o:a},equals:function(t,e,r){return r?m(t,e)<r:g(t)===g(e)},explain:function(t){switch(t){case o:return"UP";case a:return"DOWN";case s:return"LEFT";case 0:return"RIGHT";default:return"NOT CARDINAL"}}}},{}],23:[function(t,e,r){var s=t("yy-random");e.exports={poundToHex:function(t){return"0x"+parseInt(t.substr(1)).toString(16)},hexToPound:function(t){return"#"+t.substr(2)},valueToPound:function(t){return"#"+t.toString(16)},hexToHsl:function(t){var e,r,i=this.hexToRgb(t),n=i.r,o=i.g,a=i.b,s=Math.max(n,o,a),l=Math.min(n,o,a),u=(s+l)/2;if(s===l)e=r=0;else{var h=s-l;switch(r=.5<u?h/(2-s-l):h/(s+l),s){case n:e=(o-a)/h+(o<a?6:0);break;case o:e=(a-n)/h+2;break;case a:e=(n-o)/h+4}e/=6}return{h:e,s:r,l:u}},hslToHex:function(t){var e,r,i,n,o,a;function s(t,e,r){return r<0&&(r+=1),1<r&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(a=1===arguments.length?(n=t.h,o=t.s,t.l):(n=t,o=arguments[1],arguments[2]),0===o)e=r=i=a;else{var l=a<.5?a*(1+o):a+o-a*o,u=2*a-l;e=s(u,l,n+1/3),r=s(u,l,n),i=s(u,l,n-1/3)}return this.rgbToHex(255*e,255*r,255*i)},hexToRgb:function(t){if(0===t)t="0x000000";else if("string"!=typeof t){var e="000000"+t.toString(16);t="0x"+e.substr(e.length-6)}var r=/^0x?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return r?{r:parseInt(r[1],16),g:parseInt(r[2],16),b:parseInt(r[3],16)}:null},rgbToHex:function(t,e,r){if(1===arguments.length)if(Array.isArray(t)){var i=t;t=i[0],e=i[1],r=i[2]}else{var n=t.replace(/( *rgb *\( *)|( )|(\) *;?)/,"").split(",");t=n[0],e=n[1],r=n[2]}return"0x"+((1<<24)+(parseInt(t)<<16)+(parseInt(e)<<8)+parseInt(r)).toString(16).slice(1)},darken:function(t,e){return this.blend(e,t,0)},saturate:function(t,e){e=0===e?0:e||10;var r=this.hexToHsl(t);return r.s+=e/100,r.s=Math.min(1,Math.max(0,r.s)),this.hslToHex(r)},desaturate:function(t,e){e=0===e?0:e||10;var r=this.hexToHsl(t);return r.s-=e/100,r.s=Math.min(1,Math.max(0,r.s)),this.hslToHex(r)},blend:function(t,e,r){if(0===t)return e;if(1===t)return r;var i=1-t;return i*(e>>16)+t*(r>>16)<<16|i*(e>>8&255)+t*(r>>8&255)<<8|i*(255&e)+t*(255&r)},random:function(t,e){function r(){return s.range(t,e)}var i=s.pick([{r:1,g:1,b:1},{r:1,g:1,b:0},{r:1,g:0,b:1},{r:0,g:1,b:1},{r:1,g:0,b:0},{r:0,g:1,b:0},{r:0,g:0,b:1}]);return t=t||0,e=e||255,this.rgbToHex(i.r?r():0,i.g?r():0,i.b?r():0)},randomHSL:function(t,e,r,i,n,o){var a={h:s.range(t,e),s:s.range(r,i,!0),l:s.range(n,o,!0)};return this.hslToHex(a)},randomGoldenRatioHSL:function(t,e,r){for(var i=s.get(1,!0),n=[],o=0;o<t;o++)n.push(this.hslToHex(i,e,r)),i=(i+.618033988749895)%1;return n}}},{"yy-random":24}],24:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var n=t("seedrandom"),o=function(){function r(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.generator=Math.random}return i(r,[{key:"seed",value:function(t,e){e=e||{},this.generator=n[e.PRNG||"alea"](t,{state:e.state}),this.options=e}},{key:"save",value:function(){if(this.generator!==Math.random)return this.generator.state()}},{key:"restore",value:function(t){this.generator=n[this.options.PRNG||"alea"]("",{state:t})}},{key:"seedOld",value:function(e){this.generator=function(){var t=1e4*Math.sin(e++);return t-Math.floor(t)}}},{key:"separateSeed",value:function(t){var e=new r;return e.seed(t),e}},{key:"reset",value:function(){this.generator=Math.random}},{key:"get",value:function(t,e){var r=t<0?-1:1;t*=r;return(e?this.generator()*t:Math.floor(this.generator()*t))*r}},{key:"getHuge",value:function(){return this.get(Number.MAX_SAFE_INTEGER)}},{key:"middle",value:function(t,e,r){var i=e/2;return this.range(t-i,t+i,r)}},{key:"range",value:function(t,e,r){if(e===t)return e;if(r)return this.get(e-t,!0)+t;var i=void 0;return t<0&&0<e?i=-t+e+1:0===t&&0<e?i=e+1:t<0&&0===e?(i=t-1,t=1):i=t<0&&e<0?e-t-1:e-t+1,Math.floor(this.generator()*i)+t}},{key:"rangeMultiple",value:function(t,e,r,i){for(var n=[],o=0;o<r;o++)n.push(this.range(t,e,i));return n}},{key:"middleMultiple",value:function(t,e,r,i){for(var n=[],o=0;o<r;o++)n.push(t(t,e,i));return n}},{key:"sign",value:function(t){return t=t||.5,this.generator()<t?1:-1}},{key:"chance",value:function(t){return this.generator()<(t||.5)}},{key:"angle",value:function(){return this.get(2*Math.PI,!0)}},{key:"shuffle",value:function(t,e){if(e&&(t=t.slice()),0===t.length)return t;for(var r=t.length,i=void 0,n=void 0;0!==r;)n=this.get(r),i=t[r-=1],t[r]=t[n],t[n]=i;return t}},{key:"pick",value:function(t,e){if(e){var r=this.get(t.length),i=t[r];return t.splice(r,1),i}return t[this.get(t.length)]}},{key:"property",value:function(t){var e,r=0;for(var i in t)this.chance(1/++r)&&(e=i);return e}},{key:"set",value:function(t,e,r){var i,n=[],o=[];for(i=t;i<e;i++)o.push(i);for(i=0;i<r;i++){var a=this.get(o.length);n.push(o[a]),o.splice(a,1)}return n}},{key:"distribution",value:function(t,e,r,i,n,o){var a=Math.floor((e-t)/r),s=a/2,l=a/4,u=[];i&&u.push(t);for(var h=0;h<r;h++)u.push(t+h*a+s+this.range(-l,l,o));return n&&u.push(e),u}},{key:"weightedProbabilityInt",value:function(t,e,r,i){function n(){for(var t=void 0,e=void 0,r=void 0;1<=(r=(t=2*this.get(1,!0)-1)*t+(e=2*this.get(1,!0)-1)*e)||0===r;);return t*Math.sqrt(-2*Math.log(r)/r)}if(i=i||1,!(Math.random()<.81546))return this.range(t,e);for(;;){var o=n()*i+r;if(t<=o&&o<=e)return o}}},{key:"color",value:function(){return this.get(16777215)}}]),r}();e.exports=new o},{seedrandom:14}],25:[function(t,e,r){},{}]},{},[3]),function o(a,s,l){function u(r,t){if(!s[r]){if(!a[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(h)return h(r,!0);var i=new Error("Cannot find module '"+r+"'");throw i.code="MODULE_NOT_FOUND",i}var n=s[r]={exports:{}};a[r][0].call(n.exports,function(t){var e=a[r][1][t];return u(e||t)},n,n.exports,o,a,s,l)}return s[r].exports}for(var h="function"==typeof require&&require,t=0;t<l.length;t++)u(l[t]);return u}({1:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./utils"),a=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.time=e.time||150,r.ease=o.ease(e.ease,"easeInOutSine"),r.friction=e.friction||.5,e.sides=e.sides||"all",e.sides&&("all"===e.sides?r.top=r.bottom=r.left=r.right=!0:"horizontal"===e.sides?r.right=r.left=!0:"vertical"===e.sides?r.top=r.bottom=!0:(r.top=-1!==e.sides.indexOf("top"),r.bottom=-1!==e.sides.indexOf("bottom"),r.left=-1!==e.sides.indexOf("left"),r.right=-1!==e.sides.indexOf("right"))),r.parseUnderflow(e.underflow||"center"),r.last={},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,a),n(i,[{key:"parseUnderflow",value:function(t){"center"===(t=t.toLowerCase())?(this.underflowX=0,this.underflowY=0):(this.underflowX=-1!==t.indexOf("left")?-1:-1!==t.indexOf("right")?1:0,this.underflowY=-1!==t.indexOf("top")?-1:-1!==t.indexOf("bottom")?1:0)}},{key:"down",value:function(){this.toX=this.toY=null}},{key:"up",value:function(){this.bounce()}},{key:"update",value:function(t){if(!this.paused){if(this.bounce(),this.toX){var e=this.toX;e.time+=t,this.parent.emit("moved",{viewport:this.parent,type:"bounce-x"}),e.time>=this.time?(this.parent.x=e.end,this.toX=null,this.parent.emit("bounce-x-end",this.parent)):this.parent.x=this.ease(e.time,e.start,e.delta,this.time),this.parent.dirty=!0}if(this.toY){var r=this.toY;r.time+=t,this.parent.emit("moved",{viewport:this.parent,type:"bounce-y"}),r.time>=this.time?(this.parent.y=r.end,this.toY=null,this.parent.emit("bounce-y-end",this.parent)):this.parent.y=this.ease(r.time,r.start,r.delta,this.time),this.parent.dirty=!0}}}},{key:"calcUnderflowX",value:function(){var t=void 0;switch(this.underflowX){case-1:t=0;break;case 1:t=this.parent.screenWidth-this.parent.screenWorldWidth;break;default:t=(this.parent.screenWidth-this.parent.screenWorldWidth)/2}return t}},{key:"calcUnderflowY",value:function(){var t=void 0;switch(this.underflowY){case-1:t=0;break;case 1:t=this.parent.screenHeight-this.parent.screenWorldHeight;break;default:t=(this.parent.screenHeight-this.parent.screenWorldHeight)/2}return t}},{key:"bounce",value:function(){if(!this.paused){var t=void 0,e=this.parent.plugins.decelerate;e&&(e.x||e.y)&&(e.x&&e.percentChangeX===e.friction||e.y&&e.percentChangeY===e.friction)&&(((t=this.parent.OOB()).left&&this.left||t.right&&this.right)&&(e.percentChangeX=this.friction),(t.top&&this.top||t.bottom&&this.bottom)&&(e.percentChangeY=this.friction));var r=this.parent.plugins.drag||{},i=this.parent.plugins.pinch||{};if(e=e||{},!(r.active||i.active||this.toX&&this.toY||e.x&&e.y)){var n=(t=t||this.parent.OOB()).cornerPoint;if(!this.toX&&!e.x){var o=null;t.left&&this.left?o=this.parent.screenWorldWidth<this.parent.screenWidth?this.calcUnderflowX():0:t.right&&this.right&&(o=this.parent.screenWorldWidth<this.parent.screenWidth?this.calcUnderflowX():-n.x),null!==o&&this.parent.x!==o&&(this.toX={time:0,start:this.parent.x,delta:o-this.parent.x,end:o},this.parent.emit("bounce-x-start",this.parent))}if(!this.toY&&!e.y){var a=null;t.top&&this.top?a=this.parent.screenWorldHeight<this.parent.screenHeight?this.calcUnderflowY():0:t.bottom&&this.bottom&&(a=this.parent.screenWorldHeight<this.parent.screenHeight?this.calcUnderflowY():-n.y),null!==a&&this.parent.y!==a&&(this.toY={time:0,start:this.parent.y,delta:a-this.parent.y,end:a},this.parent.emit("bounce-y-start",this.parent))}}}}},{key:"reset",value:function(){this.toX=this.toY=null}}]),i}()},{"./plugin":9,"./utils":12}],2:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return r.minWidth=e.minWidth,r.minHeight=e.minHeight,r.maxWidth=e.maxWidth,r.maxHeight=e.maxHeight,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"resize",value:function(){this.clamp()}},{key:"clamp",value:function(){if(!this.paused){var t=this.parent.worldScreenWidth,e=this.parent.worldScreenHeight;this.minWidth&&t<this.minWidth&&(this.parent.fitWidth(this.minWidth),t=this.parent.worldScreenWidth,e=this.parent.worldScreenHeight,this.parent.emit("zoomed",{viewport:this.parent,type:"clamp-zoom"})),this.maxWidth&&t>this.maxWidth&&(this.parent.fitWidth(this.maxWidth),t=this.parent.worldScreenWidth,e=this.parent.worldScreenHeight,this.parent.emit("zoomed",{viewport:this.parent,type:"clamp-zoom"})),this.minHeight&&e<this.minHeight&&(this.parent.fitHeight(this.minHeight),t=this.parent.worldScreenWidth,e=this.parent.worldScreenHeight,this.parent.emit("zoomed",{viewport:this.parent,type:"clamp-zoom"})),this.maxHeight&&e>this.maxHeight&&(this.parent.fitHeight(this.maxHeight),this.parent.emit("zoomed",{viewport:this.parent,type:"clamp-zoom"}))}}}]),i}()},{"./plugin":9}],3:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin"),a=t("./utils");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||{};var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return void 0===e.direction?(r.left=a.defaults(e.left,null),r.right=a.defaults(e.right,null),r.top=a.defaults(e.top,null),r.bottom=a.defaults(e.bottom,null)):(r.left="x"===e.direction||"all"===e.direction,r.right="x"===e.direction||"all"===e.direction,r.top="y"===e.direction||"all"===e.direction,r.bottom="y"===e.direction||"all"===e.direction),r.parseUnderflow(e.underflow||"center"),r.move(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"parseUnderflow",value:function(t){"center"===(t=t.toLowerCase())?(this.underflowX=0,this.underflowY=0):(this.underflowX=-1!==t.indexOf("left")?-1:-1!==t.indexOf("right")?1:0,this.underflowY=-1!==t.indexOf("top")?-1:-1!==t.indexOf("bottom")?1:0)}},{key:"move",value:function(){this.update()}},{key:"update",value:function(){if(!this.paused){var t=this.parent.plugins.decelerate||{};if(null!==this.left||null!==this.right){var e=void 0;if(this.parent.screenWorldWidth<this.parent.screenWidth)switch(this.underflowX){case-1:0!==this.parent.x&&(e=!(this.parent.x=0));break;case 1:this.parent.x!==this.parent.screenWidth-this.parent.screenWorldWidth&&(this.parent.x=this.parent.screenWidth-this.parent.screenWorldWidth,e=!0);break;default:this.parent.x!==(this.parent.screenWidth-this.parent.screenWorldWidth)/2&&(this.parent.x=(this.parent.screenWidth-this.parent.screenWorldWidth)/2,e=!0)}else null!==this.left&&this.parent.left<(!0===this.left?0:this.left)&&(this.parent.x=-(!0===this.left?0:this.left)*this.parent.scale.x,e=!(t.x=0)),null!==this.right&&this.parent.right>(!0===this.right?this.parent.worldWidth:this.right)&&(this.parent.x=-(!0===this.right?this.parent.worldWidth:this.right)*this.parent.scale.x+this.parent.screenWidth,e=!(t.x=0));e&&this.parent.emit("moved",{viewport:this.parent,type:"clamp-x"})}if(null!==this.top||null!==this.bottom){var r=void 0;if(this.parent.screenWorldHeight<this.parent.screenHeight)switch(this.underflowY){case-1:0!==this.parent.y&&(r=!(this.parent.y=0));break;case 1:this.parent.y!==this.parent.screenHeight-this.parent.screenWorldHeight&&(this.parent.y=this.parent.screenHeight-this.parent.screenWorldHeight,r=!0);break;default:this.parent.y!==(this.parent.screenHeight-this.parent.screenWorldHeight)/2&&(this.parent.y=(this.parent.screenHeight-this.parent.screenWorldHeight)/2,r=!0)}else null!==this.top&&this.parent.top<(!0===this.top?0:this.top)&&(this.parent.y=-(!0===this.top?0:this.top)*this.parent.scale.y,r=!(t.y=0)),null!==this.bottom&&this.parent.bottom>(!0===this.bottom?this.parent.worldHeight:this.bottom)&&(this.parent.y=-(!0===this.bottom?this.parent.worldHeight:this.bottom)*this.parent.scale.y+this.parent.screenHeight,r=!(t.y=0));r&&this.parent.emit("moved",{viewport:this.parent,type:"clamp-y"})}}}}]),i}()},{"./plugin":9,"./utils":12}],4:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();t("./utils");var o=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.friction=e.friction||.95,r.bounce=e.bounce||.5,r.minSpeed=void 0!==e.minSpeed?e.minSpeed:.01,r.saved=[],r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"down",value:function(){this.saved=[],this.x=this.y=!1}},{key:"move",value:function(){if(!this.paused){var t=this.parent.countDownPointers();(1===t||1<t&&!this.parent.plugins.pinch)&&(this.saved.push({x:this.parent.x,y:this.parent.y,time:performance.now()}),60<this.saved.length&&this.saved.splice(0,30))}}},{key:"up",value:function(){if(0===this.parent.countDownPointers()&&this.saved.length){var t=performance.now(),e=!0,r=!1,i=void 0;try{for(var n,o=this.saved[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var a=n.value;if(a.time>=t-100){var s=t-a.time;this.x=(this.parent.x-a.x)/s,this.y=(this.parent.y-a.y)/s,this.percentChangeX=this.percentChangeY=this.friction;break}}}catch(t){r=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(r)throw i}}}}},{key:"activate",value:function(t){void 0!==(t=t||{}).x&&(this.x=t.x,this.percentChangeX=this.friction),void 0!==t.y&&(this.y=t.y,this.percentChangeY=this.friction)}},{key:"update",value:function(t){if(!this.paused){var e=void 0;this.x&&(this.parent.x+=this.x*t,this.x*=this.percentChangeX,Math.abs(this.x)<this.minSpeed&&(this.x=0),e=!0),this.y&&(this.parent.y+=this.y*t,this.y*=this.percentChangeY,Math.abs(this.y)<this.minSpeed&&(this.y=0),e=!0),e&&(this.parent.dirty=!0,this.parent.emit("moved",{viewport:this.parent,type:"decelerate"}))}}},{key:"reset",value:function(){this.x=this.y=null}}]),i}()},{"./plugin":9,"./utils":12}],5:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./utils"),a=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),e=e||{};var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return r.moved=!1,r.wheelActive=o.defaults(e.wheel,!0),r.wheelScroll=e.wheelScroll||1,r.reverse=e.reverse?1:-1,r.clampWheel=e.clampWheel,r.xDirection=!e.direction||"all"===e.direction||"x"===e.direction,r.yDirection=!e.direction||"all"===e.direction||"y"===e.direction,r.parseUnderflow(e.underflow||"center"),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,a),n(i,[{key:"parseUnderflow",value:function(t){"center"===(t=t.toLowerCase())?(this.underflowX=0,this.underflowY=0):(this.underflowX=-1!==t.indexOf("left")?-1:-1!==t.indexOf("right")?1:0,this.underflowY=-1!==t.indexOf("top")?-1:-1!==t.indexOf("bottom")?1:0)}},{key:"down",value:function(t){if(!this.paused){var e=this.parent.countDownPointers();if((1===e||1<e&&!this.parent.plugins.pinch)&&this.parent.parent){var r=this.parent.parent.toLocal(t.data.global);this.last={x:t.data.global.x,y:t.data.global.y,parent:r},this.current=t.data.pointerId}else this.last=null}}},{key:"move",value:function(t){if(!this.paused&&this.last&&this.current===t.data.pointerId){var e=t.data.global.x,r=t.data.global.y,i=this.parent.countDownPointers();if(1===i||1<i&&!this.parent.plugins.pinch){var n=e-this.last.x,o=r-this.last.y;if(this.moved||this.xDirection&&this.parent.checkThreshold(n)||this.yDirection&&this.parent.checkThreshold(o)){var a=this.parent.parent.toLocal(t.data.global);this.xDirection&&(this.parent.x+=a.x-this.last.parent.x),this.yDirection&&(this.parent.y+=a.y-this.last.parent.y),this.last={x:e,y:r,parent:a},this.moved||this.parent.emit("drag-start",{screen:this.last,world:this.parent.toWorld(this.last),viewport:this.parent}),this.moved=!0,this.parent.dirty=!0,this.parent.emit("moved",{viewport:this.parent,type:"drag"})}}else this.moved=!1}}},{key:"up",value:function(){var t=this.parent.getTouchPointers();if(1===t.length){var e=t[0];if(e.last){var r=this.parent.parent.toLocal(e.last);this.last={x:e.last.x,y:e.last.y,parent:r},this.current=e.last.data.pointerId}this.moved=!1}else this.last&&this.moved&&(this.parent.emit("drag-end",{screen:this.last,world:this.parent.toWorld(this.last),viewport:this.parent}),this.last=this.moved=!1)}},{key:"wheel",value:function(t){if(!this.paused&&this.wheelActive){var e=this.parent.plugins.wheel;if(!e)return this.parent.x+=t.deltaX*this.wheelScroll*this.reverse,this.parent.y+=t.deltaY*this.wheelScroll*this.reverse,this.clampWheel&&this.clamp(),this.parent.emit("wheel-scroll",this.parent),this.parent.emit("moved",this.parent),this.parent.dirty=!0,t.preventDefault(),!0}}},{key:"resume",value:function(){this.last=null,this.paused=!1}},{key:"clamp",value:function(){var t=this.parent.plugins.decelerate||{};if("y"!==this.clampWheel)if(this.parent.screenWorldWidth<this.parent.screenWidth)switch(this.underflowX){case-1:this.parent.x=0;break;case 1:this.parent.x=this.parent.screenWidth-this.parent.screenWorldWidth;break;default:this.parent.x=(this.parent.screenWidth-this.parent.screenWorldWidth)/2}else this.parent.left<0?(this.parent.x=0,t.x=0):this.parent.right>this.parent.worldWidth&&(this.parent.x=-this.parent.worldWidth*this.parent.scale.x+this.parent.screenWidth,t.x=0);if("x"!==this.clampWheel)if(this.parent.screenWorldHeight<this.parent.screenHeight)switch(this.underflowY){case-1:this.parent.y=0;break;case 1:this.parent.y=this.parent.screenHeight-this.parent.screenWorldHeight;break;default:this.parent.y=(this.parent.screenHeight-this.parent.screenWorldHeight)/2}else this.parent.top<0&&(this.parent.y=0,t.y=0),this.parent.bottom>this.parent.worldHeight&&(this.parent.y=-this.parent.worldHeight*this.parent.scale.y+this.parent.screenHeight,t.y=0)}},{key:"active",get:function(){return this.moved}}]),i}()},{"./plugin":9,"./utils":12}],6:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin");e.exports=function(t){function n(t,e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return r=r||{},i.speed=r.speed||0,i.target=e,i.radius=r.radius,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,o),i(n,[{key:"update",value:function(){if(!this.paused){var t=this.parent.center,e=this.target.x,r=this.target.y;if(this.radius){if(!(Math.sqrt(Math.pow(this.target.y-t.y,2)+Math.pow(this.target.x-t.x,2))>this.radius))return;var i=Math.atan2(this.target.y-t.y,this.target.x-t.x);e=this.target.x-Math.cos(i)*this.radius,r=this.target.y-Math.sin(i)*this.radius}if(this.speed){var n=e-t.x,o=r-t.y;if(n||o){var a=Math.atan2(r-t.y,e-t.x),s=Math.cos(a)*this.speed,l=Math.sin(a)*this.speed,u=Math.abs(s)>Math.abs(n)?e:t.x+s,h=Math.abs(l)>Math.abs(o)?r:t.y+l;this.parent.moveCenter(u,h),this.parent.emit("moved",{viewport:this.parent,type:"follow"})}}else this.parent.moveCenter(e,r),this.parent.emit("moved",{viewport:this.parent,type:"follow"})}}}]),n}()},{"./plugin":9}],7:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./utils"),a=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.options=e,r.reverse=e.reverse?1:-1,r.noDecelerate=e.noDecelerate,r.linear=e.linear,r.radiusSquared=Math.pow(e.radius,2),r.resize(),r.speed=e.speed||8,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,a),n(i,[{key:"resize",value:function(){var t=this.options,e=t.distance;o.exists(e)?(this.left=e,this.top=e,this.right=window.innerWidth-e,this.bottom=window.innerHeight-e):this.radius||(this.left=o.exists(t.left)?t.left:null,this.top=o.exists(t.top)?t.top:null,this.right=o.exists(t.right)?window.innerWidth-t.right:null,this.bottom=o.exists(t.bottom)?window.innerHeight-t.bottom:null)}},{key:"down",value:function(){this.horizontal=this.vertical=null}},{key:"move",value:function(t){if("MOUSE"===t.data.identifier&&0===t.data.buttons){var e=t.data.global.x,r=t.data.global.y;if(this.radiusSquared){var i=this.parent.toScreen(this.parent.center);if(Math.pow(i.x-e,2)+Math.pow(i.y-r,2)>=this.radiusSquared){var n=Math.atan2(i.y-r,i.x-e);this.linear?(this.horizontal=Math.round(Math.cos(n))*this.speed*this.reverse*.06,this.vertical=Math.round(Math.sin(n))*this.speed*this.reverse*.06):(this.horizontal=Math.cos(n)*this.speed*this.reverse*.06,this.vertical=Math.sin(n)*this.speed*this.reverse*.06)}else this.horizontal&&this.decelerateHorizontal(),this.vertical&&this.decelerateVertical(),this.horizontal=this.vertical=0}else o.exists(this.left)&&e<this.left?this.horizontal=1*this.reverse*this.speed*.06:o.exists(this.right)&&e>this.right?this.horizontal=-1*this.reverse*this.speed*.06:(this.decelerateHorizontal(),this.horizontal=0),o.exists(this.top)&&r<this.top?this.vertical=1*this.reverse*this.speed*.06:o.exists(this.bottom)&&r>this.bottom?this.vertical=-1*this.reverse*this.speed*.06:(this.decelerateVertical(),this.vertical=0)}}},{key:"decelerateHorizontal",value:function(){var t=this.parent.plugins.decelerate;this.horizontal&&t&&!this.noDecelerate&&t.activate({x:this.horizontal*this.speed*this.reverse/(1e3/60)})}},{key:"decelerateVertical",value:function(){var t=this.parent.plugins.decelerate;this.vertical&&t&&!this.noDecelerate&&t.activate({y:this.vertical*this.speed*this.reverse/(1e3/60)})}},{key:"up",value:function(){this.horizontal&&this.decelerateHorizontal(),this.vertical&&this.decelerateVertical(),this.horizontal=this.vertical=null}},{key:"update",value:function(){if(!this.paused&&(this.horizontal||this.vertical)){var t=this.parent.center;this.horizontal&&(t.x+=this.horizontal*this.speed),this.vertical&&(t.y+=this.vertical*this.speed),this.parent.moveCenter(t),this.parent.emit("moved",{viewport:this.parent,type:"mouse-edges"})}}}]),i}()},{"./plugin":9,"./utils":12}],8:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.percent=e.percent||1,r.noDrag=e.noDrag,r.center=e.center,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"down",value:function(){2<=this.parent.countDownPointers()&&(this.active=!0)}},{key:"move",value:function(t){if(!this.paused&&this.active){var e=t.data.global.x,r=t.data.global.y,i=this.parent.getTouchPointers();if(2<=i.length){var n=i[0],o=i[1],a=n.last&&o.last?Math.sqrt(Math.pow(o.last.x-n.last.x,2)+Math.pow(o.last.y-n.last.y,2)):null;if(n.pointerId===t.data.pointerId?n.last={x:e,y:r,data:t.data}:o.pointerId===t.data.pointerId&&(o.last={x:e,y:r,data:t.data}),a){var s=void 0,l={x:n.last.x+(o.last.x-n.last.x)/2,y:n.last.y+(o.last.y-n.last.y)/2};this.center||(s=this.parent.toLocal(l));var u=(Math.sqrt(Math.pow(o.last.x-n.last.x,2)+Math.pow(o.last.y-n.last.y,2))-a)/this.parent.screenWidth*this.parent.scale.x*this.percent;this.parent.scale.x+=u,this.parent.scale.y+=u,this.parent.emit("zoomed",{viewport:this.parent,type:"pinch"});var h=this.parent.plugins["clamp-zoom"];if(h&&h.clamp(),this.center)this.parent.moveCenter(this.center);else{var c=this.parent.toGlobal(s);this.parent.x+=l.x-c.x,this.parent.y+=l.y-c.y,this.parent.emit("moved",{viewport:this.parent,type:"pinch"})}!this.noDrag&&this.lastCenter&&(this.parent.x+=l.x-this.lastCenter.x,this.parent.y+=l.y-this.lastCenter.y,this.parent.emit("moved",{viewport:this.parent,type:"pinch"})),this.lastCenter=l,this.moved=!0}else this.pinching||(this.parent.emit("pinch-start",this.parent),this.pinching=!0);this.parent.dirty=!0}}}},{key:"up",value:function(){this.pinching&&this.parent.touches.length<=1&&(this.active=!1,this.lastCenter=null,this.pinching=!1,this.moved=!1,this.parent.emit("pinch-end",this.parent))}}]),i}()},{"./plugin":9}],9:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();e.exports=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.parent=t,this.paused=!1}return i(e,[{key:"down",value:function(){}},{key:"move",value:function(){}},{key:"up",value:function(){}},{key:"wheel",value:function(){}},{key:"update",value:function(){}},{key:"resize",value:function(){}},{key:"reset",value:function(){}},{key:"pause",value:function(){this.paused=!0}},{key:"resume",value:function(){this.paused=!1}}]),e}()},{}],10:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin"),a=t("./utils");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.width=e.width,r.height=e.height,0<r.width&&(r.x_scale=t._screenWidth/r.width),0<r.height&&(r.y_scale=t._screenHeight/r.height),r.xIndependent=a.exists(r.x_scale),r.yIndependent=a.exists(r.y_scale),r.x_scale=r.xIndependent?r.x_scale:r.y_scale,r.y_scale=r.yIndependent?r.y_scale:r.x_scale,r.time=a.defaults(e.time,1e3),r.ease=a.ease(e.ease,"easeInOutSine"),r.center=e.center,r.noMove=e.noMove,r.stopOnResize=e.stopOnResize,r.removeOnInterrupt=e.removeOnInterrupt,r.removeOnComplete=a.defaults(e.removeOnComplete,!0),r.interrupt=a.defaults(e.interrupt,!0),0===r.time?(t.container.scale.x=r.x_scale,t.container.scale.y=r.y_scale,r.removeOnComplete&&r.parent.removePlugin("snap-zoom")):e.forceStart&&r.createSnapping(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"createSnapping",value:function(){var t=this.parent.scale;this.snapping={time:0,startX:t.x,startY:t.y,deltaX:this.x_scale-t.x,deltaY:this.y_scale-t.y},this.parent.emit("snap-zoom-start",this.parent)}},{key:"resize",value:function(){this.snapping=null,0<this.width&&(this.x_scale=this.parent._screenWidth/this.width),0<this.height&&(this.y_scale=this.parent._screenHeight/this.height),this.x_scale=this.xIndependent?this.x_scale:this.y_scale,this.y_scale=this.yIndependent?this.y_scale:this.x_scale}},{key:"reset",value:function(){this.snapping=null}},{key:"wheel",value:function(){this.removeOnInterrupt&&this.parent.removePlugin("snap-zoom")}},{key:"down",value:function(){this.removeOnInterrupt?this.parent.removePlugin("snap-zoom"):this.interrupt&&(this.snapping=null)}},{key:"update",value:function(t){if(!(this.paused||this.interrupt&&0!==this.parent.countDownPointers())){var e=void 0;if(this.center||this.noMove||(e=this.parent.center),this.snapping){if(this.snapping){var r=this.snapping;if(r.time+=t,r.time>=this.time)this.parent.scale.set(this.x_scale,this.y_scale),this.removeOnComplete&&this.parent.removePlugin("snap-zoom"),this.parent.emit("snap-zoom-end",this.parent),this.snapping=null;else{var i=this.snapping;this.parent.scale.x=this.ease(i.time,i.startX,i.deltaX,this.time),this.parent.scale.y=this.ease(i.time,i.startY,i.deltaY,this.time)}var n=this.parent.plugins["clamp-zoom"];n&&n.clamp(),this.noMove||(this.center?this.parent.moveCenter(this.center):this.parent.moveCenter(e))}}else this.parent.scale.x===this.x_scale&&this.parent.scale.y===this.y_scale||this.createSnapping()}}},{key:"resume",value:function(){this.snapping=null,function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0}(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"resume",this).call(this)}}]),i}()},{"./plugin":9,"./utils":12}],11:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var n=t("./plugin"),a=t("./utils");e.exports=function(t){function o(t,e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,t));return i=i||{},n.friction=i.friction||.8,n.time=i.time||1e3,n.ease=a.ease(i.ease,"easeInOutSine"),n.x=e,n.y=r,n.topLeft=i.topLeft,n.interrupt=a.defaults(i.interrupt,!0),n.removeOnComplete=i.removeOnComplete,n.removeOnInterrupt=i.removeOnInterrupt,i.forceStart&&n.startEase(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,n),i(o,[{key:"snapStart",value:function(){this.percent=0,this.snapping={time:0};var t=this.topLeft?this.parent.corner:this.parent.center;this.deltaX=this.x-t.x,this.deltaY=this.y-t.y,this.startX=t.x,this.startY=t.y,this.parent.emit("snap-start",this.parent)}},{key:"wheel",value:function(){this.removeOnInterrupt&&this.parent.removePlugin("snap")}},{key:"down",value:function(){this.removeOnInterrupt?this.parent.removePlugin("snap"):this.interrupt&&(this.snapping=null)}},{key:"up",value:function(){if(0===this.parent.countDownPointers()){var t=this.parent.plugins.decelerate;t&&(t.x||t.y)&&(t.percentChangeX=t.percentChangeY=this.friction)}}},{key:"update",value:function(t){if(!(this.paused||this.interrupt&&0!==this.parent.countDownPointers()))if(this.snapping){var e=this.snapping;e.time+=t;var r=void 0,i=void 0,n=void 0;if(e.time>this.time)r=!0,i=this.startX+this.deltaX,n=this.startY+this.deltaY;else{var o=this.ease(e.time,0,1,this.time);i=this.startX+this.deltaX*o,n=this.startY+this.deltaY*o}this.topLeft?this.parent.moveCorner(i,n):this.parent.moveCenter(i,n),this.parent.emit("moved",{viewport:this.parent,type:"snap"}),r&&(this.removeOnComplete&&this.parent.removePlugin("snap"),this.parent.emit("snap-end",this.parent),this.snapping=null)}else{var a=this.topLeft?this.parent.corner:this.parent.center;a.x===this.x&&a.y===this.y||this.snapStart()}}}]),o}()},{"./plugin":9,"./utils":12}],12:[function(t,e,r){"use strict";var i=t("penner");function n(t){return null!=t}e.exports={exists:n,defaults:function(t,e){return null!=t?t:e},ease:function(t,e){return n(t)?"function"==typeof t?t:"string"==typeof t?i[t]:void 0:i[e]}}},{penner:15}],13:[function(t,e,r){"use strict";var i=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var n=t("./utils"),o=t("./drag"),a=t("./pinch"),s=t("./clamp"),l=t("./clamp-zoom"),u=t("./decelerate"),h=t("./bounce"),c=t("./snap"),f=t("./snap-zoom"),p=t("./follow"),d=t("./wheel"),m=t("./mouse-edges"),g=["drag","pinch","wheel","follow","mouse-edges","decelerate","bounce","snap-zoom","clamp-zoom","snap","clamp"],v=function(t){function r(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),t=t||{};var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return e.plugins={},e.pluginsList=[],e._screenWidth=t.screenWidth,e._screenHeight=t.screenHeight,e._worldWidth=t.worldWidth,e._worldHeight=t.worldHeight,e.hitAreaFullScreen=n.defaults(t.hitAreaFullScreen,!0),e.forceHitArea=t.forceHitArea,e.threshold=n.defaults(t.threshold,5),e.interaction=t.interaction||null,e.div=t.divWheel||document.body,e.listeners(e.div),e.touches=[],e.ticker=t.ticker||PIXI.ticker.shared,e.tickerFunction=function(){return e.update()},e.ticker.add(e.tickerFunction),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,PIXI.Container),i(r,[{key:"removeListeners",value:function(){this.ticker.remove(this.tickerFunction),this.div.removeEventListener("wheel",this.wheelFunction)}},{key:"destroy",value:function(t){(function t(e,r,i){null===e&&(e=Function.prototype);var n=Object.getOwnPropertyDescriptor(e,r);if(void 0===n){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,i)}if("value"in n)return n.value;var a=n.get;return void 0!==a?a.call(i):void 0})(r.prototype.__proto__||Object.getPrototypeOf(r.prototype),"destroy",this).call(this,t),this.removeListeners()}},{key:"update",value:function(){if(!this.pause){var t=!0,e=!1,r=void 0;try{for(var i,n=this.pluginsList[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){i.value.update(this.ticker.elapsedMS)}}catch(t){e=!0,r=t}finally{try{!t&&n.return&&n.return()}finally{if(e)throw r}}}this.forceHitArea||(this.hitArea.x=this.left,this.hitArea.y=this.top,this.hitArea.width=this.worldScreenWidth,this.hitArea.height=this.worldScreenHeight)}},{key:"resize",value:function(t,e,r,i){this._screenWidth=t||window.innerWidth,this._screenHeight=e||window.innerHeight,this._worldWidth=r,this._worldHeight=i,this.resizePlugins()}},{key:"resizePlugins",value:function(){var t=!0,e=!1,r=void 0;try{for(var i,n=this.pluginsList[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){i.value.resize()}}catch(t){e=!0,r=t}finally{try{!t&&n.return&&n.return()}finally{if(e)throw r}}}},{key:"listeners",value:function(t){var e=this;this.interactive=!0,this.forceHitArea||(this.hitArea=new PIXI.Rectangle(0,0,this.worldWidth,this.worldHeight)),this.on("pointerdown",this.down),this.on("pointermove",this.move),this.on("pointerup",this.up),this.on("pointerupoutside",this.up),this.on("pointercancel",this.up),this.on("pointerout",this.up),this.wheelFunction=function(t){return e.handleWheel(t)},t.addEventListener("wheel",this.wheelFunction),this.leftDown=!1}},{key:"down",value:function(t){if(!this.pause){if("mouse"===t.data.pointerType?0==t.data.originalEvent.button&&(this.leftDown=!0):this.touches.push(t.data.pointerId),1===this.countDownPointers()){this.last={x:t.data.global.x,y:t.data.global.y};var e=this.plugins.decelerate,r=this.plugins.bounce;e&&(e.x||e.y)||r&&(r.toX||r.toY)||(this.clickedAvailable=!0)}else this.clickedAvailable=!1;var i=!0,n=!1,o=void 0;try{for(var a,s=this.pluginsList[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){a.value.down(t)}}catch(t){n=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw o}}}}},{key:"checkThreshold",value:function(t){return Math.abs(t)>=this.threshold}},{key:"move",value:function(t){if(!this.pause){var e=!0,r=!1,i=void 0;try{for(var n,o=this.pluginsList[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){n.value.move(t)}}catch(t){r=!0,i=t}finally{try{!e&&o.return&&o.return()}finally{if(r)throw i}}if(this.clickedAvailable){var a=t.data.global.x-this.last.x,s=t.data.global.y-this.last.y;(this.checkThreshold(a)||this.checkThreshold(s))&&(this.clickedAvailable=!1)}}}},{key:"up",value:function(t){if(!this.pause){if(t.data.originalEvent instanceof MouseEvent&&0==t.data.originalEvent.button&&(this.leftDown=!1),"mouse"!==t.data.pointerType)for(var e=0;e<this.touches.length;e++)if(this.touches[e]===t.data.pointerId){this.touches.splice(e,1);break}var r=!0,i=!1,n=void 0;try{for(var o,a=this.pluginsList[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){o.value.up(t)}}catch(t){i=!0,n=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw n}}this.clickedAvailable&&0===this.countDownPointers()&&(this.emit("clicked",{screen:this.last,world:this.toWorld(this.last),viewport:this}),this.clickedAvailable=!1)}}},{key:"getPointerPosition",value:function(t){var e=new PIXI.Point;return this.interaction?this.interaction.mapPositionToPoint(e,t.clientX,t.clientY):(e.x=t.clientX,e.y=t.clientY),e}},{key:"handleWheel",value:function(t){if(!this.pause){var e=this.toLocal(this.getPointerPosition(t));if(this.left<=e.x&&e.x<=this.right&&this.top<=e.y&&e.y<=this.bottom){var r=void 0,i=!0,n=!1,o=void 0;try{for(var a,s=this.pluginsList[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){a.value.wheel(t)&&(r=!0)}}catch(t){n=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(n)throw o}}return r}}}},{key:"toWorld",value:function(){if(2!==arguments.length)return this.toLocal(arguments[0]);var t=arguments[0],e=arguments[1];return this.toLocal({x:t,y:e})}},{key:"toScreen",value:function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.toGlobal({x:t,y:e})}var r=arguments[0];return this.toGlobal(r)}},{key:"moveCenter",value:function(){var t=void 0,e=void 0;return e=isNaN(arguments[0])?(t=arguments[0].x,arguments[0].y):(t=arguments[0],arguments[1]),this.position.set((this.worldScreenWidth/2-t)*this.scale.x,(this.worldScreenHeight/2-e)*this.scale.y),this._reset(),this}},{key:"moveCorner",value:function(){return 1===arguments.length?this.position.set(-arguments[0].x*this.scale.x,-arguments[0].y*this.scale.y):this.position.set(-arguments[0]*this.scale.x,-arguments[1]*this.scale.y),this._reset(),this}},{key:"fitWidth",value:function(t,e){var r=void 0;return e&&(r=this.center),t=t||this.worldWidth,this.scale.x=this.screenWidth/t,this.scale.y=this.scale.x,e&&this.moveCenter(r),this}},{key:"fitHeight",value:function(t,e){var r=void 0;return e&&(r=this.center),t=t||this.worldHeight,this.scale.y=this.screenHeight/t,this.scale.x=this.scale.y,e&&this.moveCenter(r),this}},{key:"fitWorld",value:function(t){var e=void 0;return t&&(e=this.center),this.scale.x=this._screenWidth/this._worldWidth,this.scale.y=this._screenHeight/this._worldHeight,this.scale.x<this.scale.y?this.scale.y=this.scale.x:this.scale.x=this.scale.y,t&&this.moveCenter(e),this}},{key:"fit",value:function(t,e,r){var i=void 0;return t&&(i=this.center),e=e||this.worldWidth,r=r||this.worldHeight,this.scale.x=this.screenWidth/e,this.scale.y=this.screenHeight/r,this.scale.x<this.scale.y?this.scale.y=this.scale.x:this.scale.x=this.scale.y,t&&this.moveCenter(i),this}},{key:"zoomPercent",value:function(t,e){var r=void 0;e&&(r=this.center);var i=this.scale.x+this.scale.x*t;return this.scale.set(i),e&&this.moveCenter(r),this}},{key:"zoom",value:function(t,e){return this.fitWidth(t+this.worldScreenWidth,e),this}},{key:"snapZoom",value:function(t){return this.plugins["snap-zoom"]=new f(this,t),this.pluginsSort(),this}},{key:"OOB",value:function(){var t={};return t.left=this.left<0,t.right=this.right>this._worldWidth,t.top=this.top<0,t.bottom=this.bottom>this._worldHeight,t.cornerPoint={x:this._worldWidth*this.scale.x-this._screenWidth,y:this._worldHeight*this.scale.y-this._screenHeight},t}},{key:"countDownPointers",value:function(){return(this.leftDown?1:0)+this.touches.length}},{key:"getTouchPointers",value:function(){var t=[],e=this.trackedPointers;for(var r in e){var i=e[r];-1!==this.touches.indexOf(i.pointerId)&&t.push(i)}return t}},{key:"getPointers",value:function(){var t=[],e=this.trackedPointers;for(var r in e)t.push(e[r]);return t}},{key:"_reset",value:function(){this.plugins.bounce&&(this.plugins.bounce.reset(),this.plugins.bounce.bounce()),this.plugins.decelerate&&this.plugins.decelerate.reset(),this.plugins.snap&&this.plugins.snap.reset(),this.plugins.clamp&&this.plugins.clamp.update(),this.plugins["clamp-zoom"]&&this.plugins["clamp-zoom"].clamp(),this.dirty=!0}},{key:"removePlugin",value:function(t){this.plugins[t]&&(this.plugins[t]=null,this.emit(t+"-remove"),this.pluginsSort())}},{key:"pausePlugin",value:function(t){this.plugins[t]&&this.plugins[t].pause()}},{key:"resumePlugin",value:function(t){this.plugins[t]&&this.plugins[t].resume()}},{key:"pluginsSort",value:function(){var t=!0,e=!(this.pluginsList=[]),r=void 0;try{for(var i,n=g[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){var o=i.value;this.plugins[o]&&this.pluginsList.push(this.plugins[o])}}catch(t){e=!0,r=t}finally{try{!t&&n.return&&n.return()}finally{if(e)throw r}}}},{key:"drag",value:function(t){return this.plugins.drag=new o(this,t),this.pluginsSort(),this}},{key:"clamp",value:function(t){return this.plugins.clamp=new s(this,t),this.pluginsSort(),this}},{key:"decelerate",value:function(t){return this.plugins.decelerate=new u(this,t),this.pluginsSort(),this}},{key:"bounce",value:function(t){return this.plugins.bounce=new h(this,t),this.pluginsSort(),this}},{key:"pinch",value:function(t){return this.plugins.pinch=new a(this,t),this.pluginsSort(),this}},{key:"snap",value:function(t,e,r){return this.plugins.snap=new c(this,t,e,r),this.pluginsSort(),this}},{key:"follow",value:function(t,e){return this.plugins.follow=new p(this,t,e),this.pluginsSort(),this}},{key:"wheel",value:function(t){return this.plugins.wheel=new d(this,t),this.pluginsSort(),this}},{key:"clampZoom",value:function(t){return this.plugins["clamp-zoom"]=new l(this,t),this.pluginsSort(),this}},{key:"mouseEdges",value:function(t){return this.plugins["mouse-edges"]=new m(this,t),this.pluginsSort(),this}},{key:"screenWidth",get:function(){return this._screenWidth},set:function(t){this._screenWidth=t}},{key:"screenHeight",get:function(){return this._screenHeight},set:function(t){this._screenHeight=t}},{key:"worldWidth",get:function(){return this._worldWidth?this._worldWidth:this.width},set:function(t){this._worldWidth=t,this.resizePlugins()}},{key:"worldHeight",get:function(){return this._worldHeight?this._worldHeight:this.height},set:function(t){this._worldHeight=t,this.resizePlugins()}},{key:"worldScreenWidth",get:function(){return this._screenWidth/this.scale.x}},{key:"worldScreenHeight",get:function(){return this._screenHeight/this.scale.y}},{key:"screenWorldWidth",get:function(){return this._worldWidth*this.scale.x}},{key:"screenWorldHeight",get:function(){return this._worldHeight*this.scale.y}},{key:"center",get:function(){return{x:this.worldScreenWidth/2-this.x/this.scale.x,y:this.worldScreenHeight/2-this.y/this.scale.y}},set:function(t){this.moveCenter(t)}},{key:"corner",get:function(){return{x:-this.x/this.scale.x,y:-this.y/this.scale.y}},set:function(t){this.moveCorner(t)}},{key:"right",get:function(){return-this.x/this.scale.x+this.worldScreenWidth},set:function(t){this.x=-t*this.scale.x+this.screenWidth,this._reset()}},{key:"left",get:function(){return-this.x/this.scale.x},set:function(t){this.x=-t*this.scale.x,this._reset()}},{key:"top",get:function(){return-this.y/this.scale.y},set:function(t){this.y=-t*this.scale.y,this._reset()}},{key:"bottom",get:function(){return-this.y/this.scale.y+this.worldScreenHeight},set:function(t){this.y=-t*this.scale.y+this.screenHeight,this._reset()}},{key:"dirty",get:function(){return this._dirty},set:function(t){this._dirty=t}},{key:"forceHitArea",get:function(){return this._forceHitArea},set:function(t){t?(this._forceHitArea=t,this.hitArea=t):(this._forceHitArea=!1,this.hitArea=new PIXI.Rectangle(0,0,this.worldWidth,this.worldHeight))}},{key:"pause",get:function(){return this._pause},set:function(t){(this._pause=t)&&(this.touches=[],this.leftDown=!1)}}]),r}();PIXI.extras.Viewport=v,e.exports=v},{"./bounce":1,"./clamp":3,"./clamp-zoom":2,"./decelerate":4,"./drag":5,"./follow":6,"./mouse-edges":7,"./pinch":8,"./snap":11,"./snap-zoom":10,"./utils":12,"./wheel":14}],14:[function(t,e,r){"use strict";var n=function(){function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}}();var o=t("./plugin");e.exports=function(t){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e=e||{},r.percent=e.percent||.1,r.center=e.center,r.reverse=e.reverse,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,o),n(i,[{key:"wheel",value:function(t){if(!this.paused){var e=void 0;e=this.reverse?0<t.deltaY?1+this.percent:1-this.percent:0<t.deltaY?1-this.percent:1+this.percent;var r=this.parent.getPointerPosition(t),i=void 0;this.center||(i=this.parent.toLocal(r)),this.parent.scale.x*=e,this.parent.scale.y*=e,this.parent.emit("zoomed",{viewport:this.parent,type:"wheel"});var n=this.parent.plugins["clamp-zoom"];if(n&&n.clamp(),this.center)this.parent.moveCenter(this.center);else{var o=this.parent.toGlobal(i);this.parent.x+=r.x-o.x,this.parent.y+=r.y-o.y}this.parent.emit("moved",{viewport:this.parent,type:"wheel"}),this.parent.emit("wheel",{wheel:{dx:t.deltaX,dy:t.deltaY,dz:t.deltaZ},event:t,viewport:this.parent}),t.preventDefault()}}}]),i}()},{"./plugin":9}],15:[function(t,e,r){(function(){var n;(function(t){"object"==typeof r?e.exports=t:"function"==typeof define&&define.amd?define([],t):this.penner=t})(n={linear:function(t,e,r,i){return r*t/i+e},easeInQuad:function(t,e,r,i){return r*(t/=i)*t+e},easeOutQuad:function(t,e,r,i){return-r*(t/=i)*(t-2)+e},easeInOutQuad:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t+e:-r/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,r,i){return r*(t/=i)*t*t+e},easeOutCubic:function(t,e,r,i){return r*((t=t/i-1)*t*t+1)+e},easeInOutCubic:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,r,i){return r*(t/=i)*t*t*t+e},easeOutQuart:function(t,e,r,i){return-r*((t=t/i-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t*t+e:-r/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,r,i){return r*(t/=i)*t*t*t*t+e},easeOutQuint:function(t,e,r,i){return r*((t=t/i-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+e:r/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+e},easeOutSine:function(t,e,r,i){return r*Math.sin(t/i*(Math.PI/2))+e},easeInOutSine:function(t,e,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+e},easeInExpo:function(t,e,r,i){return 0===t?e:r*Math.pow(2,10*(t/i-1))+e},easeOutExpo:function(t,e,r,i){return t===i?e+r:r*(1-Math.pow(2,-10*t/i))+e},easeInOutExpo:function(t,e,r,i){return(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+e:r/2*(2-Math.pow(2,-10*--t))+e},easeInCirc:function(t,e,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+e},easeOutCirc:function(t,e,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+e},easeInOutCirc:function(t,e,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+e:r/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i),o||(o=.3*i),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)+e},easeOutElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i),o||(o=.3*i),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),n*Math.pow(2,-10*t)*Math.sin((t*i-a)*(2*Math.PI)/o)+r+e},easeInOutElastic:function(t,e,r,i){var n,o,a;return a=1.70158,(o=0)===t||(t/=i/2),o||(o=i*(.3*1.5)),a=(n=r)<Math.abs(r)?(n=r,o/4):o/(2*Math.PI)*Math.asin(r/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*-.5+e:n*Math.pow(2,-10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*.5+r+e},easeInBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),r*(t/=i)*t*((n+1)*t-n)+e},easeOutBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),r*((t=t/i-1)*t*((n+1)*t+n)+1)+e},easeInOutBack:function(t,e,r,i,n){return void 0===n&&(n=1.70158),(t/=i/2)<1?r/2*(t*t*((1+(n*=1.525))*t-n))+e:r/2*((t-=2)*t*((1+(n*=1.525))*t+n)+2)+e},easeInBounce:function(t,e,r,i){return r-n.easeOutBounce(i-t,0,r,i)+e},easeOutBounce:function(t,e,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+e:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+e:r*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(t,e,r,i){return t<i/2?.5*n.easeInBounce(2*t,0,r,i)+e:.5*n.easeOutBounce(2*t-i,0,r,i)+.5*r+e}})}).call(this)},{}]},{},[13]),function(){"use strict";var c="undefined"==typeof WebKitCSSMatrix?new DOMMatrix:new WebKitCSSMatrix;function f(t,e,r){this.x=t,this.y=e,this.z=r}function p(e){try{return"undefined"==typeof WebKitCSSMatrix?new DOMMatrix(e):new WebKitCSSMatrix(e)}catch(t){return console.warn(e),console.warn(t.toString()),c}}function i(t){for(var e=c,r=t;null!=r&&r!==r.ownerDocument.documentElement;){var i=window.getComputedStyle(r,void 0).transform||"none";e=("none"===i?c:p(i)).multiply(e),r=r.parentNode}for(var n=t.offsetWidth,o=t.offsetHeight,a=4,s=1/0,l=1/0;0<=--a;){var u=new f(0===a||1===a?0:n,0===a||3===a?0:o,0).transformBy(e);u.x<s&&(s=u.x),u.y<l&&(l=u.y)}var h=t.getBoundingClientRect();return e=c.translate(window.pageXOffset+h.left-s,window.pageYOffset+h.top-l,0).multiply(e)}f.prototype.transformBy=function(t){var e=t.multiply(c.translate(this.x,this.y,this.z));return new f(e.m41,e.m42,e.m43)},window.convertPointFromPageToNode=function(t,e,r){return new f(e,r,0).transformBy(i(t).inverse())},window.convertPointFromNodeToPage=function(t,e,r){return new f(e,r,0).transformBy(i(t))}}(),function(){var t={exports:null};function e(t){var e=[],r=0;if(this.trie=this.createTrie(t.patterns),this.leftMin=t.leftmin,this.rightMin=t.rightmin,this.exceptions={},t.exceptions)for(e=t.exceptions.split(/,\s?/g);r<e.length;r+=1)this.exceptions[e[r].replace(/\u2027/g,"").toLowerCase()]=new RegExp("("+e[r].split("‧").join(")(")+")","i")}e.prototype.createTrie=function(t){var e,r=0,i=0,n=0,o=0,a=null,s=null,l=null,u=null,h={_points:[]};for(r in t)if(t.hasOwnProperty(r))for(e=t[r].match(new RegExp(".{1,"+ +r+"}","g")),i=0;i<e.length;i+=1){for(a=e[i].replace(/[0-9]/g,"").split(""),s=e[i].split(/\D/),u=h,n=0;n<a.length;n+=1)u[l=a[n].charCodeAt(0)]||(u[l]={}),u=u[l];for(u._points=[],o=0;o<s.length;o+=1)u._points[o]=s[o]||0}return h},e.prototype.hyphenateText=function(t,e){e=e||4;for(var r=t.split(/([a-zA-Z0-9_\u0027\u00DF-\u00EA\u00EC-\u00EF\u00F1-\u00F6\u00F8-\u00FD\u0101\u0103\u0105\u0107\u0109\u010D\u010F\u0111\u0113\u0117\u0119\u011B\u011D\u011F\u0123\u0125\u012B\u012F\u0131\u0135\u0137\u013C\u013E\u0142\u0144\u0146\u0148\u0151\u0153\u0155\u0159\u015B\u015D\u015F\u0161\u0165\u016B\u016D\u016F\u0171\u0173\u017A\u017C\u017E\u017F\u0219\u021B\u02BC\u0390\u03AC-\u03CE\u03F2\u0401\u0410-\u044F\u0451\u0454\u0456\u0457\u045E\u0491\u0531-\u0556\u0561-\u0587\u0902\u0903\u0905-\u090B\u090E-\u0910\u0912\u0914-\u0928\u092A-\u0939\u093E-\u0943\u0946-\u0948\u094A-\u094D\u0982\u0983\u0985-\u098B\u098F\u0990\u0994-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BE-\u09C3\u09C7\u09C8\u09CB-\u09CD\u09D7\u0A02\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A14-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A82\u0A83\u0A85-\u0A8B\u0A8F\u0A90\u0A94-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABE-\u0AC3\u0AC7\u0AC8\u0ACB-\u0ACD\u0B02\u0B03\u0B05-\u0B0B\u0B0F\u0B10\u0B14-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3E-\u0B43\u0B47\u0B48\u0B4B-\u0B4D\u0B57\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C02\u0C03\u0C05-\u0C0B\u0C0E-\u0C10\u0C12\u0C14-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3E-\u0C43\u0C46-\u0C48\u0C4A-\u0C4D\u0C82\u0C83\u0C85-\u0C8B\u0C8E-\u0C90\u0C92\u0C94-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBE-\u0CC3\u0CC6-\u0CC8\u0CCA-\u0CCD\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D60\u0D61\u0D7A-\u0D7F\u1F00-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB2-\u1FB4\u1FB6\u1FB7\u1FBD\u1FBF\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD2\u1FD3\u1FD6\u1FD7\u1FE2-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u200D\u2019]+)/g),i=0;i<r.length;i+=1)-1!==r[i].indexOf("/")?0===i||i===r.length-1||/\s+\/|\/\s+/.test(r[i])||(r[i]+=""):r[i].length>e&&(r[i]=this.hyphenate(r[i]).join(""));return r.join("")},e.prototype.hyphenate=function(t){var e,r,i,n,o,a,s,l,u,h=[],c=[],f=t.toLowerCase(),p=Math.max,d=this.trie,m=[""];if(this.exceptions.hasOwnProperty(f))return t.match(this.exceptions[f]).slice(1);if(-1!==t.indexOf(""))return[t];for(e=(t="_"+t+"_").toLowerCase().split(""),r=t.split(""),s=e.length,i=0;i<s;i+=1)c[i]=0,h[i]=e[i].charCodeAt(0);for(i=0;i<s;i+=1)for(a=d,n=i;n<s&&(a=a[h[n]]);n+=1)if(l=a._points)for(o=0,u=l.length;o<u;o+=1)c[i+o]=p(c[i+o],l[o]);for(i=1;i<s-1;i+=1)i>this.leftMin&&i<s-this.rightMin&&c[i]%2?m.push(r[i]):m[m.length-1]+=r[i];return m},t.exports=e,window.Hypher=t.exports,window.Hypher.languages={}}(),jQuery.fn.hyphenate=function(r){if(window.Hypher.languages[r])return this.each(function(){for(var t=0,e=this.childNodes.length;t<e;t+=1)3===this.childNodes[t].nodeType&&(this.childNodes[t].nodeValue=window.Hypher.languages[r].hyphenateText(this.childNodes[t].nodeValue))})},function(){var t={exports:null,exports:{id:"de",leftmin:2,rightmin:2,patterns:{3:"2aaa1äa1ba1da1ga1j2aoa1öa1p2aqa1ßa2ua1xä1aä1bä1dä1gä1jä1k1äqä1ß1äxä1z1bibl21cacä3c1dc4h1cic1jc4k3co2cp2cs3cu1cy1de1did1ö1due1be1d4eee1fe1ge1ke1m2eoe1pe1qe1ße1te3üe1wey1e1z1fa1fä1fe1fi1fo1fö1fu1fü1fy2gd1geg1n1guh1j2hl2hnh1q2hr4hsh2ü2hwh1zi1a2iä2ici1d2ifi1ji1ßi1üj2u1ka1käkl21ko1kök1q2ks1kü1le1li4ln1lo1lö1ly1ma3mä1me1mi1mo1mö1mu1mü1my1na1nä1ne1nin1j1noo1b2oco1d2oi2ol2omo1qo2uo1vo1xö1bö1dö1e1öf2önöo1ö1ßö1vö1wö1zp2a1päp2e1php1j1puqu42rc1re1ri4rnr1q1ru1rü1ry1sa1sä1sc1se1si1so1sös1t1su1sü1ße1ßiß1j1ßu1ta1tä1tet1h1ti1to2tö2ts1tu2tü2ua2ucu1h2uiu1ju1lun12uou1q2usu1w1üb2üc2üdü1gü1k2ünü1ß2ütü1vü1zve2v2r2vsw2aw2ä2wnw2rw2ux1a1xe1xix1jx1q1xu2xyx1zy1by1ey1gy1hy1jy1ly1py1ry1vy1wy1yzä2zu1zw2",4:"_ax4_äm3_ch2_en1_eu1_fs4_gd2_gs4_he2_ia4_in1_ks2_oa3_öd2_pf4_ph4_ps2_st4_th4_ts2_um3_ur1_xe3a1abaa1ca3au2abaab1ä1abd1abf1abg1abh2abi1abkab1l1abnab3r1abs2abu2abü1abw2aby1abz2aca2acc2acu1add2adf2adh5adj2ado2adp2adq2adu2a1eae2bae2cae2da2ekae2pa2eta2ewae2xaf1a2afe2afia2fö2agaag2n2agt2ah_2ahsa1huah1wa1hyaif2a2il2aisaje22ak_2akb2akc2akd4ako2aks1akza1laa1lä2ale2ali2aloa1lu4aly2am_2amä2amf2amk2amla2mö2amu1anb2ane1anf1anh2anj1anl2anna1nö1anra1nü1anwao1ia1opa1or2ap_2apa2apea2pfap2n2apr2ar_a1raa1rä1arb2are2arf2arh2ari2arr2arua2rü2arv2ary4asha2söa2süaße22a1tata1at2cat2eat2h3atmat1ö4atra3tü2au_2aub4auc2aue2aug2auj4aum4aunau1o2auu2auw2aux2auz2a1ü2a1v4avia2vr2a1wax2eays4ay3t2a1zaz2aaz2oaz2uäb2sä1ckä2daä2dräd2s2ä1eäf3läf3räf2säg2näh1aä3hi2ähm2ähsä1huäh1wä1imä1la2äleä1lu2ämläm2s2än_2äne2änsä1onä1paär1äär1c4äreä1röä2rü1ärzä3suä3teät2häu1cä2uf1äug4äul2äumä2un2äur1äuß4ä1v3bah3basb2ärb2äs4b1bb3bebb2sbbu12b1c3be_3bea3beb3bek3bel1bembe1o3bet1bezbge3bib23bilbiz24b1j2bl_b2leb2lo3blü2b1mbni2bo4abo2cboe1b1op2böfb1öl2b1qb2r42br_3brä3brü4b1sb3säb3scb4slb2söbss2bs2t4b3tb5teb4thbt4rbtü1bu2fbü1c2b1v2b1w3by1by3pbys2ca1h3camc4an3carcäs22c1ccch22cec2cefce1i2cek1cen1cer1cetce1u2c1f4ch_2chb2chc2chd2chf2chg2chh2chj2chk2chp4chs2cht4chü2chv4chw1chy2chzci1cci2s4ck_ck1ack1ä2ckb2ckc2ckd1cke2ckf2ckg2ckh1cki2ckk2ckm2ckp4cks2ckt1cku2ckv2ckw1cky2ckzclo1co2ccoi22c1qcre2cry2cs2ac2si4c1tcti22c1z3da_da1ad1afd1agda1sdä2u2d1cd3dhd5dodeg2d1eides1det2dga2d3gl3di_3dicdi2edi1p2d1j4d1ld3ladni2d1obdo2o2d1qd2r4d3rid3rö2d1s4dsb4dsld2södss4dst42d1td2thdto2d3tödt3rd3tüdu2fdu1idu1odur22düb3düf3dün2d1wdwa2dy2s2d1z2e1aea2ceak1eam3e2ase1ä22eba2ebl2ebre3bue1ce2ecle3cr2ected2eed2öee1eeeg2e1eie1en2ef_2efa2efe2efi2eflefs22efu2efüegd4e3gee2gn2egue1hee1hi2ehme1hoehs22ehte1hue1hüeh1we1hy4eibe2idei1ee4ilei1p2eire2it2eiu2e1jek2a1ekdek4nek2oek4r2ektek2ue1la2eli2eln2eloe1lü2elz2ema2emm2emüen3fe4nre4nten1ue1nüe1nye1ofe1ohe4ole1ore1ove1ö2e3pae3puer1ae1räer1cer3h2erie1roer1ö2eru2esbes2c2esf4eshes3l2esmes2ö2esp2esres3we3syes3ze3teet2he3tie3tö2etre3tü2etz2euf1euke1um2euneu1p2eut2eux2e1ve3vo2ewae3wä2eweew2s2ex_3exp2exuey4neys4e3ziez2wfab43facf4ahf2alf2arf3atfä1cf1äu2f1cfe2c3fewf1ex3fez2f1fff2efff4ff3lff2s3fi_fid2fi2ofi2r3fis3fiz2f1jf2l22fl_1fläf3löf4lü2föf2f1qf2r2f3ruf3rü4f1sf3scf3sifs2tf2süf3sy4f1tf2thf3töf3tü3fugf1umf2ur3fut2fübfü2r2f1v2f1w2f1zfz2afz2öfzu33ga_ga1c5gaiga1kgäs5gä4ugbi22g1cg1dag1dog1dögdt4gd1uge1cged4gef4g2el4g1gg3gegg4r2g1h4gh_gh2egh1lg2hugh1w2g1j4gl_2gls3glüg2ly2gn_gn2e2gng2gnp2gns2gnt2gnug2nüg2ny2gnzgo4a2goggo1igo1y2g1qg2r4gse2g4slgso2gsp4g4swg3sy2g1tg3tegt2sg3tügu1cgu2egu2t2gübgür1güs32g1v2g1w3haah1ahh1aph2as2h1c2heahe3x2hi_2hiahi2ehi2n2hio2hiuhlb4hld4hlg4hll2hlm2h2lo2h1mh2moh3möhm2sh2muh2nah2nähn2eh1nu2hodhoe42hoih2on2hoo2hop3hov1h2öhö2ch4örhr1chr3dhrf2hrg2h2rihrr4h3rüh2ryhrz2hss24h1th2thhto2h4tshtt4h3tühu1chu2n2hurhüs32h1vhvi23hyg3hyphz2o2ia_i4aai2ab2iaci2afi2ahi3aii2aji2ak2iali2am2iani2apia1q2iasi3au2iavi1ämiär22i1bib2oi2böice1idt4i2dyie1ci1eii1exif3lif3rif2s2i1gi2gli3go4i1hi3heih3mih3nih3rihs2ih1wi3i2ii4s2i1k4ikei2kni1la6ilbil2cilf22iloilv42im_2ime2imo2imt2imu2inein3f2inoi1nö2inp2inrin1ui1ny2i1oio1cio2dion2i2ori2oui2ovio2xi3ön2ip_i1pai1peiph2ip4li1pr2ips2ipu2i1qi1räir1cir2eir2i2irki1roi1rö2isb2iseis3ti2sü4itäi6tli3töi3tü2itzium12i1v2i1w2i1xi2xai3xi2i1zi2zöja1c2jatje2aje1cje2gje2pje3wji2ajit3ji2vjoa3jo2iju2kjus32j1v3ka_ka1ck2adk2agka2o3kask1ähk1änkär2kby42k3cki1c3kir2kiz2k3j4kl_k2lek1lu2kly2k1mk2n2k3nek3nu3knü3komk2onk2os3kowkö2fk1ölk2r4kst44k1tk2thktt2k3tükt3zku1ckuh12kübkü1c2k1v2k1w3la_1lad2laf1lai3lao1lawlay1lä1c1läd2läf4lät2l1blb2slb2u2l1c4l1dld3rldt43le_2lec3ledle2e3lehl2ek2leple2u3levl2ey2l1flf4u2l1glgd4l3go3li_3liali1cl2ie3ligli3l2limli2o3liu4l1j2l1klk2l4l1lllb4llg4llk4ll5mlln22l1mlm3plm3tlnd2l3nil1nul1nü3loklo2o2lox2löd4lög4löß2l1plp2fl3pu2l1q4l1s4l1tl2thl6tsltt2l3tü1luf4luo2lur3lux2lüb5lüd2l1v2l3wly3c3lynly1oly3u2l1zl2zölz1wm1abmae2ma1f3mas3maßm4aymb4lmby42m3c2m1dmd1ameb43mehme1o2meö3mesmeu13mi_mi1c3mig3mil3mit2m1jm3ka4m1lm3li4m1mmmd2mmm2mm3pmm2smoa33moh3mom3mos3motmo1ymö2c4mökm1öl2m1pm2pfm3pim3pu2m1q4m1sm3säm3scm3sem2süm3sy4m1tm2thm3tömtt2m3tümt3zmu1a3munm4us2müb3mün3müt2m1vmwa2my4s2m1z3na_n1af3nain1ar3nas3natn1au3näe3näs2näunby42n1cn2ck2n1dn2döndy33ne_2nec3nedn1efneg4ne2l3nenne2un2ew3nez2n1fnf2änff4n3finf4lnf2onf4rnf3s4n1gng3mn2gnn3hän3hen3hu3nian1idn4ie3niknin1n2ip2nitni3v3nix2n1k4n1nnn3fnng4n3ni3no_no1cn1of3nov3now3noz2nödn2ör2n1q6n1snsp4n3sy2n1tn3ton3tön4tsn3tun3tü1nu_1nud3nuenuf21nug1nuinu2n1nuo2nup2nur1nut1nuu1nux1nuz3nü_3nüs1nüt4n1w1ny_1nyhn1yo1nyr1nys1nyw2n1znz3so4aco4ado4aho2aro2aso4ato5au2obbob2e1objob1lo3cao1ceo1ck2odrodt4o2ecoen12ofa2ofiof3l2ofo2oft2o1go3ghogs2o1hao1häo1heo1hio1hooh1soh3to1huoh1wo3ieo1imo1inoi2r2o1j2o1kok4n4okrokt4o1lao1läol2io3loo1lu3olyoms2omy12ona2onä2onc2oneono1o1nuon3v1onyon3zoof2o1opo1oro1pao1pi2or_or1ao3räor1c4ore2orf2orh2orm2orq2orro3ru2osh2osio3sk2oso2o1to3tüoub4oug2o3uho3um2our2ouv2o1ü2ovi2ovo2o1wo3wiox2aox2eo2xu1oxyo1yo2o1zoz2eo3ziöb2l2ö1cödi3öf3lög3lög3rö1heö1huö1keök3r3öl_öls2öm2sön2eö3niön2sö1nuö1peör1cöru4ö2saö2spö2stö3su2ö1töt2höts2öze31pa_1paa1pacpag41pak1pap2paß1pat1pau3päd3pär3päs2p1b2p3cpda41pe_pe2a1pedpef4pei13pel1pem1pep3pet4pf_1pfäpff4pf3r2p1g4ph_ph2a2phä2phb4phd2phf4phg4phkph2l2phm2phn2phöph4r2phs2phz3pik1pilpi2o3pip3pispku22pl_3pläp4lo2p1n1p2opo1c3podpo2i3pokpo2wpo3xpö2c2p1ppp3lppt2p2r2p4rä2p1s4ps_p3sep2söp2st2p1tpt1ap3tep2thptt2ptü4pt3zpu1apub42puc2pur3put1püf2pülpün22p1v2p1w3py1pys4py3t2p1z1ra_r1abr2ad1raer2afr2air2alr2apr1arr2as2raß1rat1raür2ax4räf4räg2räh2rämrä2u2r1brbb2rb2orb2srb2ur1ce2r1dr2dördt43re_2reä3reg3rekre2u2reür1ew3rez2r1frf2u4r1gr1h42rh_2rha2rhä2rhö2rhsrid2r2ie3rigr2isr2itrix12r1j2r1krk4n4r1lrl2erl3t4r1mrm2urnd4r3nern3frng2r3nirn1ör1nur1nür1nyro1c2rof3roir2onr1or4roß2rox2röf4rögr1ök4röpr1örrp4erpf4r3porp3tr3pu2r1rrrb2rr1crr2or3ru4r1sr3sirs3lr3sor3sy4r1tr3tör4tsrtt4r3türt3zru1a3ruf4rug2rum3rut4ruz2rüb2r1v2r1w4r1xry2c2r1zrz2ö3sa_3saa3sams1an3sat3säl2sc_s2ci2scj4scl2scos2cr2scs2scusd4r3see3seh3seq3set2s1hsh2as3häsh3ns3hösh4rsib43sio2s1j4sk_4skbsk4lsk4n4skö4skss3läsl3bs3les3li4sna4snö3so_so4aso1c3sog3sol3somso3o3sos3sov3sow3sozsö2csö2fs1ös1sp22sp_s2pä2spls3pn4spy2s1q6s1sss3l6st_s2ta2stb2stdst2e2stf2stg4sth2stj2stk4stl4stm2stns2to1stö2stp2stqs2trst2u1stü2stv2stwsu2n3suv3süc3sün4s3v2s1ws3was3we1s4ysyl12s1zsz2os3zü2ß1c2ß1d2ß1f2ß1h2ß1l2ß1mß1o2ßos2ßst22ß1t2ß1ü2ß1v2ß1w2ß1z3ta_4taatah2t2ai2tam3tas3tav3tax4täbtä1c4täd3täe3täg2täh4tämt1äptä2st2ät2täx4t1ct4ckt3cr3te_2teh3ten3tes4th_th2e1thi2thk2thp2ths2thü2thvt2hy3tig3tik3tio3tip3tis3tiv2t1j4t3ltl4e3to_to1c3tod3tok3ton3too4toß3tow4töftö4l3tön4töß3töttpf42t1q2tr_3tritry14ts_ts1ot2söt3sy4t1tt3tit3tot3töttt4t3tut3tü2tub3tuc2tud3tue4tuf2tuh2tuk4tüb3tüf3tüm4t3v4t3wtwa21ty13typtys44t1ztz1ätz2öu1amu3auu1ayu1ämu1äu2u1bub2lub1ru1ce2u1d2u1eu2edu2eguen1u2ep2uffuf3luf3r2u1gugo3u2göu2gü2uh_uh1wu1ieu3iguk2au1keu1kiuk4nuk2öu1kuulb4ulg4u2lü1umf1umg1umk1uml4umm1umr1umz4un_u3ne2unk1unruns21unt1unw2unzu3ofuos2u1pau3piu1pr2ur_u1raurd22ure2urfu1röur3purt2u3ruurü2u2sü2u1ß2u1tu3teuto1u3töu3tüu1ü22u1xux2eux2oux3tu1ya2u1z2übc2übdübe2üb3lüb3rüd3rüf3lü2gnüg3süh1aü1heüh1iüh1süh3tü1huüh1wül1aül2cül4eü1luün2sünt2ü1nuü1peü1piür1aürr2ür2süs2aü2stva1cva1sv4at2v1b2v1dve3bve3cve3dve3gve3hve4ive3over1ves12veüve3v2v1g2v1hvi2cvig22v1k2v1m2v1n3vol3voyvö2c2v1pv3revs2e2v3t2v1v2v1w2v1z1waa1wag1wah1walwa2p1was1wäh1wäl1wäswbu22w1c2w1dwe2a1weg1wehwe2i1wet2w1g2w3h1widwi2ewik21wil2w1k2w1l2w1mwn3s1wohwot21wöc2w1pw3ro2w1sws2t2w1twti21wucwul2wus21wühwül2wün32w1w1xa_1xae2x1b2x1c4x1d2xekxe2lx1emx2en3xes2x1f2x1g2x1hxib4xi1cxi3gxil12x1l2x1m2x1nx1or4x1p2x1r4x1txt1äxt1uxu1axu2s2x1v2x1w3xy_3xys1yacy1äty1c2y1d4y2efy1f2ygi2yg2lyhr2y1i4y1k2yl3cynt2y1nuy1ofyom2y1osy1ouypa2ype2y2pfy3phypo3y3riyrr2yse1y1t2yu2ry1z2za1c3zahz1anz1as2z3czdä1ze1e2z1h2z1j3zolzo2oz1orz1öl2zön2z1qz3saz3shz3skz3sz2z1tz3töz3tüzu3azub4zud4zu3kzuz22züb2z1v4z1zzz2ö",5:"_ab1a_abi4_ab3l_abo2_ack2_ag4n_ag4r_ag2u_ai2s_ang2_an3s_apo1_aps2_as3t_at4h_au3d_ät2s_by4t_dab4_de1i_de1s_dü1b_dys1_ei3k_eke2_enn2_er1e_erf4_er1i_es1p_et2s_eu3t_ext4_fe2i_fi2s_ga4t_ge3u_hi2s_im2a_im5m_in3e_ink4_inu1_ire3_is2a_jor3_ka2i_ki4e_kus2_li2f_ma3d_ma2i_me2e_ne4s_ni4e_nob4_nus2_ob1a_obe2_or2a_ort2_ozo4_pro1_ro4a_ro3m_rü1b_sch4_sha2_te2e_te2f_te2s_ti2a_tid1_ti2s_to2w_umo2_un3d_un3e_un3g_un3s_ur2i_ut2a_ut3r_übe4_vo4r_wa2s_wi4e_wor2_ya4l_za2s_zi2e_zwe2aa2beaa2gr4a2araart2aas5tab2äuab1ebabe1eabei12abela3ber2abet2abew3abfiab1irab1it2ableab3liab4loa2blua2bo_ab2of2abora3braa4brä2abrü2abs_abs2aab5scab3spabst4ab3szab1uraby4ta1cem2ach_ach1a2achba1che4achfa1chiach3lach3mach3na1choach3öach3ra4chta1chuach3ü2achvac1in2ada_ad2agada2m4adav1a2dä2ade_2aden4a3diad2obad3ru2ads2ad3stad3szad2t1ad4tead4tra2elaa2eleae2o3aes5ta2faka2fana3faraf4ata2faua2fexaf2fl2af3lafo1saf3raaf3räaf3reaf3röaf2spag1abag1arag1auag2diag2drag2duage1iag2er2agesag3gl1aggr2a2glag4laa4glöag4nuag4roagsa2ags3pag2th2a1haah4at2a1heahe1sa1h2iahin3ah2löahnt21ahorah1osa2h3öahr1aah3riaht3saian3aid2sai1e2aien3ai3g4a3ik_ai3keai3kuai2loa1indain4ea1ingai2saaiso2a3iv_aive3a3ivla3ivs2akal2akarak4at4a1kea2kefa2keu2a1ki2ak3lak4li2a1kr4akra3akroak3sh2akta2aktb2a1kua2kun4a3kü2ala_al1abal1afala2ga3lalal1ama2larala4s2alatal1aual1ämal2bralb3sal2däal2dral3dualen1ale2pale4talf4r3algi3almba2l1öal3öfal2ös1alphal2ufa2lumal1ural2zw2am2aamab4amad2ama3g2am4e4ame_a2meba3meta2mewa3miea3mis2ammlammu2am3pr2am2sam3sa1amt_am4töam2tu2ana_2anabana3ca3nak2anam2ananan1äs2anbuan3ch2and_2andua3nee2anfi4ang_2angf2anghang1l2angoang1r2a3ni2ank_an3klank1rankt42anmu3annäan1oda3nola3nos2anpr1ansä1ansc2ansk2ant_2anto1antr1antw2a1nuanu3s2anzb2anzg2anzs1anzü2anzwa1os3ao3t2a3ot_a2pefap2faa3pfla3phäa2pht2ap3la2pot3applap3pu2a3pua3ra_ar2ab2arb_4arba2arbiar2bl2arbr2arbt2arbu1ar1ca2reaa4rega2reha4reka3renare3uar2ewarf1rar2glar2gnar2iaar1ima3riuarm2äarn2e2a1roar1oba2rorar2rh2arsaarse32arsiar2st2arto2artsar1ufar1uhar1umarwa2ar2zä2arze1arztas3aua2s1äa2sca4as2ea2seba3ses2asisas1ora2s1pas2phas2pias2poa3spuas2stas3teas3tias3to2astraßen3at1abat2afat4agata3la3tama2tatat1aua2t1ä4ate_a2teb4atena2tep4atesat3ha3athl4a3ti4atorat3räat3reat2saat2seat2siat2soat3taatt3sa3tubatu2nat2zoau2draue2baue2sau2faauff43aufn4au1iau2isau3lüaun2eau1nua4unz2aup22ausc1ausd3ausf1ausg1auslau2so1ausr1ausü1ausz2aut_2aute1autoauz2wa3v4aawi3eax4am2a1yaa1yeuaysi1ä2b3lä1cheä1chiäch3lä2chrä1chuäck2eäf2fläge1iäge3sä2g3lä2g3räg4ra1ä2gy2ä3heähl1aähl2eäh3neäh3riä1is_ä1iskä2k3lä2k3rälbe2äl2bläl2p3ämt2eän5deän2dräne1sän2f52ängeän2glän2gr2ä3niänk2eän2kränk2säp2pläp2präp4stär4afäre2när2grärk2särm2sär1o2ärse2är4siär2stärt4eär2thär2zwä5s4eäse3tä2s1päss2eäs2stäs4träte2nät1obä2t3rät2saät2sääts3lät4trät2zwäu2bräude3äu3eläuf2eäug3läu2maäun2eäu1nuäu3seä3usgä3uskä3usnäu2späu2trba2bl2babs2b1afbais2ba2kabak1lbak1rbal2a2b1amban2ab1ang2banlban3tb1anzbar3bbar3nba2scba2stbau3gbau1sba1yobben3bbe4pbb2lö2b3d4bde1sbe3anbe3arbe3asb2ebe1be1cbedi4be1eh3bef4be3g2beil2b2einbe3li1ben_ben3nbe1ra3be1sbes2abe1ur3b2ew2b1ex2b5f4bfal22b1g2bges42b5h2bhut2bi3akbibe2bie2sbik2abil2abi2lubin2ebi2o1bio3dbi3onbiri1bi3seb1isobi2spb2it_b2itebi2tu2b1k4b3lad3blatb3leb3blemb4letb3leub2lie2bligb4lisb2litb4locb3los2blun3blut4b3n2bnis1bo5asb1ob3bo2blbo2brbo3d22b1ofbo3febo1is3bon_bond1bo2ne3bonsbo4räbor2sb1ortbo2scbo3thbo2xibö2b32b1p2bpa2gb4ra_b4rahbrä4u2bre_3brea2breg3bremb4rer2brigb4riob3rohb4ronb4rucbru4sbs3arbsat2b4särbs2äubs2cabs4cub3se_bse2bbsi4tbs2kubso2rbs2plb3stob3stöb3stübtal3btil4b4ts2bu2e3bu3libung4b2urgbu2sa2b3z22c1abca2chca2e3ca3g4cal3tca2pecar3ncas3tca1y2ceco4ce2drcen3gcere3ce3sh2ceta2chab2chaf1chaoch1äs1chef4chei2chic2chl2ch2lech2lu4ch2m2chn42chobcho2fch1ohch2r44chrech3rh2chuf2chuh2chum1cka_2ckac1ckag2ckalcka4r2ckau2ckeh2ckexck1imck1in3ckis2ck3l2ck3nck1o22ck3rckt2e3c4l2clet4co3chco2d2co3dicoff4co1itco2keco2lecol2oco2peco1racor3dco3recos3tco4te1c4r2cte3ecti4octur6cu2p32d1ab2d1acd2ac_dagi2dah3lda1ho3d4aida1inda1isdal2ada3löd1altdamo3d4ampd2an_d1ang2danw2d1apd2aph4dapp3darlda2rod3arrdar3sd1artda2rudas4tdat2a4datmdau3e2dauk2d1äh2d1äp2därzdä3us2d1b4dbu2cdco4r2d1d2ddar2de2adde3asde3b43de1cde1e4de3gldehe2de3hod2eicde2löd2en_dend2den3gd2enhde2nide1nude1ondepi2d4er_de3rude2sade2spde2sude1unde3us2dexp2d1f42d1g2dga3gd2ge_2d1h2d2hisdi4abdi2addi4amdi1cediet3dik2adin2adi2obdi2spdist2di2tadi2thdit3sdi2tu3di5vdi3z22d1k4d3l2edli2f2d3m24d5n2dnis1d2obadob4ld2obrdole4doll22doped2opp2dorc2dordd2orp2dortd2os_dos3sdost1dot6hdo3undö2l13d2ör2d3p2drag4d3rai2drädd4räh4dre_2dreg4drem2d3rhd4ri_d4ridd4ried4rifd4rikd4rild3robd3rocd4roid3roud5rubdrü1bd2sands1änd3seidse4td3shodso2rd2späds2pods2pud2steds2tids2tud2sundta2dd5teadt3hodt5s2du1ardub3l2d1uh2dumd2dumf2dumg2dumld2ump2dumrd1umsdung42dunrdun2s2duntdus3t2d1v2e3a2beab3lea2drea2g4ea3gaea3gleakt2ea2laeam1oea2nae2anoe3ar_ea2rae3arre3arveas3se3athea5tre3aug2ebedebe2i2ebeleb2en2ebeteb3loeb2lö2eb2oebot2ebö2seb4rueb2s1ebse22e3caech1äe1chiech3lech3mech3ne1chuech1weci6a2eckteco3dec1s4e3d2aed2dre3deiede2re3d2oeds2äed2suedu2se3dy3ee3a2eeb2lee2ceee1chee2ckeede3e1effeef4leef3see1imeel2ee1empeena2e2enäe2encee3nie2enoeen3see1rae1erde1erkee1röeert2e1erzee3s2ees3kee3taee2thee1u2e1e2xef1are2fate2fäue3fe_ef1emef2er2eff_1effief2flefi2s1efkue3fraef4rüef3soef3spe2fumege1ue2gloeg3nieg2thegus32e1ha2e1häeh2eceh2ele3hereh1läehle2eh3loeh3mue3holehr1äeh3rieh3sheh3übei2blei3de2eidn1eifrei3gl2eigt2eigu2eil_2eilbeil3d2eilne1impei4näein3kei3o2eip2fei3ree1irre2is_2eitäei3teei2theitt4e3ke_e3kene3kese3keye3k2lekt2oe3k2wela2cel1afela2h2elaoela4s2e1läel2da2ele_elea2ele2c2eleh2elei1eleke3lepel2ete3leu2elevele2x1elf_el3feelf4l1elfm1elfte3lieel3klel3leelm2ael5nae2lofe2lolelon2elö2selto22e1luel1ure2lyaelz2eema2keme2se2mop3empfem2saem2stem3t21emule2n1a4ena_2enace3nade4naf4enahe4nak4enam4enaten1äu2ene_2enem2enen2enesenf2aenf2uen3geen2gl1engpe3ni_e3nice2nide3niee3nio2enise3nit2enive2nofen1ohe3nolen1one3noteno2w2e1nöen3sp1entd1entn2entü1entw1entz2enut4enwüeo2fee1on_e1onde1onfe1onhe1onle1onre1onse1opee1opfeop4te3or_e3orbe3orse3orweo1s2e3os_eo3ulepa2gep3leep2paep4plep2prept2aepu2se3ra_era2ge1raie2rake1rale1rape2rare1rasera2ße1rawe1razer1äher1ämerb2eer3brer3da1erdber3de4ere_er1ebere2l2erer2ereserf2eerf4rerg3s2erhüe3ribe3rio2erk_erk3te3ro_er3oaer1ofer1ohe3rone3rose3rowerö2d2eröker3p4er3rä2errüers2aer3seers2ier3sker3sner3sper3sz4ertier3uzerü4bes3abes3ake3sceesch2es2eles2hues2ide2siles2ire4skees3kles3kue4skye3sote3spies3sces3se2essoe1stre1stues4tüeße2setab4et1am3etapet4atet1ähet2enete2oet3hüeti2m2e3toeto2bets2pet3suett1aet2thet2zäet2zweu1a2eu2gaeugs4euil4eu1ineu2käe3um_e3umbe3umleun2eeu1o2eur2eeu3speust4eut2heu2zw4everewä2se2we_e3wirewi2se3witex3atex1er1exis2ext_ex2tu2e3xye3z2aezi2sf1abefab5sfa2drfaib4fa2ke2fanb2fanf2fanlf1anp2fanrfan3s2fanw2f1ap3farifa3shf3aug3f4avfa2xa2f1b22f3d4fdie2f2echfe2drfe2eife1emfef4lf4eief1eisfel3tf2em_fem4m2fempfe2näfen3gfe2nof1entf2er_fe1raf2eref2ertf1erwfe2st3fete2fexpff3arff1auffe2eff3eiffe2mff4enf2fexff4laff4läff4lof3fluf3flüff3roff3röffs3t4f3g2fge3s2f1h2fi3atfien3fi3klfi2krfil3dfilg4fi3lif2inafi3nifin2sfi3olfi3rafis2afis2pfi3tu4f1k4f3ladf3lapf3länf4leef3lerflo2wf4luc2f3m2fma2d2f3n2fni2sfob2l2f1offoli3fo2nafon2efo2nu2f1opfo1ra3form2f1ök2f1ölför2s4f1p2f4racf5radfra4mf5rap2fre_f3recf3red2fregf3repf4reufri3dfri2e2frig1frisf3rocfro2sf3rotf2sanfs3arf4scefs4cofse4tf2sphfs1prfs3s4fs3thf4ta_f2tabft1afft1anft1arf3tatft3hoft1opft2s1ftsa2ftse4ft3stf2tumftwa4ft3z23f2uhfung42funt2gabfgab4r2gabz2gadlga1flga2kagal2ag4amo2ganbgan3d2ganh2ganl2ganwga1ny2garb2garc3gardg2arsga3ruga2saga2siga3spgas3sgat2a2gatmgat4rgau1cg2aukg1aus2g1äp2gärz2g1b2gber2gby4tgd1ing1d3rgd3s2ge3a2geb2ageb4rge1e2ge3ecge2esge1imge1irge2isge3lege3lügelz2ge3migem2uge3nagen3ggen3ngeo2rge1ouge3p4ge1ragerm4ge3sigest2ge5trge1ulge1ur2g1ex2g1f4gga4tg2g3lgg4log2g3n3gh2rgie3ggi2elgi2gugi3negi3tugi4us4g3k2g1labg1lac3glad3glätg2l4e2gle_3gleag3lecg3leg2glehg3len2glesg4lia2glib2glif2gligg2lik4gling2lio2glisg2lizglo3gg2lom2g1luglu2t2g1m2g2n2ag4na_2gnacg4nat3g2näg3neh2gneug2nieg2nifg4nin3g2nogno1r2g1of2g1ohgol2a2gord2gorggo2s1go3stgo3th2g1p2g4rebg4remg4rerg3retg3revgri2e3grif2grig2groc2grohgron4g4rosgro4ug4ruf2grut4g2s1gsa2gg3salgs3angs3arg3s2cg4scagsch4g4scogs2ehgsen1gs3ergse4tgsi2dg3silg3spigs3plgsrü2gs5s4gs3tag3stog3stögs3trg3stugs3tügti2mg5t4rgu3amgu1as2guedguet42g1uhgu1is3gummgu4stgut1agut3h2g3z2hab2ahab2eh2absha1kl2haleh1alph1amth2an_h2andh4ann2hanr2hantha2plha2pr2harbh2ardhasi1h1äff2h3b22h3d4hdan2he2adhe3behe2blhe3brhed2ghee4she2fä2heffhe2frhe2fuhe3guh1eieh1eifh1eighe2im4heioh1eiwhe3lihe3lohe2lö3hemdhe3mi3hemmh2en_he2näheng22henihe2nohen3z4he2ohe3onhe3ophe3phherg22hermhe3roh1eröhert2he3thhet2ih2e2uheu3ghe1y22h3f4hfi2s2h3g2hget42h1h2hi2achi1ce2hi3dh2idehi2krh1infh1inhhi3nohi4onhi3or2hip1hi2phhi2pih2i2rhi3rahi3rihirn1hi3rohir2shis2ahi2sehi2sthi1thhi3ti2h1k4h4lachla2nh1lash1lath3lädh1läsh1läuh3lebhle3eh3lerh3lesh3lexh2lieh2lifh2liph2lish2lith3lochl1ofhl1oph4lorh3löch2löshl3t2h3lufh3lukh1lüfh2mabh3magh3manh3marh4mäch4mähh4mälh4mäuh3me_hme1eh3menh4monhm3p4hm3sahms1phn1adh3namhn1anhn3d4h2nelhn3exh2nich2nidh2niehn1imhn1inh2niphn3k4h2norhnts2h2nuch2nulho2blho2efho4fa3hole4holo3holzhom2ehono3ho1rahor3dh1orgho3slho2spho4st2hot_ho3thh1o2xho1y2hö3ckhö2s1h3öst2h3p2hr1achr3adh1raih3räuh2rech3redh3refh3relh3rephre2th3revh3richri4eh3rinh2robh3rohh3rolh4ronh2rorh3rouhrs3khr2suhr4swhr2thh3ruhh4rübh2sanh2sauh2späh2sphh1stah1stoh2s1uh2t1ahta4nht2ash2tärht1ehhte2sh4thohtod1h3töpht4riht3röht2soht2sphtti2ht3z2hu2buhuko3hu2lähu2loh1umsh1unah1up_h1upshurg2hu3sahu2sohu2tihut2th4übsh3übuhvil4hwe1c2hy2thzug4iab4liaf4li3ak_i3akti5al_ia2läial3bial3dialk2i3allia2lui3am_i4amoian2ei3anni2anoi3anti3anzi3ar_ia2rai2ascia3shi2asiias3siast4i3at_i4ate1iatri3atsia3uni1är_i1ärsi1ät_i1ätaib1eiibe4nibi2ki3blai3blei4bräich1aich1äi1chei1chiich3lich3mi1choi1chuich1wi3damid2ani2deiidni3i2dol2i2drie3a2ie2bäie2blie2ckie2drie1e2iel3di1ell2i1eni3en_i3enai3endi2enei3enfi3enhi3enji3enki3enmi3enni3enöi3enpi3enrien2sie1nui3envi3enwi3enzie1o2i2erei4erii1ernie2röie3sui1ettieu2eie1unif1arif4atif1aui2fecife2iif2enif2flif4läi1flüif4rai1freif3seif3spif2taiga3iig1läig4nai4gnäig4noig4raig3säig4seig3soi2harihe1eihe4ni4is_i4i3ti2käri3ki_ik1ini2k3lik3noiko3si2kölik3räik3reik1s2ik3soik3szikt2eikt3ri2kuni3kusi1lä1il2daild1oil2drile2hil1el2ill_2illsil3öfi1lu2i2lumi3lusim4ati2megi2meji2meki2mew1immo1impoimp4s1impuim2stin2afin3ami3napina4sin1äsin3do2indrin3eii3nelin1euine2x2ingain2gl4inhei3nie2inigin2ir2inis2inn_2innlin1odin1orino3tin3suint2hin3zwi2odaio3e4iof4li2o3hio3k4i3ol_i3om_i3omsi3on_ion3di2onyi2o1pio4pfi3opsi3opti3or_i3orci3orpi3orsi3ortio3s2i2osti3ot_i3otsi3oz_i1ö2ki1ös_ipen3i3perip3fa2i1piipi2sip2plip3pui1r2ai3radirat2ir2bli3ree2irekir2glirg4sir2he2irigir4mäir2no1ironiro2sirr2hir3seir3shir2sti3sacis2api2saui2scaise3eisi2ais1opis1pais1peis3sais2stis4töis4tüit1amit1ani3tatit1auit2ärität22itelite4ni2texi5thr1itiii5tocit3rei3truit2sait2soit1uhitut4it2zä2i3u2i2vebive4niwur2ix2emiz1apiz1auize2niz4erizo2bi2z1wja3nejani1ja1stje3najet3tjo2b1job3rjoni1jo1rajord2jo2scjou4lju2blju3nijur2ok3a2aka3ar2kabh2kabska1frka1inka3kak1allkalo5k3amakand4kan2ekank42kanlk1anska3nu2kanw3kara2karbk2ardk2argk2arkk2arskar3tkaru2k2arwka3sekasi1kas3s2kattk1auskäse32k3b4kbo4nkbu2s2k3d2k1effkefi4kege2ke2glk1einkei1skeit2ke2lake2läkel1ek4eltk2en_ke2no2keo2ke2plk2er_k2erck2erlkerz2k6es_ket3ske1up2k3f42k1g22k1h4kho3mki3a4ki3drki2elki3k4ki3liki3lok2imik2in_k2ing2kinhk2inik2innkin3ski3orkio4skis2pkist2ki3zi2k1k44kla_k4lar4kle_4kleh2klic2kligk2link3lipk2lir4klizk4lopklö2sk2lötkluf23knabk4neiko2al2kobjkoff4ko1i2kol4ako3leko4muko3nu2kop_ko1pe2kops2kopzko3riko2spko2stko3ta2k1ouko2wek1o2x2k1p2k4rawk4raz2kre_2kreg2k3rh2krib2krip3kris2krufkrü1bk2sanks3ark2sauks2änksch4ks3hak3sofks1pak3speks2puks3s2k1stak1stek1stok1strk1stuk2s1uk3talkt1amkt1anktä3skte3ekt1eik2texkt3hokt1imk3topkt4rokt3s4kul2a4kulpkung42kuntku2roku2spkus3tku2sukür4s2k3z2kze3lla3ba2labb2labf2labg2labhlab2ol2abrl1abt3labu2labwla1celad2il1adl2ladm3ladul1advla2falaf3slaf3tla2gala2gnlago2l2akk2l1al4lall4lalpl2amil2amp2lanb2lanf2lanll1anp2lanslar3sla2ru4lasdla3se2lash2lasila2so2laspla2stlat2ala3telat2s1lauglawa41länd2läub2läuc2läue1läufl3bacl3blälb3lel2blil3blolb3salb3selb4sklb3splbs6tl3chel3chilch3llch3rlch3ülch1wlda2gld1all3daml3dasl3datld1auld1ärl2deil2dexldo2rld2osld2ö2l2dreld4rüld3sald3stld3thle2adle2bl4leddle3dele3eilef2ale2gäle2glleg4r4lehs4lehtl2eicl2eidl2eitlel3s4lemplem3sl2en_le2näl2enfle3nil2enkle1os3lepa3lepf3leprl2er_lerb4lerk2ler3tl1erzles2ele3shlesi1le3skles2t4lesw2lesy2leto4leud3leut2lexe2lexzl3fahlfe1elf3lolf2trlfur1lga3tlg3rel3gro2l1h23lhi_li3acli3akli3amli3arlia1sli3b4libi34lickli4ds3lie_lig4nli3keli2krlil2a3limol1inv2linzli4om3lis_li2spliss2lit2ali3telit2hli3tu2lixili2zalk3lolk4nelk4ralk2s1lk3sälks3tl3k2ülla2nl3lapll1aullch4ll3d4ll2emll2esl2lexll3l2ll1obl3lowll3shll5t4llu2fll1urll3z2lme2el2möllmpf4lms2tlna4rl3n4e2lobjl2obrlo1fllof4rloi4rlol2a2lopf2loptlo1ralo4rä2lorcl1ordlo3ro3lorq3los_lo4sa3loselo2talot4h2l1ovlo2velö2b3l2ö2fl1öhrlpi4plp3t42l3r2lre1slrut4lrü1bl3sacl2saul3sexl4shalsho2ls2pols3s2lst2al2stels4trls2tuls1uml2sunlsu3sl2tabltag4lt1aklt1ehlt2enlt3hol3thul2toblt1oplto2wlt1öll3törlt1ösl3trält3relt3sclt2solt1uhlu1anluba2lubs2lu2drlu2es2lufflu2golu2gu2l1uhlume22lumf2lumll2umpl1umsl1umw1lu2n2lunt2lunwl1urnl1urt2luselu2splu4stlu2tälüh1lly1ar2lymply3nolzo2flz3t2m2abe2mabk2mabs2mabtma2cima3damal3dmalu4mam3m2manbm2anfm2anh2manlm4ann2manzma2orm2app2marb4marrm1arzmat4cma3unma1yom1ähnmä1i2m1ärg2m1b2mbe2em3b4rm2d1äm2deimds2em2e1cmedi32medyme1efmega1m2eil3meldmell2m2en_m2ens2meou3mer_me1rame2ro3mersmes1ame4sä4mesume3th2m1ex2m1f4mfi4l4m1g22m1h4mi2admi3akmibi1mi3damie3lmi2ermi4etmi2kimi2ku4milzmi3nimi1nu3mir_mi3ra3miri3mirs3mirwmi2samise1mi2tami2th4mitz4m1k4m2mabmm1eimm3simm3spm2mummm2unmmül22m3n22mobj3m2odmo2dr4mog_mo2i32mol_mom2e3m2onmo3ne3mo2o2moptmo1ramork4m1o2xmp2flm3ponmp3ta2m3r2m2sanm4sapms1asm2saumsch2m4scom4sexmso2rm2späms2poms2pums3s2m3stoms4trms4tüms1ummt1abmt1akm3tammt1armt3homti2smt1ösm4ts1mt2samt2semt1um2m3uhmu3la2mulsmu3nim4unkmunt24munzmu3ra3musimu2spmus3tmu2sumuts32m1w2mwa4rmwel42n1abna2bä4nabg4nabhna2bln2abona2br4nabt3n2ac4naddn2ade3n2ag3n2ahn3ahnnai2en1aig2n1akna2ka3nakon2al_na2län4alena2lu2nalyn4am_3name3namon1an_4nanb2nanh2nani4nank2nanl3nannna3non1anp2nanr2nanw5nar_2narcn2ard4narg3narin2ark2narmn2arpn2as_4naspn4ata4natmnats14natt4naufn3aug5naui3n2äcn1ähn2n1ännä2scn2äss2n3b4nbe3nnbes4nbu2snch3mnd2agndat2nd1aun2dein2dobndo1cnd1opnd1orn2drönd3thndt4rn2dü4ne2apne3asne3atne2bl3necane1ckne2de2nee33nehm2n1ein2eid4neifne2ke3nelanel3bne3lin2em_n4en_n2enbn2encn2enhne2nin2enjnen3kne2non2ensn2envn2enwne2obne1os2nepfn2er_ne1ranere2n1erfn1erh3nerin1erkne2ron2erpn2erv3n2esn4es_nes4cnes1one2thneu1cneu3gneur22n1exnf1aknfo1snft2on2f1ung1adng3d4n3gefn3gerng3g4ng3hun2glon2glöng3neng1orngs3cng3tsn2gum2n1h4n3hann3harn3haunhe2rnib4lni2deni3drnie3bni1elnig2anig3rni3klni2kr3n2ilnim2o2ninfni2obni3okni3olni3ra3n2isni2tinit4sni3tunk2amn2kähnke2cnk2lonk2lunk4nan2knenk2öfn2köl2n3l22n1m4n2naunne2snn2exn2nofnn3scnn3senn2thnn1ur3nobl2no2dno3drn3olen2on_3nor_nor2a2norc3norh3norm3norsn1ortno3shno2täno2tr2nö2f2n3p4npa2gnpro1npsy32n3r2n3savns2cans1ebnse2tn3sexn3siln4sphn2sponsrü2ns3s2ns2tins2tunst2ün2styns2umnta3mnt4atnt1ämnte2bnte1ent1ehnt2enn3ternteu3nte3vn3thrnti3cntmo2nt3sants2onts2pnts2tntum4nt3z21nu1anu3arnubi11nu1cnu2esnu2fe2n1uhnu3k4n2um_2numf2numg3numm2numr2nuna2nunt3nu2snu3scnu3senu3slnu2ta2nü4bnür1c2n1v2n3ver2nymun2zadn2zann2zärnz1ecn2zornz2öln2zwö2o3a2o4abioa3deo4a3ioa3ke2obano3bar2obe_2obea2obewobi4t2o3boo3briob3skobs2pob3sz2o3buobu2s2o3bü2oby4och1ao1cheoch3loch3moch1ooch3roch1socht2o1chuoch1wo3ckeo3ckio2ckoo3d2aod2dro3debo3dexo3diro2donodo4so2dre2o3du2o1e2o4e3so2e3to3et_o3etsof1amof1auof2eno3feroffs2of2fuof1laof4läof4löof3raof3räof4rüofs1aof3thoga3dog2loo3g4nog3spohl1aoh3looh2lu3ohngoh2ni1ohnmo2h3öohr1aoh1ro2o1hyo1i2do2isco1ismoiss2oi1thoki2ook1läo2labol2arol4drole3eoler2ole3sol1exol2faol2flolf1rol2glol2grol2klolk3rol2of1olymol2zwo2mabo2mebome3co2melo2mepom2esom3maom3pfomtu3ona2bo2naeo3nalon1apon2auonbe3one2ion3f2ong4rong3s4o3nion3k2onli4o3nodono3sons1aonsi2ons3lons1pont2hont3s2onukoor3foo4skoo2tr2o1ö2opab4o3panopa5so1peco1pei2opf_op2fäo2pfeopf1l4oph2o3pheopin2op3li2o3poop4plop2pr2o1pr1opsiop3szo1rad2orak2oral3oramo1rasor1ätorb2l2orcaor2ce4orda1ordnor2do2ordr2ords2ordwore2hor1eror3gaor2glor2gn4oril2oritork2aork2s2o1ro2o1röorr4aor3rh2ors2or3shor3szor4töor2ufo2r3üo2ryaos3ados4anosa1sos4co2o3seose3eose2no3shoo4skaos3keo4skios2lo2os1pos2peos2saos4säos3to2osu42o3syo2tebote2s4ot2hot4heo2throt2inotli2ot4olot2oroto1so3traot2saot3scots1pot2thou2ceou2geou3glouri4outu4ove3so3wecoy1s4o3z2aozon1ö2bleö2b3röb2s3öch1lö2chröch2söcht4öd2stöf2flöh3riö3ig_ö2ko3öl1a2öl1eiöl1emöl4enöl1imöl1inöl3laöl1o2öl3saöl3szö2l1uölz2wönn2eön3scön3spöpf3lör3a2ör2drör2glör2klör1o2örs2eört2eör2trös2stös3teös2thös3trö2t3aöt2scöt2trözes4pa3dapa2drpa3ghpa1ho3pala1paläpa3li2paltpank42panl2pannpant2panz4papi23para1parc2parg1paro2parppa4stpat4cp3auf3pä2cpä2to2p1d2pea4rpech1pe2en2peicpe1im2pekupel3dpena41pennpe1rapere21perl3pero5perspe3sape2stp2fabp2fadp2fafpf1aip2feipf3lopf3lup2forpf1ra2pfs2pf3slpf3sz2pf3tpgra2p3hopph3t2phu4s2p1hüpi2a3pias4p4id2pi2el3pierpi3lepin2epi3oipi2pepi3ri4pisopi1thpit2s2pitz2p1k2pkur11p2l43p4lap5la_p5lad2ple_ple1cp4legp4lem2pligp4likp4liz2p3lu2p1m2po3b42p3ohpo3id3poin3p4olpo3li2pondpo1pepo2plpo3pt2pornpor3spos2epo3ta3potepö2blp2p1hpp1läp2plep2pripp3sa1prak1prax1präd1präg3präm3präs2pre_2prec1pred1preipri4e2prig1p4ro3prob2proc3prod3prog3proj3prot1prüf2prünps4anp3s2hps1idps2pop3staps2tup3stü3p2syps2zept2abpt3atpte4lp4tospto2wp2t3rpt3s2pt1um3p2typu2dr2p1uh2pundpun2s2puntput2spwa4r1queura2abr3aalra3ar2rabd2rabf2rabgra2br2rabs2rabt1rabyra1cer2ackr4ad_3radf3radlrad5tra2gn4raht2raic1rake3rakür4al_ral3bra3le2ralgr4aliralk2r4alsra2lu3ralyr2ammr2an_4ranc2ranf2ranl2ranr2rapfr2ara2rarbr2arkr2arpr4as_ras2ar4at_r3atlrat4r4rau_4raud2rauf2raug3raum3r2äd3rän_3räni3räns2r1ärr2är_rä3raräu2s4räutr2bakr3blärb2lörb4rirb3serbs1orb3sprby4tr1chirch3lrch3mrch3rrch1wr2ck1r2dafrd2amr4dapr2deir3denrd1itr2dobr3donrd1osrd4rird3tard3thrdwa4re2amre3asreb1rre2bür2ech3red_4reddre1elre1er3refe4reff3refl3refo5reg_rehl4r2ei_r2eie2reigr1einre3larel2ere3lorelu2r4em_r2emi4remur4en_r2enare2näre2nir2enzre3or3repe3repo4reppr1erfr1ergr1erkr1erlrer2nr2eror1erör1ertre2sa3rese3reso2ress3rest3resu2reulre2wi4rezirf2äurf2esrf4lör3flür3forrf4rurf4rürf2sarf2targ2abrg2anr2gnorg3spr2ha_r3herr2hoe2rholrhu2sri3amria1sri3atri1ceri1elri1euri2frrif3s5rig_5rigjrig1l4rigrrik1lr2imb2rimprim2s2rink3rinn2rint4r1irris2ari3so3rissri2strit4r5riturk2amr2kährk4lork2lur3krirk2sprk1strk2tark1uhrk2umrku2nr3l2arle2ar3lecrle2ir3letr3l2irli2sr3l2orm2ärrm3d2r3me_r2meorm2esrmo1srm3sarmt2arna2brna4nr2naurn3drr4nefrn2eirne2nr5nesrn2etr4nexr3nodr1nötrn1ur2robj2robsro3e4roh1lro1irro3lerol3s2roly4rom_4romm4romt3ronnrons2ro1pero3phr2oraro3shro2ßu3routrö2du1r2öh1r2öl3römir2ös_r2öse2r1p2r3p4ar2plirpro1rps3trr2abrr2arrr1ämr3r2er4rewrr2herrik2rro3mrr2strr2thr3r2ürrü1brs3abrs2anrs3arr3shors2klr4skor4skrr4skurs4nor4sobrs2p4rs3s2rs2thrs2tir3stor3störs2tur3swirtal2rt1amrt1ärrten1r2thirto1prt1orr5trirt2sorube2ru2drru2fa3ruinru1is4rumfru2mi4ruml4rumz2rund4runn2runwru3pr4r3urru2ra5ruroru2siru2strut3hru2zwrü1ch4rümmrz2anr2zarr2zasrz1idrz1oprz3terz2thr3zwä2s1absa2besa2blsa2br4sabss1adm3safasa2fe3safi3sagasag4nsa2gr3s2aisail22s1aksa2ka3saki3sakr4sakt3salo5samms1amps2an_s3anbs2and3sani2s1apsa2po3sapr2s1ar3saris3arrs1aspsat2a4satmsa2trsa3tss1a4u3sau_3sauc3saue3saum3saur2s3avsa2vos3ähns1ält2s1äm2s1är3s2ät3säul2säuß4s3b4sba4n2scams2cans2cap2scar2s1ce4sch_s4chä4schb4schc2schd2schf2schg2schh2schks4chls4chö2schp2schq4schss4chu3schü2schv2schz4s3d2sde1sseb4rse1ecse2glseg4rse3heseh1lseh1sseh3ts1ein3s2eks2el_s2elsse2nä3senkse2noseo2rs4er_3seraser3gs1erh3seriseru25ses_se3su2s1exse2xe4sexpsex3t4s3f4sflo44s3g2sha2k1shass3h2e3shi_3shidshi4rs3hoc4shof3shop3showsi2ad2siat5si1cs2ido3s4iesien3sie2ssi1f43s4igsig4nsi2kisik1lsi2krsik3ssi2ku3silosin1ision43s2issi2sasis3s3s2itsit3rsi3tusiv1asive3si2vr2s1k24skams3kar4skasskel1s4keps2kifs2kig4skirski1s3skiz4skom4skor4skow4sk3t2s1l23slal4slans2laws3lo_s3loe2s3m22s3n4snab4so3baso3et3softso3la3s2onsone22sopf3sor_s1orc3sorsso4rus4os_2s1ox2s1ök2spaa4spak4spap3spaß4spaus2paz3späh2spärs3pe_2spel4spet4s3pf2sphas4phäs3phespi2k4spil3spio4spis4spla4splä4sple2spod2spogs2poi2spok4spol4spr_3spru2s3ps2s4pt2spun2spup3spur4sput4s3r4sret3srü2ds5safs3sagss1ajs3sals3s2äs4sces4scoss1ecssoi4ss2poss3s4sst2ass2thss2tis3stü4sta_3staast2ac2stag3stah2stak2stax3s2tä4stäg2st3c2steas2ted4stee2stem4stens2tep2ster4stes2stetst3ev4stexs4thäs4this2thu2stia2stibs2ticsti2e2stig2stiks2til2stio2stis2stiv2sto_s3tob1stof4ston4stoo1stoß4stou2stow2stoz2stöt1stru1stub4stuc2stue3stuf3stuhstu2n3stüt4st3zsu1ansuba24subi3su1c2s1uhsu1issul2asul2isult23summ3sun_su4nes1unf4sunt3s2upsup3psu2ras1urtsu2s1su3sasu3shsu3sisus3s2sü4bsü2d1sweh24swie4swilsy4n34s3zas2zess2zis4s3zu4s3zw2ß1a22ß1b22ß1ec2ß1eißen3gße2niße2noße2roßer3t2ß3g2ßig4s2ß1in2ß1k4ßler32ß1n22ß1p22ß3r22ß1s22ß1um5taan4tab_2tabf2tabg2tabh2tabkta2br4tabsta2bü2tabw2tabz2t1ac3tacut1adatadi33taf_4tafft1afg3t2agt3agotai2ltai4r2takzta2latal3d3talo2talt3tameta2mit1amt3tan_2tanbta3ne4tanf2tang3tanit2ank4tanlt2anot1ansta2nuta3or2tapfta2pl2tarb4tark2taro2tartta2ruta3sata2tht3atlt4atmt1auk3taum4tägyt1ämt3tänzt2är_tä2ru4tätt2täuß4t3b2t3chat3chetch2itch3lt2chutch1w4t3d4tdun2te2a22teakte3alte3an3tebat2ech2teckte1emte2es2teff3teha3tehä3tei_teik43teiltekt25tel_3telatelb43telg3telk5teln3telp5tels3tem_tem3st6en_ten3ate2nät4enbten3gt4enhte2nit4enjt4enmten3n3terct4erit4erot3erötert2teru2t2estte2su3tet2t2et_4teth4tetl3teuf3teumte1unte2vite1xa4texp3text4t1f4tfi2l4t1g2tger22th4at2hagt3hait2hak2t3hä3thea2thebt2hect2hekt2hem1then3theot2hest2heut2hik4th3l4th3m2th3n1t2hot3hoft3horthou24t3hö2thub4thunti2ad3tib4ti1cetieg42tiehti1elti1etti1eu3tif_ti1fr4tift3tilgti2lötil3stilt4ti2lut2imiti3nat1inbt1infti1nuti3orti3plti1rhti2sptium2tive3ti2za4t3k45tlem6t5li4t3m24t5n4tnes2to4asto5at4tobjtob2ltode2toi4rto3la3tole4tolz2tomg3topo2topt3tor_to1ra4torct1ord3toret1orgto2rö3torsto2rut2orwto3sc3toseto4sktos2p4toss3totrtots23t4outo3un3töch4t1ökt1öst4t3p21t2r45tra_3trac3trag3trak3tral4traß5träc3träg4träs4träß4treb4trec3tref4treg2trekt4remt4rert4rett4reut3rev2trez2t3rh4trict4riptri2x3tro_3troe3tront4rop3troyt3röc2tröh3trös3trua4truktrum2t4rübt4rügts1adts1alt2sants1ast2sauts1emts3krtso2rt3sout2spät2spht2spots3s4t1st4ts2tut2s1u1tsubtt1abtt2actt1aktt2altta1st3telttes1tto1st3trott3rutt3rütts1ptt2untu3antuf2etuff3tu2istul2at2um_3tun_3tune3tungt1up_tu2rätur1c3turntu2rotu4rutu2satu2sotu3ta3tüch3tür_tür1c3türe3türg4tütztwi4ety2pat2za2tz1agtz1altz1artz1aut3ze_t2zortz2thtz1wätz1witz1wuu1a2bu1a2cuad4ru1al_u1albu1alfu1alru1alsu1altua2luu1ansu3ar_u1arsua3saua2thuat2iubau1u3b4iu2bopub3räu2bübuch1auch1äu1cheu1chiuch3luch3much3nu1chuuch3üuch1wu2ckiu3d2au2donud3rau3druue2ckue2enu2elaue2leueli4ue2miue2näue2niue2nou2ereu3errue2tau3fahuf1akuf3aru3fasuf1au2ufe_uff4luffs4u2fobufo2ruf3säuf4sou2fumug1afug1akuga4sug1auug3d2ug3huu2g1lug3lou4gluu2g3nug1orug3roug3seug3siuh1lauh1läuh2liuhme4uhr1auh3riuhrt4uh2ruuh4rüui2chui1emu4igeu1in_u1is_u3käuu1k2lu1k4ruk2tauku2sul1abul1amula2sul1ämul2drule4nule2tu2lexul3f4uli2kul3kaul2knull2aull3sulo2iul1orul2sauls3z2ultaul3thult3sul2vrulz2wuma4rum2enum1irumm2aum2suum3t2um2un2una_1unabun3acun4alun3at1unda1undd1undf2undg1undn1undv1undzune2bune2hung5hun2idunik4un2imuni2r2unisunks23unkuunna2uno4run2os2uns_un3se1unsiun3skun3spun3taun3trunt3s2untuu1o2bu3or_u3orsu1os_uote2u1pe2uper1up2faup2plup2prupt1oup4tru2rabu2rar2u1räur1änurch1ur3diure4nurf3turi2cur1imurk2s4u1rou3roluro1sur4swur2zaur2zäur2ziur2zou4safu3sepus3klu4skous3ocu3sohus1ouus1peu2spou2spuus2thus3tru1stuus2uru2tärut1egute2lut2esut2etu4tevutfi4ut2heu2thiu2thuuto3cut4orutos4ut3rüut3teutts2ut2zo2u1u2uufe22u1v4u2ve_uz1weuz3z4übe3cüber3ü1cheüch3lüd3a4üd1o4üd3s2üdsa1üd3t4ü2f1aüfer2üf2flü2f1iüf2toü2g3lüg4stühla2ühl2eüh3moüh3neühn2süh1roühs2püh4thül2laül2loül2löü2n1aün2daün2dründ3sünen3ün2faün2frünn2sün3scün3seün3spün2zaüp2plür2flür2frür3scür3seür3spürt2hüse3hüse3lüse1süss2eüs2stü2t3rüt2s1üt2tr2v1abval2s2vang2varb2v1auve3arveit4ve3lave3leve3live3love3maven2cve3neve3nive3növer3averd2vere2verf4verg4ve3river3kvert2ver3uve3tavete1ve3trve3x22v1f4vi3arvi2elvi2ervima2vi4navin2svi3savise4vi2spvis2u2v1l22v1obvo3gavo2gu2v1opvo2r1vor3avor3dvor3evor3gvo3ri2v3rav4ree2v3rov1stav3s2zvu2et2vumfwa5gewa3gowai2b2walb2walmwa3nawa3sawa3sewa3sh2wängwäs2c2w1b2we2bawe2blweb3swe2e4weed3we2fl2weiewe3niwerd2we2röwer2s1wesewe4stwet2s2w1eywie3lwin2e2wing1wi4rwi2sp1wisswi3th1wo1c1wolfwor3aw3s2kwun2s4wur_wur2s2xa2b1x2adxa1fl1x2agx3a2mx2anz1x2asx1e4gx2er_x2erexers22x3euxich2xide2xie3lxil2axi2loxi2lux2is1xis2cxi2sexis3sxi2su2x1k22x3s2x2t1axt2asx2tänxtfi4xt3s2x3turx1u2n2y1aby1al_y1a2myan2gy1anky2chiych3nyen4ny2erey2es_yes2pye2thygie5yke3nyk3s2y4le_yli4nyl3s2y2l1uyma4tym3p4ympi1y2n1oyno4dyon4iy1ontyp3any4p3sy3r2eyri2ayri1ey3r4oys2any3s2cy3s2hy4s3lysme3ys2poys1prys3t4y3s2zy2te_y2tesy3to1yure3zab3lz1a2dza3de2z1afza3grzale32z1amza2na3zani2zarb2zarcz1arm3zaubz3aug3zaun2z1äc3z2äh2z1ämz1ärgz1ärm4z3b4zbü1b2z3d2zdan2zeik4zelu25zen_zen3nze2no3zentz2er_zerk2z2ernzers2ze2säze3sczes1ezes1ize2spze2tr2z1ex2z1f42z1g2z2henzhir3zi3arzid3rzil2ezin2ezi2o3zi3opzirk22z3k42z1l22z1m2zme2e2z3n42z1ob2z1ofzo2gl2z1oh2zopezo2ri2z3ot2zö2f2z3p42z3r24z1s2zt3hozt3s2zu4chzudi4zu2elzu3f4zu3gl2zumf2zumg2zumlzun2ezung42zuntz1urkzu3s4zu5t2zür1cz1wac4zwahz1war2zwas4zwäl2zweg2zwet4zwirz2wit2z1woz1wörz1wur2z1wüz3z4az3z2o",6:"_ab3ol_ab1or_akt2a_al3br_alt3s_ampe4_an3d2_angs4_ans2p_ans2t_an3th_ari1e_ark2a_ar2sc_as4ta_au2f3_au4s3_be3ra_boge2_da2r1_darm1_de2al_de1o2_des2e_de3sk_des2t_do2mo_do1pe_dorf1_ehe1i_ei3e2_ei4na_ei2sp_ei4st_ei4tr_el2bi_elb3s_em3m2_end3s_enns3_en2t3_en4tr_er2da_ere3c_es3ta_est2h_es3to_es5tr_eu3g4_eve4r_flug1_for2t_fu2sc_ge3ne_guss1_he3fe_he3ri_inn2e_kamp2_kle2i_kni4e_kopf1_le4ar_li4tu_ma3la_ma2st_mel2a_mi4t1_näs1c_no4th_oper4_oste2_ost3r_poka2_ram3s_reli1_ri2as_rom2a_rö2s1_se3ck_sen3s_ser2u_se2t1_si4te_ski1e_tal2e_ta2to_te3no_te4st_ti5ta_tite4_to4pl_tro2s_tu3ri_uf2e2_ufer1_un3a2_uni4t_uns4t_uro2p_ur3s2_wah4l4a1a2naa2r1aaar3f4aat4s3ab1aufab1eilabe2laab1erkab1erzab1ins1a2blaab5lag1a2bläab4le_3a2blö1a2bon2absarab3s2i2abst_ab3ste1abteia1chalach3auach1eia3cho_ach1orach3su4ach1wa1ckarack2ena2ckinack2seack3slacon4na3d2abad3amaa2d1an3a4dapade2aladefi4a2deina2deri4ade1sades4sadi3enad4resa2f1eca2fentaf1erlaf4fluaf3s2aaf3s2haf2t1aaf2teiaf2t3raf2tura2f3urag1a2da3gen_age4naage2saage4si3a2gitag4ne_a2g3rea2g3riag4samag4setag4spoag3staag3stea2gundahl3a2ahl3szah4n1aah3r2eahrta2ain3spai3s2e2a3kam1a2kazaken2nak3rauak5tan2aktikak2t3r2aktstal1ageal3amealami5al3ampal1anaal1ansal1anza3lar_a3lareal2armal3arral1asial1assal3augal2b1lalb3lial2bohalb3rualds2ta4l1eha2l1eia2l1ela2lengal1epoal1erl3alermal1etaal1etha2l1eua4leur3a2lexal2glial1insa2linvalk1ar1alkohalk3s2alks4tal2labal2laual3les1allgäal2lobalo2gaal1opeal1orc3alpe_al3sklal3sunal4takal3tamal2treal2trial2troalt2seal1umbame2n1amer2aa2meriame3rua4mesh2a3mirami3taami3ti2ammalam2meiam2minam3stram2t1aam2t1äam4tel2amtemam2t3ram4treanadi3an1algan3dacande2san2dexand2suand1uran3e2can2ei_an3eifan1e4kan1ethanft5san3f2uang1ar3angeb2angiean2gla4angs_an2i3d3a4nima4ninsan2keian4klöank3ra3an3naann2aban3n2ea2n1orans2enan2seuan3skrans1pa1anspran3s2z1antei1anthran2tro2anwet1anzeian2zwiar3abtara3d2a2r3al2a2rara2r1auar2bauar2bec2arbenar2bre2arbs2ar2droar1effar1ehra2reinar2erfa2reria2rerlar1intar2kalar2knear2korar4kriark1s4ark3saark3shar2lesar2nana2r1oparr3hear3s2har3staar3t2ear2thear3t2iartin2art3rear2z1was1alaa3schea3schia2schma3schua3s2hiasin2gaska3sa3skopas3s2aas3s2eas3s2ias2s1pass3tias3stras3stu2as3taas4tauas4tofast3räaswa2s3a2sylat1apfa2tausat3eiga2teliate2ru4athe1atil4sati2st4atmusatra4tat3romat4setat2s1pat4takat4tauat2teiatz1eratz3t2at2z1w2au1a2au2bliau2bloauf1an2aufe_2aufehauf1er2aufs_2auft_4augehaule2sau2malau2m1oaum3p2aum3s6au3n4aau2nio2au3r2au2sauau2spraus3s22auts4ava3t4äche1eäch2späch4stä2d1iaäft4s3äg3str2äh3t4äl2l1aämi3enäne2n1äng3seän2k3län2s1cänse3häp2s1cä2r3a2ä2r1eiär1intär2k3lärt2s3äse3g2äser2iäskop2ä3s2kräs6s1cä4s3t2äß1erkä4t1a2ät2e1iätein2ät2s1iät2s1pät2s3täum4s52ä3us_backs4b1a2drbah2nuba2k1iba2krabal3th3b2andban2drba3n2eban4klban2kr2b1ansbar3deba2reibar2enbar3zwba3s2abau3sp3b2ä1cbbens2bb3lerbbru2cbe2delbe2erkbe1erlbe1etabei1f4bei3k4bei3labe1indbei3scbeis2ebei1stbeit2sbe3lasbe3lecbe3leibe2letbel3label3szbel3t4ben3arbe3nei3ben3gbe3n2iben2sebenst4ben2su2bentbb2entib1ents2bentwben3unben3z2ber3ambe2ranbere4sber3nab1erntbe2robbe3ropbe3rumbe3slobes2pobess4ebes3szbe2tapbe3thabien3sbi2ke_bi2kes2b1inb2b1infbin3gl2b1intbi2solbi2s5tb2it2abla3b4b2lancb2latt2b3law3ble2a2b3legb3lein3ble4nb3leseble3sz2blich3blickbling43blitzbo3ch2bo2e3ibon2debo1r2abo2reibo4rigbo4s3pbot2st2b3radb4ra3k2b3refb3reif2b3repbri2er2b3rolbrust3bru2thb2s1adb3sandb3sel_bse2n1b3s2esb2s1ofb3s2pubst3acbst1akbs3tätbst3erb2stipb4stodbs4trib4stübb2s1unbu2chibul2la2b3umkbu3r4ibus1erbu2sinbu2s1pbu2s1ubzeit1carri1ca3t4hcha2ck2ch1akch2anb3chancch1ang4chanz4char_1characha2sc3chato4chatuch1ärm3chef_3chefi3chefsch1eimcher3ach1ess2cheta1ch1iachi3na4chind2chinf2chinhch1insch1int1chiruch1offch1orcchre3s1chron2chunt2ck3an4ckeffck1ehe4ck1eick1entcke2rack2ereck1erhck2ern2ckero2ck1id2ckunt2ck1upcon2nec1s4trcussi43d2abäda2ben3d2ablda2bredab4rüdach3ada2chodach1sdal3b2d1amma2d1amt2d1ana2dangedan4kldan2kr2d1ans2dantwd2anz_4danzida2r3a2darb2dar2mada3s2hdat4e2da3teidate4n4d3atl4daush2d1ämt2d1änd2d1ängde3a2tde4ca_de2cka2d1eff2d1ehrdein2ddein2sdel1ändel1ec2delek2delem2delfmdelle2de2lopde3lordel5scdel2sodel3t4dem2ar2d1empden3th2dentwdera2bde1radde2rapder2bl2derdbderer33derieder3m2de4ruhde4rumde3sacdesa2gde4samdes2äcde2sebde4sehde2seide4setde2sinde2sordes3s2de2sto2d1etwde1urlde2xisdha1s4di3e2ddi3enidie2thdige4sdil2s52d1imb2d1ind2d1inf2d1inh2d1ins2d1intdion3sdi4re_di2rendi2ris2d1irl2d1isrdi4t3rdle2ra2d1o2fdo2mardo5n4adoni1e2d1opfdor2fädor2fldor2fr2d1orgdo2riedor2tadö2s1c3d4ra_2d3rad2drahm3d4ramd3rand2d3rät2d3räud4rea_d4reas3d4rehd4reiv4d3ren2d3rep4d3rer4dres_d4resc3d4ria2d5ricd5riegd4rin_3d4rit4dritu2d3rod2d3rot2d3rovdrö2s13d4ruc2d3ruh2d5rutd2sau2d2s1efds2eigd2serhds1errd3s2had2s1imds2infd3skuld2s1opds1orids1pasd2sprods3tabd4stagd4stead3steid4stemds4tilds4tipds1umsds2zend4theidtran2du1alvdu2bli2d1ufe2d1umb2d3umkd2ums_2d1umvdund2a2d1unfdun3kedun2kl2d1url2dursadwest3ea3dereadli4e3aleiealti2eat4e2eater1eat3s2e3au2feau1ste3b2akebert4eb3lereb4leue3blieeb3reiebs3paeb3staeb3strebu2t12e3cheech1eie2cho_e2ch3rech3taech1uheck3seede2aledens1edi4aled2s1oed2s1pee2choeed3s2ee2lekee3lenee4nage1e2pie1erbtee3r2eeere2see4reteer2öse1ertree3r2uee4tateewa4re2f1adef1anae2fente3f4lu2e3f2oef3reaef3rolef3romef2tanege2raeg4saleg4stoegung4eh1ache3h2aleh2auseh1eff1e2hepehe1raeh1inteh1lameh2linehl2seehr1a2eh2reiehre3seh1ro2ehr1obehr1ofeh1stee2hunt2ei3a2ei2bareibu4tei2choei2d1aei3danei3dra4eien33eifrüeig2er2eigew2eigrueik2arei3kauei2lareilen1eil3f41eilzuei2moreim2plei2n1aei4nasein3dr2einduei4nelei2neu2einfoein3g2e1initein4szei2sa4eis2peeis4thei1stoei2sumei2tabei2tanei2tarei2troeit3umek1s4tek5triel3abiel2abte2l1akel4amiel4ampel1ansel1anze2l1apel3ariel1asiel1aspel2ast3elbiseld3s22e3lebe2l1el1e2leme3lem_el1empel1erdel1erfel1erkel1erl2eles2el1esse2l1ideli2neel1itael3lanel5le_el3linell3spel1opee2l1orelo2riel2sumelte2kel2t3re2l1umel3useel2zwae2m1ad3emanze3m2ene2m1imemi5naem1intemi3tiemma3uem2meiem3pflem2spren4amee4nanden3angen3areen2ascen3atte3nauee2n1ären4ce_en2dalend3siend3szend2umen1e2ce2neffe4neine2n1elene4lee2nerfe4nerhe4nerk4enerne4nerz1engad3engagen3g2ien3gloeng3see2n1inen3k2üeno2mae2n1openost3en1ö2den3sacen2sauen2sebens2el1ensemensen1en3skaens2po2enstoent4agen2teb1entfa3entgaen2thi3entlaenü1ste1o2b1e3p2f41episo1e2pocep2tale3rad_er3admeraf4aera1frer3aicer3alleran3de3raneer3anfe2ranher3anmer3apfe3rarie2rathe3ratie2ratme1rauber3aueerau2fer3augerb4sper3chl2erdece3recher1effer1eige2reiner1ele2e3reme3renae3renz4erer_e4rerl4ererne3reroer1errer1erse2rerter1erwer1esser1eul4erfür1ergolergs4t1erhabe2riat4e3ric4e3rieer1inber1inker1inter1ita1erklä2erkreern1oser1o2ber3onye4ro2rer3smoert2aker2thoerts2eeruf4ser1u4mer1underung4er1unses2aches3anze3s2ases3cape3schaes3evaes2haresi1eres3intes2kates4loges2ortes2sau4essemessi2aes2sofes2spues3stres3stuest1ake1stare1state3stele1stile2stipes4trie2s1umes3umse4teinet3haleti2tae4t1ofetons4e2treset4riget2tabet2teiet2t3ret4troett3szetwa4retze4seu2esceu4glae3um2seum4sceums1peum3steu4neie3un2geu2nioeun3ka3eu3roeu1staeu1stoeu1stre2velae2vent1e2xeme2x1inex2tinfa2benfa2chof1aderfa3l2afal2klfal3tefalt2sfan2gr2f1ankf1an3zfar2br2f3arcfarr3s3f4art2f3arzfa3s4afa2to32f1auff1ausb2f1ärmfä2ßerfeatu42f1eckfe1inifek2tafe2l1afel2drfe2lesfe2l1ofen3safer2anfe2rauferde3fer2erf1erfaf2erl_f4erpaf2ers_fest1afest3r2f1etafe4tagfeu4ruf2f3efffe1inf3f4räff3shoffs4trfi2kinfik1o2fi2kobfi2lesfi4linfil2ipfin3sp2f1intfi2s5tfit1o2fi2tor3f4läc2f5läd2f3läu2f3leb3f6limfli4ne2f5lon1f4lop1f4lot1f4lug4f3orgfo3rinfor4stfor2thfor3tu2f1o2xf3rand1f4ränfreik2frein42f3ricf4risc1f4ronfro2nafs1allfs4ammf2s1asf2sauff2sausf2sautfs1e2bf2s1emf2s1erf2si2df2s1o2f3spanfs1penf3s2plf2sprefs2prif2sprofs2pruf2stasf3steif2stipf3st4rf2s1unf2t1alft1e2hft1eigft1eisf4theif2t3rof2t3röf3t4ruft4samft3s2cft4sehfts3elfts2tift1url2f1unffun2klfun2ko2f1unmfu4re_fus2safus2stfzu4gaga2b5l2ga2dr2g1amtgan2gagan2grg3anla3g2ano2g1armga3r2og1arti2g1arzgas3eiga2sorga4spega4sprgas4taga4ste2g1auf2g1autg2d1aug2d1erge3g2l2g1eifge2in_gein2sge2intgein2vgei3shgelb1rge5lehgell2age3lorgels2tgel3szge3lumge4namge4nargen1ebge3necgen3szgen3th2gentwge2rabger2erger3noge1r2öge3r2ug1erwag2e1s23ge3scges4pige3steges3thge3t2a2getapge3t4ugge2ne3g2het3g2hiegi3alogi2e1igie1stgi2me_gi4mesgi2met2g1indgin2ga2g1insgi3t2ag2lade2g1lag3glanz2gläuf2g3leb4g5lerg3lese3g2lid3g2lie3g2lit3g2loa3g2lobg3loch3g4lok3g2lop3g2lotgne2tr4g3notgoa3li2gonis2g1ope2g1opfg2o1ragra2bigra2bl2gradl2g3rah2g3rak2g3räu2g5re_2g3recg4re2eg3reit2g3ric2g3röh2g3rui2g3rum3g4rup2g3rüc3g4rüng3s2ahg4saltgs3amags3augg4s3cegs4chig4s3crg3sel_gs3elig3selngs5erkg4setags4pieg4spingsrat4g3stang3starg4s3täg5stämg3stelg1steugst2heg3stirgs3tocg4stolgs3topgst4rig4sturgs4tücgu1an_gu1antgu4d3r2g1u2fgu1ins2g1unfg2ung_gunge2g2un4s2gunt22g1urlgurt3sgu2s3agus2spgus2stha2choha2delha4dinh1adle2h2al_ha2lauhal2bahalb3rhal2lahal2sthand3shan2krh4a3rah1arm_h2armehar2thh1arti2ha3sahat5t2h1aukthau2sahau2sc2hautohau2trhä3usphe1choh1echthe3ckehe2e3lhe2fanhe2f3lhe3friheim3phei4muheine2h1einkhe1ismhe1isthel1eche3lenhe4lof4h1emphend2she2nethenst2hen5trh1entshe2ral2heraphe3rasherb4she2relh1erfüh1erkeher3thher2zwhe1stahe2tapheter2he3t4she1x4ahfell1hi2angh1i4dihi3enshier1ihiers2hil2frh1induhin2enhi3n2ihin3n2hin3s22hi3rehl1anzh1lauth5len_hlen3ghl2ennhle2rahl1erghl1erwh4lerzh4lesihl1indh3listhlo2reh3losihl2sanhl2serhl3skuhl3slohme1inhmen2shme2rahn3eighn3einhne4n1hne4pfh3nerlh3nerzhn3s2khn1unfho2ch3ho2ckahock3tho2f3rhol1au4holdyhol3g4ho4lor3hol3sh1o2lyho2mecho2medho4seihotli42ho2w1h1raneh3rechh4rei_h3reich3r2enhr2erghr2erkhr2ermhr2erzh4rickh4rineh4rinhh4risth4romeh4romihr2sauhr2serhr4sethr2tabhr2tanhr2torhrt3rihr2trohrt2sahrt2sehr1umsh2s1ech3s2exh2s1ofhs2porh2spräh2sprohst2anh1stechst2heh1s2tih2storh1s4trhst3rih1stunhs2ungh3t2alht3aneh3tankh4tasyht3a2tht1e2ch2t1efhte2heh2teifh2temph2t1euh2t1exh4theihthe3uh2t1inh2tolyh2torgh4trefh2t3ruh2t3rühts2tihu2b1ahu2b3lhu4b3rhu2h1ahu2h1ihuk3t4hu2l3ahu2lerhu2lethu3m2ahung4shu3ni1hus4sahus2sphu2tabhu3t2hhühne4h2wallh1weibhy2pe_i4a3g2ia2l1ai3aleiial3laia2lorial3t4ial3z2ia2nali3and2ia3p2fi2a3spi3a4tai3at4hib2blii2beigi2beisibela2iben3aib3renib4stei2bunki2buntibu2s1ich1eii2chini3chloi2ch3ri3ck2eid2ab4i2d1au1i2deeidel2äide3soide3sp1i2dio1idol_i3d2scid2s1pie2breie2choie2fauief3f4ie2f3lie2froie4g5lie3g4nie2g3riegs3cie3lasiel3auiel1ecielo4biel3sziel3taiena2bi3e2näien1ebie3neri3en3gi3e2noien3scien3siiens2kien3szier3a2ie2rapie3resi3ereuierin3ier3k2i3ern_iers2tier3teies2spie1staie2t1aie4t1oie2triiet2seiet3zwifens2if1ergif1erhi1f4lai1frauif4reii1f4rüif2topift3szig2absig1artiga1s4ige4naig1erzi2g1imig3reiig4salig3sprig4stoig4stöig3strig3stüigung4i2h1ami2h1umi4i3a4ik1amtik1anzik1artik3atti2k1aui2k1eiike2l1ik1erfi2kindi3k4läi2k3raik2trei2l3abi2l1acil1a2di2l1akil1ansil1aspi2l1auil3ausild2eril2doril1e2cil1eheil1einil2f3lilf4s3ilie4ni2l1ipi3lip_i3lipsil3l2ail3l2iil2makil2mauil2mini2l1oril3t2hilung4i2manwima2tri2melei2melfi4meshi2metiim2meiim1orgim3pseim3staimt3s2in3a2ci4nacki2n1adin2arain2arsin4arti2n3auin2dalin2dan1indexind4riin3drü1indusin1ehein2erhi4neskine3un1info_1infosing1af1inhab2inhar2inhauin2i3dini3krini3sei3nitzin2nor1inntain3olsino1s4in1ö2dins2aminsch2in2seb2insenin3skr1insta1insufin3s2z1integin3t4rin5trii3n2umin3unzinvil4io2i3dio2naui3ons3ion4stiore4nipi3elipi3en1i2rakir2k3lirli4nir2makir2mauir2mumir2narirpla4irt2stiru2s1isage2is3arei2s1äni2schmi2s3crise3haise3hiise2n1is2endisen3si2serhiser2uis2hasi2s1idi2s1of3i2soti2sparis1picis2pitis2pori2sprois4sauis3stais3stoiss3tris3stuis2sumis4tabis4tamist2anis4teliste4nistes3is4tocis5törist4raist3reisum3piß1ersit1ab_ital1ait1altit2an_it1arti3tauci4t1axi2t1äsi2t1eii4teigit2eili4teinite2lai4tepoi2t1idit2innitmen2i2t1ofit3rafit3rasit3rauit3räuit3ricit3romit4ronit3runit2stoit2tebit4triitt2spi2t1umi2tunsit1urgitzes4it2z1wi2v1akiv1angi2v1eiiv1elti2v1urizei3ci2z1irjahr4sja3l2ajean2sjek2trje4s3tje2t1aje2t3hje2t3rjet3s2jugen2jut2e1kab2blka2ben2kabla2kabläka3b4r2k1abt2k3adaka1f4lkaf3t2kaken42kala_ka2lanka3leikal2kakal2krkal4trkan2alka2nau2kanda2k1angk2ans_k2anz_2k1apfka3r2i2k1armk2arp3kar2pfk2artaka2s3tka3tanka3t4hka4t3r4kaufrkau3t22kautok1ä2mikä2s1ckdamp22k1e1cke2he_kehr2s2k1eic2k1eig2keinhkel1acke3lagkel3b4ke2lenke2lerkell4e2k1empken3au2kenläkens2kken3szk2enteken3thk2entrk2entu2kentwke1radk2erkok1e2rok2ers_ke2selke4t1ake2t3h2k1e2xki1f4lki1f4r2k1intkis4to4k1lack4leidk3lem_2k3lerkle2ra2k3leukle3usk2lisc2klistklit2s2k3locklo2i3klost4klung42k1lüc2k5nerkno4bl2k5norkoh3lukol2k5ko3n2ekon3s4ko1r2a2k1orckot3s22k3radk3rats2kraum2k3rät2k3rec2kred_2k3refk3reick3reih2k3rick3ries3k4ronks1e2bk2s1emk2sentks1erlk2s1idk2s1ink2s1o2ks2pork1s2tik2stork2sträk2stumks2zenk2t1adkt1aktkta4rek2t1auk2tempk2tentkte3ruk2t1idkt1insk2t1ofkt1opekt4rankt3rask4trefktro1skt3runk2tuns2k1uhrku3l2eku3l2i2k3umlkum2s1kun4s4kunst32k1up_kur2blku2reikuri2ekur2spkur2stlab4ralab4ri2l3absla2ce_la2gio2la1hola2kesla2k1ila1k4lla3min1lammf2l1amtlamt4sla4munl1analla2nau3l2andlan2gl2lanhäl2anhe4lanli2l3ann4lansä2lantrlan2zwlap4pll3artila2saulast1ola4tel2l3athl2auf_lau2fol2aufz2lausl2lausr2lauto2l1ähnlä2s1cl4betal2b1idlb2latl4bre_lb3ritlbst3elb4stol2b3uflbzei2l3d2acl2d1akld1amml2da2rld3arild1arml2delel3der_ld1erpl2d1idl2d1iml2dranl3d4rul2d1umle2chile2gau3l2ei_lei2br4l1eigl2ein_l2eindl2eine2leinkl2eintl4eistlei2talekt2a2lektr3l2ela3lemesle4nad2lendul2e2nolen3szl1ents4lentzlen2zil2e1rale2ragle2raul1erfol2erfrl2erfül2erkal2erkol2erlel4ers_lers2klers2tl2ert_l2ertel2erzales2amle3serleste3le1stole2tat2le3thlet4tule3u2f2leurole2xislfang3l2f1ecl4feisl3f4läl3f4lulf3ramlgen2alge3ral2getilian2gli3chili2ckali3d2ali2deo2l1idolid3scli3enelien3slie2stli2grelik2spli3m2ali3n2alin3alli2nefli2nehli2nepli2nes2l1inflings52l1inh2l1injlink2sli2noll2ins_l2insal2insc2linsp2linst2l1intli3os_li2p3ali3s2a2l1islli2tallit1s2lit3szlizei3lk1alpl3k2anl3kar_lken3tl3k4lul2k3rol2k3rulk4ställ1abbl2labtll1affll1aktl3l2alll3amall2anwll1anzll1armll3augl2lausl2l1ämll1echlle3enl2l1efll1eiml3len_llen3gl3ler_lle2ral2lerzll1imbll1impll1insl2lobel2l1ofll1opfl3lor_l3lorel2l1oul2l3öfll3s2kll2sprllti2mllt5s2l2marclm1auslm1indlm1inslm3stelm3s2zln3are3l2ob_lo2berlob4ril1o2felo2gaulo3h2e2l1ohrlo2k3rl1o2lylo2minlo2n1olo3renlo4skelo2speloss2elo4stelo3thalo3thiloti4o2l3öfelpe2n3l2p1holrat4sl3s2all2sannl3sarel2s1ecl2s1emls1erels1ergl2serhls1erlls2logl3s2pil2sprol3s2pulstab6ls4tafl3stecl3steil3stell4stemls2tiel2stitls2zenlt1a2mlt3andlt1angl3tarblt1artl2t1aultbau1lt3elil5ten_lter3alt2erglt4erölte2thl2t1eul4theiltimo4l2t1ofl4t3ötltra3llt3räult4rielt3roclt3rosl2t3röl2t1umltu2ri4lu4b32l1ufelu2g1alu4g3llu2g3rlug3salug3splu1id_2l1una2l1unf2l1unilu2s1ulu2t1alu4teglu2toplu4t3rl2z3acl3z2anlz2erklz1indlz2wecm2ab4rma2d4rma4d2sma2ge_ma2gebma2gefma2gegma2gekma2gepma2getma2gevma2gew2m1aggma3g4n2m1agomai4se2m1aktmal1akma2lanma2lauma3lermali1emal3lo2malltma2nauman3d2ma2net2mansa2mansä2mansc2mantwmar3g2maro3dma3r2uma2tanma2telma5trimat3semat3sp2mausg4m1ändmä3t4rm2d1ummedie4mee2n12m1eif2m1eig3meistme3lamme2laume2lekme2lermelet42melf_mel2semel5t4mena2bme3nalmen3armen3aumen3glme3normen4skmen2somen3ta2mentnmer2er3merinme2sal4meser2me3shmes2stmeste2me1stome3t2amie3drmi2e1imien3smie2romie4timi2karmi3l2amilch1mild4s2m1impmin2enmin2eumin2ga3min2omi2t1rmit3s2mit5sami5tsumi2t1umk5re_m2m1akm2m1almm1angmm1anzm2m1aumme4namme2samm1inbmm1infmm1inhmm1insmm1intmmi3scmm3stamm3strmmüll1m4nesimode3smo2galmo2k1lmon2s3mon3su2m1opemo2rar2m1orcmor2drmo2rermos4tampf3limpf1ormp3strms3andm4s1efms1erwms1inims1orim2spedm2spotm2sprom4stagm3stelm3s2tims5träm3s2tumt3aremt1eltm2t1eum2t1immtmen2m2t3romt2sprmt1urtmu3cke4m3unfmu4s1amu2s1omut1aumut2stmvoll14n3absna2ch1nach3s4na2drna1f4rna2gemna2h1a3n2aldna2letnal3lanalmo2na2lopnal2phn2als_nal3t4n4amenna3m4n2n1amtnamt4sn1and24n1ang2n1ans2nantrnap2sina2r1an2arle4n3artna3r2unasyl2na3t4hnat4sanat4sc3n2aul4nausb4nausgn2auso4nauss4nausw2n1ä2mnär4s53nä1umnbe2inn2d1akn2danlnd1annnde2sendi2a3ndo2ben2d3ren2drobnd3rolnd3rosn2druind2sornd2spr2n1ebnne3ein4n1ehr3neigtnek3t42n1ele5neleb4nelek4nelemne3lennel4la3ne3lu2n1embn1e2mi2n3emp2n1emsnen3a2n1endgnen3einenen14nengb4nengs4nengtnens4enen3skn1entb4nentn5nentrn1ents4nentzne2n3u2n1epone2posne2ranne2rapne2raun1erbine2reb2nerfü3nergrn2erlin1ermän2ern_ne1rösn2ert_n1ertrne2rup2n1erzne3sanne3skane2s1pne1stanes3tine2tadne2tapn1etatne2taunet3han1e2tunet2zi2n1eupnfalt4nf5linnft4s3ng2absn2g1acn2g1akng2anfng1anzn2g1äln3g2enngen2an3gläsn2glicngrab6ng3ratng3rocngs3panich1s3n2id_nie4n3ni3eneni1eronifes3ni2grenig4spni2kalni2karni3ker4n1imp3n2in_n2in4a4n3ind4n1inhni2nor2n1insn2ins_4ninse4n1int2n1invni2s1eni3se_ni2s1pni3spinis3s4ni2s1uni3t4rni3tscnitts1n2k3adn2k1akn3k2aln2kansn2kausn2k1ärnk4ergnk1inhnk3lennk3lesn2klienk3lunn2k3ronks2eink3s2znk2taknk2tannkt1itnk4topnk2trunmen2snna2ben2nadan2n1annnen3gnn2erhnn2erknne2rönner2znnes1enne4stnn1o2rnn3s2pn2n1ufno2blano2leu3n2opano2radno1rakno3ral3n2os_no2s3pn2ostenost1r2nostvno3tabno2telno3t3hno4thano4thi2n1o2x4n1ö4lnräu3snre3sznrö2s1n2sangn2santn2sausn2s1änns1e2dns1entn2s1epns1erfns1ergn2serhns1ersnsfi4lnsho2fn2simpnsi4tensi2trns2kaln2s1opn4spatn3s2pins4piens3ponn4sprän4spronst1akn3starn3statns4tornstü1bn2s1unns2ungns4unrns4unsn4s3zint3absn3t2alnt1angnt2arbnt1arknt2armn2t1äunte3aunt1ebente3g6n2teignt4enent4ernnt4ersnt4ertnt2hern2t3hon3t4hunti3kln2tinfntini1nt2insn3ti1tnt4lemntmen2nto3ment3recn5trepnt4rign5tropn2t3rünt4saunt2sto3n4tu_ntu2ra2n3umb2n1ums2n3umz3nung_n3ungl2n1uninu4t3rn2z1aun2z1ännzdi1snzi2ganzig4snz1inin2zurkn2z1wan2z1wän2z1wuoa3cheoa3chioa4k1lo4a3lao4a3mi3oa3seo3b2al2o3b2äob3ein2o3b2iob3iteo2b3li2o3bloo2b3reob3s2hob2staocha2boche4boch1eioch3ö2och3teochu2fo2ckarock2erock3szodein3ode2n1odene4ode3sp2o3diaof1a2co2f1eiof2f1a1offizof2f5lof2f3r2o1f1rof4samof2speof2sprof2s1uof2teio2g1abog1alaog1ango2g1eiogi2erog1steohen3sohl3auoh3lecohl1eioh3lemoh3lenoh3lepohls2eoh2n1ooho2laoh1o2poh4rinoimmu4oka2laokale43o2kelok2s1po2l1akolars2ol1aufol4damol1eieol1eisol2fraoli3k4ol2kreol2lakol2lelolo3p2ol1ortol2strol2z1aol2zinom2anwom1arto2m1auo2m1eio3men_o2meruom1erzomiet1om1ingom1orgo4munto2narbon3ausone2n3onens2on1erbon1ergon1eröo3netton3g2lon2i3do4nikro4n1imon3ingonlo2con3n2eo2nokeon1orconsa2gon4samon2sebonse2lonst2hon3t2aoo2k3lo2p3adop3aktopa2leo1pe4nop2f3aop3fahopf3laop1flüopi5a4op5lago2p3le1op3t4or3a2bor4altor2ando2ranhor3arbor3attor1ändor2baror2dauor2deuor2ditor2dumore4aso2r1efor1eigo2reino2rerfor1ethor2fleorf3s42orgetor3g2h2orgiaorgi1eor3gle2o3ric4orie_o3rier4orin1or5ne_or3s4aor2täror2tefor2theor2torort3reo4r3un2o3s2ao3scheo2s1eio3s2hi2os2kl2os2koos3peco3s2poos2seios2s3oos4sonos2s3pos2s3tost1auos4teios2t3hos3tilost3räost3reost3ufo3s2zeo2ß1elota2goo5tarko3tarto2t1auot3augotei4not4em3otemp2ot5helo2t3hiot3hosot1opfoto2rao2t3reot3rinot4spaots2peot2sprot2t3rot4triou1f4lou4le_o3undsou3s2ioviso3owe2r11o2xidöbe2laöbe4liöh3l2eöl2k3löl2naröl2ungönizi1öp4s3tö2r3ecö2r1eiör2ergö2rerlör2f3lö2r1imörner2ör3s2kö2schaö2schlö2schwö2s1eiös2s1cöte4n3pa1f4rpa1k4lpak2topala3tpa2narpa3neipa2neu1pa2nopan3slpa5regpa5rek1park_par2klpar2kr1partn1partypar3z2pa3s2ppat4e2pa5t4rpa3unipä3ckepä2t3hpät3s4pekt4spe2letpe2lexpell2apell4epen3dape4nenpe2n1o3pensi1pensupen3z2per2anper4nape2robperwa4pes3s2p2f1akpf1ansp2fa4rpf3arepf3armp2f1au4p3fe_pf1eimpf1einp3fen_p2fentp3fer_pf2erwp3f2esp2f3läpf3leipf3lie2p1heiphen3dphen3sphi2ka2phthepi3as_pi3chlpiela2ping3s3pinsepi3onupi4pel3pirinpi3t2aplan3gpo2laupo4lorpo1o2bpo1ralpo1raupo4stapo4stäpo2stopos6trpo2t1upp3anlppe2n1p2p1f4p3p2hopp5lanp2p3rap2p3repre2e13preis2p3rer3p4res1prinz2prosspro1stp3steap3stelp3s2tipt3albp4t3ecp4t1eip4telept1in1pto3mept1urspul2sppu2s3t2r3aacra2barrab2blr2aber1r4abi2r3abwra2chura2dam2radapraf3arra2ferra3gle3r2ahmrail4l2r3airra2krera2kro2raktira2la2ral3abr3alar3r4aldral3larall2e2rallgr3alp_2ralper3al3trama3srambi2ra2mer1r2ami2r1amtramt4sr4andar4anderand3sr4aner1rangirani1eran2kr2r1anm2r1anpr2ans_r2ansp2rantr2r3anw3rareirar3f42r3arz2rato_rat2st3raub_rau2mi3rausc2rausgrau2spraut5srä2s1c3rätser2b1abrbal3arba3rerb1artrb1aufrb1echr4belärb1entr3b2larbla2dr2ble_rb3lerrb2linrb4seirb3skarb4stärb3strr1che_r1chenrch1s2rch3sprch3tar3d2acr2d1akr2d1alrdani1rd1antrd1anzrd2ei_rden3drde3rerde3sprdi3a2rdia4lrdo2berd3ratre2altre3at_re3atsre2b1are2b1lreb3ra4rechs2reck_2recki2reditre2hacre2h1ire2h1orei4bl4reifrrei3gareim2p4reingr3eink4reinr4re2ke2r1elbre3lei2r1elf2r1elt4rempfrena2bre3nal3rendiren3drren4gl2rengp2rengsr1ense2rentw3r4er_2r1erbr2erbr2r1erdr2erenr2erki2rerlö2r1ermre2robr2erse2rerspr2erte2rertr2r1erzrer5zer2erzy3r4es_ress2ere1stare2thyreu3g2re3uni2r1eurrewa4rrf1ältr2fentrf3licrf3linrf2s1ärf2s3trf3t4rr2g1ahr2g1akrge4anrge2blr2getor2glanr2gleur2g1obr2gregr2gresr2gretrg3rinrgs4tr3r4he_3r4henrho2i3rib2blri1cha2ridolrie2frriene4rien3srie2nuri1er_ri4ereri2f1ari2ferri2f1orim4scr2i3na2r1indri3n4erine1i2r1infrin2foring3lrin2gr2r1inh2rinitr1innu2r1insrin4sorin2sp2r1inv3risikri4s1pri3t2irit2trr3klaur2klisrk5nebr2k5nurk3räurk3rinrk2s1erk3shirk2tinrk2t3rrk3trark4trirk1unirlös3srl2s1prl3ster3m2agrma2larm1ansrm1anzrm1a2pr2maphr2m1efr2mider2m1imrm3starm3umsrn2andrn3anirn2a2rrn3arern3arirn3eifr4nerfr4nerkr4n1inr2n1opr2n1orrn3s2ärn3s2prn3s2zrn3t2ero2bei3rock_r2o3deroh3na3r2ohrro2madro2mer4ro1nyror3alro2ratro2reiro2r1oror3thro3s2iro3smoro3starost1rro4tagrote3iro2thoro4trirots2orot2taro3t2uro3untrö2b3lrpe2rerrer4srre2strr2n3ar2r3obrr3stur4samprs3anprs3antrsch2lr3schur3schwr2seinrse2n1rs2endrse4ners1erers1erörs1ersrs1erzrs1etars2kalrs2kanrs2kiers2kisr4s1opr4sordr2s3phrs2tecr3stier2stinr2stiprs4tobr4stotr3s4trr3s4türtals1rt1angrt1annrt1antrt1anzr2t1arrte1e2rt4eifr2telfr2temort1ersrt3holrt2humr2t1idr2tinfrto2rirt3recrt3rosrtrü2crt2spart2sprru2ckurude2aruf2s32r1uhrru1insru2m3ar2ums_2r1unar2unde2r1unf2runglrun2kr2r1unl2r1unm4r3untru2r1erus4stru3staru4teiru2t3rrü1benrwun3srz1a2cr5zenerz1engr3z2ofrzug2u3sabetsa3blesach3t2s1ada2s3affsa1f4r3s2al_sal2se2s1alt3s2alz4s1amnsam2tos2an2cs4and_3sang_2s3anh2s3anl2s3anssan4sk2s3anw3s4ar_3s2ara4s3arb3s2ard3s2ars4sartisa4ru24s3ath4s3atlsauri1s3ausw2s1änd3sänge2schak2schao3sche_2schefsch2en3sches4schexschi4es4chim3schis2schmö2schn_2schoxschs2e4sch3tscht2ascht4rsch2up3s4cop3sco4rsda3mese3at_s1echtsee3igseein2se1er_se1erö2s1effse2galse4helse2hinseh3rese2hüb2s1ei_2s1eie2s1eig2seinb4seing2seinh4seink2seinl2seinn4seinr2seinw4s1eis3s2eitse2l1ase3ladsela2gse3lamsel1ec4selem2self_s3elixse2l3ösel3szsel3trs4e3ma2s1emp3s2en_se4nagsen3gl3s2enise4nob3s2enss2ent_s2enti2sentw2sentzse2n3use5refser2ers2erfrs3erfüs2ergr2serhöse2robs2ers_2sersas4ert_s2ertase3rum3s4ervse2selse1stase2tatse1u2n3s2ha_4s3hansho4resi2achsi3enesi1errsi3gnusi2g3rsig4stsi2k1äsik3t42s1immsi3n4a2s1ind2s1infsing1asin3ghsin2gr4s1inhsini1e2s1inq2s1ins2s1int4s1invsi2s1esi2s1osi2s1psi2tausi2tra3skala4skanz3s2ki_3s2kik3skulpsla2vesler3s3s4lipsli4tuslo3be4s5not2s1o2bs1o2he4sohng2s1ohr4so2lyson3auson3säso1ral2s3ordso2rei4s1ostso3unt2s1ö2l2spala2spara4sparo3sparuspe3p4s1peri2sperl2speros2perr4spers3s2pez4spi4p3s2plis3p4lu4s3poss2potts2pracs2pran4sprax2spräm4spräs2spred2spres2sprob4sprüfsrat2ssrö2s1ssa3bos2sanos4sansss2antss3attsse3hass1erös3s2essse3tass1offs2s1opss1oris2spros3stelss4tipss2turss1ums2stabb3s4tad3staff2stale2stalkst1almst1alpst1ami4stan_sta4na3stand2stani2stans2stanws4tar_4staris4tarsst1asis3tat_2stauf2staum3staur2staus4stälts4tänd5stätts3täus4s5te_3s2tegste2gr3s4tehs2te2i3steig4steil1s2tel2stel_2steln2stels4stem_s5ten_st4ens4stermste4sts4teti3s2teu1steue4steufs2t3ho2stie_s2tiegs2tiel2stien3s2tif3s4tims4tinfs3tinnst1ins1stitu2sto3d4stod_s4toffs4t3om2stopo2stor_2store2storg2storis3tort2stose4stote2stöch2strad2strag4strai4strak2stral5straß2strua2strug3struk2strup2st3t43s4tud2stumt2stun_4stunn2stuntstu3rest3url2sturn2s3tus2stüch2stür_2stüre2stürg2stürs3s2tyl3su2b3su2cha2s1u2fsu1it_su2marsu2mau3s2umesu2mels3umfesum1o2su2mors3umsas3umst2s1uni2s1urlsüden24s3zeis2zena4szent4s3zet2ß1e2gße2l1aß2ers_2ßerseßge2bl2t1abb3tabel2taben3table2t3abn2t3abtta3d2s3taf2et1af4rta2ga24ta3gltag4sttah3leta3i2kta1insta1ir_t1a2kata2krotak6ta3taktb3t2al_ta3lagta3lakt1alb_t1albk3t4aletal2löta2mert1amplt1a2na4t2andt3ankl2tanwa2tanwät2anz_t1anzat1anzuta2pe_ta2pes2t1armt1artitar2to2t1arz4t1aspta2tanta2tautat3eita2temtat3heta2tom4tatue2t1auf4taufg4taufnt1ausb3tausct2auset1ausk4tausltaxi1s2t1ältt1ängs3t4ebbte3cha3technteck2ete2ckite2en3te1erwteg3ret3eifr2t1ein4teinf4teinnt3eis_t3eisb3te3letel1eb2telemtel1ente4leute2littell2ete2l1ö3telt4tel3tatel3thte2min2temme2tempfte4m1utena2bte4naste4nauten3dat6endit6endote2nefte2nettens2et4entat3entb4tentdt4ente4tentnten3zwt3e2pi3t4er_tera2bte1rafter3am4terbs4terbtte2relt4erfrte3ria3termi2ternct4ers_terst4ter3zatesa2cte2santesä2cte2selte2sprtes3s2te2tat3teur_2t1exz3t4ha_3thal_4t3hau1t2he_2t3heit4heint4henet4heni2therr3these2t3hil2t3himth4mag2t3hoc2t3hoht4hol_2t3hot1th2r2ti3a2mtiden2ti2deo3tief_3ti2erti2kamti2karti2kinti2kräti2larti2leiti2lel4t1imp3t2in_4t1indti3n2eting3lting3s2t1inj2t1int4t1invti2seiti1sta2ti3tuti2vanti2velti2v1oti2v3rtlung4tnes4s3tochtto4d1utom1e2to2mento2nauto2nehto2pakto2patto2rauto4ränto2relt3orga3torint1ort_3tost4to1sta3to3teto2thotouil44tractt3rad_6trahm5t4rai2trand3trankt3rann3transt3raset3rasi3träne4t5re_tre2brt3recht4reck6t3red5t4ree4trefe4trefot4rei_4treic2treift3reigt3reint3reis6treitt3reiz6t3relt4ren_3trendt3rent2trepe2trepot4reprt4res_3treuh5trieb2triegtri4er5triggt3rind4tringtri3ni4trinn4tripttrizi13t4roitro2ke4trom_tro2mi4troml2t3roo3tropf2t3röttrums15t4ruptru2thtrü1betrü1bu2t3rüct4sa4bt3s2act2s1aht4s3art2s1änts4cort3seiltse2n1t2s1erts1init2s1irt1slalt3spalts1parts2pedt3spekt3s2pit4stagts3takts4talt2stipt4stitts3tocts3tort2strits3türtta2bet2t1adtt2anttt1arttt1ebett1eiftt1eistte2lattel1otte2satte2sätt2häut2t3hott4roctt2sentt2sortt2spett2sprtt2stitu1almtu2chitu3fent3u2kr3t2ume2t3umf2t3umg2t3umk2t3umrtum2situm2so2t3umt2t3umz2t1una2t1und2t3unft3unga2tunif2t3unttu2re_tu2reitu2resturin1tück2s3tür3s3tütentze4n1tz2enetz1erltze2rotz2erst3ze2stzgel2tz1indtz1inttz2tinua2lauu3aletual2mau3a2louara2bu2be2cub3licu2b3luub2sanub2s1oub2spau1cha_uch1eiu3chesuch1iluch1inu2ch3ruch2souchst4u2ckemuder2eudert4udi3enuditi4ue2neruenge4uen2zuue2r3aue2r1äu3erehu3ereru3erexuer3g2uer2neue2r3ouer3scuer3t2u3erumue4teku2f1äsu2f1eiu2f1emu3fen_u2fentuf2ernuf2frouf1oriuf4sinuf2spouft3s2u2g1apu2g1eiug3ladu3g2löug4serug3spaug4sprug4spuug5stäug3strug3stüuhe3s6uh2reruh4rinuisi4nui4s5tukle1iuk2t3ruld2seu2l1elul1erful1erhul1erwule2saul1etaul1insul2lesul2p1hul4samuls2thul4trium1allum1anzu2maut1um3d2umer2aum1ins3umsatum4serum2simu2m1uru3n2amu2n3an2un2asun4dabun4deiun2didun2dorun2d3r4unds_und3spund3stun2ei_un3einunen2tun4es41unget1ungew1unglüun2g1rung3raung3riung4saun3ide1u2nifun3islu3n2it3u2nivun2keiun3n2eunvol2u1or3cu2pf2eu2pf1iu3rabaura2beur2anbur2anhu2r1auur3b2aur1effu2releu4r1epur1erhur1erwur2griurg3s4ur1iniur3insur1int1urlauur3sacur2sanur2sauur2serur4sinurst4rur2z1wus4annu2s1ecu2s1eiu3seiduse1rau2serpu2s1opu2spatus1picus2porus4sezus2sofu1stalus3tauust2inu2stunu2sturut1altut3a2mu2t1apu2t1arute4geut1ei_ut1eieutel1eute2n1u2tentu4t1exu2t3hout1opfu2topsut3reaut3s2aut2s1äut2spaut5t4lutu4reutu5ruut2z1wuve3räüb2s3tücht4eü3ckenück1erü3den_üden4güdwes2ü2f1eiü2h1eiühl1acüh3r2eühr3taü2mentün2fliün2g3lün3strü2r1eiü3r2o1ü2schlüs2s1cü2t1alva2teiva2t3hvatik2va2t3rvat3s4va2t1uveits32ve3muve3nalve3radve3rasver3b2ve4rekve4rinver3stver5te2ve3scves3tivi4a3tvie2w1vi2l1avi4leh2v1i2m2v1intvi3s2ovoll1avol2livo5rigv1steuwab2blwa3chewaffe2wa2g3nwah2liwal4dawal2tawal2towang4s1war2eware1iwart4ewass4e4webebwe2g1awe2g3lwe2g3rweg3s4wei4blwei2gawei3k4wei4trwel2t1wel4trwen3a4we2r3awer2bl1werbu1werduwerer2wer2fl1werk_wer2ka1werkewer2klwer2kuwer2tawer2to1wertswe2s1pwest1awes2thwest3rwes4tuwett3swi3ckawien2ewie2stwim2mawin2drwi3s2e1witzlwo2chawoche4woh2lewo2r3iwo4r3uwört2hwul3sewur2fa1wurstwus3te1wu4t1xe3lei3x2em_xen3s2x1i2doxin3s2xi2so2xis4täx1i2tuxtblo4x2t1eix4tentx2t3evy3chisyloni1y2p1iny1s4tyy2s1u22z3a2b2z3a2k2z1all2z3anf2z3anlz1artizar2tr2z1arzza1st42z3at3z1au2fzbübe32zecho2z1eck2z1effzei3lazeile42z1einzei3s4zeist4zei2trze2lenzell2azel3sz2z1empzens2ezent3sze2r3a2zerhöz2erl_2zerlö2z1erq2z1erzze3skuzes2spzes2stze2s3tze3sta2zettszger2azi3alozi1erhziers1zi1es_2z1impzin4er2z1inf2z1inhzin1itzin2sa2z1invzirk6szi3s2zzi1t2hzor4ne2z1oszz2t1auz4tehezt1inszt3reczu3ckezug1un2z1uhr2z1um_zumen22z1umszup2fizu3r2a2z1url2z1urs2z1urtz2wangz2weigz1weis2z1wel2z1wen2z1werz2werg2z1weszzi1s4",7:"_al4tei_amt4s3_and4ri_an3gli_angst3_an4si__an4tag_ausch3_be3erb_be3r2e_berg3a_bo4s3k_bu4ser_da4rin_da4te__da4tes_de4in__dien4e_ebe2r1_en2d3r_en4tei_er4dan_er4dar_er4dei_er4der_es5t4e_fer4no_fi3est_fi4le__fi4len_ge5nar_ge3r2a_ge3r2e_ger4in_hau2t1_her3an_ho4met_ima4ge_ka2b5l_li4ve__lo3ver_lus4tr_men3t4_orts3e_pa4r1e_reb3s2_re3cha_rein4t_reli3e_res6tr_sali3e_sim3p4_sto4re_tage4s_ti4me__ti4mes_to4nin_tri3es_ul4mei_urin4s_ur3o2m_ve5n2e_wei4ta_wor4tu_zin4stab1er2raber4ziaber4zoab3essea4cherfa4cherka4cheröach1o2bach2t1oach1u2fa3d2ar3ade1r2aade3s2pade5str2ad3recaf4t5reage4neba4gentuage4ralage4selage2s3pag3esseags4toca2h1erhah4l1eiahner4eahre4s3ahr6tria3isch_ajekt4o1a2k4adak5t4riala5ch2a2l1angalb3einalb3eisal4berh3a2l1efa4l3einal3endsa2l1erfa2l1erha2l1ert3a2lerza2l1eskali4eneali4nalal3lenda2l1o2balt3eigalt3ricalt4stüalzer4zamen4seamp2fa2am4schlana4lin2ana1s4and4artandel4san2d3rüand4sasand3stean2f5laan2g1eian4gerwan2g3raan2k1anan2k3noan2k3rä3antennan3t4heant3rina3ra3lia2r1anga2r1ansa2r1anza2r3appar2b3unaren4seare3r2aa2r1erhar2f3raari3e4nari3erdari3ergarin3itark3amtar2k1arark3aueark3lagark4trear4merkar3m2ora2r1o2dar2r3adarre4n3ar4schla4schecasch3laa2s3e2ma2s1o2fas4s3eia1s4tasas6t3rea2t1aktater3s2ato4mana2t1ortat4schnatt3angat3t4häat2t3räat4zerkat4zerwat2z1inau2b1alauch3taau4ferkaup4terau2s1ahau4schmau4schoaus3erp3aussagaus4se_aus5triau2t1äuä3isch_äl4schlän3n4e2ä2r1eneär4mentäser4eiäse4renäskopf3ät4schlät4schräu4schmäus2s1cba2k1erban2k1aba2r1ambau3s2k2b1eierbei4ge_2b1eimebe1in2hbe2l1enben3dorben4spaben4sprben5t4rber4ei_be4rerkber4in_ber3issbe2s1erb3esst_be3s4ze4b1illubis2s1cb2i3tusbjek4to2b3leidbo2l1anbor2d1ibor2d3rbor2t3rbra1st42b3rat_2b3riemb4schanb6schefb4s1erfb4s1ersbst1a2bb2s3träbs3treubtast3rbu4schlbu4schmbu4schwbügel3eca3s2a3ch3a2bich3anst3chartache4fer4chelemche4ler4chents4chentwche3rei2ch1e4x3chines2ch1invch3leinch4sper2ch1unf4ckense4ckentw4ckerhö4ckerke2ck1err4ckerze2ck1eseck4stro2ck1um3com4te_comtes4cre4mes2d1alar2d1ammädan4ce_dan5kladan2k1odar2m1i2d1au2f2d1aus3delei4gde3leindel4lebdel4leide2l1obdel4sandel2s5edel2s1p4denergden4sende2re2bde4reckder3ediderer4tderin4f4derklä4derneuder3taudert4rades3eltde2sen1de4stredes4tumdeten4tdge4t1edie4nebdi3ens_die2s3cdi2s5tedi4tengd2o3r4ador2f1a2d3rast2d3rauc3d4reck2d3reic3d4riscdrunge3drü5cked4s1amtds3assid4schind2s1e2bd4seinsd2s1engd2s1entd2s1erfd2s1erkd2s1erzd4s1etad3s2kand2s1pard3stell2d1un3ddu4schndu4schrdu4schwe4aler_e3at5t4ebens3eebet2s3eb4scheeb4stätebs3temebs3t2hech1o2bede3n2eeden4seeden4speder3t2ed2s1esed2s3treein4see2f1e2be2f1i2de2f1insege4strehen6t3ehe3strehl3eineh4lenteh5l2erehr1e2cehr3erleienge44eigeno1ei2g3nei3k4laei4leineil3inseim3allei4nengein4fo_ein4fosein4hab3einkomei2n1o23einsate4inverekt4antekt3erfekt3ergela4bene2l3a2me2l1a2re2l1eine3leinee4leing2e3len_e4lensee2l1ente2l1erge2l1errell3ebeell3eiseller4nelt3eng3elternelt3s2kelt3s2pe2m3anfe2m1ansem2d3a2e2m1erw1e2metiem2p3leena3l2ien3d2acend4ortend3romend3s2pene4bene4n1enten4entr4e3ner_e2n1erd1e2nerge2n1erle2n1erre2n1erse2n1erte2n3erue2n1erwe4n3essenge3raeni3er_e2n1i4me2n1o2benob4lee2n1o2ren4terb3entspr4entwetenz3erte4ratemerd3erwer3echser1e2ckere4dite2r1e2h4e3rei_4e3ren_e4rensee4rentne2r3erfe2r1erher3e4tiere4vid3ergebn4ergehäe3ri3k44e3rin_e2r1ini3erlebnermen4serm3erse2r1o2pers4toder4tersert3ins3erweck6erweise4s3atoe2s3einese4lere3s2peke3s2pore3s4praess3erges2s1paestab4be4starb1e2stase1s2tecest3ories3tropeße3r2eeten3d2eter4höeter4tre4traume6t3recetsch3wet2t3auette4n1et4t1umeu3ereieu3g2ereve5r2iewinde3e2z1ennfa4chebfa2ch1ifäh2r1ufeh4lei2f1eing4f1einh2f1einw2fe2lekfe2l1erfel4sohfe4rangfer3erz4ferneufest3eifet2t3afeuer3effel2d1f2f3emifi1er2ffi2l1anfisch3o2f3leinflu4gerfor4teifor2t3r2f5raucf4schanf4scheff4s1ehrf2s1entf4s1etaf3s2kief2s1pasf3s2porf4stechf3s4telf3sternft1a2bef4t1entft4scheft4s3täft4stri2f1u2nifun2k3rfus2s1pfu2ß1er4gangeb2g3ankugas5tangebe4amge4lanzge4lessgel3stegel3t2agen4auggen2d1rgen3eidgen3erngen4samgen4ta_2g1entfge4renggerin4fgerin4tger4satger4stoges3aufges3eltge2s3erges3s2tgien2e12g3isel3g2laub2g1lauf4g3lein4g3lisc2gni2s13g2num_2g3rede2g3reic2g3rein2g3renng3riese2g3ringg4s3a2kg4schefg3s2eilg3s2pekg3s2porgst3entgst3errg4s3torgs4trat4gungew2g1unglguschi5gus4serhaf3f4lhalan4chal4beihal4t3rhar4mes2h1aufmhau4spahäu2s1chba2r3ahe4b1eihe5ch2ehe2f1eihef3ermheiler4heit4s3he2l3auh3e2lekhel3ershel4meihe4n3a2hen3endhen3erg2h3entwher3a2bhe4reck4hereighe4rerwh1er2foherin4fherin4sh3erlauhe2s5trhie4rinhif3f4rhi2l3a4hin4t1ahir4nerhlags4ohle3runhner3eih3nungeho2l1ei2hot3s2hrei4bah4r3eigh3re2s1h2r1etah3rieslhr2s1achr2s3anhr3schlhr2s1enhr4s1inhr4s1ofh2s1achh4schanhse4lerh2s1erlh2s1ingh2s1parhst3alth2s3tauh3steinh5stellhst3ranh3taktsh4t3alth4t3a2mh4t3assh2t1eimh2t1eish4tentfht3erfoht3erfüh2t1erhh4terklht3erscht3ersth2t1erzh4t1eseh4t1esshte3stah4t3rakht3randh2t3rath4t5rinh2t3rolh2t3rosh4t1rösht3spriht4stabhts4tieht4stürh2t1urshu2b3eihu2b1enhu2l3eihu4lenthu2l1inhut4zeni3alenti3alerfi3alerhi3a2leti3a4liai1ät3s4i2b1aufich4speich2t3rieb4stoieb4strie2f1akie2f1anie3g4rai2e2l1aien4erfienge4fien3s2eie3r2erie4rerfi2er5niier4sehier3staier3steies2s3tie2t3hoie4t1ö4i2f3armift3erkif4t3riift3s2pi2g1angi4gefari3g4neuig3steiig4strei2k1a4ki2k1anoi4kanzei2k1erhi2ker2li2k1etaik4leriik2o3p4ikt3erki2l3a2mi4lentsi2l1erfi2l1ergi2l1erril2f3reilig1a2ili4gabi2l1indil3l2eril4mangil2m3atil2z1arilz3erki2m1armimat5scima4turi2m1erfi2m1erzi2m1infi2m1insindes4ii2n1engin3erbei4nerbiiner4löing4sam3inkarninma4leinn4stains3ertin3skanin3stelin4s3umional3aion4spiir2m1eii4s1amtisch3ari3s2chei4schefi4schini2sch1lisch3leisch3obisch3reisch3rui4schwai4schwoisch3wuise3infi4seinti2s1ermi2s1essis4s1aci1s4tati1s4teui1s4tilit3a4reiten3s2iti4kaniti3k2ei2t1in1i2t3ranits1a2git2s1e4its3er1it2s1peit4stafi2v1enei2v1enti2z1enejek4terjektor4je2t1u2jugend3jung3s42k1a2bo2k3a2drka3len_ka4lenskal3eri2k1annakari3es2k1artikau2f1okauf4spke1in2d2k1eiseke4leim2ke2lek2ke3letkel3s2kk3enten2k1ents4kerfahk4erfamk3ergebk3er4hökerin4tker4kenker4neuker4zeu2k1i2dekie2l3o2ki3l2aki3n4o32k1inse4k1lastkle3ari4k3leit2k1o2fekop4fenkot4tak2k3räum2k3redekreier4k4s1amtk2s1ersk2s1erwk3stat4k2t3a2rk2t1erhk2t1ingkti4terk4torgakt3oriek2u3n2akuri4erku4schl4l3aben4l1a2bl2l1a2drla2g1oblan2d3rlang3s4l1a2po2la2r1anla2r1eila4rene3l2ar3glar3ini2l1ar3t3lasserla2t3ralat4tanlat2t3rlau2b3rlaub4se2l1ausslär2m1al2b1edel2b1insld3a2b1ld3a2ckl2d1a2dl2d3a2nld4arm_lecht4ele2g1asleh3r2elein4dulei4ßerleit3s22le2lekle2m1o24lendet4lenerg2l1ennilen4sem2l3entwlent4wäle2r3asler3engle4rers3lergehl3ergen2l1ergilerin4s2l1er2ö3l2erra2l1esellgeräu33lichem3licherliebe4slie2s3clik4ter2l1indulingst4lin2k1ali4schu2l1i4solkor2b1ll1a2bel2l1a2mlle4n3all3endul4lentsl4lerfol4lergoll3erntll3ertrl2l1indl2l1o2rll1ö4sellus5t6l2m3a2blm3einsl2m1e2pl2m1erz2l1o2bllos3t4r2l1ö4l3l2s1a2dl4s1ambl4schinl4schmül2s1e2bl2s1ersl2s1erwl2s1impls3ohnel4t3amel2t3atol2t1eislt4stablt4stocltu4ranluf2t1aluf2t1eluf2t5rlung4sclus4s3alus2s1cluss3erlus2s1olus2s1plus2s3tlus4stälus4t1alust3relut1o2fmach4trma4ges_ma4laktma4l3atma2l3ut2m1analman4ce_man3ers2m1angr4ma3r2oma3s2pa4m1aspemassen3mas4telma1s4trma2ta2b2m1au2fmäu2s1cmbast3emedien3mein4dame1i4so2m1e2miment4spme2r3apme4rensmerin4dmerin4tmerz4en4m1essames2s1omes2s1pme4t3römierer4mil4cheminde4sming3s4mi4schami4schnmi4schwmis2s1cmi2s5tem2m1ansmme4linm4mentwmme2ra2mme4recmmi1s4tmo4n1ermor2d3amoster4mpf3erpmpf3errms5trenm2t1erfm4t1ergm2t1erlm2t1ersm2t1ertm4t1etam2t1insmt3s2kamun2d1amül4lenmütter3na3chenna2l1a2na4lent4n1a2nana4schw4n1a2synauf4frn4austenbe3r2en3ce2n3n2d1anznde4al_nde4lännde4robn2d3ratn4d3runnd4stabnds3taune2e2i22ne2he_2nehen44n3eing4n3eink3ne3l2o4n1endb4n1endd4n1endf4n1endh4n1endk4n1endp4n1endt4n1endwne4nenenen4ge_nen4gen4n1entl4n3entwne2ra2bne3r4alne2r3am4nerbe_4nerben4n5erfonerfor42n3erhö2n1erlöner4mit4n1ernt3n2ers_2n3ersa4n3essine2t1akne2t1annett4scnfi4le_n2g3a2mn2g1andn2g1einnge4ramnge4zänn2g1i2dn3g2locngs5trinie3l2a3n2ing4ni4schwnitt4san4k3algn2k1insn2k1ortnk2s1aln4n1alln4nentsn2n1unfn2o3ble2n1ob2s2n3o2fenor2d5rno4t3eino2t3inno2t1opn2s1a2dn2s1alln2s1äusn6schefn4schronsen4spn2s1erkn2s1erön2s1erwn2s1erzn4s1etan2s1inin4sperin4stat_nst3eifn3stemmns4tentnst4erön4stracn4strien3t2a3cn4tanzan2t1eisn4t1essn2t1inhnton2s1nt3reifnt3riegntu4re_ntu4res1n2ung4n2z1a2gn4zensen4zentwn4zentznz3erwe2o3b4enoben3d4oben3seobe4riso2ch1ecocher4ko3d2e1iof2f1inoge2l1io2h1eiso2h1erto2h1erzoh4lergoh4lerwo3isch_ol2l3auoll1e2col2l1eiol4lerkoma4nero3m2eiso2m1indo2m1into2n1erdon3n2anont3antont3erwon4t3riop4ferdopi3er_o2r3almor2d3amor2d1irord3s2to4rientor2k3aror4mansor4mentor3n2o1oro3n2aor2t1akor4t1anor2t1auort3eigort3erfor2t3evort3insor4trauort3ricor2t1umo4sentsoss3andost1a2bos4t3amost3angos3tarros4ta4soster3eos4t1obost3ranost3roto2ß1enzo2ß1ereo2ß1erfo3t2e1iote2l1aote4leio2t1erwo2t1i2mot4terkoun4ge_our4ne_ozen4taöchs4tuögen2s1öl2f1eiö2r1e2lö3r2erzö2r1uneö2sch3mpa2r3afpar3akt2par2erpar4kampar4kaupe2l1a2pe3li4npe3n2alper2r1a2ph1erspil4zerpingen4pi2z1in3ple5n4po2p3akpo2p3arpor4tinpor4trepor6tripo2s3tepost3eipost3rap2p3a2bppe4lerp4t1entpt3ereip4t1erwp4t1erz2r1acetra4chebra4chinracht3rr3a2d3r3ra1k4l2r3alm_r4alt2hram4manram4m3uram2p3lran4dep4r3aneiran4spara2r1inra4schl2r3asph2r3attarau3e2nrau4man2raus5srbe3r2erchst4rr2d1elbrden4glrder4err2d1innre3alerrech3ar3reigewrei3l2arei3l2irei3necre1in2v2re2lek2r1entl2r1ents4r3entzr4ergen2r1ernä4r3erns4r3ernt3r2ers_2r1ersare2s2tu2r3evid2r3e2x1rfi4le_rfolg4srf4s1idrf2s3prr2g1a2drge4ralrge4taprgi4selr2g3ralrg5s2turi2d3anri3ers_ri3estiri2f1eirif4terri4generin4dexrin4diz4rinnta3r4ins_r4inspirin4tegrin4t5rri4schori4schwr3i2talr2k3reark4stecrkt3ersrk2t1o2rl2s3tor2m1aldr2n1anzr4n3eisr4n1enern3enser4n1ergrn4erhir4n1ertrol4lanro4nerbron4tanros2s1crre4aler2s1a2dr4s1amtr2s3angr3sch2er4stantrs4temprs4terbrst3ingrst3ranr2t1almrt3a4rer2t3attrtei3lartei1s4rten3s2rt3ereir4terfar4terfor4t3erhr2t1erkrter4rerte3s2kr2t1imar4t3rakr4treisrt4s1ehr2t1urtru3a2r3ruch3strun2d1arund3er2r1u2ni4r3uniorus2s1pru2t1o2rve4n1er2z1erfr2z1ergr2z1erkr2z1erwrz2t3ror3z2wecsa2cho22s1a2drsa4gentsa3i2k1sa2l1ids3ameri6s1amma2s3a2nasan4dri4s3antr4s3a2sy2s3aufb2s3ausb3s2ausesbe3r2es4ch2al4schanc4schangsch3ei_4schemp4schess4schiru4schle_sch6lit4schre_4schrinsch3rom4schrousch3s2k4schunt4schwetsch4wilsdien4e2s1echo2s1e2ckse2e1i4se2h1a2se4h1eise4herk5s4ein_sein4dusei3n2esein4fos4eins_4seinsp4seinstsel3ers2s1endl4s1entf2s3entg2s1entsser3a2dse2r3als3erbe_s3ereig2s1erfo4serfül4serken2s3ernt4s3eröf4sersehse4r1ufse3rund4se4tap4s1e2thsi3ach_siege4ssi2g1a2si2k1absik3erlsin3g4lsing3sasi4schuska4te_4skategska4tes4s3klassni3er_sni3ersso4l3eisol4lerson2s1o2s1orga5s2orgeso2r1o24s1o2ve4spensi3s2pi4e4spier43s4prec3sprosssrat4scss1a2cks4s1alas4s1albs4s3amts4s3angs4s3anzs3sa1s2s2s1egasse3infss3ersessquet4s3ta3li4s3tann3staus_st3a2ve4stechn3steilhstei4naste4mar6s5ter_3sterncs4t3ese3s4tett1s2ti2rst1i4sosto3s2t1s4trah4strans3s4tras4straum4s5träg4sträne4s5tref4streibst3renn2s4trig2s5trisst3rollstro4ma4st3run2s4t3s42stum2sstum4sc3s4tunds2t3uni2s3tuns2st3urtsuch4st3s4zene2ß1estrßi2g1a2ta2b1anta4bend2t1a2drta2g1eitahl3sk3t2aktuta4lensta2l1optan4gar2t1anme4t1anna3t2ans_4t3ansi4t3anspta4rens3t4a3rita2ta2bta2t3erta2t1um4t3ausg4t3auss4t1auswtbauer4tbe3r2e4teilhet3einget3einlate2l3abte2l1acte2l1autele4bete4l1ecte4l1ehte4leinte4lerd4t3elf_te2l1inte4losttel3s2kte2m1ei3temperte4na2dte4na2g4t3endf4t1endl4t3endpten3d4rten3eidten3ens4tenerg4t1eng_ten4glate4n3in4tensem4t3entw4t3entzte3ran_te2re2bter3endte4rengte4rerkterer4z4terfol4terfül3ter3g2t6ergru4terklä2t1erlöter4mert3erneuter4re_ter4sert4erst_t4erstit4erstute4r1ufter4wäh2t3erzbtes3tantest3eitestes4teu3ereteu3eriteu2r3a2t3e2xe2t1e2xi4thrin_4thrinsti4dendti3e4n3tie4recti4gerzti2ma2gtim2m1atin2g1at1in1ittin2k1l3t2ins_4t1inseti4que_ti4schatisch3w3ti3t2etle2r3atmen6t3tmo4desto2d1ertor3inttra3chatra4demtra4far2t3rams3t4ran_tre4ale3t4reib2t3reih4trenditre2t3r2t3rund3t4runkt3s2chat4schart3sch2et4schefts4chemtsch4lit4schrot2s1e2bt4seindt2s1engt2s1entt2s1i2dts4paret3s2pont3s2port4spreits3tätit2s3tepts3tradt4strants3traut2s3trät4streut4stropt2s3trütte4lebtte4lent3u2fertums5trtung4s5tu2r1ertu4schlt2z1e2ct2z1eiet2z1eistz3entsubal3l2ubi3os_u2b3rituch4spruch4toruch2t3ru4ckentu3ck2eruden3s2ue3reigue4rergue4rerku4erinnuer4neru3erunfu3eruntu2f1ä2ßu2f1erhu4ferleufs3temuf2t1ebu4gabteu2g1erfu2g1erlugge4stu2g3rüsu3isch_u3ischsuk2t1inulm3einu2m3a2ku2m1artu2m1ausument4su2m1ergu2m1erlu2m1erwumpf4lium2p3leum2s1peun2d1umun2k1a2unk4titunk2t3run2n3aduns4t1runte4riunvoll3up4t3a2upt3ergu2r3a2mu2r1anau2r1angurgros4ur3s2zeu2s1eseusi3er_us3partu2s1pasu3s2peku5s4pizust3abeu5strasus6trisute4leiuter4eruto4berut4schlut4schmut4schöutz3engut2z1inüch2s1cück3eriü4ckersück4speü3d2ensü2f1ergü2h1engü2h1erkü2h1erzühr3ei_ül2l1eiün2f1eiü2r1entüste3neva2t3a4va4t1inve4l1auvenen4dve3rand2ve3s2evid3s2tvie2h3avie4recvi2l1invollen4vormen4waffel3wah4lerwalt4stwar3stewa4schawä3schewe3cke_we3ckeswei3strwer4gelwe4r3iowest3eiwest1o2wim4m3uwolf4s3wol4lerwor2t3rxi2d1emx2t1e2dxtra3b4x2t3rany2l3a2myl4antezei2t1aze2l1a2ze2l1erze2l1inzel3t2hze4n3aczen4semzen4zerze2re2b2z1ergäz3erhalzerin4tzer4neb2z1ersazert1a2zert4anzer4tin4zerwei3z2erzazessen4zger4s1zin4ser4zinsufzon4terz3t2herzu2g1arzu4gentzwan2d1",8:"_al1e2r1_al5l4en_anden6k_ar4m3ac_ar4t3ei_ber6gab_ber4g3r_de3r4en_einen6g_en4d3er_en5der__er4zen4_ka4t3io_lo4g3in_mode6ra_ost5end_oste6re_par3t4h_richt6e_sucher6_tan4k3la2ch1e2ca4ch3erwacht5ergach6tritack3sta43a2er2o1af4t3erlage4s3tiah4l3erhal4b3erw3a2l1e2bal2l3a4rall5erfaalli5er_al4t3erfam4t3ernand6spas3a4n1erban4g3erfan4g3erlan4g3erzang4s3poani5ers_an2t3a4ran2z1i4nar4t3ramau5ereinau4s3erwauster6mau4ten4gau4t3erhäs4s3erkbach7t4ebal4l3ehbe4r3eiwber6gan_ber3st4abe6steinbe4s3tolbote3n4ebst5einbbu4s3chach3e4ben6chergebcher6zie6ckergeb4d3achse2d1an3d22d1e4ben3d2e1i2mde2l1a2gde4l3augdel5sterde4n3endden4k3li4den4semde4r3eisde3r4erbde3r4erfde4r3ero4d3erhöh4d3ersatdest5altdest5ratdienst5r2d1in1it4d3innerdi4t3erldi4t3ermdi4t3ersd4s3tätid3s4tern2d1u2m1edu4sch3le3a4reneech3t4eiege4n3a2eg4se4r1ehr6erleei4b3uteei4d3errei2m1a2gein6karnein6stalei6schwuei4s3erwek4t3erzeld5erstel4d3erwe4ler4fae4ler4lae4l3ernäe4l3e4taelgi5er_elgi5ersel4l3einemen4t3he6mentspen4d3esse4n3ermoeni5ers_en5sch4eenst5alten4s3täten4t3rolen4z3erfen4z3ergen4z3erke2r3a4sie4r3eis_e4r3entferi3e4n3er6tereier4t3erfess4e3rees4t3enges4t3erhes4t3essestmo6deet4z3enteue6reifeut6schnfacher5ffal6schafal6schmfe4r3anzfrach6trf4s3tätif4s3tresf4s3tütef4t1e4tift4s3tanfzeiten6gas4t3el2g1eise2gel4b3ragel4b3rogel6dersge4l3ers4g3ereigge4ren4sge4r3entge4s3terglei4t5rgrammen6gros6selg3s4tatigs4t3rosgu4t3erhhaft4s3phal6lerfhau3f4lihau5steihau6terkhe4f3inghel4l3auhe2n1e2bhe4r3eishe4r3o4bhfel6lerhich6terho6ckerlhol6zeneh6rerlebh3s4terbh3t4akt_h4teil4zh4t3elith4t3entsht5erkenh6terneuh4t3erreh6terstaht6ersteht6raumeht4s3turhu4l3enghut4z3eria4l3ermie4n3a2gie4n3ergienst5räie4r3erziesen3s4ie4t3erhie4t3ertiker6fahi3l4aufbim4m3enti2n1e2bei4ner4trin2g1a2gin4n3ermin4s3tätir4m3untir4sch3wi4sch3eii5schingi6schwiri4s3etatiso6nendis4s3cheit4z3ergjah4r3eika4n1a4s6kantennkehr4s3o4ken4gagken5steiker6gebnkerin6stk3er4lauk3er4lebk6erlebe2k1er2zikeu6schlkor6dergkre1i2e4k4s3tanzk4t3erfolan2d3a22lat2t1alat4t3inl2d1e2seleben4s3lei6nerble4n3end5lentwet4l3ereigle4r3eim3l4ergew6lerwerbli4g3ers2l1in1itl6lergebl6lergen2l1or3g2l4s3ort_l4s3tätils6ternels6ternsl4te4leml4t1e4skl2t1o2rilu2g1e2blus6serflus6serklus6serslu4t3ergl2z1u4femagi5er_magi5ersmar6schmmar6schrma4t3erdmen6tanz4m3entwi4m3ergänmes6sergmp4f3ergmp4f3erz4m3ungebmu4r1u2fnacht6ra4n3a2mernavi5er_navi5ersn4d3entsnder5stene2n1e2bn4g3erseng4s3e4h2n3i2gelni4k3ingn4k3erfanseh5eren4s3ort_n4s3prien4s3tatens6terbenst5opfenten6te_nt4s3parober3in4ode6rat_ode6rateoh4l3erholl5endsoll5erweol4z3ernonderer5on4t3endopf5erdeopi5ers_or4d3engo2r1e2ckorsch5lior4t3entor4t3ereor4t3offor4t3räuos4s3enzo2ß1en2kö4sch3eipargel6dpä4t1e2hpä4t3entpe4l3inkp2f1in3spos4t3agrach6trärali5er_rali5ersran4d3errau4m3agräu5scher2b1a2der4b3lastrch6terwrderin6sr4d3erntrege4l3äre4h3entreister6re4n3end4r3erken4r3erlaurge4l3errgen4z3w4r3innerrkstati6rk4t3engrk4t3erfrk6terscrk4t3erwr2m1o2rirn3e4benrol3l4enrpe4r3inr6scherlr4s3ort_r6strangr4t3erler4t3ernäru6ckerlrun6derlrun6dersrun6derwr4z3entssa4l3erbsat4z3en6schlein2s1e2bense4l3erl4s1e2pos6sereignse4r3eimse4r3enk2s1i2deoson5ende2s1o2riesrücker6sse3in4tstel4l3äs4t3endss4t3engls4t3entfste6rersstes6se_5st4reif1s4tri2ksun6derhtan6zerhta4r3eretau3f4litau6schrtau6schwtblock5e4t1e2bentein3e4cte2m1o2rte2n1e2bte3n4ei_ten4t3riten6zerh4t3erde_te4r3eif6tergreiter4n3art6erscha6terwerbtes6terkti4v3erlto6ckenttrücker6t4s1amt4t4s3esset3s4terotta6gess2t1u2niotu2r1a2gtu2r1e4tu2ch1e4cu3erin4tuern3s4tu4g3reisun4d3erfund5erhau2r1an5sur3a4renu6schentusch5werusi5ers_u4t3ersaüge6leiswach6stuwach4t4rwahl5entwandels6we5cken_wein4s3aweis4s3pwel6schlwel6schrwel4t3a2wen4k3ri5werdensxpor6terx2t1er2fx2t1il2l2z1e2benzeit5endzei4t3er4z3ergebzer4n3ei4z3erstezer4t3agzer6terezer6trau",9:"_char8me__er8stein_he6r5inn_men8schl_men8schw_os5t6alg_rü6cker6_wort5en6_wor8tendach8traumalli7ers_allkon8tral5s6terbausan8ne_äh4l3e4be6b5rechtebs3e4r3inchner8ei_dampf8erfden6s5taue6ch5erziee4r3en4ge6l5eier_erg3el4s3fal6l5erk6fel6ternfor4m3a4gforni7er_fzei8tendgot6t5erggrab8schegren6z5eihä6s5chenhe6rin6nuherin8terh6l3er4näh6t5erspaieler8gebi2k1e2r2eil4d3en4ti4sch3e4hkamp8ferfke6rin6nulan6d5erwlan6d5erzleis6s5erlepositi86mel6ternmorgen5s65n2en3t2aner8schlenich8tersn4n3er4wano6t5entrnsch7werdn5s6ternen5s6ternsos4s3en4kpapieren8ram6m5ersr8blasserres6s5erw6r5innenmris6t5ersr6st5eingrs4t3er4wr4t3er4lasfal6l5erspani7er_sse6r5atts4s3e4strsu6m5ents4t3a4genttblocken8tes6ter6gür4g3en4gvati8ons_vol6l5endwer6t5ermwin4d3e4czes6s5end",10:"_er8brecht_os8ten8deder6t5en6deren8z7endgram8m7endhrei6b5e6cos6t5er6werein8s7trewel6t5en6dwin8n7ersczge8rin8nu",11:"_er8stritt__spiege8leiach8träume_lei8t7er8scpapie8r7endpiegelei8en",12:"ach8träumen_7sprechende_",13:"_er8stritten_"},charSubstitution:{"ſ":"s"}}},e=new window.Hypher(t.exports);"string"==typeof t.exports.id&&(t.exports.id=[t.exports.id]);for(var r=0;r<t.exports.id.length;r+=1)window.Hypher.languages[t.exports.id[r]]=e}(),function(){var t={exports:null,exports:{id:"en-gb",leftmin:2,rightmin:3,patterns:{3:"sw2s2ym1p2chck1cl2cn2st24sss1rzz21moc1qcr2m5q2ct2byb1vcz2z5sd3bs1jbr4m3rs2hd2gbo2t3gd1jb1j1dosc2d1pdr2dt4m1v1dum3w2myd1vea2r2zr1we1bb2e2edn1az1irt2e1fe1j4aya4xr1q2av2tlzd4r2kr1jer1m1frh2r1fr2er1bqu44qft3ptr22ffy3wyv4y3ufl21fo1po2pn2ft3fut1wg1ba2ra4q2gh4ucm2ep5gp1fm5d2ap2aom1cg3p2gyuf2ha2h1bh1ch1d4nda2nhe22oz2oyo4xh1fh5h4hl2ot2hrun1h1wh2y2yp2aki2d2upie22ah2oo2igu4r2ii2omo1j2oiyn1lz42ip2iq2ir1aba4a2ocn3fuu4uv22ix1iz1jay1iy1h2lylx4l3wn5w2ji4jr4ng4jsy1gk1ck1fkk4y5fk1mkn21vok1pvr44vsk1t4vyk5vk1wl2aw5cn2ul3bw5fwh2wi2w1m1wowt4wy2wz4x1an1in1rn1ql3hxe4x1hx1ill24lsn3mlm2n1jx1ox3plr4x5wxx4",4:"d3gr_fi2xy3ty1a2x5usy5acx1urxu4on2ielph2xti4ni2gx4thn2ilx1t2x1s25niql3rix4osxo4n1logn2ivx5om1locl3ro2lo_l3nel1n4_hi2l5rul1mexi4pl1max3io_ex1l1lu_ig3ll5tll3sll3p_in14n2kl1loll3mn3le_ew4n1n4nne4l1lixi4cll3fn3nil1lal5skls4p_eu14no_l4ivx3erx3enl1itx1eml1isx5eg3lirli1qxe2d3lik5lihx1ec1lig4y1bn1oun4ow4li_x3c4yb2il1g2l2fox2as1leyn3p42lev1letx2ag4ni_l1te_es1nhy2yc1l4n1sw3tow5tenho4ns2cwra42lerle5qn2si3womwol4l1try1d4lek42ledwl1in3suw3la4le_l3don1teldi2nth2lce4yda4l1c2l1tu4lu_l4by_od4lbe4lu1a4laz_oi4l4awnt2iwes4l4aul4asn2tjla4p_or1n1tr5wein1tun2tyn1h2w4ednu1awe4b5nuc_os13nudl4all4af_ov4w3drl4aey3eenu3iw1b45nukl4ac5laa4la_4lue3kyllu1in1gu4wabn1go_ph2v5vikur5_en12vv2ks4ty3enk3slv5rov5ri4k1sk3rung1n2vowy1erkol4ko5a4vonk2novo2l2vo_5lupn2gingh4k3lok3lik3lak2l2ng2aki4wvi2tkis4k1inki2l5kihk3holu1vke4g3kee4kedkdo4_sa2k5d2_eg4k1b4kav4kap4vim4ka3ovi4lk4ann3v2nve2vic2ka4lju1v4vi_ju5ljui4_sh2ygi2nfo4_st44jo_3jo2jil43jigl4vi2vel3veive3gjew3jeu42ve_4jesjeo2y3gljal43jac2ja__th44ly_2izz_ti22izo_do2i5yeix3oy3in2i1wn2x4i2vov4ad2ny25nyc5vacn1z24va_nzy4uy4aux2o2oa2o3ag2ivauve2u4vayle2i3um2ittly1c4obau3tu2itrob2i4obo_up12ithob5tuts2lym2ut2o_ve2oc2ait1a2isyo1clo1crut2ioct2is1pis1lo1cy4usto2doo2du4isblyp2n4ew2ab_2abai4saoe3a2abbus1pir2sir4qoe4do5eeir1ioep5o5eqo3er2usco1etir1a3lyr3lywipy43oeuo3evi3poab1ro3ex4ofo2o1gur1uo2ga2abyac2a3lyzi5oxo3gii3oti1orioe4ur2so2gui1od2io22acio1h2ur1o2inuo3hao3heohy44ma_oi4cins24inqoig4ac1r2ino2inn4inl4inkur1ioi4our2f4oisoi4t2iniynd4ok3lok5u2ind2inco1loyn2eo1mai2moom1iur2ca2doim1iil3v4iluon1co2nead1ril3f4onh2ik24iju4adyae5aija4i5in4aed2mahae5gihy4ae5pur1aae4s2i1h4igions2i1geyng42ont4af_4afe5maka4fui3fyu2pri3foon2zn1eru4po4agli2fe2i1foo1iu1ph4ieua2groo4moo2pyn4yi1er4iemie5ia1heah4n4iec2ai24ai_ai3aa1icne2p4idraig2oo2tu1peo1paop1iy1o2u1ouu3os4oplid1ayo3d2icuop1uor1a2ick4ich2a1ja4ju2mam4iceak5u4ibuunu44iboib1i2oreiav4i3aui3atun5ror1iun5o2alei5aii3ah2unniaf4i5ae2ormhy4thyr4hy3ohyn4hy2m2orthy2l1man2nedhuz4un2ihu4gh1th4alko1sch4skhsi42mapu1mu2h1shry4hri4hre41mar4h1pum2ph2ou4osp4osuy2ph4oth4ho_u1mi2h1mh1leh3la2ne_h4irhi2pu1mao4u2oub2h1in2a2mhi4l4oueu1lu2ulsoug4h1ic2hi_u1loul3mnde24ulln2daheu2ul2iou3mam1ihet12ounhep1ow1iows4ow5yyp1nox3ih4eiox5oypo1oy5aoys4u1la4ul_am2pu2izmav4h2ea4he_y2prhdu42m1ban2ao1zo_ch4mb4dy5pu4pa_ha4m1paru2ic5pau2ui2h4ac4ha_u4gon1cug5z2uft43gynu4fou3fl3ufa5gymmb2iue4tgy2b4anhnc1t2g1w5paw3gun2p1bu4edueb4p1c42guep5d2an1og5to2pe_gs4tgs4c2g1san2s2ped3grug4rou2dog4reud4g1gr2n1crgov12gou3gosud4e3goop4ee3goe5god3goc5goa2go_pe2fg2nog1niuc3lg1na2gn2an2y2pes3gluyr4r3pet5aowyr4s4ap_4apa3glo4pexyr5uu4ch2gl24y2s5gip2me_3gioap1i2ph_gi4g3gib4gi_uba41g2igh2tg3hoa2prphe44aps2medg2gegg4ame2g2g1gy3shu1alua5hu2ag2g1f3get2ua2ph2lge4o1pho2tz23gen4phs1gel1typ4gef2ge_g5d4me2m1phug1at4pi_p2iety4a4ty_p2ilt3wopim23gait2wi3gagn3b44ga_5piqar3har1i1tutfu4c4fu_1menp2l23tunna2vfs4p2f3s1pla1fr2tu1ifo3v4tufp4ly2p1myso53foo2arrme4par2stu1afo2n4tu_4po_t2tytt5s3pod2aru4poffo2e3foc4fo_ar5zas1ays1t3flu2asc3flo3flan2asas2et3ti2fin5poypph44f5hf3fr1pr2f1fif1fena5o3feufe4t4pry2ps22asotta4p3sh5fei3fecass2p1sits2its4ht2sc2fe_4t1s2f5d4f5b5faw5farp1st2pt2as1u2fa_1f2aeyl44ey_1expe1wre3whe1waevu4p4trp1tupub1puc4p4uneus44eumeuk5eue4p4uset5zyzy4z1a14p1wet2t2p4y4tovpy3e3pyg3pylpy5t2za__av44ra_r2adras2et2ae1su1namr2bat1orr2berb2ir1c2r2clrct4nak24re_rea4e2sc4es_2erza2to5tok2erurei4erk44erj1tog3toere1qre1vza2irf4lr1g2r2gez4as4ri_2ereto1b2erd2to_2erc4m3hri3ori5reph14mi_2au24au_m1ic4auc4t3me1paeo3mt1lieo2leof2eo3b4enur1lar1leaun2r1loen2sen1ot1laen3kzeb4r1mur2n24ene2end3tiurn5nrnt4ze4d4ro_r2od4roiroo4r2opelv4e1lur4owti4q1tip4roxrpe2r2ph1tior3puaw1i5nahaw5y4mijr3ri_as12eleay3mayn4ays2r5rurry5ek4l2az2m2ilaze4e2ize2iv4eis2ba_t1ineig24eifeid45bahba4ir2seehy21timeh5se5hoe1h2e2gr2efuef4lna2ceep1ee2mee1iee5gee2fr3su2na_rt3ced4g1basede23mytr1turu3ar2udr4ufe1clru2le1ceru2pb1c2ec2a2b1deb2te2bre4bl3myi4be_3beaeb2iebe4eb2b2bedzib5r1v2r2veeau3t1icmy3e5bee3bef2r2yry2tz2ie1bel2sa_2sabeap25saebe3meak1ea4gsa4g3sai4ti_5sak4beobe3q4eabmy4dd3zo3dyndyl25dyksa2l2d2y2d1wsa4mbe3w2b1fbfa44b1hb4ha2bi_1biazi5mdu3udu2ps3apb4ie3ducbif42ths2du_z4isb1ilmi3od4swds3m4bimd5sl1saumi3pz3li3dox4s3bd4osd2or3doosby3bip4bi5qbir44zo_s1cab2iss1cedo4jd4ob4do_5zoa2d1mmtu4d5lu2bl2d1losch2d1la2dl4tha42th_m5si4m1ss2co2t3f1diu2se_se2a4bly2b1m3texbmi44b1nm4ry4bo_3boa2sed5bobdil4bo5h3sei1didse2p1dia4di_d4hu3bon4d1hxys4dg4ami2t2d5f1boo3dexs2es1set3sev3sex3sey2s1fsfi4_an1d3eqde1ps4idsif4bow2si4g2sin5boyzo5p3sipde3gs1it3dec2de_d3di2tep3miute2od1d4d3c4zot23davs2k24sk_d1atske2d3ap4sksd1agb3sc2sl44da_5zumb5sicy4tbso2te2ltei4cys4cy4m2b1tcyl34bu_5bubte2g1cyc2cy_bun2cu5v5cuu1cuss2le1curt4edc4ufc1tyc1tu4te_c1trs1n2s2na2so_t1ca5mix4b3w4zy_4by_3byibys45byt2ca_2tc23soes2olc1te5cafsos45cai5cakc1al3sou4t3bt4axc2ta4m1lcry2sph2s1plc2res2pos4pym3pum3pocoz4cov14mo_sre22moc5cao1caps1sa3cooss3mcon11cars4sns1sos1su1takss3wmod13coe4st_1tai3tah3coc3coa4co_taf4c3nim2pist3cc1atste2mo1mc4kem4ons1th2cim3cau2tab2ta_3cayc1c44stl3cilc3ch3syn4cigci3f4ce_4ci_3chrs1tu1cho2ced4chm1sylch5k4stw4cefce5gs4tysy4d4su_sug3sy1c3sui4ch_m3pa2cem4sy_cew4ce2t1cepsu5zm4op2swo2s3vzzo3",5:"n5tau2cenn3centsves45swee5cencsu5sus4urg1cen2sur3csu5pe3cerasun4a3cerdsum3i5cern5cesss4u2m1s2ulce4mo3cemi4celysy4bi4chab3chae3chaisui5ccelo45cellchec44ched3chee3chemsuf3fch1ersu3etsud4asuct44chessubt2ch5eusu4b13chewch5ex5chi_3chiasu5ansy4ce1styl3ceiv3chio5chip3cedi3cedestu4m5cedace4cicho3a5choc4chois4tud3chor3ceas2st3sstre43chots2tou3stonchow5cean3chur43chut5chyd3chyl3chym1c2i24ceab4ciaccia4mci3ca4cids4cie_ci3ers4toeci5etccle3cifi4ccip4ci3gast3lisyn5esyr5icat4ucim3aci3mes5tizs4thu4cinds4thac4atss4tec4cintci3olci5omci4pocisi4cit3rt2abockar5cka5tt5adeck5ifck4scc2atcs4teb3clasc2le22cle_c5lecc4at_clev3cli1mtad4icli2qclo4q4stakclue4clyp55clystad2rtae5n1c2o2case5car4vco5ba3tagrco3cico5custab23tail4cody2tairco5etco3grcar5mt4ais4col_col3atal2css5poco5lyta3lyco4met4anecomp4cap3uta4pass5liss1ins1sifs1siccon3scon3ts3siacapt4coop4co3orcop4eco3phco5plco3pocop4t2corassev3s5seus1sel1tard3corn4corotar3n5cort3cos_sre4ssreg5co5ta3tarr5cotytas3it3asmco3vacow5a5tassco5zic4anotas4t5craftat4rc4ran5spomcam4is4plysple2ca3maca3lys2pins2pids3phacal4m4speocri3lcron4so3vi4crousov5et5awacrym3cryo34c5s4csim5tawn43calcc3tacc4alaso5thct1an4soseca3gos3orycad4rc4teasor3os2o2ps4onect5esct5etct2ics2onaso3mo1so2mc3timsol3acaco3c4acesody4sod3oc5tio2s3odc3tittcas4tch5u4t1d4smo4dsmi3gc1tomc3tons3mensmas4b3utec2tres3man3bustc2tumte3cr2s1m4buss2s5lucslov5c2ulislo3cs3lits5leycu4mi5cunacun4e5cuni5cuolcu5pacu3pic3upl4tedds3lets5leabur3ebunt4cus5a3slauc3utr4tedobun4a4teeicy4bib4ulit3egoteg1rcy5noteg3us1latbsin41tellbsen4d4abr1d2acdach43tels3dact4b1s2sky3ld4aled4alg4bry_dam5a3damed3amida5mu3dangs5keybrum4d3ard5darms3ketbros4tem3as5kardat4ub4roa4teme4tenet5enm4tenob2ridteo5l4bre_5sivad3dlid3dyite3pe4s1ivde5awde4bisi4teb2ranbram44sismde1cr4dectded3i4sishs1is24bralde4gude3iosi4prtep5i4sio_1sio45sinkde5lo1d4emsin3is2ine4boxy1silibow3ssif5f4demybous4den4d4dened3enh4sidssi4de4sid_3bourde3oddeo3ldeon2si4cu5terd3sicc4s1ibde2pu5botishys44shu4d4eres3hon5shipsh3io1derider3k3dermsh5etsh1er4shab1teri2s1g4der3s5deru4des_de3sa5descbor4nter5k3terrdes4isexo23borides1psewo4de3sq2t2es5seum1de1t4tes_de5thde2tise5sh4ses_bor3d3septsep3atesi4t3esqdfol4tes4tteti4dgel4d4genbon4ebon4cdhot4bol4tbol3itet1rdi2ad3diarbol4e4d1ibd1ic_3sensdi4cedi3chd5iclsen5g1dictsem4osem2i5self4sele4boke5selasei3gd4ifo2boid3seedbod5i5dilldilo4di3luse4dabo5amdi1mi2d1indin4ese2cosec4a3di1odio4csea3wdip5t3diredi3riseas4di4s1d4iscs4eamb3lis3dissbli2q2s1d22s1cud3itos4coi2ditybli3oscof44blikscid5dix4i3bler4the_b3lan5dlefblag43dlewdlin45blac4b5k4bi5ve4d1n24bity4thea4thed4sceidog4abis4od4ol_s4ced5bismscav3sca2pd4ols5dom_1thei3theobi3ousbe4sdo5mos4bei4donybio5mbio3l4dor_dor4mdort41bi2ot4hersavi2dot1asaur52dousd4own4thi_th5lo2thm25binad3ral3dramdran4d4rassat1u3dreldres4sa2tedri4ed4rifs2a1td4romsas3s3sas_4d1s2th4mi3thotds4mi1th2rb2iledt5hobigu3bi5gadu1at5thurduch5sar5sdu4cosap3rbid5idu5en2santdu5indul3cd3uledul4lsan3adun4asamp43b2iddu3pl5durod5usesam5o5thymbi4b1dver2be3trsa3lube3sl3sale2bes_be1s2dy5ar5dy4e3thyrber5sdyll35dymi5berrdys3pberl4thys42beree1actbe5nuea5cue5addbe1neead1i1ti2ati3abben4deal3abel4tsad5osad5is3actean5i2t3ibsac4qe3appear3a5sacks3abl2belebe3labe3gube5grryp5arym4bry4goeas4t5rygmry5erbe3gobe4durvi4tr3veyr3vetr3vene4atube4doeav5ibed2it3ic_eaz5ibe3daebar43becube3caru3tirus4pe2beneb5et4bease5bile4bine4bisbdi4ve4bosrur4ibde4beb1rat2icie4bucru3putic1ut3id_run4trun4ge5camrun2eec3atr4umib3blir4umeech3ie4cibeci4ft4ida2b1b2ru3in3tidirue4lt5idsru4cerub3rr4ube1tif2ec1ror4tusti3fert5sirto5lr1t4oec1ulrt3li4tiffr2tize2dat3tigie4dede5dehrt3ivr2tinrth2ir5teue3deve5dew5barsr5tetr1ted4tigmr3tarrta4grt3abed1itedi2v5tigued3liedor4e4doxed1ror4suse2dulbar4nrs5liee4cers3ivee4doti4kabar4d5barbr4sitba4p1r3sioeem3ib4ansee4par4sileesi4ee3tot4illr5sieefal4rs3ibr3shir3sha5bangr3setb4anee4fugrsel4egel3egi5ae4gibe3glaeg3leeg4mir3secr3seat4ilte5gurban4abam4abal5utim1abal3abag4a5eidobaen43backr4sare4in_e3ince2inee1ingein5ir2sanei4p4eir3oazz4leis3ir2saleith4azyg4r4sagaz5eeaz3ar2r1s2ek3enek5isayth4e4lace5ladr3rymelam4r3ryi3tinnay5sirro4trrog5rrob3ay5larric4ax2idrrhe3rre2lele3orrap4el1ere1lesrra4h4r1r44tinst4intrpre4el5exrp5ise1lierph5ee3limav1isti3ocrp3atav3ige3livavas3r4oute3loae3locroul35rouero3tue2logro1te4rossr4osa4roreel3soror5dav5arelu4melus42t1ise5lyi3elytr4opr4rop_emar4tis4c5root1roomem5bie1me4e4meee4mele3mem3tissro1noro3murom4pe4miee2migro3lyro3laroid3e3mioro3ictis2te4miuro3gnro1fero3doava4ge2moge4moiro3cuem5om4emon5roccro5bre2morro4beav4abr5nute5mozrnuc4au3thr5nogr3noc3titlem3ume5muten3ace4nalrn3izrni5vr1nisrn3inr3nicrn5ibr5niaenct42t1ivr3neyr3netr3nelaus5pene5den3eern5are5nepe2nerr5nadr3nacrn3abt3iveen1et4aus_rmol4e3newen3gien3icr3mocrmil5en5inr5migaur4o5tleben3oieno2mrm4ieenov3aun3dr2micen3sprme2arm4asr2malr5madr3mac3tlefen2tor4litau3marlat33tlem5tlenen3uaen3ufen3uren5ut5enwa5tlewe4oche4odaaul4taul3ir3keyr3ketrk1ere5olutlin4eon4ae3onteop4te1or1r5kaseor3eeor5oeo1s2eo4toauc3oep4alaub5iepa4t4a2tyr2i4vr2ispris4cep5extmet2eph4ie2pige5pla2t3n2ri5orri4oprio4gatu4mrin4sr4inorin4e4rimse1p4u4rimmr4imbri2ma4rim_at1ulr4ileri2esera4gera4lri3erri5elrid4e2ricur4icl2riceri3boer3be2r2ib2a2tuer3cher3cltoas4ri5apri3am4toccat1ri4ered3r2hyrhos4tod4irgu5frg5lier3enr3gerr3geor5geee3reqer3erere4sa4trergal4r4gagat3rarfu4meret42a2tra5tozatos4ere4ver3exreur4er3glre3unre3tur3esq2res_er2ider3ierere4rer4aer3into5dore5phre1pe3reos3reogre3oce3river5iza3too4atoner3mer4enirene2rena4r3empr5em_re1le4ero_re1lam5ordreit3re3isre1inre3if2atolre2fe3reerree3mre1drre1de2r4ed4atogeru4beru5dre3cure3ce3reavr5eautol4ltolu5es5ames5an4atiure3agre3afr4ea_to5lye3seatom4be5seeat1itese4lr4dolrd3lie1shie5shurdi3ord2inr5digr4dier4desr2dares3imes3inr5dame4sitrc5titon4er5clor4clees4od3tonnrcis2rcil4eso3pe1sorr2cesrca4ston3ses4plr4bumr2bosrbit1r2binrbic4top4er4beses2sor3belrbe5ca4timrbar3e2stirb1anr4baga2tif4toreest4rrawn4tor5pra3sor4asktor4qr2aseras3cati2crare2eta3p4rarcran2tet4asra3mur5amnet5ayra3lyra3grra4de3tos_eter2r2acurac4aetex4e2th1r2abo2etia5rabera3bae5timet3inath5re3tir5quireti4u1quet2que_e2ton4quar5quaktos4ttot5uath3ipyr3etou4fet1ri5tourt3ousath3aet1ro4a2that5etetud4pu3tre4tumet4wetra5q3tray4ater4tre_4trede3urgeur5itren4pur3cpur5beut3ipu3pipun2tpun3i3puncev3atpun4aeve4n4trewpum4op4u4mpu5ere4vese1viapuch4e2vict2rieevid3ev5igpu5be2trilt2rit4trixe4viuevoc3p5tomp3tilata3st4rode4wage5wayew1erata3pew5ieew1inp5tiee3witatam4ex5icpt4ictro5ft2rotey4as2a2taey3s2p5tetp1tedez5ieas5uras4unfab4ip2tarfact2p4tan2f3agp4tad5falopt3abtro1v3psyc3troypso3mt4rucfar3itru3i2t4rytrys42asta3feast4silfeb5ras3ph2fed1as5orfe1lifem3i2t1t4p3sacf5enias4loas4la3feropro1l4pro_3ferrfer3v2fes_priv24priopren3aski43prempre1dfet4ot3tabpreb3as5iva3sit4pre_f5feta5siof5fiaf3ficf5fieffil3prar4ff4lepra5dffoc3prac1as3int5tanppi4ct5tast3tedfib5u4fic_ppet33fici4ficsppar34p1p2fiel4asep4p5oxi1fi2l4asedfin2apo1tefind3fin2ef1ing3p4os3portpor3pf3itapo4paas2crt3tlifle2s2ponyflin4t5toip4o2nasan2pom4eas4afa5ryta3ryot5torar3umt3tospo3caar2thar3soar2rhar4pupnos4tu5bufor5bar3oxtu5en5formplu2m2plesaro4ntu4is3plen3plegfrar44ple_fre4sar3odfruc42tum_3tumi4tumsf1tedtun4aft5es2p3k2p2itutu4netur4dtur4npis2sfug4ap4iscfun2gp4is_fur3npir4tfus5oar3guar5ghpi4pegadi4pip4at3wa4ar3en3gale3pi1op4innpin4e3galot3wit5pilo3piletwon4pig3n5tychpict4g5arcg4arepi4crpi3co4picagar5p5garr1ga4sgas5igas3o3piarar4bl3phyltyl5ig4at_2phy_phu5ity5mig4attgat5ugaud5ga5zaar3baara3va3rau5geal3gean2ge4d3gedi5gednar1at3type4gelege4li1tyr13phrage4lu2gelygem3i5gemoara3mph3ou3phorgen3oa3rajt5ziat5zie4gereph1is2ges_5gessphi4nua3ciget3aara2ga5quia5punua5lu1philg3ger4phic3phibg3gligglu3g5glyph3etg4grouan4og5haiuar3auar2dg4hosuar3iap5lia5pirph2angi4atu1b2igi5coap3in4phaeub5loub3ragi4orgi4otaph3igi5pag4i4s5gis_gi2t15gituu1c2aa5peug3laru5chrglec43glerap3alpe4wag4leypet3rpe2tia1pacaol3iglom34glopa5nyian5yap4ery3glyp2g1m4a5nuta3nurg4nabper3vp4eri4pere5percpe5ongn5eegn3eru4comg4niapen5upel5v4pelean3uluco5tgno4suc2trant4ruc3ubuc5ulu5cumgo4etgo4geu5dacg5oidgo3isgo2me5gonnpe2duud1algoph44gor_5gorg4gorsg4oryud5epgos4t1anth3pedsg1ousan2teu4derudev4grab43gram3pedigra2pudi3ogril43pedeu5doigro4gg5rongrop4ud5onan3scgru5ipe4coan5otan2osanor3g4stiu5doran2oeg4u2agu5ab5guan4annyg5uatan5no5gueu4aniuuen4ogu2magu4mi4anigpawk4uer3agur4ngur4u4gurypau3pani3fan3icues4san3euan4eagyn5ouga4cug2niug3uluhem3ui3alp5atohae3opas1t1p4ashag5uha5ichais4par3luid5ouil4apa3pypap3uhan2gpa3pepa4pahan4tpan3iha4pehap3lhar1ahar5bhar4dpan1ep4alspa3lohar3opain2paes4pad4rhat5ouil4to3zygozo5ihav5oana5kuin4san3aeuint4amyl5am3ului5pruis4t1head3hearui3vou4laba3mon4ulacu5lathe3doheek4ul4bohe3isul3caul4ch4uleaow5slow5shu5leehem1aow5in3amidow5hahem4pow1elhe3orulet4h1er_owd3lher2bowd4io5wayow3anow3ago1vish5erho5varouv5ah1erlouss42ouseh1ersoun2dul4evami2cul2fahet3ioul4tul4iaheum3ou5gihe4v4hev5ihex5oa3men3ambuu5lomhi4aram1atou5gaul4poh4iclh5ie_h1ierou3eth1iesama4gh3ifyhig4ohi5kaa5madoud5iou5coou5caa5lynhin4dou5brul1v45ou3aalv5uh2ins4o1trh4ioral1vahip3lum3amhir4ro4touhit4ahiv5aumar4u5masalu3bh3leth1l2ihli4aum2bio1t2oot4iv2h1n2o5tiaal3phho3anho4cou4micho5duho5epo4tedhold1o3taxo3tapot3ama5lowh2o4nos1uru4mos4ostaos4saos1pihon1o1hoodhoo5rh4opea4louo5sono5skeh4orno4sisos1inos5ifhosi4o3siaalos4os5eual1ora3looo2seta3lomoser4hr5erhres4um4paos5eohrim4h5rith3rodose5ga5loeo3secumpt4un5abun4aeht5aght5eeo4scio2schos4ceos4caht5eoht5esun2ce4aliuosar5un3doos3alosa5iory5phun4chunk4hun4thur3ior4unu1nicun4ie4or1uun3inal1in5aligal3ifal1iduni5por4schy1pehy3phuni1vor1ouun3iz2i1a2ia4blo5rooorm1ii2achiac3oa2letork5a5origa1leoun3kni2ag4ia3gnor3ifia3graleg4a3lec4ori_al3chor5gn4ialnor4fria5lyi5ambia3me5orexi3anti5apeia3phi2ardore4va5lavor3eiore3giat4uore3fal3atun3s4un5shun2tiibio4or4duib5lia1laei4bonibor4or4chi5bouib1riun3usoram4ic3acor5ali4calic1an2icariccu4akel4i5ceoa5ismich4io5raiora4g4icini5cioais1iic4lo2i2coico3cair3sair5pi5copop2ta2i1cri4crii4crui4cry1op1top5soopre4air5aop2plic3umopon4i5cut2i1cyuo3deain5oi5dayide4mo4poiain3iu1pato1phyid3ifi5digi5dili3dimo4pheo1phaidir4op1ero5peco4pabidi4vid3liid3olail3oai5guid3owu5peeid5riid3ulaid4aa5hoo2ieg2ie3gauper3i5ellahar22i1enien2da1h2aoo4sei2erio3opt4iernier2oi4erti3escagru5oon3iag3ri2i1eti4et_oo4leag5otook3iiev3au5pidiev3o4ag1nagli4if4fau5pola5giao5nuson5urifi4difi4n4i2fla5gheifoc5ont4rupre4af5tai3gadaev3a3igaraeth4i3geraet4aono3saes3ton5oionk4si3gonig1orig3oto1nioo5nigon3ifig1urae5siae3on4ura_aeco34uraead3umura2gik5anike4bi2l3aila4gon4id4a2duil4axil5dril4dui3lenon4guuras5on1eto3neoon1ee4oned4oneaad1owon5dyon3dril1ina3dos4onauon3aiil5iqona4do2mouil4moi5lonil3ouilth4il2trad3olil5uli5lumo4moi4adoi4ilymima4cim2agomni3im1alim5amom2naomme4om2itomil44adoeomi2co3mia3adjuome4gurc3ai5mogi3monim5ooome4dom4beo3mato2malo2macim5primpu4im1ulim5umin3abo4mabur4duadi4p4olytina4lol1ouin5amin3anin3apo3losol1or4olocur3eain3auin4aw4adilol3mia5difolle2ol2itolis4o5lifoli2eo1lia4inea4inedin5eeo3leuol1erine4so3lepo3leo4ineuinev5ol5chol4an4infu4ingaola4c4ingeur5ee4ingiad4haur1er4ingo4inguoith44adeeada3v4inico3isma5daiur3faac2too3inguril4ur1m4ac3ry4ino_in3oioil5i4inos4acou4oideo2i4d4acosurn5soi5chinse2o3ic_aco3din3si5insk4aco_ac3lio3ho4ack5aohab34acitacif4in5ulin5umin3unin3ura4cicuro4do5gyrur5oturph4iod5our3shio3gr4i1olio3maog4shio3moi5opeio3phi5opoiop4sa5cato4gro4ioreo2grio4got4iorlior4nio3sci3osei3osii4osoog2naur5taiot4aio5tho4gioio5tri4otyur1teo5geyac3alurth2ip3alipap4ogen1o3gasip1ato3gamurti4ur4vaofun4iphi4i4phuip3idi5pilip3ino4fulipir4ip5isab1uloflu42abs_ip3lou3sadi4pogus3agi4pomipon3i4powip2plab3omip4reoet4rip1uli5putus3alabli4i3quaab3laus4apoet3iira4co4et_ir4agus3atoes3t4abio2abiniray4ird3iire3air3ecir5eeirel4a3bieires4oelo4ab1icoe5icir4ima3bet5irizush5aoe5cuir5olir3omusil52abe4ir5taoe4biabay4us4pais5ado5dytis1alis3amis1anis3aris5av_za5ri2s3cod3ul_xy3lod5ruo3drouss4eod3liis2er5odizod5it4iseuod4ilodes4o5degode4co5cyt2isiais5icis3ie4isim_vo1c4isisis4keus1troc5uo2ismais1onocum4iso5pu5teooc1to5ispr2is1soc2te_vi2socre3u3tieiss4o4istao2cleu3tioo5chuoch4e4istho4cea4istloc5ago3cadis1tro4cab4istyi5sulis3urut3leutli4it5abita4c4itaiit3am_vec5it4asit3at_ur4oit3eeo3busob3ul_ura4_up3lo3braith5io5botith3rithy52itiao5bolob3ocit1ieit3ig4itim_un5uob1lio3blaob3iti5tiqut5smit3ivit4liit5lo4ito_it5ol2itonit1ou_un5sobe4lu4tul_un3goat5aoap5ioan4t4itueit1ulit1urit3us2i1u2_un3eiur5euven3oal4iiv1ati4vedu5vinoad5io3acto5ace_ul4luy5er2v3abives4iv3eti4vieiv3ifnyth4va1cavacu1iv1itva4geivoc3vag5rv1al_1vale_tor1vali25valu4izahiz3i2_til4iz5oivam4i_tho4va5mo5vannnwom4jac3ujag5u_te4mja5lonwin44vasev4at_jeop34vatuvect4_ta4m4velev1ellve1nejill55jis_4venu5ve3ojoc5ojoc5ujol4e_sis35verbju1di4ves__ses1ju3ninvi4tjut3a_se1qk4abinvel3kach4k3a4gkais5vi1b4vi4ca5vicuvign3vil3i5vimekar4i1kas_kaur42v1invin2evint4kcom43vi1oviol3kdol5vi5omke5dak5ede_rit2_rin4ken4dkeno4kep5tker5ak4erenu1trker4jker5okes4iket5anu4to5vi3pkfur4_re3w_re5uvire4kilo3vir3uk2in_3kind3nunc5numik3ingkin4ik2inskir3mkir4rv3ism3kis_k1ishkit5cvit2avit1rk5kervi3tu_re5ok5leak3lerk3let_re1mv3ity_re1ivi5zovolv41know3vorc4voreko5miko5pe3vorok5ro4_po2pv5ra4vrot4ks2miv3ure_pi2ev5verwag3owais4w3al_w3alswar4fwass4nu1men3ult5labrwas4tla2can4ulowa1tela4chla2conu4isw4bonla3cula4del5admw5die_out1nug4anu3enlag3r5lah4nud5i_oth54lale_osi4_or2o_or4ilam1ol5amu_ore4lan2d_or3dn5turntub5n3tua3weedweir4n5topwel3ilapi4n3tomn1t2o_op2i_on4ent3izla4tenti3pn3tign1tient4ibwent45laur_ome2_ol4d_of5twest3_oed5l4bit_ob3lw5hidl2catwid4elcen4n1thelch4el3darl3dedl3dehwi5ern4teol5dew_no4cl3dien3teln4tecwim2pld5li_ni4cwin2ecen3int1atnt1aln3swale3cawl1ernsta4_na5kle5drleg1an3s2t3leggn5sonleg3ons3ivwl4iensi2tlel5olelu5n3sion3sien3sid5lemml3emnle2mon4sicns3ibwon2tn3sh2n5seule1nen2seslen3on5seclen5ule3onleo4swoun4wp5inn4scun2sco_mis1_mi4enre3mnre4ix4ach4les_x4adenpri4x3aggnpos4npla4npil4leur5x3amil3eva5levexan5dle4wil5exaxano4lf5id_lyo3lf3on_lub3l4gall4gemlgi4al4gidl4goixas5pxcav3now3llias4lib1rl1ic_5lich_lo2pnove2nou5v2nousli4cul3ida3nounn4oug3lieul4ifel4ifoxcor5_li4p3notenot1a_li3oxec3r1l4illil4ilim2bno3splim4pnos4on4os_lin4dl4inenor4tn4oronop5i5nood4noneno2mo1nomi3linqnol4i3liogli4ollio3mliot4li3ou5liphlipt5x5edlx5edn_le2pl4iskno3la_le4ml2it_n5ol_no4fa3lithnoe4c3litrlit4uxer4gn4odyno4dinob4ln5obilk5atxer3on5nyi_ki4ex3ia_nnov3x4iasl5lasl4lawl5lebl1lecl1legl3leil1lellle5ml1lenl3lepl3leul3lev_is4o_is4c_ir3rx5ige_in3tllic4nlet4_in3ol5lie4n1l2l2linnk5ilnk5ifn3keyl5liolli5v_in2ixim3ank5ar_in3dllo2ql4lovnjam2_im5b_il4i_ig1n_idi2llun4l5lyal3lycl3lygl3lyhl3lyil5lymx4ime_hov3_ho2ll4mer_hi3bl5mipni3vox4it__he4ilneo4x4its5loadniv4ax4ode_hab2ni4ten5iss2locynis4onis4l_gos3n4isk4loi_lo5milom4mn4is_lon4expel43nipuni1ou5nioln4inu5ninnnin4jn4imelop4en3im1l3opm1lo1qnil4ax4tednik5e3nignn3igml4os_lo1soloss4_ga4mnift4nif4flo5tu5louplp1atlp3erxtre4l5phe_fo3cl2phol3piel3pitxur4b1y2ar_eye3_ex3a3yardl5samls5an4nicllsi4mls4isyas4i_eur4l1s2tni3ba3niac_es3tl5tar_es3pl4teiyca5mlth3inhyd5y3choltin4lti3tycom4lt4ory2cosnhab3_er2al4tusyder4_epi1luch4_eos5n2gumlu4cu_ent2lu1enlu5er_en3slu4ityel5olu4mo5lumpn4gry_en5c5lune_emp4n5gic_em3by5ettlusk5luss4_el2in5geen4gae_ei5rlut5r_ei3dygi5a_ec3t_eco3l4vorygo4i_dys3_du4c_do4eyl3osly4calyc4lyl5ouy1me4news3_de4wly4pay3meny5metnet1ry5miaym5inymot4yn4cim4acanet3an1est1nessn1escmact44mad_4mada4madsma4ge5magn2nes_yn3erma5ho3ma4i4mai_maid3_der2ner2vner5oyni4c_de1mneon4m3algneo3ln3end4n1enne2moyoun4n4ely2neleyp5alneis4man3a5negune3goneg3a3nedi_dav5m4ansne2coyper3m3aphy4petne4cl5neckn3earyph4en3dyind2wemar3vn4dunndu4bn2doundor4n5docnd1lin3diem4at_n1dicnd4hin5deznde4snde4ln1dedn3deayph3in3damm4atsn3daly4p1iy4poxyp5riyp4siypt3am5becn4cuny3ragm4besyr3atm2bicnct2oyr3icm4bisy5rigncoc4n1c2lm3blimbru4mbu3lmbur4yr3is_can1ys5agys5atmea5gn4cifme4bame4biy3s2c4med_n4cicn3chun3chon3chan5ceyme4dom5edy_bre2n5cetn3cer4melen1c2anbit4nbet4mel4tnbe4n_bov4ys1icys3in3men_2menaysi4o3nautnaus3me1nenat4rnati45meogys4sonas3s4merenas5p2me2snas5iys4tomes5qyz5er1me2tnam4nmet1e3nameza4bina3lyn5algmet3o_aus5_au3b_at3t_at3rza4tena5ivmi3co5nailm4ictzen4an5agom4idina4ginag4ami5fimig5an2ae_mi2gr_as4qmi5kaz5engm3ilanadi4nach4zer5a3millmi5lomil4t3m2immim5iz3et4_ari4_ar4e_ar5d5zic4_ap4i5my3c_any5z3ing3zlemz3ler_an3smu4sem5uncm2is_m4iscmi4semuff4zo3anmsol43zoo2_and2zo3olzo3onzo5op4mity_am2i_al1k_air3_ag5nmlun42m1m2_ag4amp5trmp3tompov5mpo2tmmig3_af3tmmis3mmob3m5mocmmor3mp3is4m1n2mnif4m4ninmni5omnis4mno5l_af3f_ae5d_ad3o_ad3em3pirmp1inmo4gom5pigm5oirmok4imol3amp5idz3zarm4phlmo3lyz5zasm4phe_ach4mona4z3ziemon1gmo4no_ace45most_ab4imo3spmop4t3morpz5zot",6:"reit4i_ab3olmo5rel3moriam5orizmor5onm3orab3morse_acet3_aer3i_al5immo3sta2m1ous_al3le4monedm4pancm4pantmpath3_am5ar_am3pemper3izo5oti_am3phmo4mis_ana3b_ana3s_an5damog5rimp3ily_an4el_an4enmmut3ammin3u_an4glmmet4e_ant3am3medizing5imman4d_ar5abm5itanm3ists_ar5apmsel5fm3ist_5missimis3hamuck4e4misemmul1t2_ar4cimu5niomun3ismus5comirab4mus5kemu3til_at5ar1m4intmin3olm4initmin5ie_bas4i_be3di5myst4_be3lo_be5sm5min4d_bi4er_bo3lo_ca3de_cam5inac4te_cam3oyr5olona4d4amil4adnad4opyr3i4t_car4imid5onn4agen_ca4timid4inmi4cus_cer4imi3cul3micromi4cinmet3ri4naledyp5syfn4aliameti4cmeth4i4metedmeta3tna5nas_cit4anan4ta_co5itnan4to_co3pa4n4ard_co3ru_co3simes5enmer4iam5erannas5tenat5alna5tatn4ateena3thenath4l5mentsn4ati_nat5icn4ato_na3tomna4tosy4peroy4periy5peremend5oyoung5naut3imen4agna5vel4m5emeyo4gisnbeau4_de3linbene4mel3on_de3nomel5een4cal_yn4golncel4i_de3ra_de3rimega5tncer4en4ces_yn5ast3medityn5ap4nch4ie4medieynand5ynago43mediaym4phame5and_de3vem5blern4cles_dia3s_di4atmb5ist_din4anc4tin_dio5cm5bil5m4beryncu4lo_east5_ed5emncus4tmbat4t_elu5sn3da4c3m4attn4dalema3topnd3ancmat5omma3tognde3ciyes5tey3est__em5innd3enc_em5pyn3derlm4atit_en5tay4drouma3term4atenndic5undid5aydro5snd5ilynd4inend3ise_epi3d_er4i4nd5itynd3ler_er4o2_eros43mas1ty4collnd5ourndrag5ndram4n5dronmassi4y4colima3sonyclam4mar5rima3roone3aloma5ronne2b3umar5ol5maran_erot3_er4rima5nilych5isne4du4manic4man3dr_eth3e3m4an__eval3ne5lianeli4g_far4imal4limal3le_fen4dm3alismal3efmal5ed5male24nered_fin3gxtra3vner4r5mal3apxtra5d2mago4ma4cisne3sia5machy_fu5ganes3trmac3adnet3icne4toglys5erxtern3neut5rnev5erlypt5olymph5n4eys_lyc5osl5vet4xter3ixpoun4nfran3lv5atelu5tocxpo5n2_ge3ron3gerin5gerolut5an3lur3olu3oringio4gn5glemn3glien5gliol3unta_go3nolu2m5uxo4matluc5ralu2c5o_hama5l3t4ivltim4alti4ciltern3lt5antl4tangltan3en4icabni4cen_hem5anict5a_hy3loni4diol3phinni4ersximet4lot5atnif5ti_ico3s_in3e2loros4lo5rof_is4li_iso5ml4ored_ka5ro_kin3e5nimetn4inesl3onizl3onisloni4e3lonia_lab4olo5neyl5onellon4allo5gan3lo3drl3odis_la4me_lan5ixen4opnitch4loc5ulni3thon4itosni5tra_lep5rni3trinit4urloc3al5lob3al2m3odnivoc4niz5enlm3ing_lig3anjur5illoc5ulloc3an5kerol3linel3linal5lin__loc3anland5lli5col4liclllib4e_loph3_mac5ulli4anlli5amxa5met_math5llact4nni3killa4balk3erslk3er_lkal5ono5billiv5id_ment4_mi3gr_mirk4liv3erl5ivat5litia5liternois5il3it5a5lisselint5inom3al3lingu5lingtling3i3nonicw5sterws5ingnora4tnor5dinor4ianor4isnor3ma_mi5to_mo3bil4inasl4ina_wotch4word5ili5ger_mon3a5lidifl4idarlict4o_mu3ninova4l5licionov3el_mu3sili4cienow5erli4ani_myth3_nari4le5trenpoin4npo5lale5tra3les4sle3scon4quefler3otleros4ler3om_nast4le5rigl4eric3w4isens3cotle5recwin4tr_nec3tle5nielen4dolend4e_nom3ol5endalem5onn5sickl5emizlem3isns5ifins3ing_nos3tn3s2is4leledle3gransolu4le4ginn4soren4soryn3spirl3egan_obed5nstil4le5chansur4e_ob3elntab4unt3agew5est__oe5sont5and_om5el_on4cewel4liweliz4nt3ast_opt5ant5athnt3ati_or3eo3leaguld3ish_pal5in4tee_n4teesld4ine_pa5tald3estn4ter_n3terin5tern_pecu3war4tel5deral4cerenther5_ped3elav5atlat5usn4tic_ward5r_pend4n4tics_pep3tn3tid4_pi3la_plic4_plos4_po3lan5tillnt3ing_pop5lvo3tar_pur4rn4tis_nt3ismnt3istvo5raclat5al4laredlar5delar5anntoni4lan4tr_re3cantra3dnt3ralviv5orn3tratviv5alnt3rilv5itien5trymlan3etlan4er3landsvi5telland3i3land_lan3atlam4ievi3tal2v5istla4ic_la4gisla3gerlac5on5visiola5cerla5ceolabel4vi5ridlab5ar_re3ta5numerkin5et_rib5anu3tatn5utivkey4wok5erelkal4iska5limk2a5bunven4enven5o_ros3ajuscu4_sac5rjel5laja5panja2c5oi5vorevin5ta_sal4inym5itv5iniz5vinit3vinciiv3erii4ver_iv5elsoad5ervin4aciv5el_oak5ero3alesiv5ancoal5ino5alitit5uar_sanc5oar5eroar4se_sap5ait4titoat5eeoat5eri4tric_sa3vo4i5titob3ing2obi3o_sci3e4itio_it4insit4in_it5icuiti4coi5tholitha5lobrom4it3erait3entit3enci3tectit4ana3istry_sea3si4s1to5vider_sect4oc5ato4o3ce25vict2ocen5ovice3r_se3groch5ino3chon_sen3tvi4atroci3aboci4al5verseis4taliss4ivis5sanis4saliss5adi3s2phocu4luver4neislun4ocuss4ver3m4ocut5ris3incis5horocyt5ood3al_ish3op4ishioode4gao5dendo3dentish5eeod3icao4d1ieod3igais3harod1is2v5eriei2s3etis5ere4is3enis3ellod5olood5ousise5cr4i1secisci5cver3eiver5eaven4tris5chiis3agevent5oir5teeir5ochve5niair4is_ir2i4do3elecoelli4ir5essoe3o4pire5liven4doi5rasoven4alvel3liir4ae_ir4abiv4ellaip3plii4poliip3linip4itiip1i4tip4ine_su5daiphen3i1ph2ei3pendog5ar5v3eleripar3oi4oursi4our_iot5icio5staogoni45ioriz4ioritiora4mvel3atiod3i4ioact4_sul3tintu5m_tar5oin3til_tect45vateein4tee_tel5avast3av5a4sovar4isin3osiin5osei3nos_oi5ki5oil3eri5noleoin3de4vantlvanta4oin4tr_ter4pin3ionin4iciin5ia_oit4aling3um4ingliok4ine4ingleing5hain5galo4lacko5laliinfol4olan5dol5ast_thol45val4vole2c4ol5eciol5efiine5teole4onin3esi4in5eoo3lestin5egain5drool3icao3lice_ti5niol5ickol3icsol5id_va5lieo3lier_tri3dinde3tvager4oli5goo5linaol3ingoli5osol5ip4indes5inde5pin5darollim34vagedol4lyi3vag3ava5ceo4inataol3oido4lona_tro4vi3nas_in4ars_turb44ol1ubo3lumi_turi4ol3us_oly3phin3airin5aglin4ado4inaceimpot5im5pieo4maneomast4_tu5te_tu3toi3mos_im5mesomeg5aome3liom3enaomen4to3meriim5inoim4inei3m2ieomic5rom4ie_imat5uom4inyomiss4uv5eri_un5cei5m2asim3ageil5ureomoli3o2mo4nom5onyo4mos__un5chilit5uom5pil_un3d2il4iteil5ippo5nas__uni3c_uni3o4iliou_un3k4oncat3on4cho_un3t4u4t1raon3deru4to5sili4feili4eri5lienonec4ri3lici_ve5loon5ellil3iaron3essil3ia_ong3atilesi45u5tiz4o1niaon5iar2oni4conic5aut3istut5ismon3iesigu5iti4g5roi5gretigno5m4onneson5odiign5izono4miu5tiniut3ingo5nota_ver3nig3andu4tereon4ter_vis3ionton5if5teeon4treif5icsut5eniutch4eif3ic_u3taneoof3eriev3erook3eri5eutiiet3ieool5iei3est_i1es2ties3eloop4ieieri4ni3eresus5uri4idomioot3erooz5eridol3ausur4eo5paliopa5raopath5id4istopens4id1is43operaus4treidios4_vi5sooph4ieo5philop5holi3dicuus1to4iderm5op3iesop5ingo3p2itid3eraust3ilid3encopol3ii5cun4op5onyop5oriopoun4o2p5ovicu4luop5plioprac4op3ranict5icopro4lop5ropic4terust5igust4icicon3ous5tanic5olaor5adoich5olus3tacic5ado4oralsib3utaoran3eab5areorb3ini4boseorch3iibios4ib3eraor5eadore5arore5caab5beri5atomia5theoreo5lor3escore3shor3essusk5eru4s1inor5ett4iaritianch5i2a3loial5lii3alitab3erdor3ia_4orianori4cius5ianorien4ab3erria5demori5gaori4no4orio_or5ion4oriosia5crii2ac2rus4canor3n4a5ornisor3nitor3oneabi5onor5oseor5osohys3teorrel3orres3hyol5ior4seyor4stihyl5enort3anort3atort3erab3itaor3thior4thror4titort3izor4toror5traort3reh4warthu3siahu4minhu5merhu4matht4ineht4fooht3ensht3eniab4ituht3en_ab3otah3rym3osec3uhrom4ios5encosens43abouthre5maabu4loab3useho4tonosi4alosi4anos5ideo3sierhort5hho5roghorn5ihor5etab3usio3sophos3opoho2p5ro3specho5niohong3ioss5aros4sithon3eyur3theos4taros5teeos5tenac5ablur5tesos3tilac5ardost3orho5neuhon5emhom5inot3a4gurs3orho4magach5alho5lysurs5ero5ta5vurs5alhol3aroter4muroti4ho3donachro4ur5o4mach5urac5onro5thorurn3ero5tillurn3alh5micao3tivao5tiviur5lieo5toneo4tornhirr5ihio5looturi4oty3lehi5noph5inizhi5nieh2in2ehimos4hi5merhi5ma4h3ifi4url5erhi4cinur5ionur4iliur4ie_ac2t5roult5ih4et3ahes3trh5erwaound5aac5uatur3ettoun3troup5liour3erou5sanh4eron5ousiaher5omur1e2tur3ersova3lead5eni4ovatiad3icao4ver_over3bover3sov4eteadi4opadis4iovis5oo2v5oshere3ohere3aherb3iherb3aher4ashende5ur5diehe5mopa3ditihemis4he3menowi5neh3el3ohel4lihe5liuhe3lioh5elinhe5lat5admithe5delhec3t4adram4heast5ad3ulahdeac5ae4cithavel4ura4cipac4tepa5douhas4tehar4tipa3gan4pagataed5isu5quet4pairmpa5lanpal3inag4ariharge4pan5ac4agerihant3ah5anizh1ani4agi4asham5an4aginopara5sup3ingpa3rocpa3rolpar5onhagi3oag3onihaged5agor4apa3terpati4naha5raaid5erail3erhadi4epaul5egust5apa5vilg4uredg4uraspaw5kigui5ta5guit43guardaim5erai5neagrum4bpec4tugru3en5ped3agrim3a4grameped3isgour4igo5noma3ing_5gnorig4ni2ope5leogn4in_pen4at5p4encu5orospen5drpen4ic3p4ennal5ablg2n3ingn5edlalact4until4g5natial5ais5gnathala3map3eronalc3atald5riun4nagg5nateglu5tiglu5tepes4s3ale5ma4g5lodun5ketpet3eng5lis4gli5ong4letrg4letoal3ibrali4cigin5gigi5ganun3istph5al_gi4alluni3sogh5eniph5esiggrav3ggi4a5al5icsg5gedlun4ine3germ4phi5thgeo3logen5ti4phobla5linigen5italin5ophos3pgen4dugel5ligel4ing4atosg4ato_gat5ivgast3ral5ipegasol5ga5rotp5icalu3n2ergar3eeg5antsgan4trp4iestpi5etip5ifieg5ant_un4dus4ganed4alis_gan5atpi3lotgam4blun4diepin5et3pingegali4a5p4insga5lenga4dosga4ciefu5tilpir5acfu3sil4furedfu4minundi4cpiss5aunde4tpis4trft4inefti4etf4ter_un3dedpla5noun4dalalk5ieun4as_al4lab4pled_frant4frag5aunabu44plism4plistal4lagu4n3a4umu4lofore3tfor4difor5ayfo5ramfon4deallig4fo4liefo1l4ifoeti42p5oidpois5iump5tepo4ly1poly3spoman5flum4iump5lipon4acpon4ceump3er3ponifpon5taf3licaf5iteepo5pleal3ogrpor3ea4poredpori4ffir2m1fin4nial3ous5fininpos1s2fi3nalu4moraumi4fyu2m5iffight5fier4cfid3enfi5delal5penp4pene4ficalumen4tal3tiep4pledp5plerp5pletal5uedal3uesffor3effoni4ff3linf2f3isal5ver2a1ly4fet4inaman5dul3siffet4ala3mas_fest5ipres3aulph3op3reseulph3i5pricipri4es4pri4mam5atuam4binfest3ap5riolpri4osul4litfess3o4privafer5ompro3boul4lispro4chfe5rocpron4aul4latam5elopro3r2pros4iu5litypro3thfer3ee4feredu5litipsal5tfemin5fea3tup5sin_fant3iul5ishpsul3i4fan3aul3ingfa5lonu3linefa2c3ufa3cetpt5arcez5ersp5tenapt5enn5pteryez5er_ex4on_ew5ishamen4dp2t3inpt4inep3tisep5tisievol5eevis5oam3eraev5ishev4ileam5erle4viabpudi4ce4veriam5icapu4laramic5rpu5lisu5lentu1len4a3miliev5eliev3astpun5gieva2p3eval5eev4abieu3tereu5teneudio5am5ilypu3tat5ulcheet3udeet3tere4trima5mis_et4riaul5ardet4ranetra5mamor5aetra5getor3iet3onaamort3am5ose3quera4quere4ques_et5olo5quinauit5er3quito4quitueti4naeti4gie3ticuuisti4ethyl3ra3bolamp3liuis3erampo5luin4taet5enia5nadian3agerag5ouuinc5u3raillra5ist4raliaet3eeret3atiet3ater4andian3aliran4dura5neeui3libra3niara3noiet5aryan3arca5nastan4conrant5orapol5rap5toet3arieta5merar3efand5auug3uraan5delet3al_es4ur5e2s3ulrass5aan5difug5lifra5tapra5tatrat5eurath4erat3ifan5ditra5tocan5eeran3ellra4tosra5tuirat5umrat3urrav5aian3ganrav3itestud4ra3ziees5tooe3stocangov4rb3alian4gures5taue5starest3anesta4brbel5orb3entes4siless5eeessar5rbic5uan5ifor5binee5s2pres5potan5ionrbu5t4es5pitrcant54anityr4celean3omaan4scoans3ilrcha3irch3alan4suran2t2ar3cheor4cherud3iedr4chinrch3isr3chites3onaan3talan5tamrciz4ies3olae3s4mie3skinrcolo4rcrit5an4thies4itses4it_e5sion3anthrrd4an_es5iesr5de4lr3dens4anticrd5essrd5ianan4tiee5sickes5ic_rd3ingesi4anrd1is2rd5lere3sh4aes5encrd5ouse5seg5e3sectescut5esci5eant4ives5chees5canre5altre5ambre3anire5antre5ascreas3oeryth35erwauan4tusreb5ucre3calrec4ceer4vilan5tymre3chaan3um_an5umsap5aroerund5ert5izer4thire3disre4dolape5lireed5iu4cender4terer5tedre3finuccen5re5grare3grereg3rire3groreg3ulaph5emer4repaph5olaphyl3ero5stero5iser3oidern3it4reledre3liarel3icre5ligreli4qrel3liern3isrem5acap5icuub3linern3errem5ulu4bicuren5atr4endiap4ineren4eser4moirenic5ren4itub5blyre5num4eri2ta3planre5olare3olier4iscer3ioure4pereri4onrep5idre3pinre3plere4preeri4nauari4ner3iffre5reare3r2uapo3thre3scrre3selre3semre3serap5ronre5sitre3speapt5at4arabiara5bore5stu3retarre3tenar3agear5agire1t2ore5tonre3trare3trere5trier4ianer3ia_ergi3ver3ettrev3elrevi4ter3etser3et_ar3agoar3allaran4ger3esier5eseere5olr4geneeren4e5erende4remeer5elser5ellr5hel4rhe5oler5el_er3egrer3ealerdi4eerd5arerb5oser3batar5apaer5atuarb5etar4bidty4letri5cliri3colri5corri4craarb3lirid4aler3apyer3apier3aphera4doar4bularch5otwi5liri5gamaren5dri5l4aar5ettar3ev5ar5iff5tur5oequin4rima4gar4illrim3ate4putarimen4e3pur5ept3or5turitr4inetturf5iturb3aep5rimt4uranrins5itu5racep3rehtun5it5rioneepol3iepol3ari5p2ari5piear5iniep3licarm3erris4ise4peteris4paris4pear5mit4ristiri3tonr5it5rep5ertriv4alar3nalar3nisriv3enriv3il5ri5zoar5oidep5arceor4derk5atir5kellrk5enia5rotieol5ata5roucr3kiertud5ier5kin_r5kinsrks4meen4tusent5uptu5denr3l4icr3liner5linsen4tritu4binen5tiarma5cetuari4ent3arr4mancr4manor4marir4maryen4susars5alart5atarth4een4sumens5alrm4icar5m2iden3otyenit5ut4tupermin4erm3ingarth3rar5tizen5iere2n3euen4ettrmu3lie3nessen5esiener5var5un4as5conrn3ateas5cotrn5edlt3tlerr3nessrn5esttti3tuas3ectt5test3encept4tereen3as_rn4inee2n3arrn3isten4annash5ayem4preash5ilem5pesas5ilyempa5rask5erem3orras5ochrob3letstay4e3moniem3oloemod4uemo3birody4n4emnitem4maee4mitaem3ismem5ingem3inar4oledas4silassit5as4tatro5melro3mitas4tiaas3tisemet4eron4ac4ronalas4titron5chron4dorong5ir5onmeem5ero4asto2as3traas4trit5roto4atabiem3anaro3peltro3spem3agor5opteel5tieelp5inel5opsrosi4aro5solel5op_5troopros4tiatar3aro3tatata3t4ro4terelo4dieloc3uelo5caat3eautri3me4roussell5izel4labrow3erelit4ttri3lie4li4seli3onr3pentrp5er_el3ingat3echr3pholrp3ingat5eerrpol3ar2p5ouele3vi3tricuelev3at5ricla5tel_e5lesstres4sele5phel3enor4reo4el5eni4e4ledelea5grricu4tre5prate5lerri4oseld3ertre4moat3entat3eraelast3el5ancel5age4traddeiv3ereit5ertra4co4atesse4ins_to3warehyd5re5g4oneg5nabefut5arsell5rs3er_rs3ersa3thene4fiteath3odr4shier5si2ato3temto5stra5thonrs3ingeem5eree2l1ieed3ere4d5urrstor4to3s4ped3ulo4a3tiator5oitor5ered3imeed5igrrt3ageto5radr4tareed5icsto4posr4tedlr3tel4r5tendrt3enito5piaa2t3in4atinaat5ingede3teton5earth3rir1t4icr4ticlr5tietr5tilar5tilltom5osrt5ilyedes3tr3tinart3ingr3titirti5tue4delee5dansrt5lete5culito4mogec4titrt5ridecti4cec4teratit3urtwis4e4cremtoma4nec3ratec5oroec3oratom3acat4iviec3lipruis5iecip5i4toledec5ath5at5odrun4clruncu42t3oidrun2d4e4caporu5netecal5ea4topsec3adea4toryebus5iebot3oe4belstode5cat3ronat5rouat4tagru3tale4bel_eav5our4vanceavi4ervel4ie3atrirven4erv5er_t4nerer3vestat3uraeatit4e3atifeat5ieeat3ertmo4t5east5iat3urge1as1s3ryngoau5ceraud5ereas5erryth4iaudic4ear4tee5ar2rear4liear3ereap5eream3ersac4teeam4blea3logeal3eread3liead3ersain4teac4tedy4ad_sa5lacdwell3sa3lies4al4t5tletrdvert3sa5minault5id5un4cdum4be5tledrs4an4etlant4san5ifdu5ettau5reodu5elldu5eliau5rordrunk3tiv3isaus5erdri4g3aut3ars5ativti3tradrast4d5railsau5ciaut3erdossi4sa3voudo5simdon4atdom5itt3itisdomin5doman4tit5ildo4lonscar4cdol5ittith4edol3endo4c3u4s4ces5dlestt4istrdi4val1di1v2ditor3av3ageava5latish5idithe4av5alr3tisand4iterd4itas3disiadisen34d5irodi4oladi5nossec5andin5gisecon4dimet4di5mersed4itdi3gamdig3al3di3evdi4ersd5icurse3lecselen55dicul2s4emedic4tesemi5dav5antdic5oldic5amt3iristi5quaav3end5sentmti3pliav3ernti5omosep4side4voisep3tiser4antiol3aser4to4servode3vitde3visdev3ils5estade3tesdes3tid3est_sev3enaviol4aw5er_de3sidde3sectin3uetin4tedes4casfor5esfran5der5os3dero45dernesh4abiaw5ersder4miaw5nieay5sta3dererde5reg4deredde3raiderac4si4allsiast5tin3ets3icatdepen42s5icldeont5si5cul4tinedba5birdens5aside5lsid3enbalm5ideni4eba5lonsi4ersde1n2ade4mosde3morba5nan5tilindemo4nti4letsin5etbardi44demiedel5lisi5nolsi3nusba5romdeli4esi5o5sde3lat5de3isde4fy_bar3onde4cilsist3asist3otigi5odeb5itsit5omdeac3td3dlerd4derebas4tedaugh3dativ4dast5a3d4as2d1an4ts3kierba4th4sk5ily3baticba5tiod4a4gid5ache3ti2encys5toc3utivbat5on4cur4oti3diecur4er1c2ultb4batab4bonecul5abcu5itycub3atctro5tbcord4ti3colct5olo3smithbdeac5tic5asct5ivec4tityc4tituc3t2isbed5elc3tinict5ing4s3oid4te3loct4in_so5lansol4erso3lic3solvebe5dra5ti5bube3lit3some_bend5ac4ticsbe5nigson5atbicen5son5orc4tentbi4ers5soriosor4its5orizc2t5eec3tato5bilesct5antc5ta5gctac5u5c4ruscrost4spast45thoug3b2ill3sperms5pero4thoptcre4to5creti3spher4t5hoocre4p3sp5id_s5pierspil4lcre3atsp3ingspi5nith3oli4creancra4tecras3tbimet55crani5bin4d3spons3spoonspru5dbind3ecous5t3co3trth4is_srep5ucost3aco5rolco3rels5sam24coreds5sengs3sent5th4ioss3er_s5seriss3ers3thinkt5hillbin5etcon4iecon4eyth3eryss4in_s4siness4is_s3s2itss4ivicon4chth3ernco3mo4co5masssol3ut5herds4soreth5erc5colouco3logco3inc4c3oidco3difco3dicsta3bic4lotrs4talebin5i4s3tas_theo3lc3lingbi3re4ste5arste5atbi5rusbisul54s1teds4tedls4tedn4stereth5eas3bituas3terost5est5blastcine5a4cinabs3ti3a3sticks3ticuthal3ms4tilyst3ing5s4tir5cimenth5al_st3lercigar5ci3estch5ousstone3bla5tu5blespblim3as4tose4chotis4tray4chosostrep33strucstru5dbment4tew3arch5oid5chlorstur4echizz4ch3innch4in_ch3ily3chicoche5va3chetech4erltetr5och4eriche3olcha3pa4boledbon4iesu5ingces5trcest5oce3remcer4bites5tusu3pinsupra3sur4ascept3a5testesur3pltest3aboni4ft3ess_bon4spcent4ab3oratbor5eebor5etbor5icter5nobor5iocen5cice4metce5lomter3itt4erinsy4chrcel3aice3darcci3d4ter5ifsy5photer5idcav3ilter3iabot3an3tablica3t2rta3bolta4bout4a3cete3reota3chyta4cidc4atom3casu35t2adjta5dor5terel3cas3scashi4tage5ota5gogca3roucar5oocar5oncar3olcar3nicar3ifter5ecca3reeter3ebta5lept4aliat4alin2tere45tallut2alo43ter3bt4eragtera4c3brachtan5atbran4db4reas5taneltan5iet5aniz4b2rescap3tica5piltent4atark5ican4trte5nog5brief5tennaca3noec2an4eta3stabring5t4ateu3tatist4ato_tat4ouca5nartat3uttau3tobri4osca5lefcal5ar4tenarcab5inb5ut5obut4ivten4ag3butiob5utinbu5tarte5cha5technbus5sibusi4ete5d2abur4rite5monb4ulosb5rist5tegicb5tletbro4mab4stacbso3lubsol3e4teledtel5izbscon4ct4ina",7:"mor4atobstupe5buf5ferb5u5nattch5ettm3orat4call5inmor5talcan5tarcan5tedcan4tictar5ia_brev5ettant5anca3ra5ctand5er_ad4din5ta3mettam5arit4eratocar5ameboun5tital4l3atal5entmonolo4cas5tigta5chom3teres4ta5blemcaulk4iccent5rcces4sacel5ib5mpel5licel5lincen5ded5ternit4sweredswell5icend5encend5ersvest5isvers5acen5tedt5esses_ama5tem5perercen5testest5ertest5intest5orcep5ticmpet5itchan5gi5cherin4choredchor5olmphal5os5toratblem5atston4iecil5lin4mologu4mologss4tern_ster4iaci5nesscla5rifclemat45static4molog_5therapmogast4ssolu4b4theredcon4aticond5erconta5dcor5dedcord5ermpol5itcost5ercraft5ispon5gicra5niuspital5spic5ulspers5a4thorescret5orspens5ac5tariabi4fid_4sor3iecter4iab5ertinberga5mc5ticiabend5erso5metesoma5toctifi4esolv5erc5tin5o_an4on_ct4ivittici5ar3ti3cint4icityc5torisc5toriz4ticulecull5ercull5inbattle5cur5ialmmel5lislang5idal5lersk5iness5kiest4tific_daun5tede5cantdefor5edel5ler_an3ti34dem4issim4plyb4aniti_ant4icde4mons_an4t5osid5eri5timet4dens5er5ti5nadden5titdeposi4zin4c3i_aph5orshil5lider5minsfact5otin5tedtint5erde5scalmis4tindes5ponse5renedevol5u4tionemdiat5omti5plexseo5logsent5eemi5racu_ar4isedic5tat4scuras4scura__ar4isi5scopic3s4cope5t4istedi5vineti5t4ando5linesca5lendom5inodot4tins5atorydress5oaus4tedtiv5allsassem4dropho4duci5ansant5risan5garaun4dresan4ded_ar5sendust5erault5erdvoc5ataul5tedearth5iea4soni4ryngoleassem4eat5enieat4iturv5ers_rus4t5urus5ticrust5eeatric5urust5at_as5sibrup5licminth5oecad5enruncul5ru4moreecent5oa5tivizecon4sc_ateli4_au3g4uec5rean_aur4e5ect5atiec4t5usrtil5le4at4is__av5erar4theneedeter5edi4alsr5terered5icala4t1i4lediges4at5icizediv5idtori4asrswear4ati5citat5icisedu5cerrstrat4eer4ineefact5oming5li_ba5sicef5ereemin4ersath5eteath5eromin4er__be5r4ae5ignitr5salizmind5err5salisejudic44traistmil5iestrarch4tra5ven_blaz5o4m5iliee4lates_bos5omat5enatelch5errrin5getrend5irri4fy_rran5gie4lesteel3et3o_boun4d_bra5chtri5fli_burn5ieli4ers_ca4ginrou5sel_can5tamigh5tiros5tita5talisro5stattro4pharop4ineemarc5aem5atizemat5ole4m3eraron4tonro5nateem4icisnaffil4romant4emig5rarol5iteass5iblassa5giemon5ola4sonedem5orise4moticempara54empli_en3am3o_cen5sot5tereren4cileen4d5alen4dedlttitud45n4a3grend5ritrn5atine5nellee5nereor4mite_r4ming_en3ig3rmet5icirma5tocr4m3atinannot4en4tersen4tifyarp5ersent5rinr5kiesteol5ar_eologi4aro4mas_clem5eriv5eliri5vallris5ternan5teda5rishi3mesti4epolit5tup5lettup5lic_cop5roepres5erink5erme5si4aring5ie_co5terrim5an4equi5noment5or4tut4ivna5turiera4cierig5ant5rifugaar4donear5dinarif5tiear5chetrift5er4erati_4eratimrick4enrich5omrica5tuaran5teer5esteer5estieres5trre5termar4aged_dea5coaract4irest5erre5stalapu5lareri4ciduant5isuant5itres5ist5er5ickapo5strer4imet_de5lecuar4t5iua5terneri5staren4ter5ernaclmend5errem5atoreman4d_del5egerre5laer5sinere5galiert5er_ert5ersrec4t3rr4e1c2rreci5simelt5er_deli5ran4tone_de5nitan4tinges5idenesi5diur4d1an4rcriti4es3ol3urci5nogant5abludi4cinrch4ieru5dinisrch5ateu5ditiorch5ardes3per3mel5lerrcen5eres5piraanis5teesplen5uen4teres4s3anest5ifi_de5resues5trin4cept_rav5elianel5li4r4atom5ra5tolan4donirat4in_r4as5teand5istrass5in5meg2a1et3al5oand5eerrar5ia_an3d4atrant5inuicent55rantelran5teduild5erran4gennch5oloetell5irad4inencid5enra5culorac5ulaet3er3aet5eria3ra3binet5itivui5val5amphi5gam5peri_de5sirqua5tio4e4trala4mium_et5ressetrib5aaminos4am5inizamini4fp5u5tis5ulchrepush4ieev5eratev5eren4ulenciever4erpu5lar_puff5erevictu4evis5in_de5sisfall5inncip5ie_di4al_fend5erpros5trpropyl5proph5eul4l5ibp3roc3apris5inpring5imbival5nco5pat5pressiyllab5iulp5ingpre5matylin5dem4b3ingnct4ivife5veriffec4te_du4al_pprob5am5bererum4bar__echin5fi5anceal5tatipparat5pout5ern4curviumi5liaumin4aru4minedu4m3ingpoult5epor5tieal4orim4poratopon4i4eflo5rical4lish_ed4it_foment4_ed4itialli5anplum4befor4m3a_el3ev3fratch4pla5t4oma5turem4atizafrost5ipis5tilmat4itifuel5ligal5lerpill5ingang5ergariz4aunho5lial5ipotgass5inph5oriz4phonedgest5atg5gererphant5ipha5gedgiv5en_5glass_unk5eripet5allal5endepes5tilpert5isper5tinper4os_al5ance5p4er3nperem5indeleg4gna5turndepre4aint5eruodent4pend5er4gogram_en4dedpearl5indes5crgth5enimas4tinpat4richad4inepas4tinnd5is4ihak4inehal5anthan4crohar5dieha5rismhar4tedaet4or_aerody5pag4atihaught5_er5em5hearch44urantiheav5enurb5ingoxic5olowhith4ur5den_ur5deniowel5lih5erettovid5ennd5ism_her5ialh5erineout5ishoun5ginound5elhet4tedact5oryu5ri5cuheumat5ur5ifieact5ileought5ihi3c4anuri4os_h4i4ersh4manicurl5ingact5atemast4ichnocen5_men5taaci4erso5thermmar4shimantel5ot5estaurpen5tach5isma5chinihol4is_ot4atioot4anico5talito5stome5acanthost5icaosten5tost5ageh4op4te3house3hras5eoy4chosen5ectom4abolicht5eneror5tes_man4icay5chedei5a4g5oori5cidialect4or5este_escal5iatur4aorator5_wine5s_vo5lutich5ingo5quial_etern5us5ticiic4tedloplast4ophy5laid4ines4operag2i4d1itoost5eriff5leronvo5lui4ficaconti5fiman5dar_vic5to_fal4lemament4mal4is__ver4ieila5telonical4i5later_feoff5ili4arl_va5ledil4ificond5ent_ur5eth5ond5arut4toneil5ine_on5ativonast5i_under5ompt5eromot5ivi4matedi4matin_fi5liaimpar5a_fil5tro5lunte4inalit_tular5olon5el5neringinator5_tro4ph_fis4c5inc4tua_trin4aol4lopeoli4f3eol5ies_mal5ari_tran4c_tit4isnerv5inval4iseol5icizinfilt5olat5erin4itud_gam5etxter4m3ink4inein4sch5_tell5evas5el5insect5insec5uinsolv5int5essvat4inaoher4erint5res_tamar5xtens5o_tact4iinvol5ui4omani_gen4et_gen5iave5linei5pheriip5torivel5lerir4alinvel5opiir4alliirassi4nfortu5irl5ingirwo4meo4ducts4lut5arv5en5ue_stat4o_si5gnoverde5v4v4ere4o4duct_odu5cerodis5iaocus5siis5onerist5encxotrop4_ser4ie5vialitist5entochro4n_gnost4_sec5tovi5cariocess4iis4t3iclum4brio5calli4is4tom4itioneit5ress3vili4av5ilisev5ilizevil5linoast5eritu4als_han4de_hast5ii4vers__sa5linlsi4fiai5vilit5ivist_5ivistsnvoc5at_ho5rol_rol4lakinema4ni4cul4nultim5_re5strloth4ie5la5collos5sienight5ilor4ife_re5spolor5iatntup5li5lo5pen_re5sen_res5ci_re5linnt5ressn4trant_re5garloom5erxhort4a_ran5gilong5invol4ubi_ra5cem_put4ten5tition4tiparlo4cus__pos5si_lash4e_len5tint5ing_nit5res_le5vanxecut5o_plica4n4tify__plast45latini_phon4illow5er_li4onslligat4_peri5nntic4u4_pen5dewall5ern5ticizwan5gliwank5erwar5dedward5ern5ticisnth5ine_lo4giawar5thinmater4_pec3t4_pa4tiowav4ine_lous5i_para5t_par5af_lov5ernmor5ti_orner4nt5ativ_or5che_ma5lin_mar5ti_or4at4le5ation5tasiswel4izint4ariun4t3antntan5eon4t3ancleav5erl3eb5rannel5li_nucle5_no5ticlem5enclen5darwill5in_ni5tronsec4tewing5er4lentio5l4eriannerv5a_nas5tinres5tr5le5tu5lev5itano5blemnovel5el3ic3onwol5ver_mor5tilift5erlight5ilimet4e_mo5lec5lin3ealin4er_lin4erslin4gern5ocula_min5uenobser4_met4er_me5rin_me5ridmas4ted",8:"_musi5cobserv5anwith5erilect5icaweight5ica5laman_mal5ad5l5di5nestast5i4cntend5enntern5alnter5nat_perse5c_pe5titi_phe5nomxe5cutio5latiliz_librar5nt5ilati_les5son_po5lite_ac5tiva5latilisnis5tersnis5ter_tamorph5_pro5batvo5litiolan5tine_ref5eremophil5ila5melli_re5statca3r4i3c5lamandrcen5ter_5visecti5numentanvers5aniver5saliv5eling_salt5ercen5ters_ha5bilio4c5ativlunch5eois5terer_sev5era_glor5io_stra5tocham5perstor5ianstil5ler_ge5neti_sulph5a_tac5ticnform5eroin4t5erneuma5to_te5ra5tma5chinecine5mat_tri5bal_fran5ch_tri5sti_fi5n4it_troph5o_fin5essimparad5stant5iv_vent5il4o5nomicssor5ialight5ersight5er__evol5utm5ament_ont5ane_icotyle5orest5atiab5oliziab5olismod5ifiehrill5inothalam5oth5erinnduct5ivrth5ing_otherm5a5ot5inizov5elinghav5ersipass5ivessent5ermater5n4ain5dersuo5tatiopens5atipercent5slav5eriplant5er5sing5erfortu5naplumb5erpo5lemicpound5erffranch5ppress5oa5lumnia_domest5pref5ereprel5atea5marinepre5scina5m4aticpring5ertil4l5agmmand5er5sid5u4a_de5spoievol5utee5tometeetend5erting5ingmed5icatran5dishm5ed5ieset5allis_de5servsh5inessmlo5cutiuest5ratncent5rincarn5atdes5ignareact5ivr5ebratereced5ennbarric5sen5sorier5nalisuar5tersre4t4er3_custom5naugh5tirill5er_sen5sati5scripti_cotyle5e4p5rob5a5ri5netaun5chierin4t5errip5lica_art5icl5at5ressepend5entu4al5lir5ma5tolttitu5di_cent5ria5torianena5ture5na5geri_cas5ualromolec5elom5ateatitud5i_ca5pituround5ernac5tiva_at5omizrpass5intomat5oltrifu5gae4l3ica4rpret5erel5ativetrav5esttra5versat5ernisat5ernizefor5estath5erinef5initeto5talizto5talis_barri5c_authen5mass5ing",9:"_bap5tismna5cious_econstit5na5ciousl_at5omisena5culari_cen5tena_clima5toepe5titionar5tisti_cri5ticirill5ingserpent5inrcen5tenaest5igati_de5scrib_de5signe_determ5ifals5ifiefan5tasizplas5ticiundeter5msmu5tatiopa5triciaosclero5s_fec5unda_ulti5matindeterm5ipart5ite_string5i5lutionizltramont5_re5storeter5iorit_invest5imonolog5introl5ler_lam5enta_po5sitio_para5dis_ora5tori_me5lodio"}}},e=new window.Hypher(t.exports);"string"==typeof t.exports.id&&(t.exports.id=[t.exports.id]);for(var r=0;r<t.exports.id.length;r+=1)window.Hypher.languages[t.exports.id[r]]=e}(); |