vendor: 36,984 bytes, lines 1-42
1import{e as _t,f as zt,g as Kt,u as qt,r as ct,j as y,C as Xt,a as Ot,A as Rt,b as jt,d as Dt,c as Yt,F as Mt,S as Jt,L as Qt,h as te,i as ee,P as re,X as ne}from"./index-CRGFU6VS.js";import{S as bt,b as ie,n as se,m as ae}from"./birthdate-C0r4FcGp.js";import{D as At,S as oe}from"./docRender-B3BH_qCg.js";import{b as Tt}from"./buildDocPdf-DIKhVtwi.js";import{T as le}from"./triangle-alert-zV1sKHKV.js";/** 2 * @license lucide-react v0.487.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const de=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],he=_t("check",de);/** 7 * @license lucide-react v0.487.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const ce=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ue=_t("chevron-down",ce);/** 12 * @license lucide-react v0.487.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const fe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],pe=_t("circle-help",fe);/** 17 * @license lucide-react v0.487.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const me=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],ge=_t("external-link",me);/** 22 * @license lucide-react v0.487.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const be=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Wt=_t("file-text",be);/** 27 * @license lucide-react v0.487.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const _e=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],xe=_t("package",_e);function Nt(X){throw new Error('Could not dynamically require "'+X+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ct={exports:{}};/*! 32 33JSZip v3.10.1 - A JavaScript class for generating and reading zip files 34<http://stuartk.com/jszip> 35 36(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> 37Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. 38 39JSZip uses the library pako released under the MIT license : 40https://github.com/nodeca/pako/blob/main/LICENSE 41*/var Ft;function ve(){return Ft||(Ft=1,(function(X,at){(function(p){X.exports=p()})(function(){return(function p(B,v,o){function i(x,g){if(!v[x]){if(!B[x]){var m=typeof Nt=="function"&&Nt;if(!g&&m)return m(x,!0);if(n)return n(x,!0);var _=new Error("Cannot find module '"+x+"'");throw _.code="MODULE_NOT_FOUND",_}var s=v[x]={exports:{}};B[x][0].call(s.exports,function(u){var r=B[x][1][u];return i(r||u)},s,s.exports,p,B,v,o)}return v[x].exports}for(var n=typeof Nt=="function"&&Nt,d=0;d<o.length;d++)i(o[d]);return i})({1:[function(p,B,v){var o=p("./utils"),i=p("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";v.encode=function(d){for(var x,g,m,_,s,u,r,h=[],a=0,f=d.length,k=f,z=o.getTypeOf(d)!=="string";a<d.length;)k=f-a,m=z?(x=d[a++],g=a<f?d[a++]:0,a<f?d[a++]:0):(x=d.charCodeAt(a++),g=a<f?d.charCodeAt(a++):0,a<f?d.charCodeAt(a++):0),_=x>>2,s=(3&x)<<4|g>>4,u=1<k?(15&g)<<2|m>>6:64,r=2<k?63&m:64,h.push(n.charAt(_)+n.charAt(s)+n.charAt(u)+n.charAt(r));return h.join("")},v.decode=function(d){var x,g,m,_,s,u,r=0,h=0,a="data:";if(d.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var f,k=3*(d=d.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(d.charAt(d.length-1)===n.charAt(64)&&k--,d.charAt(d.length-2)===n.charAt(64)&&k--,k%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|k):new Array(0|k);r<d.length;)x=n.indexOf(d.charAt(r++))<<2|(_=n.indexOf(d.charAt(r++)))>>4,g=(15&_)<<4|(s=n.indexOf(d.charAt(r++)))>>2,m=(3&s)<<6|(u=n.indexOf(d.charAt(r++))),f[h++]=x,s!==64&&(f[h++]=g),u!==64&&(f[h++]=m);return f}},{"./support":30,"./utils":32}],2:[function(p,B,v){var o=p("./external"),i=p("./stream/DataWorker"),n=p("./stream/Crc32Probe"),d=p("./stream/DataLengthProbe");function x(g,m,_,s,u){this.compressedSize=g,this.uncompressedSize=m,this.crc32=_,this.compression=s,this.compressedContent=u}x.prototype={getContentWorker:function(){var g=new i(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new d("data_length")),m=this;return g.on("end",function(){if(this.streamInfo.data_length!==m.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new i(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},x.createWorkerFrom=function(g,m,_){return g.pipe(new n).pipe(new d("uncompressedSize")).pipe(m.compressWorker(_)).pipe(new d("compressedSize")).withStreamInfo("compression",m)},B.exports=x},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(p,B,v){var o=p("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},v.DEFLATE=p("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(p,B,v){var o=p("./utils"),i=(function(){for(var n,d=[],x=0;x<256;x++){n=x;for(var g=0;g<8;g++)n=1&n?3988292384^n>>>1:n>>>1;d[x]=n}return d})();B.exports=function(n,d){return n!==void 0&&n.length?o.getTypeOf(n)!=="string"?(function(x,g,m,_){var s=i,u=_+m;x^=-1;for(var r=_;r<u;r++)x=x>>>8^s[255&(x^g[r])];return-1^x})(0|d,n,n.length,0):(function(x,g,m,_){var s=i,u=_+m;x^=-1;for(var r=_;r<u;r++)x=x>>>8^s[255&(x^g.charCodeAt(r))];return-1^x})(0|d,n,n.length,0):0}},{"./utils":32}],5:[function(p,B,v){v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(p,B,v){var o=null;o=typeof Promise<"u"?Promise:p("lie"),B.exports={Promise:o}},{lie:37}],7:[function(p,B,v){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",i=p("pako"),n=p("./utils"),d=p("./stream/GenericWorker"),x=o?"uint8array":"array";function g(m,_){d.call(this,"FlateWorker/"+m),this._pako=null,this._pakoAction=m,this._pakoOptions=_,this.meta={}}v.magic="\b\0",n.inherits(g,d),g.prototype.processChunk=function(m){this.meta=m.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(x,m.data),!1)},g.prototype.flush=function(){d.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},g.prototype.cleanUp=function(){d.prototype.cleanUp.call(this),this._pako=null},g.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var m=this;this._pako.onData=function(_){m.push({data:_,meta:m.meta})}},v.compressWorker=function(m){return new g("Deflate",m)},v.uncompressWorker=function(){return new g("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(p,B,v){function o(s,u){var r,h="";for(r=0;r<u;r++)h+=String.fromCharCode(255&s),s>>>=8;return h}function i(s,u,r,h,a,f){var k,z,S=s.file,F=s.compression,O=f!==x.utf8encode,M=n.transformTo("string",f(S.name)),I=n.transformTo("string",x.utf8encode(S.name)),H=S.comment,Y=n.transformTo("string",f(H)),b=n.transformTo("string",x.utf8encode(H)),R=I.length!==S.name.length,e=b.length!==H.length,A="",J="",Z="",tt=S.dir,W=S.date,Q={crc32:0,compressedSize:0,uncompressedSize:0};u&&!r||(Q.crc32=s.crc32,Q.compressedSize=s.compressedSize,Q.uncompressedSize=s.uncompressedSize);var E=0;u&&(E|=8),O||!R&&!e||(E|=2048);var j=0,K=0;tt&&(j|=16),a==="UNIX"?(K=798,j|=(function(P,rt){var ot=P;return P||(ot=rt?16893:33204),(65535&ot)<<16})(S.unixPermissions,tt)):(K=20,j|=(function(P){return 63&(P||0)})(S.dosPermissions)),k=W.getUTCHours(),k<<=6,k|=W.getUTCMinutes(),k<<=5,k|=W.getUTCSeconds()/2,z=W.getUTCFullYear()-1980,z<<=4,z|=W.getUTCMonth()+1,z<<=5,z|=W.getUTCDate(),R&&(J=o(1,1)+o(g(M),4)+I,A+="up"+o(J.length,2)+J),e&&(Z=o(1,1)+o(g(Y),4)+b,A+="uc"+o(Z.length,2)+Z);var L="";return L+=` 42\0`,L+=o(E,2),L+=F.magic,L+=o(k,2),L+=o(z,2),L+=o(Q.crc32,4),L+=o(Q.compressedSize,4),L+=o(Q.uncompressedSize,4),L+=o(M.length,2),L+=o(A.length,2),{fileRecord:m.LOCAL_FILE_HEADER+L+M+A,dirRecord:m.CENTRAL_FILE_HEADER+o(K,2)+L+o(Y.length,2)+"\0\0\0\0"+o(j,4)+o(h,4)+M+A+Y}}var n=p("../utils"),d=p("../stream/GenericWorker"),x=p("../utf8"),g=p("../crc32"),m=p("../signature");function _(s,u,r,h){d.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=u,this.zipPlatform=r,this.encodeFileName=h,this.streamFiles=s,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(_,d),_.prototype.push=function(s){var u=s.meta.percent||0,r=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(s):(this.bytesWritten+=s.data.length,d.prototype.push.call(this,{data:s.data,meta:{currentFile:this.currentFile,percent:r?(u+100*(r-h-1))/r:100}}))},_.prototype.openedSource=function(s){this.currentSourceOffset=this.bytesWritten,this.currentFile=s.file.name;var u=this.streamFiles&&!s.file.dir;if(u){var r=i(s,u,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_.prototype.closedSource=function(s){this.accumulate=!1;var u=this.streamFiles&&!s.file.dir,r=i(s,u,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),u)this.push({data:(function(h){return m.DATA_DESCRIPTOR+o(h.crc32,4)+o(h.compressedSize,4)+o(h.uncompressedSize,4)})(s),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},_.prototype.flush=function(){for(var s=this.bytesWritten,u=0;u<this.dirRecords.length;u++)this.push({data:this.dirRecords[u],meta:{percent:100}});var r=this.bytesWritten-s,h=(function(a,f,k,z,S){var F=n.transformTo("string",S(z));return m.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(a,2)+o(a,2)+o(f,4)+o(k,4)+o(F.length,2)+F})(this.dirRecords.length,r,s,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},_.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},_.prototype.registerPrevious=function(s){this._sources.push(s);var u=this;return s.on("data",function(r){u.processChunk(r)}),s.on("end",function(){u.closedSource(u.previous.streamInfo),u._sources.length?u.prepareNextSource():u.end()}),s.on("error",function(r){u.error(r)}),this},_.prototype.resume=function(){return!!d.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},_.prototype.error=function(s){var u=this._sources;if(!d.prototype.error.call(this,s))return!1;for(var r=0;r<u.length;r++)try{u[r].error(s)}catch{}return!0},_.prototype.lock=function(){d.prototype.lock.call(this);for(var s=this._sources,u=0;u<s.length;u++)s[u].lock()},B.exports=_},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(p,B,v){var o=p("../compressions"),i=p("./ZipFileWorker");v.generateWorker=function(n,d,x){var g=new i(d.streamFiles,x,d.platform,d.encodeFileName),m=0;try{n.forEach(function(_,s){m++;var u=(function(f,k){var z=f||k,S=o[z];if(!S)throw new Error(z+" is not a valid compression method !");return S})(s.options.compression,d.compression),r=s.options.compressionOptions||d.compressionOptions||{},h=s.dir,a=s.date;s._compressWorker(u,r).withStreamInfo("file",{name:_,dir:h,date:a,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(g)}),g.entriesCount=m}catch(_){g.error(_)}return g}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(p,B,v){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var i=new o;for(var n in this)typeof this[n]!="function"&&(i[n]=this[n]);return i}}(o.prototype=p("./object")).loadAsync=p("./load"),o.support=p("./support"),o.defaults=p("./defaults"),o.version="3.10.1",o.loadAsync=function(i,n){return new o().loadAsync(i,n)},o.external=p("./external"),B.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(p,B,v){var o=p("./utils"),i=p("./external"),n=p("./utf8"),d=p("./zipEntries"),x=p("./stream/Crc32Probe"),g=p("./nodejsUtils");function m(_){return new i.Promise(function(s,u){var r=_.decompressed.getContentWorker().pipe(new x);r.on("error",function(h){u(h)}).on("end",function(){r.streamInfo.crc32!==_.decompressed.crc32?u(new Error("Corrupted zip : CRC32 mismatch")):s()}).resume()})}B.exports=function(_,s){var u=this;return s=o.extend(s||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),g.isNode&&g.isStream(_)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",_,!0,s.optimizedBinaryString,s.base64).then(function(r){var h=new d(s);return h.load(r),h}).then(function(r){var h=[i.Promise.resolve(r)],a=r.files;if(s.checkCRC32)for(var f=0;f<a.length;f++)h.push(m(a[f]));return i.Promise.all(h)}).then(function(r){for(var h=r.shift(),a=h.files,f=0;f<a.length;f++){var k=a[f],z=k.fileNameStr,S=o.resolve(k.fileNameStr);u.file(S,k.decompressed,{binary:!0,optimizedBinaryString:!0,date:k.date,dir:k.dir,comment:k.fileCommentStr.length?k.fileCommentStr:null,unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions,createFolders:s.createFolders}),k.dir||(u.file(S).unsafeOriginalName=z)}return h.zipComment.length&&(u.comment=h.zipComment),u})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(p,B,v){var o=p("../utils"),i=p("../stream/GenericWorker");function n(d,x){i.call(this,"Nodejs stream input adapter for "+d),this._upstreamEnded=!1,this._bindStream(x)}o.inherits(n,i),n.prototype._bindStream=function(d){var x=this;(this._stream=d).pause(),d.on("data",function(g){x.push({data:g,meta:{percent:0}})}).on("error",function(g){x.isPaused?this.generatedError=g:x.error(g)}).on("end",function(){x.isPaused?x._upstreamEnded=!0:x.end()})},n.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},B.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(p,B,v){var o=p("readable-stream").Readable;function i(n,d,x){o.call(this,d),this._helper=n;var g=this;n.on("data",function(m,_){g.push(m)||g._helper.pause(),x&&x(_)}).on("error",function(m){g.emit("error",m)}).on("end",function(){g.push(null)})}p("../utils").inherits(i,o),i.prototype._read=function(){this._helper.resume()},B.exports=i},{"../utils":32,"readable-stream":16}],14:[function(p,B,v){B.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,i){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,i);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,i)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var i=new Buffer(o);return i.fill(0),i},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(p,B,v){function o(S,F,O){var M,I=n.getTypeOf(F),H=n.extend(O||{},g);H.date=H.date||new Date,H.compression!==null&&(H.compression=H.compression.toUpperCase()),typeof H.unixPermissions=="string"&&(H.unixPermissions=parseInt(H.unixPermissions,8)),H.unixPermissions&&16384&H.unixPermissions&&(H.dir=!0),H.dosPermissions&&16&H.dosPermissions&&(H.dir=!0),H.dir&&(S=a(S)),H.createFolders&&(M=h(S))&&f.call(this,M,!0);var Y=I==="string"&&H.binary===!1&&H.base64===!1;O&&O.binary!==void 0||(H.binary=!Y),(F instanceof m&&F.uncompressedSize===0||H.dir||!F||F.length===0)&&(H.base64=!1,H.binary=!0,F="",H.compression="STORE",I="string");var b=null;b=F instanceof m||F instanceof d?F:u.isNode&&u.isStream(F)?new r(S,F):n.prepareContent(S,F,H.binary,H.optimizedBinaryString,H.base64);var R=new _(S,b,H);this.files[S]=R}var i=p("./utf8"),n=p("./utils"),d=p("./stream/GenericWorker"),x=p("./stream/StreamHelper"),g=p("./defaults"),m=p("./compressedObject"),_=p("./zipObject"),s=p("./generate"),u=p("./nodejsUtils"),r=p("./nodejs/NodejsStreamInputAdapter"),h=function(S){S.slice(-1)==="/"&&(S=S.substring(0,S.length-1));var F=S.lastIndexOf("/");return 0<F?S.substring(0,F):""},a=function(S){return S.slice(-1)!=="/"&&(S+="/"),S},f=function(S,F){return F=F!==void 0?F:g.createFolders,S=a(S),this.files[S]||o.call(this,S,null,{dir:!0,createFolders:F}),this.files[S]};function k(S){return Object.prototype.toString.call(S)==="[object RegExp]"}var z={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(S){var F,O,M;for(F in this.files)M=this.files[F],(O=F.slice(this.root.length,F.length))&&F.slice(0,this.root.length)===this.root&&S(O,M)},filter:function(S){var F=[];return this.forEach(function(O,M){S(O,M)&&F.push(M)}),F},file:function(S,F,O){if(arguments.length!==1)return S=this.root+S,o.call(this,S,F,O),this;if(k(S)){var M=S;return this.filter(function(H,Y){return!Y.dir&&M.test(H)})}var I=this.files[this.root+S];return I&&!I.dir?I:null},folder:function(S){if(!S)return this;if(k(S))return this.filter(function(I,H){return H.dir&&S.test(I)});var F=this.root+S,O=f.call(this,F),M=this.clone();return M.root=O.name,M},remove:function(S){S=this.root+S;var F=this.files[S];if(F||(S.slice(-1)!=="/"&&(S+="/"),F=this.files[S]),F&&!F.dir)delete this.files[S];else for(var O=this.filter(function(I,H){return H.name.slice(0,S.length)===S}),M=0;M<O.length;M++)delete this.files[O[M].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(S){var F,O={};try{if((O=n.extend(S||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");n.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var M=O.comment||this.comment||"";F=s.generateWorker(this,O,M)}catch(I){(F=new d("error")).error(I)}return new x(F,O.type||"string",O.mimeType)},generateAsync:function(S,F){return this.generateInternalStream(S).accumulate(F)},generateNodeStream:function(S,F){return(S=S||{}).type||(S.type="nodebuffer"),this.generateInternalStream(S).toNodejsStream(F)}};B.exports=z},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(p,B,v){B.exports=p("stream")},{stream:void 0}],17:[function(p,B,v){var o=p("./DataReader");function i(n){o.call(this,n);for(var d=0;d<this.data.length;d++)n[d]=255&n[d]}p("../utils").inherits(i,o),i.prototype.byteAt=function(n){return this.data[this.zero+n]},i.prototype.lastIndexOfSignature=function(n){for(var d=n.charCodeAt(0),x=n.charCodeAt(1),g=n.charCodeAt(2),m=n.charCodeAt(3),_=this.length-4;0<=_;--_)if(this.data[_]===d&&this.data[_+1]===x&&this.data[_+2]===g&&this.data[_+3]===m)return _-this.zero;return-1},i.prototype.readAndCheckSignature=function(n){var d=n.charCodeAt(0),x=n.charCodeAt(1),g=n.charCodeAt(2),m=n.charCodeAt(3),_=this.readData(4);return d===_[0]&&x===_[1]&&g===_[2]&&m===_[3]},i.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var d=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,d},B.exports=i},{"../utils":32,"./DataReader":18}],18:[function(p,B,v){var o=p("../utils");function i(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var d,x=0;for(this.checkOffset(n),d=this.index+n-1;d>=this.index;d--)x=(x<<8)+this.byteAt(d);return this.index+=n,x},readString:function(n){return o.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},B.exports=i},{"../utils":32}],19:[function(p,B,v){var o=p("./Uint8ArrayReader");function i(n){o.call(this,n)}p("../utils").inherits(i,o),i.prototype.readData=function(n){this.checkOffset(n);var d=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,d},B.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(p,B,v){var o=p("./DataReader");function i(n){o.call(this,n)}p("../utils").inherits(i,o),i.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},i.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},i.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},i.prototype.readData=function(n){this.checkOffset(n);var d=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,d},B.exports=i},{"../utils":32,"./DataReader":18}],21:[function(p,B,v){var o=p("./ArrayReader");function i(n){o.call(this,n)}p("../utils").inherits(i,o),i.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var d=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,d},B.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(p,B,v){var o=p("../utils"),i=p("../support"),n=p("./ArrayReader"),d=p("./StringReader"),x=p("./NodeBufferReader"),g=p("./Uint8ArrayReader");B.exports=function(m){var _=o.getTypeOf(m);return o.checkSupport(_),_!=="string"||i.uint8array?_==="nodebuffer"?new x(m):i.uint8array?new g(o.transformTo("uint8array",m)):new n(o.transformTo("array",m)):new d(m)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(p,B,v){v.LOCAL_FILE_HEADER="PK��",v.CENTRAL_FILE_HEADER="PK��",v.CENTRAL_DIRECTORY_END="PK��",v.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",v.ZIP64_CENTRAL_DIRECTORY_END="PK��",v.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(p,B,v){var o=p("./GenericWorker"),i=p("../utils");function n(d){o.call(this,"ConvertWorker to "+d),this.destType=d}i.inherits(n,o),n.prototype.processChunk=function(d){this.push({data:i.transformTo(this.destType,d.data),meta:d.meta})},B.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(p,B,v){var o=p("./GenericWorker"),i=p("../crc32");function n(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}p("../utils").inherits(n,o),n.prototype.processChunk=function(d){this.streamInfo.crc32=i(d.data,this.streamInfo.crc32||0),this.push(d)},B.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(p,B,v){var o=p("../utils"),i=p("./GenericWorker");function n(d){i.call(this,"DataLengthProbe for "+d),this.propName=d,this.withStreamInfo(d,0)}o.inherits(n,i),n.prototype.processChunk=function(d){if(d){var x=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=x+d.data.length}i.prototype.processChunk.call(this,d)},B.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(p,B,v){var o=p("../utils"),i=p("./GenericWorker");function n(d){i.call(this,"DataWorker");var x=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,d.then(function(g){x.dataIsReady=!0,x.data=g,x.max=g&&g.length||0,x.type=o.getTypeOf(g),x.isPaused||x._tickAndRepeat()},function(g){x.error(g)})}o.inherits(n,i),n.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var d=null,x=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":d=this.data.substring(this.index,x);break;case"uint8array":d=this.data.subarray(this.index,x);break;case"array":case"nodebuffer":d=this.data.slice(this.index,x)}return this.index=x,this.push({data:d,meta:{percent:this.max?this.index/this.max*100:0}})},B.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(p,B,v){function o(i){this.name=i||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(i){this.emit("data",i)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(i){this.emit("error",i)}return!0},error:function(i){return!this.isFinished&&(this.isPaused?this.generatedError=i:(this.isFinished=!0,this.emit("error",i),this.previous&&this.previous.error(i),this.cleanUp()),!0)},on:function(i,n){return this._listeners[i].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(i,n){if(this._listeners[i])for(var d=0;d<this._listeners[i].length;d++)this._listeners[i][d].call(this,n)},pipe:function(i){return i.registerPrevious(this)},registerPrevious:function(i){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=i.streamInfo,this.mergeStreamInfo(),this.previous=i;var n=this;return i.on("data",function(d){n.processChunk(d)}),i.on("end",function(){n.end()}),i.on("error",function(d){n.error(d)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var i=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),i=!0),this.previous&&this.previous.resume(),!i},flush:function(){},processChunk:function(i){this.push(i)},withStreamInfo:function(i,n){return this.extraStreamInfo[i]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var i in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,i)&&(this.streamInfo[i]=this.extraStreamInfo[i])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var i="Worker "+this.name;return this.previous?this.previous+" -> "+i:i}},B.exports=o},{}],29:[function(p,B,v){var o=p("../utils"),i=p("./ConvertWorker"),n=p("./GenericWorker"),d=p("../base64"),x=p("../support"),g=p("../external"),m=null;if(x.nodestream)try{m=p("../nodejs/NodejsStreamOutputAdapter")}catch{}function _(u,r){return new g.Promise(function(h,a){var f=[],k=u._internalType,z=u._outputType,S=u._mimeType;u.on("data",function(F,O){f.push(F),r&&r(O)}).on("error",function(F){f=[],a(F)}).on("end",function(){try{var F=(function(O,M,I){switch(O){case"blob":return o.newBlob(o.transformTo("arraybuffer",M),I);case"base64":return d.encode(M);default:return o.transformTo(O,M)}})(z,(function(O,M){var I,H=0,Y=null,b=0;for(I=0;I<M.length;I++)b+=M[I].length;switch(O){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(Y=new Uint8Array(b),I=0;I<M.length;I++)Y.set(M[I],H),H+=M[I].length;return Y;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+O+"'")}})(k,f),S);h(F)}catch(O){a(O)}f=[]}).resume()})}function s(u,r,h){var a=r;switch(r){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=r,this._mimeType=h,o.checkSupport(a),this._worker=u.pipe(new i(a)),u.lock()}catch(f){this._worker=new n("error"),this._worker.error(f)}}s.prototype={accumulate:function(u){return _(this,u)},on:function(u,r){var h=this;return u==="data"?this._worker.on(u,function(a){r.call(h,a.data,a.meta)}):this._worker.on(u,function(){o.delay(r,arguments,h)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(u){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new m(this,{objectMode:this._outputType!=="nodebuffer"},u)}},B.exports=s},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(p,B,v){if(v.base64=!0,v.array=!0,v.string=!0,v.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",v.nodebuffer=typeof Buffer<"u",v.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")v.blob=!1;else{var o=new ArrayBuffer(0);try{v.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(o),v.blob=i.getBlob("application/zip").size===0}catch{v.blob=!1}}}try{v.nodestream=!!p("readable-stream").Readable}catch{v.nodestream=!1}},{"readable-stream":16}],31:[function(p,B,v){for(var o=p("./utils"),i=p("./support"),n=p("./nodejsUtils"),d=p("./stream/GenericWorker"),x=new Array(256),g=0;g<256;g++)x[g]=252<=g?6:248<=g?5:240<=g?4:224<=g?3:192<=g?2:1;x[254]=x[254]=1;function m(){d.call(this,"utf-8 decode"),this.leftOver=null}function _(){d.call(this,"utf-8 encode")}v.utf8encode=function(s){return i.nodebuffer?n.newBufferFrom(s,"utf-8"):(function(u){var r,h,a,f,k,z=u.length,S=0;for(f=0;f<z;f++)(64512&(h=u.charCodeAt(f)))==55296&&f+1<z&&(64512&(a=u.charCodeAt(f+1)))==56320&&(h=65536+(h-55296<<10)+(a-56320),f++),S+=h<128?1:h<2048?2:h<65536?3:4;for(r=i.uint8array?new Uint8Array(S):new Array(S),f=k=0;k<S;f++)(64512&(h=u.charCodeAt(f)))==55296&&f+1<z&&(64512&(a=u.charCodeAt(f+1)))==56320&&(h=65536+(h-55296<<10)+(a-56320),f++),h<128?r[k++]=h:(h<2048?r[k++]=192|h>>>6:(h<65536?r[k++]=224|h>>>12:(r[k++]=240|h>>>18,r[k++]=128|h>>>12&63),r[k++]=128|h>>>6&63),r[k++]=128|63&h);return r})(s)},v.utf8decode=function(s){return i.nodebuffer?o.transformTo("nodebuffer",s).toString("utf-8"):(function(u){var r,h,a,f,k=u.length,z=new Array(2*k);for(r=h=0;r<k;)if((a=u[r++])<128)z[h++]=a;else if(4<(f=x[a]))z[h++]=65533,r+=f-1;else{for(a&=f===2?31:f===3?15:7;1<f&&r<k;)a=a<<6|63&u[r++],f--;1<f?z[h++]=65533:a<65536?z[h++]=a:(a-=65536,z[h++]=55296|a>>10&1023,z[h++]=56320|1023&a)}return z.length!==h&&(z.subarray?z=z.subarray(0,h):z.length=h),o.applyFromCharCode(z)})(s=o.transformTo(i.uint8array?"uint8array":"array",s))},o.inherits(m,d),m.prototype.processChunk=function(s){var u=o.transformTo(i.uint8array?"uint8array":"array",s.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var r=u;(u=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),u.set(r,this.leftOver.length)}else u=this.leftOver.concat(u);this.leftOver=null}var h=(function(f,k){var z;for((k=k||f.length)>f.length&&(k=f.length),z=k-1;0<=z&&(192&f[z])==128;)z--;return z<0||z===0?k:z+x[f[z]]>k?z:k})(u),a=u;h!==u.length&&(i.uint8array?(a=u.subarray(0,h),this.leftOver=u.subarray(h,u.length)):(a=u.slice(0,h),this.leftOver=u.slice(h,u.length))),this.push({data:v.utf8decode(a),meta:s.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=m,o.inherits(_,d),_.prototype.processChunk=function(s){this.push({data:v.utf8encode(s.data),meta:s.meta})},v.Utf8EncodeWorker=_},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(p,B,v){var o=p("./support"),i=p("./base64"),n=p("./nodejsUtils"),d=p("./external");function x(r){return r}function g(r,h){for(var a=0;a<r.length;++a)h[a]=255&r.charCodeAt(a);return h}p("setimmediate"),v.newBlob=function(r,h){v.checkSupport("blob");try{return new Blob([r],{type:h})}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(r),a.getBlob(h)}catch{throw new Error("Bug : can't construct the Blob.")}}};var m={stringifyByChunk:function(r,h,a){var f=[],k=0,z=r.length;if(z<=a)return String.fromCharCode.apply(null,r);for(;k<z;)h==="array"||h==="nodebuffer"?f.push(String.fromCharCode.apply(null,r.slice(k,Math.min(k+a,z)))):f.push(String.fromCharCode.apply(null,r.subarray(k,Math.min(k+a,z)))),k+=a;return f.join("")},stringifyByChar:function(r){for(var h="",a=0;a<r.length;a++)h+=String.fromCharCode(r[a]);return h},applyCanBeUsed:{uint8array:(function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function _(r){var h=65536,a=v.getTypeOf(r),f=!0;if(a==="uint8array"?f=m.applyCanBeUsed.uint8array:a==="nodebuffer"&&(f=m.applyCanBeUsed.nodebuffer),f)for(;1<h;)try{return m.stringifyByChunk(r,a,h)}catch{h=Math.floor(h/2)}return m.stringifyByChar(r)}function s(r,h){for(var a=0;a<r.length;a++)h[a]=r[a];return h}v.applyFromCharCode=_;var u={};u.string={string:x,array:function(r){return g(r,new Array(r.length))},arraybuffer:function(r){return u.string.uint8array(r).buffer},uint8array:function(r){return g(r,new Uint8Array(r.length))},nodebuffer:function(r){return g(r,n.allocBuffer(r.length))}},u.array={string:_,array:x,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return n.newBufferFrom(r)}},u.arraybuffer={string:function(r){return _(new Uint8Array(r))},array:function(r){return s(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:x,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return n.newBufferFrom(new Uint8Array(r))}},u.uint8array={string:_,array:function(r){return s(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:x,nodebuffer:function(r){return n.newBufferFrom(r)}},u.nodebuffer={string:_,array:function(r){return s(r,new Array(r.length))},arraybuffer:function(r){return u.nodebuffer.uint8array(r).buffer},uint8array:function(r){return s(r,new Uint8Array(r.length))},nodebuffer:x},v.transformTo=function(r,h){if(h=h||"",!r)return h;v.checkSupport(r);var a=v.getTypeOf(h);return u[a][r](h)},v.resolve=function(r){for(var h=r.split("/"),a=[],f=0;f<h.length;f++){var k=h[f];k==="."||k===""&&f!==0&&f!==h.length-1||(k===".."?a.pop():a.push(k))}return a.join("/")},v.getTypeOf=function(r){return typeof r=="string"?"string":Object.prototype.toString.call(r)==="[object Array]"?"array":o.nodebuffer&&n.isBuffer(r)?"no
42debuffer":o.uint8array&&r instanceof Uint8Array?"uint8array":o.arraybuffer&&r instanceof ArrayBuffer?"arraybuffer":void 0},v.checkSupport=function(r){if(!o[r.toLowerCase()])throw new Error(r+" is not supported by this platform")},v.MAX_VALUE_16BITS=65535,v.MAX_VALUE_32BITS=-1,v.pretty=function(r){var h,a,f="";for(a=0;a<(r||"").length;a++)f+="\\x"+((h=r.charCodeAt(a))<16?"0":"")+h.toString(16).toUpperCase();return f},v.delay=function(r,h,a){setImmediate(function(){r.apply(a||null,h||[])})},v.inherits=function(r,h){function a(){}a.prototype=h.prototype,r.prototype=new a},v.extend=function(){var r,h,a={};for(r=0;r<arguments.length;r++)for(h in arguments[r])Object.prototype.hasOwnProperty.call(arguments[r],h)&&a[h]===void 0&&(a[h]=arguments[r][h]);return a},v.prepareContent=function(r,h,a,f,k){return d.Promise.resolve(h).then(function(z){return o.blob&&(z instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(z))!==-1)&&typeof FileReader<"u"?new d.Promise(function(S,F){var O=new FileReader;O.onload=function(M){S(M.target.result)},O.onerror=function(M){F(M.target.error)},O.readAsArrayBuffer(z)}):z}).then(function(z){var S=v.getTypeOf(z);return S?(S==="arraybuffer"?z=v.transformTo("uint8array",z):S==="string"&&(k?z=i.decode(z):a&&f!==!0&&(z=(function(F){return g(F,o.uint8array?new Uint8Array(F.length):new Array(F.length))})(z))),z):d.Promise.reject(new Error("Can't read the data of '"+r+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(p,B,v){var o=p("./reader/readerFor"),i=p("./utils"),n=p("./signature"),d=p("./zipEntry"),x=p("./support");function g(m){this.files=[],this.loadOptions=m}g.prototype={checkSignature:function(m){if(!this.reader.readAndCheckSignature(m)){this.reader.index-=4;var _=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(_)+", expected "+i.pretty(m)+")")}},isSignature:function(m,_){var s=this.reader.index;this.reader.setIndex(m);var u=this.reader.readString(4)===_;return this.reader.setIndex(s),u},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var m=this.reader.readData(this.zipCommentLength),_=x.uint8array?"uint8array":"array",s=i.transformTo(_,m);this.zipComment=this.loadOptions.decodeFileName(s)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var m,_,s,u=this.zip64EndOfCentralSize-44;0<u;)m=this.reader.readInt(2),_=this.reader.readInt(4),s=this.reader.readData(_),this.zip64ExtensibleData[m]={id:m,length:_,value:s}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var m,_;for(m=0;m<this.files.length;m++)_=this.files[m],this.reader.setIndex(_.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),_.readLocalPart(this.reader),_.handleUTF8(),_.processAttributes()},readCentralDir:function(){var m;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(m=new d({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(m);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var m=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(m<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
42ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(m);var _=m;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(m=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(m),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var s=this.centralDirOffset+this.centralDirSize;this.zip64&&(s+=20,s+=12+this.zip64EndOfCentralSize);var u=_-s;if(0<u)this.isSignature(_,n.CENTRAL_FILE_HEADER)||(this.reader.zero=u);else if(u<0)throw new Error("Corrupted zip: missing "+Math.abs(u)+" bytes.")},prepareReader:function(m){this.reader=o(m)},load:function(m){this.prepareReader(m),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},B.exports=g},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(p,B,v){var o=p("./reader/readerFor"),i=p("./utils"),n=p("./compressedObject"),d=p("./crc32"),x=p("./utf8"),g=p("./compressions"),m=p("./support");function _(s,u){this.options=s,this.loadOptions=u}_.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(s){var u,r;if(s.skip(22),this.fileNameLength=s.readInt(2),r=s.readInt(2),this.fileName=s.readData(this.fileNameLength),s.skip(r),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((u=(function(h){for(var a in g)if(Object.prototype.hasOwnProperty.call(g,a)&&g[a].magic===h)return g[a];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,u,s.readData(this.compressedSize))},readCentralPart:function(s){this.versionMadeBy=s.readInt(2),s.skip(2),this.bitFlag=s.readInt(2),this.compressionMethod=s.readString(2),this.date=s.readDate(),this.crc32=s.readInt(4),this.compressedSize=s.readInt(4),this.uncompressedSize=s.readInt(4);var u=s.readInt(2);if(this.extraFieldsLength=s.readInt(2),this.fileCommentLength=s.readInt(2),this.diskNumberStart=s.readInt(2),this.internalFileAttributes=s.readInt(2),this.externalFileAttributes=s.readInt(4),this.localHeaderOffset=s.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");s.skip(u),this.readExtraFields(s),this.parseZIP64ExtraField(s),this.fileComment=s.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var s=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),s==0&&(this.dosPermissions=63&this.externalFileAttributes),s==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var s=o(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=s.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=s.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&
vendor: 49,859 bytes, line 42
42(this.localHeaderOffset=s.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=s.readInt(4))}},readExtraFields:function(s){var u,r,h,a=s.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});s.index+4<a;)u=s.readInt(2),r=s.readInt(2),h=s.readData(r),this.extraFields[u]={id:u,length:r,value:h};s.setIndex(a)},handleUTF8:function(){var s=m.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=x.utf8decode(this.fileName),this.fileCommentStr=x.utf8decode(this.fileComment);else{var u=this.findExtraFieldUnicodePath();if(u!==null)this.fileNameStr=u;else{var r=i.transformTo(s,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var a=i.transformTo(s,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var s=this.extraFields[28789];if(s){var u=o(s.value);return u.readInt(1)!==1||d(this.fileName)!==u.readInt(4)?null:x.utf8decode(u.readData(s.length-5))}return null},findExtraFieldUnicodeComment:function(){var s=this.extraFields[25461];if(s){var u=o(s.value);return u.readInt(1)!==1||d(this.fileComment)!==u.readInt(4)?null:x.utf8decode(u.readData(s.length-5))}return null}},B.exports=_},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(p,B,v){function o(u,r,h){this.name=u,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=r,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var i=p("./stream/StreamHelper"),n=p("./stream/DataWorker"),d=p("./utf8"),x=p("./compressedObject"),g=p("./stream/GenericWorker");o.prototype={internalStream:function(u){var r=null,h="string";try{if(!u)throw new Error("No output type specified.");var a=(h=u.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),r=this._decompressWorker();var f=!this._dataBinary;f&&!a&&(r=r.pipe(new d.Utf8EncodeWorker)),!f&&a&&(r=r.pipe(new d.Utf8DecodeWorker))}catch(k){(r=new g("error")).error(k)}return new i(r,h,"")},async:function(u,r){return this.internalStream(u).accumulate(r)},nodeStream:function(u,r){return this.internalStream(u||"nodebuffer").toNodejsStream(r)},_compressWorker:function(u,r){if(this._data instanceof x&&this._data.compression.magic===u.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new d.Utf8EncodeWorker)),x.createWorkerFrom(h,u,r)},_decompressWorker:function(){return this._data instanceof x?this._data.getContentWorker():this._data instanceof g?this._data:new n(this._data)}};for(var m=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],_=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},s=0;s<m.length;s++)o.prototype[m[s]]=_;B.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(p,B,v){(function(o){var i,n,d=o.MutationObserver||o.WebKitMutationObserver;if(d){var x=0,g=new d(u),m=o.document.createTextNode("");g.observe(m,{characterData:!0}),i=function(){m.data=x=++x%2}}else if(o.setImmediate||o.MessageChannel===void 0)i="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var r=o.document.createElement("script");r.onreadystatechange=function(){u(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},o.document.documentElement.appendChild(r)}:function(){setTimeout(u,0)};else{var _=new o.MessageChannel;_.port1.onmessage=u,i=function(){_.port2.postMessage(0)}}var s=[];function u(){var r,h;n=!0;for(var a=s.length;a;){for(h=s,s=[],r=-1;++r<a;)h[r]();a=s.length}n=!1}B.exports=function(r){s.push(r)!==1||n||i()}}).call(this,typeof zt<"u"?zt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(p,B,v){var o=p("immediate");function i(){}var n={},d=["REJECTED"],x=["FULFILLED"],g=["PENDING"];function m(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,a!==i&&r(this,a)}function _(a,f,k){this.promise=a,typeof f=="function"&&(this.onFulfilled=f,this.callFulfilled=this.otherCallFulfilled),typeof k=="function"&&(this.onRejected=k,this.callRejected=this.otherCallRejected)}function s(a,f,k){o(function(){var z;try{z=f(k)}catch(S){return n.reject(a,S)}z===a?n.reject(a,new TypeError("Cannot resolve promise with itself")):n.resolve(a,z)})}function u(a){var f=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof f=="function")return function(){f.apply(a,arguments)}}function r(a,f){var k=!1;function z(O){k||(k=!0,n.reject(a,O))}function S(O){k||(k=!0,n.resolve(a,O))}var F=h(function(){f(S,z)});F.status==="error"&&z(F.value)}function h(a,f){var k={};try{k.value=a(f),k.status="success"}catch(z){k.status="error",k.value=z}return k}(B.exports=m).prototype.finally=function(a){if(typeof a!="function")return this;var f=this.constructor;return this.then(function(k){return f.resolve(a()).then(function(){return k})},function(k){return f.resolve(a()).then(function(){throw k})})},m.prototype.catch=function(a){return this.then(null,a)},m.prototype.then=function(a,f){if(typeof a!="function"&&this.state===x||typeof f!="function"&&this.state===d)return this;var k=new this.constructor(i);return this.state!==g?s(k,this.state===x?a:f,this.outcome):this.queue.push(new _(k,a,f)),k},_.prototype.callFulfilled=function(a){n.resolve(this.promise,a)},_.prototype.otherCallFulfilled=function(a){s(this.promise,this.onFulfilled,a)},_.prototype.callRejected=function(a){n.reject(this.promise,a)},_.prototype.otherCallRejected=function(a){s(this.promise,this.onRejected,a)},n.resolve=function(a,f){var k=h(u,f);if(k.status==="error")return n.reject(a,k.value);var z=k.value;if(z)r(a,z);else{a.state=x,a.outcome=f;for(var S=-1,F=a.queue.length;++S<F;)a.queue[S].callFulfilled(f)}return a},n.reject=function(a,f){a.state=d,a.outcome=f;for(var k=-1,z=a.queue.length;++k<z;)a.queue[k].callRejected(f);return a},m.resolve=function(a){return a instanceof this?a:n.resolve(new this(i),a)},m.reject=function(a){var f=new this(i);return n.reject(f,a)},m.all=function(a){var f=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=a.length,z=!1;if(!k)return this.resolve([]);for(var S=new Array(k),F=0,O=-1,M=new this(i);++O<k;)I(a[O],O);return M;function I(H,Y){f.resolve(H).then(function(b){S[Y]=b,++F!==k||z||(z=!0,n.resolve(M,S))},function(b){z||(z=!0,n.reject(M,b))})}},m.race=function(a){var f=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=a.length,z=!1;if(!k)return this.resolve([]);for(var S=-1,F=new this(i);++S<k;)O=a[S],f.resolve(O).then(function(M){z||(z=!0,n.resolve(F,M))},function(M){z||(z=!0,n.reject(F,M))});var O;return F}},{immediate:36}],38:[function(p,B,v){var o={};(0,p("./lib/utils/common").assign)(o,p("./lib/deflate"),p("./lib/inflate"),p("./lib/zlib/constants")),B.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(p,B,v){var o=p("./zlib/deflate"),i=p("./utils/common"),n=p("./utils/strings"),d=p("./zlib/messages"),x=p("./zlib/zstream"),g=Object.prototype.toString,m=0,_=-1,s=0,u=8;function r(a){if(!(this instanceof r))return new r(a);this.options=i.assign({level:_,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:s,to:""},a||{});var f=this.options;f.raw&&0<f.windowBits?f.windowBits=-f.windowBits:f.gzip&&0<f.windowBits&&f.windowBits<16&&(f.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new x,this.strm.avail_out=0;var k=o.deflateInit2(this.strm,f.level,f.method,f.windowBits,f.memLevel,f.strategy);if(k!==m)throw new Error(d[k]);if(f.header&&o.deflateSetHeader(this.strm,f.header),f.dictionary){var z;if(z=typeof f.dictionary=="string"?n.string2buf(f.dictionary):g.call(f.dictionary)==="[object ArrayBuffer]"?new Uint8Array(f.dictionary):f.dictionary,(k=o.deflateSetDictionary(this.strm,z))!==m)throw new Error(d[k]);this._dict_set=!0}}function h(a,f){var k=new r(f);if(k.push(a,!0),k.err)throw k.msg||d[k.err];return k.result}r.prototype.push=function(a,f){var k,z,S=this.strm,F=this.options.chunkSize;if(this.ended)return!1;z=f===~~f?f:f===!0?4:0,typeof a=="string"?S.input=n.string2buf(a):g.call(a)==="[object ArrayBuffer]"?S.input=new Uint8Array(a):S.input=a,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new i.Buf8(F),S.next_out=0,S.avail_out=F),(k=o.deflate(S,z))!==1&&k!==m)return this.onEnd(k),!(this.ended=!0);S.avail_out!==0&&(S.avail_in!==0||z!==4&&z!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(i.shrinkBuf(S.output,S.next_out))):this.onData(i.shrinkBuf(S.output,S.next_out)))}while((0<S.avail_in||S.avail_out===0)&&k!==1);return z===4?(k=o.deflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===m):z!==2||(this.onEnd(m),!(S.avail_out=0))},r.prototype.onData=function(a){this.chunks.push(a)},r.prototype.onEnd=function(a){a===m&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},v.Deflate=r,v.deflate=h,v.deflateRaw=function(a,f){return(f=f||{}).raw=!0,h(a,f)},v.gzip=function(a,f){return(f=f||{}).gzip=!0,h(a,f)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(p,B,v){var o=p("./zlib/inflate"),i=p("./utils/common"),n=p("./utils/strings"),d=p("./zlib/constants"),x=p("./zlib/messages"),g=p("./zlib/zstream"),m=p("./zlib/gzheader"),_=Object.prototype.toString;function s(r){if(!(this instanceof s))return new s(r);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},r||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||r&&r.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var a=o.inflateInit2(this.strm,h.windowBits);if(a!==d.Z_OK)throw new Error(x[a]);this.header=new m,o.inflateGetHeader(this.strm,this.header)}function u(r,h){var a=new s(h);if(a.push(r,!0),a.err)throw a.msg||x[a.err];return a.result}s.prototype.push=function(r,h){var a,f,k,z,S,F,O=this.strm,M=this.options.chunkSize,I=this.options.dictionary,H=!1;if(this.ended)return!1;f=h===~~h?h:h===!0?d.Z_FINISH:d.Z_NO_FLUSH,typeof r=="string"?O.input=n.binstring2buf(r):_.call(r)==="[object ArrayBuffer]"?O.input=new Uint8Array(r):O.input=r,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new i.Buf8(M),O.next_out=0,O.avail_out=M),(a=o.inflate(O,d.Z_NO_FLUSH))===d.Z_NEED_DICT&&I&&(F=typeof I=="string"?n.string2buf(I):_.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=o.inflateSetDictionary(this.strm,F)),a===d.Z_BUF_ERROR&&H===!0&&(a=d.Z_OK,H=!1),a!==d.Z_STREAM_END&&a!==d.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==d.Z_STREAM_END&&(O.avail_in!==0||f!==d.Z_FINISH&&f!==d.Z_SYNC_FLUSH)||(this.options.to==="string"?(k=n.utf8border(O.output,O.next_out),z=O.next_out-k,S=n.buf2string(O.output,k),O.next_out=z,O.avail_out=M-z,z&&i.arraySet(O.output,O.output,k,z,0),this.onData(S)):this.onData(i.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(H=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==d.Z_STREAM_END);return a===d.Z_STREAM_END&&(f=d.Z_FINISH),f===d.Z_FINISH?(a=o.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===d.Z_OK):f!==d.Z_SYNC_FLUSH||(this.onEnd(d.Z_OK),!(O.avail_out=0))},s.prototype.onData=function(r){this.chunks.push(r)},s.prototype.onEnd=function(r){r===d.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg},v.Inflate=s,v.inflate=u,v.inflateRaw=function(r,h){return(h=h||{}).raw=!0,u(r,h)},v.ungzip=u},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(p,B,v){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";v.assign=function(d){for(var x=Array.prototype.slice.call(arguments,1);x.length;){var g=x.shift();if(g){if(typeof g!="object")throw new TypeError(g+"must be non-object");for(var m in g)g.hasOwnProperty(m)&&(d[m]=g[m])}}return d},v.shrinkBuf=function(d,x){return d.length===x?d:d.subarray?d.subarray(0,x):(d.length=x,d)};var i={arraySet:function(d,x,g,m,_){if(x.subarray&&d.subarray)d.set(x.subarray(g,g+m),_);else for(var s=0;s<m;s++)d[_+s]=x[g+s]},flattenChunks:function(d){var x,g,m,_,s,u;for(x=m=0,g=d.length;x<g;x++)m+=d[x].length;for(u=new Uint8Array(m),x=_=0,g=d.length;x<g;x++)s=d[x],u.set(s,_),_+=s.length;return u}},n={arraySet:function(d,x,g,m,_){for(var s=0;s<m;s++)d[_+s]=x[g+s]},flattenChunks:function(d){return[].concat.apply([],d)}};v.setTyped=function(d){d?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,i)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,n))},v.setTyped(o)},{}],42:[function(p,B,v){var o=p("./common"),i=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var d=new o.Buf8(256),x=0;x<256;x++)d[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;function g(m,_){if(_<65537&&(m.subarray&&n||!m.subarray&&i))return String.fromCharCode.apply(null,o.shrinkBuf(m,_));for(var s="",u=0;u<_;u++)s+=String.fromCharCode(m[u]);return s}d[254]=d[254]=1,v.string2buf=function(m){var _,s,u,r,h,a=m.length,f=0;for(r=0;r<a;r++)(64512&(s=m.charCodeAt(r)))==55296&&r+1<a&&(64512&(u=m.charCodeAt(r+1)))==56320&&(s=65536+(s-55296<<10)+(u-56320),r++),f+=s<128?1:s<2048?2:s<65536?3:4;for(_=new o.Buf8(f),r=h=0;h<f;r++)(64512&(s=m.charCodeAt(r)))==55296&&r+1<a&&(64512&(u=m.charCodeAt(r+1)))==56320&&(s=65536+(s-55296<<10)+(u-56320),r++),s<128?_[h++]=s:(s<2048?_[h++]=192|s>>>6:(s<65536?_[h++]=224|s>>>12:(_[h++]=240|s>>>18,_[h++]=128|s>>>12&63),_[h++]=128|s>>>6&63),_[h++]=128|63&s);return _},v.buf2binstring=function(m){return g(m,m.length)},v.binstring2buf=function(m){for(var _=new o.Buf8(m.length),s=0,u=_.length;s<u;s++)_[s]=m.charCodeAt(s);return _},v.buf2string=function(m,_){var s,u,r,h,a=_||m.length,f=new Array(2*a);for(s=u=0;s<a;)if((r=m[s++])<128)f[u++]=r;else if(4<(h=d[r]))f[u++]=65533,s+=h-1;else{for(r&=h===2?31:h===3?15:7;1<h&&s<a;)r=r<<6|63&m[s++],h--;1<h?f[u++]=65533:r<65536?f[u++]=r:(r-=65536,f[u++]=55296|r>>10&1023,f[u++]=56320|1023&r)}return g(f,u)},v.utf8border=function(m,_){var s;for((_=_||m.length)>m.length&&(_=m.length),s=_-1;0<=s&&(192&m[s])==128;)s--;return s<0||s===0?_:s+d[m[s]]>_?s:_}},{"./common":41}],43:[function(p,B,v){B.exports=function(o,i,n,d){for(var x=65535&o|0,g=o>>>16&65535|0,m=0;n!==0;){for(n-=m=2e3<n?2e3:n;g=g+(x=x+i[d++]|0)|0,--m;);x%=65521,g%=65521}return x|g<<16|0}},{}],44:[function(p,B,v){B.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(p,B,v){var o=(function(){for(var i,n=[],d=0;d<256;d++){i=d;for(var x=0;x<8;x++)i=1&i?3988292384^i>>>1:i>>>1;n[d]=i}return n})();B.exports=function(i,n,d,x){var g=o,m=x+d;i^=-1;for(var _=x;_<m;_++)i=i>>>8^g[255&(i^n[_])];return-1^i}},{}],46:[function(p,B,v){var o,i=p("../utils/common"),n=p("./trees"),d=p("./adler32"),x=p("./crc32"),g=p("./messages"),m=0,_=4,s=0,u=-2,r=-1,h=4,a=2,f=8,k=9,z=286,S=30,F=19,O=2*z+1,M=15,I=3,H=258,Y=H+I+1,b=42,R=113,e=1,A=2,J=3,Z=4;function tt(t,T){return t.msg=g[T],T}function W(t){return(t<<1)-(4<t?9:0)}function Q(t){for(var T=t.length;0<=--T;)t[T]=0}function E(t){var T=t.state,C=T.pending;C>t.avail_out&&(C=t.avail_out),C!==0&&(i.arraySet(t.output,T.pending_buf,T.pending_out,C,t.next_out),t.next_out+=C,T.pending_out+=C,t.total_out+=C,t.avail_out-=C,T.pending-=C,T.pending===0&&(T.pending_out=0))}function j(t,T){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,T),t.block_start=t.strstart,E(t.strm)}function K(t,T){t.pending_buf[t.pending++]=T}function L(t,T){t.pending_buf[t.pending++]=T>>>8&255,t.pending_buf[t.pending++]=255&T}function P(t,T){var C,c,l=t.max_chain_length,w=t.strstart,D=t.prev_length,U=t.nice_match,N=t.strstart>t.w_size-Y?t.strstart-(t.w_size-Y):0,V=t.window,$=t.w_mask,G=t.prev,q=t.strstart+H,st=V[w+D-1],it=V[w+D];t.prev_length>=t.good_match&&(l>>=2),U>t.lookahead&&(U=t.lookahead);do if(V[(C=T)+D]===it&&V[C+D-1]===st&&V[C]===V[w]&&V[++C]===V[w+1]){w+=2,C++;do;while(V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&V[++w]===V[++C]&&w<q);if(c=H-(q-w),w=q-H,D<c){if(t.match_start=T,U<=(D=c))break;st=V[w+D-1],it=V[w+D]}}while((T=G[T&$])>N&&--l!=0);return D<=t.lookahead?D:t.lookahead}function rt(t){var T,C,c,l,w,D,U,N,V,$,G=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=G+(G-Y)){for(i.arraySet(t.window,t.window,G,G,0),t.match_start-=G,t.strstart-=G,t.block_start-=G,T=C=t.hash_size;c=t.head[--T],t.head[T]=G<=c?c-G:0,--C;);for(T=C=G;c=t.prev[--T],t.prev[T]=G<=c?c-G:0,--C;);l+=G}if(t.strm.avail_in===0)break;if(D=t.strm,U=t.window,N=t.strstart+t.lookahead,V=l,$=void 0,$=D.avail_in,V<$&&($=V),C=$===0?0:(D.avail_in-=$,i.arraySet(U,D.input,D.next_in,$,N),D.state.wrap===1?D.adler=d(D.adler,U,$,N):D.state.wrap===2&&(D.adler=x(D.adler,U,$,N)),D.next_in+=$,D.total_in+=$,$),t.lookahead+=C,t.lookahead+t.insert>=I)for(w=t.strstart-t.insert,t.ins_h=t.window[w],t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+I-1])&t.hash_mask,t.prev[w&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=w,w++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<Y&&t.strm.avail_in!==0)}function ot(t,T){for(var C,c;;){if(t.lookahead<Y){if(rt(t),t.lookahead<Y&&T===m)return e;if(t.lookahead===0)break}if(C=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),C!==0&&t.strstart-C<=t.w_size-Y&&(t.match_length=P(t,C)),t.match_length>=I)if(c=n._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else c=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(c&&(j(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<I-1?t.strstart:I-1,T===_?(j(t,!0),t.strm.avail_out===0?J:Z):t.last_lit&&(j(t,!1),t.strm.avail_out===0)?e:A}function et(t,T){for(var C,c,l;;){if(t.lookahead<Y){if(rt(t),t.lookahead<Y&&T===m)return e;if(t.lookahead===0)break}if(C=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,C!==0&&t.prev_length<t.max_lazy_match&&t.strstart-C<=t.w_size-Y&&(t.match_length=P(t,C),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(l=t.strstart+t.lookahead-I,c=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=l&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,c&&(j(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((c=n._tr_tally(t,0,t.window[t.strstart-1]))&&j(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(c=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,T===_?(j(t,!0),t.strm.avail_out===0?J:Z):t.last_lit&&(j(t,!1),t.strm.avail_out===0)?e:A}function nt(t,T,C,c,l){this.good_length=t,this.max_lazy=T,this.nice_length=C,this.max_chain=c,this.func=l}function dt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=f,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*O),this.dyn_dtree=new i.Buf16(2*(2*S+1)),this.bl_tree=new i.Buf16(2*(2*F+1)),Q(this.dyn_ltree),Q(this.dyn_dtree),Q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(M+1),this.heap=new i.Buf16(2*z+1),Q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*z+1),Q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function lt(t){var T;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(T=t.state).pending=0,T.pending_out=0,T.wrap<0&&(T.wrap=-T.wrap),T.status=T.wrap?b:R,t.adler=T.wrap===2?0:1,T.last_flush=m,n._tr_init(T),s):tt(t,u)}function ft(t){var T=lt(t);return T===s&&(function(C){C.window_size=2*C.w_size,Q(C.head),C.max_lazy_match=o[C.level].max_lazy,C.good_match=o[C.level].good_length,C.nice_match=o[C.level].nice_length,C.max_chain_length=o[C.level].max_chain,C.strstart=0,C.block_start=0,C.lookahead=0,C.insert=0,C.match_length=C.prev_length=I-1,C.match_available=0,C.ins_h=0})(t.state),T}function ut(t,T,C,c,l,w){if(!t)return u;var D=1;if(T===r&&(T=6),c<0?(D=0,c=-c):15<c&&(D=2,c-=16),l<1||k<l||C!==f||c<8||15<c||T<0||9<T||w<0||h<w)return tt(t,u);c===8&&(c=9);var U=new dt;return(t.state=U).strm=t,U.wrap=D,U.gzhead=null,U.w_bits=c,U.w_size=1<<U.w_bits,U.w_mask=U.w_size-1,U.hash_bits=l+7,U.hash_size=1<<U.hash_bits,U.hash_mask=U.hash_size-1,U.hash_shift=~~((U.hash_bits+I-1)/I),U.window=new i.Buf8(2*U.w_size),U.head=new i.Buf16(U.hash_size),U.prev=new i.Buf16(U.w_size),U.lit_bufsize=1<<l+6,U.pending_buf_size=4*U.lit_bufsize,U.pending_buf=new i.Buf8(U.pending_buf_size),U.d_buf=1*U.lit_bufsize,U.l_buf=3*U.lit_bufsize,U.level=T,U.strategy=w,U.method=C,ft(t)}o=[new nt(0,0,0,0,function(t,T){var C=65535;for(C>t.pending_buf_size-5&&(C=t.pending_buf_size-5);;){if(t.lookahead<=1){if(rt(t),t.lookahead===0&&T===m)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var c=t.block_start+C;if((t.strstart===0||t.strstart>=c)&&(t.lookahead=t.strstart-c,t.strstart=c,j(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-Y&&(j(t,!1),t.strm.avail_out===0))return e}return t.insert=0,T===_?(j(t,!0),t.strm.avail_out===0?J:Z):(t.strstart>t.block_start&&(j(t,!1),t.strm.avail_out),e)}),new nt(4,4,8,4,ot),new nt(4,5,16,8,ot),new nt(4,6,32,32,ot),new nt(4,4,16,16,et),new nt(8,16,32,32,et),new nt(8,16,128,128,et),new nt(8,32,128,256,et),new nt(32,128,258,1024,et),new nt(32,258,258,4096,et)],v.deflateInit=function(t,T){return ut(t,T,f,15,8,0)},v.deflateInit2=ut,v.deflateReset=ft,v.deflateResetKeep=lt,v.deflateSetHeader=function(t,T){return t&&t.state?t.state.wrap!==2?u:(t.state.gzhead=T,s):u},v.deflate=function(t,T){var C,c,l,w;if(!t||!t.state||5<T||T<0)return t?tt(t,u):u;if(c=t.state,!t.output||!t.input&&t.avail_in!==0||c.status===666&&T!==_)return tt(t,t.avail_out===0?-5:u);if(c.strm=t,C=c.last_flush,c.last_flush=T,c.status===b)if(c.wrap===2)t.adler=0,K(c,31),K(c,139),K(c,8),c.gzhead?(K(c,(c.gzhead.text?1:0)+(c.gzhead.hcrc?2:0)+(c.gzhead.extra?4:0)+(c.gzhead.name?8:0)+(c.gzhead.comment?16:0)),K(c,255&c.gzhead.time),K(c,c.gzhead.time>>8&255),K(c,c.gzhead.time>>16&255),K(c,c.gzhead.time>>24&255),K(c,c.level===9?2:2<=c.strategy||c.level<2?4:0),K(c,255&c.gzhead.os),c.gzhead.extra&&c.gzhead.extra.length&&(K(c,255&c.gzhead.extra.length),K(c,c.gzhead.extra.length>>8&255)),c.gzhead.hcrc&&(t.adler=x(t.adler,c.pending_buf,c.pending,0)),c.gzindex=0,c.status=69):(K(c,0),K(c,0),K(c,0),K(c,0),K(c,0),K(c,c.level===9?2:2<=c.strategy||c.level<2?4:0),K(c,3),c.status=R);else{var D=f+(c.w_bits-8<<4)<<8;D|=(2<=c.strategy||c.level<2?0:c.level<6?1:c.level===6?2:3)<<6,c.strstart!==0&&(D|=32),D+=31-D%31,c.status=R,L(c,D),c.strstart!==0&&(L(c,t.adler>>>16),L(c,65535&t.adler)),t.adler=1}if(c.status===69)if(c.gzhead.extra){for(l=c.pending;c.gzindex<(65535&c.gzhead.extra.length)&&(c.pending!==c.pending_buf_size||(c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),E(t),l=c.pending,c.pending!==c.pending_buf_size));)K(c,255&c.gzhead.extra[c.gzindex]),c.gzindex++;c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),c.gzindex===c.gzhead.extra.length&&(c.gzindex=0,c.status=73)}else c.status=73;if(c.status===73)if(c.gzhead.name){l=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),E(t),l=c.pending,c.pending===c.pending_buf_size)){w=1;break}w=c.gzindex<c.gzhead.name.length?255&c.gzhead.name.charCodeAt(c.gzindex++):0,K(c,w)}while(w!==0);c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),w===0&&(c.gzindex=0,c.status=91)}else c.status=91;if(c.status===91)if(c.gzhead.comment){l=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),E(t),l=c.pending,c.pending===c.pending_buf_size)){w=1;break}w=c.gzindex<c.gzhead.comment.length?255&c.gzhead.comment.charCodeAt(c.gzindex++):0,K(c,w)}while(w!==0);c.gzhead.hcrc&&c.pending>l&&(t.adler=x(t.adler,c.pending_buf,c.pending-l,l)),w===0&&(c.status=103)}else c.status=103;if(c.status===103&&(c.gzhead.hcrc?(c.pending+2>c.pending_buf_size&&E(t),c.pending+2<=c.pending_buf_size&&(K(c,255&t.adler),K(c,t.adler>>8&255),t.adler=0,c.status=R)):c.status=R),c.pending!==0){if(E(t),t.avail_out===0)return c.last_flush=-1,s}else if(t.avail_in===0&&W(T)<=W(C)&&T!==_)return tt(t,-5);if(c.status===666&&t.avail_in!==0)return tt(t,-5);if(t.avail_in!==0||c.lookahead!==0||T!==m&&c.status!==666){var U=c.strategy===2?(function(N,V){for(var $;;){if(N.lookahead===0&&(rt(N),N.lookahead===0)){if(V===m)return e;break}if(N.match_length=0,$=n._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++,$&&(j(N,!1),N.strm.avail_out===0))return e}return N.insert=0,V===_?(j(N,!0),N.strm.avail_out===0?J:Z):N.last_lit&&(j(N,!1),N.strm.avail_out===0)?e:A})(c,T):c.strategy===3?(function(N,V){for(var $,G,q,st,it=N.window;;){if(N.lookahead<=H){if(rt(N),N.lookahead<=H&&V===m)return e;if(N.lookahead===0)break}if(N.match_length=0,N.lookahead>=I&&0<N.strstart&&(G=it[q=N.strstart-1])===it[++q]&&G===it[++q]&&G===it[++q]){st=N.strstart+H;do;while(G===it[++q]&&G===it[++q]&&G===it[++q]&&G===it[++q]&&G===it[++q]&&G===it[++q]&&G===it[++q]&&G===it[++q]&&q<st);N.match_length=H-(st-q),N.match_length>N.lookahead&&(N.match_length=N.lookahead)}if(N.match_length>=I?($=n._tr_tally(N,1,N.match_length-I),N.lookahead-=N.match_length,N.strstart+=N.match_length,N.match_length=0):($=n._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++),$&&(j(N,!1),N.strm.avail_out===0))return e}return N.insert=0,V===_?(j(N,!0),N.strm.avail_out===0?J:Z):N.last_lit&&(j(N,!1),N.strm.avail_out===0)?e:A})(c,T):o[c.level].func(c,T);if(U!==J&&U!==Z||(c.status=666),U===e||U===J)return t.avail_out===0&&(c.last_flush=-1),s;if(U===A&&(T===1?n._tr_align(c):T!==5&&(n._tr_stored_block(c,0,0,!1),T===3&&(Q(c.head),c.lookahead===0&&(c.strstart=0,c.block_start=0,c.insert=0))),E(t),t.avail_out===0))return c.last_flush=-1,s}return T!==_?s:c.wrap<=0?1:(c.wrap===2?(K(c,255&t.adler),K(c,t.adler>>8&255),K(c,t.adler>>16&255),K(c,t.adler>>24&255),K(c,255&t.total_in),K(c,t.total_in>>8&255),K(c,t.total_in>>16&255),K(c,t.total_in>>24&255)):(L(c,t.adler>>>16),L(c,65535&t.adler)),E(t),0<c.wrap&&(c.wrap=-c.wrap),c.pending!==0?s:1)},v.deflateEnd=function(t){var T;return t&&t.state?(T=t.state.status)!==b&&T!==69&&T!==73&&T!==91&&T!==103&&T!==R&&T!==666?tt(t,u):(t.state=null,T===R?tt(t,-3):s):u},v.deflateSetDictionary=function(t,T){var C,c,l,w,D,U,N,V,$=T.length;if(!t||!t.state||(w=(C=t.state).wrap)===2||w===1&&C.status!==b||C.lookahead)return u;for(w===1&&(t.adler=d(t.adler,T,$,0)),C.wrap=0,$>=C.w_size&&(w===0&&(Q(C.head),C.strstart=0,C.block_start=0,C.insert=0),V=new i.Buf8(C.w_size),i.arraySet(V,T,$-C.w_size,C.w_size,0),T=V,$=C.w_size),D=t.avail_in,U=t.next_in,N=t.input,t.avail_in=$,t.next_in=0,t.input=T,rt(C);C.lookahead>=I;){for(c=C.strstart,l=C.lookahead-(I-1);C.ins_h=(C.ins_h<<C.hash_shift^C.window[c+I-1])&C.hash_mask,C.prev[c&C.w_mask]=C.head[C.ins_h],C.head[C.ins_h]=c,c++,--l;);C.strstart=c,C.lookahead=I-1,rt(C)}return C.strstart+=C.lookahead,C.block_start=C.strstart,C.insert=C.lookahead,C.lookahead=0,C.match_length=C.prev_length=I-1,C.match_available=0,t.next_in=U,t.input=N,t.avail_in=D,C.wrap=w,s},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(p,B,v){B.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(p,B,v){B.exports=function(o,i){var n,d,x,g,m,_,s,u,r,h,a,f,k,z,S,F,O,M,I,H,Y,b,R,e,A;n=o.state,d=o.next_in,e=o.input,x=d+(o.avail_in-5),g=o.next_out,A=o.output,m=g-(i-o.avail_out),_=g+(o.avail_out-257),s=n.dmax,u=n.wsize,r=n.whave,h=n.wnext,a=n.window,f=n.hold,k=n.bits,z=n.lencode,S=n.distcode,F=(1<<n.lenbits)-1,O=(1<<n.distbits)-1;t:do{k<15&&(f+=e[d++]<<k,k+=8,f+=e[d++]<<k,k+=8),M=z[f&F];e:for(;;){if(f>>>=I=M>>>24,k-=I,(I=M>>>16&255)===0)A[g++]=65535&M;else{if(!(16&I)){if((64&I)==0){M=z[(65535&M)+(f&(1<<I)-1)];continue e}if(32&I){n.mode=12;break t}o.msg="invalid literal/length code",n.mode=30;break t}H=65535&M,(I&=15)&&(k<I&&(f+=e[d++]<<k,k+=8),H+=f&(1<<I)-1,f>>>=I,k-=I),k<15&&(f+=e[d++]<<k,k+=8,f+=e[d++]<<k,k+=8),M=S[f&O];r:for(;;){if(f>>>=I=M>>>24,k-=I,!(16&(I=M>>>16&255))){if((64&I)==0){M=S[(65535&M)+(f&(1<<I)-1)];continue r}o.msg="invalid distance code",n.mode=30;break t}if(Y=65535&M,k<(I&=15)&&(f+=e[d++]<<k,(k+=8)<I&&(f+=e[d++]<<k,k+=8)),s<(Y+=f&(1<<I)-1)){o.msg="invalid distance too far back",n.mode=30;break t}if(f>>>=I,k-=I,(I=g-m)<Y){if(r<(I=Y-I)&&n.sane){o.msg="invalid distance too far back",n.mode=30;break t}if(R=a,(b=0)===h){if(b+=u-I,I<H){for(H-=I;A[g++]=a[b++],--I;);b=g-Y,R=A}}else if(h<I){if(b+=u+h-I,(I-=h)<H){for(H-=I;A[g++]=a[b++],--I;);if(b=0,h<H){for(H-=I=h;A[g++]=a[b++],--I;);b=g-Y,R=A}}}else if(b+=h-I,I<H){for(H-=I;A[g++]=a[b++],--I;);b=g-Y,R=A}for(;2<H;)A[g++]=R[b++],A[g++]=R[b++],A[g++]=R[b++],H-=3;H&&(A[g++]=R[b++],1<H&&(A[g++]=R[b++]))}else{for(b=g-Y;A[g++]=A[b++],A[g++]=A[b++],A[g++]=A[b++],2<(H-=3););H&&(A[g++]=A[b++],1<H&&(A[g++]=A[b++]))}break}}break}}while(d<x&&g<_);d-=H=k>>3,f&=(1<<(k-=H<<3))-1,o.next_in=d,o.next_out=g,o.avail_in=d<x?x-d+5:5-(d-x),o.avail_out=g<_?_-g+257:257-(g-_),n.hold=f,n.bits=k}},{}],49:[function(p,B,v){var o=p("../utils/common"),i=p("./adler32"),n=p("./crc32"),d=p("./inffast"),x=p("./inftrees"),g=1,m=2,_=0,s=-2,u=1,r=852,h=592;function a(b){return(b>>>24&255)+(b>>>8&65280)+((65280&b)<<8)+((255&b)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(b){var R;return b&&b.state?(R=b.state,b.total_in=b.total_out=R.total=0,b.msg="",R.wrap&&(b.adler=1&R.wrap),R.mode=u,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new o.Buf32(r),R.distcode=R.distdyn=new o.Buf32(h),R.sane=1,R.back=-1,_):s}function z(b){var R;return b&&b.state?((R=b.state).wsize=0,R.whave=0,R.wnext=0,k(b)):s}function S(b,R){var e,A;return b&&b.state?(A=b.state,R<0?(e=0,R=-R):(e=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15<R)?s:(A.window!==null&&A.wbits!==R&&(A.window=null),A.wrap=e,A.wbits=R,z(b))):s}function F(b,R){var e,A;return b?(A=new f,(b.state=A).window=null,(e=S(b,R))!==_&&(b.state=null),e):s}var O,M,I=!0;function H(b){if(I){var R;for(O=new o.Buf32(512),M=new o.Buf32(32),R=0;R<144;)b.lens[R++]=8;for(;R<256;)b.lens[R++]=9;for(;R<280;)b.lens[R++]=7;for(;R<288;)b.lens[R++]=8;for(x(g,b.lens,0,288,O,0,b.work,{bits:9}),R=0;R<32;)b.lens[R++]=5;x(m,b.lens,0,32,M,0,b.work,{bits:5}),I=!1}b.lencode=O,b.lenbits=9,b.distcode=M,b.distbits=5}function Y(b,R,e,A){var J,Z=b.state;return Z.window===null&&(Z.wsize=1<<Z.wbits,Z.wnext=0,Z.whave=0,Z.window=new o.Buf8(Z.wsize)),A>=Z.wsize?(o.arraySet(Z.window,R,e-Z.wsize,Z.wsize,0),Z.wnext=0,Z.whave=Z.wsize):(A<(J=Z.wsize-Z.wnext)&&(J=A),o.arraySet(Z.window,R,e-A,J,Z.wnext),(A-=J)?(o.arraySet(Z.window,R,e-A,A,0),Z.wnext=A,Z.whave=Z.wsize):(Z.wnext+=J,Z.wnext===Z.wsize&&(Z.wnext=0),Z.whave<Z.wsize&&(Z.whave+=J))),0}v.inflateReset=z,v.inflateReset2=S,v.inflateResetKeep=k,v.inflateInit=function(b){return F(b,15)},v.inflateInit2=F,v.inflate=function(b,R){var e,A,J,Z,tt,W,Q,E,j,K,L,P,rt,ot,et,nt,dt,lt,ft,ut,t,T,C,c,l=0,w=new o.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!b||!b.state||!b.output||!b.input&&b.avail_in!==0)return s;(e=b.state).mode===12&&(e.mode=13),tt=b.next_out,J=b.output,Q=b.avail_out,Z=b.next_in,A=b.input,W=b.avail_in,E=e.hold,j=e.bits,K=W,L=Q,T=_;t:for(;;)switch(e.mode){case u:if(e.wrap===0){e.mode=13;break}for(;j<16;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(2&e.wrap&&E===35615){w[e.check=0]=255&E,w[1]=E>>>8&255,e.check=n(e.check,w,2,0),j=E=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&E)<<8)+(E>>8))%31){b.msg="incorrect header check",e.mode=30;break}if((15&E)!=8){b.msg="unknown compression method",e.mode=30;break}if(j-=4,t=8+(15&(E>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){b.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,b.adler=e.check=1,e.mode=512&E?10:12,j=E=0;break;case 2:for(;j<16;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(e.flags=E,(255&e.flags)!=8){b.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){b.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=E>>8&1),512&e.flags&&(w[0]=255&E,w[1]=E>>>8&255,e.check=n(e.check,w,2,0)),j=E=0,e.mode=3;case 3:for(;j<32;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.head&&(e.head.time=E),512&e.flags&&(w[0]=255&E,w[1]=E>>>8&255,w[2]=E>>>16&255,w[3]=E>>>24&255,e.check=n(e.check,w,4,0)),j=E=0,e.mode=4;case 4:for(;j<16;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.head&&(e.head.xflags=255&E,e.head.os=E>>8),512&e.flags&&(w[0]=255&E,w[1]=E>>>8&255,e.check=n(e.check,w,2,0)),j=E=0,e.mode=5;case 5:if(1024&e.flags){for(;j<16;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.length=E,e.head&&(e.head.extra_len=E),512&e.flags&&(w[0]=255&E,w[1]=E>>>8&255,e.check=n(e.check,w,2,0)),j=E=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(W<(P=e.length)&&(P=W),P&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),o.arraySet(e.head.extra,A,Z,P,t)),512&e.flags&&(e.check=n(e.check,A,P,Z)),W-=P,Z+=P,e.length-=P),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(W===0)break t;for(P=0;t=A[Z+P++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&P<W;);if(512&e.flags&&(e.check=n(e.check,A,P,Z)),W-=P,Z+=P,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(W===0)break t;for(P=0;t=A[Z+P++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&P<W;);if(512&e.flags&&(e.check=n(e.check,A,P,Z)),W-=P,Z+=P,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;j<16;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(E!==(65535&e.check)){b.msg="header crc mismatch",e.mode=30;break}j=E=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),b.adler=e.check=0,e.mode=12;break;case 10:for(;j<32;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}b.adler=e.check=a(E),j=E=0,e.mode=11;case 11:if(e.havedict===0)return b.next_out=tt,b.avail_out=Q,b.next_in=Z,b.avail_in=W,e.hold=E,e.bits=j,2;b.adler=e.check=1,e.mode=12;case 12:if(R===5||R===6)break t;case 13:if(e.last){E>>>=7&j,j-=7&j,e.mode=27;break}for(;j<3;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}switch(e.last=1&E,j-=1,3&(E>>>=1)){case 0:e.mode=14;break;case 1:if(H(e),e.mode=20,R!==6)break;E>>>=2,j-=2;break t;case 2:e.mode=17;break;case 3:b.msg="invalid block type",e.mode=30}E>>>=2,j-=2;break;case 14:for(E>>>=7&j,j-=7&j;j<32;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if((65535&E)!=(E>>>16^65535)){b.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&E,j=E=0,e.mode=15,R===6)break t;case 15:e.mode=16;case 16:if(P=e.length){if(W<P&&(P=W),Q<P&&(P=Q),P===0)break t;o.arraySet(J,A,Z,P,tt),W-=P,Z+=P,Q-=P,tt+=P,e.length-=P;break}e.mode=12;break;case 17:for(;j<14;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(e.nlen=257+(31&E),E>>>=5,j-=5,e.ndist=1+(31&E),E>>>=5,j-=5,e.ncode=4+(15&E),E>>>=4,j-=4,286<e.nlen||30<e.ndist){b.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;j<3;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.lens[D[e.have++]]=7&E,E>>>=3,j-=3}for(;e.have<19;)e.lens[D[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,C={bits:e.lenbits},T=x(0,e.lens,0,19,e.lencode,0,e.work,C),e.lenbits=C.bits,T){b.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;nt=(l=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,dt=65535&l,!((et=l>>>24)<=j);){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(dt<16)E>>>=et,j-=et,e.lens[e.have++]=dt;else{if(dt===16){for(c=et+2;j<c;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(E>>>=et,j-=et,e.have===0){b.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],P=3+(3&E),E>>>=2,j-=2}else if(dt===17){for(c=et+3;j<c;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}j-=et,t=0,P=3+(7&(E>>>=et)),E>>>=3,j-=3}else{for(c=et+7;j<c;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}j-=et,t=0,P=11+(127&(E>>>=et)),E>>>=7,j-=7}if(e.have+P>e.nlen+e.ndist){b.msg="invalid bit length repeat",e.mode=30;break}for(;P--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){b.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,C={bits:e.lenbits},T=x(g,e.lens,0,e.nlen,e.lencode,0,e.work,C),e.lenbits=C.bits,T){b.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,C={bits:e.distbits},T=x(m,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,C),e.distbits=C.bits,T){b.msg="invalid distances set",e.mode=30;break}if(e.mode=20,R===6)break t;case 20:e.mode=21;case 21:if(6<=W&&258<=Q){b.next_out=tt,b.avail_out=Q,b.next_in=Z,b.avail_in=W,e.hold=E,e.bits=j,d(b,L),tt=b.next_out,J=b.output,Q=b.avail_out,Z=b.next_in,A=b.input,W=b.avail_in,E=e.hold,j=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;nt=(l=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,dt=65535&l,!((et=l>>>24)<=j);){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(nt&&(240&nt)==0){for(lt=et,ft=nt,ut=dt;nt=(l=e.lencode[ut+((E&(1<<lt+ft)-1)>>lt)])>>>16&255,dt=65535&l,!(lt+(et=l>>>24)<=j);){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}E>>>=lt,j-=lt,e.back+=lt}if(E>>>=et,j-=et,e.back+=et,e.length=dt,nt===0){e.mode=26;break}if(32&nt){e.back=-1,e.mode=12;break}if(64&nt){b.msg="invalid literal/length code",e.mode=30;break}e.extra=15&nt,e.mode=22;case 22:if(e.extra){for(c=e.extra;j<c;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.length+=E&(1<<e.extra)-1,E>>>=e.extra,j-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;nt=(l=e.distcode[E&(1<<e.distbits)-1])>>>16&255,dt=65535&l,!((et=l>>>24)<=j);){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if((240&nt)==0){for(lt=et,ft=nt,ut=dt;nt=(l=e.distcode[ut+((E&(1<<lt+ft)-1)>>lt)])>>>16&255,dt=65535&l,!(lt+(et=l>>>24)<=j);){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}E>>>=lt,j-=lt,e.back+=lt}if(E>>>=et,j-=et,e.back+=et,64&nt){b.msg="invalid distance code",e.mode=30;break}e.offset=dt,e.extra=15&nt,e.mode=24;case 24:if(e.extra){for(c=e.extra;j<c;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}e.offset+=E&(1<<e.extra)-1,E>>>=e.extra,j-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){b.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(Q===0)break t;if(P=L-Q,e.offset>P){if((P=e.offset-P)>e.whave&&e.sane){b.msg="invalid distance too far back",e.mode=30;break}rt=P>e.wnext?(P-=e.wnext,e.wsize-P):e.wnext-P,P>e.length&&(P=e.length),ot=e.window}else ot=J,rt=tt-e.offset,P=e.length;for(Q<P&&(P=Q),Q-=P,e.length-=P;J[tt++]=ot[rt++],--P;);e.length===0&&(e.mode=21);break;case 26:if(Q===0)break t;J[tt++]=e.length,Q--,e.mode=21;break;case 27:if(e.wrap){for(;j<32;){if(W===0)break t;W--,E|=A[Z++]<<j,j+=8}if(L-=Q,b.total_out+=L,e.total+=L,L&&(b.adler=e.check=e.flags?n(e.check,J,L,tt-L):i(e.check,J,L,tt-L)),L=Q,(e.flags?E:a(E))!==e.check){b.msg="incorrect data check",e.mode=30;break}j=E=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;j<32;){if(W===0)break t;W--,E+=A[Z++]<<j,j+=8}if(E!==(4294967295&e.total)){b.msg="incorrect length check",e.mode=30;break}j=E=0}e.mode=29;case 29:T=1;break t;case 30:T=-3;break t;case 31:return-4;case 32:default:return s}return b.next_out=tt,b.avail_out=Q,b.next_in=Z,b.avail_in=W,e.hold=E,e.bits=j,(e.wsize||L!==b.avail_out&&e.mode<30&&(e.mode<27||R!==4))&&Y(b,b.output,b.next_out,L-b.avail_out)?(e.mode=31,-4):(K-=b.avail_in,L-=b.avail_out,b.total_in+=K,b.total_out+=L,e.total+=L,e.wrap&&L&&(b.adler=e.check=e.flags?n(e.check,J,L,b.next_out-L):i(e.check,J,L,b.next_out-L)),b.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(K==0&&L===0||R===4)&&T===_&&(T=-5),T)},v.inflateEnd=function(b){if(!b||!b.state)return s;var R=b.state;return R.window&&(R.window=null),b.state=null,_},v.inflateGetHeader=function(b,R){var e;return b&&b.state?(2&(e=b.state).wrap)==0?s:((e.head=R).done=!1,_):s},v.inflateSetDictionary=function(b,R){var e,A=R.length;return b&&b.state?(e=b.state).wrap!==0&&e.mode!==11?s:e.mode===11&&i(1,R,A,0)!==e.check?-3:Y(b,R,A,A)?(e.mode=31,-4):(e.havedict=1,_):s},v.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(p,B,v){var o=p("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],x=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];B.exports=function(g,m,_,s,u,r,h,a){var f,k,z,S,F,O,M,I,H,Y=a.bits,b=0,R=0,e=0,A=0,J=0,Z=0,tt=0,W=0,Q=0,E=0,j=null,K=0,L=new o.Buf16(16),P=new o.Buf16(16),rt=null,ot=0;for(b=0;b<=15;b++)L[b]=0;for(R=0;R<s;R++)L[m[_+R]]++;for(J=Y,A=15;1<=A&&L[A]===0;A--);if(A<J&&(J=A),A===0)return u[r++]=20971520,u[r++]=20971520,a.bits=1,0;for(e=1;e<A&&L[e]===0;e++);for(J<e&&(J=e),b=W=1;b<=15;b++)if(W<<=1,(W-=L[b])<0)return-1;if(0<W&&(g===0||A!==1))return-1;for(P[1]=0,b=1;b<15;b++)P[b+1]=P[b]+L[b];for(R=0;R<s;R++)m[_+R]!==0&&(h[P[m[_+R]]++]=R);if(O=g===0?(j=rt=h,19):g===1?(j=i,K-=257,rt=n,ot-=257,256):(j=d,rt=x,-1),b=e,F=r,tt=R=E=0,z=-1,S=(Q=1<<(Z=J))-1,g===1&&852<Q||g===2&&592<Q)return 1;for(;;){for(M=b-tt,H=h[R]<O?(I=0,h[R]):h[R]>O?(I=rt[ot+h[R]],j[K+h[R]]):(I=96,0),f=1<<b-tt,e=k=1<<Z;u[F+(E>>tt)+(k-=f)]=M<<24|I<<16|H|0,k!==0;);for(f=1<<b-1;E&f;)f>>=1;if(f!==0?(E&=f-1,E+=f):E=0,R++,--L[b]==0){if(b===A)break;b=m[_+h[R]]}if(J<b&&(E&S)!==z){for(tt===0&&(tt=J),F+=e,W=1<<(Z=b-tt);Z+tt<A&&!((W-=L[Z+tt])<=0);)Z++,W<<=1;if(Q+=1<<Z,g===1&&852<Q||g===2&&592<Q)return 1;u[z=E&S]=J<<24|Z<<16|F-r|0}}return E!==0&&(u[F+E]=b-tt<<24|64<<16|0),a.bits=J,0}},{"../utils/common":41}],51:[function(p,B,v){B.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(p,B,v){var o=p("../utils/common"),i=0,n=1;function d(l){for(var w=l.length;0<=--w;)l[w]=0}var x=0,g=29,m=256,_=m+1+g,s=30,u=19,r=2*_+1,h=15,a=16,f=7,k=256,z=16,S=17,F=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],M=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Y=new Array(2*(_+2));d(Y);var b=new Array(2*s);d(b);var R=new Array(512);d(R);var e=new Array(256);d(e);var A=new Array(g);d(A);var J,Z,tt,W=new Array(s);function Q(l,w,D,U,N){this.static_tree=l,this.extra_bits=w,this.extra_base=D,this.elems=U,this.max_length=N,this.has_stree=l&&l.length}function E(l,w){this.dyn_tree=l,this.max_code=0,this.stat_desc=w}function j(l){return l<256?R[l]:R[256+(l>>>7)]}function K(l,w){l.pending_buf[l.pending++]=255&w,l.pending_buf[l.pending++]=w>>>8&255}function L(l,w,D){l.bi_valid>a-D?(l.bi_buf|=w<<l.bi_valid&65535,K(l,l.bi_buf),l.bi_buf=w>>a-l.bi_valid,l.bi_valid+=D-a):(l.bi_buf|=w<<l.bi_valid&65535,l.bi_valid+=D)}function P(l,w,D){L(l,D[2*w],D[2*w+1])}function rt(l,w){for(var D=0;D|=1&l,l>>>=1,D<<=1,0<--w;);return D>>>1}function ot(l,w,D){var U,N,V=new Array(h+1),$=0;for(U=1;U<=h;U++)V[U]=$=$+D[U-1]<<1;for(N=0;N<=w;N++){var G=l[2*N+1];G!==0&&(l[2*N]=rt(V[G]++,G))}}function et(l){var w;for(w=0;w<_;w++)l.dyn_ltree[2*w]=0;for(w=0;w<s;w++)l.dyn_dtree[2*w]=0;for(w=0;w<u;w++)l.bl_tree[2*w]=0;l.dyn_ltree[2*k]=1,l.opt_len=l.static_len=0,l.last_lit=l.matches=0}function nt(l){8<l.bi_valid?K(l,l.bi_buf):0<l.bi_valid&&(l.pending_buf[l.pending++]=l.bi_buf),l.bi_buf=0,l.bi_valid=0}function dt(l,w,D,U){var N=2*w,V=2*D;return l[N]<l[V]||l[N]===l[V]&&U[w]<=U[D]}function lt(l,w,D){for(var U=l.heap[D],N=D<<1;N<=l.heap_len&&(N<l.heap_len&&dt(w,l.heap[N+1],l.heap[N],l.depth)&&N++,!dt(w,U,l.heap[N],l.depth));)l.heap[D]=l.heap[N],D=N,N<<=1;l.heap[D]=U}function ft(l,w,D){var U,N,V,$,G=0;if(l.last_lit!==0)for(;U=l.pending_buf[l.d_buf+2*G]<<8|l.pending_buf[l.d_buf+2*G+1],N=l.pending_buf[l.l_buf+G],G++,U===0?P(l,N,w):(P(l,(V=e[N])+m+1,w),($=O[V])!==0&&L(l,N-=A[V],$),P(l,V=j(--U),D),($=M[V])!==0&&L(l,U-=W[V],$)),G<l.last_lit;);P(l,k,w)}function ut(l,w){var D,U,N,V=w.dyn_tree,$=w.stat_desc.static_tree,G=w.stat_desc.has_stree,q=w.stat_desc.elems,st=-1;for(l.heap_len=0,l.heap_max=r,D=0;D<q;D++)V[2*D]!==0?(l.heap[++l.heap_len]=st=D,l.depth[D]=0):V[2*D+1]=0;for(;l.heap_len<2;)V[2*(N=l.heap[++l.heap_len]=st<2?++st:0)]=1,l.depth[N]=0,l.opt_len--,G&&(l.static_len-=$[2*N+1]);for(w.max_code=st,D=l.heap_len>>1;1<=D;D--)lt(l,V,D);for(N=q;D=l.heap[1],l.heap[1]=l.heap[l.heap_len--],lt(l,V,1),U=l.heap[1],l.heap[--l.heap_max]=D,l.heap[--l.heap_max]=U,V[2*N]=V[2*D]+V[2*U],l.depth[N]=(l.depth[D]>=l.depth[U]?l.depth[D]:l.depth[U])+1,V[2*D+1]=V[2*U+1]=N,l.heap[1]=N++,lt(l,V,1),2<=l.heap_len;);l.heap[--l.heap_max]=l.heap[1],(function(it,pt){var xt,mt,vt,ht,kt,Et,gt=pt.dyn_tree,It=pt.max_code,Vt=pt.stat_desc.static_tree,Gt=pt.stat_desc.has_stree,$t=pt.stat_desc.extra_bits,Bt=pt.stat_desc.extra_base,yt=pt.stat_desc.max_length,St=0;for(ht=0;ht<=h;ht++)it.bl_count[ht]=0;for(gt[2*it.heap[it.heap_max]+1]=0,xt=it.heap_max+1;xt<r;xt++)yt<(ht=gt[2*gt[2*(mt=it.heap[xt])+1]+1]+1)&&(ht=yt,St++),gt[2*mt+1]=ht,It<mt||(it.bl_count[ht]++,kt=0,Bt<=mt&&(kt=$t[mt-Bt]),Et=gt[2*mt],it.opt_len+=Et*(ht+kt),Gt&&(it.static_len+=Et*(Vt[2*mt+1]+kt)));if(St!==0){do{for(ht=yt-1;it.bl_count[ht]===0;)ht--;it.bl_count[ht]--,it.bl_count[ht+1]+=2,it.bl_count[yt]--,St-=2}while(0<St);for(ht=yt;ht!==0;ht--)for(mt=it.bl_count[ht];mt!==0;)It<(vt=it.heap[--xt])||(gt[2*vt+1]!==ht&&(it.opt_len+=(ht-gt[2*vt+1])*gt[2*vt],gt[2*vt+1]=ht),mt--)}})(l,w),ot(V,st,l.bl_count)}function t(l,w,D){var U,N,V=-1,$=w[1],G=0,q=7,st=4;for($===0&&(q=138,st=3),w[2*(D+1)+1]=65535,U=0;U<=D;U++)N=$,$=w[2*(U+1)+1],++G<q&&N===$||(G<st?l.bl_tree[2*N]+=G:N!==0?(N!==V&&l.bl_tree[2*N]++,l.bl_tree[2*z]++):G<=10?l.bl_tree[2*S]++:l.bl_tree[2*F]++,V=N,st=(G=0)===$?(q=138,3):N===$?(q=6,3):(q=7,4))}function T(l,w,D){var U,N,V=-1,$=w[1],G=0,q=7,st=4;for($===0&&(q=138,st=3),U=0;U<=D;U++)if(N=$,$=w[2*(U+1)+1],!(++G<q&&N===$)){if(G<st)for(;P(l,N,l.bl_tree),--G!=0;);else N!==0?(N!==V&&(P(l,N,l.bl_tree),G--),P(l,z,l.bl_tree),L(l,G-3,2)):G<=10?(P(l,S,l.bl_tree),L(l,G-3,3)):(P(l,F,l.bl_tree),L(l,G-11,7));V=N,st=(G=0)===$?(q=138,3):N===$?(q=6,3):(q=7,4)}}d(W);var C=!1;function c(l,w,D,U){L(l,(x<<1)+(U?1:0),3),(function(N,V,$,G){nt(N),K(N,$),K(N,~$),o.arraySet(N.pending_buf,N.window,V,$,N.pending),N.pe
42nding+=$})(l,w,D)}v._tr_init=function(l){C||((function(){var w,D,U,N,V,$=new Array(h+1);for(N=U=0;N<g-1;N++)for(A[N]=U,w=0;w<1<<O[N];w++)e[U++]=N;for(e[U-1]=N,N=V=0;N<16;N++)for(W[N]=V,w=0;w<1<<M[N];w++)R[V++]=N;for(V>>=7;N<s;N++)for(W[N]=V<<7,w=0;w<1<<M[N]-7;w++)R[256+V++]=N;for(D=0;D<=h;D++)$[D]=0;for(w=0;w<=143;)Y[2*w+1]=8,w++,$[8]++;for(;w<=255;)Y[2*w+1]=9,w++,$[9]++;for(;w<=279;)Y[2*w+1]=7,w++,$[7]++;for(;w<=287;)Y[2*w+1]=8,w++,$[8]++;for(ot(Y,_+1,$),w=0;w<s;w++)b[2*w+1]=5,b[2*w]=rt(w,5);J=new Q(Y,O,m+1,_,h),Z=new Q(b,M,0,s,h),tt=new Q(new Array(0),I,0,u,f)})(),C=!0),l.l_desc=new E(l.dyn_ltree,J),l.d_desc=new E(l.dyn_dtree,Z),l.bl_desc=new E(l.bl_tree,tt),l.bi_buf=0,l.bi_valid=0,et(l)},v._tr_stored_block=c,v._tr_flush_block=function(l,w,D,U){var N,V,$=0;0<l.level?(l.strm.data_type===2&&(l.strm.data_type=(function(G){var q,st=4093624447;for(q=0;q<=31;q++,st>>>=1)if(1&st&&G.dyn_ltree[2*q]!==0)return i;if(G.dyn_ltree[18]!==0||G.dyn_ltree[20]!==0||G.dyn_ltree[26]!==0)return n;for(q=32;q<m;q++)if(G.dyn_ltree[2*q]!==0)return n;return i})(l)),ut(l,l.l_desc),ut(l,l.d_desc),$=(function(G){var q;for(t(G,G.dyn_ltree,G.l_desc.max_code),t(G,G.dyn_dtree,G.d_desc.max_code),ut(G,G.bl_desc),q=u-1;3<=q&&G.bl_tree[2*H[q]+1]===0;q--);return G.opt_len+=3*(q+1)+5+5+4,q})(l),N=l.opt_len+3+7>>>3,(V=l.static_len+3+7>>>3)<=N&&(N=V)):N=V=D+5,D+4<=N&&w!==-1?c(l,w,D,U):l.strategy===4||V===N?(L(l,2+(U?1:0),3),ft(l,Y,b)):(L(l,4+(U?1:0),3),(function(G,q,st,it){var pt;for(L(G,q-257,5),L(G,st-1,5),L(G,it-4,4),pt=0;pt<it;pt++)L(G,G.bl_tree[2*H[pt]+1],3);T(G,G.dyn_ltree,q-1),T(G,G.dyn_dtree,st-1)})(l,l.l_desc.max_code+1,l.d_desc.max_code+1,$+1),ft(l,l.dyn_ltree,l.dyn_dtree)),et(l),U&&nt(l)},v._tr_tally=function(l,w,D){return l.pending_buf[l.d_buf+2*l.last_lit]=w>>>8&255,l.pending_buf[l.d_buf+2*l.last_lit+1]=255&w,l.pending_buf[l.l_buf+l.last_lit]=255&D,l.last_lit++,w===0?l.dyn_ltree[2*D]++:(l.matches++,w--,l.dyn_ltree[2*(e[D]+m+1)]++,l.dyn_dtree[2*j(w)]++),l.last_lit===l.lit_bufsize-1},v._tr_align=function(l){L(l,2,3),P(l,k,Y),(function(w){w.bi_valid===16?(K(w,w.bi_buf),w.bi_buf=0,w.bi_valid=0):8<=w.bi_valid&&(w.pending_buf[w.pending++]=255&w.bi_buf,w.bi_buf>>=8,w.bi_valid-=8)})(l)}},{"../utils/common":41}],53:[function(p,B,v){B.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(p,B,v){(function(o){(function(i,n){if(!i.setImmediate){var d,x,g,m,_=1,s={},u=!1,r=i.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(i);h=h&&h.setTimeout?h:i,d={}.toString.call(i.process)==="[object process]"?function(z){process.nextTick(function(){f(z)})}:(function(){if(i.postMessage&&!i.importScripts){var z=!0,S=i.onmessage;return i.onmessage=function(){z=!1},i.postMessage("","*"),i.onmessage=S,z}})()?(m="setImmediate$"+Math.random()+"$",i.addEventListener?i.addEventListener("message",k,!1):i.attachEvent("onmessage",k),function(z){i.postMessage(m+z,"*")}):i.MessageChannel?((g=new MessageChannel).port1.onmessage=function(z){f(z.data)},function(z){g.port2.postMessage(z)}):r&&"onreadystatechange"in r.createElement("script")?(x=r.documentElement,function(z){var S=r.createElement("script");S.onreadystatechange=function(){f(z),S.onreadystatechange=null,x.removeChild(S),S=null},x.appendChild(S)}):function(z){setTimeout(f,0,z)},h.setImmediate=function(z){typeof z!="function"&&(z=new Function(""+z));for(var S=new Array(arguments.length-1),F=0;F<S.length;F++)S[F]=arguments[F+1];var O={callback:z,args:S};return s[_]=O,d(_),_++},h.clearImmediate=a}function a(z){delete s[z]}function f(z){if(u)setTimeout(f,0,z);else{var S=s[z];if(S){u=!0;try{(function(F){var O=F.callback,M=F.args;switch(M.length){case 0:O();break;case 1:O(M[0]);break;case 2:O(M[0],M[1]);break;case 3:O(M[0],M[1],M[2]);break;default:O.apply(n,M)}})(S)}finally{a(z),u=!1}}}}function k(z){z.source===i&&typeof z.data=="string"&&z.data.indexOf(m)===0&&f(+z.data.slice(m.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof zt<"u"?zt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Ct)),Ct.exports}var ye=ve();const we=Kt(ye),ke=()=>new Date().toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"});function Se(X,at,p){return new Promise((B,v)=>{const o=new XMLHttpRequest;o.open("POST",X),o.upload.onprogress=i=>{i.lengthComputable&&p(Math.round(i.loaded/i.total*100))},o.upload.onload=()=>p(100),o.onload=()=>o.status>=200&&o.status<300?B(o.responseText):v(new Error("http "+o.status)),o.onerror=()=>v(new Error("network")),o.ontimeout=()=>v(new Error("timeout")),o.send(at)})}const Pt={pdf:"Dokumente werden erstellt â¦",upload:"Dokumente werden übertragen â¦",process:"Wird verarbeitet â¦"},Ut=[{key:"sache",label:"in Sachen",type:"text",hint:'optional â z. B. âwegen des Vorwurfs des â¦"'},{key:"az",label:"Aktenzeichen",type:"text",hint:"optional â falls Ihnen eines vorliegt"}
42],ze="Diese Angaben kommen auf Ihre Vollmacht. Wenn Sie nicht sicher sind, was hier hineingehört, lassen Sie die Felder einfach frei â wir tragen âin Sachenâ und das Aktenzeichen dann für Sie korrekt ein. So vermeiden wir spätere Rückfragen und können sofort für Sie loslegen.",wt=[{kind:"section",section:bt[0],title:bt[0].title},{kind:"verfahren",title:"Ihr Verfahren"},{kind:"upload",title:"Weitere Dokumente"},{kind:"section",section:bt[1],title:bt[1].title},{kind:"section",section:bt[2],title:bt[2].title},{kind:"widerruf",title:"Widerrufsbelehrung"},{kind:"sign",title:"Unterschrift"}];function Te({linkData:X="",linkSignature:at="",linked:p=!1}){const{lang:B}=qt(),[v,o]=ct.useState(0),[i,n]=ct.useState({vorzeitig:!1}),[d,x]=ct.useState({state:p?"checking":"public",az:""}),[g,m]=ct.useState(""),[_,s]=ct.useState(""),[u,r]=ct.useState(!1),[h,a]=ct.useState("idle"),[f,k]=ct.useState("pdf"),[z,S]=ct.useState(0),[F,O]=ct.useState(""),[M,I]=ct.useState(null),[H,Y]=ct.useState([]),b=ct.useRef(null),R=ct.useRef(null),e=ke(),A=wt[v];ct.useEffect(()=>{if(!p){x({state:"public",az:""});return}if(!X||!at){x({state:"error",az:""});return}const L=new AbortController,P=new FormData;return P.append("d",X),P.append("s",at),x({state:"checking",az:""}),fetch("mandat-paket.php?check=1",{method:"POST",body:P,signal:L.signal}).then(async rt=>{const ot=await rt.json();if(!rt.ok||!ot.ok||!ot.az)throw new Error("link");x({state:"ready",az:ot.az})}).catch(rt=>{rt.name!=="AbortError"&&x({state:"error",az:""})}),()=>L.abort()},[p,X,at]);const J=(L,P)=>n(rt=>({...rt,[L]:P})),Z=()=>requestAnimationFrame(()=>{var L;return(L=R.current)==null?void 0:L.scrollIntoView({behavior:"smooth",block:"start"})});ct.useEffect(()=>{A.kind==="sign"&&!g&&i.ort&&m(i.ort)},[A.kind,i.ort]);const tt=L=>L.fields.filter(P=>P.type!=="note"&&(!P.showIf||P.showIf(i))),W=ct.useMemo(()=>{const L={};if(A.kind==="section")for(const P of tt(A.section))P.required&&!String(i[P.key]??"").trim()&&(L[P.key]=!0);else if(A.kind==="verfahren")for(const P of Ut)P.required&&!String(i[P.key]??"").trim()&&(L[P.key]=!0);else A.kind==="upload"?H.reduce((P,rt)=>P+rt.size,0)>Ht&&(L.files=!0):A.kind==="widerruf"?i.kenntnis||(L.kenntnis=!0):A.kind==="sign"&&(g.trim()||(L.ort=!0),_||(L.signature=!0),i.kostenpflichtig||(L.kostenpflichtig=!0));return L},[A,i,g,_,H]),Q=()=>{if(Object.keys(W).length){r(!0);return}r(!1),o(L=>Math.min(wt.length-1,L+1)),Z()},E=()=>{r(!1),o(L=>Math.max(0,L-1)),Z()},j=async()=>{var L;if(!(p&&d.state!=="ready")){if(Object.keys(W).length){r(!0);return}a("sending"),O(""),k("pdf"),S(0);try{const P=`${i.vorname||""} ${i.name||""}`.trim(),rt=g,[ot,et,nt]=await Promise.all([Tt({doc:At.vollmacht,data:{name:P,sache:i.sache,az:i.az},signature:_,ort:rt,datum:e}),ie({data:i,signature:_,ort:rt,datum:e}),Tt({doc:At.widerruf,data:{name:P,kenntnis:i.kenntnis,vorzeitig:i.vorzeitig},signature:_,ort:rt,datum:e})]),dt=`${i.name||"Mandant"}_${i.vorname||""}`.replace(/[^\w]+/g,"_"),lt="./media/Informationsblatt.pdf";let ft=null;try{ft=await fetch(lt).then(D=>D.ok?D.arrayBuffer():null)}catch{}const ut=new we;ut.file(`Vollmacht_${dt}.pdf`,ot),ut.file(`Mandantenaufnahmebogen_${dt}.pdf`,et),ut.file(`Widerrufsbelehrung_${dt}.pdf`,nt),ft&&ut.file("Informationsblatt_zum_Mandat.pdf",ft);const t=await ut.generateAsync({type:"blob"}),T=D=>URL.createObjectURL(new Blob([D],{type:"application/pdf"})),C={zip:URL.createObjectURL(t),vollmacht:T(ot),mandantenbogen:T(et),widerruf:T(nt),informationsblatt:lt},c=((L=Qt.find(D=>D.code===B))==null?void 0:L.name)||B,l={...i,signOrt:rt,datum:e,vollName:P,eingereicht_am:new Date().toISOString(),quelle:"strafverteidiger-cottbus.de",sprache:`${c} (${B})`,dokumente:["Vollmacht","Mandantenaufnahmebogen","Widerrufsbelehrung"],anlagen:H.map(D=>D.name)},w=new FormData;w.append("nachname",i.name||""),w.append("vorname",i.vorname||""),w.append("email",i.email||""),w.append("sprache",`${c} (${B})`),w.append("payload",JSON.stringify(l,null,2)),p&&(w.append("d",X),w.append("s",at)),w.append("vollmacht",new Blob([ot],{type:"application/pdf"}),"Vollmacht.pdf"),w.append("mandantenbogen",new Blob([et],{type:"application/pdf"}),"Mandantenaufnahmebogen.pdf"),w.append("widerruf",new Blob([nt],{type:"application/pdf"}),"Widerrufsbelehrung.pdf"),ft&&w.append("informationsblatt",new Blob([ft],{type:"application/pdf"}),"Informationsblatt.pdf");for(const D of H)w.append("anlage[]",D,D.name);k("upload"),S(0),await Se("mandat-paket.php",w,D=>S(D)),k("process"),S(100),I(C),a("ok"),window.scrollTo({top:0,behavior:"smooth"})}catch{O("Ãbermittlung fehlgeschlagen. Bitte versuchen Sie es erneut oder rufen Sie uns an."),a("error")}}};if(h==="ok")return y.jsx("main",{className:"min-h-screen bg-paper-2",children:y.jsxs("div",{className:"mx-auto max-w-2xl px-5 pb-24 pt-36 text-center sm:px-8 sm:pt-44",children:[y.jsx("span",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-brand-soft",children:y.jsx(Xt,{className:"h-9 w-9 text-brand"})}),y.jsx("h1",{className:"mt-6 font-display text-3xl font-semibold text-ink",children:"Vielen Dank!"}),y.jsxs("p",{className:"mt-4 text-lg leading-relaxed text-body",children:["I
42hre ",y.jsx("strong",{className:"font-semibold text-ink",children:"Vollmacht"}),", der ",y.jsx("strong",{className:"font-semibold text-ink",children:"Mandantenaufnahmebogen"})," und die",y.jsx("strong",{className:"font-semibold text-ink",children:" Widerrufsbelehrung"})," wurden â von Ihnen unterschrieben â sicher an die Kanzlei übermittelt."]}),y.jsxs("a",{href:M.zip,download:`Beauftragung_BUNZEL_RAe_${e.replace(/\./g,"")}.zip`,className:"mt-7 inline-flex items-center gap-2 rounded-full bg-brand px-7 py-4 text-base font-semibold text-white shadow-lift transition-colors hover:bg-brand-deep",children:[y.jsx(xe,{className:"h-5 w-5"})," Alle Dokumente als ZIP herunterladen"]}),y.jsx("p",{className:"mt-6 text-sm font-medium text-ink",children:"⦠oder einzeln öffnen:"}),y.jsx("div",{className:"mt-3 flex flex-wrap justify-center gap-3",children:[["Vollmacht",M.vollmacht],["Mandantenaufnahmebogen",M.mandantenbogen],["Widerrufsbelehrung",M.widerruf],["Informationsblatt zum Mandat",M.informationsblatt]].map(([L,P])=>y.jsxs("a",{href:P,target:"_blank",rel:"noopener",className:"inline-flex items-center gap-2 rounded-full border border-line-strong bg-white px-5 py-2.5 text-sm font-semibold text-ink transition-colors hover:border-brand hover:text-brand",children:[y.jsx(Wt,{className:"h-4 w-4 text-brand"})," ",L," ",y.jsx(ge,{className:"h-3.5 w-3.5"})]},L))}),y.jsxs("p",{className:"mt-8 text-sm text-body",children:["In dringenden Fällen erreichen Sie uns rund um die Uhr unter ",y.jsx("a",{href:`tel:${Ot.emergencyTel}`,className:"font-semibold text-brand",children:Ot.emergencyPhone}),"."]}),y.jsx("div",{className:"mt-4",children:y.jsx("a",{href:"#/",className:"text-sm font-semibold text-brand hover:text-brand-deep",children:"Zur Startseite"})})]})});if(p&&d.state!=="ready")return y.jsx("main",{className:"min-h-screen bg-paper-2",children:y.jsx("div",{className:"mx-auto max-w-xl px-5 pb-24 pt-36",children:y.jsxs("div",{className:"rounded-3xl border border-line bg-white p-8 shadow-lift",children:[y.jsx("h1",{className:"font-display text-2xl font-semibold text-ink",children:d.state==="checking"?"Ihr Mandat wird geladen â¦":"Dieser Link konnte nicht geöffnet werden"}),y.jsx("p",{className:"mt-3 text-body",children:d.state==="checking"?"Einen kurzen Moment bitte.":"Bitte öffnen Sie den vollständigen Link aus der E-Mail Ihrer Kanzlei erneut. Bleibt das Problem bestehen, wenden Sie sich bitte an uns."})]})})});const K=(v+1)/wt.length*100;return y.jsx("main",{className:"min-h-screen bg-paper-2",children:y.jsxs("div",{className:"mx-auto max-w-3xl px-5 pb-24 pt-32 sm:px-8 sm:pt-40",children:[y.jsxs("a",{href:"#download",className:"inline-flex items-center gap-1.5 text-sm font-medium text-body transition-colors hover:text-brand",children:[y.jsx(Rt,{className:"h-4 w-4"})," Zur Startseite"]}),y.jsxs("p",{className:"eyebrow mt-6 mb-3 flex items-center gap-2",children:[y.jsx("span",{className:"line h-px bg-brand"})," Mandat online starten"]}),y.jsx("h1",{className:"font-display text-3xl font-semibold tracking-tight text-ink sm:text-4xl",children:"In unter 5 Minuten erledigt"}),d.az&&y.jsxs("p",{className:"mt-3 inline-flex rounded-full bg-brand-soft px-3 py-1 text-sm font-semibold text-brand",children:["Ihr Mandat · ",d.az]}),y.jsxs("p",{className:"mt-3 text-body",children:["Sie füllen alles ",y.jsx("strong",{className:"font-semibold text-ink",children:"einmal"})," aus und unterschreiben ",y.jsx("strong",{className:"font-semibold text-ink",children:"einmal"})," â wir erstellen daraus ",y.jsx("strong",{className:"font-semibold text-ink",children:"Vollmacht"}),", ",y.jsx("strong",{className:"font-semibold text-ink",children:"Mandantenaufnahmebogen"})," und ",y.jsx("strong",{className:"font-semibold text-ink",children:"Widerrufsbelehrung"}),"."]}),y.jsxs("div",{ref:R,className:"mt-8 scroll-mt-28",children:[y.jsxs("div",{className:"mb-2 flex items-center justify-between text-xs font-medium text-muted",children:[y.jsxs("span",{children:["Schritt ",v+1," von ",wt.length,": ",y.jsx("span",{className:"text-ink",children:A.title})]}),y.jsxs("span",{children:[Math.round(K)," %"]})]}),y.jsx("div",{className:"h-2 overflow-hidden rounded-full bg-line",children:y.jsx("div",{className:"h-full rounded-full bg-brand transition-[width] duration-500",style:{width:`${K}%`}})})]}),y.jsxs("div",{className:"mt-8 rounded-3xl border border-line bg-white p-6 shadow-lift sm:p-8",children:[A.kind==="section"&&y.jsx(Lt,{title:A.section.title,intro:A.section.intro,fields:A.section.fields.filter(L=>!L.showIf||L.showIf(i)),data:i,set:J,errors:u?W:{},whyInfo:A.section.id==="strafsachen"?y.jsx(Ne,{}):null}
42),A.kind==="verfahren"&&y.jsx(Lt,{title:"Ihr Verfahren",intro:ze,fields:Ut,data:i,set:J,errors:u?W:{}}),A.kind==="upload"&&y.jsx(Ce,{files:H,setFiles:Y}),A.kind==="widerruf"&&y.jsx(Ee,{data:i,set:J,error:u&&W.kenntnis}),A.kind==="sign"&&y.jsx(Ae,{data:i,set:J,signOrt:g,setSignOrt:m,datum:e,sigRef:b,onSig:s,errors:u?W:{}}),u&&Object.keys(W).length>0&&y.jsxs("p",{className:"mt-5 flex items-center gap-2 rounded-lg bg-red-50 px-3 py-2 text-sm text-red-600",children:[y.jsx(jt,{className:"h-4 w-4 shrink-0"})," Bitte füllen Sie die markierten Pflichtfelder aus",A.kind==="sign"?" und unterschreiben Sie":"","."]}),h==="error"&&y.jsxs("p",{className:"mt-5 flex items-center gap-2 rounded-lg bg-red-50 px-3 py-2 text-sm text-red-600",children:[y.jsx(jt,{className:"h-4 w-4 shrink-0"})," ",F]}),h==="sending"&&y.jsx("div",{className:"mt-6 rounded-2xl border border-brand/20 bg-brand-soft p-5",children:y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx(Dt,{className:"h-5 w-5 shrink-0 animate-spin text-brand"}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsxs("div",{className:"flex items-center justify-between text-sm font-semibold text-brand",children:[y.jsx("span",{children:Pt[f]}),f==="upload"&&y.jsxs("span",{className:"tabular-nums",children:[z,"%"]})]}),y.jsx("div",{className:"mt-2 h-2.5 overflow-hidden rounded-full bg-white",children:y.jsx("div",{className:`h-full rounded-full bg-brand transition-[width] duration-200 ${f==="upload"?"":"animate-pulse"}`,style:{width:f==="pdf"?"12%":f==="upload"?`${Math.max(z,4)}%`:"100%"}})}),y.jsx("p",{className:"mt-2 text-xs leading-relaxed text-body",children:"Bitte schlieÃen Sie dieses Fenster nicht â je nach Verbindung kann die Ãbertragung einen Moment dauern."})]})]})}),y.jsxs("div",{className:"mt-8 flex items-center justify-between gap-3 border-t border-line pt-6",children:[y.jsxs("button",{onClick:E,disabled:v===0,className:"inline-flex items-center gap-2 rounded-full border border-line-strong bg-white px-5 py-3 text-sm font-semibold text-ink transition-colors hover:border-brand hover:text-brand disabled:cursor-not-allowed disabled:opacity-40",children:[y.jsx(Rt,{className:"h-4 w-4"})," Zurück"]}),v<wt.length-1?y.jsxs("button",{onClick:Q,className:"inline-flex items-center gap-2 rounded-full bg-brand px-6 py-3 text-sm font-semibold text-white transition-colors hover:bg-brand-deep",children:["Weiter ",y.jsx(Yt,{className:"h-4 w-4"})]}):y.jsx("button",{onClick:j,disabled:h==="sending",className:"inline-flex items-center gap-2 rounded-full bg-brand px-6 py-3 text-sm font-semibold text-white transition-colors hover:bg-brand-deep disabled:opacity-60",children:h==="sending"?y.jsxs(y.Fragment,{children:[y.jsx(Dt,{className:"h-4 w-4 animate-spin"})," ",f==="upload"?`Wird übertragen ⦠${z}%`:Pt[f]]}):y.jsxs(y.Fragment,{children:[y.jsx(Mt,{className:"h-4 w-4"})," Zahlungspflichtig beauftragen"]})})]})]}),y.jsxs("p",{className:"mt-5 text-center text-xs leading-relaxed text-muted",children:[y.jsx(Jt,{className:"mr-1.5 inline-block h-3.5 w-3.5 -translate-y-px text-brand"})," SSL-verschlüsselt · vertraulich · anwaltliche Schweigepflicht · keine dauerhafte Speicherung auf dem Server"]})]})})}function Lt({title:X,intro:at,fields:p,data:B,set:v,errors:o,whyInfo:i}){return y.jsxs("div",{children:[y.jsx("h2",{className:"font-display text-xl font-semibold text-ink",children:X}),at&&y.jsx("p",{className:"mt-1 text-sm text-body",children:at}),i,y.jsx("div",{className:"mt-6 grid grid-cols-1 gap-4 sm:grid-cols-2",children:p.map(n=>y.jsx(je,{field:n,value:B[n.key],onChange:d=>v(n.key,d),error:o[n.key]},n.key))})]})}function Zt({label:X,children:at}){const[p,B]=ct.useState(!1);return y.jsxs("div",{className:"mt-3",children:[y.jsxs("button",{type:"button",onClick:()=>B(v=>!v),"aria-expanded":p,className:"inline-flex items-center gap-1.5 rounded-lg text-sm font-semibold text-brand transition-colors hover:text-brand-deep",children:[y.jsx(pe,{className:"h-4 w-4 shrink-0"})," ",X," ",y.jsx(ue,{className:`h-4 w-4 transition-transform ${p?"rotate-180":""}`})]}),p&&y.jsxs("div",{className:"mt-2 rounded-2xl border border-brand/20 bg-brand-soft p-4 text-sm leading-relaxed text-body",children:[at,y.jsxs("button",{type:"button",onClick:()=>B(!1),className:"mt-3 inline-flex items-center gap-1.5 text-sm font-semibold text-brand transition-colors hover:text-brand-deep",children:[y.jsx(he,{className:"h-4 w-4"})," Verstanden â weiter ausfüllen"]})]})]})}function Ne(){return y.jsxs(Zt,{label:"Warum brauchen wir diese Angaben?",children:[y.jsxs("p",{children:["Manche Sanktionen richten sich n
42ach Ihrem Netto-Einkommen â etwa die Höhe eines Tagessatzes, einer GeldbuÃe oder einer Geldauflage zur Einstellung des Verfahrens. Wenn wir solche Beträge mit Gericht, Staatsanwaltschaft oder Behörde zu Ihren Gunsten verhandeln, müssen wir oft ",y.jsx("strong",{className:"font-semibold text-ink",children:"spontan belastbare Zahlen"})," nennen können."]}),y.jsxs("p",{className:"mt-2",children:["Liegen uns Ihre Angaben schon vor, ersparen wir uns zeitraubende Rückfragen, die im Zweifel sogar ein gutes Ergebnis gefährden könnten. Ihre Angaben behandeln wir streng vertraulich und geben sie",y.jsx("strong",{className:"font-semibold text-ink",children:" niemals ohne Ihre ausdrückliche Rücksprache"})," weiter."]})]})}function je({field:X,value:at,onChange:p,error:B}){const v=X.half?"sm:col-span-1":"sm:col-span-2",o=`w-full rounded-xl border bg-paper-2 px-4 py-3 text-ink placeholder-muted outline-none transition-colors focus:bg-white focus:ring-2 focus:ring-brand/15 ${B?"border-red-400":"border-line-strong focus:border-brand"}`;return X.type==="note"?y.jsx("p",{className:"sm:col-span-2 rounded-xl border border-line bg-paper-2 p-4 text-xs leading-relaxed text-muted",children:X.text}):X.type==="radio"?y.jsxs("fieldset",{className:"sm:col-span-2",children:[y.jsxs("legend",{className:"mb-2 text-sm font-medium text-ink",children:[X.label,X.required&&y.jsx("span",{className:"text-brand",children:" *"})]}),y.jsx("div",{className:"grid gap-2",children:X.options.map(i=>y.jsxs("label",{className:`flex cursor-pointer items-center gap-3 rounded-xl border px-4 py-3 text-sm transition-colors ${at===i.value?"border-brand bg-brand-soft text-ink":"border-line bg-white text-body hover:border-brand/40"}`,children:[y.jsx("input",{type:"radio",name:X.key,value:i.value,checked:at===i.value,onChange:()=>p(i.value),className:"h-4 w-4 accent-[#761d61]"}),i.label]},i.value))})]}):y.jsxs("label",{className:`block ${v}`,children:[y.jsxs("span",{className:"mb-1.5 block text-sm font-medium text-ink",children:[X.label,X.required&&y.jsx("span",{className:"text-brand",children:" *"}),X.hint&&y.jsxs("span",{className:"ml-1 font-normal text-muted",children:["(",X.hint,")"]})]}),X.type==="textarea"?y.jsx("textarea",{rows:3,value:at||"",onChange:i=>p(i.target.value),className:o}):y.jsx("input",{id:`onboarding-${X.inputName||X.key}`,name:X.inputName||X.key,autoComplete:X.autoComplete,type:X.type==="money"||X.type==="date"?"text":X.type,value:at||"",onChange:i=>p(X.type==="date"?ae(i.target.value):i.target.value),onBlur:X.type==="date"?i=>p(se(i.target.value)):void 0,inputMode:X.type==="money"?"decimal":X.type==="date"?"numeric":void 0,placeholder:X.type==="date"?"TT.MM.JJJJ":void 0,className:`${o} ${X.type==="date"?"max-w-[14rem]":""}`})]})}function Ee({data:X,set:at,error:p}){return y.jsxs("div",{children:[y.jsx("h2",{className:"font-display text-xl font-semibold text-ink",children:"Widerrufsbelehrung"}),y.jsx("p",{className:"mt-1 text-sm text-body",children:"Bitte lesen Sie die Belehrung und bestätigen Sie die Kenntnisnahme."}),y.jsx("div",{className:"mt-5 max-h-72 overflow-y-auto rounded-2xl border border-line bg-paper-2 p-5 text-sm leading-relaxed text-body",children:At.widerruf.render({}).slice(0,7).map((B,v)=>B.kind==="h"?y.jsx("p",{className:"mb-1 mt-3 font-display font-semibold text-ink first:mt-0",children:B.text},v):y.jsx("p",{className:"mb-3",children:B.text},v))}),y.jsxs("label",{className:`mt-5 flex cursor-pointer items-start gap-3 rounded-xl border p-4 ${p?"border-red-400 bg-red-50":"border-line bg-white"}`,children:[y.jsx("input",{type:"checkbox",checked:!!X.kenntnis,onChange:B=>at("kenntnis",B.target.checked),className:"mt-0.5 h-5 w-5 shrink-0 accent-[#761d61]"}),y.jsxs("span",{className:"text-sm text-body",children:["Ich habe die vorstehende Widerrufsbelehrung zur Kenntnis genommen. ",y.jsx("span",{className:"text-brand",children:"*"})]})]}),y.jsxs("div",{className:"mt-6 border-t border-line pt-5",children:[y.jsx("p",{className:"font-display text-lg font-semibold text-ink",children:"Erklärung zum Widerrufsrecht"}),y.jsx("p",{className:"mt-1 text-sm text-body",children:"Sofortiger Beginn vor Ablauf der Widerrufsfrist â damit wir umgehend für Sie tätig werden können."}),y.jsxs("label",{className:"mt-3 flex cursor-pointer items-start gap-3 rounded-xl border border-line bg-paper-2 p-4",children:[y.jsx("input",{type:"checkbox",checked:!!X.vorzeitig,onChange:B=>at("vorzeitig",B.target.checked),className:"mt-0.5 h-5 w-5 shrink-0 accent-[#761d61]"}),y.jsx("span",{className:"text-sm leading-relaxed text-body",children:"In Kenntnis der vorstehenden Widerrufsbelehrung verlange ich ausdrücklich, dass die Kanzlei bereits vor Ablauf der 14-tägigen Widerrufsfrist mit der Leistung beginnt. Mir ist bekannt, dass ich bei Widerruf bereits erbrachte Leistungen zu bezahlen habe und bei vollständiger Vertragserfüllung mein Widerrufsrecht verliere."})]}),y.jsxs("p",{className:"mt-2 flex items-center gap-2.5 rounded-xl border-2 border-brand/40 bg-brand-soft px-4 py-3 text-base font-bold text-brand",children:[y.jsx(le,{className:"h-5 w-5 shrink-0",strokeWidth:2.5}),y.jsx("span",{children:"Wichtig: Ohne dieses Häkchen beginnen wir erst nach Ablauf der 14 Tage mit der Bearbeitung."})]})]})]})}const Ht=15*1024*1024;function Ce({files:X,setFiles:at}){te();const p=ct.useRef(null),[B,v]=ct.useState(!1),o=g=>{const m=Array.from(g||[]);at(_=>{const s=[..._];for(const u of m)s.some(r=>r.name===u.name&&r.size===u.size)||s.push(u);return s})},i=g=>at(m=>m.filter((_,s)=>s!==g)),d=X.reduce((g,m)=>g+m.size,0)>Ht,x=g=>(g/1048576).toFixed(g<1048576?2:1);return y.jsxs("div",{children:[y.jsx("h2",{className:"font-display text-xl font-semibold text-ink",children:"Möchten Sie weitere Dokumente hochladen?"}),y.jsxs("p",{className:"mt-1 text-sm leading-relaxed text-body",children:["Wenn Sie bereits Post von Polizei, Staatsanwaltschaft, Gericht oder einer Behörde erhalten haben, laden Sie sie hier gern hoch â z. B. ",y.jsx("span",{className:"text-ink",children:"Vorladung, Anhörung, Anklageschrift, Strafbefehl oder BuÃgeldbescheid"}),". So sehen wir sofort, worum es geht, und können schneller für Sie tätig werden."]}),y.jsxs("p",{className:"mt-3 flex items-start gap-2 rounded-xl border border-brand/20 bg-brand-soft px-4 py-3 text-sm leading-relaxed text-body",children:[y.jsx(jt,{className:"mt-0.5 h-4 w-4 shrink-0 text-brand"}),y.jsxs("span",{children:["Ist dies Ihr ",y.jsx("strong",{className:"font-semibold text-ink",children:"Erstkontakt"})," zu uns, hilft uns am meisten ein behördliches, staatsanwaltschaftliches oder gerichtliches Schreiben â damit wir umgehend aktiv werden können."]})]}),y.jsxs(Zt,{label:"Welche Dokumente sind hier gemeint?",children:[y.jsxs("p",{children:["Hilfreich ist alles, woraus sich ergibt, ",y.jsx("strong",{className:"font-semibold text-ink",children:"um welches Verfahren es geht"})," â etwa Vorladung, Anhörungsbogen, Anklageschrift, Strafbefehl, BuÃgeldbescheid, Durchsuchungsbeschluss oder ein Einleitungsvermerk."]}),y.jsxs("p",{className:"mt-2",children:["Ebenso nützlich sind die ",y.jsx("strong",{className:"font-semibold text-ink",children:"Unterlagen Ihrer Rechtsschutzversicherung"})," oder eine kurze ",y.jsx("strong",{className:"font-semibold text-ink",children:"eigene Schilderung"})," des Sachverhalts aus Ihrer Sicht. Je mehr wir vorab kennen, desto schneller und gezielter können wir Sie verteidigen."]})]}),y.jsx("div",{className:"mt-5 rounded-xl border border-emerald-200 bg-emerald-50/70 px-4 py-3.5",children:y.jsxs("p",{className:"flex items-start gap-2 text-sm leading-relaxed text-emerald-900",children:[y.jsx(Mt,{className:"mt-0.5 h-4 w-4 shrink-0 text-emerald-600"}),y.jsxs("span",{children:["Haben Sie von uns ",y.jsx("strong",{className:"font-semibold",children:"individuelle Vertragsunterlagen"})," erhalten â zum Beispiel eine Vergütungsvereinbarung â, können Sie diese hier direkt mit hochladen."]})]})}),y.jsxs("div",{onDragOver:g=>{g.preventDefault(),v(!0)},onDragLeave:()=>v(!1),onDrop:g=>{g.preventDefault(),v(!1),o(g.dataTransfer.files)},className:`mt-5 flex flex-col items-center justify-center rounded-2xl border-2 border-dashed px-6 py-8 text-center transition-colors ${B?"border-brand bg-brand-soft":"border-line-strong bg-paper-2"}`,children:[y.jsx(ee,{className:"h-8 w-8 text-brand",strokeWidth:1.6}),y.jsx("p",{className:"mt-2 text-sm text-body",children:"Dateien hierher ziehen oder"}),y.jsxs("button",{type:"button",onClick:()=>{var g;return(g=p.current)==null?void 0:g.click()},className:"mt-2 inline-flex items-center gap-2 rounded-full bg-brand px-5 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-brand-deep",children:[y.jsx(re,{className:"h-4 w-4"})," Dateien auswählen"]}),y.jsx("p",{className:"mt-2 text-xs text-muted",children:"PDF oder Foto (JPG/PNG) · mehrere möglich"}),y.jsx("input",{ref:p,type:"file",multiple:!0,accept:"application/pdf,image/*",className:"hidden",onChange:g=>{o(g.target.files),g.target.value=""}})]}),X.length>0&&y.jsx("ul",{className:"mt-4 space-y-2",children:X.map((g,m)=>y.jsxs("li",{className:"flex items-center gap-3 rounded-xl border border-line bg-white px-4 py-2.5 text-sm",children:[y.jsx(Wt,{className:"h-4 w-4 shrink-0 text-brand"}),y.jsx("span",{className:"min-w-0 flex-1 truncate text-ink",children:g.name}),y.jsxs("span",{className:"shrink-0 text-xs text-muted",children:[x(g.size)," MB"]}),y.jsx("button",{type:"button",onClick:()=>i(m),"aria-label":"Entfernen",className:"shrink-0 rounded-full p-1 text-muted transition-colors hover:bg-red-50 hover:text-red-600",children:y.jsx(ne,{className:"h-4 w-4"})})]},g.name+g.size))}),d&&y.jsxs("p",{className:"mt-3 flex items-center gap-2 rounded-lg bg-red-50 px-3 py-2 text-sm text-red-600",children:[y.jsx(jt,{className:"h-4 w-4 shrink-0"})," Die Anhänge sind zusammen zu groà (max. 15 MB). Bitte entfernen Sie eine Datei."]}),y.jsx("p",{className:"mt-4 text-sm text-muted",children:"Kein passendes Dokument zur Hand? Kein Problem â Sie können diesen Schritt einfach überspringen."})]})}function Ae({data:X,set:at,signOrt:p,setSignOrt:B,datum:v,sigRef:o,onSig:i,errors:n}){return y.jsxs("div",{children:[y.jsx("h2",{className:"font-display text-xl font-semibold text-ink",children:"Einmal unterschreiben â für alle drei Dokumente"}),y.jsxs("p",{className:"mt-1 text-sm text-body",children:["Mit Ihrer Unterschrift unterzeichnen Sie ",
42y.jsx("strong",{className:"font-semibold text-ink",children:"Vollmacht"}),", ",y.jsx("strong",{className:"font-semibold text-ink",children:"Mandantenaufnahmebogen"})," und ",y.jsx("strong",{className:"font-semibold text-ink",children:"Widerrufsbelehrung"}),"."]}),y.jsxs("div",{className:"mt-6 grid grid-cols-1 gap-4 sm:grid-cols-2",children:[y.jsxs("label",{className:"block",children:[y.jsxs("span",{className:"mb-1.5 block text-sm font-medium text-ink",children:["Ort ",y.jsx("span",{className:"text-brand",children:"*"})]}),y.jsx("input",{value:p,onChange:d=>B(d.target.value),className:`w-full rounded-xl border bg-paper-2 px-4 py-3 text-ink outline-none transition-colors focus:bg-white focus:ring-2 focus:ring-brand/15 ${n.ort?"border-red-400":"border-line-strong focus:border-brand"}`})]}),y.jsxs("label",{className:"block",children:[y.jsx("span",{className:"mb-1.5 block text-sm font-medium text-ink",children:"Datum"}),y.jsx("input",{value:v,readOnly:!0,className:"w-full rounded-xl border border-line bg-paper-2 px-4 py-3 text-muted"})]})]}),y.jsxs("div",{className:"mt-5",children:[y.jsxs("span",{className:"mb-1.5 block text-sm font-medium text-ink",children:["Unterschrift ",y.jsx("span",{className:"text-brand",children:"*"})]}),y.jsx("div",{className:n.signature?"rounded-xl ring-2 ring-red-300":"",children:y.jsx(oe,{ref:o,onChange:i})})]}),y.jsxs("label",{className:`mt-6 flex cursor-pointer items-start gap-3 rounded-xl border p-4 ${n.kostenpflichtig?"border-red-400 bg-red-50":"border-line bg-paper-2"}`,children:[y.jsx("input",{type:"checkbox",checked:!!X.kostenpflichtig,onChange:d=>at("kostenpflichtig",d.target.checked),className:"mt-0.5 h-5 w-5 shrink-0 accent-[#761d61]"}),y.jsxs("span",{className:"text-sm leading-relaxed text-body",children:["Mir ist bewusst, dass ich hiermit ein ",y.jsx("strong",{className:"font-semibold text-ink",children:"kostenpflichtiges Mandat"})," erteile. Die Vergütung richtet sich nach einer gesondert geschlossenen Vergütungsvereinbarung oder â soweit nicht anders vereinbart â dem Rechtsanwaltsvergütungsgesetz (RVG). ",y.jsx("span",{className:"text-brand",children:"*"})]})]})]})}export{Te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.