(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d21ef24"],{d871:function(module,exports,__webpack_require__){(function(k,b){module.exports=b()})(window,function(){return function(k){function b(u){if(y[u])return y[u].exports;var d=y[u]={i:u,l:!1,exports:{}};return k[u].call(d.exports,d,d.exports,b),d.l=!0,d.exports}var y={};return b.m=k,b.c=y,b.d=function(u,d,h){b.o(u,d)||Object.defineProperty(u,d,{enumerable:!0,get:h})},b.r=function(u){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},b.t=function(u,d){if(1&d&&(u=b(u)),8&d||4&d&&typeof u=="object"&&u&&u.__esModule)return u;var h=Object.create(null);if(b.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:u}),2&d&&typeof u!="string")for(var a in u)b.d(h,a,function(s){return u[s]}.bind(null,a));return h},b.n=function(u){var d=u&&u.__esModule?function(){return u.default}:function(){return u};return b.d(d,"a",d),d},b.o=function(u,d){return Object.prototype.hasOwnProperty.call(u,d)},b.p="",b(b.s=64)}([function(k,b,y){"use strict";var u,d,h=k.exports=y(1),a=y(20);h.codegen=y(47),h.fetch=y(48),h.path=y(49),h.fs=h.inquire("fs"),h.toArray=function(n){if(n){for(var r=Object.keys(n),f=new Array(r.length),o=0;o0)l[v]=o(l[v]||{},p,g);else{var w=l[v];w&&(g=[].concat(w).concat(g)),l[v]=g}return l}(n,r=r.split("."),f)},Object.defineProperty(h,"decorateRoot",{get:function(){return a.decorated||(a.decorated=new(y(30)))}})},function(k,b,y){"use strict";(function(u){function d(s,e,i){for(var t=Object.keys(e),n=0;n0)},a.Buffer=function(){try{var s=a.inquire("buffer").Buffer;return s.prototype.utf8Write?s:null}catch(e){return null}}(),a._Buffer_from=null,a._Buffer_allocUnsafe=null,a.newBuffer=function(s){return typeof s=="number"?a.Buffer?a._Buffer_allocUnsafe(s):new a.Array(s):a.Buffer?a._Buffer_from(s):typeof Uint8Array=="undefined"?s:new Uint8Array(s)},a.Array=typeof Uint8Array!="undefined"?Uint8Array:Array,a.Long=a.global.dcodeIO&&a.global.dcodeIO.Long||a.global.Long||a.inquire("long"),a.key2Re=/^true|false|0|1$/,a.key32Re=/^-?(?:0|[1-9][0-9]*)$/,a.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,a.longToHash=function(s){return s?a.LongBits.from(s).toHash():a.LongBits.zeroHash},a.longFromHash=function(s,e){var i=a.LongBits.fromHash(s);return a.Long?a.Long.fromBits(i.lo,i.hi,e):i.toNumber(Boolean(e))},a.merge=d,a.lcFirst=function(s){return s.charAt(0).toLowerCase()+s.substring(1)},a.newError=h,a.ProtocolError=h("ProtocolError"),a.oneOfGetter=function(s){for(var e={},i=0;i-1;--n)if(e[t[n]]===1&&this[t[n]]!==void 0&&this[t[n]]!==null)return t[n]}},a.oneOfSetter=function(s){return function(e){for(var i=0;if)return!0}return!1},d.isReservedName=function(r,f){if(r){for(var o=0;o0;){var l=r.shift();if(o.nested&&o.nested[l]){if(!((o=o.nested[l])instanceof d))throw Error("path conflicts with non-namespace objects")}else o.add(o=new d(l))}return f&&o.addJSON(f),o},d.prototype.resolveAll=function(){for(var r=this.nestedArray,f=0;f-1)return l}else if(l instanceof d&&(l=l.lookup(r.slice(1),f,!0)))return l}else for(var p=0;p>>7|v.hi<<25)>>>0,v.hi>>>=7;for(;v.lo>127;)w[m++]=127&v.lo|128,v.lo=v.lo>>>7;w[m++]=v.lo}function t(v,w,m){w[m]=255&v,w[m+1]=v>>>8&255,w[m+2]=v>>>16&255,w[m+3]=v>>>24}k.exports=a;var n,r=y(1),f=r.LongBits,o=r.base64,l=r.utf8,p=function(){return r.Buffer?function(){return(a.create=function(){return new n})()}:function(){return new a}};a.create=p(),a.alloc=function(v){return new r.Array(v)},r.Array!==Array&&(a.alloc=r.pool(a.alloc,r.Array.prototype.subarray)),a.prototype._push=function(v,w,m){return this.tail=this.tail.next=new u(v,w,m),this.len+=w,this},e.prototype=Object.create(u.prototype),e.prototype.fn=function(v,w,m){for(;v>127;)w[m++]=127&v|128,v>>>=7;w[m]=v},a.prototype.uint32=function(v){return this.len+=(this.tail=this.tail.next=new e((v>>>=0)<128?1:v<16384?2:v<2097152?3:v<268435456?4:5,v)).len,this},a.prototype.int32=function(v){return v<0?this._push(i,10,f.fromNumber(v)):this.uint32(v)},a.prototype.sint32=function(v){return this.uint32((v<<1^v>>31)>>>0)},a.prototype.uint64=function(v){var w=f.from(v);return this._push(i,w.length(),w)},a.prototype.int64=a.prototype.uint64,a.prototype.sint64=function(v){var w=f.from(v).zzEncode();return this._push(i,w.length(),w)},a.prototype.bool=function(v){return this._push(s,1,v?1:0)},a.prototype.fixed32=function(v){return this._push(t,4,v>>>0)},a.prototype.sfixed32=a.prototype.fixed32,a.prototype.fixed64=function(v){var w=f.from(v);return this._push(t,4,w.lo)._push(t,4,w.hi)},a.prototype.sfixed64=a.prototype.fixed64,a.prototype.float=function(v){return this._push(r.float.writeFloatLE,4,v)},a.prototype.double=function(v){return this._push(r.float.writeDoubleLE,8,v)};var g=r.Array.prototype.set?function(v,w,m){w.set(v,m)}:function(v,w,m){for(var O=0;O>>0;if(!w)return this._push(s,1,0);if(r.isString(v)){var m=a.alloc(w=o.length(v));o.decode(v,m,0),v=m}return this.uint32(w)._push(g,w,v)},a.prototype.string=function(v){var w=l.length(v);return w?this.uint32(w)._push(l.write,w,v):this._push(s,1,0)},a.prototype.fork=function(){return this.states=new h(this),this.head=this.tail=new u(d,0,0),this.len=0,this},a.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(d,0,0),this.len=0),this},a.prototype.ldelim=function(){var v=this.head,w=this.tail,m=this.len;return this.reset().uint32(m),m&&(this.tail.next=v.next,this.tail=w,this.len+=m),this},a.prototype.finish=function(){for(var v=this.head.next,w=this.constructor.alloc(this.len),m=0;v;)v.fn(v.val,w,m),m+=v.len,v=v.next;return w},a._configure=function(v){n=v,a.create=p(),n._configure()}},function(k,b,y){"use strict";function u(o,l){return RangeError("index out of range: "+o.pos+" + "+(l||1)+" > "+o.len)}function d(o){this.buf=o,this.pos=0,this.len=o.length}function h(){var o=new t(0,0),l=0;if(!(this.len-this.pos>4)){for(;l<3;++l){if(this.pos>=this.len)throw u(this);if(o.lo=(o.lo|(127&this.buf[this.pos])<<7*l)>>>0,this.buf[this.pos++]<128)return o}return o.lo=(o.lo|(127&this.buf[this.pos++])<<7*l)>>>0,o}for(;l<4;++l)if(o.lo=(o.lo|(127&this.buf[this.pos])<<7*l)>>>0,this.buf[this.pos++]<128)return o;if(o.lo=(o.lo|(127&this.buf[this.pos])<<28)>>>0,o.hi=(o.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return o;if(l=0,this.len-this.pos>4){for(;l<5;++l)if(o.hi=(o.hi|(127&this.buf[this.pos])<<7*l+3)>>>0,this.buf[this.pos++]<128)return o}else for(;l<5;++l){if(this.pos>=this.len)throw u(this);if(o.hi=(o.hi|(127&this.buf[this.pos])<<7*l+3)>>>0,this.buf[this.pos++]<128)return o}throw Error("invalid varint encoding")}function a(o,l){return(o[l-4]|o[l-3]<<8|o[l-2]<<16|o[l-1]<<24)>>>0}function s(){if(this.pos+8>this.len)throw u(this,8);return new t(a(this.buf,this.pos+=4),a(this.buf,this.pos+=4))}k.exports=d;var e,i=y(1),t=i.LongBits,n=i.utf8,r=typeof Uint8Array!="undefined"?function(o){if(o instanceof Uint8Array||Array.isArray(o))return new d(o);throw Error("illegal buffer")}:function(o){if(Array.isArray(o))return new d(o);throw Error("illegal buffer")},f=function(){return i.Buffer?function(o){return(d.create=function(l){return i.Buffer.isBuffer(l)?new e(l):r(l)})(o)}:r};d.create=f(),d.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,d.prototype.uint32=function(){var o=4294967295;return function(){if(o=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(o=(o|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(o=(o|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(o=(o|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(o=(o|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return o;if((this.pos+=5)>this.len)throw this.pos=this.len,u(this,10);return o}}(),d.prototype.int32=function(){return 0|this.uint32()},d.prototype.sint32=function(){var o=this.uint32();return o>>>1^-(1&o)|0},d.prototype.bool=function(){return this.uint32()!==0},d.prototype.fixed32=function(){if(this.pos+4>this.len)throw u(this,4);return a(this.buf,this.pos+=4)},d.prototype.sfixed32=function(){if(this.pos+4>this.len)throw u(this,4);return 0|a(this.buf,this.pos+=4)},d.prototype.float=function(){if(this.pos+4>this.len)throw u(this,4);var o=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,o},d.prototype.double=function(){if(this.pos+8>this.len)throw u(this,4);var o=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,o},d.prototype.bytes=function(){var o=this.uint32(),l=this.pos,p=this.pos+o;if(p>this.len)throw u(this,o);return this.pos+=o,Array.isArray(this.buf)?this.buf.slice(l,p):l===p?new this.buf.constructor(0):this._slice.call(this.buf,l,p)},d.prototype.string=function(){var o=this.bytes();return n.read(o,0,o.length)},d.prototype.skip=function(o){if(typeof o=="number"){if(this.pos+o>this.len)throw u(this,o);this.pos+=o}else do if(this.pos>=this.len)throw u(this);while(128&this.buf[this.pos++]);return this},d.prototype.skipType=function(o){switch(o){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(o=7&this.uint32())!=4;)this.skipType(o);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+o+" at offset "+this.pos)}return this},d._configure=function(o){e=o,d.create=f(),e._configure();var l=i.Long?"toLong":"toNumber";i.merge(d.prototype,{int64:function(){return h.call(this)[l](!1)},uint64:function(){return h.call(this)[l](!0)},sint64:function(){return h.call(this).zzDecode()[l](!1)},fixed64:function(){return s.call(this)[l](!0)},sfixed64:function(){return s.call(this)[l](!1)}})}},function(k,b,y){"use strict";function u(e,i,t,n){if(Array.isArray(i)||(t=i,i=void 0),h.call(this,e,t),i!==void 0&&!Array.isArray(i))throw TypeError("fieldNames must be an Array");this.oneof=i||[],this.fieldsArray=[],this.comment=n}function d(e){if(e.parent)for(var i=0;i-1&&this.oneof.splice(i,1),e.partOf=null,this},u.prototype.onAdd=function(e){h.prototype.onAdd.call(this,e);for(var i=0;i>>0,(e.id<<3|4)>>>0):s("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",i,t,(e.id<<3|2)>>>0)}k.exports=function(s){for(var e,i=a.codegen(["m","w"],s.name+"$encode")("if(!w)")("w=Writer.create()"),t=s.fieldsArray.slice().sort(a.compareFieldsById),n=0;n>>0,8|h.mapKey[r.keyType],r.keyType),l===void 0?i("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",f,e):i(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|l,o,e),i("}")("}")):r.repeated?(i("if(%s!=null&&%s.length){",e,e),r.packed&&h.packed[o]!==void 0?i("w.uint32(%i).fork()",(r.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",e)("w.%s(%s[i])",o,e)("w.ldelim()"):(i("for(var i=0;i<%s.length;++i)",e),l===void 0?u(i,r,f,e+"[i]"):i("w.uint32(%i).%s(%s[i])",(r.id<<3|l)>>>0,o,e)),i("}")):(r.optional&&i("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",e,r.name),l===void 0?u(i,r,f,e):i("w.uint32(%i).%s(%s)",(r.id<<3|l)>>>0,o,e))}return i("return w")};var d=y(2),h=y(7),a=y(0)},function(k,b,y){"use strict";function u(m,O){h.call(this,m,O),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function d(m){return m._fieldsById=m._fieldsArray=m._oneofsArray=null,delete m.encode,delete m.decode,delete m.verify,m}k.exports=u;var h=y(6);((u.prototype=Object.create(h.prototype)).constructor=u).className="Type";var a=y(2),s=y(11),e=y(4),i=y(23),t=y(24),n=y(12),r=y(10),f=y(9),o=y(0),l=y(21),p=y(26),g=y(27),v=y(28),w=y(29);Object.defineProperties(u.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var m=Object.keys(this.fields),O=0;O>>3){");for(var i=0;i>>3){")("case 1: k=r.%s(); break",t.keyType)("case 2:"),h.basic[n]===void 0?e("value=types[%i].decode(r,r.uint32())",i):e("value=r.%s()",n),e("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),h.long[t.keyType]!==void 0?e('%s[typeof k==="object"?util.longToHash(k):k]=value',r):e("%s[k]=value",r)):t.repeated?(e("if(!(%s&&%s.length))",r,r)("%s=[]",r),h.packed[n]!==void 0&&e("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos>>0",n,n);break;case"int32":case"sint32":case"sfixed32":e("m%s=d%s|0",n,n);break;case"uint64":l=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",n,n,l)('else if(typeof d%s==="string")',n)("m%s=parseInt(d%s,10)",n,n)('else if(typeof d%s==="number")',n)("m%s=d%s",n,n)('else if(typeof d%s==="object")',n)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",n,n,n,l?"true":"");break;case"bytes":e('if(typeof d%s==="string")',n)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",n,n,n)("else if(d%s.length)",n)("m%s=d%s",n,n);break;case"string":e("m%s=String(d%s)",n,n);break;case"bool":e("m%s=Boolean(d%s)",n,n)}}return e}function d(e,i,t,n){if(i.resolvedType)i.resolvedType instanceof a?e("d%s=o.enums===String?types[%i].values[m%s]:m%s",n,t,n,n):e("d%s=types[%i].toObject(m%s,o)",n,t,n);else{var r=!1;switch(i.type){case"double":case"float":e("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",n,n,n,n);break;case"uint64":r=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":e('if(typeof m%s==="number")',n)("d%s=o.longs===String?String(m%s):m%s",n,n,n)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",n,n,n,n,r?"true":"",n);break;case"bytes":e("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",n,n,n,n,n);break;default:e("d%s=m%s",n,n)}}return e}var h=b,a=y(2),s=y(0);h.fromObject=function(e){var i=e.fieldsArray,t=s.codegen(["d"],e.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!i.length)return t("return new this.ctor");t("var m=new this.ctor");for(var n=0;n-1){var L=M.substring(C);if(L in i)return L}return null}function O(M,C){try{if(f.isString(C)&&C.charAt(0)==="{"&&(C=JSON.parse(C)),f.isString(C)){e.filename=M;var L,z=e(C,A,g),J=0;if(z.imports)for(;J-1)){if(A.files.push(M),M in i)return void(T?O(M,i[M]):(++P,setTimeout(function(){--P,O(M,i[M])})));if(T){var L;try{L=f.fs.readFileSync(M).toString("utf8")}catch(z){return void(C||w(z))}O(M,L)}else++P,A.fetch(M,function(z,J){if(--P,v)return z?void(C?P||w(null,A):w(z)):void O(M,J)})}}typeof g=="function"&&(v=g,g=void 0);var A=this;if(!v)return f.asPromise(l,A,p,g);var T=v===d,P=0;f.isString(p)&&(p=[p]);for(var B,R=0;R-1&&this.deferred.splice(p,1)}}else if(l instanceof n)o.test(l.name)&&delete l.parent[l.name];else if(l instanceof a){for(var g=0;g0&&(this.maskPath=new u.BezierPath(h.clipPath,void 0,{fill:"#000000"})),h.shapes&&(h.shapes instanceof Array&&h.shapes.forEach(function(o){switch(o.pathArgs=o.args,o.type){case 0:o.type="shape",o.pathArgs=o.shape;break;case 1:o.type="rect",o.pathArgs=o.rect;break;case 2:o.type="ellipse",o.pathArgs=o.ellipse;break;case 3:o.type="keep"}if(o.styles){o.styles.fill&&(typeof o.styles.fill.r=="number"&&(o.styles.fill[0]=o.styles.fill.r),typeof o.styles.fill.g=="number"&&(o.styles.fill[1]=o.styles.fill.g),typeof o.styles.fill.b=="number"&&(o.styles.fill[2]=o.styles.fill.b),typeof o.styles.fill.a=="number"&&(o.styles.fill[3]=o.styles.fill.a)),o.styles.stroke&&(typeof o.styles.stroke.r=="number"&&(o.styles.stroke[0]=o.styles.stroke.r),typeof o.styles.stroke.g=="number"&&(o.styles.stroke[1]=o.styles.stroke.g),typeof o.styles.stroke.b=="number"&&(o.styles.stroke[2]=o.styles.stroke.b),typeof o.styles.stroke.a=="number"&&(o.styles.stroke[3]=o.styles.stroke.a));var l=o.styles.lineDash||[];switch(o.styles.lineDashI>0&&l.push(o.styles.lineDashI),o.styles.lineDashII>0&&(l.length<1&&l.push(0),l.push(o.styles.lineDashII),l.push(0)),o.styles.lineDashIII>0&&(l.length<2&&(l.push(0),l.push(0)),l[2]=o.styles.lineDashIII),o.styles.lineDash=l,o.styles.lineJoin){case 0:o.styles.lineJoin="miter";break;case 1:o.styles.lineJoin="round";break;case 2:o.styles.lineJoin="bevel"}switch(o.styles.lineCap){case 0:o.styles.lineCap="butt";break;case 1:o.styles.lineCap="round";break;case 2:o.styles.lineCap="square"}}}),h.shapes[0]&&h.shapes[0].type==="keep"?this.shapes=d.lastShapes:(this.shapes=h.shapes,d.lastShapes=h.shapes));var a=this.transform.a*this.layout.x+this.transform.c*this.layout.y+this.transform.tx,s=this.transform.a*(this.layout.x+this.layout.width)+this.transform.c*this.layout.y+this.transform.tx,e=this.transform.a*this.layout.x+this.transform.c*(this.layout.y+this.layout.height)+this.transform.tx,i=this.transform.a*(this.layout.x+this.layout.width)+this.transform.c*(this.layout.y+this.layout.height)+this.transform.tx,t=this.transform.b*this.layout.x+this.transform.d*this.layout.y+this.transform.ty,n=this.transform.b*(this.layout.x+this.layout.width)+this.transform.d*this.layout.y+this.transform.ty,r=this.transform.b*this.layout.x+this.transform.d*(this.layout.y+this.layout.height)+this.transform.ty,f=this.transform.b*(this.layout.x+this.layout.width)+this.transform.d*(this.layout.y+this.layout.height)+this.transform.ty;this.nx=Math.min(Math.min(e,i),Math.min(a,s)),this.ny=Math.min(Math.min(r,f),Math.min(t,n))}},function(k,b,y){"use strict";k.exports=y(35)},function(k,b,y){"use strict";var u=k.exports=y(36);u.build="light",u.load=function(d,h,a){return typeof h=="function"?(a=h,h=new u.Root):h||(h=new u.Root),h.load(d,a)},u.loadSync=function(d,h){return h||(h=new u.Root),h.loadSync(d)},u.encoder=y(21),u.decoder=y(26),u.verifier=y(27),u.converter=y(28),u.ReflectionObject=y(3),u.Namespace=y(6),u.Root=y(30),u.Enum=y(2),u.Type=y(22),u.Field=y(4),u.OneOf=y(11),u.MapField=y(23),u.Service=y(24),u.Method=y(25),u.Message=y(12),u.wrappers=y(29),u.types=y(7),u.util=y(0),u.ReflectionObject._configure(u.Root),u.Namespace._configure(u.Type,u.Service,u.Enum),u.Root._configure(u.Type),u.Field._configure(u.Type)},function(k,b,y){"use strict";function u(){d.util._configure(),d.Writer._configure(d.BufferWriter),d.Reader._configure(d.BufferReader)}var d=b;d.build="minimal",d.Writer=y(9),d.BufferWriter=y(44),d.Reader=y(10),d.BufferReader=y(45),d.util=y(1),d.rpc=y(19),d.roots=y(20),d.configure=u,u()},function(k,b){var y;y=function(){return this}();try{y=y||new Function("return this")()}catch(u){typeof window=="object"&&(y=window)}k.exports=y},function(k,b,y){"use strict";var u=b;u.length=function(s){var e=s.length;if(!e)return 0;for(var i=0;--e%4>1&&s.charAt(e)==="=";)++i;return Math.ceil(3*s.length)/4-i};for(var d=new Array(64),h=new Array(123),a=0;a<64;)h[d[a]=a<26?a+65:a<52?a+71:a<62?a-4:a-59|43]=a++;u.encode=function(s,e,i){for(var t,n=null,r=[],f=0,o=0;e>2],t=(3&l)<<4,o=1;break;case 1:r[f++]=d[t|l>>4],t=(15&l)<<2,o=2;break;case 2:r[f++]=d[t|l>>6],r[f++]=d[63&l],o=0}f>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,r)),f=0)}return o&&(r[f++]=d[t],r[f++]=61,o===1&&(r[f++]=61)),n?(f&&n.push(String.fromCharCode.apply(String,r.slice(0,f))),n.join("")):String.fromCharCode.apply(String,r.slice(0,f))},u.decode=function(s,e,i){for(var t,n=i,r=0,f=0;f1)break;if((o=h[o])===void 0)throw Error("invalid encoding");switch(r){case 0:t=o,r=1;break;case 1:e[i++]=t<<2|(48&o)>>4,t=o,r=2;break;case 2:e[i++]=(15&t)<<4|(60&o)>>2,t=o,r=3;break;case 3:e[i++]=(3&t)<<6|o,r=0}}if(r===1)throw Error("invalid encoding");return i-n},u.test=function(s){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(s)}},function(k,b,y){"use strict";function u(){this._listeners={}}k.exports=u,u.prototype.on=function(d,h,a){return(this._listeners[d]||(this._listeners[d]=[])).push({fn:h,ctx:a||this}),this},u.prototype.off=function(d,h){if(d===void 0)this._listeners={};else if(h===void 0)this._listeners[d]=[];else for(var a=this._listeners[d],s=0;s0?0:2147483648,f,o);else if(isNaN(r))n(2143289344,f,o);else if(r>34028234663852886e22)n((l<<31|2139095040)>>>0,f,o);else if(r<11754943508222875e-54)n((l<<31|Math.round(r/1401298464324817e-60))>>>0,f,o);else{var p=Math.floor(Math.log(r)/Math.LN2);n((l<<31|p+127<<23|8388607&Math.round(r*Math.pow(2,-p)*8388608))>>>0,f,o)}}function t(n,r,f){var o=n(r,f),l=2*(o>>31)+1,p=o>>>23&255,g=8388607&o;return p===255?g?NaN:l*(1/0):p===0?1401298464324817e-60*l*g:l*Math.pow(2,p-150)*(g+8388608)}e.writeFloatLE=i.bind(null,d),e.writeFloatBE=i.bind(null,h),e.readFloatLE=t.bind(null,a),e.readFloatBE=t.bind(null,s)}(),typeof Float64Array!="undefined"?function(){function i(p,g,v){f[0]=p,g[v]=o[0],g[v+1]=o[1],g[v+2]=o[2],g[v+3]=o[3],g[v+4]=o[4],g[v+5]=o[5],g[v+6]=o[6],g[v+7]=o[7]}function t(p,g,v){f[0]=p,g[v]=o[7],g[v+1]=o[6],g[v+2]=o[5],g[v+3]=o[4],g[v+4]=o[3],g[v+5]=o[2],g[v+6]=o[1],g[v+7]=o[0]}function n(p,g){return o[0]=p[g],o[1]=p[g+1],o[2]=p[g+2],o[3]=p[g+3],o[4]=p[g+4],o[5]=p[g+5],o[6]=p[g+6],o[7]=p[g+7],f[0]}function r(p,g){return o[7]=p[g],o[6]=p[g+1],o[5]=p[g+2],o[4]=p[g+3],o[3]=p[g+4],o[2]=p[g+5],o[1]=p[g+6],o[0]=p[g+7],f[0]}var f=new Float64Array([-0]),o=new Uint8Array(f.buffer),l=o[7]===128;e.writeDoubleLE=l?i:t,e.writeDoubleBE=l?t:i,e.readDoubleLE=l?n:r,e.readDoubleBE=l?r:n}():function(){function i(n,r,f,o,l,p){var g=o<0?1:0;if(g&&(o=-o),o===0)n(0,l,p+r),n(1/o>0?0:2147483648,l,p+f);else if(isNaN(o))n(0,l,p+r),n(2146959360,l,p+f);else if(o>17976931348623157e292)n(0,l,p+r),n((g<<31|2146435072)>>>0,l,p+f);else{var v;if(o<22250738585072014e-324)n((v=o/5e-324)>>>0,l,p+r),n((g<<31|v/4294967296)>>>0,l,p+f);else{var w=Math.floor(Math.log(o)/Math.LN2);w===1024&&(w=1023),n(4503599627370496*(v=o*Math.pow(2,-w))>>>0,l,p+r),n((g<<31|w+1023<<20|1048576*v&1048575)>>>0,l,p+f)}}}function t(n,r,f,o,l){var p=n(o,l+r),g=n(o,l+f),v=2*(g>>31)+1,w=g>>>20&2047,m=4294967296*(1048575&g)+p;return w===2047?m?NaN:v*(1/0):w===0?5e-324*v*m:v*Math.pow(2,w-1075)*(m+4503599627370496)}e.writeDoubleLE=i.bind(null,d,0,4),e.writeDoubleBE=i.bind(null,h,4,0),e.readDoubleLE=t.bind(null,a,0,4),e.readDoubleBE=t.bind(null,s,4,0)}(),e}function d(e,i,t){i[t]=255&e,i[t+1]=e>>>8&255,i[t+2]=e>>>16&255,i[t+3]=e>>>24}function h(e,i,t){i[t]=e>>>24,i[t+1]=e>>>16&255,i[t+2]=e>>>8&255,i[t+3]=255&e}function a(e,i){return(e[i]|e[i+1]<<8|e[i+2]<<16|e[i+3]<<24)>>>0}function s(e,i){return(e[i]<<24|e[i+1]<<16|e[i+2]<<8|e[i+3])>>>0}k.exports=u(u)},function(k,b,y){"use strict";var u=b;u.length=function(d){for(var h=0,a=0,s=0;s191&&s<224?i[t++]=(31&s)<<6|63&d[h++]:s>239&&s<365?(s=((7&s)<<18|(63&d[h++])<<12|(63&d[h++])<<6|63&d[h++])-65536,i[t++]=55296+(s>>10),i[t++]=56320+(1023&s)):i[t++]=(15&s)<<12|(63&d[h++])<<6|63&d[h++],t>8191&&((e||(e=[])).push(String.fromCharCode.apply(String,i)),t=0);return e?(t&&e.push(String.fromCharCode.apply(String,i.slice(0,t))),e.join("")):String.fromCharCode.apply(String,i.slice(0,t))},u.write=function(d,h,a){for(var s,e,i=a,t=0;t>6|192,h[a++]=63&s|128):(64512&s)==55296&&(64512&(e=d.charCodeAt(t+1)))==56320?(s=65536+((1023&s)<<10)+(1023&e),++t,h[a++]=s>>18|240,h[a++]=s>>12&63|128,h[a++]=s>>6&63|128,h[a++]=63&s|128):(h[a++]=s>>12|224,h[a++]=s>>6&63|128,h[a++]=63&s|128);return a-i}},function(k,b,y){"use strict";k.exports=function(u,d,h){var a=h||8192,s=a>>>1,e=null,i=a;return function(t){if(t<1||t>s)return u(t);i+t>a&&(e=u(a),i=0);var n=d.call(e,i,i+=t);return 7&i&&(i=1+(7|i)),n}}},function(k,b,y){"use strict";function u(e,i){this.lo=e>>>0,this.hi=i>>>0}k.exports=u;var d=y(1),h=u.zero=new u(0,0);h.toNumber=function(){return 0},h.zzEncode=h.zzDecode=function(){return this},h.length=function(){return 1};var a=u.zeroHash="\0\0\0\0\0\0\0\0";u.fromNumber=function(e){if(e===0)return h;var i=e<0;i&&(e=-e);var t=e>>>0,n=(e-t)/4294967296>>>0;return i&&(n=~n>>>0,t=~t>>>0,++t>4294967295&&(t=0,++n>4294967295&&(n=0))),new u(t,n)},u.from=function(e){if(typeof e=="number")return u.fromNumber(e);if(d.isString(e)){if(!d.Long)return u.fromNumber(parseInt(e,10));e=d.Long.fromString(e)}return e.low||e.high?new u(e.low>>>0,e.high>>>0):h},u.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var i=1+~this.lo>>>0,t=~this.hi>>>0;return i||(t=t+1>>>0),-(i+4294967296*t)}return this.lo+4294967296*this.hi},u.prototype.toLong=function(e){return d.Long?new d.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;u.fromHash=function(e){return e===a?h:new u((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},u.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},u.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},u.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},u.prototype.length=function(){var e=this.lo,i=(this.lo>>>28|this.hi<<4)>>>0,t=this.hi>>>24;return t===0?i===0?e<16384?e<128?1:2:e<2097152?3:4:i<16384?i<128?5:6:i<2097152?7:8:t<128?9:10}},function(k,b,y){"use strict";function u(){h.call(this)}function d(s,e,i){s.length<40?a.utf8.write(s,e,i):e.utf8Write?e.utf8Write(s,i):e.write(s,i)}k.exports=u;var h=y(9);(u.prototype=Object.create(h.prototype)).constructor=u;var a=y(1);u._configure=function(){u.alloc=a._Buffer_allocUnsafe,u.writeBytesBuffer=a.Buffer&&a.Buffer.prototype instanceof Uint8Array&&a.Buffer.prototype.set.name==="set"?function(s,e,i){e.set(s,i)}:function(s,e,i){if(s.copy)s.copy(e,i,0,s.length);else for(var t=0;t>>0;return this.uint32(e),e&&this._push(u.writeBytesBuffer,e,s),this},u.prototype.string=function(s){var e=a.Buffer.byteLength(s);return this.uint32(e),e&&this._push(d,e,s),this},u._configure()},function(k,b,y){"use strict";function u(a){d.call(this,a)}k.exports=u;var d=y(10);(u.prototype=Object.create(d.prototype)).constructor=u;var h=y(1);u._configure=function(){h.Buffer&&(u.prototype._slice=h.Buffer.prototype.slice)},u.prototype.string=function(){var a=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+a,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+a,this.len))},u._configure()},function(k,b,y){"use strict";function u(h,a,s){if(typeof h!="function")throw TypeError("rpcImpl must be a function");d.EventEmitter.call(this),this.rpcImpl=h,this.requestDelimited=Boolean(a),this.responseDelimited=Boolean(s)}k.exports=u;var d=y(1);(u.prototype=Object.create(d.EventEmitter.prototype)).constructor=u,u.prototype.rpcCall=function h(a,s,e,i,t){if(!i)throw TypeError("request must be specified");var n=this;if(!t)return d.asPromise(h,n,a,s,e,i);if(n.rpcImpl)try{return n.rpcImpl(a,s[n.requestDelimited?"encodeDelimited":"encode"](i).finish(),function(r,f){if(r)return n.emit("error",r,a),t(r);if(f!==null){if(!(f instanceof e))try{f=e[n.responseDelimited?"decodeDelimited":"decode"](f)}catch(o){return n.emit("error",o,a),t(o)}return n.emit("data",f,a),t(null,f)}n.end(!0)})}catch(r){return n.emit("error",r,a),void setTimeout(function(){t(r)},0)}else setTimeout(function(){t(Error("already ended"))},0)},u.prototype.end=function(h){return this.rpcImpl&&(h||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(k,b,y){"use strict";function u(d,h){function a(i){if(typeof i!="string"){var t=s();if(u.verbose&&console.log("codegen: "+t),t="return "+t,i){for(var n=Object.keys(i),r=new Array(n.length+1),f=new Array(n.length),o=0;o0&&s[t-1]!==".."?s.splice(--t,2):e?s.splice(t,1):++t:s[t]==="."?s.splice(t,1):++t;return i+s.join("/")};u.resolve=function(a,s,e){return e||(s=h(s)),d(s)?s:(e||(a=h(a)),(a=a.replace(/(?:\/|^)[^/]+$/,"")).length?h(a+"/"+s):s)}},function(k,b,y){"use strict";var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=y(16).ProtoMovieEntity,h=y(8).assign,a=y(51),s={};h(s,a);var e=function(t){for(var n=[],r=0;r=0){var f=i._base64ToArrayBuffer(t.substring(21));JSZip.loadAsync(f).then(function(l){i._decodeAssets(l,n)})}else t.indexOf("data:svga/2.0;base64,")>=0?(f=i._base64ToArrayBuffer(t.substring(21)),i.load_viaProto(f,n,r)):JSZipUtils.getBinaryContent(t,function(l,p){if(l)throw r&&r(l),console.error(l),l;var g=new Uint8Array(p,0,4);g[0]==80&&g[1]==75&&g[2]==3&&g[3]==4?JSZip.loadAsync(p).then(function(v){i._decodeAssets(v,n)}):i.load_viaProto(p,n,r)});else{var o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="arraybuffer",o.onload=function(){i.load_viaProto(o.response,n,r)},o.onerror=function(l){if(!r)throw console.error(l),l;r(l)},o.send()}},load_viaProto:function(t,n,r){try{var f=s.inflate(t),o=d.decode(f),l={};i._loadImages(l,void 0,o,function(){o.ver="2.0",n({movie:o,images:l})})}catch(p){if(r)return void r(p);throw console.error(p),p}},_decodeAssets:function(t,n){var r="1.0";t.file("movie.binary")&&(r="1.5"),t.file("movie.spec").async("string").then(function(f){var o=JSON.parse(f),l={};o.ver=r,i._loadImages(l,t,o,function(){n({movie:o,images:l})})})},_loadImages:function(t,n,r,f){var o=this;if((r===void 0?"undefined":u(r))==="object"&&r.$type==d){var l=!0;if(n)t:for(var p in r.images)switch(function(j){if(r.images.hasOwnProperty(j)){var A=r.images[j],T=e(A);return t.hasOwnProperty(j)?"continue":(l=!1,n.file(T+".png").async("base64").then(function(P){t[j]=P,i._loadImages(t,n,r,f)}.bind(o)),"break")}}(p)){case"continue":continue;case"break":break t}else for(var g in r.images)if(r.images.hasOwnProperty(g)){var v=r.images[g],w=void 0;try{w=e(v)}catch(j){w=e(v)}t[g]=btoa(w)}l&&f.call(this)}else{for(var m in l=!0,r.images)if(r.images.hasOwnProperty(m)){var O=r.images[m];if(t.hasOwnProperty(m))continue;l=!1,n.file(O+".png").async("base64").then(function(j){t[m]=j,i._loadImages(t,n,r,f)}.bind(this));break}l&&f.call(this)}},_base64ToArrayBuffer:function(t){for(var n=window.atob(t),r=n.length,f=new Uint8Array(r),o=0;o=0&&o.windowBits<16&&(o.windowBits=-o.windowBits,o.windowBits===0&&(o.windowBits=-15)),!(o.windowBits>=0&&o.windowBits<16)||f&&f.windowBits||(o.windowBits+=32),o.windowBits>15&&o.windowBits<48&&(15&o.windowBits)==0&&(o.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new t,this.strm.avail_out=0;var l=h.inflateInit2(this.strm,o.windowBits);if(l!==e.Z_OK)throw new Error(i[l]);if(this.header=new n,h.inflateGetHeader(this.strm,this.header),o.dictionary&&(typeof o.dictionary=="string"?o.dictionary=s.string2buf(o.dictionary):r.call(o.dictionary)==="[object ArrayBuffer]"&&(o.dictionary=new Uint8Array(o.dictionary)),o.raw&&(l=h.inflateSetDictionary(this.strm,o.dictionary))!==e.Z_OK))throw new Error(i[l])}function d(f,o){var l=new u(o);if(l.push(f,!0),l.err)throw l.msg||i[l.err];return l.result}var h=y(52),a=y(8),s=y(57),e=y(58),i=y(59),t=y(60),n=y(61),r=Object.prototype.toString;u.prototype.push=function(f,o){var l,p,g,v,w,m=this.strm,O=this.options.chunkSize,j=this.options.dictionary,A=!1;if(this.ended)return!1;p=o===~~o?o:o===!0?e.Z_FINISH:e.Z_NO_FLUSH,typeof f=="string"?m.input=s.binstring2buf(f):r.call(f)==="[object ArrayBuffer]"?m.input=new Uint8Array(f):m.input=f,m.next_in=0,m.avail_in=m.input.length;do{if(m.avail_out===0&&(m.output=new a.Buf8(O),m.next_out=0,m.avail_out=O),(l=h.inflate(m,e.Z_NO_FLUSH))===e.Z_NEED_DICT&&j&&(l=h.inflateSetDictionary(this.strm,j)),l===e.Z_BUF_ERROR&&A===!0&&(l=e.Z_OK,A=!1),l!==e.Z_STREAM_END&&l!==e.Z_OK)return this.onEnd(l),this.ended=!0,!1;m.next_out&&(m.avail_out!==0&&l!==e.Z_STREAM_END&&(m.avail_in!==0||p!==e.Z_FINISH&&p!==e.Z_SYNC_FLUSH)||(this.options.to==="string"?(g=s.utf8border(m.output,m.next_out),v=m.next_out-g,w=s.buf2string(m.output,g),m.next_out=v,m.avail_out=O-v,v&&a.arraySet(m.output,m.output,g,v,0),this.onData(w)):this.onData(a.shrinkBuf(m.output,m.next_out)))),m.avail_in===0&&m.avail_out===0&&(A=!0)}while((m.avail_in>0||m.avail_out===0)&&l!==e.Z_STREAM_END);return l===e.Z_STREAM_END&&(p=e.Z_FINISH),p===e.Z_FINISH?(l=h.inflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===e.Z_OK):p!==e.Z_SYNC_FLUSH||(this.onEnd(e.Z_OK),m.avail_out=0,!0)},u.prototype.onData=function(f){this.chunks.push(f)},u.prototype.onEnd=function(f){f===e.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},b.Inflate=u,b.inflate=d,b.inflateRaw=function(f,o){return(o=o||{}).raw=!0,d(f,o)},b.ungzip=d},function(k,b,y){"use strict";function u(_){return(_>>>24&255)+(_>>>8&65280)+((65280&_)<<8)+((255&_)<<24)}function d(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(_){var E;return _&&_.state?(E=_.state,_.total_in=_.total_out=E.total=0,_.msg="",E.wrap&&(_.adler=1&E.wrap),E.mode=J,E.last=0,E.havedict=0,E.dmax=32768,E.head=null,E.hold=0,E.bits=0,E.lencode=E.lendyn=new f.Buf32(zt),E.distcode=E.distdyn=new f.Buf32(Jt),E.sane=1,E.back=-1,T):R}function a(_){var E;return _&&_.state?((E=_.state).wsize=0,E.whave=0,E.wnext=0,h(_)):R}function s(_,E){var c,I;return _&&_.state?(I=_.state,E<0?(c=0,E=-E):(c=1+(E>>4),E<48&&(E&=15)),E&&(E<8||E>15)?R:(I.window!==null&&I.wbits!==E&&(I.window=null),I.wrap=c,I.wbits=E,a(_))):R}function e(_,E){var c,I;return _?(I=new d,_.state=I,I.window=null,(c=s(_,E))!==T&&(_.state=null),c):R}function i(_){if(Dt){var E;for(n=new f.Buf32(512),r=new f.Buf32(32),E=0;E<144;)_.lens[E++]=8;for(;E<256;)_.lens[E++]=9;for(;E<280;)_.lens[E++]=7;for(;E<288;)_.lens[E++]=8;for(g(w,_.lens,0,288,n,0,_.work,{bits:9}),E=0;E<32;)_.lens[E++]=5;g(m,_.lens,0,32,r,0,_.work,{bits:5}),Dt=!1}_.lencode=n,_.lenbits=9,_.distcode=r,_.distbits=5}function t(_,E,c,I){var V,N=_.state;return N.window===null&&(N.wsize=1<=N.wsize?(f.arraySet(N.window,E,c-N.wsize,N.wsize,0),N.wnext=0,N.whave=N.wsize):((V=N.wsize-N.wnext)>I&&(V=I),f.arraySet(N.window,E,c-I,V,N.wnext),(I-=V)?(f.arraySet(N.window,E,c-I,I,0),N.wnext=I,N.whave=N.wsize):(N.wnext+=V,N.wnext===N.wsize&&(N.wnext=0),N.whave>>8&255,c.check=l(c.check,H,2,0),S=0,x=0,c.mode=tt;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&S)<<8)+(S>>8))%31){_.msg="incorrect header check",c.mode=U;break}if((15&S)!==z){_.msg="unknown compression method",c.mode=U;break}if(x-=4,q=8+(15&(S>>>=4)),c.wbits===0)c.wbits=q;else if(q>c.wbits){_.msg="invalid window size",c.mode=U;break}c.dmax=1<>8&1),512&c.flags&&(H[0]=255&S,H[1]=S>>>8&255,c.check=l(c.check,H,2,0)),S=0,x=0,c.mode=ot;case ot:for(;x<32;){if(F===0)break t;F--,S+=I[N++]<>>8&255,H[2]=S>>>16&255,H[3]=S>>>24&255,c.check=l(c.check,H,4,0)),S=0,x=0,c.mode=Q;case Q:for(;x<16;){if(F===0)break t;F--,S+=I[N++]<>8),512&c.flags&&(H[0]=255&S,H[1]=S>>>8&255,c.check=l(c.check,H,2,0)),S=0,x=0,c.mode=ut;case ut:if(1024&c.flags){for(;x<16;){if(F===0)break t;F--,S+=I[N++]<>>8&255,c.check=l(c.check,H,2,0)),S=0,x=0}else c.head&&(c.head.extra=null);c.mode=ht;case ht:if(1024&c.flags&&((D=c.length)>F&&(D=F),D&&(c.head&&(q=c.head.extra_len-c.length,c.head.extra||(c.head.extra=new Array(c.head.extra_len)),f.arraySet(c.head.extra,I,N,D,q)),512&c.flags&&(c.check=l(c.check,I,D,N)),F-=D,N+=D,c.length-=D),c.length))break t;c.length=0,c.mode=rt;case rt:if(2048&c.flags){if(F===0)break t;D=0;do q=I[N+D++],c.head&&q&&c.length<65536&&(c.head.name+=String.fromCharCode(q));while(q&&D>9&1,c.head.done=!0),_.adler=c.check=0,c.mode=st;break;case ct:for(;x<32;){if(F===0)break t;F--,S+=I[N++]<>>=7&x,x-=7&x,c.mode=kt;break}for(;x<3;){if(F===0)break t;F--,S+=I[N++]<>>=1)){case 0:c.mode=At;break;case 1:if(i(c),c.mode=pt,E===A){S>>>=2,x-=2;break t}break;case 2:c.mode=jt;break;case 3:_.msg="invalid block type",c.mode=U}S>>>=2,x-=2;break;case At:for(S>>>=7&x,x-=7&x;x<32;){if(F===0)break t;F--,S+=I[N++]<>>16^65535)){_.msg="invalid stored block lengths",c.mode=U;break}if(c.length=65535&S,S=0,x=0,c.mode=wt,E===A)break t;case wt:c.mode=St;case St:if(D=c.length){if(D>F&&(D=F),D>$&&(D=$),D===0)break t;f.arraySet(V,I,N,D,et),F-=D,N+=D,$-=D,et+=D,c.length-=D;break}c.mode=st;break;case jt:for(;x<14;){if(F===0)break t;F--,S+=I[N++]<>>=5,x-=5,c.ndist=1+(31&S),S>>>=5,x-=5,c.ncode=4+(15&S),S>>>=4,x-=4,c.nlen>286||c.ndist>30){_.msg="too many length or distance symbols",c.mode=U;break}c.have=0,c.mode=Tt;case Tt:for(;c.have>>=3,x-=3}for(;c.have<19;)c.lens[Mt[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,at={bits:c.lenbits},it=g(v,c.lens,0,19,c.lencode,0,c.work,at),c.lenbits=at.bits,it){_.msg="invalid code lengths set",c.mode=U;break}c.have=0,c.mode=Et;case Et:for(;c.have>>16&255,X=65535&G,!((Z=G>>>24)<=x);){if(F===0)break t;F--,S+=I[N++]<>>=Z,x-=Z,c.lens[c.have++]=X;else{if(X===16){for(nt=Z+2;x>>=Z,x-=Z,c.have===0){_.msg="invalid bit length repeat",c.mode=U;break}q=c.lens[c.have-1],D=3+(3&S),S>>>=2,x-=2}else if(X===17){for(nt=Z+3;x>>=Z)),S>>>=3,x-=3}else{for(nt=Z+7;x>>=Z)),S>>>=7,x-=7}if(c.have+D>c.nlen+c.ndist){_.msg="invalid bit length repeat",c.mode=U;break}for(;D--;)c.lens[c.have++]=q}}if(c.mode===U)break;if(c.lens[256]===0){_.msg="invalid code -- missing end-of-block",c.mode=U;break}if(c.lenbits=9,at={bits:c.lenbits},it=g(w,c.lens,0,c.nlen,c.lencode,0,c.work,at),c.lenbits=at.bits,it){_.msg="invalid literal/lengths set",c.mode=U;break}if(c.distbits=6,c.distcode=c.distdyn,at={bits:c.distbits},it=g(m,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,at),c.distbits=at.bits,it){_.msg="invalid distances set",c.mode=U;break}if(c.mode=pt,E===A)break t;case pt:c.mode=yt;case yt:if(F>=6&&$>=258){_.next_out=et,_.avail_out=$,_.next_in=N,_.avail_in=F,c.hold=S,c.bits=x,p(_,K),et=_.next_out,V=_.output,$=_.avail_out,N=_.next_in,I=_.input,F=_.avail_in,S=c.hold,x=c.bits,c.mode===st&&(c.back=-1);break}for(c.back=0;W=(G=c.lencode[S&(1<>>16&255,X=65535&G,!((Z=G>>>24)<=x);){if(F===0)break t;F--,S+=I[N++]<>Y)])>>>16&255,X=65535&G,!(Y+(Z=G>>>24)<=x);){if(F===0)break t;F--,S+=I[N++]<>>=Y,x-=Y,c.back+=Y}if(S>>>=Z,x-=Z,c.back+=Z,c.length=X,W===0){c.mode=It;break}if(32&W){c.back=-1,c.mode=st;break}if(64&W){_.msg="invalid literal/length code",c.mode=U;break}c.extra=15&W,c.mode=Nt;case Nt:if(c.extra){for(nt=c.extra;x>>=c.extra,x-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=Ft;case Ft:for(;W=(G=c.distcode[S&(1<>>16&255,X=65535&G,!((Z=G>>>24)<=x);){if(F===0)break t;F--,S+=I[N++]<>Y)])>>>16&255,X=65535&G,!(Y+(Z=G>>>24)<=x);){if(F===0)break t;F--,S+=I[N++]<>>=Y,x-=Y,c.back+=Y}if(S>>>=Z,x-=Z,c.back+=Z,64&W){_.msg="invalid distance code",c.mode=U;break}c.offset=X,c.extra=15&W,c.mode=Ct;case Ct:if(c.extra){for(nt=c.extra;x>>=c.extra,x-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){_.msg="invalid distance too far back",c.mode=U;break}c.mode=Bt;case Bt:if($===0)break t;if(D=K-$,c.offset>D){if((D=c.offset-D)>c.whave&&c.sane){_.msg="invalid distance too far back",c.mode=U;break}D>c.wnext?(D-=c.wnext,vt=c.wsize-D):vt=c.wnext-D,D>c.length&&(D=c.length),Ot=c.window}else Ot=V,vt=et-c.offset,D=c.length;D>$&&(D=$),$-=D,c.length-=D;do V[et++]=Ot[vt++];while(--D);c.length===0&&(c.mode=yt);break;case It:if($===0)break t;V[et++]=c.length,$--,c.mode=yt;break;case kt:if(c.wrap){for(;x<32;){if(F===0)break t;F--,S|=I[N++]<>>16&65535|0,i=0;h!==0;){h-=i=h>2e3?2e3:h;do e=e+(s=s+d[a++]|0)|0;while(--i);s%=65521,e%=65521}return s|e<<16|0}},function(k,b,y){"use strict";var u=function(){for(var d,h=[],a=0;a<256;a++){d=a;for(var s=0;s<8;s++)d=1&d?3988292384^d>>>1:d>>>1;h[a]=d}return h}();k.exports=function(d,h,a,s){var e=u,i=s+a;d^=-1;for(var t=s;t>>8^e[255&(d^h[t])];return-1^d}},function(k,b,y){"use strict";k.exports=function(u,d){var h,a,s,e,i,t,n,r,f,o,l,p,g,v,w,m,O,j,A,T,P,B,R,M,C;h=u.state,a=u.next_in,M=u.input,s=a+(u.avail_in-5),e=u.next_out,C=u.output,i=e-(d-u.avail_out),t=e+(u.avail_out-257),n=h.dmax,r=h.wsize,f=h.whave,o=h.wnext,l=h.window,p=h.hold,g=h.bits,v=h.lencode,w=h.distcode,m=(1<>>=A=j>>>24,g-=A,(A=j>>>16&255)==0)C[e++]=65535&j;else{if(!(16&A)){if((64&A)==0){j=v[(65535&j)+(p&(1<>>=A,g-=A),g<15&&(p+=M[a++]<>>=A=j>>>24,g-=A,!(16&(A=j>>>16&255))){if((64&A)==0){j=w[(65535&j)+(p&(1<n){u.msg="invalid distance too far back",h.mode=30;break t}if(p>>>=A,g-=A,P>(A=e-i)){if((A=P-A)>f&&h.sane){u.msg="invalid distance too far back",h.mode=30;break t}if(B=0,R=l,o===0){if(B+=r-A,A2;)C[e++]=R[B++],C[e++]=R[B++],C[e++]=R[B++],T-=3;T&&(C[e++]=R[B++],T>1&&(C[e++]=R[B++]))}else{B=e-P;do C[e++]=C[B++],C[e++]=C[B++],C[e++]=C[B++],T-=3;while(T>2);T&&(C[e++]=C[B++],T>1&&(C[e++]=C[B++]))}break}}break}}while(a>3,p&=(1<<(g-=T<<3))-1,u.next_in=a,u.next_out=e,u.avail_in=a=1&&rt[C]===0;C--);if(L>C&&(L=C),C===0)return r[f++]=20971520,r[f++]=20971520,l.bits=1,0;for(M=1;M0&&(e===0||C!==1))return-1;for(ft[1]=0,B=1;B<15;B++)ft[B+1]=ft[B]+rt[B];for(R=0;R852||e===2&&ot>592)return 1;for(;;){j=B-J,o[R]O?(A=lt[ct+o[R]],T=ut[ht+o[R]]):(A=96,T=0),p=1<>J)+(g-=p)]=j<<24|A<<16|T|0;while(g!==0);for(p=1<>=1;if(p!==0?(Q&=p-1,Q+=p):Q=0,R++,--rt[B]==0){if(B===C)break;B=i[t+o[R]]}if(B>L&&(Q&w)!==v){for(J===0&&(J=L),m+=M,tt=1<<(z=B-J);z+J852||e===2&&ot>592)return 1;r[v=Q&w]=L<<24|z<<16|m-f|0}}return Q!==0&&(r[m+Q]=B-J<<24|64<<16|0),l.bits=L,0}},function(k,b,y){"use strict";function u(i,t){if(t<65534&&(i.subarray&&a||!i.subarray&&h))return String.fromCharCode.apply(null,d.shrinkBuf(i,t));for(var n="",r=0;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;s[254]=s[254]=1,b.string2buf=function(i){var t,n,r,f,o,l=i.length,p=0;for(f=0;f>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},b.buf2binstring=function(i){return u(i,i.length)},b.binstring2buf=function(i){for(var t=new d.Buf8(i.length),n=0,r=t.length;n4)p[r++]=65533,n+=o-1;else{for(f&=o===2?31:o===3?15:7;o>1&&n1?p[r++]=65533:f<65536?p[r++]=f:(f-=65536,p[r++]=55296|f>>10&1023,p[r++]=56320|1023&f)}return u(p,r)},b.utf8border=function(i,t){var n;for((t=t||i.length)>i.length&&(t=i.length),n=t-1;n>=0&&(192&i[n])==128;)n--;return n<0||n===0?t:n+s[i[n]]>t?n:t}},function(k,b,y){"use strict";k.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(k,b,y){"use strict";k.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(k,b,y){"use strict";k.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(k,b,y){"use strict";k.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(k,b,y){k.exports=function(u){function d(a){if(h[a])return h[a].exports;var s=h[a]={i:a,l:!1,exports:{}};return u[a].call(s.exports,s,s.exports,d),s.l=!0,s.exports}var h={};return d.m=u,d.c=h,d.d=function(a,s,e){d.o(a,s)||Object.defineProperty(a,s,{configurable:!1,enumerable:!0,get:e})},d.n=function(a){var s=a&&a.__esModule?function(){return a.default}:function(){return a};return d.d(s,"a",s),s},d.o=function(a,s){return Object.prototype.hasOwnProperty.call(a,s)},d.p="",d(d.s=0)}([function(u,d,h){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var a=h(1);u.exports=a.ValueAnimator},function(u,d,h){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var a=function(){function s(){this.startValue=0,this.endValue=0,this.duration=0,this.loops=1,this.fillRule=0,this.onStart=function(){},this.onUpdate=function(){},this.onEnd=function(){},this.mRunning=!1,this.mStartTime=0,this.mCurrentFrication=0,this.mReverse=!1}return s.prototype.start=function(e){e===void 0&&(e=void 0),this.doStart(!1,e)},s.prototype.reverse=function(e){e===void 0&&(e=void 0),this.doStart(!0,e)},s.prototype.stop=function(){this.doStop()},Object.defineProperty(s.prototype,"animatedValue",{get:function(){return(this.endValue-this.startValue)*this.mCurrentFrication+this.startValue},enumerable:!0,configurable:!0}),s.prototype.doStart=function(e,i){e===void 0&&(e=!1),i===void 0&&(i=void 0),this.mReverse=e,this.mRunning=!0,this.mStartTime=s.currentTimeMillsecond(),i&&(this.mStartTime-=e?(1-i/(this.endValue-this.startValue))*this.duration:i/(this.endValue-this.startValue)*this.duration),this.mCurrentFrication=0,this.onStart(),this.doFrame()},s.prototype.doStop=function(){this.mRunning=!1},s.prototype.doFrame=function(){this.mRunning&&(this.doDeltaTime(s.currentTimeMillsecond()-this.mStartTime),this.mRunning&&s.requestAnimationFrame(this.doFrame.bind(this)))},s.prototype.doDeltaTime=function(e){e>=this.duration*this.loops?(this.mCurrentFrication=this.fillRule===1?0:1,this.mRunning=!1):(this.mCurrentFrication=e%this.duration/this.duration,this.mReverse&&(this.mCurrentFrication=1-this.mCurrentFrication)),this.onUpdate(this.animatedValue),this.mRunning===!1&&this.onEnd()},s.currentTimeMillsecond=function(){return typeof performance=="undefined"?new Date().getTime():performance.now()},s.requestAnimationFrame=function(e){return typeof requestAnimationFrame=="undefined"?setTimeout(e,16):window.requestAnimationFrame(e)},s}();d.ValueAnimator=a}])},function(k,b,y){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Player=void 0;var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},d=function(){function s(e,i){for(var t=0;t=this._videoItem.frames||e<0||(this.pauseAnimation(),this._currentFrame=e,this._update(),i&&this._doStart(void 0,!1,this._currentFrame))}},{key:"stepToPercentage",value:function(e,i){var t=parseInt(e*this._videoItem.frames);t>=this._videoItem.frames&&t>0&&(t=this._videoItem.frames-1),this.stepToFrame(t,i)}},{key:"setImage",value:function(e,i,t){this._dynamicImage[i]=e,t!==void 0&&t instanceof Array&&t.length==6&&(this._dynamicImageTransform[i]=t)}},{key:"setText",value:function(e,i){var t=typeof e=="string"?e:e.text,n=((e===void 0?"undefined":u(e))==="object"?e.size:"14px")||"14px",r=((e===void 0?"undefined":u(e))==="object"?e.family:"Arial")||"Arial",f=((e===void 0?"undefined":u(e))==="object"?e.color:"#000000")||"#000000",o=((e===void 0?"undefined":u(e))==="object"?e.offset:{x:0,y:0})||{x:0,y:0};this._dynamicText[i]={text:t,style:n+" "+r,color:f,offset:o}}},{key:"clearDynamicObjects",value:function(){this._dynamicImage={},this._dynamicImageTransform={},this._dynamicText={}}},{key:"onFinished",value:function(e){this._onFinished=e}},{key:"onFrame",value:function(e){this._onFrame=e}},{key:"onPercentage",value:function(e){this._onPercentage=e}},{key:"drawOnContext",value:function(e,i,t,n,r){this._drawingCanvas&&this._videoItem&&e.drawImage(this._drawingCanvas,i,t,n||this._videoItem.videoSize.width,r||this._videoItem.videoSize.height)}},{key:"_init",value:function(){if(this._container instanceof HTMLDivElement||this._asChild){if(this._container)for(var e=this._container.querySelectorAll("canvas"),i=0;iMath.floor(r)&&n._renderer.clearAudios(),n._currentFrame=Math.floor(r),n._update(),typeof n._onFrame=="function"&&n._onFrame(n._currentFrame),typeof n._onPercentage=="function"&&n._onPercentage(parseFloat(n._currentFrame+1)/parseFloat(n._videoItem.frames)))},this._animator.onEnd=function(){n._forwardAnimating=!1,n.clearsAfterStop===!0&&n.clear(),typeof n._onFinished=="function"&&n._onFinished()},i===!0?(this._animator.reverse(t),this._forwardAnimating=!1):(this._animator.start(t),this._forwardAnimating=!0),this._currentFrame=this._animator.startValue,this._update()}},{key:"_resize",value:function(){var e=!1;if(this._drawingCanvas){var i;i=this._drawingCanvas.parentNode?{width:this._drawingCanvas.parentNode.clientWidth,height:this._drawingCanvas.parentNode.clientHeight}:this._videoItem.videoSize;var t=this._videoItem.videoSize;if(i.width>=t.width&&i.height>=t.height)this._drawingCanvas.width=i.width,this._drawingCanvas.height=i.height,this._drawingCanvas.style.webkitTransform=this._drawingCanvas.style.transform="",e=!0;else{if(this._drawingCanvas.width=t.width,this._drawingCanvas.height=t.height,this._contentMode==="Fill"){var n=i.width/t.width,r=i.height/t.height,f=(t.width*n-t.width)/2,o=(t.height*r-t.height)/2;this._drawingCanvas.style.webkitTransform=this._drawingCanvas.style.transform="matrix("+n+", 0.0, 0.0, "+r+", "+f+", "+o+")"}else if(this._contentMode==="AspectFit"||this._contentMode==="AspectFill"){var l=t.width/t.height,p=i.width/i.height;if(l>=p&&this._contentMode==="AspectFit"||l<=p&&this._contentMode==="AspectFill"){var g=i.width/t.width,v=(t.width*g-t.width)/2,w=(t.height*g-t.height)/2+(i.height-t.height*g)/2;this._drawingCanvas.style.webkitTransform=this._drawingCanvas.style.transform="matrix("+g+", 0.0, 0.0, "+g+", "+v+", "+w+")"}else if(lp&&this._contentMode==="AspectFill"){var m=i.height/t.height,O=(t.width*m-t.width)/2+(i.width-t.width*m)/2,j=(t.height*m-t.height)/2;this._drawingCanvas.style.webkitTransform=this._drawingCanvas.style.transform="matrix("+m+", 0.0, 0.0, "+m+", "+O+", "+j+")"}}this._globalTransform=void 0}}if(this._drawingCanvas===void 0||e===!0){var A=1,T=1,P=0,B=0,R={width:this._container!==void 0?this._container.clientWidth:0,height:this._container!==void 0?this._container.clientHeight:0},M=this._videoItem.videoSize;if(this._contentMode==="Fill")A=R.width/M.width,T=R.height/M.height;else if(this._contentMode==="AspectFit"||this._contentMode==="AspectFill"){var C=M.width/M.height,L=R.width/R.height;C>=L&&this._contentMode==="AspectFit"||C<=L&&this._contentMode==="AspectFill"?(A=T=R.width/M.width,B=(R.height-M.height*T)/2):(CL&&this._contentMode==="AspectFill")&&(A=T=R.height/M.height,P=(R.width-M.width*A)/2)}this._globalTransform={a:A,b:0,c:0,d:T,tx:P,ty:B}}}},{key:"_update",value:function(){this._videoItem!==void 0&&(this._resize(),this._renderer.drawFrame(this._currentFrame),this._renderer.playAudio(this._currentFrame))}}]),s}()},function(k,b,y){"use strict";var u=y(13),d=y(63),h=y(66);k.exports={Parser:u.Parser,Player:d.Player,autoload:h.AutoLoader.autoload},h.AutoLoader.autoload()},function(k,b,y){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.Renderer=void 0;var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(){function e(i,t){for(var n=0;n=r.endFrame&&(n=!0,r.player.stop(r.playID))}),n&&(this._soundsQueue=this._soundsQueue.filter(function(r){return i=0){var l=f.substr(1).trim().split(" ");n.drawBezierElement(i,r,o,l)}}}),t._styles&&t._styles.fill&&i.fill(),t._styles&&t._styles.stroke&&i.stroke(),i.restore()}},{key:"drawBezierElement",value:function(i,t,n,r){switch(n){case"M":t.x=Number(r[0]),t.y=Number(r[1]),i.moveTo(t.x,t.y);break;case"m":t.x+=Number(r[0]),t.y+=Number(r[1]),i.moveTo(t.x,t.y);break;case"L":t.x=Number(r[0]),t.y=Number(r[1]),i.lineTo(t.x,t.y);break;case"l":t.x+=Number(r[0]),t.y+=Number(r[1]),i.lineTo(t.x,t.y);break;case"H":t.x=Number(r[0]),i.lineTo(t.x,t.y);break;case"h":t.x+=Number(r[0]),i.lineTo(t.x,t.y);break;case"V":t.y=Number(r[0]),i.lineTo(t.x,t.y);break;case"v":t.y+=Number(r[0]),i.lineTo(t.x,t.y);break;case"C":t.x1=Number(r[0]),t.y1=Number(r[1]),t.x2=Number(r[2]),t.y2=Number(r[3]),t.x=Number(r[4]),t.y=Number(r[5]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y);break;case"c":t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x2=t.x+Number(r[2]),t.y2=t.y+Number(r[3]),t.x+=Number(r[4]),t.y+=Number(r[5]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y);break;case"S":t.x1&&t.y1&&t.x2&&t.y2?(t.x1=t.x-t.x2+t.x,t.y1=t.y-t.y2+t.y,t.x2=Number(r[0]),t.y2=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y)):(t.x1=Number(r[0]),t.y1=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y));break;case"s":t.x1&&t.y1&&t.x2&&t.y2?(t.x1=t.x-t.x2+t.x,t.y1=t.y-t.y2+t.y,t.x2=t.x+Number(r[0]),t.y2=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y)):(t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y));break;case"Q":t.x1=Number(r[0]),t.y1=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y);break;case"q":t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y);break;case"A":case"a":break;case"Z":case"z":i.closePath()}}},{key:"drawEllipse",value:function(i,t){i.save(),this.resetShapeStyles(i,t),t._transform!==void 0&&t._transform!==null&&i.transform(t._transform.a,t._transform.b,t._transform.c,t._transform.d,t._transform.tx,t._transform.ty);var n=t._x-t._radiusX,r=t._y-t._radiusY,f=2*t._radiusX,o=2*t._radiusY,l=f/2*.5522848,p=o/2*.5522848,g=n+f,v=r+o,w=n+f/2,m=r+o/2;i.beginPath(),i.moveTo(n,m),i.bezierCurveTo(n,m-p,w-l,r,w,r),i.bezierCurveTo(w+l,r,g,m-p,g,m),i.bezierCurveTo(g,m+p,w+l,v,w,v),i.bezierCurveTo(w-l,v,n,m+p,n,m),t._styles&&t._styles.fill&&i.fill(),t._styles&&t._styles.stroke&&i.stroke(),i.restore()}},{key:"drawRect",value:function(i,t){i.save(),this.resetShapeStyles(i,t),t._transform!==void 0&&t._transform!==null&&i.transform(t._transform.a,t._transform.b,t._transform.c,t._transform.d,t._transform.tx,t._transform.ty);var n=t._x,r=t._y,f=t._width,o=t._height,l=t._cornerRadius;f<2*l&&(l=f/2),o<2*l&&(l=o/2),i.beginPath(),i.moveTo(n+l,r),i.arcTo(n+f,r,n+f,r+o,l),i.arcTo(n+f,r+o,n,r+o,l),i.arcTo(n,r+o,n,r,l),i.arcTo(n,r,n+f,r,l),i.closePath(),t._styles&&t._styles.fill&&i.fill(),t._styles&&t._styles.stroke&&i.stroke(),i.restore()}}]),e}()},function(k,b,y){"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.AutoLoader=void 0;var u=y(13),d=y(63),h=b.AutoLoader=function a(){(function(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")})(this,a)};h.sharedParser=new u.Parser,h.autoload=function(a,s){if(typeof window!="undefined"&&typeof document!="undefined"){var e=s||h.sharedParser;if(a){if((a.tagName==="CANVAS"||a.tagName==="DIV")&&a.attributes.src&&a.attributes.src.value.indexOf(".svga")===a.attributes.src.value.length-5){var i=a.attributes.src.value,t=new d.Player(a);e.load(i,function(f){if(a.attributes.loops){var o=parseFloat(a.attributes.loops.value)||0;t.loops=o}if(a.attributes.clearsAfterStop){var l=a.attributes.clearsAfterStop.value!=="false";t.clearsAfterStop=l}t.setVideoItem(f),t.startAnimation()}),a.player=t}}else for(var n=document.querySelectorAll('[src$=".svga"]'),r=0;r