https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/angkasapuraretail.com/public_html/themes/old-themes/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/angkasapuraretail.com/public_html/themes/old-themes/js/vendors.bundle.js
(window.onlineWebpackJsonp=window.onlineWebpackJsonp||[]).push([["vendors"],{"+6XX":function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__("y1pI");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"+BzL":function(module,exports,__webpack_require__){"use strict";var USE_TYPEDARRAY="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,pako=__webpack_require__("16wW");exports.uncompressInputType=USE_TYPEDARRAY?"uint8array":"array",exports.compressInputType=USE_TYPEDARRAY?"uint8array":"array",exports.magic="\b\0",exports.compress=function(input){return pako.deflateRaw(input)},exports.uncompress=function(input){return pako.inflateRaw(input)}},"+UUt":function(module,exports,__webpack_require__){"use strict";var configuration_table,utils=__webpack_require__("kXF0"),trees=__webpack_require__("cm54"),adler32=__webpack_require__("/UGS"),crc32=__webpack_require__("MVVq"),msg=__webpack_require__("lhpB");function err(strm,errorCode){return strm.msg=msg[errorCode],errorCode}function rank(f){return(f<<1)-(f>4?9:0)}function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}function flush_pending(strm){var s=strm.state,len=s.pending;len>strm.avail_out&&(len=strm.avail_out),0!==len&&(utils.arraySet(strm.output,s.pending_buf,s.pending_out,len,strm.next_out),strm.next_out+=len,s.pending_out+=len,strm.total_out+=len,strm.avail_out-=len,s.pending-=len,0===s.pending&&(s.pending_out=0))}function flush_block_only(s,last){trees._tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last),s.block_start=s.strstart,flush_pending(s.strm)}function put_byte(s,b){s.pending_buf[s.pending++]=b}function putShortMSB(s,b){s.pending_buf[s.pending++]=b>>>8&255,s.pending_buf[s.pending++]=255&b}function longest_match(s,cur_match){var match,len,chain_length=s.max_chain_length,scan=s.strstart,best_len=s.prev_length,nice_match=s.nice_match,limit=s.strstart>s.w_size-262?s.strstart-(s.w_size-262):0,_win=s.window,wmask=s.w_mask,prev=s.prev,strend=s.strstart+258,scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len];s.prev_length>=s.good_match&&(chain_length>>=2),nice_match>s.lookahead&&(nice_match=s.lookahead);do{if(_win[(match=cur_match)+best_len]===scan_end&&_win[match+best_len-1]===scan_end1&&_win[match]===_win[scan]&&_win[++match]===_win[scan+1]){scan+=2,match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scan<strend);if(len=258-(strend-scan),scan=strend-258,len>best_len){if(s.match_start=cur_match,best_len=len,len>=nice_match)break;scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len]}}}while((cur_match=prev[cur_match&wmask])>limit&&0!=--chain_length);return best_len<=s.lookahead?best_len:s.lookahead}function fill_window(s){var p,n,m,more,str,strm,buf,start,size,len,_w_size=s.w_size;do{if(more=s.window_size-s.lookahead-s.strstart,s.strstart>=_w_size+(_w_size-262)){utils.arraySet(s.window,s.window,_w_size,_w_size,0),s.match_start-=_w_size,s.strstart-=_w_size,s.block_start-=_w_size,p=n=s.hash_size;do{m=s.head[--p],s.head[p]=m>=_w_size?m-_w_size:0}while(--n);p=n=_w_size;do{m=s.prev[--p],s.prev[p]=m>=_w_size?m-_w_size:0}while(--n);more+=_w_size}if(0===s.strm.avail_in)break;if(strm=s.strm,buf=s.window,start=s.strstart+s.lookahead,size=more,len=void 0,(len=strm.avail_in)>size&&(len=size),n=0===len?0:(strm.avail_in-=len,utils.arraySet(buf,strm.input,strm.next_in,len,start),1===strm.state.wrap?strm.adler=adler32(strm.adler,buf,len,start):2===strm.state.wrap&&(strm.adler=crc32(strm.adler,buf,len,start)),strm.next_in+=len,strm.total_in+=len,len),s.lookahead+=n,s.lookahead+s.insert>=3)for(str=s.strstart-s.insert,s.ins_h=s.window[str],s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+1])&s.hash_mask;s.insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++,s.insert--,!(s.lookahead+s.insert<3)););}while(s.lookahead<262&&0!==s.strm.avail_in)}function deflate_fast(s,flush){for(var hash_head,bflush;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),0!==hash_head&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head)),s.match_length>=3)if(bflush=trees._tr_tally(s,s.strstart-s.match_start,s.match_length-3),s.lookahead-=s.match_length,s.match_length<=s.max_lazy_match&&s.lookahead>=3){s.match_length--;do{s.strstart++,s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart}while(0!=--s.match_length);s.strstart++}else s.strstart+=s.match_length,s.match_length=0,s.ins_h=s.window[s.strstart],s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+1])&s.hash_mask;else bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++;if(bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function deflate_slow(s,flush){for(var hash_head,bflush,max_insert;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),s.prev_length=s.match_length,s.prev_match=s.match_start,s.match_length=2,0!==hash_head&&s.prev_length<s.max_lazy_match&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head),s.match_length<=5&&(1===s.strategy||3===s.match_length&&s.strstart-s.match_start>4096)&&(s.match_length=2)),s.prev_length>=3&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-3,bflush=trees._tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-3),s.lookahead-=s.prev_length-1,s.prev_length-=2;do{++s.strstart<=max_insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart)}while(0!=--s.prev_length);if(s.match_available=0,s.match_length=2,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}else if(s.match_available){if((bflush=trees._tr_tally(s,0,s.window[s.strstart-1]))&&flush_block_only(s,!1),s.strstart++,s.lookahead--,0===s.strm.avail_out)return 1}else s.match_available=1,s.strstart++,s.lookahead--}return s.match_available&&(bflush=trees._tr_tally(s,0,s.window[s.strstart-1]),s.match_available=0),s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length,this.max_lazy=max_lazy,this.nice_length=nice_length,this.max_chain=max_chain,this.func=func}function DeflateState(){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=8,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 utils.Buf16(1146),this.dyn_dtree=new utils.Buf16(122),this.bl_tree=new utils.Buf16(78),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new utils.Buf16(16),this.heap=new utils.Buf16(573),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new utils.Buf16(573),zero(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 deflateResetKeep(strm){var s;return strm&&strm.state?(strm.total_in=strm.total_out=0,strm.data_type=2,(s=strm.state).pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=s.wrap?42:113,strm.adler=2===s.wrap?0:1,s.last_flush=0,trees._tr_init(s),0):err(strm,-2)}function deflateReset(strm){var ret=deflateResetKeep(strm);return 0===ret&&function lm_init(s){s.window_size=2*s.w_size,zero(s.head),s.max_lazy_match=configuration_table[s.level].max_lazy,s.good_match=configuration_table[s.level].good_length,s.nice_match=configuration_table[s.level].nice_length,s.max_chain_length=configuration_table[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=2,s.match_available=0,s.ins_h=0}(strm.state),ret}function deflateInit2(strm,level,method,windowBits,memLevel,strategy){if(!strm)return-2;var wrap=1;if(-1===level&&(level=6),windowBits<0?(wrap=0,windowBits=-windowBits):windowBits>15&&(wrap=2,windowBits-=16),memLevel<1||memLevel>9||8!==method||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>4)return err(strm,-2);8===windowBits&&(windowBits=9);var s=new DeflateState;return strm.state=s,s.strm=strm,s.wrap=wrap,s.gzhead=null,s.w_bits=windowBits,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=memLevel+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new utils.Buf8(2*s.w_size),s.head=new utils.Buf16(s.hash_size),s.prev=new utils.Buf16(s.w_size),s.lit_bufsize=1<<memLevel+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new utils.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=level,s.strategy=strategy,s.method=method,deflateReset(strm)}configuration_table=[new Config(0,0,0,0,(function deflate_stored(s,flush){var max_block_size=65535;for(max_block_size>s.pending_buf_size-5&&(max_block_size=s.pending_buf_size-5);;){if(s.lookahead<=1){if(fill_window(s),0===s.lookahead&&0===flush)return 1;if(0===s.lookahead)break}s.strstart+=s.lookahead,s.lookahead=0;var max_start=s.block_start+max_block_size;if((0===s.strstart||s.strstart>=max_start)&&(s.lookahead=s.strstart-max_start,s.strstart=max_start,flush_block_only(s,!1),0===s.strm.avail_out))return 1;if(s.strstart-s.block_start>=s.w_size-262&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):(s.strstart>s.block_start&&(flush_block_only(s,!1),s.strm.avail_out),1)})),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],exports.deflateInit=function deflateInit(strm,level){return deflateInit2(strm,level,8,15,8,0)},exports.deflateInit2=deflateInit2,exports.deflateReset=deflateReset,exports.deflateResetKeep=deflateResetKeep,exports.deflateSetHeader=function deflateSetHeader(strm,head){return strm&&strm.state?2!==strm.state.wrap?-2:(strm.state.gzhead=head,0):-2},exports.deflate=function deflate(strm,flush){var old_flush,s,beg,val;if(!strm||!strm.state||flush>5||flush<0)return strm?err(strm,-2):-2;if(s=strm.state,!strm.output||!strm.input&&0!==strm.avail_in||666===s.status&&4!==flush)return err(strm,0===strm.avail_out?-5:-2);if(s.strm=strm,old_flush=s.last_flush,s.last_flush=flush,42===s.status)if(2===s.wrap)strm.adler=0,put_byte(s,31),put_byte(s,139),put_byte(s,8),s.gzhead?(put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),put_byte(s,255&s.gzhead.time),put_byte(s,s.gzhead.time>>8&255),put_byte(s,s.gzhead.time>>16&255),put_byte(s,s.gzhead.time>>24&255),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(put_byte(s,255&s.gzhead.extra.length),put_byte(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,3),s.status=113);else{var header=8+(s.w_bits-8<<4)<<8;header|=(s.strategy>=2||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&(header|=32),header+=31-header%31,s.status=113,putShortMSB(s,header),0!==s.strstart&&(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),strm.adler=1}if(69===s.status)if(s.gzhead.extra){for(beg=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending!==s.pending_buf_size));)put_byte(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&flush_pending(strm),s.pending+2<=s.pending_buf_size&&(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),strm.adler=0,s.status=113)):s.status=113),0!==s.pending){if(flush_pending(strm),0===strm.avail_out)return s.last_flush=-1,0}else if(0===strm.avail_in&&rank(flush)<=rank(old_flush)&&4!==flush)return err(strm,-5);if(666===s.status&&0!==strm.avail_in)return err(strm,-5);if(0!==strm.avail_in||0!==s.lookahead||0!==flush&&666!==s.status){var bstate=2===s.strategy?function deflate_huff(s,flush){for(var bflush;;){if(0===s.lookahead&&(fill_window(s),0===s.lookahead)){if(0===flush)return 1;break}if(s.match_length=0,bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):3===s.strategy?function deflate_rle(s,flush){for(var bflush,prev,scan,strend,_win=s.window;;){if(s.lookahead<=258){if(fill_window(s),s.lookahead<=258&&0===flush)return 1;if(0===s.lookahead)break}if(s.match_length=0,s.lookahead>=3&&s.strstart>0&&(prev=_win[scan=s.strstart-1])===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]){strend=s.strstart+258;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scan<strend);s.match_length=258-(strend-scan),s.match_length>s.lookahead&&(s.match_length=s.lookahead)}if(s.match_length>=3?(bflush=trees._tr_tally(s,1,s.match_length-3),s.lookahead-=s.match_length,s.strstart+=s.match_length,s.match_length=0):(bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++),bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):configuration_table[s.level].func(s,flush);if(3!==bstate&&4!==bstate||(s.status=666),1===bstate||3===bstate)return 0===strm.avail_out&&(s.last_flush=-1),0;if(2===bstate&&(1===flush?trees._tr_align(s):5!==flush&&(trees._tr_stored_block(s,0,0,!1),3===flush&&(zero(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),flush_pending(strm),0===strm.avail_out))return s.last_flush=-1,0}return 4!==flush?0:s.wrap<=0?1:(2===s.wrap?(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),put_byte(s,strm.adler>>16&255),put_byte(s,strm.adler>>24&255),put_byte(s,255&strm.total_in),put_byte(s,strm.total_in>>8&255),put_byte(s,strm.total_in>>16&255),put_byte(s,strm.total_in>>24&255)):(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),flush_pending(strm),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?0:1)},exports.deflateEnd=function deflateEnd(strm){var status;return strm&&strm.state?42!==(status=strm.state.status)&&69!==status&&73!==status&&91!==status&&103!==status&&113!==status&&666!==status?err(strm,-2):(strm.state=null,113===status?err(strm,-3):0):-2},exports.deflateSetDictionary=function deflateSetDictionary(strm,dictionary){var s,str,n,wrap,avail,next,input,tmpDict,dictLength=dictionary.length;if(!strm||!strm.state)return-2;if(2===(wrap=(s=strm.state).wrap)||1===wrap&&42!==s.status||s.lookahead)return-2;for(1===wrap&&(strm.adler=adler32(strm.adler,dictionary,dictLength,0)),s.wrap=0,dictLength>=s.w_size&&(0===wrap&&(zero(s.head),s.strstart=0,s.block_start=0,s.insert=0),tmpDict=new utils.Buf8(s.w_size),utils.arraySet(tmpDict,dictionary,dictLength-s.w_size,s.w_size,0),dictionary=tmpDict,dictLength=s.w_size),avail=strm.avail_in,next=strm.next_in,input=strm.input,strm.avail_in=dictLength,strm.next_in=0,strm.input=dictionary,fill_window(s);s.lookahead>=3;){str=s.strstart,n=s.lookahead-2;do{s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++}while(--n);s.strstart=str,s.lookahead=2,fill_window(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,strm.next_in=next,strm.input=input,strm.avail_in=avail,s.wrap=wrap,0},exports.deflateInfo="pako deflate (from Nodeca project)"},"+X/Q":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var SMLAnalyticsEventType,Name="social-media-library";!function(SMLAnalyticsEventType){SMLAnalyticsEventType.ContentFilter="contentFilter",SMLAnalyticsEventType.ItemClick="itemClick",SMLAnalyticsEventType.ShareClick="shareClick",SMLAnalyticsEventType.DownloadClick="downloadClick"}(SMLAnalyticsEventType||(SMLAnalyticsEventType={}))},"+oPb":function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("blink",(function(createHTML){return function blink(){return createHTML(this,"blink","","")}}))},"+qE3":function(module,exports,__webpack_require__){"use strict";var ReflectOwnKeys,R="object"==typeof Reflect?Reflect:null,ReflectApply=R&&"function"==typeof R.apply?R.apply:function ReflectApply(target,receiver,args){return Function.prototype.apply.call(target,receiver,args)};ReflectOwnKeys=R&&"function"==typeof R.ownKeys?R.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(target){return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target))}:function ReflectOwnKeys(target){return Object.getOwnPropertyNames(target)};var NumberIsNaN=Number.isNaN||function NumberIsNaN(value){return value!=value};function EventEmitter(){EventEmitter.init.call(this)}module.exports=EventEmitter,module.exports.once=function once(emitter,name){return new Promise((function(resolve,reject){function eventListener(){void 0!==errorListener&&emitter.removeListener("error",errorListener),resolve([].slice.call(arguments))}var errorListener;"error"!==name&&(errorListener=function errorListener(err){emitter.removeListener(name,eventListener),reject(err)},emitter.once("error",errorListener)),emitter.once(name,eventListener)}))},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(listener){if("function"!=typeof listener)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof listener)}function _getMaxListeners(that){return void 0===that._maxListeners?EventEmitter.defaultMaxListeners:that._maxListeners}function _addListener(target,type,listener,prepend){var m,events,existing;if(checkListener(listener),void 0===(events=target._events)?(events=target._events=Object.create(null),target._eventsCount=0):(void 0!==events.newListener&&(target.emit("newListener",type,listener.listener?listener.listener:listener),events=target._events),existing=events[type]),void 0===existing)existing=events[type]=listener,++target._eventsCount;else if("function"==typeof existing?existing=events[type]=prepend?[listener,existing]:[existing,listener]:prepend?existing.unshift(listener):existing.push(listener),(m=_getMaxListeners(target))>0&&existing.length>m&&!existing.warned){existing.warned=!0;var w=new Error("Possible EventEmitter memory leak detected. "+existing.length+" "+String(type)+" listeners added. Use emitter.setMaxListeners() to increase limit");w.name="MaxListenersExceededWarning",w.emitter=target,w.type=type,w.count=existing.length,function ProcessEmitWarning(warning){console&&console.warn&&console.warn(warning)}(w)}return target}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(target,type,listener){var state={fired:!1,wrapFn:void 0,target:target,type:type,listener:listener},wrapped=onceWrapper.bind(state);return wrapped.listener=listener,state.wrapFn=wrapped,wrapped}function _listeners(target,type,unwrap){var events=target._events;if(void 0===events)return[];var evlistener=events[type];return void 0===evlistener?[]:"function"==typeof evlistener?unwrap?[evlistener.listener||evlistener]:[evlistener]:unwrap?function unwrapListeners(arr){for(var ret=new Array(arr.length),i=0;i<ret.length;++i)ret[i]=arr[i].listener||arr[i];return ret}(evlistener):arrayClone(evlistener,evlistener.length)}function listenerCount(type){var events=this._events;if(void 0!==events){var evlistener=events[type];if("function"==typeof evlistener)return 1;if(void 0!==evlistener)return evlistener.length}return 0}function arrayClone(arr,n){for(var copy=new Array(n),i=0;i<n;++i)copy[i]=arr[i];return copy}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(arg){if("number"!=typeof arg||arg<0||NumberIsNaN(arg))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+arg+".");defaultMaxListeners=arg}}),EventEmitter.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(n){if("number"!=typeof n||n<0||NumberIsNaN(n))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+n+".");return this._maxListeners=n,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function emit(type){for(var args=[],i=1;i<arguments.length;i++)args.push(arguments[i]);var doError="error"===type,events=this._events;if(void 0!==events)doError=doError&&void 0===events.error;else if(!doError)return!1;if(doError){var er;if(args.length>0&&(er=args[0]),er instanceof Error)throw er;var err=new Error("Unhandled error."+(er?" ("+er.message+")":""));throw err.context=er,err}var handler=events[type];if(void 0===handler)return!1;if("function"==typeof handler)ReflectApply(handler,this,args);else{var len=handler.length,listeners=arrayClone(handler,len);for(i=0;i<len;++i)ReflectApply(listeners[i],this,args)}return!0},EventEmitter.prototype.addListener=function addListener(type,listener){return _addListener(this,type,listener,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(type,listener){return _addListener(this,type,listener,!0)},EventEmitter.prototype.once=function once(type,listener){return checkListener(listener),this.on(type,_onceWrap(this,type,listener)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(type,listener){return checkListener(listener),this.prependListener(type,_onceWrap(this,type,listener)),this},EventEmitter.prototype.removeListener=function removeListener(type,listener){var list,events,position,i,originalListener;if(checkListener(listener),void 0===(events=this._events))return this;if(void 0===(list=events[type]))return this;if(list===listener||list.listener===listener)0==--this._eventsCount?this._events=Object.create(null):(delete events[type],events.removeListener&&this.emit("removeListener",type,list.listener||listener));else if("function"!=typeof list){for(position=-1,i=list.length-1;i>=0;i--)if(list[i]===listener||list[i].listener===listener){originalListener=list[i].listener,position=i;break}if(position<0)return this;0===position?list.shift():function spliceOne(list,index){for(;index+1<list.length;index++)list[index]=list[index+1];list.pop()}(list,position),1===list.length&&(events[type]=list[0]),void 0!==events.removeListener&&this.emit("removeListener",type,originalListener||listener)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function removeAllListeners(type){var listeners,events,i;if(void 0===(events=this._events))return this;if(void 0===events.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==events[type]&&(0==--this._eventsCount?this._events=Object.create(null):delete events[type]),this;if(0===arguments.length){var key,keys=Object.keys(events);for(i=0;i<keys.length;++i)"removeListener"!==(key=keys[i])&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(listeners=events[type]))this.removeListener(type,listeners);else if(void 0!==listeners)for(i=listeners.length-1;i>=0;i--)this.removeListener(type,listeners[i]);return this},EventEmitter.prototype.listeners=function listeners(type){return _listeners(this,type,!0)},EventEmitter.prototype.rawListeners=function rawListeners(type){return _listeners(this,type,!1)},EventEmitter.listenerCount=function(emitter,type){return"function"==typeof emitter.listenerCount?emitter.listenerCount(type):listenerCount.call(emitter,type)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]}},"+rLv":function(module,exports,__webpack_require__){var document=__webpack_require__("dyZX").document;module.exports=document&&document.documentElement},"//T8":function(module,exports){!function($,window,document,undefined){var property,limit,options=$.lazyLoadXT,srcsetSupport="srcset"in new Image,reUrl=/^\s*(\S*)/,reWidth=/\S\s+(\d+)w/,reHeight=/\S\s+(\d+)h/,reDpr=/\S\s+([\d\.]+)x/,infty=[0,1/0],one=[0,1],srcsetOptions={srcsetAttr:"data-srcset",srcsetExtended:!0,srcsetBaseAttr:"data-srcset-base",srcsetExtAttr:"data-srcset-ext"},viewport={w:0,h:0,x:0};for(property in srcsetOptions)undefined===options[property]&&(options[property]=srcsetOptions[property]);function mathFilter(array,action){return Math[action].apply(null,$.map(array,(function(item){return item[property]})))}function compareMax(item){return item[property]>=viewport[property]||item[property]===limit}function compareMin(item){return item[property]===limit}function parseSrcset($el){var srcset=$el.attr(options.srcsetAttr);if(!srcset)return!1;var list=$.map(srcset.replace(/(\s[\d.]+[whx]),/g,"$1 @,@ ").split(" @,@ "),(function(item){return{url:reUrl.exec(item)[1],w:parseFloat((reWidth.exec(item)||infty)[1]),h:parseFloat((reHeight.exec(item)||infty)[1]),x:parseFloat((reDpr.exec(item)||one)[1])}}));if(!list.length)return!1;var whx,src,documentElement=document.documentElement;for(whx in viewport={w:window.innerWidth||documentElement.clientWidth,h:window.innerHeight||documentElement.clientHeight,x:window.devicePixelRatio||1})property=whx,limit=mathFilter(list,"max"),list=$.grep(list,compareMax);for(whx in viewport)property=whx,limit=mathFilter(list,"min"),list=$.grep(list,compareMin);return src=list[0].url,options.srcsetExtended&&(src=($el.attr(options.srcsetBaseAttr)||"")+src+($el.attr(options.srcsetExtAttr)||"")),src}options.selector+=",img["+options.srcsetAttr+"]",$(document).on("lazyshow","img",(function(e,$el){var srcset=$el.attr(options.srcsetAttr);srcset&&(!options.srcsetExtended&&srcsetSupport?$el.attr("srcset",srcset):$el.lazyLoadXT.srcAttr=parseSrcset)}))}(window.jQuery||window.Zepto||window.$,window,document)},"/1W9":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="user-action"},"/8Fb":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),$entries=__webpack_require__("UExd")(!0);$export($export.S,"Object",{entries:function entries(it){return $entries(it)}})},"/9aa":function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__("NykK"),isObjectLike=__webpack_require__("ExA7");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"/KAi":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),_isFinite=__webpack_require__("dyZX").isFinite;$export($export.S,"Number",{isFinite:function isFinite(it){return"number"==typeof it&&_isFinite(it)}})},"/SS/":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Object",{setPrototypeOf:__webpack_require__("i5dc").set})},"/UGS":function(module,exports,__webpack_require__){"use strict";module.exports=function adler32(adler,buf,len,pos){for(var s1=65535&adler|0,s2=adler>>>16&65535|0,n=0;0!==len;){len-=n=len>2e3?2e3:len;do{s2=s2+(s1=s1+buf[pos++]|0)|0}while(--n);s1%=65521,s2%=65521}return s1|s2<<16|0}},"/e88":function(module,exports){module.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"/uf1":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toObject=__webpack_require__("S/j/"),aFunction=__webpack_require__("2OiF"),$defineProperty=__webpack_require__("hswa");__webpack_require__("nh4g")&&$export($export.P+__webpack_require__("xbSm"),"Object",{__defineSetter__:function __defineSetter__(P,setter){$defineProperty.f(toObject(this),P,{set:aFunction(setter),enumerable:!0,configurable:!0})}})},"0/R4":function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},"0E+W":function(module,exports,__webpack_require__){__webpack_require__("elZq")("Array")},"0HMn":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="banner-click"},"0JBz":function(module,exports,__webpack_require__){!function(){"use strict";var $,div,ua,Swiper=function(container,params){if(!(this instanceof Swiper))return new Swiper(container,params);var defaults={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},initialVirtualTranslate=params&&params.virtualTranslate;params=params||{};var originalParams={};for(var param in params)if("object"!=typeof params[param]||null===params[param]||(params[param].nodeType||params[param]===window||params[param]===document||void 0!==Dom7&&params[param]instanceof Dom7||"undefined"!=typeof jQuery&&params[param]instanceof jQuery))originalParams[param]=params[param];else for(var deepParam in originalParams[param]={},params[param])originalParams[param][deepParam]=params[param][deepParam];for(var def in defaults)if(void 0===params[def])params[def]=defaults[def];else if("object"==typeof params[def])for(var deepDef in defaults[def])void 0===params[def][deepDef]&&(params[def][deepDef]=defaults[def][deepDef]);var s=this;if(s.params=params,s.originalParams=originalParams,s.classNames=[],void 0!==$&&void 0!==Dom7&&($=Dom7),(void 0!==$||($=void 0===Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7))&&(s.$=$,s.currentBreakpoint=void 0,s.getActiveBreakpoint=function(){if(!s.params.breakpoints)return!1;var point,breakpoint=!1,points=[];for(point in s.params.breakpoints)s.params.breakpoints.hasOwnProperty(point)&&points.push(point);points.sort((function(a,b){return parseInt(a,10)>parseInt(b,10)}));for(var i=0;i<points.length;i++)(point=points[i])>=window.innerWidth&&!breakpoint&&(breakpoint=point);return breakpoint||"max"},s.setBreakpoint=function(){var breakpoint=s.getActiveBreakpoint();if(breakpoint&&s.currentBreakpoint!==breakpoint){var breakPointsParams=breakpoint in s.params.breakpoints?s.params.breakpoints[breakpoint]:s.originalParams,needsReLoop=s.params.loop&&breakPointsParams.slidesPerView!==s.params.slidesPerView;for(var param in breakPointsParams)s.params[param]=breakPointsParams[param];s.currentBreakpoint=breakpoint,needsReLoop&&s.destroyLoop&&s.reLoop(!0)}},s.params.breakpoints&&s.setBreakpoint(),s.container=$(container),0!==s.container.length)){if(s.container.length>1){var swipers=[];return s.container.each((function(){swipers.push(new Swiper(this,params))})),swipers}s.container[0].swiper=s,s.container.data("swiper",s),s.classNames.push(s.params.containerModifierClass+s.params.direction),s.params.freeMode&&s.classNames.push(s.params.containerModifierClass+"free-mode"),s.support.flexbox||(s.classNames.push(s.params.containerModifierClass+"no-flexbox"),s.params.slidesPerColumn=1),s.params.autoHeight&&s.classNames.push(s.params.containerModifierClass+"autoheight"),(s.params.parallax||s.params.watchSlidesVisibility)&&(s.params.watchSlidesProgress=!0),s.params.touchReleaseOnEdges&&(s.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(s.params.effect)>=0&&(s.support.transforms3d?(s.params.watchSlidesProgress=!0,s.classNames.push(s.params.containerModifierClass+"3d")):s.params.effect="slide"),"slide"!==s.params.effect&&s.classNames.push(s.params.containerModifierClass+s.params.effect),"cube"===s.params.effect&&(s.params.resistanceRatio=0,s.params.slidesPerView=1,s.params.slidesPerColumn=1,s.params.slidesPerGroup=1,s.params.centeredSlides=!1,s.params.spaceBetween=0,s.params.virtualTranslate=!0),"fade"!==s.params.effect&&"flip"!==s.params.effect||(s.params.slidesPerView=1,s.params.slidesPerColumn=1,s.params.slidesPerGroup=1,s.params.watchSlidesProgress=!0,s.params.spaceBetween=0,void 0===initialVirtualTranslate&&(s.params.virtualTranslate=!0)),s.params.grabCursor&&s.support.touch&&(s.params.grabCursor=!1),s.wrapper=s.container.children("."+s.params.wrapperClass),s.params.pagination&&(s.paginationContainer=$(s.params.pagination),s.params.uniqueNavElements&&"string"==typeof s.params.pagination&&s.paginationContainer.length>1&&1===s.container.find(s.params.pagination).length&&(s.paginationContainer=s.container.find(s.params.pagination)),"bullets"===s.params.paginationType&&s.params.paginationClickable?s.paginationContainer.addClass(s.params.paginationModifierClass+"clickable"):s.params.paginationClickable=!1,s.paginationContainer.addClass(s.params.paginationModifierClass+s.params.paginationType)),(s.params.nextButton||s.params.prevButton)&&(s.params.nextButton&&(s.nextButton=$(s.params.nextButton),s.params.uniqueNavElements&&"string"==typeof s.params.nextButton&&s.nextButton.length>1&&1===s.container.find(s.params.nextButton).length&&(s.nextButton=s.container.find(s.params.nextButton))),s.params.prevButton&&(s.prevButton=$(s.params.prevButton),s.params.uniqueNavElements&&"string"==typeof s.params.prevButton&&s.prevButton.length>1&&1===s.container.find(s.params.prevButton).length&&(s.prevButton=s.container.find(s.params.prevButton)))),s.isHorizontal=function(){return"horizontal"===s.params.direction},s.rtl=s.isHorizontal()&&("rtl"===s.container[0].dir.toLowerCase()||"rtl"===s.container.css("direction")),s.rtl&&s.classNames.push(s.params.containerModifierClass+"rtl"),s.rtl&&(s.wrongRTL="-webkit-box"===s.wrapper.css("display")),s.params.slidesPerColumn>1&&s.classNames.push(s.params.containerModifierClass+"multirow"),s.device.android&&s.classNames.push(s.params.containerModifierClass+"android"),s.container.addClass(s.classNames.join(" ")),s.translate=0,s.progress=0,s.velocity=0,s.lockSwipeToNext=function(){s.params.allowSwipeToNext=!1,!1===s.params.allowSwipeToPrev&&s.params.grabCursor&&s.unsetGrabCursor()},s.lockSwipeToPrev=function(){s.params.allowSwipeToPrev=!1,!1===s.params.allowSwipeToNext&&s.params.grabCursor&&s.unsetGrabCursor()},s.lockSwipes=function(){s.params.allowSwipeToNext=s.params.allowSwipeToPrev=!1,s.params.grabCursor&&s.unsetGrabCursor()},s.unlockSwipeToNext=function(){s.params.allowSwipeToNext=!0,!0===s.params.allowSwipeToPrev&&s.params.grabCursor&&s.setGrabCursor()},s.unlockSwipeToPrev=function(){s.params.allowSwipeToPrev=!0,!0===s.params.allowSwipeToNext&&s.params.grabCursor&&s.setGrabCursor()},s.unlockSwipes=function(){s.params.allowSwipeToNext=s.params.allowSwipeToPrev=!0,s.params.grabCursor&&s.setGrabCursor()},s.setGrabCursor=function(moving){s.container[0].style.cursor="move",s.container[0].style.cursor=moving?"-webkit-grabbing":"-webkit-grab",s.container[0].style.cursor=moving?"-moz-grabbin":"-moz-grab",s.container[0].style.cursor=moving?"grabbing":"grab"},s.unsetGrabCursor=function(){s.container[0].style.cursor=""},s.params.grabCursor&&s.setGrabCursor(),s.imagesToLoad=[],s.imagesLoaded=0,s.loadImage=function(imgElement,src,srcset,sizes,checkForComplete,callback){var image;function onReady(){callback&&callback()}imgElement.complete&&checkForComplete?onReady():src?((image=new window.Image).onload=onReady,image.onerror=onReady,sizes&&(image.sizes=sizes),srcset&&(image.srcset=srcset),src&&(image.src=src)):onReady()},s.preloadImages=function(){function _onReady(){null!=s&&s&&(void 0!==s.imagesLoaded&&s.imagesLoaded++,s.imagesLoaded===s.imagesToLoad.length&&(s.params.updateOnImagesReady&&s.update(),s.emit("onImagesReady",s)))}s.imagesToLoad=s.container.find("img");for(var i=0;i<s.imagesToLoad.length;i++)s.loadImage(s.imagesToLoad[i],s.imagesToLoad[i].currentSrc||s.imagesToLoad[i].getAttribute("src"),s.imagesToLoad[i].srcset||s.imagesToLoad[i].getAttribute("srcset"),s.imagesToLoad[i].sizes||s.imagesToLoad[i].getAttribute("sizes"),!0,_onReady)},s.autoplayTimeoutId=void 0,s.autoplaying=!1,s.autoplayPaused=!1,s.startAutoplay=function(){return void 0===s.autoplayTimeoutId&&(!!s.params.autoplay&&(!s.autoplaying&&(s.autoplaying=!0,s.emit("onAutoplayStart",s),void autoplay())))},s.stopAutoplay=function(internal){s.autoplayTimeoutId&&(s.autoplayTimeoutId&&clearTimeout(s.autoplayTimeoutId),s.autoplaying=!1,s.autoplayTimeoutId=void 0,s.emit("onAutoplayStop",s))},s.pauseAutoplay=function(speed){s.autoplayPaused||(s.autoplayTimeoutId&&clearTimeout(s.autoplayTimeoutId),s.autoplayPaused=!0,0===speed?(s.autoplayPaused=!1,autoplay()):s.wrapper.transitionEnd((function(){s&&(s.autoplayPaused=!1,s.autoplaying?autoplay():s.stopAutoplay())})))},s.minTranslate=function(){return-s.snapGrid[0]},s.maxTranslate=function(){return-s.snapGrid[s.snapGrid.length-1]},s.updateAutoHeight=function(){var i,activeSlides=[],newHeight=0;if("auto"!==s.params.slidesPerView&&s.params.slidesPerView>1)for(i=0;i<Math.ceil(s.params.slidesPerView);i++){var index=s.activeIndex+i;if(index>s.slides.length)break;activeSlides.push(s.slides.eq(index)[0])}else activeSlides.push(s.slides.eq(s.activeIndex)[0]);for(i=0;i<activeSlides.length;i++)if(void 0!==activeSlides[i]){var height=activeSlides[i].offsetHeight;newHeight=height>newHeight?height:newHeight}newHeight&&s.wrapper.css("height",newHeight+"px")},s.updateContainerSize=function(){var width,height;width=void 0!==s.params.width?s.params.width:s.container[0].clientWidth,height=void 0!==s.params.height?s.params.height:s.container[0].clientHeight,0===width&&s.isHorizontal()||0===height&&!s.isHorizontal()||(width=width-parseInt(s.container.css("padding-left"),10)-parseInt(s.container.css("padding-right"),10),height=height-parseInt(s.container.css("padding-top"),10)-parseInt(s.container.css("padding-bottom"),10),s.width=width,s.height=height,s.size=s.isHorizontal()?s.width:s.height)},s.updateSlidesSize=function(){s.slides=s.wrapper.children("."+s.params.slideClass),s.snapGrid=[],s.slidesGrid=[],s.slidesSizesGrid=[];var i,spaceBetween=s.params.spaceBetween,slidePosition=-s.params.slidesOffsetBefore,prevSlideSize=0,index=0;if(void 0!==s.size){var slidesNumberEvenToRows,slideSize;"string"==typeof spaceBetween&&spaceBetween.indexOf("%")>=0&&(spaceBetween=parseFloat(spaceBetween.replace("%",""))/100*s.size),s.virtualSize=-spaceBetween,s.rtl?s.slides.css({marginLeft:"",marginTop:""}):s.slides.css({marginRight:"",marginBottom:""}),s.params.slidesPerColumn>1&&(slidesNumberEvenToRows=Math.floor(s.slides.length/s.params.slidesPerColumn)===s.slides.length/s.params.slidesPerColumn?s.slides.length:Math.ceil(s.slides.length/s.params.slidesPerColumn)*s.params.slidesPerColumn,"auto"!==s.params.slidesPerView&&"row"===s.params.slidesPerColumnFill&&(slidesNumberEvenToRows=Math.max(slidesNumberEvenToRows,s.params.slidesPerView*s.params.slidesPerColumn)));var newSlidesGrid,slidesPerColumn=s.params.slidesPerColumn,slidesPerRow=slidesNumberEvenToRows/slidesPerColumn,numFullColumns=slidesPerRow-(s.params.slidesPerColumn*slidesPerRow-s.slides.length);for(i=0;i<s.slides.length;i++){slideSize=0;var newSlideOrderIndex,column,row,slide=s.slides.eq(i);if(s.params.slidesPerColumn>1)"column"===s.params.slidesPerColumnFill?(row=i-(column=Math.floor(i/slidesPerColumn))*slidesPerColumn,(column>numFullColumns||column===numFullColumns&&row===slidesPerColumn-1)&&++row>=slidesPerColumn&&(row=0,column++),newSlideOrderIndex=column+row*slidesNumberEvenToRows/slidesPerColumn,slide.css({"-webkit-box-ordinal-group":newSlideOrderIndex,"-moz-box-ordinal-group":newSlideOrderIndex,"-ms-flex-order":newSlideOrderIndex,"-webkit-order":newSlideOrderIndex,order:newSlideOrderIndex})):column=i-(row=Math.floor(i/slidesPerRow))*slidesPerRow,slide.css("margin-"+(s.isHorizontal()?"top":"left"),0!==row&&s.params.spaceBetween&&s.params.spaceBetween+"px").attr("data-swiper-column",column).attr("data-swiper-row",row);"none"!==slide.css("display")&&("auto"===s.params.slidesPerView?(slideSize=s.isHorizontal()?slide.outerWidth(!0):slide.outerHeight(!0),s.params.roundLengths&&(slideSize=round(slideSize))):(slideSize=(s.size-(s.params.slidesPerView-1)*spaceBetween)/s.params.slidesPerView,s.params.roundLengths&&(slideSize=round(slideSize)),s.isHorizontal()?s.slides[i].style.width=slideSize+"px":s.slides[i].style.height=slideSize+"px"),s.slides[i].swiperSlideSize=slideSize,s.slidesSizesGrid.push(slideSize),s.params.centeredSlides?(slidePosition=slidePosition+slideSize/2+prevSlideSize/2+spaceBetween,0===prevSlideSize&&0!==i&&(slidePosition=slidePosition-s.size/2-spaceBetween),0===i&&(slidePosition=slidePosition-s.size/2-spaceBetween),Math.abs(slidePosition)<.001&&(slidePosition=0),index%s.params.slidesPerGroup==0&&s.snapGrid.push(slidePosition),s.slidesGrid.push(slidePosition)):(index%s.params.slidesPerGroup==0&&s.snapGrid.push(slidePosition),s.slidesGrid.push(slidePosition),slidePosition=slidePosition+slideSize+spaceBetween),s.virtualSize+=slideSize+spaceBetween,prevSlideSize=slideSize,index++)}if(s.virtualSize=Math.max(s.virtualSize,s.size)+s.params.slidesOffsetAfter,s.rtl&&s.wrongRTL&&("slide"===s.params.effect||"coverflow"===s.params.effect)&&s.wrapper.css({width:s.virtualSize+s.params.spaceBetween+"px"}),s.support.flexbox&&!s.params.setWrapperSize||(s.isHorizontal()?s.wrapper.css({width:s.virtualSize+s.params.spaceBetween+"px"}):s.wrapper.css({height:s.virtualSize+s.params.spaceBetween+"px"})),s.params.slidesPerColumn>1&&(s.virtualSize=(slideSize+s.params.spaceBetween)*slidesNumberEvenToRows,s.virtualSize=Math.ceil(s.virtualSize/s.params.slidesPerColumn)-s.params.spaceBetween,s.isHorizontal()?s.wrapper.css({width:s.virtualSize+s.params.spaceBetween+"px"}):s.wrapper.css({height:s.virtualSize+s.params.spaceBetween+"px"}),s.params.centeredSlides)){for(newSlidesGrid=[],i=0;i<s.snapGrid.length;i++)s.snapGrid[i]<s.virtualSize+s.snapGrid[0]&&newSlidesGrid.push(s.snapGrid[i]);s.snapGrid=newSlidesGrid}if(!s.params.centeredSlides){for(newSlidesGrid=[],i=0;i<s.snapGrid.length;i++)s.snapGrid[i]<=s.virtualSize-s.size&&newSlidesGrid.push(s.snapGrid[i]);s.snapGrid=newSlidesGrid,Math.floor(s.virtualSize-s.size)-Math.floor(s.snapGrid[s.snapGrid.length-1])>1&&s.snapGrid.push(s.virtualSize-s.size)}0===s.snapGrid.length&&(s.snapGrid=[0]),0!==s.params.spaceBetween&&(s.isHorizontal()?s.rtl?s.slides.css({marginLeft:spaceBetween+"px"}):s.slides.css({marginRight:spaceBetween+"px"}):s.slides.css({marginBottom:spaceBetween+"px"})),s.params.watchSlidesProgress&&s.updateSlidesOffset()}},s.updateSlidesOffset=function(){for(var i=0;i<s.slides.length;i++)s.slides[i].swiperSlideOffset=s.isHorizontal()?s.slides[i].offsetLeft:s.slides[i].offsetTop},s.currentSlidesPerView=function(){var i,j,spv=1;if(s.params.centeredSlides){var breakLoop,size=s.slides[s.activeIndex].swiperSlideSize;for(i=s.activeIndex+1;i<s.slides.length;i++)s.slides[i]&&!breakLoop&&(spv++,(size+=s.slides[i].swiperSlideSize)>s.size&&(breakLoop=!0));for(j=s.activeIndex-1;j>=0;j--)s.slides[j]&&!breakLoop&&(spv++,(size+=s.slides[j].swiperSlideSize)>s.size&&(breakLoop=!0))}else for(i=s.activeIndex+1;i<s.slides.length;i++)s.slidesGrid[i]-s.slidesGrid[s.activeIndex]<s.size&&spv++;return spv},s.updateSlidesProgress=function(translate){if(void 0===translate&&(translate=s.translate||0),0!==s.slides.length){void 0===s.slides[0].swiperSlideOffset&&s.updateSlidesOffset();var offsetCenter=-translate;s.rtl&&(offsetCenter=translate),s.slides.removeClass(s.params.slideVisibleClass);for(var i=0;i<s.slides.length;i++){var slide=s.slides[i],slideProgress=(offsetCenter+(s.params.centeredSlides?s.minTranslate():0)-slide.swiperSlideOffset)/(slide.swiperSlideSize+s.params.spaceBetween);if(s.params.watchSlidesVisibility){var slideBefore=-(offsetCenter-slide.swiperSlideOffset),slideAfter=slideBefore+s.slidesSizesGrid[i];(slideBefore>=0&&slideBefore<s.size||slideAfter>0&&slideAfter<=s.size||slideBefore<=0&&slideAfter>=s.size)&&s.slides.eq(i).addClass(s.params.slideVisibleClass)}slide.progress=s.rtl?-slideProgress:slideProgress}}},s.updateProgress=function(translate){void 0===translate&&(translate=s.translate||0);var translatesDiff=s.maxTranslate()-s.minTranslate(),wasBeginning=s.isBeginning,wasEnd=s.isEnd;0===translatesDiff?(s.progress=0,s.isBeginning=s.isEnd=!0):(s.progress=(translate-s.minTranslate())/translatesDiff,s.isBeginning=s.progress<=0,s.isEnd=s.progress>=1),s.isBeginning&&!wasBeginning&&s.emit("onReachBeginning",s),s.isEnd&&!wasEnd&&s.emit("onReachEnd",s),s.params.watchSlidesProgress&&s.updateSlidesProgress(translate),s.emit("onProgress",s,s.progress)},s.updateActiveIndex=function(){var newActiveIndex,i,snapIndex,translate=s.rtl?s.translate:-s.translate;for(i=0;i<s.slidesGrid.length;i++)void 0!==s.slidesGrid[i+1]?translate>=s.slidesGrid[i]&&translate<s.slidesGrid[i+1]-(s.slidesGrid[i+1]-s.slidesGrid[i])/2?newActiveIndex=i:translate>=s.slidesGrid[i]&&translate<s.slidesGrid[i+1]&&(newActiveIndex=i+1):translate>=s.slidesGrid[i]&&(newActiveIndex=i);s.params.normalizeSlideIndex&&(newActiveIndex<0||void 0===newActiveIndex)&&(newActiveIndex=0),(snapIndex=Math.floor(newActiveIndex/s.params.slidesPerGroup))>=s.snapGrid.length&&(snapIndex=s.snapGrid.length-1),newActiveIndex!==s.activeIndex&&(s.snapIndex=snapIndex,s.previousIndex=s.activeIndex,s.activeIndex=newActiveIndex,s.updateClasses(),s.updateRealIndex())},s.updateRealIndex=function(){s.realIndex=parseInt(s.slides.eq(s.activeIndex).attr("data-swiper-slide-index")||s.activeIndex,10)},s.updateClasses=function(){s.slides.removeClass(s.params.slideActiveClass+" "+s.params.slideNextClass+" "+s.params.slidePrevClass+" "+s.params.slideDuplicateActiveClass+" "+s.params.slideDuplicateNextClass+" "+s.params.slideDuplicatePrevClass);var activeSlide=s.slides.eq(s.activeIndex);activeSlide.addClass(s.params.slideActiveClass),params.loop&&(activeSlide.hasClass(s.params.slideDuplicateClass)?s.wrapper.children("."+s.params.slideClass+":not(."+s.params.slideDuplicateClass+')[data-swiper-slide-index="'+s.realIndex+'"]').addClass(s.params.slideDuplicateActiveClass):s.wrapper.children("."+s.params.slideClass+"."+s.params.slideDuplicateClass+'[data-swiper-slide-index="'+s.realIndex+'"]').addClass(s.params.slideDuplicateActiveClass));var nextSlide=activeSlide.next("."+s.params.slideClass).addClass(s.params.slideNextClass);s.params.loop&&0===nextSlide.length&&(nextSlide=s.slides.eq(0)).addClass(s.params.slideNextClass);var prevSlide=activeSlide.prev("."+s.params.slideClass).addClass(s.params.slidePrevClass);if(s.params.loop&&0===prevSlide.length&&(prevSlide=s.slides.eq(-1)).addClass(s.params.slidePrevClass),params.loop&&(nextSlide.hasClass(s.params.slideDuplicateClass)?s.wrapper.children("."+s.params.slideClass+":not(."+s.params.slideDuplicateClass+')[data-swiper-slide-index="'+nextSlide.attr("data-swiper-slide-index")+'"]').addClass(s.params.slideDuplicateNextClass):s.wrapper.children("."+s.params.slideClass+"."+s.params.slideDuplicateClass+'[data-swiper-slide-index="'+nextSlide.attr("data-swiper-slide-index")+'"]').addClass(s.params.slideDuplicateNextClass),prevSlide.hasClass(s.params.slideDuplicateClass)?s.wrapper.children("."+s.params.slideClass+":not(."+s.params.slideDuplicateClass+')[data-swiper-slide-index="'+prevSlide.attr("data-swiper-slide-index")+'"]').addClass(s.params.slideDuplicatePrevClass):s.wrapper.children("."+s.params.slideClass+"."+s.params.slideDuplicateClass+'[data-swiper-slide-index="'+prevSlide.attr("data-swiper-slide-index")+'"]').addClass(s.params.slideDuplicatePrevClass)),s.paginationContainer&&s.paginationContainer.length>0){var current,total=s.params.loop?Math.ceil((s.slides.length-2*s.loopedSlides)/s.params.slidesPerGroup):s.snapGrid.length;if(s.params.loop?((current=Math.ceil((s.activeIndex-s.loopedSlides)/s.params.slidesPerGroup))>s.slides.length-1-2*s.loopedSlides&&(current-=s.slides.length-2*s.loopedSlides),current>total-1&&(current-=total),current<0&&"bullets"!==s.params.paginationType&&(current=total+current)):current=void 0!==s.snapIndex?s.snapIndex:s.activeIndex||0,"bullets"===s.params.paginationType&&s.bullets&&s.bullets.length>0&&(s.bullets.removeClass(s.params.bulletActiveClass),s.paginationContainer.length>1?s.bullets.each((function(){$(this).index()===current&&$(this).addClass(s.params.bulletActiveClass)})):s.bullets.eq(current).addClass(s.params.bulletActiveClass)),"fraction"===s.params.paginationType&&(s.paginationContainer.find("."+s.params.paginationCurrentClass).text(current+1),s.paginationContainer.find("."+s.params.paginationTotalClass).text(total)),"progress"===s.params.paginationType){var scale=(current+1)/total,scaleX=scale,scaleY=1;s.isHorizontal()||(scaleY=scale,scaleX=1),s.paginationContainer.find("."+s.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX("+scaleX+") scaleY("+scaleY+")").transition(s.params.speed)}"custom"===s.params.paginationType&&s.params.paginationCustomRender&&(s.paginationContainer.html(s.params.paginationCustomRender(s,current+1,total)),s.emit("onPaginationRendered",s,s.paginationContainer[0]))}s.params.loop||(s.params.prevButton&&s.prevButton&&s.prevButton.length>0&&(s.isBeginning?(s.prevButton.addClass(s.params.buttonDisabledClass),s.params.a11y&&s.a11y&&s.a11y.disable(s.prevButton)):(s.prevButton.removeClass(s.params.buttonDisabledClass),s.params.a11y&&s.a11y&&s.a11y.enable(s.prevButton))),s.params.nextButton&&s.nextButton&&s.nextButton.length>0&&(s.isEnd?(s.nextButton.addClass(s.params.buttonDisabledClass),s.params.a11y&&s.a11y&&s.a11y.disable(s.nextButton)):(s.nextButton.removeClass(s.params.buttonDisabledClass),s.params.a11y&&s.a11y&&s.a11y.enable(s.nextButton))))},s.updatePagination=function(){if(s.params.pagination&&s.paginationContainer&&s.paginationContainer.length>0){var paginationHTML="";if("bullets"===s.params.paginationType){for(var numberOfBullets=s.params.loop?Math.ceil((s.slides.length-2*s.loopedSlides)/s.params.slidesPerGroup):s.snapGrid.length,i=0;i<numberOfBullets;i++)s.params.paginationBulletRender?paginationHTML+=s.params.paginationBulletRender(s,i,s.params.bulletClass):paginationHTML+="<"+s.params.paginationElement+' class="'+s.params.bulletClass+'"></'+s.params.paginationElement+">";s.paginationContainer.html(paginationHTML),s.bullets=s.paginationContainer.find("."+s.params.bulletClass),s.params.paginationClickable&&s.params.a11y&&s.a11y&&s.a11y.initPagination()}"fraction"===s.params.paginationType&&(paginationHTML=s.params.paginationFractionRender?s.params.paginationFractionRender(s,s.params.paginationCurrentClass,s.params.paginationTotalClass):'<span class="'+s.params.paginationCurrentClass+'"></span> / <span class="'+s.params.paginationTotalClass+'"></span>',s.paginationContainer.html(paginationHTML)),"progress"===s.params.paginationType&&(paginationHTML=s.params.paginationProgressRender?s.params.paginationProgressRender(s,s.params.paginationProgressbarClass):'<span class="'+s.params.paginationProgressbarClass+'"></span>',s.paginationContainer.html(paginationHTML)),"custom"!==s.params.paginationType&&s.emit("onPaginationRendered",s,s.paginationContainer[0])}},s.update=function(updateTranslate){var newTranslate;s&&(s.updateContainerSize(),s.updateSlidesSize(),s.updateProgress(),s.updatePagination(),s.updateClasses(),s.params.scrollbar&&s.scrollbar&&s.scrollbar.set(),updateTranslate?(s.controller&&s.controller.spline&&(s.controller.spline=void 0),s.params.freeMode?(forceSetTranslate(),s.params.autoHeight&&s.updateAutoHeight()):(("auto"===s.params.slidesPerView||s.params.slidesPerView>1)&&s.isEnd&&!s.params.centeredSlides?s.slideTo(s.slides.length-1,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0))||forceSetTranslate()):s.params.autoHeight&&s.updateAutoHeight());function forceSetTranslate(){s.rtl,s.translate;newTranslate=Math.min(Math.max(s.translate,s.maxTranslate()),s.minTranslate()),s.setWrapperTranslate(newTranslate),s.updateActiveIndex(),s.updateClasses()}},s.onResize=function(forceUpdatePagination){s.params.onBeforeResize&&s.params.onBeforeResize(s),s.params.breakpoints&&s.setBreakpoint();var allowSwipeToPrev=s.params.allowSwipeToPrev,allowSwipeToNext=s.params.allowSwipeToNext;s.params.allowSwipeToPrev=s.params.allowSwipeToNext=!0,s.updateContainerSize(),s.updateSlidesSize(),("auto"===s.params.slidesPerView||s.params.freeMode||forceUpdatePagination)&&s.updatePagination(),s.params.scrollbar&&s.scrollbar&&s.scrollbar.set(),s.controller&&s.controller.spline&&(s.controller.spline=void 0);var slideChangedBySlideTo=!1;if(s.params.freeMode){var newTranslate=Math.min(Math.max(s.translate,s.maxTranslate()),s.minTranslate());s.setWrapperTranslate(newTranslate),s.updateActiveIndex(),s.updateClasses(),s.params.autoHeight&&s.updateAutoHeight()}else s.updateClasses(),slideChangedBySlideTo=("auto"===s.params.slidesPerView||s.params.slidesPerView>1)&&s.isEnd&&!s.params.centeredSlides?s.slideTo(s.slides.length-1,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0);s.params.lazyLoading&&!slideChangedBySlideTo&&s.lazy&&s.lazy.load(),s.params.allowSwipeToPrev=allowSwipeToPrev,s.params.allowSwipeToNext=allowSwipeToNext,s.params.onAfterResize&&s.params.onAfterResize(s)},s.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?s.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(s.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),s.touchEvents={start:s.support.touch||!s.params.simulateTouch?"touchstart":s.touchEventsDesktop.start,move:s.support.touch||!s.params.simulateTouch?"touchmove":s.touchEventsDesktop.move,end:s.support.touch||!s.params.simulateTouch?"touchend":s.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===s.params.touchEventsTarget?s.container:s.wrapper).addClass("swiper-wp8-"+s.params.direction),s.initEvents=function(detach){var actionDom=detach?"off":"on",action=detach?"removeEventListener":"addEventListener",touchEventsTarget="container"===s.params.touchEventsTarget?s.container[0]:s.wrapper[0],target=s.support.touch?touchEventsTarget:document,moveCapture=!!s.params.nested;if(s.browser.ie)touchEventsTarget[action](s.touchEvents.start,s.onTouchStart,!1),target[action](s.touchEvents.move,s.onTouchMove,moveCapture),target[action](s.touchEvents.end,s.onTouchEnd,!1);else{if(s.support.touch){var passiveListener=!("touchstart"!==s.touchEvents.start||!s.support.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1};touchEventsTarget[action](s.touchEvents.start,s.onTouchStart,passiveListener),touchEventsTarget[action](s.touchEvents.move,s.onTouchMove,moveCapture),touchEventsTarget[action](s.touchEvents.end,s.onTouchEnd,passiveListener)}(params.simulateTouch&&!s.device.ios&&!s.device.android||params.simulateTouch&&!s.support.touch&&s.device.ios)&&(touchEventsTarget[action]("mousedown",s.onTouchStart,!1),document[action]("mousemove",s.onTouchMove,moveCapture),document[action]("mouseup",s.onTouchEnd,!1))}window[action]("resize",s.onResize),s.params.nextButton&&s.nextButton&&s.nextButton.length>0&&(s.nextButton[actionDom]("click",s.onClickNext),s.params.a11y&&s.a11y&&s.nextButton[actionDom]("keydown",s.a11y.onEnterKey)),s.params.prevButton&&s.prevButton&&s.prevButton.length>0&&(s.prevButton[actionDom]("click",s.onClickPrev),s.params.a11y&&s.a11y&&s.prevButton[actionDom]("keydown",s.a11y.onEnterKey)),s.params.pagination&&s.params.paginationClickable&&(s.paginationContainer[actionDom]("click","."+s.params.bulletClass,s.onClickIndex),s.params.a11y&&s.a11y&&s.paginationContainer[actionDom]("keydown","."+s.params.bulletClass,s.a11y.onEnterKey)),(s.params.preventClicks||s.params.preventClicksPropagation)&&touchEventsTarget[action]("click",s.preventClicks,!0)},s.attachEvents=function(){s.initEvents()},s.detachEvents=function(){s.initEvents(!0)},s.allowClick=!0,s.preventClicks=function(e){s.allowClick||(s.params.preventClicks&&e.preventDefault(),s.params.preventClicksPropagation&&s.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))},s.onClickNext=function(e){e.preventDefault(),s.isEnd&&!s.params.loop||s.slideNext()},s.onClickPrev=function(e){e.preventDefault(),s.isBeginning&&!s.params.loop||s.slidePrev()},s.onClickIndex=function(e){e.preventDefault();var index=$(this).index()*s.params.slidesPerGroup;s.params.loop&&(index+=s.loopedSlides),s.slideTo(index)},s.updateClickedSlide=function(e){var slide=findElementInEvent(e,"."+s.params.slideClass),slideFound=!1;if(slide)for(var i=0;i<s.slides.length;i++)s.slides[i]===slide&&(slideFound=!0);if(!slide||!slideFound)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);if(s.clickedSlide=slide,s.clickedIndex=$(slide).index(),s.params.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex){var realIndex,slideToIndex=s.clickedIndex,slidesPerView="auto"===s.params.slidesPerView?s.currentSlidesPerView():s.params.slidesPerView;if(s.params.loop){if(s.animating)return;realIndex=parseInt($(s.clickedSlide).attr("data-swiper-slide-index"),10),s.params.centeredSlides?slideToIndex<s.loopedSlides-slidesPerView/2||slideToIndex>s.slides.length-s.loopedSlides+slidesPerView/2?(s.fixLoop(),slideToIndex=s.wrapper.children("."+s.params.slideClass+'[data-swiper-slide-index="'+realIndex+'"]:not(.'+s.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){s.slideTo(slideToIndex)}),0)):s.slideTo(slideToIndex):slideToIndex>s.slides.length-slidesPerView?(s.fixLoop(),slideToIndex=s.wrapper.children("."+s.params.slideClass+'[data-swiper-slide-index="'+realIndex+'"]:not(.'+s.params.slideDuplicateClass+")").eq(0).index(),setTimeout((function(){s.slideTo(slideToIndex)}),0)):s.slideTo(slideToIndex)}else s.slideTo(slideToIndex)}};var isTouched,isMoved,allowTouchCallbacks,touchStartTime,isScrolling,currentTranslate,startTranslate,allowThresholdMove,clickTimeout,allowMomentumBounce,isTouchEvent,startMoving,formElements="input, select, textarea, button, video",lastClickTime=Date.now(),velocities=[];for(var plugin in s.animating=!1,s.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},s.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),(isTouchEvent="touchstart"===e.type)||!("which"in e)||3!==e.which)if(s.params.noSwiping&&findElementInEvent(e,"."+s.params.noSwipingClass))s.allowClick=!0;else if(!s.params.swipeHandler||findElementInEvent(e,s.params.swipeHandler)){var startX=s.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,startY=s.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(s.device.ios&&s.params.iOSEdgeSwipeDetection&&startX<=s.params.iOSEdgeSwipeThreshold)){if(isTouched=!0,isMoved=!1,allowTouchCallbacks=!0,isScrolling=void 0,startMoving=void 0,s.touches.startX=startX,s.touches.startY=startY,touchStartTime=Date.now(),s.allowClick=!0,s.updateContainerSize(),s.swipeDirection=void 0,s.params.threshold>0&&(allowThresholdMove=!1),"touchstart"!==e.type){var preventDefault=!0;$(e.target).is(formElements)&&(preventDefault=!1),document.activeElement&&$(document.activeElement).is(formElements)&&document.activeElement.blur(),preventDefault&&e.preventDefault()}s.emit("onTouchStart",s,e)}}},s.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!isTouchEvent||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return s.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(s.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(s.params.onlyExternal)return s.allowClick=!1,void(isTouched&&(s.touches.startX=s.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touches.startY=s.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,touchStartTime=Date.now()));if(isTouchEvent&&s.params.touchReleaseOnEdges&&!s.params.loop)if(s.isHorizontal()){if(s.touches.currentX<s.touches.startX&&s.translate<=s.maxTranslate()||s.touches.currentX>s.touches.startX&&s.translate>=s.minTranslate())return}else if(s.touches.currentY<s.touches.startY&&s.translate<=s.maxTranslate()||s.touches.currentY>s.touches.startY&&s.translate>=s.minTranslate())return;if(isTouchEvent&&document.activeElement&&e.target===document.activeElement&&$(e.target).is(formElements))return isMoved=!0,void(s.allowClick=!1);if(allowTouchCallbacks&&s.emit("onTouchMove",s,e),!(e.targetTouches&&e.targetTouches.length>1)){var touchAngle;if(s.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,void 0===isScrolling)s.isHorizontal()&&s.touches.currentY===s.touches.startY||!s.isHorizontal()&&s.touches.currentX===s.touches.startX?isScrolling=!1:(touchAngle=180*Math.atan2(Math.abs(s.touches.currentY-s.touches.startY),Math.abs(s.touches.currentX-s.touches.startX))/Math.PI,isScrolling=s.isHorizontal()?touchAngle>s.params.touchAngle:90-touchAngle>s.params.touchAngle);if(isScrolling&&s.emit("onTouchMoveOpposite",s,e),void 0===startMoving&&(s.touches.currentX===s.touches.startX&&s.touches.currentY===s.touches.startY||(startMoving=!0)),isTouched)if(isScrolling)isTouched=!1;else if(startMoving){s.allowClick=!1,s.emit("onSliderMove",s,e),e.preventDefault(),s.params.touchMoveStopPropagation&&!s.params.nested&&e.stopPropagation(),isMoved||(params.loop&&s.fixLoop(),startTranslate=s.getWrapperTranslate(),s.setWrapperTransition(0),s.animating&&s.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),s.params.autoplay&&s.autoplaying&&(s.params.autoplayDisableOnInteraction?s.stopAutoplay():s.pauseAutoplay()),allowMomentumBounce=!1,!s.params.grabCursor||!0!==s.params.allowSwipeToNext&&!0!==s.params.allowSwipeToPrev||s.setGrabCursor(!0)),isMoved=!0;var diff=s.touches.diff=s.isHorizontal()?s.touches.currentX-s.touches.startX:s.touches.currentY-s.touches.startY;diff*=s.params.touchRatio,s.rtl&&(diff=-diff),s.swipeDirection=diff>0?"prev":"next",currentTranslate=diff+startTranslate;var disableParentSwiper=!0;if(diff>0&&currentTranslate>s.minTranslate()?(disableParentSwiper=!1,s.params.resistance&&(currentTranslate=s.minTranslate()-1+Math.pow(-s.minTranslate()+startTranslate+diff,s.params.resistanceRatio))):diff<0&&currentTranslate<s.maxTranslate()&&(disableParentSwiper=!1,s.params.resistance&&(currentTranslate=s.maxTranslate()+1-Math.pow(s.maxTranslate()-startTranslate-diff,s.params.resistanceRatio))),disableParentSwiper&&(e.preventedByNestedSwiper=!0),!s.params.allowSwipeToNext&&"next"===s.swipeDirection&&currentTranslate<startTranslate&&(currentTranslate=startTranslate),!s.params.allowSwipeToPrev&&"prev"===s.swipeDirection&&currentTranslate>startTranslate&&(currentTranslate=startTranslate),s.params.threshold>0){if(!(Math.abs(diff)>s.params.threshold||allowThresholdMove))return void(currentTranslate=startTranslate);if(!allowThresholdMove)return allowThresholdMove=!0,s.touches.startX=s.touches.currentX,s.touches.startY=s.touches.currentY,currentTranslate=startTranslate,void(s.touches.diff=s.isHorizontal()?s.touches.currentX-s.touches.startX:s.touches.currentY-s.touches.startY)}s.params.followFinger&&((s.params.freeMode||s.params.watchSlidesProgress)&&s.updateActiveIndex(),s.params.freeMode&&(0===velocities.length&&velocities.push({position:s.touches[s.isHorizontal()?"startX":"startY"],time:touchStartTime}),velocities.push({position:s.touches[s.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),s.updateProgress(currentTranslate),s.setWrapperTranslate(currentTranslate))}}}},s.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),allowTouchCallbacks&&s.emit("onTouchEnd",s,e),allowTouchCallbacks=!1,isTouched){s.params.grabCursor&&isMoved&&isTouched&&(!0===s.params.allowSwipeToNext||!0===s.params.allowSwipeToPrev)&&s.setGrabCursor(!1);var currentPos,touchEndTime=Date.now(),timeDiff=touchEndTime-touchStartTime;if(s.allowClick&&(s.updateClickedSlide(e),s.emit("onTap",s,e),timeDiff<300&&touchEndTime-lastClickTime>300&&(clickTimeout&&clearTimeout(clickTimeout),clickTimeout=setTimeout((function(){s&&(s.params.paginationHide&&s.paginationContainer.length>0&&!$(e.target).hasClass(s.params.bulletClass)&&s.paginationContainer.toggleClass(s.params.paginationHiddenClass),s.emit("onClick",s,e))}),300)),timeDiff<300&&touchEndTime-lastClickTime<300&&(clickTimeout&&clearTimeout(clickTimeout),s.emit("onDoubleTap",s,e))),lastClickTime=Date.now(),setTimeout((function(){s&&(s.allowClick=!0)}),0),isTouched&&isMoved&&s.swipeDirection&&0!==s.touches.diff&&currentTranslate!==startTranslate)if(isTouched=isMoved=!1,currentPos=s.params.followFinger?s.rtl?s.translate:-s.translate:-currentTranslate,s.params.freeMode){if(currentPos<-s.minTranslate())return void s.slideTo(s.activeIndex);if(currentPos>-s.maxTranslate())return void(s.slides.length<s.snapGrid.length?s.slideTo(s.snapGrid.length-1):s.slideTo(s.slides.length-1));if(s.params.freeModeMomentum){if(velocities.length>1){var lastMoveEvent=velocities.pop(),velocityEvent=velocities.pop(),distance=lastMoveEvent.position-velocityEvent.position,time=lastMoveEvent.time-velocityEvent.time;s.velocity=distance/time,s.velocity=s.velocity/2,Math.abs(s.velocity)<s.params.freeModeMinimumVelocity&&(s.velocity=0),(time>150||(new window.Date).getTime()-lastMoveEvent.time>300)&&(s.velocity=0)}else s.velocity=0;s.velocity=s.velocity*s.params.freeModeMomentumVelocityRatio,velocities.length=0;var momentumDuration=1e3*s.params.freeModeMomentumRatio,momentumDistance=s.velocity*momentumDuration,newPosition=s.translate+momentumDistance;s.rtl&&(newPosition=-newPosition);var afterBouncePosition,doBounce=!1,bounceAmount=20*Math.abs(s.velocity)*s.params.freeModeMomentumBounceRatio;if(newPosition<s.maxTranslate())s.params.freeModeMomentumBounce?(newPosition+s.maxTranslate()<-bounceAmount&&(newPosition=s.maxTranslate()-bounceAmount),afterBouncePosition=s.maxTranslate(),doBounce=!0,allowMomentumBounce=!0):newPosition=s.maxTranslate();else if(newPosition>s.minTranslate())s.params.freeModeMomentumBounce?(newPosition-s.minTranslate()>bounceAmount&&(newPosition=s.minTranslate()+bounceAmount),afterBouncePosition=s.minTranslate(),doBounce=!0,allowMomentumBounce=!0):newPosition=s.minTranslate();else if(s.params.freeModeSticky){var nextSlide,j=0;for(j=0;j<s.snapGrid.length;j+=1)if(s.snapGrid[j]>-newPosition){nextSlide=j;break}newPosition=Math.abs(s.snapGrid[nextSlide]-newPosition)<Math.abs(s.snapGrid[nextSlide-1]-newPosition)||"next"===s.swipeDirection?s.snapGrid[nextSlide]:s.snapGrid[nextSlide-1],s.rtl||(newPosition=-newPosition)}if(0!==s.velocity)momentumDuration=s.rtl?Math.abs((-newPosition-s.translate)/s.velocity):Math.abs((newPosition-s.translate)/s.velocity);else if(s.params.freeModeSticky)return void s.slideReset();s.params.freeModeMomentumBounce&&doBounce?(s.updateProgress(afterBouncePosition),s.setWrapperTransition(momentumDuration),s.setWrapperTranslate(newPosition),s.onTransitionStart(),s.animating=!0,s.wrapper.transitionEnd((function(){s&&allowMomentumBounce&&(s.emit("onMomentumBounce",s),s.setWrapperTransition(s.params.speed),s.setWrapperTranslate(afterBouncePosition),s.wrapper.transitionEnd((function(){s&&s.onTransitionEnd()})))}))):s.velocity?(s.updateProgress(newPosition),s.setWrapperTransition(momentumDuration),s.setWrapperTranslate(newPosition),s.onTransitionStart(),s.animating||(s.animating=!0,s.wrapper.transitionEnd((function(){s&&s.onTransitionEnd()})))):s.updateProgress(newPosition),s.updateActiveIndex()}(!s.params.freeModeMomentum||timeDiff>=s.params.longSwipesMs)&&(s.updateProgress(),s.updateActiveIndex())}else{var i,stopIndex=0,groupSize=s.slidesSizesGrid[0];for(i=0;i<s.slidesGrid.length;i+=s.params.slidesPerGroup)void 0!==s.slidesGrid[i+s.params.slidesPerGroup]?currentPos>=s.slidesGrid[i]&&currentPos<s.slidesGrid[i+s.params.slidesPerGroup]&&(stopIndex=i,groupSize=s.slidesGrid[i+s.params.slidesPerGroup]-s.slidesGrid[i]):currentPos>=s.slidesGrid[i]&&(stopIndex=i,groupSize=s.slidesGrid[s.slidesGrid.length-1]-s.slidesGrid[s.slidesGrid.length-2]);var ratio=(currentPos-s.slidesGrid[stopIndex])/groupSize;if(timeDiff>s.params.longSwipesMs){if(!s.params.longSwipes)return void s.slideTo(s.activeIndex);"next"===s.swipeDirection&&(ratio>=s.params.longSwipesRatio?s.slideTo(stopIndex+s.params.slidesPerGroup):s.slideTo(stopIndex)),"prev"===s.swipeDirection&&(ratio>1-s.params.longSwipesRatio?s.slideTo(stopIndex+s.params.slidesPerGroup):s.slideTo(stopIndex))}else{if(!s.params.shortSwipes)return void s.slideTo(s.activeIndex);"next"===s.swipeDirection&&s.slideTo(stopIndex+s.params.slidesPerGroup),"prev"===s.swipeDirection&&s.slideTo(stopIndex)}}else isTouched=isMoved=!1}},s._slideTo=function(slideIndex,speed){return s.slideTo(slideIndex,speed,!0,!0)},s.slideTo=function(slideIndex,speed,runCallbacks,internal){void 0===runCallbacks&&(runCallbacks=!0),void 0===slideIndex&&(slideIndex=0),slideIndex<0&&(slideIndex=0),s.snapIndex=Math.floor(slideIndex/s.params.slidesPerGroup),s.snapIndex>=s.snapGrid.length&&(s.snapIndex=s.snapGrid.length-1);var translate=-s.snapGrid[s.snapIndex];if(s.params.autoplay&&s.autoplaying&&(internal||!s.params.autoplayDisableOnInteraction?s.pauseAutoplay(speed):s.stopAutoplay()),s.updateProgress(translate),s.params.normalizeSlideIndex)for(var i=0;i<s.slidesGrid.length;i++)-Math.floor(100*translate)>=Math.floor(100*s.slidesGrid[i])&&(slideIndex=i);return!(!s.params.allowSwipeToNext&&translate<s.translate&&translate<s.minTranslate())&&(!(!s.params.allowSwipeToPrev&&translate>s.translate&&translate>s.maxTranslate()&&(s.activeIndex||0)!==slideIndex)&&(void 0===speed&&(speed=s.params.speed),s.previousIndex=s.activeIndex||0,s.activeIndex=slideIndex,s.updateRealIndex(),s.rtl&&-translate===s.translate||!s.rtl&&translate===s.translate?(s.params.autoHeight&&s.updateAutoHeight(),s.updateClasses(),"slide"!==s.params.effect&&s.setWrapperTranslate(translate),!1):(s.updateClasses(),s.onTransitionStart(runCallbacks),0===speed||s.browser.lteIE9?(s.setWrapperTranslate(translate),s.setWrapperTransition(0),s.onTransitionEnd(runCallbacks)):(s.setWrapperTranslate(translate),s.setWrapperTransition(speed),s.animating||(s.animating=!0,s.wrapper.transitionEnd((function(){s&&s.onTransitionEnd(runCallbacks)})))),!0)))},s.onTransitionStart=function(runCallbacks){void 0===runCallbacks&&(runCallbacks=!0),s.params.autoHeight&&s.updateAutoHeight(),s.lazy&&s.lazy.onTransitionStart(),runCallbacks&&(s.emit("onTransitionStart",s),s.activeIndex!==s.previousIndex&&(s.emit("onSlideChangeStart",s),s.activeIndex>s.previousIndex?s.emit("onSlideNextStart",s):s.emit("onSlidePrevStart",s)))},s.onTransitionEnd=function(runCallbacks){s.animating=!1,s.setWrapperTransition(0),void 0===runCallbacks&&(runCallbacks=!0),s.lazy&&s.lazy.onTransitionEnd(),runCallbacks&&(s.emit("onTransitionEnd",s),s.activeIndex!==s.previousIndex&&(s.emit("onSlideChangeEnd",s),s.activeIndex>s.previousIndex?s.emit("onSlideNextEnd",s):s.emit("onSlidePrevEnd",s))),s.params.history&&s.history&&s.history.setHistory(s.params.history,s.activeIndex),s.params.hashnav&&s.hashnav&&s.hashnav.setHash()},s.slideNext=function(runCallbacks,speed,internal){if(s.params.loop){if(s.animating)return!1;s.fixLoop();s.container[0].clientLeft;return s.slideTo(s.activeIndex+s.params.slidesPerGroup,speed,runCallbacks,internal)}return s.slideTo(s.activeIndex+s.params.slidesPerGroup,speed,runCallbacks,internal)},s._slideNext=function(speed){return s.slideNext(!0,speed,!0)},s.slidePrev=function(runCallbacks,speed,internal){if(s.params.loop){if(s.animating)return!1;s.fixLoop();s.container[0].clientLeft;return s.slideTo(s.activeIndex-1,speed,runCallbacks,internal)}return s.slideTo(s.activeIndex-1,speed,runCallbacks,internal)},s._slidePrev=function(speed){return s.slidePrev(!0,speed,!0)},s.slideReset=function(runCallbacks,speed,internal){return s.slideTo(s.activeIndex,speed,runCallbacks)},s.disableTouchControl=function(){return s.params.onlyExternal=!0,!0},s.enableTouchControl=function(){return s.params.onlyExternal=!1,!0},s.setWrapperTransition=function(duration,byController){s.wrapper.transition(duration),"slide"!==s.params.effect&&s.effects[s.params.effect]&&s.effects[s.params.effect].setTransition(duration),s.params.parallax&&s.parallax&&s.parallax.setTransition(duration),s.params.scrollbar&&s.scrollbar&&s.scrollbar.setTransition(duration),s.params.control&&s.controller&&s.controller.setTransition(duration,byController),s.emit("onSetTransition",s,duration)},s.setWrapperTranslate=function(translate,updateActiveIndex,byController){var x=0,y=0;s.isHorizontal()?x=s.rtl?-translate:translate:y=translate,s.params.roundLengths&&(x=round(x),y=round(y)),s.params.virtualTranslate||(s.support.transforms3d?s.wrapper.transform("translate3d("+x+"px, "+y+"px, 0px)"):s.wrapper.transform("translate("+x+"px, "+y+"px)")),s.translate=s.isHorizontal()?x:y;var translatesDiff=s.maxTranslate()-s.minTranslate();(0===translatesDiff?0:(translate-s.minTranslate())/translatesDiff)!==s.progress&&s.updateProgress(translate),updateActiveIndex&&s.updateActiveIndex(),"slide"!==s.params.effect&&s.effects[s.params.effect]&&s.effects[s.params.effect].setTranslate(s.translate),s.params.parallax&&s.parallax&&s.parallax.setTranslate(s.translate),s.params.scrollbar&&s.scrollbar&&s.scrollbar.setTranslate(s.translate),s.params.control&&s.controller&&s.controller.setTranslate(s.translate,byController),s.emit("onSetTranslate",s,s.translate)},s.getTranslate=function(el,axis){var matrix,curTransform,curStyle,transformMatrix;return void 0===axis&&(axis="x"),s.params.virtualTranslate?s.rtl?-s.translate:s.translate:(curStyle=window.getComputedStyle(el,null),window.WebKitCSSMatrix?((curTransform=curStyle.transform||curStyle.webkitTransform).split(",").length>6&&(curTransform=curTransform.split(", ").map((function(a){return a.replace(",",".")})).join(", ")),transformMatrix=new window.WebKitCSSMatrix("none"===curTransform?"":curTransform)):matrix=(transformMatrix=curStyle.MozTransform||curStyle.OTransform||curStyle.MsTransform||curStyle.msTransform||curStyle.transform||curStyle.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===axis&&(curTransform=window.WebKitCSSMatrix?transformMatrix.m41:16===matrix.length?parseFloat(matrix[12]):parseFloat(matrix[4])),"y"===axis&&(curTransform=window.WebKitCSSMatrix?transformMatrix.m42:16===matrix.length?parseFloat(matrix[13]):parseFloat(matrix[5])),s.rtl&&curTransform&&(curTransform=-curTransform),curTransform||0)},s.getWrapperTranslate=function(axis){return void 0===axis&&(axis=s.isHorizontal()?"x":"y"),s.getTranslate(s.wrapper[0],axis)},s.observers=[],s.initObservers=function(){if(s.params.observeParents)for(var containerParents=s.container.parents(),i=0;i<containerParents.length;i++)initObserver(containerParents[i]);initObserver(s.container[0],{childList:!1}),initObserver(s.wrapper[0],{attributes:!1})},s.disconnectObservers=function(){for(var i=0;i<s.observers.length;i++)s.observers[i].disconnect();s.observers=[]},s.createLoop=function(){s.wrapper.children("."+s.params.slideClass+"."+s.params.slideDuplicateClass).remove();var slides=s.wrapper.children("."+s.params.slideClass);"auto"!==s.params.slidesPerView||s.params.loopedSlides||(s.params.loopedSlides=slides.length),s.loopedSlides=parseInt(s.params.loopedSlides||s.params.slidesPerView,10),s.loopedSlides=s.loopedSlides+s.params.loopAdditionalSlides,s.loopedSlides>slides.length&&(s.loopedSlides=slides.length);var i,prependSlides=[],appendSlides=[];for(slides.each((function(index,el){var slide=$(this);index<s.loopedSlides&&appendSlides.push(el),index<slides.length&&index>=slides.length-s.loopedSlides&&prependSlides.push(el),slide.attr("data-swiper-slide-index",index)})),i=0;i<appendSlides.length;i++)s.wrapper.append($(appendSlides[i].cloneNode(!0)).addClass(s.params.slideDuplicateClass));for(i=prependSlides.length-1;i>=0;i--)s.wrapper.prepend($(prependSlides[i].cloneNode(!0)).addClass(s.params.slideDuplicateClass))},s.destroyLoop=function(){s.wrapper.children("."+s.params.slideClass+"."+s.params.slideDuplicateClass).remove(),s.slides.removeAttr("data-swiper-slide-index")},s.reLoop=function(updatePosition){var oldIndex=s.activeIndex-s.loopedSlides;s.destroyLoop(),s.createLoop(),s.updateSlidesSize(),updatePosition&&s.slideTo(oldIndex+s.loopedSlides,0,!1)},s.fixLoop=function(){var newIndex;s.activeIndex<s.loopedSlides?(newIndex=s.slides.length-3*s.loopedSlides+s.activeIndex,newIndex+=s.loopedSlides,s.slideTo(newIndex,0,!1,!0)):("auto"===s.params.slidesPerView&&s.activeIndex>=2*s.loopedSlides||s.activeIndex>s.slides.length-2*s.params.slidesPerView)&&(newIndex=-s.slides.length+s.activeIndex+s.loopedSlides,newIndex+=s.loopedSlides,s.slideTo(newIndex,0,!1,!0))},s.appendSlide=function(slides){if(s.params.loop&&s.destroyLoop(),"object"==typeof slides&&slides.length)for(var i=0;i<slides.length;i++)slides[i]&&s.wrapper.append(slides[i]);else s.wrapper.append(slides);s.params.loop&&s.createLoop(),s.params.observer&&s.support.observer||s.update(!0)},s.prependSlide=function(slides){s.params.loop&&s.destroyLoop();var newActiveIndex=s.activeIndex+1;if("object"==typeof slides&&slides.length){for(var i=0;i<slides.length;i++)slides[i]&&s.wrapper.prepend(slides[i]);newActiveIndex=s.activeIndex+slides.length}else s.wrapper.prepend(slides);s.params.loop&&s.createLoop(),s.params.observer&&s.support.observer||s.update(!0),s.slideTo(newActiveIndex,0,!1)},s.removeSlide=function(slidesIndexes){s.params.loop&&(s.destroyLoop(),s.slides=s.wrapper.children("."+s.params.slideClass));var indexToRemove,newActiveIndex=s.activeIndex;if("object"==typeof slidesIndexes&&slidesIndexes.length){for(var i=0;i<slidesIndexes.length;i++)indexToRemove=slidesIndexes[i],s.slides[indexToRemove]&&s.slides.eq(indexToRemove).remove(),indexToRemove<newActiveIndex&&newActiveIndex--;newActiveIndex=Math.max(newActiveIndex,0)}else indexToRemove=slidesIndexes,s.slides[indexToRemove]&&s.slides.eq(indexToRemove).remove(),indexToRemove<newActiveIndex&&newActiveIndex--,newActiveIndex=Math.max(newActiveIndex,0);s.params.loop&&s.createLoop(),s.params.observer&&s.support.observer||s.update(!0),s.params.loop?s.slideTo(newActiveIndex+s.loopedSlides,0,!1):s.slideTo(newActiveIndex,0,!1)},s.removeAllSlides=function(){for(var slidesIndexes=[],i=0;i<s.slides.length;i++)slidesIndexes.push(i);s.removeSlide(slidesIndexes)},s.effects={fade:{setTranslate:function(){for(var i=0;i<s.slides.length;i++){var slide=s.slides.eq(i),tx=-slide[0].swiperSlideOffset;s.params.virtualTranslate||(tx-=s.translate);var ty=0;s.isHorizontal()||(ty=tx,tx=0);var slideOpacity=s.params.fade.crossFade?Math.max(1-Math.abs(slide[0].progress),0):1+Math.min(Math.max(slide[0].progress,-1),0);slide.css({opacity:slideOpacity}).transform("translate3d("+tx+"px, "+ty+"px, 0px)")}},setTransition:function(duration){if(s.slides.transition(duration),s.params.virtualTranslate&&0!==duration){var eventTriggered=!1;s.slides.transitionEnd((function(){if(!eventTriggered&&s){eventTriggered=!0,s.animating=!1;for(var triggerEvents=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<triggerEvents.length;i++)s.wrapper.trigger(triggerEvents[i])}}))}}},flip:{setTranslate:function(){for(var i=0;i<s.slides.length;i++){var slide=s.slides.eq(i),progress=slide[0].progress;s.params.flip.limitRotation&&(progress=Math.max(Math.min(slide[0].progress,1),-1));var rotateY=-180*progress,rotateX=0,tx=-slide[0].swiperSlideOffset,ty=0;if(s.isHorizontal()?s.rtl&&(rotateY=-rotateY):(ty=tx,tx=0,rotateX=-rotateY,rotateY=0),slide[0].style.zIndex=-Math.abs(Math.round(progress))+s.slides.length,s.params.flip.slideShadows){var shadowBefore=s.isHorizontal()?slide.find(".swiper-slide-shadow-left"):slide.find(".swiper-slide-shadow-top"),shadowAfter=s.isHorizontal()?slide.find(".swiper-slide-shadow-right"):slide.find(".swiper-slide-shadow-bottom");0===shadowBefore.length&&(shadowBefore=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"left":"top")+'"></div>'),slide.append(shadowBefore)),0===shadowAfter.length&&(shadowAfter=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"right":"bottom")+'"></div>'),slide.append(shadowAfter)),shadowBefore.length&&(shadowBefore[0].style.opacity=Math.max(-progress,0)),shadowAfter.length&&(shadowAfter[0].style.opacity=Math.max(progress,0))}slide.transform("translate3d("+tx+"px, "+ty+"px, 0px) rotateX("+rotateX+"deg) rotateY("+rotateY+"deg)")}},setTransition:function(duration){if(s.slides.transition(duration).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(duration),s.params.virtualTranslate&&0!==duration){var eventTriggered=!1;s.slides.eq(s.activeIndex).transitionEnd((function(){if(!eventTriggered&&s&&$(this).hasClass(s.params.slideActiveClass)){eventTriggered=!0,s.animating=!1;for(var triggerEvents=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<triggerEvents.length;i++)s.wrapper.trigger(triggerEvents[i])}}))}}},cube:{setTranslate:function(){var cubeShadow,wrapperRotate=0;s.params.cube.shadow&&(s.isHorizontal()?(0===(cubeShadow=s.wrapper.find(".swiper-cube-shadow")).length&&(cubeShadow=$('<div class="swiper-cube-shadow"></div>'),s.wrapper.append(cubeShadow)),cubeShadow.css({height:s.width+"px"})):0===(cubeShadow=s.container.find(".swiper-cube-shadow")).length&&(cubeShadow=$('<div class="swiper-cube-shadow"></div>'),s.container.append(cubeShadow)));for(var i=0;i<s.slides.length;i++){var slide=s.slides.eq(i),slideAngle=90*i,round=Math.floor(slideAngle/360);s.rtl&&(slideAngle=-slideAngle,round=Math.floor(-slideAngle/360));var progress=Math.max(Math.min(slide[0].progress,1),-1),tx=0,ty=0,tz=0;i%4==0?(tx=4*-round*s.size,tz=0):(i-1)%4==0?(tx=0,tz=4*-round*s.size):(i-2)%4==0?(tx=s.size+4*round*s.size,tz=s.size):(i-3)%4==0&&(tx=-s.size,tz=3*s.size+4*s.size*round),s.rtl&&(tx=-tx),s.isHorizontal()||(ty=tx,tx=0);var transform="rotateX("+(s.isHorizontal()?0:-slideAngle)+"deg) rotateY("+(s.isHorizontal()?slideAngle:0)+"deg) translate3d("+tx+"px, "+ty+"px, "+tz+"px)";if(progress<=1&&progress>-1&&(wrapperRotate=90*i+90*progress,s.rtl&&(wrapperRotate=90*-i-90*progress)),slide.transform(transform),s.params.cube.slideShadows){var shadowBefore=s.isHorizontal()?slide.find(".swiper-slide-shadow-left"):slide.find(".swiper-slide-shadow-top"),shadowAfter=s.isHorizontal()?slide.find(".swiper-slide-shadow-right"):slide.find(".swiper-slide-shadow-bottom");0===shadowBefore.length&&(shadowBefore=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"left":"top")+'"></div>'),slide.append(shadowBefore)),0===shadowAfter.length&&(shadowAfter=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"right":"bottom")+'"></div>'),slide.append(shadowAfter)),shadowBefore.length&&(shadowBefore[0].style.opacity=Math.max(-progress,0)),shadowAfter.length&&(shadowAfter[0].style.opacity=Math.max(progress,0))}}if(s.wrapper.css({"-webkit-transform-origin":"50% 50% -"+s.size/2+"px","-moz-transform-origin":"50% 50% -"+s.size/2+"px","-ms-transform-origin":"50% 50% -"+s.size/2+"px","transform-origin":"50% 50% -"+s.size/2+"px"}),s.params.cube.shadow)if(s.isHorizontal())cubeShadow.transform("translate3d(0px, "+(s.width/2+s.params.cube.shadowOffset)+"px, "+-s.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+s.params.cube.shadowScale+")");else{var shadowAngle=Math.abs(wrapperRotate)-90*Math.floor(Math.abs(wrapperRotate)/90),multiplier=1.5-(Math.sin(2*shadowAngle*Math.PI/360)/2+Math.cos(2*shadowAngle*Math.PI/360)/2),scale1=s.params.cube.shadowScale,scale2=s.params.cube.shadowScale/multiplier,offset=s.params.cube.shadowOffset;cubeShadow.transform("scale3d("+scale1+", 1, "+scale2+") translate3d(0px, "+(s.height/2+offset)+"px, "+-s.height/2/scale2+"px) rotateX(-90deg)")}var zFactor=s.isSafari||s.isUiWebView?-s.size/2:0;s.wrapper.transform("translate3d(0px,0,"+zFactor+"px) rotateX("+(s.isHorizontal()?0:wrapperRotate)+"deg) rotateY("+(s.isHorizontal()?-wrapperRotate:0)+"deg)")},setTransition:function(duration){s.slides.transition(duration).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(duration),s.params.cube.shadow&&!s.isHorizontal()&&s.container.find(".swiper-cube-shadow").transition(duration)}},coverflow:{setTranslate:function(){for(var transform=s.translate,center=s.isHorizontal()?-transform+s.width/2:-transform+s.height/2,rotate=s.isHorizontal()?s.params.coverflow.rotate:-s.params.coverflow.rotate,translate=s.params.coverflow.depth,i=0,length=s.slides.length;i<length;i++){var slide=s.slides.eq(i),slideSize=s.slidesSizesGrid[i],offsetMultiplier=(center-slide[0].swiperSlideOffset-slideSize/2)/slideSize*s.params.coverflow.modifier,rotateY=s.isHorizontal()?rotate*offsetMultiplier:0,rotateX=s.isHorizontal()?0:rotate*offsetMultiplier,translateZ=-translate*Math.abs(offsetMultiplier),translateY=s.isHorizontal()?0:s.params.coverflow.stretch*offsetMultiplier,translateX=s.isHorizontal()?s.params.coverflow.stretch*offsetMultiplier:0;Math.abs(translateX)<.001&&(translateX=0),Math.abs(translateY)<.001&&(translateY=0),Math.abs(translateZ)<.001&&(translateZ=0),Math.abs(rotateY)<.001&&(rotateY=0),Math.abs(rotateX)<.001&&(rotateX=0);var slideTransform="translate3d("+translateX+"px,"+translateY+"px,"+translateZ+"px)  rotateX("+rotateX+"deg) rotateY("+rotateY+"deg)";if(slide.transform(slideTransform),slide[0].style.zIndex=1-Math.abs(Math.round(offsetMultiplier)),s.params.coverflow.slideShadows){var shadowBefore=s.isHorizontal()?slide.find(".swiper-slide-shadow-left"):slide.find(".swiper-slide-shadow-top"),shadowAfter=s.isHorizontal()?slide.find(".swiper-slide-shadow-right"):slide.find(".swiper-slide-shadow-bottom");0===shadowBefore.length&&(shadowBefore=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"left":"top")+'"></div>'),slide.append(shadowBefore)),0===shadowAfter.length&&(shadowAfter=$('<div class="swiper-slide-shadow-'+(s.isHorizontal()?"right":"bottom")+'"></div>'),slide.append(shadowAfter)),shadowBefore.length&&(shadowBefore[0].style.opacity=offsetMultiplier>0?offsetMultiplier:0),shadowAfter.length&&(shadowAfter[0].style.opacity=-offsetMultiplier>0?-offsetMultiplier:0)}}s.browser.ie&&(s.wrapper[0].style.perspectiveOrigin=center+"px 50%")},setTransition:function(duration){s.slides.transition(duration).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(duration)}}},s.lazy={initialImageLoaded:!1,loadImageInSlide:function(index,loadInDuplicate){if(void 0!==index&&(void 0===loadInDuplicate&&(loadInDuplicate=!0),0!==s.slides.length)){var slide=s.slides.eq(index),img=slide.find("."+s.params.lazyLoadingClass+":not(."+s.params.lazyStatusLoadedClass+"):not(."+s.params.lazyStatusLoadingClass+")");!slide.hasClass(s.params.lazyLoadingClass)||slide.hasClass(s.params.lazyStatusLoadedClass)||slide.hasClass(s.params.lazyStatusLoadingClass)||(img=img.add(slide[0])),0!==img.length&&img.each((function(){var _img=$(this);_img.addClass(s.params.lazyStatusLoadingClass);var background=_img.attr("data-background"),src=_img.attr("data-src"),srcset=_img.attr("data-srcset"),sizes=_img.attr("data-sizes");s.loadImage(_img[0],src||background,srcset,sizes,!1,(function(){if(null!=s&&s){if(background?(_img.css("background-image",'url("'+background+'")'),_img.removeAttr("data-background")):(srcset&&(_img.attr("srcset",srcset),_img.removeAttr("data-srcset")),sizes&&(_img.attr("sizes",sizes),_img.removeAttr("data-sizes")),src&&(_img.attr("src",src),_img.removeAttr("data-src"))),_img.addClass(s.params.lazyStatusLoadedClass).removeClass(s.params.lazyStatusLoadingClass),slide.find("."+s.params.lazyPreloaderClass+", ."+s.params.preloaderClass).remove(),s.params.loop&&loadInDuplicate){var slideOriginalIndex=slide.attr("data-swiper-slide-index");if(slide.hasClass(s.params.slideDuplicateClass)){var originalSlide=s.wrapper.children('[data-swiper-slide-index="'+slideOriginalIndex+'"]:not(.'+s.params.slideDuplicateClass+")");s.lazy.loadImageInSlide(originalSlide.index(),!1)}else{var duplicatedSlide=s.wrapper.children("."+s.params.slideDuplicateClass+'[data-swiper-slide-index="'+slideOriginalIndex+'"]');s.lazy.loadImageInSlide(duplicatedSlide.index(),!1)}}s.emit("onLazyImageReady",s,slide[0],_img[0])}})),s.emit("onLazyImageLoad",s,slide[0],_img[0])}))}},load:function(){var i,slidesPerView=s.params.slidesPerView;if("auto"===slidesPerView&&(slidesPerView=0),s.lazy.initialImageLoaded||(s.lazy.initialImageLoaded=!0),s.params.watchSlidesVisibility)s.wrapper.children("."+s.params.slideVisibleClass).each((function(){s.lazy.loadImageInSlide($(this).index())}));else if(slidesPerView>1)for(i=s.activeIndex;i<s.activeIndex+slidesPerView;i++)s.slides[i]&&s.lazy.loadImageInSlide(i);else s.lazy.loadImageInSlide(s.activeIndex);if(s.params.lazyLoadingInPrevNext)if(slidesPerView>1||s.params.lazyLoadingInPrevNextAmount&&s.params.lazyLoadingInPrevNextAmount>1){var amount=s.params.lazyLoadingInPrevNextAmount,spv=slidesPerView,maxIndex=Math.min(s.activeIndex+spv+Math.max(amount,spv),s.slides.length),minIndex=Math.max(s.activeIndex-Math.max(spv,amount),0);for(i=s.activeIndex+slidesPerView;i<maxIndex;i++)s.slides[i]&&s.lazy.loadImageInSlide(i);for(i=minIndex;i<s.activeIndex;i++)s.slides[i]&&s.lazy.loadImageInSlide(i)}else{var nextSlide=s.wrapper.children("."+s.params.slideNextClass);nextSlide.length>0&&s.lazy.loadImageInSlide(nextSlide.index());var prevSlide=s.wrapper.children("."+s.params.slidePrevClass);prevSlide.length>0&&s.lazy.loadImageInSlide(prevSlide.index())}},onTransitionStart:function(){s.params.lazyLoading&&(s.params.lazyLoadingOnTransitionStart||!s.params.lazyLoadingOnTransitionStart&&!s.lazy.initialImageLoaded)&&s.lazy.load()},onTransitionEnd:function(){s.params.lazyLoading&&!s.params.lazyLoadingOnTransitionStart&&s.lazy.load()}},s.scrollbar={isTouched:!1,setDragPosition:function(e){var sb=s.scrollbar,position=(s.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-sb.track.offset()[s.isHorizontal()?"left":"top"]-sb.dragSize/2,positionMin=-s.minTranslate()*sb.moveDivider,positionMax=-s.maxTranslate()*sb.moveDivider;position<positionMin?position=positionMin:position>positionMax&&(position=positionMax),position=-position/sb.moveDivider,s.updateProgress(position),s.setWrapperTranslate(position,!0)},dragStart:function(e){var sb=s.scrollbar;sb.isTouched=!0,e.preventDefault(),e.stopPropagation(),sb.setDragPosition(e),clearTimeout(sb.dragTimeout),sb.track.transition(0),s.params.scrollbarHide&&sb.track.css("opacity",1),s.wrapper.transition(100),sb.drag.transition(100),s.emit("onScrollbarDragStart",s)},dragMove:function(e){var sb=s.scrollbar;sb.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,sb.setDragPosition(e),s.wrapper.transition(0),sb.track.transition(0),sb.drag.transition(0),s.emit("onScrollbarDragMove",s))},dragEnd:function(e){var sb=s.scrollbar;sb.isTouched&&(sb.isTouched=!1,s.params.scrollbarHide&&(clearTimeout(sb.dragTimeout),sb.dragTimeout=setTimeout((function(){sb.track.css("opacity",0),sb.track.transition(400)}),1e3)),s.emit("onScrollbarDragEnd",s),s.params.scrollbarSnapOnRelease&&s.slideReset())},draggableEvents:!1!==s.params.simulateTouch||s.support.touch?s.touchEvents:s.touchEventsDesktop,enableDraggable:function(){var sb=s.scrollbar,target=s.support.touch?sb.track:document;$(sb.track).on(sb.draggableEvents.start,sb.dragStart),$(target).on(sb.draggableEvents.move,sb.dragMove),$(target).on(sb.draggableEvents.end,sb.dragEnd)},disableDraggable:function(){var sb=s.scrollbar,target=s.support.touch?sb.track:document;$(sb.track).off(sb.draggableEvents.start,sb.dragStart),$(target).off(sb.draggableEvents.move,sb.dragMove),$(target).off(sb.draggableEvents.end,sb.dragEnd)},set:function(){if(s.params.scrollbar){var sb=s.scrollbar;sb.track=$(s.params.scrollbar),s.params.uniqueNavElements&&"string"==typeof s.params.scrollbar&&sb.track.length>1&&1===s.container.find(s.params.scrollbar).length&&(sb.track=s.container.find(s.params.scrollbar)),sb.drag=sb.track.find(".swiper-scrollbar-drag"),0===sb.drag.length&&(sb.drag=$('<div class="swiper-scrollbar-drag"></div>'),sb.track.append(sb.drag)),sb.drag[0].style.width="",sb.drag[0].style.height="",sb.trackSize=s.isHorizontal()?sb.track[0].offsetWidth:sb.track[0].offsetHeight,sb.divider=s.size/s.virtualSize,sb.moveDivider=sb.divider*(sb.trackSize/s.size),sb.dragSize=sb.trackSize*sb.divider,s.isHorizontal()?sb.drag[0].style.width=sb.dragSize+"px":sb.drag[0].style.height=sb.dragSize+"px",sb.divider>=1?sb.track[0].style.display="none":sb.track[0].style.display="",s.params.scrollbarHide&&(sb.track[0].style.opacity=0)}},setTranslate:function(){if(s.params.scrollbar){var newPos,sb=s.scrollbar,newSize=(s.translate,sb.dragSize);newPos=(sb.trackSize-sb.dragSize)*s.progress,s.rtl&&s.isHorizontal()?(newPos=-newPos)>0?(newSize=sb.dragSize-newPos,newPos=0):-newPos+sb.dragSize>sb.trackSize&&(newSize=sb.trackSize+newPos):newPos<0?(newSize=sb.dragSize+newPos,newPos=0):newPos+sb.dragSize>sb.trackSize&&(newSize=sb.trackSize-newPos),s.isHorizontal()?(s.support.transforms3d?sb.drag.transform("translate3d("+newPos+"px, 0, 0)"):sb.drag.transform("translateX("+newPos+"px)"),sb.drag[0].style.width=newSize+"px"):(s.support.transforms3d?sb.drag.transform("translate3d(0px, "+newPos+"px, 0)"):sb.drag.transform("translateY("+newPos+"px)"),sb.drag[0].style.height=newSize+"px"),s.params.scrollbarHide&&(clearTimeout(sb.timeout),sb.track[0].style.opacity=1,sb.timeout=setTimeout((function(){sb.track[0].style.opacity=0,sb.track.transition(400)}),1e3))}},setTransition:function(duration){s.params.scrollbar&&s.scrollbar.drag.transition(duration)}},s.controller={LinearSpline:function(x,y){var maxIndex,minIndex,guess,i1,i3,binarySearch=function(array,val){for(minIndex=-1,maxIndex=array.length;maxIndex-minIndex>1;)array[guess=maxIndex+minIndex>>1]<=val?minIndex=guess:maxIndex=guess;return maxIndex};this.x=x,this.y=y,this.lastIndex=x.length-1;this.x.length;this.interpolate=function(x2){return x2?(i3=binarySearch(this.x,x2),i1=i3-1,(x2-this.x[i1])*(this.y[i3]-this.y[i1])/(this.x[i3]-this.x[i1])+this.y[i1]):0}},getInterpolateFunction:function(c){s.controller.spline||(s.controller.spline=s.params.loop?new s.controller.LinearSpline(s.slidesGrid,c.slidesGrid):new s.controller.LinearSpline(s.snapGrid,c.snapGrid))},setTranslate:function(translate,byController){var multiplier,controlledTranslate,controlled=s.params.control;function setControlledTranslate(c){translate=c.rtl&&"horizontal"===c.params.direction?-s.translate:s.translate,"slide"===s.params.controlBy&&(s.controller.getInterpolateFunction(c),controlledTranslate=-s.controller.spline.interpolate(-translate)),controlledTranslate&&"container"!==s.params.controlBy||(multiplier=(c.maxTranslate()-c.minTranslate())/(s.maxTranslate()-s.minTranslate()),controlledTranslate=(translate-s.minTranslate())*multiplier+c.minTranslate()),s.params.controlInverse&&(controlledTranslate=c.maxTranslate()-controlledTranslate),c.updateProgress(controlledTranslate),c.setWrapperTranslate(controlledTranslate,!1,s),c.updateActiveIndex()}if(Array.isArray(controlled))for(var i=0;i<controlled.length;i++)controlled[i]!==byController&&controlled[i]instanceof Swiper&&setControlledTranslate(controlled[i]);else controlled instanceof Swiper&&byController!==controlled&&setControlledTranslate(controlled)},setTransition:function(duration,byController){var i,controlled=s.params.control;function setControlledTransition(c){c.setWrapperTransition(duration,s),0!==duration&&(c.onTransitionStart(),c.wrapper.transitionEnd((function(){controlled&&(c.params.loop&&"slide"===s.params.controlBy&&c.fixLoop(),c.onTransitionEnd())})))}if(Array.isArray(controlled))for(i=0;i<controlled.length;i++)controlled[i]!==byController&&controlled[i]instanceof Swiper&&setControlledTransition(controlled[i]);else controlled instanceof Swiper&&byController!==controlled&&setControlledTransition(controlled)}},s.hashnav={onHashCange:function(e,a){var newHash=document.location.hash.replace("#","");newHash!==s.slides.eq(s.activeIndex).attr("data-hash")&&s.slideTo(s.wrapper.children("."+s.params.slideClass+'[data-hash="'+newHash+'"]').index())},attachEvents:function(detach){var action=detach?"off":"on";$(window)[action]("hashchange",s.hashnav.onHashCange)},setHash:function(){if(s.hashnav.initialized&&s.params.hashnav)if(s.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+s.slides.eq(s.activeIndex).attr("data-hash")||!1);else{var slide=s.slides.eq(s.activeIndex),hash=slide.attr("data-hash")||slide.attr("data-history");document.location.hash=hash||""}},init:function(){if(s.params.hashnav&&!s.params.history){s.hashnav.initialized=!0;var hash=document.location.hash.replace("#","");if(hash)for(var i=0,length=s.slides.length;i<length;i++){var slide=s.slides.eq(i);if((slide.attr("data-hash")||slide.attr("data-history"))===hash&&!slide.hasClass(s.params.slideDuplicateClass)){var index=slide.index();s.slideTo(index,0,s.params.runCallbacksOnInit,!0)}}s.params.hashnavWatchState&&s.hashnav.attachEvents()}},destroy:function(){s.params.hashnavWatchState&&s.hashnav.attachEvents(!0)}},s.history={init:function(){if(s.params.history){if(!window.history||!window.history.pushState)return s.params.history=!1,void(s.params.hashnav=!0);s.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,s.params.runCallbacksOnInit),s.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){s.history.paths=s.history.getPathValues(),s.history.scrollToSlide(s.params.speed,s.history.paths.value,!1)},getPathValues:function(){var pathArray=window.location.pathname.slice(1).split("/"),total=pathArray.length;return{key:pathArray[total-2],value:pathArray[total-1]}},setHistory:function(key,index){if(s.history.initialized&&s.params.history){var slide=s.slides.eq(index),value=this.slugify(slide.attr("data-history"));window.location.pathname.includes(key)||(value=key+"/"+value),s.params.replaceState?window.history.replaceState(null,null,value):window.history.pushState(null,null,value)}},slugify:function(text){return text.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(speed,value,runCallbacks){if(value)for(var i=0,length=s.slides.length;i<length;i++){var slide=s.slides.eq(i);if(this.slugify(slide.attr("data-history"))===value&&!slide.hasClass(s.params.slideDuplicateClass)){var index=slide.index();s.slideTo(index,speed,runCallbacks)}}else s.slideTo(0,speed,runCallbacks)}},s.disableKeyboardControl=function(){s.params.keyboardControl=!1,$(document).off("keydown",handleKeyboard)},s.enableKeyboardControl=function(){s.params.keyboardControl=!0,$(document).on("keydown",handleKeyboard)},s.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},s.params.mousewheelControl&&(s.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function isEventSupported(){var isSupported="onwheel"in document;if(!isSupported){var element=document.createElement("div");element.setAttribute("onwheel","return;"),isSupported="function"==typeof element.onwheel}return!isSupported&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(isSupported=document.implementation.hasFeature("Events.wheel","3.0")),isSupported}()?"wheel":"mousewheel"),s.disableMousewheelControl=function(){if(!s.mousewheel.event)return!1;var target=s.container;return"container"!==s.params.mousewheelEventsTarged&&(target=$(s.params.mousewheelEventsTarged)),target.off(s.mousewheel.event,handleMousewheel),s.params.mousewheelControl=!1,!0},s.enableMousewheelControl=function(){if(!s.mousewheel.event)return!1;var target=s.container;return"container"!==s.params.mousewheelEventsTarged&&(target=$(s.params.mousewheelEventsTarged)),target.on(s.mousewheel.event,handleMousewheel),s.params.mousewheelControl=!0,!0},s.parallax={setTranslate:function(){s.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){setParallaxTransform(this,s.progress)})),s.slides.each((function(){var slide=$(this);slide.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){setParallaxTransform(this,Math.min(Math.max(slide[0].progress,-1),1))}))}))},setTransition:function(duration){void 0===duration&&(duration=s.params.speed),s.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function(){var el=$(this),parallaxDuration=parseInt(el.attr("data-swiper-parallax-duration"),10)||duration;0===duration&&(parallaxDuration=0),el.transition(parallaxDuration)}))}},s.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:s.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var x1=e.targetTouches[0].pageX,y1=e.targetTouches[0].pageY,x2=e.targetTouches[1].pageX,y2=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(x2-x1,2)+Math.pow(y2-y1,2))},onGestureStart:function(e){var z=s.zoom;if(!s.support.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;z.gesture.scaleStart=z.getDistanceBetweenTouches(e)}z.gesture.slide&&z.gesture.slide.length||(z.gesture.slide=$(this),0===z.gesture.slide.length&&(z.gesture.slide=s.slides.eq(s.activeIndex)),z.gesture.image=z.gesture.slide.find("img, svg, canvas"),z.gesture.imageWrap=z.gesture.image.parent("."+s.params.zoomContainerClass),z.gesture.zoomMax=z.gesture.imageWrap.attr("data-swiper-zoom")||s.params.zoomMax,0!==z.gesture.imageWrap.length)?(z.gesture.image.transition(0),z.isScaling=!0):z.gesture.image=void 0},onGestureChange:function(e){var z=s.zoom;if(!s.support.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;z.gesture.scaleMove=z.getDistanceBetweenTouches(e)}z.gesture.image&&0!==z.gesture.image.length&&(s.support.gestures?z.scale=e.scale*z.currentScale:z.scale=z.gesture.scaleMove/z.gesture.scaleStart*z.currentScale,z.scale>z.gesture.zoomMax&&(z.scale=z.gesture.zoomMax-1+Math.pow(z.scale-z.gesture.zoomMax+1,.5)),z.scale<s.params.zoomMin&&(z.scale=s.params.zoomMin+1-Math.pow(s.params.zoomMin-z.scale+1,.5)),z.gesture.image.transform("translate3d(0,0,0) scale("+z.scale+")"))},onGestureEnd:function(e){var z=s.zoom;!s.support.gestures&&("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2)||z.gesture.image&&0!==z.gesture.image.length&&(z.scale=Math.max(Math.min(z.scale,z.gesture.zoomMax),s.params.zoomMin),z.gesture.image.transition(s.params.speed).transform("translate3d(0,0,0) scale("+z.scale+")"),z.currentScale=z.scale,z.isScaling=!1,1===z.scale&&(z.gesture.slide=void 0))},onTouchStart:function(s,e){var z=s.zoom;z.gesture.image&&0!==z.gesture.image.length&&(z.image.isTouched||("android"===s.device.os&&e.preventDefault(),z.image.isTouched=!0,z.image.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,z.image.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var z=s.zoom;if(z.gesture.image&&0!==z.gesture.image.length&&(s.allowClick=!1,z.image.isTouched&&z.gesture.slide)){z.image.isMoved||(z.image.width=z.gesture.image[0].offsetWidth,z.image.height=z.gesture.image[0].offsetHeight,z.image.startX=s.getTranslate(z.gesture.imageWrap[0],"x")||0,z.image.startY=s.getTranslate(z.gesture.imageWrap[0],"y")||0,z.gesture.slideWidth=z.gesture.slide[0].offsetWidth,z.gesture.slideHeight=z.gesture.slide[0].offsetHeight,z.gesture.imageWrap.transition(0),s.rtl&&(z.image.startX=-z.image.startX),s.rtl&&(z.image.startY=-z.image.startY));var scaledWidth=z.image.width*z.scale,scaledHeight=z.image.height*z.scale;if(!(scaledWidth<z.gesture.slideWidth&&scaledHeight<z.gesture.slideHeight)){if(z.image.minX=Math.min(z.gesture.slideWidth/2-scaledWidth/2,0),z.image.maxX=-z.image.minX,z.image.minY=Math.min(z.gesture.slideHeight/2-scaledHeight/2,0),z.image.maxY=-z.image.minY,z.image.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,z.image.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!z.image.isMoved&&!z.isScaling){if(s.isHorizontal()&&Math.floor(z.image.minX)===Math.floor(z.image.startX)&&z.image.touchesCurrent.x<z.image.touchesStart.x||Math.floor(z.image.maxX)===Math.floor(z.image.startX)&&z.image.touchesCurrent.x>z.image.touchesStart.x)return void(z.image.isTouched=!1);if(!s.isHorizontal()&&Math.floor(z.image.minY)===Math.floor(z.image.startY)&&z.image.touchesCurrent.y<z.image.touchesStart.y||Math.floor(z.image.maxY)===Math.floor(z.image.startY)&&z.image.touchesCurrent.y>z.image.touchesStart.y)return void(z.image.isTouched=!1)}e.preventDefault(),e.stopPropagation(),z.image.isMoved=!0,z.image.currentX=z.image.touchesCurrent.x-z.image.touchesStart.x+z.image.startX,z.image.currentY=z.image.touchesCurrent.y-z.image.touchesStart.y+z.image.startY,z.image.currentX<z.image.minX&&(z.image.currentX=z.image.minX+1-Math.pow(z.image.minX-z.image.currentX+1,.8)),z.image.currentX>z.image.maxX&&(z.image.currentX=z.image.maxX-1+Math.pow(z.image.currentX-z.image.maxX+1,.8)),z.image.currentY<z.image.minY&&(z.image.currentY=z.image.minY+1-Math.pow(z.image.minY-z.image.currentY+1,.8)),z.image.currentY>z.image.maxY&&(z.image.currentY=z.image.maxY-1+Math.pow(z.image.currentY-z.image.maxY+1,.8)),z.velocity.prevPositionX||(z.velocity.prevPositionX=z.image.touchesCurrent.x),z.velocity.prevPositionY||(z.velocity.prevPositionY=z.image.touchesCurrent.y),z.velocity.prevTime||(z.velocity.prevTime=Date.now()),z.velocity.x=(z.image.touchesCurrent.x-z.velocity.prevPositionX)/(Date.now()-z.velocity.prevTime)/2,z.velocity.y=(z.image.touchesCurrent.y-z.velocity.prevPositionY)/(Date.now()-z.velocity.prevTime)/2,Math.abs(z.image.touchesCurrent.x-z.velocity.prevPositionX)<2&&(z.velocity.x=0),Math.abs(z.image.touchesCurrent.y-z.velocity.prevPositionY)<2&&(z.velocity.y=0),z.velocity.prevPositionX=z.image.touchesCurrent.x,z.velocity.prevPositionY=z.image.touchesCurrent.y,z.velocity.prevTime=Date.now(),z.gesture.imageWrap.transform("translate3d("+z.image.currentX+"px, "+z.image.currentY+"px,0)")}}},onTouchEnd:function(s,e){var z=s.zoom;if(z.gesture.image&&0!==z.gesture.image.length){if(!z.image.isTouched||!z.image.isMoved)return z.image.isTouched=!1,void(z.image.isMoved=!1);z.image.isTouched=!1,z.image.isMoved=!1;var momentumDurationX=300,momentumDurationY=300,momentumDistanceX=z.velocity.x*momentumDurationX,newPositionX=z.image.currentX+momentumDistanceX,momentumDistanceY=z.velocity.y*momentumDurationY,newPositionY=z.image.currentY+momentumDistanceY;0!==z.velocity.x&&(momentumDurationX=Math.abs((newPositionX-z.image.currentX)/z.velocity.x)),0!==z.velocity.y&&(momentumDurationY=Math.abs((newPositionY-z.image.currentY)/z.velocity.y));var momentumDuration=Math.max(momentumDurationX,momentumDurationY);z.image.currentX=newPositionX,z.image.currentY=newPositionY;var scaledWidth=z.image.width*z.scale,scaledHeight=z.image.height*z.scale;z.image.minX=Math.min(z.gesture.slideWidth/2-scaledWidth/2,0),z.image.maxX=-z.image.minX,z.image.minY=Math.min(z.gesture.slideHeight/2-scaledHeight/2,0),z.image.maxY=-z.image.minY,z.image.currentX=Math.max(Math.min(z.image.currentX,z.image.maxX),z.image.minX),z.image.currentY=Math.max(Math.min(z.image.currentY,z.image.maxY),z.image.minY),z.gesture.imageWrap.transition(momentumDuration).transform("translate3d("+z.image.currentX+"px, "+z.image.currentY+"px,0)")}},onTransitionEnd:function(s){var z=s.zoom;z.gesture.slide&&s.previousIndex!==s.activeIndex&&(z.gesture.image.transform("translate3d(0,0,0) scale(1)"),z.gesture.imageWrap.transform("translate3d(0,0,0)"),z.gesture.slide=z.gesture.image=z.gesture.imageWrap=void 0,z.scale=z.currentScale=1)},toggleZoom:function(s,e){var touchX,touchY,diffX,diffY,translateX,translateY,imageWidth,imageHeight,scaledWidth,scaledHeight,translateMinX,translateMinY,translateMaxX,translateMaxY,slideWidth,slideHeight,z=s.zoom;(z.gesture.slide||(z.gesture.slide=s.clickedSlide?$(s.clickedSlide):s.slides.eq(s.activeIndex),z.gesture.image=z.gesture.slide.find("img, svg, canvas"),z.gesture.imageWrap=z.gesture.image.parent("."+s.params.zoomContainerClass)),z.gesture.image&&0!==z.gesture.image.length)&&(void 0===z.image.touchesStart.x&&e?(touchX="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,touchY="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(touchX=z.image.touchesStart.x,touchY=z.image.touchesStart.y),z.scale&&1!==z.scale?(z.scale=z.currentScale=1,z.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"),z.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),z.gesture.slide=void 0):(z.scale=z.currentScale=z.gesture.imageWrap.attr("data-swiper-zoom")||s.params.zoomMax,e?(slideWidth=z.gesture.slide[0].offsetWidth,slideHeight=z.gesture.slide[0].offsetHeight,diffX=z.gesture.slide.offset().left+slideWidth/2-touchX,diffY=z.gesture.slide.offset().top+slideHeight/2-touchY,imageWidth=z.gesture.image[0].offsetWidth,imageHeight=z.gesture.image[0].offsetHeight,scaledWidth=imageWidth*z.scale,scaledHeight=imageHeight*z.scale,translateMaxX=-(translateMinX=Math.min(slideWidth/2-scaledWidth/2,0)),translateMaxY=-(translateMinY=Math.min(slideHeight/2-scaledHeight/2,0)),(translateX=diffX*z.scale)<translateMinX&&(translateX=translateMinX),translateX>translateMaxX&&(translateX=translateMaxX),(translateY=diffY*z.scale)<translateMinY&&(translateY=translateMinY),translateY>translateMaxY&&(translateY=translateMaxY)):(translateX=0,translateY=0),z.gesture.imageWrap.transition(300).transform("translate3d("+translateX+"px, "+translateY+"px,0)"),z.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+z.scale+")")))},attachEvents:function(detach){var action=detach?"off":"on";if(s.params.zoom){s.slides;var passiveListener=!("touchstart"!==s.touchEvents.start||!s.support.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1};s.support.gestures?(s.slides[action]("gesturestart",s.zoom.onGestureStart,passiveListener),s.slides[action]("gesturechange",s.zoom.onGestureChange,passiveListener),s.slides[action]("gestureend",s.zoom.onGestureEnd,passiveListener)):"touchstart"===s.touchEvents.start&&(s.slides[action](s.touchEvents.start,s.zoom.onGestureStart,passiveListener),s.slides[action](s.touchEvents.move,s.zoom.onGestureChange,passiveListener),s.slides[action](s.touchEvents.end,s.zoom.onGestureEnd,passiveListener)),s[action]("touchStart",s.zoom.onTouchStart),s.slides.each((function(index,slide){$(slide).find("."+s.params.zoomContainerClass).length>0&&$(slide)[action](s.touchEvents.move,s.zoom.onTouchMove)})),s[action]("touchEnd",s.zoom.onTouchEnd),s[action]("transitionEnd",s.zoom.onTransitionEnd),s.params.zoomToggle&&s.on("doubleTap",s.zoom.toggleZoom)}},init:function(){s.zoom.attachEvents()},destroy:function(){s.zoom.attachEvents(!0)}},s._plugins=[],s.plugins){var p=s.plugins[plugin](s,s.params[plugin]);p&&s._plugins.push(p)}return s.callPlugins=function(eventName){for(var i=0;i<s._plugins.length;i++)eventName in s._plugins[i]&&s._plugins[i][eventName](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},s.emitterEventListeners={},s.emit=function(eventName){var i;if(s.params[eventName]&&s.params[eventName](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),s.emitterEventListeners[eventName])for(i=0;i<s.emitterEventListeners[eventName].length;i++)s.emitterEventListeners[eventName][i](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);s.callPlugins&&s.callPlugins(eventName,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},s.on=function(eventName,handler){return eventName=normalizeEventName(eventName),s.emitterEventListeners[eventName]||(s.emitterEventListeners[eventName]=[]),s.emitterEventListeners[eventName].push(handler),s},s.off=function(eventName,handler){var i;if(eventName=normalizeEventName(eventName),void 0===handler)return s.emitterEventListeners[eventName]=[],s;if(s.emitterEventListeners[eventName]&&0!==s.emitterEventListeners[eventName].length){for(i=0;i<s.emitterEventListeners[eventName].length;i++)s.emitterEventListeners[eventName][i]===handler&&s.emitterEventListeners[eventName].splice(i,1);return s}},s.once=function(eventName,handler){eventName=normalizeEventName(eventName);var _handler=function(){handler(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),s.off(eventName,_handler)};return s.on(eventName,_handler),s},s.a11y={makeFocusable:function($el){return $el.attr("tabIndex","0"),$el},addRole:function($el,role){return $el.attr("role",role),$el},addLabel:function($el,label){return $el.attr("aria-label",label),$el},disable:function($el){return $el.attr("aria-disabled",!0),$el},enable:function($el){return $el.attr("aria-disabled",!1),$el},onEnterKey:function(event){13===event.keyCode&&($(event.target).is(s.params.nextButton)?(s.onClickNext(event),s.isEnd?s.a11y.notify(s.params.lastSlideMessage):s.a11y.notify(s.params.nextSlideMessage)):$(event.target).is(s.params.prevButton)&&(s.onClickPrev(event),s.isBeginning?s.a11y.notify(s.params.firstSlideMessage):s.a11y.notify(s.params.prevSlideMessage)),$(event.target).is("."+s.params.bulletClass)&&$(event.target)[0].click())},liveRegion:$('<span class="'+s.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(message){var notification=s.a11y.liveRegion;0!==notification.length&&(notification.html(""),notification.html(message))},init:function(){s.params.nextButton&&s.nextButton&&s.nextButton.length>0&&(s.a11y.makeFocusable(s.nextButton),s.a11y.addRole(s.nextButton,"button"),s.a11y.addLabel(s.nextButton,s.params.nextSlideMessage)),s.params.prevButton&&s.prevButton&&s.prevButton.length>0&&(s.a11y.makeFocusable(s.prevButton),s.a11y.addRole(s.prevButton,"button"),s.a11y.addLabel(s.prevButton,s.params.prevSlideMessage)),$(s.container).append(s.a11y.liveRegion)},initPagination:function(){s.params.pagination&&s.params.paginationClickable&&s.bullets&&s.bullets.length&&s.bullets.each((function(){var bullet=$(this);s.a11y.makeFocusable(bullet),s.a11y.addRole(bullet,"button"),s.a11y.addLabel(bullet,s.params.paginationBulletMessage.replace(/{{index}}/,bullet.index()+1))}))},destroy:function(){s.a11y.liveRegion&&s.a11y.liveRegion.length>0&&s.a11y.liveRegion.remove()}},s.init=function(){s.params.loop&&s.createLoop(),s.updateContainerSize(),s.updateSlidesSize(),s.updatePagination(),s.params.scrollbar&&s.scrollbar&&(s.scrollbar.set(),s.params.scrollbarDraggable&&s.scrollbar.enableDraggable()),"slide"!==s.params.effect&&s.effects[s.params.effect]&&(s.params.loop||s.updateProgress(),s.effects[s.params.effect].setTranslate()),s.params.loop?s.slideTo(s.params.initialSlide+s.loopedSlides,0,s.params.runCallbacksOnInit):(s.slideTo(s.params.initialSlide,0,s.params.runCallbacksOnInit),0===s.params.initialSlide&&(s.parallax&&s.params.parallax&&s.parallax.setTranslate(),s.lazy&&s.params.lazyLoading&&(s.lazy.load(),s.lazy.initialImageLoaded=!0))),s.attachEvents(),s.params.observer&&s.support.observer&&s.initObservers(),s.params.preloadImages&&!s.params.lazyLoading&&s.preloadImages(),s.params.zoom&&s.zoom&&s.zoom.init(),s.params.autoplay&&s.startAutoplay(),s.params.keyboardControl&&s.enableKeyboardControl&&s.enableKeyboardControl(),s.params.mousewheelControl&&s.enableMousewheelControl&&s.enableMousewheelControl(),s.params.hashnavReplaceState&&(s.params.replaceState=s.params.hashnavReplaceState),s.params.history&&s.history&&s.history.init(),s.params.hashnav&&s.hashnav&&s.hashnav.init(),s.params.a11y&&s.a11y&&s.a11y.init(),s.emit("onInit",s)},s.cleanupStyles=function(){s.container.removeClass(s.classNames.join(" ")).removeAttr("style"),s.wrapper.removeAttr("style"),s.slides&&s.slides.length&&s.slides.removeClass([s.params.slideVisibleClass,s.params.slideActiveClass,s.params.slideNextClass,s.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),s.paginationContainer&&s.paginationContainer.length&&s.paginationContainer.removeClass(s.params.paginationHiddenClass),s.bullets&&s.bullets.length&&s.bullets.removeClass(s.params.bulletActiveClass),s.params.prevButton&&$(s.params.prevButton).removeClass(s.params.buttonDisabledClass),s.params.nextButton&&$(s.params.nextButton).removeClass(s.params.buttonDisabledClass),s.params.scrollbar&&s.scrollbar&&(s.scrollbar.track&&s.scrollbar.track.length&&s.scrollbar.track.removeAttr("style"),s.scrollbar.drag&&s.scrollbar.drag.length&&s.scrollbar.drag.removeAttr("style"))},s.destroy=function(deleteInstance,cleanupStyles){s.detachEvents(),s.stopAutoplay(),s.params.scrollbar&&s.scrollbar&&s.params.scrollbarDraggable&&s.scrollbar.disableDraggable(),s.params.loop&&s.destroyLoop(),cleanupStyles&&s.cleanupStyles(),s.disconnectObservers(),s.params.zoom&&s.zoom&&s.zoom.destroy(),s.params.keyboardControl&&s.disableKeyboardControl&&s.disableKeyboardControl(),s.params.mousewheelControl&&s.disableMousewheelControl&&s.disableMousewheelControl(),s.params.a11y&&s.a11y&&s.a11y.destroy(),s.params.history&&!s.params.replaceState&&window.removeEventListener("popstate",s.history.setHistoryPopState),s.params.hashnav&&s.hashnav&&s.hashnav.destroy(),s.emit("onDestroy"),!1!==deleteInstance&&(s=null)},s.init(),s}function round(a){return Math.floor(a)}function autoplay(){var autoplayDelay=s.params.autoplay,activeSlide=s.slides.eq(s.activeIndex);activeSlide.attr("data-swiper-autoplay")&&(autoplayDelay=activeSlide.attr("data-swiper-autoplay")||s.params.autoplay),s.autoplayTimeoutId=setTimeout((function(){s.params.loop?(s.fixLoop(),s._slideNext(),s.emit("onAutoplay",s)):s.isEnd?params.autoplayStopOnLast?s.stopAutoplay():(s._slideTo(0),s.emit("onAutoplay",s)):(s._slideNext(),s.emit("onAutoplay",s))}),autoplayDelay)}function findElementInEvent(e,selector){var el=$(e.target);if(!el.is(selector))if("string"==typeof selector)el=el.parents(selector);else if(selector.nodeType){var found;return el.parents().each((function(index,_el){_el===selector&&(found=selector)})),found?selector:void 0}if(0!==el.length)return el[0]}function initObserver(target,options){options=options||{};var observer=new(window.MutationObserver||window.WebkitMutationObserver)((function(mutations){mutations.forEach((function(mutation){s.onResize(!0),s.emit("onObserverUpdate",s,mutation)}))}));observer.observe(target,{attributes:void 0===options.attributes||options.attributes,childList:void 0===options.childList||options.childList,characterData:void 0===options.characterData||options.characterData}),s.observers.push(observer)}function handleKeyboard(e){e.originalEvent&&(e=e.originalEvent);var kc=e.keyCode||e.charCode;if(!s.params.allowSwipeToNext&&(s.isHorizontal()&&39===kc||!s.isHorizontal()&&40===kc))return!1;if(!s.params.allowSwipeToPrev&&(s.isHorizontal()&&37===kc||!s.isHorizontal()&&38===kc))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===kc||39===kc||38===kc||40===kc){var inView=!1;if(s.container.parents("."+s.params.slideClass).length>0&&0===s.container.parents("."+s.params.slideActiveClass).length)return;var windowScroll={left:window.pageXOffset,top:window.pageYOffset},windowWidth=window.innerWidth,windowHeight=window.innerHeight,swiperOffset=s.container.offset();s.rtl&&(swiperOffset.left=swiperOffset.left-s.container[0].scrollLeft);for(var swiperCoord=[[swiperOffset.left,swiperOffset.top],[swiperOffset.left+s.width,swiperOffset.top],[swiperOffset.left,swiperOffset.top+s.height],[swiperOffset.left+s.width,swiperOffset.top+s.height]],i=0;i<swiperCoord.length;i++){var point=swiperCoord[i];point[0]>=windowScroll.left&&point[0]<=windowScroll.left+windowWidth&&point[1]>=windowScroll.top&&point[1]<=windowScroll.top+windowHeight&&(inView=!0)}if(!inView)return}s.isHorizontal()?(37!==kc&&39!==kc||(e.preventDefault?e.preventDefault():e.returnValue=!1),(39===kc&&!s.rtl||37===kc&&s.rtl)&&s.slideNext(),(37===kc&&!s.rtl||39===kc&&s.rtl)&&s.slidePrev()):(38!==kc&&40!==kc||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===kc&&s.slideNext(),38===kc&&s.slidePrev()),s.emit("onKeyPress",s,kc)}}function handleMousewheel(e){e.originalEvent&&(e=e.originalEvent);var delta=0,rtlFactor=s.rtl?-1:1,data=function normalizeWheel(event){var sX=0,sY=0,pX=0,pY=0;return"detail"in event&&(sY=event.detail),"wheelDelta"in event&&(sY=-event.wheelDelta/120),"wheelDeltaY"in event&&(sY=-event.wheelDeltaY/120),"wheelDeltaX"in event&&(sX=-event.wheelDeltaX/120),"axis"in event&&event.axis===event.HORIZONTAL_AXIS&&(sX=sY,sY=0),pX=10*sX,pY=10*sY,"deltaY"in event&&(pY=event.deltaY),"deltaX"in event&&(pX=event.deltaX),(pX||pY)&&event.deltaMode&&(1===event.deltaMode?(pX*=40,pY*=40):(pX*=800,pY*=800)),pX&&!sX&&(sX=pX<1?-1:1),pY&&!sY&&(sY=pY<1?-1:1),{spinX:sX,spinY:sY,pixelX:pX,pixelY:pY}}(e);if(s.params.mousewheelForceToAxis)if(s.isHorizontal()){if(!(Math.abs(data.pixelX)>Math.abs(data.pixelY)))return;delta=data.pixelX*rtlFactor}else{if(!(Math.abs(data.pixelY)>Math.abs(data.pixelX)))return;delta=data.pixelY}else delta=Math.abs(data.pixelX)>Math.abs(data.pixelY)?-data.pixelX*rtlFactor:-data.pixelY;if(0!==delta){if(s.params.mousewheelInvert&&(delta=-delta),s.params.freeMode){var position=s.getWrapperTranslate()+delta*s.params.mousewheelSensitivity,wasBeginning=s.isBeginning,wasEnd=s.isEnd;if(position>=s.minTranslate()&&(position=s.minTranslate()),position<=s.maxTranslate()&&(position=s.maxTranslate()),s.setWrapperTransition(0),s.setWrapperTranslate(position),s.updateProgress(),s.updateActiveIndex(),(!wasBeginning&&s.isBeginning||!wasEnd&&s.isEnd)&&s.updateClasses(),s.params.freeModeSticky?(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=setTimeout((function(){s.slideReset()}),300)):s.params.lazyLoading&&s.lazy&&s.lazy.load(),s.emit("onScroll",s,e),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.stopAutoplay(),0===position||position===s.maxTranslate())return}else{if((new window.Date).getTime()-s.mousewheel.lastScrollTime>60)if(delta<0)if(s.isEnd&&!s.params.loop||s.animating){if(s.params.mousewheelReleaseOnEdges)return!0}else s.slideNext(),s.emit("onScroll",s,e);else if(s.isBeginning&&!s.params.loop||s.animating){if(s.params.mousewheelReleaseOnEdges)return!0}else s.slidePrev(),s.emit("onScroll",s,e);s.mousewheel.lastScrollTime=(new window.Date).getTime()}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}}function setParallaxTransform(el,progress){var p,pX,pY;el=$(el);var rtlFactor=s.rtl?-1:1;p=el.attr("data-swiper-parallax")||"0",pX=el.attr("data-swiper-parallax-x"),pY=el.attr("data-swiper-parallax-y"),pX||pY?(pX=pX||"0",pY=pY||"0"):s.isHorizontal()?(pX=p,pY="0"):(pY=p,pX="0"),pX=pX.indexOf("%")>=0?parseInt(pX,10)*progress*rtlFactor+"%":pX*progress*rtlFactor+"px",pY=pY.indexOf("%")>=0?parseInt(pY,10)*progress+"%":pY*progress+"px",el.transform("translate3d("+pX+", "+pY+",0px)")}function normalizeEventName(eventName){return 0!==eventName.indexOf("on")&&(eventName=eventName[0]!==eventName[0].toUpperCase()?"on"+eventName[0].toUpperCase()+eventName.substring(1):"on"+eventName),eventName}};Swiper.prototype={isSafari:(ua=window.navigator.userAgent.toLowerCase(),ua.indexOf("safari")>=0&&ua.indexOf("chrome")<0&&ua.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(arr){return"[object Array]"===Object.prototype.toString.apply(arr)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:(div=document.createElement("div"),div.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===div.getElementsByTagName("i").length)},device:function(){var ua=window.navigator.userAgent,android=ua.match(/(Android);?[\s\/]+([\d.]+)?/),ipad=ua.match(/(iPad).*OS\s([\d_]+)/),ipod=ua.match(/(iPod)(.*OS\s([\d_]+))?/),iphone=!ipad&&ua.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:ipad||iphone||ipod,android:android}}(),support:{touch:window.Modernizr&&!0===Modernizr.touch||!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){var div=document.createElement("div").style;return"webkitPerspective"in div||"MozPerspective"in div||"OPerspective"in div||"MsPerspective"in div||"perspective"in div}(),flexbox:function(){for(var div=document.createElement("div").style,styles="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<styles.length;i++)if(styles[i]in div)return!0}(),observer:"MutationObserver"in window||"WebkitMutationObserver"in window,passiveListener:function(){var supportsPassive=!1;try{var opts=Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}});window.addEventListener("testPassiveListener",null,opts)}catch(e){}return supportsPassive}(),gestures:"ongesturestart"in window},plugins:{}};for(var domLib,Dom7=function(){var Dom7=function(arr){var i=0;for(i=0;i<arr.length;i++)this[i]=arr[i];return this.length=arr.length,this},$=function(selector,context){var arr=[],i=0;if(selector&&!context&&selector instanceof Dom7)return selector;if(selector)if("string"==typeof selector){var els,tempParent,html=selector.trim();if(html.indexOf("<")>=0&&html.indexOf(">")>=0){var toCreate="div";for(0===html.indexOf("<li")&&(toCreate="ul"),0===html.indexOf("<tr")&&(toCreate="tbody"),0!==html.indexOf("<td")&&0!==html.indexOf("<th")||(toCreate="tr"),0===html.indexOf("<tbody")&&(toCreate="table"),0===html.indexOf("<option")&&(toCreate="select"),(tempParent=document.createElement(toCreate)).innerHTML=selector,i=0;i<tempParent.childNodes.length;i++)arr.push(tempParent.childNodes[i])}else for(els=context||"#"!==selector[0]||selector.match(/[ .<>:~]/)?(context||document).querySelectorAll(selector):[document.getElementById(selector.split("#")[1])],i=0;i<els.length;i++)els[i]&&arr.push(els[i])}else if(selector.nodeType||selector===window||selector===document)arr.push(selector);else if(selector.length>0&&selector[0].nodeType)for(i=0;i<selector.length;i++)arr.push(selector[i]);return new Dom7(arr)};return Dom7.prototype={addClass:function(className){if(void 0===className)return this;for(var classes=className.split(" "),i=0;i<classes.length;i++)for(var j=0;j<this.length;j++)this[j].classList.add(classes[i]);return this},removeClass:function(className){for(var classes=className.split(" "),i=0;i<classes.length;i++)for(var j=0;j<this.length;j++)this[j].classList.remove(classes[i]);return this},hasClass:function(className){return!!this[0]&&this[0].classList.contains(className)},toggleClass:function(className){for(var classes=className.split(" "),i=0;i<classes.length;i++)for(var j=0;j<this.length;j++)this[j].classList.toggle(classes[i]);return this},attr:function(attrs,value){if(1===arguments.length&&"string"==typeof attrs)return this[0]?this[0].getAttribute(attrs):void 0;for(var i=0;i<this.length;i++)if(2===arguments.length)this[i].setAttribute(attrs,value);else for(var attrName in attrs)this[i][attrName]=attrs[attrName],this[i].setAttribute(attrName,attrs[attrName]);return this},removeAttr:function(attr){for(var i=0;i<this.length;i++)this[i].removeAttribute(attr);return this},data:function(key,value){if(void 0!==value){for(var i=0;i<this.length;i++){var el=this[i];el.dom7ElementDataStorage||(el.dom7ElementDataStorage={}),el.dom7ElementDataStorage[key]=value}return this}if(this[0]){var dataKey=this[0].getAttribute("data-"+key);return dataKey||(this[0].dom7ElementDataStorage&&key in this[0].dom7ElementDataStorage?this[0].dom7ElementDataStorage[key]:void 0)}},transform:function(transform){for(var i=0;i<this.length;i++){var elStyle=this[i].style;elStyle.webkitTransform=elStyle.MsTransform=elStyle.msTransform=elStyle.MozTransform=elStyle.OTransform=elStyle.transform=transform}return this},transition:function(duration){"string"!=typeof duration&&(duration+="ms");for(var i=0;i<this.length;i++){var elStyle=this[i].style;elStyle.webkitTransitionDuration=elStyle.MsTransitionDuration=elStyle.msTransitionDuration=elStyle.MozTransitionDuration=elStyle.OTransitionDuration=elStyle.transitionDuration=duration}return this},on:function(eventName,targetSelector,listener,capture){function handleLiveEvent(e){var target=e.target;if($(target).is(targetSelector))listener.call(target,e);else for(var parents=$(target).parents(),k=0;k<parents.length;k++)$(parents[k]).is(targetSelector)&&listener.call(parents[k],e)}var i,j,events=eventName.split(" ");for(i=0;i<this.length;i++)if("function"==typeof targetSelector||!1===targetSelector)for("function"==typeof targetSelector&&(listener=arguments[1],capture=arguments[2]||!1),j=0;j<events.length;j++)this[i].addEventListener(events[j],listener,capture);else for(j=0;j<events.length;j++)this[i].dom7LiveListeners||(this[i].dom7LiveListeners=[]),this[i].dom7LiveListeners.push({listener:listener,liveListener:handleLiveEvent}),this[i].addEventListener(events[j],handleLiveEvent,capture);return this},off:function(eventName,targetSelector,listener,capture){for(var events=eventName.split(" "),i=0;i<events.length;i++)for(var j=0;j<this.length;j++)if("function"==typeof targetSelector||!1===targetSelector)"function"==typeof targetSelector&&(listener=arguments[1],capture=arguments[2]||!1),this[j].removeEventListener(events[i],listener,capture);else if(this[j].dom7LiveListeners)for(var k=0;k<this[j].dom7LiveListeners.length;k++)this[j].dom7LiveListeners[k].listener===listener&&this[j].removeEventListener(events[i],this[j].dom7LiveListeners[k].liveListener,capture);return this},once:function(eventName,targetSelector,listener,capture){var dom=this;function proxy(e){listener(e),dom.off(eventName,targetSelector,proxy,capture)}"function"==typeof targetSelector&&(targetSelector=!1,listener=arguments[1],capture=arguments[2]),dom.on(eventName,targetSelector,proxy,capture)},trigger:function(eventName,eventData){for(var i=0;i<this.length;i++){var evt;try{evt=new window.CustomEvent(eventName,{detail:eventData,bubbles:!0,cancelable:!0})}catch(e){(evt=document.createEvent("Event")).initEvent(eventName,!0,!0),evt.detail=eventData}this[i].dispatchEvent(evt)}return this},transitionEnd:function(callback){var i,events=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],dom=this;function fireCallBack(e){if(e.target===this)for(callback.call(this,e),i=0;i<events.length;i++)dom.off(events[i],fireCallBack)}if(callback)for(i=0;i<events.length;i++)dom.on(events[i],fireCallBack);return this},width:function(){return this[0]===window?window.innerWidth:this.length>0?parseFloat(this.css("width")):null},outerWidth:function(includeMargins){return this.length>0?includeMargins?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},height:function(){return this[0]===window?window.innerHeight:this.length>0?parseFloat(this.css("height")):null},outerHeight:function(includeMargins){return this.length>0?includeMargins?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},offset:function(){if(this.length>0){var el=this[0],box=el.getBoundingClientRect(),body=document.body,clientTop=el.clientTop||body.clientTop||0,clientLeft=el.clientLeft||body.clientLeft||0,scrollTop=window.pageYOffset||el.scrollTop,scrollLeft=window.pageXOffset||el.scrollLeft;return{top:box.top+scrollTop-clientTop,left:box.left+scrollLeft-clientLeft}}return null},css:function(props,value){var i;if(1===arguments.length){if("string"!=typeof props){for(i=0;i<this.length;i++)for(var prop in props)this[i].style[prop]=props[prop];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(props)}if(2===arguments.length&&"string"==typeof props){for(i=0;i<this.length;i++)this[i].style[props]=value;return this}return this},each:function(callback){for(var i=0;i<this.length;i++)callback.call(this[i],i,this[i]);return this},html:function(html){if(void 0===html)return this[0]?this[0].innerHTML:void 0;for(var i=0;i<this.length;i++)this[i].innerHTML=html;return this},text:function(text){if(void 0===text)return this[0]?this[0].textContent.trim():null;for(var i=0;i<this.length;i++)this[i].textContent=text;return this},is:function(selector){if(!this[0])return!1;var compareWith,i;if("string"==typeof selector){var el=this[0];if(el===document)return selector===document;if(el===window)return selector===window;if(el.matches)return el.matches(selector);if(el.webkitMatchesSelector)return el.webkitMatchesSelector(selector);if(el.mozMatchesSelector)return el.mozMatchesSelector(selector);if(el.msMatchesSelector)return el.msMatchesSelector(selector);for(compareWith=$(selector),i=0;i<compareWith.length;i++)if(compareWith[i]===this[0])return!0;return!1}if(selector===document)return this[0]===document;if(selector===window)return this[0]===window;if(selector.nodeType||selector instanceof Dom7){for(compareWith=selector.nodeType?[selector]:selector,i=0;i<compareWith.length;i++)if(compareWith[i]===this[0])return!0;return!1}return!1},index:function(){if(this[0]){for(var child=this[0],i=0;null!==(child=child.previousSibling);)1===child.nodeType&&i++;return i}},eq:function(index){if(void 0===index)return this;var returnIndex,length=this.length;return new Dom7(index>length-1?[]:index<0?(returnIndex=length+index)<0?[]:[this[returnIndex]]:[this[index]])},append:function(newChild){var i,j;for(i=0;i<this.length;i++)if("string"==typeof newChild){var tempDiv=document.createElement("div");for(tempDiv.innerHTML=newChild;tempDiv.firstChild;)this[i].appendChild(tempDiv.firstChild)}else if(newChild instanceof Dom7)for(j=0;j<newChild.length;j++)this[i].appendChild(newChild[j]);else this[i].appendChild(newChild);return this},prepend:function(newChild){var i,j;for(i=0;i<this.length;i++)if("string"==typeof newChild){var tempDiv=document.createElement("div");for(tempDiv.innerHTML=newChild,j=tempDiv.childNodes.length-1;j>=0;j--)this[i].insertBefore(tempDiv.childNodes[j],this[i].childNodes[0])}else if(newChild instanceof Dom7)for(j=0;j<newChild.length;j++)this[i].insertBefore(newChild[j],this[i].childNodes[0]);else this[i].insertBefore(newChild,this[i].childNodes[0]);return this},insertBefore:function(selector){for(var before=$(selector),i=0;i<this.length;i++)if(1===before.length)before[0].parentNode.insertBefore(this[i],before[0]);else if(before.length>1)for(var j=0;j<before.length;j++)before[j].parentNode.insertBefore(this[i].cloneNode(!0),before[j])},insertAfter:function(selector){for(var after=$(selector),i=0;i<this.length;i++)if(1===after.length)after[0].parentNode.insertBefore(this[i],after[0].nextSibling);else if(after.length>1)for(var j=0;j<after.length;j++)after[j].parentNode.insertBefore(this[i].cloneNode(!0),after[j].nextSibling)},next:function(selector){return this.length>0?selector?this[0].nextElementSibling&&$(this[0].nextElementSibling).is(selector)?new Dom7([this[0].nextElementSibling]):new Dom7([]):this[0].nextElementSibling?new Dom7([this[0].nextElementSibling]):new Dom7([]):new Dom7([])},nextAll:function(selector){var nextEls=[],el=this[0];if(!el)return new Dom7([]);for(;el.nextElementSibling;){var next=el.nextElementSibling;selector?$(next).is(selector)&&nextEls.push(next):nextEls.push(next),el=next}return new Dom7(nextEls)},prev:function(selector){return this.length>0?selector?this[0].previousElementSibling&&$(this[0].previousElementSibling).is(selector)?new Dom7([this[0].previousElementSibling]):new Dom7([]):this[0].previousElementSibling?new Dom7([this[0].previousElementSibling]):new Dom7([]):new Dom7([])},prevAll:function(selector){var prevEls=[],el=this[0];if(!el)return new Dom7([]);for(;el.previousElementSibling;){var prev=el.previousElementSibling;selector?$(prev).is(selector)&&prevEls.push(prev):prevEls.push(prev),el=prev}return new Dom7(prevEls)},parent:function(selector){for(var parents=[],i=0;i<this.length;i++)selector?$(this[i].parentNode).is(selector)&&parents.push(this[i].parentNode):parents.push(this[i].parentNode);return $($.unique(parents))},parents:function(selector){for(var parents=[],i=0;i<this.length;i++)for(var parent=this[i].parentNode;parent;)selector?$(parent).is(selector)&&parents.push(parent):parents.push(parent),parent=parent.parentNode;return $($.unique(parents))},find:function(selector){for(var foundElements=[],i=0;i<this.length;i++)for(var found=this[i].querySelectorAll(selector),j=0;j<found.length;j++)foundElements.push(found[j]);return new Dom7(foundElements)},children:function(selector){for(var children=[],i=0;i<this.length;i++)for(var childNodes=this[i].childNodes,j=0;j<childNodes.length;j++)selector?1===childNodes[j].nodeType&&$(childNodes[j]).is(selector)&&children.push(childNodes[j]):1===childNodes[j].nodeType&&children.push(childNodes[j]);return new Dom7($.unique(children))},remove:function(){for(var i=0;i<this.length;i++)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this},add:function(){var i,j,dom=this;for(i=0;i<arguments.length;i++){var toAdd=$(arguments[i]);for(j=0;j<toAdd.length;j++)dom[dom.length]=toAdd[j],dom.length++}return dom}},$.fn=Dom7.prototype,$.unique=function(arr){for(var unique=[],i=0;i<arr.length;i++)-1===unique.indexOf(arr[i])&&unique.push(arr[i]);return unique},$}(),swiperDomPlugins=["jQuery","Zepto","Dom7"],i=0;i<swiperDomPlugins.length;i++)window[swiperDomPlugins[i]]&&addLibraryPlugin(window[swiperDomPlugins[i]]);function addLibraryPlugin(lib){lib.fn.swiper=function(params){var firstInstance;return lib(this).each((function(){var s=new Swiper(this,params);firstInstance||(firstInstance=s)})),firstInstance}}(domLib=void 0===Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7)&&("transitionEnd"in domLib.fn||(domLib.fn.transitionEnd=function(callback){var i,events=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],dom=this;function fireCallBack(e){if(e.target===this)for(callback.call(this,e),i=0;i<events.length;i++)dom.off(events[i],fireCallBack)}if(callback)for(i=0;i<events.length;i++)dom.on(events[i],fireCallBack);return this}),"transform"in domLib.fn||(domLib.fn.transform=function(transform){for(var i=0;i<this.length;i++){var elStyle=this[i].style;elStyle.webkitTransform=elStyle.MsTransform=elStyle.msTransform=elStyle.MozTransform=elStyle.OTransform=elStyle.transform=transform}return this}),"transition"in domLib.fn||(domLib.fn.transition=function(duration){"string"!=typeof duration&&(duration+="ms");for(var i=0;i<this.length;i++){var elStyle=this[i].style;elStyle.webkitTransitionDuration=elStyle.MsTransitionDuration=elStyle.msTransitionDuration=elStyle.MozTransitionDuration=elStyle.OTransitionDuration=elStyle.transitionDuration=duration}return this}),"outerWidth"in domLib.fn||(domLib.fn.outerWidth=function(includeMargins){return this.length>0?includeMargins?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=Swiper}(),module.exports=window.Swiper},"0JQy":function(module,exports){var rsAstral="[\\ud800-\\udfff]",rsCombo="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsNonAstral="[^\\ud800-\\udfff]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",reOptMod="(?:"+rsCombo+"|"+rsFitz+")"+"?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g");module.exports=function unicodeToArray(string){return string.match(reUnicode)||[]}},"0L5q":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign,"function"==typeof Symbol&&Symbol.iterator},"0LDn":function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("italics",(function(createHTML){return function italics(){return createHTML(this,"i","","")}}))},"0XuU":function(module,exports,__webpack_require__){module.exports=__webpack_require__("43KI").Transform},"0ZTe":function(module,exports,__webpack_require__){var castSlice=__webpack_require__("wy8a"),hasUnicode=__webpack_require__("quyA"),stringToArray=__webpack_require__("Em2t"),toString=__webpack_require__("dt0z");module.exports=function createCaseFirst(methodName){return function(string){string=toString(string);var strSymbols=hasUnicode(string)?stringToArray(string):void 0,chr=strSymbols?strSymbols[0]:string.charAt(0),trailing=strSymbols?castSlice(strSymbols,1).join(""):string.slice(1);return chr[methodName]()+trailing}}},"0l/t":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$filter=__webpack_require__("CkkT")(2);$export($export.P+$export.F*!__webpack_require__("LyE8")([].filter,!0),"Array",{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments[1])}})},"0mN4":function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("fixed",(function(createHTML){return function fixed(){return createHTML(this,"tt","","")}}))},"0sh+":function(module,exports,__webpack_require__){var isRegExp=__webpack_require__("quPj"),defined=__webpack_require__("vhPU");module.exports=function(that,searchString,NAME){if(isRegExp(searchString))throw TypeError("String#"+NAME+" doesn't accept regex!");return String(defined(that))}},"11IZ":function(module,exports,__webpack_require__){var $parseFloat=__webpack_require__("dyZX").parseFloat,$trim=__webpack_require__("qncB").trim;module.exports=1/$parseFloat(__webpack_require__("/e88")+"-0")!=-1/0?function parseFloat(str){var string=$trim(String(str),3),result=$parseFloat(string);return 0===result&&"-"==string.charAt(0)?-0:result}:$parseFloat},"14A5":function(module,exports,__webpack_require__){(function(global){var BlobBuilder=global.BlobBuilder||global.WebKitBlobBuilder||global.MSBlobBuilder||global.MozBlobBuilder,blobSupported=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),blobSupportsArrayBufferView=blobSupported&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),blobBuilderSupported=BlobBuilder&&BlobBuilder.prototype.append&&BlobBuilder.prototype.getBlob;function mapArrayBufferViews(ary){for(var i=0;i<ary.length;i++){var chunk=ary[i];if(chunk.buffer instanceof ArrayBuffer){var buf=chunk.buffer;if(chunk.byteLength!==buf.byteLength){var copy=new Uint8Array(chunk.byteLength);copy.set(new Uint8Array(buf,chunk.byteOffset,chunk.byteLength)),buf=copy.buffer}ary[i]=buf}}}function BlobBuilderConstructor(ary,options){options=options||{};var bb=new BlobBuilder;mapArrayBufferViews(ary);for(var i=0;i<ary.length;i++)bb.append(ary[i]);return options.type?bb.getBlob(options.type):bb.getBlob()}function BlobConstructor(ary,options){return mapArrayBufferViews(ary),new Blob(ary,options||{})}module.exports=blobSupported?blobSupportsArrayBufferView?global.Blob:BlobConstructor:blobBuilderSupported?BlobBuilderConstructor:void 0}).call(this,__webpack_require__("yLpj"))},"16wW":function(module,exports,__webpack_require__){"use strict";var pako={};(0,__webpack_require__("vn/o").assign)(pako,__webpack_require__("QSbz"),__webpack_require__("cX6o"),__webpack_require__("LOvY")),module.exports=pako},"1IWx":function(module,exports,__webpack_require__){module.exports=Stream;var EE=__webpack_require__("+qE3").EventEmitter;function Stream(){EE.call(this)}__webpack_require__("P7XM")(Stream,EE),Stream.Readable=__webpack_require__("43KI"),Stream.Writable=__webpack_require__("LGOv"),Stream.Duplex=__webpack_require__("CWBI"),Stream.Transform=__webpack_require__("0XuU"),Stream.PassThrough=__webpack_require__("wq4j"),Stream.Stream=Stream,Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){dest.writable&&!1===dest.write(chunk)&&source.pause&&source.pause()}function ondrain(){source.readable&&source.resume&&source.resume()}source.on("data",ondata),dest.on("drain",ondrain),dest._isStdio||options&&!1===options.end||(source.on("end",onend),source.on("close",onclose));var didOnEnd=!1;function onend(){didOnEnd||(didOnEnd=!0,dest.end())}function onclose(){didOnEnd||(didOnEnd=!0,"function"==typeof dest.destroy&&dest.destroy())}function onerror(er){if(cleanup(),0===EE.listenerCount(this,"error"))throw er}function cleanup(){source.removeListener("data",ondata),dest.removeListener("drain",ondrain),source.removeListener("end",onend),source.removeListener("close",onclose),source.removeListener("error",onerror),dest.removeListener("error",onerror),source.removeListener("end",cleanup),source.removeListener("close",cleanup),dest.removeListener("close",cleanup)}return source.on("error",onerror),dest.on("error",onerror),source.on("end",cleanup),source.on("close",cleanup),dest.on("close",cleanup),dest.emit("pipe",source),dest}},"1MBn":function(module,exports,__webpack_require__){var getKeys=__webpack_require__("DVgA"),gOPS=__webpack_require__("JiEa"),pIE=__webpack_require__("UqcF");module.exports=function(it){var result=getKeys(it),getSymbols=gOPS.f;if(getSymbols)for(var key,symbols=getSymbols(it),isEnum=pIE.f,i=0;symbols.length>i;)isEnum.call(it,key=symbols[i++])&&result.push(key);return result}},"1RGe":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$re=__webpack_require__("q9eg")(/&(?:amp|lt|gt|quot|apos);/g,{"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'"});$export($export.P+$export.F,"String",{unescapeHTML:function unescapeHTML(){return $re(this)}})},"1TsA":function(module,exports){module.exports=function(done,value){return{value:value,done:!!done}}},"1sb8":function(module,__webpack_exports__,__webpack_require__){"use strict";var Placement,ContentType,VideoAction;__webpack_require__.d(__webpack_exports__,"a",(function(){return Placement})),function(Placement){Placement.AddedFree="added free",Placement.AddedWithCost="added with cost",Placement.BambuserVideo="bambuser-video",Placement.BeautyEditBanner="beauty edit banner",Placement.BestOffersProducts="best offers products",Placement.CampaignBanner="campaign banner",Placement.CategoryListing="category listing",Placement.CustomerOrders="customer orders",Placement.DigitalCatalogue="digital catalogue",Placement.DigitalCatalogueECatalogue="digital catalogue - eCatalogue",Placement.FavoritesSubmenu="favorites submenu",Placement.HeroBanner="hero banner",Placement.LookbookBanner="lookbook banner",Placement.MainBasket="main basket",Placement.MainProductDetail="main product detail",Placement.Minibag="minibag",Placement.MobileOfficePromoPopup="mobile office - promo popup",Placement.MobileOfficeWhatsNew="mobile office - whats new",Placement.NewProducts="new products",Placement.OfferHints="offer hints",Placement.Offers="offers",Placement.OlapicWidget="olapic widget",Placement.OtherProducts="other products",Placement.PersonalProductList="personal product list",Placement.PersonalProductListBuyAll="personal product list - buy all button",Placement.ProductListing="product listing",Placement.ProductSlider="product slider",Placement.QuickOrderForm="quick order form",Placement.RealTimeOrderTracking="real time order tracking",Placement.RecentProducts="recent products",Placement.RecommendedProducts="recommended products",Placement.RelatedProducts="related products",Placement.RewardShop="reward shop",Placement.Samples="samples",Placement.SelectedCategoryProducts="selected category products",Placement.SelfRegistrationForm="self-registration form",Placement.SetSection="set section",Placement.SponsorRegistrationForm="sponsor registration form",Placement.Subscriptions="subscriptions",Placement.TopBrands="top brands",Placement.TopCategories="top categories",Placement.TopNavigationPopularProducts="top navigation popular products",Placement.TopNavigationSearchSuggestions="top navigation search suggestions",Placement.TopNavigationShopFor="top navigation shop for",Placement.VipCustomerBenefits="vip customer benefits",Placement.VipCustomerCheckoutRegistrationForm="checkout registration form"}(Placement||(Placement={})),function(ContentType){ContentType.Article="article",ContentType.Catalogue="catalogue",ContentType.Page="page",ContentType.Photo="photo",ContentType.PopularQuery="popular query",ContentType.Product="product",ContentType.ProductList="product list"}(ContentType||(ContentType={})),function(VideoAction){VideoAction.Start="start",VideoAction.Progress="progress",VideoAction.Complete="complete"}(VideoAction||(VideoAction={}))},"20iu":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="express-checkout-button-click"},"25dN":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Object",{is:__webpack_require__("g6HL")})},"25qn":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.P+$export.R,"Set",{toJSON:__webpack_require__("RLh9")("Set")})},"2Dfs":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return Name})),__webpack_require__.d(__webpack_exports__,"a",(function(){return BambuserEventType}));var BambuserEventType,Name="bambuser-live-shopping";!function(BambuserEventType){BambuserEventType.ShowStarted="show-started",BambuserEventType.ShowEnded="show-ended",BambuserEventType.AddToBasket="add-to-basket",BambuserEventType.ChatMessage="chat-message",BambuserEventType.LikeButtonClicked="like-button-clicked"}(BambuserEventType||(BambuserEventType={}))},"2EFT":function(module,exports,__webpack_require__){"use strict";(function(){Object.defineProperty(exports,"__esModule",{value:!0});var interactionIDCounter=0,threadIDCounter=0;exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};var subscribers=null;function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkCanceled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}subscribers=new Set,exports.unstable_clear=function unstable_clear(callback){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return callback()}finally{exports.__interactionsRef.current=prevInteractions}},exports.unstable_getCurrent=function unstable_getCurrent(){return exports.__interactionsRef.current},exports.unstable_getThreadID=function unstable_getThreadID(){return++threadIDCounter},exports.unstable_trace=function unstable_trace(name,timestamp,callback){var threadID=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,interaction={__count:1,id:interactionIDCounter++,name:name,timestamp:timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue=void 0;try{null!==subscriber&&subscriber.onInteractionTraced(interaction)}finally{try{null!==subscriber&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{null!==subscriber&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,null!==subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue},exports.unstable_wrap=function unstable_wrap(callback){var threadID=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;null!==subscriber&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach((function(interaction){interaction.__count++}));var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue=void 0;try{null!==subscriber&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,null!==subscriber&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach((function(interaction){interaction.__count--,null!==subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)})))}}return wrapped.cancel=function cancel(){subscriber=exports.__subscriberRef.current;try{null!==subscriber&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach((function(interaction){interaction.__count--,subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}},wrapped},exports.unstable_subscribe=function unstable_subscribe(subscriber){subscribers.add(subscriber),1===subscribers.size&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted:onInteractionScheduledWorkCompleted,onInteractionTraced:onInteractionTraced,onWorkCanceled:onWorkCanceled,onWorkScheduled:onWorkScheduled,onWorkStarted:onWorkStarted,onWorkStopped:onWorkStopped})},exports.unstable_unsubscribe=function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),0===subscribers.size&&(exports.__subscriberRef.current=null)}})()},"2Meg":function(module,exports,__webpack_require__){"use strict";module.exports=function ZStream(){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}},"2Nt0":function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},"2OiF":function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},"2gN3":function(module,exports,__webpack_require__){var coreJsData=__webpack_require__("Kz5y")["__core-js_shared__"];module.exports=coreJsData},"2jYk":function(module,exports,__webpack_require__){"use strict";var Blob=__webpack_require__("14A5"),Promise=__webpack_require__("rPcs");function binaryStringToArrayBuffer(binary){for(var length=binary.length,buf=new ArrayBuffer(length),arr=new Uint8Array(buf),i=-1;++i<length;)arr[i]=binary.charCodeAt(i);return buf}function loadImage(src,crossOrigin){return new Promise((function(resolve,reject){var img=new Image;crossOrigin&&(img.crossOrigin=crossOrigin),img.onload=function(){resolve(img)},img.onerror=reject,img.src=src}))}function imgToCanvas(img){var canvas=document.createElement("canvas");return canvas.width=img.width,canvas.height=img.height,canvas.getContext("2d").drawImage(img,0,0,img.width,img.height,0,0,img.width,img.height),canvas}function createBlob(parts,options){return"string"==typeof(options=options||{})&&(options={type:options}),new Blob(parts,options)}function blobToBinaryString(blob){return new Promise((function(resolve,reject){var reader=new FileReader,hasBinaryString="function"==typeof reader.readAsBinaryString;reader.onloadend=function(e){var result=e.target.result||"";if(hasBinaryString)return resolve(result);resolve(function arrayBufferToBinaryString(buffer){for(var binary="",bytes=new Uint8Array(buffer),length=bytes.byteLength,i=-1;++i<length;)binary+=String.fromCharCode(bytes[i]);return binary}(result))},reader.onerror=reject,hasBinaryString?reader.readAsBinaryString(blob):reader.readAsArrayBuffer(blob)}))}function base64StringToBlob(base64,type){return Promise.resolve().then((function(){var parts=[binaryStringToArrayBuffer(atob(base64))];return type?createBlob(parts,{type:type}):createBlob(parts)}))}function blobToBase64String(blob){return blobToBinaryString(blob).then((function(binary){return btoa(binary)}))}function dataURLToBlob(dataURL){return Promise.resolve().then((function(){var type=dataURL.match(/data:([^;]+)/)[1],base64=dataURL.replace(/^[^,]+,/,"");return createBlob([binaryStringToArrayBuffer(atob(base64))],{type:type})}))}function canvasToBlob(canvas,type,quality){return Promise.resolve().then((function(){return"function"==typeof canvas.toBlob?new Promise((function(resolve){canvas.toBlob(resolve,type,quality)})):dataURLToBlob(canvas.toDataURL(type,quality))}))}module.exports={createBlob:createBlob,createObjectURL:function createObjectURL(blob){return(window.URL||window.webkitURL).createObjectURL(blob)},revokeObjectURL:function revokeObjectURL(url){return(window.URL||window.webkitURL).revokeObjectURL(url)},imgSrcToBlob:function imgSrcToBlob(src,type,crossOrigin,quality){return type=type||"image/png",loadImage(src,crossOrigin).then((function(img){return imgToCanvas(img)})).then((function(canvas){return canvasToBlob(canvas,type,quality)}))},imgSrcToDataURL:function imgSrcToDataURL(src,type,crossOrigin,quality){return type=type||"image/png",loadImage(src,crossOrigin).then((function(img){return imgToCanvas(img)})).then((function(canvas){return canvas.toDataURL(type,quality)}))},canvasToBlob:canvasToBlob,dataURLToBlob:dataURLToBlob,blobToDataURL:function blobToDataURL(blob){return blobToBase64String(blob).then((function(base64String){return"data:"+blob.type+";base64,"+base64String}))},blobToBase64String:blobToBase64String,base64StringToBlob:base64StringToBlob,binaryStringToBlob:function binaryStringToBlob(binary,type){return Promise.resolve().then((function(){return base64StringToBlob(btoa(binary),type)}))},blobToBinaryString:blobToBinaryString,arrayBufferToBlob:function arrayBufferToBlob(buffer,type){return Promise.resolve().then((function(){return createBlob([buffer],type)}))},blobToArrayBuffer:function blobToArrayBuffer(blob){return new Promise((function(resolve,reject){var reader=new FileReader;reader.onloadend=function(e){var result=e.target.result||new ArrayBuffer(0);resolve(result)},reader.onerror=reject,reader.readAsArrayBuffer(blob)}))}}},"32f0":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("EVdn")],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s)}function decode(s){return config.raw?s:decodeURIComponent(s)}function stringifyCookieValue(value){return encode(config.json?JSON.stringify(value):String(value))}function parseCookieValue(s){0===s.indexOf('"')&&(s=s.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return s=decodeURIComponent(s.replace(pluses," ")),config.json?JSON.parse(s):s}catch(e){}}function read(s,converter){var value=config.raw?s:parseCookieValue(s);return $.isFunction(converter)?converter(value):value}var config=$.cookie=function(key,value,options){if(void 0!==value&&!$.isFunction(value)){if("number"==typeof(options=$.extend({},config.defaults,options)).expires){var days=options.expires,t=options.expires=new Date;t.setTime(+t+864e5*days)}return document.cookie=[encode(key),"=",stringifyCookieValue(value),options.expires?"; expires="+options.expires.toUTCString():"",options.path?"; path="+options.path:"",options.domain?"; domain="+options.domain:"",options.secure?"; secure":""].join("")}for(var result=key?void 0:{},cookies=document.cookie?document.cookie.split("; "):[],i=0,l=cookies.length;i<l;i++){var parts=cookies[i].split("="),name=decode(parts.shift()),cookie=parts.join("=");if(key&&key===name){result=read(cookie,value);break}key||void 0===(cookie=read(cookie))||(result[name]=cookie)}return result};config.defaults={},$.removeCookie=function(key,options){return void 0!==$.cookie(key)&&($.cookie(key,"",$.extend({},options,{expires:-1})),!$.cookie(key))}})?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"3BRs":function(module,exports,__webpack_require__){"use strict";(function(process,global){var pna=__webpack_require__("lm0R");function CorkedRequest(state){var _this=this;this.next=null,this.entry=null,this.finish=function(){!function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;corkReq.entry=null;for(;entry;){var cb=entry.callback;state.pendingcb--,cb(err),entry=entry.next}state.corkedRequestsFree?state.corkedRequestsFree.next=corkReq:state.corkedRequestsFree=corkReq}(_this,state)}}module.exports=Writable;var Duplex,asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick;Writable.WritableState=WritableState;var util=Object.create(__webpack_require__("Onz0"));util.inherits=__webpack_require__("P7XM");var internalUtil={deprecate:__webpack_require__("t9FE")},Stream=__webpack_require__("QpuX"),Buffer=__webpack_require__("hwdV").Buffer,OurUint8Array=global.Uint8Array||function(){};var realHasInstance,destroyImpl=__webpack_require__("RoFp");function nop(){}function WritableState(options,stream){Duplex=Duplex||__webpack_require__("sZro"),options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.writableObjectMode);var hwm=options.highWaterMark,writableHwm=options.writableHighWaterMark,defaultHwm=this.objectMode?16:16384;this.highWaterMark=hwm||0===hwm?hwm:isDuplex&&(writableHwm||0===writableHwm)?writableHwm:defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var noDecode=!1===options.decodeStrings;this.decodeStrings=!noDecode,this.defaultEncoding=options.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(er){!function onwrite(stream,er){var state=stream._writableState,sync=state.sync,cb=state.writecb;if(function onwriteStateUpdate(state){state.writing=!1,state.writecb=null,state.length-=state.writelen,state.writelen=0}(state),er)!function onwriteError(stream,state,sync,er,cb){--state.pendingcb,sync?(pna.nextTick(cb,er),pna.nextTick(finishMaybe,stream,state),stream._writableState.errorEmitted=!0,stream.emit("error",er)):(cb(er),stream._writableState.errorEmitted=!0,stream.emit("error",er),finishMaybe(stream,state))}(stream,state,sync,er,cb);else{var finished=needFinish(state);finished||state.corked||state.bufferProcessing||!state.bufferedRequest||clearBuffer(stream,state),sync?asyncWrite(afterWrite,stream,state,finished,cb):afterWrite(stream,state,finished,cb)}}(stream,er)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new CorkedRequest(this)}function Writable(options){if(Duplex=Duplex||__webpack_require__("sZro"),!(realHasInstance.call(Writable,this)||this instanceof Duplex))return new Writable(options);this._writableState=new WritableState(options,this),this.writable=!0,options&&("function"==typeof options.write&&(this._write=options.write),"function"==typeof options.writev&&(this._writev=options.writev),"function"==typeof options.destroy&&(this._destroy=options.destroy),"function"==typeof options.final&&(this._final=options.final)),Stream.call(this)}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len,state.writecb=cb,state.writing=!0,state.sync=!0,writev?stream._writev(chunk,state.onwrite):stream._write(chunk,encoding,state.onwrite),state.sync=!1}function afterWrite(stream,state,finished,cb){finished||function onwriteDrain(stream,state){0===state.length&&state.needDrain&&(state.needDrain=!1,stream.emit("drain"))}(stream,state),state.pendingcb--,cb(),finishMaybe(stream,state)}function clearBuffer(stream,state){state.bufferProcessing=!0;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount,buffer=new Array(l),holder=state.corkedRequestsFree;holder.entry=entry;for(var count=0,allBuffers=!0;entry;)buffer[count]=entry,entry.isBuf||(allBuffers=!1),entry=entry.next,count+=1;buffer.allBuffers=allBuffers,doWrite(stream,state,!0,state.length,buffer,"",holder.finish),state.pendingcb++,state.lastBufferedRequest=null,holder.next?(state.corkedRequestsFree=holder.next,holder.next=null):state.corkedRequestsFree=new CorkedRequest(state),state.bufferedRequestCount=0}else{for(;entry;){var chunk=entry.chunk,encoding=entry.encoding,cb=entry.callback;if(doWrite(stream,state,!1,state.objectMode?1:chunk.length,chunk,encoding,cb),entry=entry.next,state.bufferedRequestCount--,state.writing)break}null===entry&&(state.lastBufferedRequest=null)}state.bufferedRequest=entry,state.bufferProcessing=!1}function needFinish(state){return state.ending&&0===state.length&&null===state.bufferedRequest&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final((function(err){state.pendingcb--,err&&stream.emit("error",err),state.prefinished=!0,stream.emit("prefinish"),finishMaybe(stream,state)}))}function finishMaybe(stream,state){var need=needFinish(state);return need&&(!function prefinish(stream,state){state.prefinished||state.finalCalled||("function"==typeof stream._final?(state.pendingcb++,state.finalCalled=!0,pna.nextTick(callFinal,stream,state)):(state.prefinished=!0,stream.emit("prefinish")))}(stream,state),0===state.pendingcb&&(state.finished=!0,stream.emit("finish"))),need}util.inherits(Writable,Stream),WritableState.prototype.getBuffer=function getBuffer(){for(var current=this.bufferedRequest,out=[];current;)out.push(current),current=current.next;return out},function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(_){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(realHasInstance=Function.prototype[Symbol.hasInstance],Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){return!!realHasInstance.call(this,object)||this===Writable&&(object&&object._writableState instanceof WritableState)}})):realHasInstance=function(object){return object instanceof this},Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState,ret=!1,isBuf=!state.objectMode&&function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}(chunk);return isBuf&&!Buffer.isBuffer(chunk)&&(chunk=function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}(chunk)),"function"==typeof encoding&&(cb=encoding,encoding=null),isBuf?encoding="buffer":encoding||(encoding=state.defaultEncoding),"function"!=typeof cb&&(cb=nop),state.ended?function writeAfterEnd(stream,cb){var er=new Error("write after end");stream.emit("error",er),pna.nextTick(cb,er)}(this,cb):(isBuf||function validChunk(stream,state,chunk,cb){var valid=!0,er=!1;return null===chunk?er=new TypeError("May not write null values to stream"):"string"==typeof chunk||void 0===chunk||state.objectMode||(er=new TypeError("Invalid non-string/buffer chunk")),er&&(stream.emit("error",er),pna.nextTick(cb,er),valid=!1),valid}(this,state,chunk,cb))&&(state.pendingcb++,ret=function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=function decodeChunk(state,chunk,encoding){state.objectMode||!1===state.decodeStrings||"string"!=typeof chunk||(chunk=Buffer.from(chunk,encoding));return chunk}(state,chunk,encoding);chunk!==newChunk&&(isBuf=!0,encoding="buffer",chunk=newChunk)}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;ret||(state.needDrain=!0);if(state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk:chunk,encoding:encoding,isBuf:isBuf,callback:cb,next:null},last?last.next=state.lastBufferedRequest:state.bufferedRequest=state.lastBufferedRequest,state.bufferedRequestCount+=1}else doWrite(stream,state,!1,len,chunk,encoding,cb);return ret}(this,state,isBuf,chunk,encoding,cb)),ret},Writable.prototype.cork=function(){this._writableState.corked++},Writable.prototype.uncork=function(){var state=this._writableState;state.corked&&(state.corked--,state.writing||state.corked||state.finished||state.bufferProcessing||!state.bufferedRequest||clearBuffer(this,state))},Writable.prototype.setDefaultEncoding=function setDefaultEncoding(encoding){if("string"==typeof encoding&&(encoding=encoding.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);return this._writableState.defaultEncoding=encoding,this},Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("_write() is not implemented"))},Writable.prototype._writev=null,Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;"function"==typeof chunk?(cb=chunk,chunk=null,encoding=null):"function"==typeof encoding&&(cb=encoding,encoding=null),null!=chunk&&this.write(chunk,encoding),state.corked&&(state.corked=1,this.uncork()),state.ending||state.finished||function endWritable(stream,state,cb){state.ending=!0,finishMaybe(stream,state),cb&&(state.finished?pna.nextTick(cb):stream.once("finish",cb));state.ended=!0,stream.writable=!1}(this,state,cb)},Object.defineProperty(Writable.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(value){this._writableState&&(this._writableState.destroyed=value)}}),Writable.prototype.destroy=destroyImpl.destroy,Writable.prototype._undestroy=destroyImpl.undestroy,Writable.prototype._destroy=function(err,cb){this.end(),cb(err)}}).call(this,__webpack_require__("8oxB"),__webpack_require__("yLpj"))},"3Fdi":function(module,exports){var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"3Lyj":function(module,exports,__webpack_require__){var redefine=__webpack_require__("KroJ");module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},"3TIA":function(module,exports,__webpack_require__){__webpack_require__("xfY5"),__webpack_require__("Ljet"),__webpack_require__("/KAi"),__webpack_require__("fN96"),__webpack_require__("7h0T"),__webpack_require__("sbF8"),__webpack_require__("h/M4"),__webpack_require__("knhD"),__webpack_require__("XfKG"),__webpack_require__("BP8U"),__webpack_require__("A2zW"),__webpack_require__("VKir"),__webpack_require__("jE6b"),module.exports=__webpack_require__("g3g5").Number},"3YpW":function(module,exports,__webpack_require__){__webpack_require__("KOQb")("Set")},"3cYt":function(module,exports){module.exports=function basePropertyOf(object){return function(key){return null==object?void 0:object[key]}}},"3j3K":function(module,exports,__webpack_require__){"use strict";(function(global){var scheduleDrain,draining,Mutation=global.MutationObserver||global.WebKitMutationObserver;if(Mutation){var called=0,observer=new Mutation(nextTick),element=global.document.createTextNode("");observer.observe(element,{characterData:!0}),scheduleDrain=function(){element.data=called=++called%2}}else if(global.setImmediate||void 0===global.MessageChannel)scheduleDrain="document"in global&&"onreadystatechange"in global.document.createElement("script")?function(){var scriptEl=global.document.createElement("script");scriptEl.onreadystatechange=function(){nextTick(),scriptEl.onreadystatechange=null,scriptEl.parentNode.removeChild(scriptEl),scriptEl=null},global.document.documentElement.appendChild(scriptEl)}:function(){setTimeout(nextTick,0)};else{var channel=new global.MessageChannel;channel.port1.onmessage=nextTick,scheduleDrain=function(){channel.port2.postMessage(0)}}var queue=[];function nextTick(){var i,oldQueue;draining=!0;for(var len=queue.length;len;){for(oldQueue=queue,queue=[],i=-1;++i<len;)oldQueue[i]();len=queue.length}draining=!1}module.exports=function immediate(task){1!==queue.push(task)||draining||scheduleDrain()}}).call(this,__webpack_require__("yLpj"))},"43KI":function(module,exports,__webpack_require__){(exports=module.exports=__webpack_require__("rXFu")).Stream=exports,exports.Readable=exports,exports.Writable=__webpack_require__("3BRs"),exports.Duplex=__webpack_require__("sZro"),exports.Transform=__webpack_require__("J78i"),exports.PassThrough=__webpack_require__("eA/Y")},"44Ds":function(module,exports,__webpack_require__){var MapCache=__webpack_require__("e4Nc");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"4JlD":function(module,exports,__webpack_require__){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){return sep=sep||"&",eq=eq||"=",null===obj&&(obj=void 0),"object"==typeof obj?map(objectKeys(obj),(function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;return isArray(obj[k])?map(obj[k],(function(v){return ks+encodeURIComponent(stringifyPrimitive(v))})).join(sep):ks+encodeURIComponent(stringifyPrimitive(obj[k]))})).join(sep):name?encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj)):""};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)};function map(xs,f){if(xs.map)return xs.map(f);for(var res=[],i=0;i<xs.length;i++)res.push(f(xs[i],i));return res}var objectKeys=Object.keys||function(obj){var res=[];for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&res.push(key);return res}},"4LiD":function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("dyZX"),$export=__webpack_require__("XKFU"),redefine=__webpack_require__("KroJ"),redefineAll=__webpack_require__("3Lyj"),meta=__webpack_require__("Z6vF"),forOf=__webpack_require__("SlkY"),anInstance=__webpack_require__("9gX7"),isObject=__webpack_require__("0/R4"),fails=__webpack_require__("eeVq"),$iterDetect=__webpack_require__("XMVh"),setToStringTag=__webpack_require__("fyDq"),inheritIfRequired=__webpack_require__("Xbzi");module.exports=function(NAME,wrapper,methods,common,IS_MAP,IS_WEAK){var Base=global[NAME],C=Base,ADDER=IS_MAP?"set":"add",proto=C&&C.prototype,O={},fixMethod=function(KEY){var fn=proto[KEY];redefine(proto,KEY,"delete"==KEY?function(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"has"==KEY?function has(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"get"==KEY?function get(a){return IS_WEAK&&!isObject(a)?void 0:fn.call(this,0===a?0:a)}:"add"==KEY?function add(a){return fn.call(this,0===a?0:a),this}:function set(a,b){return fn.call(this,0===a?0:a,b),this})};if("function"==typeof C&&(IS_WEAK||proto.forEach&&!fails((function(){(new C).entries().next()})))){var instance=new C,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=$iterDetect((function(iter){new C(iter)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new C,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((C=wrapper((function(target,iterable){anInstance(target,C,NAME);var that=inheritIfRequired(new Base,target,C);return null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that),that}))).prototype=proto,proto.constructor=C),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&proto.clear&&delete proto.clear}else C=common.getConstructor(wrapper,NAME,IS_MAP,ADDER),redefineAll(C.prototype,methods),meta.NEED=!0;return setToStringTag(C,NAME),O[NAME]=C,$export($export.G+$export.W+$export.F*(C!=Base),O),IS_WEAK||common.setStrong(C,NAME,IS_MAP),C}},"4NMw":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,qrcode=function(){var qrcode=function(typeNumber,errorCorrectionLevel){var _typeNumber=typeNumber,_errorCorrectionLevel=QRErrorCorrectionLevel[errorCorrectionLevel],_modules=null,_moduleCount=0,_dataCache=null,_dataList=[],_this={},makeImpl=function(test,maskPattern){_modules=function(moduleCount){for(var modules=new Array(moduleCount),row=0;row<moduleCount;row+=1){modules[row]=new Array(moduleCount);for(var col=0;col<moduleCount;col+=1)modules[row][col]=null}return modules}(_moduleCount=4*_typeNumber+17),setupPositionProbePattern(0,0),setupPositionProbePattern(_moduleCount-7,0),setupPositionProbePattern(0,_moduleCount-7),setupPositionAdjustPattern(),setupTimingPattern(),setupTypeInfo(test,maskPattern),_typeNumber>=7&&setupTypeNumber(test),null==_dataCache&&(_dataCache=createData(_typeNumber,_errorCorrectionLevel,_dataList)),mapData(_dataCache,maskPattern)},setupPositionProbePattern=function(row,col){for(var r=-1;r<=7;r+=1)if(!(row+r<=-1||_moduleCount<=row+r))for(var c=-1;c<=7;c+=1)col+c<=-1||_moduleCount<=col+c||(_modules[row+r][col+c]=0<=r&&r<=6&&(0==c||6==c)||0<=c&&c<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=c&&c<=4)},setupTimingPattern=function(){for(var r=8;r<_moduleCount-8;r+=1)null==_modules[r][6]&&(_modules[r][6]=r%2==0);for(var c=8;c<_moduleCount-8;c+=1)null==_modules[6][c]&&(_modules[6][c]=c%2==0)},setupPositionAdjustPattern=function(){for(var pos=QRUtil.getPatternPosition(_typeNumber),i=0;i<pos.length;i+=1)for(var j=0;j<pos.length;j+=1){var row=pos[i],col=pos[j];if(null==_modules[row][col])for(var r=-2;r<=2;r+=1)for(var c=-2;c<=2;c+=1)_modules[row+r][col+c]=-2==r||2==r||-2==c||2==c||0==r&&0==c}},setupTypeNumber=function(test){for(var bits=QRUtil.getBCHTypeNumber(_typeNumber),i=0;i<18;i+=1){var mod=!test&&1==(bits>>i&1);_modules[Math.floor(i/3)][i%3+_moduleCount-8-3]=mod}for(i=0;i<18;i+=1){mod=!test&&1==(bits>>i&1);_modules[i%3+_moduleCount-8-3][Math.floor(i/3)]=mod}},setupTypeInfo=function(test,maskPattern){for(var data=_errorCorrectionLevel<<3|maskPattern,bits=QRUtil.getBCHTypeInfo(data),i=0;i<15;i+=1){var mod=!test&&1==(bits>>i&1);i<6?_modules[i][8]=mod:i<8?_modules[i+1][8]=mod:_modules[_moduleCount-15+i][8]=mod}for(i=0;i<15;i+=1){mod=!test&&1==(bits>>i&1);i<8?_modules[8][_moduleCount-i-1]=mod:i<9?_modules[8][15-i-1+1]=mod:_modules[8][15-i-1]=mod}_modules[_moduleCount-8][8]=!test},mapData=function(data,maskPattern){for(var inc=-1,row=_moduleCount-1,bitIndex=7,byteIndex=0,maskFunc=QRUtil.getMaskFunction(maskPattern),col=_moduleCount-1;col>0;col-=2)for(6==col&&(col-=1);;){for(var c=0;c<2;c+=1)if(null==_modules[row][col-c]){var dark=!1;byteIndex<data.length&&(dark=1==(data[byteIndex]>>>bitIndex&1)),maskFunc(row,col-c)&&(dark=!dark),_modules[row][col-c]=dark,-1==(bitIndex-=1)&&(byteIndex+=1,bitIndex=7)}if((row+=inc)<0||_moduleCount<=row){row-=inc,inc=-inc;break}}},createData=function(typeNumber,errorCorrectionLevel,dataList){for(var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,errorCorrectionLevel),buffer=qrBitBuffer(),i=0;i<dataList.length;i+=1){var data=dataList[i];buffer.put(data.getMode(),4),buffer.put(data.getLength(),QRUtil.getLengthInBits(data.getMode(),typeNumber)),data.write(buffer)}var totalDataCount=0;for(i=0;i<rsBlocks.length;i+=1)totalDataCount+=rsBlocks[i].dataCount;if(buffer.getLengthInBits()>8*totalDataCount)throw"code length overflow. ("+buffer.getLengthInBits()+">"+8*totalDataCount+")";for(buffer.getLengthInBits()+4<=8*totalDataCount&&buffer.put(0,4);buffer.getLengthInBits()%8!=0;)buffer.putBit(!1);for(;!(buffer.getLengthInBits()>=8*totalDataCount||(buffer.put(236,8),buffer.getLengthInBits()>=8*totalDataCount));)buffer.put(17,8);return function(buffer,rsBlocks){for(var offset=0,maxDcCount=0,maxEcCount=0,dcdata=new Array(rsBlocks.length),ecdata=new Array(rsBlocks.length),r=0;r<rsBlocks.length;r+=1){var dcCount=rsBlocks[r].dataCount,ecCount=rsBlocks[r].totalCount-dcCount;maxDcCount=Math.max(maxDcCount,dcCount),maxEcCount=Math.max(maxEcCount,ecCount),dcdata[r]=new Array(dcCount);for(var i=0;i<dcdata[r].length;i+=1)dcdata[r][i]=255&buffer.getBuffer()[i+offset];offset+=dcCount;var rsPoly=QRUtil.getErrorCorrectPolynomial(ecCount),modPoly=qrPolynomial(dcdata[r],rsPoly.getLength()-1).mod(rsPoly);for(ecdata[r]=new Array(rsPoly.getLength()-1),i=0;i<ecdata[r].length;i+=1){var modIndex=i+modPoly.getLength()-ecdata[r].length;ecdata[r][i]=modIndex>=0?modPoly.getAt(modIndex):0}}var totalCodeCount=0;for(i=0;i<rsBlocks.length;i+=1)totalCodeCount+=rsBlocks[i].totalCount;var data=new Array(totalCodeCount),index=0;for(i=0;i<maxDcCount;i+=1)for(r=0;r<rsBlocks.length;r+=1)i<dcdata[r].length&&(data[index]=dcdata[r][i],index+=1);for(i=0;i<maxEcCount;i+=1)for(r=0;r<rsBlocks.length;r+=1)i<ecdata[r].length&&(data[index]=ecdata[r][i],index+=1);return data}(buffer,rsBlocks)};_this.addData=function(data,mode){var newData=null;switch(mode=mode||"Byte"){case"Numeric":newData=qrNumber(data);break;case"Alphanumeric":newData=qrAlphaNum(data);break;case"Byte":newData=qr8BitByte(data);break;case"Kanji":newData=qrKanji(data);break;default:throw"mode:"+mode}_dataList.push(newData),_dataCache=null},_this.isDark=function(row,col){if(row<0||_moduleCount<=row||col<0||_moduleCount<=col)throw row+","+col;return _modules[row][col]},_this.getModuleCount=function(){return _moduleCount},_this.make=function(){if(_typeNumber<1){for(var typeNumber=1;typeNumber<40;typeNumber++){for(var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,_errorCorrectionLevel),buffer=qrBitBuffer(),i=0;i<_dataList.length;i++){var data=_dataList[i];buffer.put(data.getMode(),4),buffer.put(data.getLength(),QRUtil.getLengthInBits(data.getMode(),typeNumber)),data.write(buffer)}var totalDataCount=0;for(i=0;i<rsBlocks.length;i++)totalDataCount+=rsBlocks[i].dataCount;if(buffer.getLengthInBits()<=8*totalDataCount)break}_typeNumber=typeNumber}makeImpl(!1,function(){for(var minLostPoint=0,pattern=0,i=0;i<8;i+=1){makeImpl(!0,i);var lostPoint=QRUtil.getLostPoint(_this);(0==i||minLostPoint>lostPoint)&&(minLostPoint=lostPoint,pattern=i)}return pattern}())},_this.createTableTag=function(cellSize,margin){cellSize=cellSize||2;var qrHtml="";qrHtml+='<table style="',qrHtml+=" border-width: 0px; border-style: none;",qrHtml+=" border-collapse: collapse;",qrHtml+=" padding: 0px; margin: "+(margin=void 0===margin?4*cellSize:margin)+"px;",qrHtml+='">',qrHtml+="<tbody>";for(var r=0;r<_this.getModuleCount();r+=1){qrHtml+="<tr>";for(var c=0;c<_this.getModuleCount();c+=1)qrHtml+='<td style="',qrHtml+=" border-width: 0px; border-style: none;",qrHtml+=" border-collapse: collapse;",qrHtml+=" padding: 0px; margin: 0px;",qrHtml+=" width: "+cellSize+"px;",qrHtml+=" height: "+cellSize+"px;",qrHtml+=" background-color: ",qrHtml+=_this.isDark(r,c)?"#000000":"#ffffff",qrHtml+=";",qrHtml+='"/>';qrHtml+="</tr>"}return qrHtml+="</tbody>",qrHtml+="</table>"},_this.createSvgTag=function(cellSize,margin){var opts={};"object"==typeof arguments[0]&&(cellSize=(opts=arguments[0]).cellSize,margin=opts.margin),cellSize=cellSize||2,margin=void 0===margin?4*cellSize:margin;var c,r,mr,rect,size=_this.getModuleCount()*cellSize+2*margin,qrSvg="";for(rect="l"+cellSize+",0 0,"+cellSize+" -"+cellSize+",0 0,-"+cellSize+"z ",qrSvg+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',qrSvg+=opts.scalable?"":' width="'+size+'px" height="'+size+'px"',qrSvg+=' viewBox="0 0 '+size+" "+size+'" ',qrSvg+=' preserveAspectRatio="xMinYMin meet">',qrSvg+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',qrSvg+='<path d="',r=0;r<_this.getModuleCount();r+=1)for(mr=r*cellSize+margin,c=0;c<_this.getModuleCount();c+=1)_this.isDark(r,c)&&(qrSvg+="M"+(c*cellSize+margin)+","+mr+rect);return qrSvg+='" stroke="transparent" fill="black"/>',qrSvg+="</svg>"},_this.createDataURL=function(cellSize,margin){cellSize=cellSize||2,margin=void 0===margin?4*cellSize:margin;var size=_this.getModuleCount()*cellSize+2*margin,min=margin,max=size-margin;return createDataURL(size,size,(function(x,y){if(min<=x&&x<max&&min<=y&&y<max){var c=Math.floor((x-min)/cellSize),r=Math.floor((y-min)/cellSize);return _this.isDark(r,c)?0:1}return 1}))},_this.createImgTag=function(cellSize,margin,alt){cellSize=cellSize||2,margin=void 0===margin?4*cellSize:margin;var size=_this.getModuleCount()*cellSize+2*margin,img="";return img+="<img",img+=' src="',img+=_this.createDataURL(cellSize,margin),img+='"',img+=' width="',img+=size,img+='"',img+=' height="',img+=size,img+='"',alt&&(img+=' alt="',img+=alt,img+='"'),img+="/>"};return _this.createASCII=function(cellSize,margin){if((cellSize=cellSize||1)<2)return function(margin){margin=void 0===margin?2:margin;var y,x,r1,r2,p,size=1*_this.getModuleCount()+2*margin,min=margin,max=size-margin,blocks={"██":"█","█ ":"▀"," █":"▄","  ":" "},blocksLastLineNoMargin={"██":"▀","█ ":"▀"," █":" ","  ":" "},ascii="";for(y=0;y<size;y+=2){for(r1=Math.floor((y-min)/1),r2=Math.floor((y+1-min)/1),x=0;x<size;x+=1)p="█",min<=x&&x<max&&min<=y&&y<max&&_this.isDark(r1,Math.floor((x-min)/1))&&(p=" "),min<=x&&x<max&&min<=y+1&&y+1<max&&_this.isDark(r2,Math.floor((x-min)/1))?p+=" ":p+="█",ascii+=margin<1&&y+1>=max?blocksLastLineNoMargin[p]:blocks[p];ascii+="\n"}return size%2&&margin>0?ascii.substring(0,ascii.length-size-1)+Array(size+1).join("▀"):ascii.substring(0,ascii.length-1)}(margin);cellSize-=1,margin=void 0===margin?2*cellSize:margin;var y,x,r,p,size=_this.getModuleCount()*cellSize+2*margin,min=margin,max=size-margin,white=Array(cellSize+1).join("██"),black=Array(cellSize+1).join("  "),ascii="",line="";for(y=0;y<size;y+=1){for(r=Math.floor((y-min)/cellSize),line="",x=0;x<size;x+=1)p=1,min<=x&&x<max&&min<=y&&y<max&&_this.isDark(r,Math.floor((x-min)/cellSize))&&(p=0),line+=p?white:black;for(r=0;r<cellSize;r+=1)ascii+=line+"\n"}return ascii.substring(0,ascii.length-1)},_this.renderTo2dContext=function(context,cellSize){cellSize=cellSize||2;for(var length=_this.getModuleCount(),row=0;row<length;row++)for(var col=0;col<length;col++)context.fillStyle=_this.isDark(row,col)?"black":"white",context.fillRect(row*cellSize,col*cellSize,cellSize,cellSize)},_this};qrcode.stringToBytes=(qrcode.stringToBytesFuncs={default:function(s){for(var bytes=[],i=0;i<s.length;i+=1){var c=s.charCodeAt(i);bytes.push(255&c)}return bytes}}).default,qrcode.createStringToBytes=function(unicodeData,numChars){var unicodeMap=function(){for(var bin=base64DecodeInputStream(unicodeData),read=function(){var b=bin.read();if(-1==b)throw"eof";return b},count=0,unicodeMap={};;){var b0=bin.read();if(-1==b0)break;var b1=read(),v=read()<<8|read();unicodeMap[String.fromCharCode(b0<<8|b1)]=v,count+=1}if(count!=numChars)throw count+" != "+numChars;return unicodeMap}(),unknownChar="?".charCodeAt(0);return function(s){for(var bytes=[],i=0;i<s.length;i+=1){var c=s.charCodeAt(i);if(c<128)bytes.push(c);else{var b=unicodeMap[s.charAt(i)];"number"==typeof b?(255&b)==b?bytes.push(b):(bytes.push(b>>>8),bytes.push(255&b)):bytes.push(unknownChar)}}return bytes}};var PATTERN_POSITION_TABLE,_this,getBCHDigit,QRMode_MODE_NUMBER=1,QRMode_MODE_ALPHA_NUM=2,QRMode_MODE_8BIT_BYTE=4,QRMode_MODE_KANJI=8,QRErrorCorrectionLevel={L:1,M:0,Q:3,H:2},QRMaskPattern_PATTERN000=0,QRMaskPattern_PATTERN001=1,QRMaskPattern_PATTERN010=2,QRMaskPattern_PATTERN011=3,QRMaskPattern_PATTERN100=4,QRMaskPattern_PATTERN101=5,QRMaskPattern_PATTERN110=6,QRMaskPattern_PATTERN111=7,QRUtil=(PATTERN_POSITION_TABLE=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],getBCHDigit=function(data){for(var digit=0;0!=data;)digit+=1,data>>>=1;return digit},(_this={}).getBCHTypeInfo=function(data){for(var d=data<<10;getBCHDigit(d)-getBCHDigit(1335)>=0;)d^=1335<<getBCHDigit(d)-getBCHDigit(1335);return 21522^(data<<10|d)},_this.getBCHTypeNumber=function(data){for(var d=data<<12;getBCHDigit(d)-getBCHDigit(7973)>=0;)d^=7973<<getBCHDigit(d)-getBCHDigit(7973);return data<<12|d},_this.getPatternPosition=function(typeNumber){return PATTERN_POSITION_TABLE[typeNumber-1]},_this.getMaskFunction=function(maskPattern){switch(maskPattern){case QRMaskPattern_PATTERN000:return function(i,j){return(i+j)%2==0};case QRMaskPattern_PATTERN001:return function(i,j){return i%2==0};case QRMaskPattern_PATTERN010:return function(i,j){return j%3==0};case QRMaskPattern_PATTERN011:return function(i,j){return(i+j)%3==0};case QRMaskPattern_PATTERN100:return function(i,j){return(Math.floor(i/2)+Math.floor(j/3))%2==0};case QRMaskPattern_PATTERN101:return function(i,j){return i*j%2+i*j%3==0};case QRMaskPattern_PATTERN110:return function(i,j){return(i*j%2+i*j%3)%2==0};case QRMaskPattern_PATTERN111:return function(i,j){return(i*j%3+(i+j)%2)%2==0};default:throw"bad maskPattern:"+maskPattern}},_this.getErrorCorrectPolynomial=function(errorCorrectLength){for(var a=qrPolynomial([1],0),i=0;i<errorCorrectLength;i+=1)a=a.multiply(qrPolynomial([1,QRMath.gexp(i)],0));return a},_this.getLengthInBits=function(mode,type){if(1<=type&&type<10)switch(mode){case QRMode_MODE_NUMBER:return 10;case QRMode_MODE_ALPHA_NUM:return 9;case QRMode_MODE_8BIT_BYTE:case QRMode_MODE_KANJI:return 8;default:throw"mode:"+mode}else if(type<27)switch(mode){case QRMode_MODE_NUMBER:return 12;case QRMode_MODE_ALPHA_NUM:return 11;case QRMode_MODE_8BIT_BYTE:return 16;case QRMode_MODE_KANJI:return 10;default:throw"mode:"+mode}else{if(!(type<41))throw"type:"+type;switch(mode){case QRMode_MODE_NUMBER:return 14;case QRMode_MODE_ALPHA_NUM:return 13;case QRMode_MODE_8BIT_BYTE:return 16;case QRMode_MODE_KANJI:return 12;default:throw"mode:"+mode}}},_this.getLostPoint=function(qrcode){for(var moduleCount=qrcode.getModuleCount(),lostPoint=0,row=0;row<moduleCount;row+=1)for(var col=0;col<moduleCount;col+=1){for(var sameCount=0,dark=qrcode.isDark(row,col),r=-1;r<=1;r+=1)if(!(row+r<0||moduleCount<=row+r))for(var c=-1;c<=1;c+=1)col+c<0||moduleCount<=col+c||0==r&&0==c||dark==qrcode.isDark(row+r,col+c)&&(sameCount+=1);sameCount>5&&(lostPoint+=3+sameCount-5)}for(row=0;row<moduleCount-1;row+=1)for(col=0;col<moduleCount-1;col+=1){var count=0;qrcode.isDark(row,col)&&(count+=1),qrcode.isDark(row+1,col)&&(count+=1),qrcode.isDark(row,col+1)&&(count+=1),qrcode.isDark(row+1,col+1)&&(count+=1),0!=count&&4!=count||(lostPoint+=3)}for(row=0;row<moduleCount;row+=1)for(col=0;col<moduleCount-6;col+=1)qrcode.isDark(row,col)&&!qrcode.isDark(row,col+1)&&qrcode.isDark(row,col+2)&&qrcode.isDark(row,col+3)&&qrcode.isDark(row,col+4)&&!qrcode.isDark(row,col+5)&&qrcode.isDark(row,col+6)&&(lostPoint+=40);for(col=0;col<moduleCount;col+=1)for(row=0;row<moduleCount-6;row+=1)qrcode.isDark(row,col)&&!qrcode.isDark(row+1,col)&&qrcode.isDark(row+2,col)&&qrcode.isDark(row+3,col)&&qrcode.isDark(row+4,col)&&!qrcode.isDark(row+5,col)&&qrcode.isDark(row+6,col)&&(lostPoint+=40);var darkCount=0;for(col=0;col<moduleCount;col+=1)for(row=0;row<moduleCount;row+=1)qrcode.isDark(row,col)&&(darkCount+=1);return lostPoint+=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5*10},_this),QRMath=function(){for(var EXP_TABLE=new Array(256),LOG_TABLE=new Array(256),i=0;i<8;i+=1)EXP_TABLE[i]=1<<i;for(i=8;i<256;i+=1)EXP_TABLE[i]=EXP_TABLE[i-4]^EXP_TABLE[i-5]^EXP_TABLE[i-6]^EXP_TABLE[i-8];for(i=0;i<255;i+=1)LOG_TABLE[EXP_TABLE[i]]=i;var _this={glog:function(n){if(n<1)throw"glog("+n+")";return LOG_TABLE[n]},gexp:function(n){for(;n<0;)n+=255;for(;n>=256;)n-=255;return EXP_TABLE[n]}};return _this}();function qrPolynomial(num,shift){if(void 0===num.length)throw num.length+"/"+shift;var _num=function(){for(var offset=0;offset<num.length&&0==num[offset];)offset+=1;for(var _num=new Array(num.length-offset+shift),i=0;i<num.length-offset;i+=1)_num[i]=num[i+offset];return _num}(),_this={getAt:function(index){return _num[index]},getLength:function(){return _num.length},multiply:function(e){for(var num=new Array(_this.getLength()+e.getLength()-1),i=0;i<_this.getLength();i+=1)for(var j=0;j<e.getLength();j+=1)num[i+j]^=QRMath.gexp(QRMath.glog(_this.getAt(i))+QRMath.glog(e.getAt(j)));return qrPolynomial(num,0)},mod:function(e){if(_this.getLength()-e.getLength()<0)return _this;for(var ratio=QRMath.glog(_this.getAt(0))-QRMath.glog(e.getAt(0)),num=new Array(_this.getLength()),i=0;i<_this.getLength();i+=1)num[i]=_this.getAt(i);for(i=0;i<e.getLength();i+=1)num[i]^=QRMath.gexp(QRMath.glog(e.getAt(i))+ratio);return qrPolynomial(num,0).mod(e)}};return _this}var QRRSBlock=function(){var RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],qrRSBlock=function(totalCount,dataCount){var _this={};return _this.totalCount=totalCount,_this.dataCount=dataCount,_this},_this={};return _this.getRSBlocks=function(typeNumber,errorCorrectionLevel){var rsBlock=function(typeNumber,errorCorrectionLevel){switch(errorCorrectionLevel){case QRErrorCorrectionLevel.L:return RS_BLOCK_TABLE[4*(typeNumber-1)+0];case QRErrorCorrectionLevel.M:return RS_BLOCK_TABLE[4*(typeNumber-1)+1];case QRErrorCorrectionLevel.Q:return RS_BLOCK_TABLE[4*(typeNumber-1)+2];case QRErrorCorrectionLevel.H:return RS_BLOCK_TABLE[4*(typeNumber-1)+3];default:return}}(typeNumber,errorCorrectionLevel);if(void 0===rsBlock)throw"bad rs block @ typeNumber:"+typeNumber+"/errorCorrectionLevel:"+errorCorrectionLevel;for(var length=rsBlock.length/3,list=[],i=0;i<length;i+=1)for(var count=rsBlock[3*i+0],totalCount=rsBlock[3*i+1],dataCount=rsBlock[3*i+2],j=0;j<count;j+=1)list.push(qrRSBlock(totalCount,dataCount));return list},_this}(),qrBitBuffer=function(){var _buffer=[],_length=0,_this={getBuffer:function(){return _buffer},getAt:function(index){var bufIndex=Math.floor(index/8);return 1==(_buffer[bufIndex]>>>7-index%8&1)},put:function(num,length){for(var i=0;i<length;i+=1)_this.putBit(1==(num>>>length-i-1&1))},getLengthInBits:function(){return _length},putBit:function(bit){var bufIndex=Math.floor(_length/8);_buffer.length<=bufIndex&&_buffer.push(0),bit&&(_buffer[bufIndex]|=128>>>_length%8),_length+=1}};return _this},qrNumber=function(data){var _mode=QRMode_MODE_NUMBER,_data=data,_this={getMode:function(){return _mode},getLength:function(buffer){return _data.length},write:function(buffer){for(var data=_data,i=0;i+2<data.length;)buffer.put(strToNum(data.substring(i,i+3)),10),i+=3;i<data.length&&(data.length-i==1?buffer.put(strToNum(data.substring(i,i+1)),4):data.length-i==2&&buffer.put(strToNum(data.substring(i,i+2)),7))}},strToNum=function(s){for(var num=0,i=0;i<s.length;i+=1)num=10*num+chatToNum(s.charAt(i));return num},chatToNum=function(c){if("0"<=c&&c<="9")return c.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+c};return _this},qrAlphaNum=function(data){var _mode=QRMode_MODE_ALPHA_NUM,_data=data,_this={getMode:function(){return _mode},getLength:function(buffer){return _data.length},write:function(buffer){for(var s=_data,i=0;i+1<s.length;)buffer.put(45*getCode(s.charAt(i))+getCode(s.charAt(i+1)),11),i+=2;i<s.length&&buffer.put(getCode(s.charAt(i)),6)}},getCode=function(c){if("0"<=c&&c<="9")return c.charCodeAt(0)-"0".charCodeAt(0);if("A"<=c&&c<="Z")return c.charCodeAt(0)-"A".charCodeAt(0)+10;switch(c){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+c}};return _this},qr8BitByte=function(data){var _mode=QRMode_MODE_8BIT_BYTE,_bytes=qrcode.stringToBytes(data),_this={getMode:function(){return _mode},getLength:function(buffer){return _bytes.length},write:function(buffer){for(var i=0;i<_bytes.length;i+=1)buffer.put(_bytes[i],8)}};return _this},qrKanji=function(data){var _mode=QRMode_MODE_KANJI,stringToBytes=qrcode.stringToBytesFuncs.SJIS;if(!stringToBytes)throw"sjis not supported.";!function(c,code){var test=stringToBytes("友");if(2!=test.length||38726!=(test[0]<<8|test[1]))throw"sjis not supported."}();var _bytes=stringToBytes(data),_this={getMode:function(){return _mode},getLength:function(buffer){return~~(_bytes.length/2)},write:function(buffer){for(var data=_bytes,i=0;i+1<data.length;){var c=(255&data[i])<<8|255&data[i+1];if(33088<=c&&c<=40956)c-=33088;else{if(!(57408<=c&&c<=60351))throw"illegal char at "+(i+1)+"/"+c;c-=49472}c=192*(c>>>8&255)+(255&c),buffer.put(c,13),i+=2}if(i<data.length)throw"illegal char at "+(i+1)}};return _this},byteArrayOutputStream=function(){var _bytes=[],_this={writeByte:function(b){_bytes.push(255&b)},writeShort:function(i){_this.writeByte(i),_this.writeByte(i>>>8)},writeBytes:function(b,off,len){off=off||0,len=len||b.length;for(var i=0;i<len;i+=1)_this.writeByte(b[i+off])},writeString:function(s){for(var i=0;i<s.length;i+=1)_this.writeByte(s.charCodeAt(i))},toByteArray:function(){return _bytes},toString:function(){var s="";s+="[";for(var i=0;i<_bytes.length;i+=1)i>0&&(s+=","),s+=_bytes[i];return s+="]"}};return _this},base64DecodeInputStream=function(str){var _str=str,_pos=0,_buffer=0,_buflen=0,_this={read:function(){for(;_buflen<8;){if(_pos>=_str.length){if(0==_buflen)return-1;throw"unexpected end of file./"+_buflen}var c=_str.charAt(_pos);if(_pos+=1,"="==c)return _buflen=0,-1;c.match(/^\s$/)||(_buffer=_buffer<<6|decode(c.charCodeAt(0)),_buflen+=6)}var n=_buffer>>>_buflen-8&255;return _buflen-=8,n}},decode=function(c){if(65<=c&&c<=90)return c-65;if(97<=c&&c<=122)return c-97+26;if(48<=c&&c<=57)return c-48+52;if(43==c)return 62;if(47==c)return 63;throw"c:"+c};return _this},createDataURL=function(width,height,getPixel){for(var gif=function(width,height){var _width=width,_height=height,_data=new Array(width*height),_this={setPixel:function(x,y,pixel){_data[y*_width+x]=pixel},write:function(out){out.writeString("GIF87a"),out.writeShort(_width),out.writeShort(_height),out.writeByte(128),out.writeByte(0),out.writeByte(0),out.writeByte(0),out.writeByte(0),out.writeByte(0),out.writeByte(255),out.writeByte(255),out.writeByte(255),out.writeString(","),out.writeShort(0),out.writeShort(0),out.writeShort(_width),out.writeShort(_height),out.writeByte(0);var raster=getLZWRaster(2);out.writeByte(2);for(var offset=0;raster.length-offset>255;)out.writeByte(255),out.writeBytes(raster,offset,255),offset+=255;out.writeByte(raster.length-offset),out.writeBytes(raster,offset,raster.length-offset),out.writeByte(0),out.writeString(";")}},getLZWRaster=function(lzwMinCodeSize){for(var clearCode=1<<lzwMinCodeSize,endCode=1+(1<<lzwMinCodeSize),bitLength=lzwMinCodeSize+1,table=lzwTable(),i=0;i<clearCode;i+=1)table.add(String.fromCharCode(i));table.add(String.fromCharCode(clearCode)),table.add(String.fromCharCode(endCode));var _out,_bitLength,_bitBuffer,byteOut=byteArrayOutputStream(),bitOut=(_out=byteOut,_bitLength=0,_bitBuffer=0,{write:function(data,length){if(data>>>length!=0)throw"length over";for(;_bitLength+length>=8;)_out.writeByte(255&(data<<_bitLength|_bitBuffer)),length-=8-_bitLength,data>>>=8-_bitLength,_bitBuffer=0,_bitLength=0;_bitBuffer|=data<<_bitLength,_bitLength+=length},flush:function(){_bitLength>0&&_out.writeByte(_bitBuffer)}});bitOut.write(clearCode,bitLength);var dataIndex=0,s=String.fromCharCode(_data[dataIndex]);for(dataIndex+=1;dataIndex<_data.length;){var c=String.fromCharCode(_data[dataIndex]);dataIndex+=1,table.contains(s+c)?s+=c:(bitOut.write(table.indexOf(s),bitLength),table.size()<4095&&(table.size()==1<<bitLength&&(bitLength+=1),table.add(s+c)),s=c)}return bitOut.write(table.indexOf(s),bitLength),bitOut.write(endCode,bitLength),bitOut.flush(),byteOut.toByteArray()},lzwTable=function(){var _map={},_size=0,_this={add:function(key){if(_this.contains(key))throw"dup key:"+key;_map[key]=_size,_size+=1},size:function(){return _size},indexOf:function(key){return _map[key]},contains:function(key){return void 0!==_map[key]}};return _this};return _this}(width,height),y=0;y<height;y+=1)for(var x=0;x<width;x+=1)gif.setPixel(x,y,getPixel(x,y));var b=byteArrayOutputStream();gif.write(b);for(var base64=function(){var _buffer=0,_buflen=0,_length=0,_base64="",_this={},writeEncoded=function(b){_base64+=String.fromCharCode(encode(63&b))},encode=function(n){if(n<0);else{if(n<26)return 65+n;if(n<52)return n-26+97;if(n<62)return n-52+48;if(62==n)return 43;if(63==n)return 47}throw"n:"+n};return _this.writeByte=function(n){for(_buffer=_buffer<<8|255&n,_buflen+=8,_length+=1;_buflen>=6;)writeEncoded(_buffer>>>_buflen-6),_buflen-=6},_this.flush=function(){if(_buflen>0&&(writeEncoded(_buffer<<6-_buflen),_buffer=0,_buflen=0),_length%3!=0)for(var padlen=3-_length%3,i=0;i<padlen;i+=1)_base64+="="},_this.toString=function(){return _base64},_this}(),bytes=b.toByteArray(),i=0;i<bytes.length;i+=1)base64.writeByte(bytes[i]);return base64.flush(),"data:image/gif;base64,"+base64};return qrcode}();qrcode.stringToBytesFuncs["UTF-8"]=function(s){return function toUTF8Array(str){for(var utf8=[],i=0;i<str.length;i++){var charcode=str.charCodeAt(i);charcode<128?utf8.push(charcode):charcode<2048?utf8.push(192|charcode>>6,128|63&charcode):charcode<55296||charcode>=57344?utf8.push(224|charcode>>12,128|charcode>>6&63,128|63&charcode):(i++,charcode=65536+((1023&charcode)<<10|1023&str.charCodeAt(i)),utf8.push(240|charcode>>18,128|charcode>>12&63,128|charcode>>6&63,128|63&charcode))}return utf8}(s)},__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function(){return qrcode})?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"4R4u":function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4bvL":function(module,exports,__webpack_require__){"use strict";var _keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";exports.encode=function(input,utf8){for(var chr1,chr2,chr3,enc1,enc2,enc3,enc4,output="",i=0;i<input.length;)enc1=(chr1=input.charCodeAt(i++))>>2,enc2=(3&chr1)<<4|(chr2=input.charCodeAt(i++))>>4,enc3=(15&chr2)<<2|(chr3=input.charCodeAt(i++))>>6,enc4=63&chr3,isNaN(chr2)?enc3=enc4=64:isNaN(chr3)&&(enc4=64),output=output+_keyStr.charAt(enc1)+_keyStr.charAt(enc2)+_keyStr.charAt(enc3)+_keyStr.charAt(enc4);return output},exports.decode=function(input,utf8){var chr1,chr2,chr3,enc2,enc3,enc4,output="",i=0;for(input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<input.length;)chr1=_keyStr.indexOf(input.charAt(i++))<<2|(enc2=_keyStr.indexOf(input.charAt(i++)))>>4,chr2=(15&enc2)<<4|(enc3=_keyStr.indexOf(input.charAt(i++)))>>2,chr3=(3&enc3)<<6|(enc4=_keyStr.indexOf(input.charAt(i++))),output+=String.fromCharCode(chr1),64!=enc3&&(output+=String.fromCharCode(chr2)),64!=enc4&&(output+=String.fromCharCode(chr3));return output}},"4kuk":function(module,exports,__webpack_require__){var hashClear=__webpack_require__("SfRM"),hashDelete=__webpack_require__("Hvzi"),hashGet=__webpack_require__("u8Dt"),hashHas=__webpack_require__("ekgI"),hashSet=__webpack_require__("JSQU");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet,module.exports=Hash},"4yhB":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="share-item-click"},"57gW":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("Ivi5"),__webpack_require__("Q6ZU"),__webpack_require__("0L5q"),__webpack_require__("Drwt");var _autobind__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("mqVA");__webpack_require__.d(__webpack_exports__,"a",(function(){return _autobind__WEBPACK_IMPORTED_MODULE_4__.a}));__webpack_require__("wtYY"),__webpack_require__("OAlG"),__webpack_require__("vPNt"),__webpack_require__("nbpf"),__webpack_require__("DYSX"),__webpack_require__("Z6hE"),__webpack_require__("CTQx"),__webpack_require__("GkZE"),__webpack_require__("d8PM"),__webpack_require__("9pwy"),__webpack_require__("qn5L"),__webpack_require__("kioH"),__webpack_require__("YS4V")},"5Pf0":function(module,exports,__webpack_require__){var toObject=__webpack_require__("S/j/"),$getPrototypeOf=__webpack_require__("OP3Y");__webpack_require__("Xtr8")("getPrototypeOf",(function(){return function getPrototypeOf(it){return $getPrototypeOf(toObject(it))}}))},"5ZGN":function(module,exports,__webpack_require__){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}var memoizedCamelCase=__webpack_require__("44Ds")(__webpack_require__("u6S6"));module.exports=function camelcaseObjectDeep(value){if(Array.isArray(value))return value.map(camelcaseObjectDeep);if(value&&"object"===_typeof(value)&&value.constructor===Object){for(var obj={},keys=Object.keys(value),len=keys.length,i=0;i<len;i+=1)obj[memoizedCamelCase(keys[i])]=camelcaseObjectDeep(value[keys[i]]);return obj}return value}},"5evF":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="request-favorites"},"63Cg":function(module,exports,__webpack_require__){__webpack_require__("Btvt"),__webpack_require__("XfO3"),__webpack_require__("rGqo"),__webpack_require__("VRzm"),__webpack_require__("CX2u"),__webpack_require__("qcxO"),module.exports=__webpack_require__("g3g5").Promise},"69bn":function(module,exports,__webpack_require__){var anObject=__webpack_require__("y3w9"),aFunction=__webpack_require__("2OiF"),SPECIES=__webpack_require__("K0xU")("species");module.exports=function(O,D){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?D:aFunction(S)}},"6AQ9":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),createProperty=__webpack_require__("8a7r");$export($export.S+$export.F*__webpack_require__("eeVq")((function(){function F(){}return!(Array.of.call(F)instanceof F)})),"Array",{of:function of(){for(var index=0,aLen=arguments.length,result=new("function"==typeof this?this:Array)(aLen);aLen>index;)createProperty(result,index,arguments[index++]);return result.length=aLen,result}})},"6FMO":function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),isArray=__webpack_require__("EWmC"),SPECIES=__webpack_require__("K0xU")("species");module.exports=function(original){var C;return isArray(original)&&("function"!=typeof(C=original.constructor)||C!==Array&&!isArray(C.prototype)||(C=void 0),isObject(C)&&null===(C=C[SPECIES])&&(C=void 0)),void 0===C?Array:C}},"6VaU":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),flattenIntoArray=__webpack_require__("xF/b"),toObject=__webpack_require__("S/j/"),toLength=__webpack_require__("ne8i"),aFunction=__webpack_require__("2OiF"),arraySpeciesCreate=__webpack_require__("zRwo");$export($export.P,"Array",{flatMap:function flatMap(callbackfn){var sourceLen,A,O=toObject(this);return aFunction(callbackfn),sourceLen=toLength(O.length),A=arraySpeciesCreate(O,0),flattenIntoArray(A,O,O,sourceLen,0,1,callbackfn,arguments[1]),A}}),__webpack_require__("nGyu")("flatMap")},"6acW":function(module,exports,__webpack_require__){var toString=__webpack_require__("dt0z"),upperFirst=__webpack_require__("gQMU");module.exports=function capitalize(string){return upperFirst(toString(string).toLowerCase())}},"6nK8":function(module,exports,__webpack_require__){var asciiWords=__webpack_require__("dVn5"),hasUnicodeWord=__webpack_require__("fo6e"),toString=__webpack_require__("dt0z"),unicodeWords=__webpack_require__("9NmV");module.exports=function words(string,pattern,guard){return string=toString(string),void 0===(pattern=guard?void 0:pattern)?hasUnicodeWord(string)?unicodeWords(string):asciiWords(string):string.match(pattern)||[]}},"7/DV":function(module,exports,__webpack_require__){"use strict";exports.STORE={magic:"\0\0",compress:function(content){return content},uncompress:function(content){return content},compressInputType:null,uncompressInputType:null},exports.DEFLATE=__webpack_require__("+BzL")},"7VC1":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$pad=__webpack_require__("Lgjv"),userAgent=__webpack_require__("ol8x");$export($export.P+$export.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent),"String",{padEnd:function padEnd(maxLength){return $pad(this,maxLength,arguments.length>1?arguments[1]:void 0,!1)}})},"7h0T":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Number",{isNaN:function isNaN(number){return number!=number}})},"7oNk":function(module,exports,__webpack_require__){__webpack_require__("Btvt"),__webpack_require__("XfO3"),__webpack_require__("rGqo"),__webpack_require__("T39b"),__webpack_require__("25qn"),__webpack_require__("mcXe"),__webpack_require__("3YpW"),module.exports=__webpack_require__("g3g5").Set},"7tlc":function(module,exports,__webpack_require__){(function(process){var getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i<keys.length;i++)descriptors[keys[i]]=Object.getOwnPropertyDescriptor(obj,keys[i]);return descriptors},formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){for(var objects=[],i=0;i<arguments.length;i++)objects.push(inspect(arguments[i]));return objects.join(" ")}i=1;for(var args=arguments,len=args.length,str=String(f).replace(formatRegExp,(function(x){if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i<len;x=args[++i])isNull(x)||!isObject(x)?str+=" "+x:str+=" "+inspect(x);return str},exports.deprecate=function(fn,msg){if(void 0!==process&&!0===process.noDeprecation)return fn;if(void 0===process)return function(){return exports.deprecate(fn,msg).apply(this,arguments)};var warned=!1;return function deprecated(){if(!warned){if(process.throwDeprecation)throw new Error(msg);process.traceDeprecation?console.trace(msg):console.error(msg),warned=!0}return fn.apply(this,arguments)}};var debugEnviron,debugs={};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i<l;++i)hasOwnProperty(value,String(i))?output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),!0)):output.push("");return keys.forEach((function(key){key.match(/^\d+$/)||output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,!0))})),output}(ctx,value,recurseTimes,visibleKeys,keys):keys.map((function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})),ctx.seen.pop(),function reduceToSingleString(output,base,braces){if(output.reduce((function(prev,cur){return cur.indexOf("\n")>=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n  ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return"  "+line})).join("\n").substr(2):"\n"+str.split("\n").map((function(line){return"   "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.substr(1,name.length-2),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(isUndefined(debugEnviron)&&(debugEnviron=process.env.NODE_DEBUG||""),set=set.toUpperCase(),!debugs[set])if(new RegExp("\\b"+set+"\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.isError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__("j/1Z");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__("FfBw"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin};var kCustomPromisifiedSymbol="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=new Error("Promise was rejected with a falsy value");newReason.reason=reason,reason=newReason}return cb(reason)}exports.promisify=function promisify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn;if("function"!=typeof(fn=original[kCustomPromisifiedSymbol]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var promiseResolve,promiseReject,promise=new Promise((function(resolve,reject){promiseResolve=resolve,promiseReject=reject})),args=[],i=0;i<arguments.length;i++)args.push(arguments[i]);args.push((function(err,value){err?promiseReject(err):promiseResolve(value)}));try{original.apply(this,args)}catch(err){promiseReject(err)}return promise}return Object.setPrototypeOf(fn,Object.getPrototypeOf(original)),kCustomPromisifiedSymbol&&Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(fn,getOwnPropertyDescriptors(original))},exports.promisify.custom=kCustomPromisifiedSymbol,exports.callbackify=function callbackify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');function callbackified(){for(var args=[],i=0;i<arguments.length;i++)args.push(arguments[i]);var maybeCb=args.pop();if("function"!=typeof maybeCb)throw new TypeError("The last argument must be of type Function");var self=this,cb=function(){return maybeCb.apply(self,arguments)};original.apply(this,args).then((function(ret){process.nextTick(cb,null,ret)}),(function(rej){process.nextTick(callbackifyOnRejected,rej,cb)}))}return Object.setPrototypeOf(callbackified,Object.getPrototypeOf(original)),Object.defineProperties(callbackified,getOwnPropertyDescriptors(original)),callbackified}}).call(this,__webpack_require__("8oxB"))},"7tol":function(module,exports,__webpack_require__){"use strict";var crcTable=function makeTable(){for(var c,table=[],n=0;n<256;n++){c=n;for(var k=0;k<8;k++)c=1&c?3988292384^c>>>1:c>>>1;table[n]=c}return table}();module.exports=function crc32(crc,buf,len,pos){var t=crcTable,end=pos+len;crc^=-1;for(var i=pos;i<end;i++)crc=crc>>>8^t[255&(crc^buf[i])];return-1^crc}},"7x1c":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return Name}));var _ori_events_loyalty_dialog_result__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("G+7/");__webpack_require__.d(__webpack_exports__,"a",(function(){return _ori_events_loyalty_dialog_result__WEBPACK_IMPORTED_MODULE_0__.a}));__webpack_require__("ok7h"),__webpack_require__("fq1A"),__webpack_require__("tj4k"),__webpack_require__("mXUI");var Name="basket-updated"},"8+KV":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$forEach=__webpack_require__("CkkT")(0),STRICT=__webpack_require__("LyE8")([].forEach,!0);$export($export.P+$export.F*!STRICT,"Array",{forEach:function forEach(callbackfn){return $forEach(this,callbackfn,arguments[1])}})},"84bF":function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("small",(function(createHTML){return function small(){return createHTML(this,"small","","")}}))},"8a7r":function(module,exports,__webpack_require__){"use strict";var $defineProperty=__webpack_require__("hswa"),createDesc=__webpack_require__("RjD/");module.exports=function(object,index,value){index in object?$defineProperty.f(object,index,createDesc(0,value)):object[index]=value}},"8oxB":function(module,exports){var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},"91GP":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S+$export.F,"Object",{assign:__webpack_require__("czNK")})},"9AAn":function(module,exports,__webpack_require__){"use strict";var strong=__webpack_require__("wmvG"),validate=__webpack_require__("s5qY");module.exports=__webpack_require__("4LiD")("Map",(function(get){return function Map(){return get(this,arguments.length>0?arguments[0]:void 0)}}),{get:function get(key){var entry=strong.getEntry(validate(this,"Map"),key);return entry&&entry.v},set:function set(key,value){return strong.def(validate(this,"Map"),0===key?0:key,value)}},strong,!0)},"9Ab9":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="request-clear-shopping-cache"},"9NmV":function(module,exports){var rsBreakRange="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsBreak="["+rsBreakRange+"]",rsDigits="\\d+",rsDingbat="[\\u2700-\\u27bf]",rsLower="[a-z\\xdf-\\xf6\\xf8-\\xff]",rsMisc="[^\\ud800-\\udfff"+rsBreakRange+rsDigits+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",reOptMod="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",rsSeq="[\\ufe0e\\ufe0f]?"+reOptMod+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",rsRegional,rsSurrPair].join("|")+")[\\ufe0e\\ufe0f]?"+reOptMod+")*"),rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+(?:['’](?:d|ll|m|re|s|t|ve))?",rsUpper+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rsDigits,rsEmoji].join("|"),"g");module.exports=function unicodeWords(string){return string.match(reUnicodeWord)||[]}},"9VmF":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toLength=__webpack_require__("ne8i"),context=__webpack_require__("0sh+"),$startsWith="".startsWith;$export($export.P+$export.F*__webpack_require__("UUeW")("startsWith"),"String",{startsWith:function startsWith(searchString){var that=context(this,searchString,"startsWith"),index=toLength(Math.min(arguments.length>1?arguments[1]:void 0,that.length)),search=String(searchString);return $startsWith?$startsWith.call(that,search,index):that.slice(index,index+search.length)===search}})},"9XZr":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$pad=__webpack_require__("Lgjv"),userAgent=__webpack_require__("ol8x");$export($export.P+$export.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent),"String",{padStart:function padStart(maxLength){return $pad(this,maxLength,arguments.length>1?arguments[1]:void 0,!0)}})},"9aYe":function(module,exports,__webpack_require__){"use strict";var support=__webpack_require__("Mi3D"),compressions=__webpack_require__("7/DV"),nodeBuffer=__webpack_require__("z//S");function identity(input){return input}function stringToArrayLike(str,array){for(var i=0;i<str.length;++i)array[i]=255&str.charCodeAt(i);return array}function arrayLikeToString(array){var chunk=65536,result=[],len=array.length,type=exports.getTypeOf(array),k=0,canUseApply=!0;try{switch(type){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,nodeBuffer(0))}}catch(e){canUseApply=!1}if(!canUseApply){for(var resultStr="",i=0;i<array.length;i++)resultStr+=String.fromCharCode(array[i]);return resultStr}for(;k<len&&chunk>1;)try{"array"===type||"nodebuffer"===type?result.push(String.fromCharCode.apply(null,array.slice(k,Math.min(k+chunk,len)))):result.push(String.fromCharCode.apply(null,array.subarray(k,Math.min(k+chunk,len)))),k+=chunk}catch(e){chunk=Math.floor(chunk/2)}return result.join("")}function arrayLikeToArrayLike(arrayFrom,arrayTo){for(var i=0;i<arrayFrom.length;i++)arrayTo[i]=arrayFrom[i];return arrayTo}exports.string2binary=function(str){for(var result="",i=0;i<str.length;i++)result+=String.fromCharCode(255&str.charCodeAt(i));return result},exports.arrayBuffer2Blob=function(buffer){exports.checkSupport("blob");try{return new Blob([buffer],{type:"application/zip"})}catch(e){try{var builder=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return builder.append(buffer),builder.getBlob("application/zip")}catch(e){throw new Error("Bug : can't construct the Blob.")}}},exports.applyFromCharCode=arrayLikeToString;var transform={};transform.string={string:identity,array:function(input){return stringToArrayLike(input,new Array(input.length))},arraybuffer:function(input){return transform.string.uint8array(input).buffer},uint8array:function(input){return stringToArrayLike(input,new Uint8Array(input.length))},nodebuffer:function(input){return stringToArrayLike(input,nodeBuffer(input.length))}},transform.array={string:arrayLikeToString,array:identity,arraybuffer:function(input){return new Uint8Array(input).buffer},uint8array:function(input){return new Uint8Array(input)},nodebuffer:function(input){return nodeBuffer(input)}},transform.arraybuffer={string:function(input){return arrayLikeToString(new Uint8Array(input))},array:function(input){return arrayLikeToArrayLike(new Uint8Array(input),new Array(input.byteLength))},arraybuffer:identity,uint8array:function(input){return new Uint8Array(input)},nodebuffer:function(input){return nodeBuffer(new Uint8Array(input))}},transform.uint8array={string:arrayLikeToString,array:function(input){return arrayLikeToArrayLike(input,new Array(input.length))},arraybuffer:function(input){return input.buffer},uint8array:identity,nodebuffer:function(input){return nodeBuffer(input)}},transform.nodebuffer={string:arrayLikeToString,array:function(input){return arrayLikeToArrayLike(input,new Array(input.length))},arraybuffer:function(input){return transform.nodebuffer.uint8array(input).buffer},uint8array:function(input){return arrayLikeToArrayLike(input,new Uint8Array(input.length))},nodebuffer:identity},exports.transformTo=function(outputType,input){if(input||(input=""),!outputType)return input;exports.checkSupport(outputType);var inputType=exports.getTypeOf(input);return transform[inputType][outputType](input)},exports.getTypeOf=function(input){return"string"==typeof input?"string":"[object Array]"===Object.prototype.toString.call(input)?"array":support.nodebuffer&&nodeBuffer.test(input)?"nodebuffer":support.uint8array&&input instanceof Uint8Array?"uint8array":support.arraybuffer&&input instanceof ArrayBuffer?"arraybuffer":void 0},exports.checkSupport=function(type){if(!support[type.toLowerCase()])throw new Error(type+" is not supported by this browser")},exports.MAX_VALUE_16BITS=65535,exports.MAX_VALUE_32BITS=-1,exports.pretty=function(str){var code,i,res="";for(i=0;i<(str||"").length;i++)res+="\\x"+((code=str.charCodeAt(i))<16?"0":"")+code.toString(16).toUpperCase();return res},exports.findCompression=function(compressionMethod){for(var method in compressions)if(compressions.hasOwnProperty(method)&&compressions[method].magic===compressionMethod)return compressions[method];return null},exports.isRegExp=function(object){return"[object RegExp]"===Object.prototype.toString.call(object)}},"9gX7":function(module,exports){module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},"9lTW":function(module,exports,__webpack_require__){"use strict";(function(global){var objectAssign=__webpack_require__("MgzW");function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0}function isBuffer(b){return global.Buffer&&"function"==typeof global.Buffer.isBuffer?global.Buffer.isBuffer(b):!(null==b||!b._isBuffer)}var util=__webpack_require__("7tlc"),hasOwn=Object.prototype.hasOwnProperty,pSlice=Array.prototype.slice,functionsHaveNames="foo"===function foo(){}.name;function pToString(obj){return Object.prototype.toString.call(obj)}function isView(arrbuf){return!isBuffer(arrbuf)&&("function"==typeof global.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(arrbuf):!!arrbuf&&(arrbuf instanceof DataView||!!(arrbuf.buffer&&arrbuf.buffer instanceof ArrayBuffer))))}var assert=module.exports=ok,regex=/\s*function\s+([^\(\s]*)\s*/;function getName(func){if(util.isFunction(func)){if(functionsHaveNames)return func.name;var match=func.toString().match(regex);return match&&match[1]}}function truncate(s,n){return"string"==typeof s?s.length<n?s:s.slice(0,n):s}function inspect(something){if(functionsHaveNames||!util.isFunction(something))return util.inspect(something);var rawname=getName(something);return"[Function"+(rawname?": "+rawname:"")+"]"}function fail(actual,expected,message,operator,stackStartFunction){throw new assert.AssertionError({message:message,actual:actual,expected:expected,operator:operator,stackStartFunction:stackStartFunction})}function ok(value,message){value||fail(value,!0,message,"==",assert.ok)}function _deepEqual(actual,expected,strict,memos){if(actual===expected)return!0;if(isBuffer(actual)&&isBuffer(expected))return 0===compare(actual,expected);if(util.isDate(actual)&&util.isDate(expected))return actual.getTime()===expected.getTime();if(util.isRegExp(actual)&&util.isRegExp(expected))return actual.source===expected.source&&actual.global===expected.global&&actual.multiline===expected.multiline&&actual.lastIndex===expected.lastIndex&&actual.ignoreCase===expected.ignoreCase;if(null!==actual&&"object"==typeof actual||null!==expected&&"object"==typeof expected){if(isView(actual)&&isView(expected)&&pToString(actual)===pToString(expected)&&!(actual instanceof Float32Array||actual instanceof Float64Array))return 0===compare(new Uint8Array(actual.buffer),new Uint8Array(expected.buffer));if(isBuffer(actual)!==isBuffer(expected))return!1;var actualIndex=(memos=memos||{actual:[],expected:[]}).actual.indexOf(actual);return-1!==actualIndex&&actualIndex===memos.expected.indexOf(expected)||(memos.actual.push(actual),memos.expected.push(expected),function objEquiv(a,b,strict,actualVisitedObjects){if(null==a||null==b)return!1;if(util.isPrimitive(a)||util.isPrimitive(b))return a===b;if(strict&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var aIsArgs=isArguments(a),bIsArgs=isArguments(b);if(aIsArgs&&!bIsArgs||!aIsArgs&&bIsArgs)return!1;if(aIsArgs)return _deepEqual(a=pSlice.call(a),b=pSlice.call(b),strict);var key,i,ka=objectKeys(a),kb=objectKeys(b);if(ka.length!==kb.length)return!1;for(ka.sort(),kb.sort(),i=ka.length-1;i>=0;i--)if(ka[i]!==kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(!_deepEqual(a[key=ka[i]],b[key],strict,actualVisitedObjects))return!1;return!0}(actual,expected,strict,memos))}return strict?actual===expected:actual==expected}function isArguments(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function expectedException(actual,expected){if(!actual||!expected)return!1;if("[object RegExp]"==Object.prototype.toString.call(expected))return expected.test(actual);try{if(actual instanceof expected)return!0}catch(e){}return!Error.isPrototypeOf(expected)&&!0===expected.call({},actual)}function _throws(shouldThrow,block,expected,message){var actual;if("function"!=typeof block)throw new TypeError('"block" argument must be a function');"string"==typeof expected&&(message=expected,expected=null),actual=function _tryBlock(block){var error;try{block()}catch(e){error=e}return error}(block),message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:"."),shouldThrow&&!actual&&fail(actual,expected,"Missing expected exception"+message);var userProvidedMessage="string"==typeof message,isUnexpectedException=!shouldThrow&&actual&&!expected;if((!shouldThrow&&util.isError(actual)&&userProvidedMessage&&expectedException(actual,expected)||isUnexpectedException)&&fail(actual,expected,"Got unwanted exception"+message),shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual)throw actual}assert.AssertionError=function AssertionError(options){this.name="AssertionError",this.actual=options.actual,this.expected=options.expected,this.operator=options.operator,options.message?(this.message=options.message,this.generatedMessage=!1):(this.message=function getMessage(self){return truncate(inspect(self.actual),128)+" "+self.operator+" "+truncate(inspect(self.expected),128)}(this),this.generatedMessage=!0);var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,stackStartFunction);else{var err=new Error;if(err.stack){var out=err.stack,fn_name=getName(stackStartFunction),idx=out.indexOf("\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}},util.inherits(assert.AssertionError,Error),assert.fail=fail,assert.ok=ok,assert.equal=function equal(actual,expected,message){actual!=expected&&fail(actual,expected,message,"==",assert.equal)},assert.notEqual=function notEqual(actual,expected,message){actual==expected&&fail(actual,expected,message,"!=",assert.notEqual)},assert.deepEqual=function deepEqual(actual,expected,message){_deepEqual(actual,expected,!1)||fail(actual,expected,message,"deepEqual",assert.deepEqual)},assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)||fail(actual,expected,message,"deepStrictEqual",assert.deepStrictEqual)},assert.notDeepEqual=function notDeepEqual(actual,expected,message){_deepEqual(actual,expected,!1)&&fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)},assert.notDeepStrictEqual=function notDeepStrictEqual(actual,expected,message){_deepEqual(actual,expected,!0)&&fail(actual,expected,message,"notDeepStrictEqual",notDeepStrictEqual)},assert.strictEqual=function strictEqual(actual,expected,message){actual!==expected&&fail(actual,expected,message,"===",assert.strictEqual)},assert.notStrictEqual=function notStrictEqual(actual,expected,message){actual===expected&&fail(actual,expected,message,"!==",assert.notStrictEqual)},assert.throws=function(block,error,message){_throws(!0,block,error,message)},assert.doesNotThrow=function(block,error,message){_throws(!1,block,error,message)},assert.ifError=function(err){if(err)throw err},assert.strict=objectAssign((function strict(value,message){value||fail(value,!0,message,"==",strict)}),assert,{equal:assert.strictEqual,deepEqual:assert.deepStrictEqual,notEqual:assert.notStrictEqual,notDeepEqual:assert.notDeepStrictEqual}),assert.strict.strict=assert.strict;var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)hasOwn.call(obj,key)&&keys.push(key);return keys}}).call(this,__webpack_require__("yLpj"))},"9pwy":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign;var labels={};console.time&&console.time.bind(console),console.timeEnd&&console.timeEnd.bind(console)},A2zW:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toInteger=__webpack_require__("RYi7"),aNumberValue=__webpack_require__("vvmO"),repeat=__webpack_require__("l0Rn"),$toFixed=1..toFixed,floor=Math.floor,data=[0,0,0,0,0,0],ERROR="Number.toFixed: incorrect invocation!",multiply=function(n,c){for(var i=-1,c2=c;++i<6;)c2+=n*data[i],data[i]=c2%1e7,c2=floor(c2/1e7)},divide=function(n){for(var i=6,c=0;--i>=0;)c+=data[i],data[i]=floor(c/n),c=c%n*1e7},numToString=function(){for(var i=6,s="";--i>=0;)if(""!==s||0===i||0!==data[i]){var t=String(data[i]);s=""===s?t:s+repeat.call("0",7-t.length)+t}return s},pow=function(x,n,acc){return 0===n?acc:n%2==1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)};$export($export.P+$export.F*(!!$toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!__webpack_require__("eeVq")((function(){$toFixed.call({})}))),"Number",{toFixed:function toFixed(fractionDigits){var e,z,j,k,x=aNumberValue(this,ERROR),f=toInteger(fractionDigits),s="",m="0";if(f<0||f>20)throw RangeError(ERROR);if(x!=x)return"NaN";if(x<=-1e21||x>=1e21)return String(x);if(x<0&&(s="-",x=-x),x>1e-21)if(z=(e=function(x){for(var n=0,x2=x;x2>=4096;)n+=12,x2/=4096;for(;x2>=2;)n+=1,x2/=2;return n}(x*pow(2,69,1))-69)<0?x*pow(2,-e,1):x/pow(2,e,1),z*=4503599627370496,(e=52-e)>0){for(multiply(0,z),j=f;j>=7;)multiply(1e7,0),j-=7;for(multiply(pow(10,j,1),0),j=e-1;j>=23;)divide(1<<23),j-=23;divide(1<<j),multiply(1,1),divide(2),m=numToString()}else multiply(0,z),multiply(1<<-e,0),m=numToString()+repeat.call("0",f);return m=f>0?s+((k=m.length)<=f?"0."+repeat.call("0",f-k)+m:m.slice(0,k-f)+"."+m.slice(k-f)):s+m}})},AGV1:function(module,exports,__webpack_require__){"use strict";module.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}},AHQI:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FollowUsItemClick=exports.Name=void 0,exports.Name="follow-us-item-click",exports.FollowUsItemClick=exports.Name},AP2z:function(module,exports,__webpack_require__){var Symbol=__webpack_require__("nmnc"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},APZo:function(module,exports,__webpack_require__){__webpack_require__("VpUO"),__webpack_require__("eI33"),__webpack_require__("Tze0"),__webpack_require__("XfO3"),__webpack_require__("oDIu"),__webpack_require__("rvZc"),__webpack_require__("L9s1"),__webpack_require__("FLlr"),__webpack_require__("9VmF"),__webpack_require__("SRfc"),__webpack_require__("pIFo"),__webpack_require__("OG14"),__webpack_require__("KKXr"),__webpack_require__("hEkN"),__webpack_require__("nIY7"),__webpack_require__("+oPb"),__webpack_require__("SMB2"),__webpack_require__("0mN4"),__webpack_require__("bDcW"),__webpack_require__("nsiH"),__webpack_require__("0LDn"),__webpack_require__("tUrg"),__webpack_require__("84bF"),__webpack_require__("FEjr"),__webpack_require__("Zz4T"),__webpack_require__("JCqj"),__webpack_require__("NTXk"),__webpack_require__("9XZr"),__webpack_require__("7VC1"),__webpack_require__("I74W"),__webpack_require__("fA63"),__webpack_require__("mI1R"),__webpack_require__("XOOG"),__webpack_require__("1RGe"),module.exports=__webpack_require__("g3g5").String},Afnz:function(module,exports,__webpack_require__){"use strict";var LIBRARY=__webpack_require__("LQAc"),$export=__webpack_require__("XKFU"),redefine=__webpack_require__("KroJ"),hide=__webpack_require__("Mukb"),Iterators=__webpack_require__("hPIQ"),$iterCreate=__webpack_require__("QaDb"),setToStringTag=__webpack_require__("fyDq"),getPrototypeOf=__webpack_require__("OP3Y"),ITERATOR=__webpack_require__("K0xU")("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},AvRE:function(module,exports,__webpack_require__){var toInteger=__webpack_require__("RYi7"),defined=__webpack_require__("vhPU");module.exports=function(TO_STRING){return function(that,pos){var a,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return i<0||i>=l?TO_STRING?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},"B/RK":function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("vn/o");function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}var extra_lbits=[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],extra_dbits=[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],extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],static_ltree=new Array(576);zero(static_ltree);var static_dtree=new Array(60);zero(static_dtree);var _dist_code=new Array(512);zero(_dist_code);var _length_code=new Array(256);zero(_length_code);var base_length=new Array(29);zero(base_length);var static_l_desc,static_d_desc,static_bl_desc,base_dist=new Array(30);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree,this.extra_bits=extra_bits,this.extra_base=extra_base,this.elems=elems,this.max_length=max_length,this.has_stree=static_tree&&static_tree.length}function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree,this.max_code=0,this.stat_desc=stat_desc}function d_code(dist){return dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)]}function put_short(s,w){s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255}function send_bits(s,value,length){s.bi_valid>16-length?(s.bi_buf|=value<<s.bi_valid&65535,put_short(s,s.bi_buf),s.bi_buf=value>>16-s.bi_valid,s.bi_valid+=length-16):(s.bi_buf|=value<<s.bi_valid&65535,s.bi_valid+=length)}function send_code(s,c,tree){send_bits(s,tree[2*c],tree[2*c+1])}function bi_reverse(code,len){var res=0;do{res|=1&code,code>>>=1,res<<=1}while(--len>0);return res>>>1}function gen_codes(tree,max_code,bl_count){var bits,n,next_code=new Array(16),code=0;for(bits=1;bits<=15;bits++)next_code[bits]=code=code+bl_count[bits-1]<<1;for(n=0;n<=max_code;n++){var len=tree[2*n+1];0!==len&&(tree[2*n]=bi_reverse(next_code[len]++,len))}}function init_block(s){var n;for(n=0;n<286;n++)s.dyn_ltree[2*n]=0;for(n=0;n<30;n++)s.dyn_dtree[2*n]=0;for(n=0;n<19;n++)s.bl_tree[2*n]=0;s.dyn_ltree[512]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function bi_windup(s){s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function smaller(tree,n,m,depth){var _n2=2*n,_m2=2*m;return tree[_n2]<tree[_m2]||tree[_n2]===tree[_m2]&&depth[n]<=depth[m]}function pqdownheap(s,tree,k){for(var v=s.heap[k],j=k<<1;j<=s.heap_len&&(j<s.heap_len&&smaller(tree,s.heap[j+1],s.heap[j],s.depth)&&j++,!smaller(tree,v,s.heap[j],s.depth));)s.heap[k]=s.heap[j],k=j,j<<=1;s.heap[k]=v}function compress_block(s,ltree,dtree){var dist,lc,code,extra,lx=0;if(0!==s.last_lit)do{dist=s.pending_buf[s.d_buf+2*lx]<<8|s.pending_buf[s.d_buf+2*lx+1],lc=s.pending_buf[s.l_buf+lx],lx++,0===dist?send_code(s,lc,ltree):(send_code(s,(code=_length_code[lc])+256+1,ltree),0!==(extra=extra_lbits[code])&&send_bits(s,lc-=base_length[code],extra),send_code(s,code=d_code(--dist),dtree),0!==(extra=extra_dbits[code])&&send_bits(s,dist-=base_dist[code],extra))}while(lx<s.last_lit);send_code(s,256,ltree)}function build_tree(s,desc){var n,m,node,tree=desc.dyn_tree,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,elems=desc.stat_desc.elems,max_code=-1;for(s.heap_len=0,s.heap_max=573,n=0;n<elems;n++)0!==tree[2*n]?(s.heap[++s.heap_len]=max_code=n,s.depth[n]=0):tree[2*n+1]=0;for(;s.heap_len<2;)tree[2*(node=s.heap[++s.heap_len]=max_code<2?++max_code:0)]=1,s.depth[node]=0,s.opt_len--,has_stree&&(s.static_len-=stree[2*node+1]);for(desc.max_code=max_code,n=s.heap_len>>1;n>=1;n--)pqdownheap(s,tree,n);node=elems;do{n=s.heap[1],s.heap[1]=s.heap[s.heap_len--],pqdownheap(s,tree,1),m=s.heap[1],s.heap[--s.heap_max]=n,s.heap[--s.heap_max]=m,tree[2*node]=tree[2*n]+tree[2*m],s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1,tree[2*n+1]=tree[2*m+1]=node,s.heap[1]=node++,pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1],function gen_bitlen(s,desc){var h,n,m,bits,xbits,f,tree=desc.dyn_tree,max_code=desc.max_code,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,extra=desc.stat_desc.extra_bits,base=desc.stat_desc.extra_base,max_length=desc.stat_desc.max_length,overflow=0;for(bits=0;bits<=15;bits++)s.bl_count[bits]=0;for(tree[2*s.heap[s.heap_max]+1]=0,h=s.heap_max+1;h<573;h++)(bits=tree[2*tree[2*(n=s.heap[h])+1]+1]+1)>max_length&&(bits=max_length,overflow++),tree[2*n+1]=bits,n>max_code||(s.bl_count[bits]++,xbits=0,n>=base&&(xbits=extra[n-base]),f=tree[2*n],s.opt_len+=f*(bits+xbits),has_stree&&(s.static_len+=f*(stree[2*n+1]+xbits)));if(0!==overflow){do{for(bits=max_length-1;0===s.bl_count[bits];)bits--;s.bl_count[bits]--,s.bl_count[bits+1]+=2,s.bl_count[max_length]--,overflow-=2}while(overflow>0);for(bits=max_length;0!==bits;bits--)for(n=s.bl_count[bits];0!==n;)(m=s.heap[--h])>max_code||(tree[2*m+1]!==bits&&(s.opt_len+=(bits-tree[2*m+1])*tree[2*m],tree[2*m+1]=bits),n--)}}(s,desc),gen_codes(tree,max_code,s.bl_count)}function scan_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),tree[2*(max_code+1)+1]=65535,n=0;n<=max_code;n++)curlen=nextlen,nextlen=tree[2*(n+1)+1],++count<max_count&&curlen===nextlen||(count<min_count?s.bl_tree[2*curlen]+=count:0!==curlen?(curlen!==prevlen&&s.bl_tree[2*curlen]++,s.bl_tree[32]++):count<=10?s.bl_tree[34]++:s.bl_tree[36]++,count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4))}function send_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),n=0;n<=max_code;n++)if(curlen=nextlen,nextlen=tree[2*(n+1)+1],!(++count<max_count&&curlen===nextlen)){if(count<min_count)do{send_code(s,curlen,s.bl_tree)}while(0!=--count);else 0!==curlen?(curlen!==prevlen&&(send_code(s,curlen,s.bl_tree),count--),send_code(s,16,s.bl_tree),send_bits(s,count-3,2)):count<=10?(send_code(s,17,s.bl_tree),send_bits(s,count-3,3)):(send_code(s,18,s.bl_tree),send_bits(s,count-11,7));count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4)}}zero(base_dist);var static_init_done=!1;function _tr_stored_block(s,buf,stored_len,last){send_bits(s,0+(last?1:0),3),function copy_block(s,buf,len,header){bi_windup(s),header&&(put_short(s,len),put_short(s,~len)),utils.arraySet(s.pending_buf,s.window,buf,len,s.pending),s.pending+=len}(s,buf,stored_len,!0)}exports._tr_init=function _tr_init(s){static_init_done||(!function tr_static_init(){var n,bits,length,code,dist,bl_count=new Array(16);for(length=0,code=0;code<28;code++)for(base_length[code]=length,n=0;n<1<<extra_lbits[code];n++)_length_code[length++]=code;for(_length_code[length-1]=code,dist=0,code=0;code<16;code++)for(base_dist[code]=dist,n=0;n<1<<extra_dbits[code];n++)_dist_code[dist++]=code;for(dist>>=7;code<30;code++)for(base_dist[code]=dist<<7,n=0;n<1<<extra_dbits[code]-7;n++)_dist_code[256+dist++]=code;for(bits=0;bits<=15;bits++)bl_count[bits]=0;for(n=0;n<=143;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(;n<=255;)static_ltree[2*n+1]=9,n++,bl_count[9]++;for(;n<=279;)static_ltree[2*n+1]=7,n++,bl_count[7]++;for(;n<=287;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(gen_codes(static_ltree,287,bl_count),n=0;n<30;n++)static_dtree[2*n+1]=5,static_dtree[2*n]=bi_reverse(n,5);static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,257,286,15),static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,30,15),static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,19,7)}(),static_init_done=!0),s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc),s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc),s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc),s.bi_buf=0,s.bi_valid=0,init_block(s)},exports._tr_stored_block=_tr_stored_block,exports._tr_flush_block=function _tr_flush_block(s,buf,stored_len,last){var opt_lenb,static_lenb,max_blindex=0;s.level>0?(2===s.strm.data_type&&(s.strm.data_type=function detect_data_type(s){var n,black_mask=4093624447;for(n=0;n<=31;n++,black_mask>>>=1)if(1&black_mask&&0!==s.dyn_ltree[2*n])return 0;if(0!==s.dyn_ltree[18]||0!==s.dyn_ltree[20]||0!==s.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==s.dyn_ltree[2*n])return 1;return 0}(s)),build_tree(s,s.l_desc),build_tree(s,s.d_desc),max_blindex=function build_bl_tree(s){var max_blindex;for(scan_tree(s,s.dyn_ltree,s.l_desc.max_code),scan_tree(s,s.dyn_dtree,s.d_desc.max_code),build_tree(s,s.bl_desc),max_blindex=18;max_blindex>=3&&0===s.bl_tree[2*bl_order[max_blindex]+1];max_blindex--);return s.opt_len+=3*(max_blindex+1)+5+5+4,max_blindex}(s),opt_lenb=s.opt_len+3+7>>>3,(static_lenb=s.static_len+3+7>>>3)<=opt_lenb&&(opt_lenb=static_lenb)):opt_lenb=static_lenb=stored_len+5,stored_len+4<=opt_lenb&&-1!==buf?_tr_stored_block(s,buf,stored_len,last):4===s.strategy||static_lenb===opt_lenb?(send_bits(s,2+(last?1:0),3),compress_block(s,static_ltree,static_dtree)):(send_bits(s,4+(last?1:0),3),function send_all_trees(s,lcodes,dcodes,blcodes){var rank;for(send_bits(s,lcodes-257,5),send_bits(s,dcodes-1,5),send_bits(s,blcodes-4,4),rank=0;rank<blcodes;rank++)send_bits(s,s.bl_tree[2*bl_order[rank]+1],3);send_tree(s,s.dyn_ltree,lcodes-1),send_tree(s,s.dyn_dtree,dcodes-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,max_blindex+1),compress_block(s,s.dyn_ltree,s.dyn_dtree)),init_block(s),last&&bi_windup(s)},exports._tr_tally=function _tr_tally(s,dist,lc){return s.pending_buf[s.d_buf+2*s.last_lit]=dist>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&dist,s.pending_buf[s.l_buf+s.last_lit]=255&lc,s.last_lit++,0===dist?s.dyn_ltree[2*lc]++:(s.matches++,dist--,s.dyn_ltree[2*(_length_code[lc]+256+1)]++,s.dyn_dtree[2*d_code(dist)]++),s.last_lit===s.lit_bufsize-1},exports._tr_align=function _tr_align(s){send_bits(s,2,3),send_code(s,256,static_ltree),function bi_flush(s){16===s.bi_valid?(put_short(s,s.bi_buf),s.bi_buf=0,s.bi_valid=0):s.bi_valid>=8&&(s.pending_buf[s.pending++]=255&s.bi_buf,s.bi_buf>>=8,s.bi_valid-=8)}(s)}},BP8U:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),$parseInt=__webpack_require__("PKUr");$export($export.S+$export.F*(Number.parseInt!=$parseInt),"Number",{parseInt:$parseInt})},BtGZ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="banner-data-loaded"},Btvt:function(module,exports,__webpack_require__){"use strict";var classof=__webpack_require__("I8a+"),test={};test[__webpack_require__("K0xU")("toStringTag")]="z",test+""!="[object z]"&&__webpack_require__("KroJ")(Object.prototype,"toString",(function toString(){return"[object "+classof(this)+"]"}),!0)},"C/va":function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__("y3w9");module.exports=function(){var that=anObject(this),result="";return that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.unicode&&(result+="u"),that.sticky&&(result+="y"),result}},CKru:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="shopping-context-loaded"},CMwn:function(module,__webpack_exports__,__webpack_require__){"use strict";var eventName="subscription-error";__webpack_exports__.a={dispatch:function dispatch(data){var event=new CustomEvent(eventName,data);globalThis.dispatchEvent(event)},listen:function listen(callback,options){globalThis.addEventListener(eventName,callback,options)},clean:function clean(callback){globalThis.removeEventListener(eventName,callback)},eventName:eventName,subscriptionError:"subscription-error"}},CTQx:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN");Object.defineProperty},CWBI:function(module,exports,__webpack_require__){module.exports=__webpack_require__("sZro")},CX2u:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),core=__webpack_require__("g3g5"),global=__webpack_require__("dyZX"),speciesConstructor=__webpack_require__("69bn"),promiseResolve=__webpack_require__("vKrd");$export($export.P+$export.R,"Promise",{finally:function(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then((function(){return x}))}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then((function(){throw e}))}:onFinally)}})},CkkT:function(module,exports,__webpack_require__){var ctx=__webpack_require__("m0Pp"),IObject=__webpack_require__("Ymqv"),toObject=__webpack_require__("S/j/"),toLength=__webpack_require__("ne8i"),asc=__webpack_require__("zRwo");module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(res=f(val=self[index],index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},Cl2I:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("Np/R")},Cwc5:function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__("NKxu"),getValue=__webpack_require__("Npjl");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},CxY0:function(module,exports,__webpack_require__){"use strict";var punycode=__webpack_require__("GYWy"),util=__webpack_require__("Nehr");function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}exports.parse=urlParse,exports.resolve=function urlResolve(source,relative){return urlParse(source,!1,!0).resolve(relative)},exports.resolveObject=function urlResolveObject(source,relative){return source?urlParse(source,!1,!0).resolveObject(relative):relative},exports.format=function urlFormat(obj){util.isString(obj)&&(obj=urlParse(obj));return obj instanceof Url?obj.format():Url.prototype.format.call(obj)},exports.Url=Url;var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,unwise=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},querystring=__webpack_require__("s4NR");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;return u.parse(url,parseQueryString,slashesDenoteHost),u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url))throw new TypeError("Parameter 'url' must be a string, not "+typeof url);var queryIndex=url.indexOf("?"),splitter=-1!==queryIndex&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter);uSplit[0]=uSplit[0].replace(/\\/g,"/");var rest=url=uSplit.join(splitter);if(rest=rest.trim(),!slashesDenoteHost&&1===url.split("#").length){var simplePath=simplePathPattern.exec(rest);if(simplePath)return this.path=rest,this.href=rest,this.pathname=simplePath[1],simplePath[2]?(this.search=simplePath[2],this.query=parseQueryString?querystring.parse(this.search.substr(1)):this.search.substr(1)):parseQueryString&&(this.search="",this.query={}),this}var proto=protocolPattern.exec(rest);if(proto){var lowerProto=(proto=proto[0]).toLowerCase();this.protocol=lowerProto,rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes="//"===rest.substr(0,2);!slashes||proto&&hostlessProtocol[proto]||(rest=rest.substr(2),this.slashes=!0)}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){for(var auth,atSign,hostEnd=-1,i=0;i<hostEndingChars.length;i++){-1!==(hec=rest.indexOf(hostEndingChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1!==(atSign=-1===hostEnd?rest.lastIndexOf("@"):rest.lastIndexOf("@",hostEnd))&&(auth=rest.slice(0,atSign),rest=rest.slice(atSign+1),this.auth=decodeURIComponent(auth)),hostEnd=-1;for(i=0;i<nonHostChars.length;i++){var hec;-1!==(hec=rest.indexOf(nonHostChars[i]))&&(-1===hostEnd||hec<hostEnd)&&(hostEnd=hec)}-1===hostEnd&&(hostEnd=rest.length),this.host=rest.slice(0,hostEnd),rest=rest.slice(hostEnd),this.parseHost(),this.hostname=this.hostname||"";var ipv6Hostname="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ipv6Hostname)for(var hostparts=this.hostname.split(/\./),l=(i=0,hostparts.length);i<l;i++){var part=hostparts[i];if(part&&!part.match(hostnamePartPattern)){for(var newpart="",j=0,k=part.length;j<k;j++)part.charCodeAt(j)>127?newpart+="x":newpart+=part[j];if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i),notHost=hostparts.slice(i+1),bit=part.match(hostnamePartStart);bit&&(validParts.push(bit[1]),notHost.unshift(bit[2])),notHost.length&&(rest="/"+notHost.join(".")+rest),this.hostname=validParts.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ipv6Hostname||(this.hostname=punycode.toASCII(this.hostname));var p=this.port?":"+this.port:"",h=this.hostname||"";this.host=h+p,this.href+=this.host,ipv6Hostname&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==rest[0]&&(rest="/"+rest))}if(!unsafeProtocol[lowerProto])for(i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(-1!==rest.indexOf(ae)){var esc=encodeURIComponent(ae);esc===ae&&(esc=escape(ae)),rest=rest.split(ae).join(esc)}}var hash=rest.indexOf("#");-1!==hash&&(this.hash=rest.substr(hash),rest=rest.slice(0,hash));var qm=rest.indexOf("?");if(-1!==qm?(this.search=rest.substr(qm),this.query=rest.substr(qm+1),parseQueryString&&(this.query=querystring.parse(this.query)),rest=rest.slice(0,qm)):parseQueryString&&(this.search="",this.query={}),rest&&(this.pathname=rest),slashedProtocol[lowerProto]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}return this.href=this.format(),this},Url.prototype.format=function(){var auth=this.auth||"";auth&&(auth=(auth=encodeURIComponent(auth)).replace(/%3A/i,":"),auth+="@");var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=!1,query="";this.host?host=auth+this.host:this.hostname&&(host=auth+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(host+=":"+this.port)),this.query&&util.isObject(this.query)&&Object.keys(this.query).length&&(query=querystring.stringify(this.query));var search=this.search||query&&"?"+query||"";return protocol&&":"!==protocol.substr(-1)&&(protocol+=":"),this.slashes||(!protocol||slashedProtocol[protocol])&&!1!==host?(host="//"+(host||""),pathname&&"/"!==pathname.charAt(0)&&(pathname="/"+pathname)):host||(host=""),hash&&"#"!==hash.charAt(0)&&(hash="#"+hash),search&&"?"!==search.charAt(0)&&(search="?"+search),protocol+host+(pathname=pathname.replace(/[?#]/g,(function(match){return encodeURIComponent(match)})))+(search=search.replace("#","%23"))+hash},Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,!1,!0)).format()},Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,!1,!0),relative=rel}for(var result=new Url,tkeys=Object.keys(this),tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}if(result.hash=relative.hash,""===relative.href)return result.href=result.format(),result;if(relative.slashes&&!relative.protocol){for(var rkeys=Object.keys(relative),rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];"protocol"!==rkey&&(result[rkey]=relative[rkey])}return slashedProtocol[result.protocol]&&result.hostname&&!result.pathname&&(result.path=result.pathname="/"),result.href=result.format(),result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){for(var keys=Object.keys(relative),v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}return result.href=result.format(),result}if(result.protocol=relative.protocol,relative.host||hostlessProtocol[relative.protocol])result.pathname=relative.pathname;else{for(var relPath=(relative.pathname||"").split("/");relPath.length&&!(relative.host=relPath.shift()););relative.host||(relative.host=""),relative.hostname||(relative.hostname=""),""!==relPath[0]&&relPath.unshift(""),relPath.length<2&&relPath.unshift(""),result.pathname=relPath.join("/")}if(result.search=relative.search,result.query=relative.query,result.host=relative.host||"",result.auth=relative.auth,result.hostname=relative.hostname||relative.host,result.port=relative.port,result.pathname||result.search){var p=result.pathname||"",s=result.search||"";result.path=p+s}return result.slashes=result.slashes||relative.slashes,result.href=result.format(),result}var isSourceAbs=result.pathname&&"/"===result.pathname.charAt(0),isRelAbs=relative.host||relative.pathname&&"/"===relative.pathname.charAt(0),mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],psychotic=(relPath=relative.pathname&&relative.pathname.split("/")||[],result.protocol&&!slashedProtocol[result.protocol]);if(psychotic&&(result.hostname="",result.port=null,result.host&&(""===srcPath[0]?srcPath[0]=result.host:srcPath.unshift(result.host)),result.host="",relative.protocol&&(relative.hostname=null,relative.port=null,relative.host&&(""===relPath[0]?relPath[0]=relative.host:relPath.unshift(relative.host)),relative.host=null),mustEndAbs=mustEndAbs&&(""===relPath[0]||""===srcPath[0])),isRelAbs)result.host=relative.host||""===relative.host?relative.host:result.host,result.hostname=relative.hostname||""===relative.hostname?relative.hostname:result.hostname,result.search=relative.search,result.query=relative.query,srcPath=relPath;else if(relPath.length)srcPath||(srcPath=[]),srcPath.pop(),srcPath=srcPath.concat(relPath),result.search=relative.search,result.query=relative.query;else if(!util.isNullOrUndefined(relative.search)){if(psychotic)result.hostname=result.host=srcPath.shift(),(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift());return result.search=relative.search,result.query=relative.query,util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.href=result.format(),result}if(!srcPath.length)return result.pathname=null,result.search?result.path="/"+result.search:result.path=null,result.href=result.format(),result;for(var last=srcPath.slice(-1)[0],hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&("."===last||".."===last)||""===last,up=0,i=srcPath.length;i>=0;i--)"."===(last=srcPath[i])?srcPath.splice(i,1):".."===last?(srcPath.splice(i,1),up++):up&&(srcPath.splice(i,1),up--);if(!mustEndAbs&&!removeAllDots)for(;up--;up)srcPath.unshift("..");!mustEndAbs||""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0)||srcPath.unshift(""),hasTrailingSlash&&"/"!==srcPath.join("/").substr(-1)&&srcPath.push("");var authInHost,isAbsolute=""===srcPath[0]||srcPath[0]&&"/"===srcPath[0].charAt(0);psychotic&&(result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"",(authInHost=!!(result.host&&result.host.indexOf("@")>0)&&result.host.split("@"))&&(result.auth=authInHost.shift(),result.host=result.hostname=authInHost.shift()));return(mustEndAbs=mustEndAbs||result.host&&srcPath.length)&&!isAbsolute&&srcPath.unshift(""),srcPath.length?result.pathname=srcPath.join("/"):(result.pathname=null,result.path=null),util.isNull(result.pathname)&&util.isNull(result.search)||(result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")),result.auth=relative.auth||result.auth,result.slashes=result.slashes||relative.slashes,result.href=result.format(),result},Url.prototype.parseHost=function(){var host=this.host,port=portPattern.exec(host);port&&(":"!==(port=port[0])&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)}},DNiP:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$reduce=__webpack_require__("eyMr");$export($export.P+$export.F*!__webpack_require__("LyE8")([].reduce,!0),"Array",{reduce:function reduce(callbackfn){return $reduce(this,callbackfn,arguments.length,arguments[1],!1)}})},DVgA:function(module,exports,__webpack_require__){var $keys=__webpack_require__("zhAb"),enumBugKeys=__webpack_require__("4R4u");module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},DW2E:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),meta=__webpack_require__("Z6vF").onFreeze;__webpack_require__("Xtr8")("freeze",(function($freeze){return function freeze(it){return $freeze&&isObject(it)?$freeze(meta(it)):it}}))},DYSX:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign},Drwt:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign},E2jh:function(module,exports,__webpack_require__){var uid,coreJsData=__webpack_require__("2gN3"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},EK0E:function(module,exports,__webpack_require__){"use strict";var InternalMap,each=__webpack_require__("CkkT")(0),redefine=__webpack_require__("KroJ"),meta=__webpack_require__("Z6vF"),assign=__webpack_require__("czNK"),weak=__webpack_require__("ZD67"),isObject=__webpack_require__("0/R4"),fails=__webpack_require__("eeVq"),validate=__webpack_require__("s5qY"),getWeak=meta.getWeak,isExtensible=Object.isExtensible,uncaughtFrozenStore=weak.ufstore,tmp={},wrapper=function(get){return function WeakMap(){return get(this,arguments.length>0?arguments[0]:void 0)}},methods={get:function get(key){if(isObject(key)){var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,"WeakMap")).get(key):data?data[this._i]:void 0}},set:function set(key,value){return weak.def(validate(this,"WeakMap"),key,value)}},$WeakMap=module.exports=__webpack_require__("4LiD")("WeakMap",wrapper,methods,weak,!0,!0);fails((function(){return 7!=(new $WeakMap).set((Object.freeze||Object)(tmp),7).get(tmp)}))&&(assign((InternalMap=weak.getConstructor(wrapper,"WeakMap")).prototype,methods),meta.NEED=!0,each(["delete","has","get","set"],(function(key){var proto=$WeakMap.prototype,method=proto[key];redefine(proto,key,(function(a,b){if(isObject(a)&&!isExtensible(a)){this._f||(this._f=new InternalMap);var result=this._f[key](a,b);return"set"==key?this:result}return method.call(this,a,b)}))})))},EVdn:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(global,factory){"use strict";"object"==typeof module.exports?module.exports=global.document?factory(global,!0):function(w){if(!w.document)throw new Error("jQuery requires a window with a document");return factory(w)}:factory(global)}("undefined"!=typeof window?window:this,(function(window,noGlobal){"use strict";var arr=[],document=window.document,getProto=Object.getPrototypeOf,slice=arr.slice,concat=arr.concat,push=arr.push,indexOf=arr.indexOf,class2type={},toString=class2type.toString,hasOwn=class2type.hasOwnProperty,fnToString=hasOwn.toString,ObjectFunctionString=fnToString.call(Object),support={},isFunction=function isFunction(obj){return"function"==typeof obj&&"number"!=typeof obj.nodeType},isWindow=function isWindow(obj){return null!=obj&&obj===obj.window},preservedScriptAttributes={type:!0,src:!0,noModule:!0};function DOMEval(code,doc,node){var i,script=(doc=doc||document).createElement("script");if(script.text=code,node)for(i in preservedScriptAttributes)node[i]&&(script[i]=node[i]);doc.head.appendChild(script).parentNode.removeChild(script)}function toType(obj){return null==obj?obj+"":"object"==typeof obj||"function"==typeof obj?class2type[toString.call(obj)]||"object":typeof obj}var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function isArrayLike(obj){var length=!!obj&&"length"in obj&&obj.length,type=toType(obj);return!isFunction(obj)&&!isWindow(obj)&&("array"===type||0===length||"number"==typeof length&&length>0&&length-1 in obj)}jQuery.fn=jQuery.prototype={jquery:"3.3.1",constructor:jQuery,length:0,toArray:function(){return slice.call(this)},get:function(num){return null==num?slice.call(this):num<0?this[num+this.length]:this[num]},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);return ret.prevObject=this,ret},each:function(callback){return jQuery.each(this,callback)},map:function(callback){return this.pushStack(jQuery.map(this,(function(elem,i){return callback.call(elem,i,elem)})))},slice:function(){return this.pushStack(slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(i<0?len:0);return this.pushStack(j>=0&&j<len?[this[j]]:[])},end:function(){return this.prevObject||this.constructor()},push:push,sort:arr.sort,splice:arr.splice},jQuery.extend=jQuery.fn.extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=!1;for("boolean"==typeof target&&(deep=target,target=arguments[i]||{},i++),"object"==typeof target||isFunction(target)||(target={}),i===length&&(target=this,i--);i<length;i++)if(null!=(options=arguments[i]))for(name in options)src=target[name],target!==(copy=options[name])&&(deep&&copy&&(jQuery.isPlainObject(copy)||(copyIsArray=Array.isArray(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&Array.isArray(src)?src:[]):clone=src&&jQuery.isPlainObject(src)?src:{},target[name]=jQuery.extend(deep,clone,copy)):void 0!==copy&&(target[name]=copy));return target},jQuery.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(msg){throw new Error(msg)},noop:function(){},isPlainObject:function(obj){var proto,Ctor;return!(!obj||"[object Object]"!==toString.call(obj))&&(!(proto=getProto(obj))||"function"==typeof(Ctor=hasOwn.call(proto,"constructor")&&proto.constructor)&&fnToString.call(Ctor)===ObjectFunctionString)},isEmptyObject:function(obj){var name;for(name in obj)return!1;return!0},globalEval:function(code){DOMEval(code)},each:function(obj,callback){var length,i=0;if(isArrayLike(obj))for(length=obj.length;i<length&&!1!==callback.call(obj[i],i,obj[i]);i++);else for(i in obj)if(!1===callback.call(obj[i],i,obj[i]))break;return obj},trim:function(text){return null==text?"":(text+"").replace(rtrim,"")},makeArray:function(arr,results){var ret=results||[];return null!=arr&&(isArrayLike(Object(arr))?jQuery.merge(ret,"string"==typeof arr?[arr]:arr):push.call(ret,arr)),ret},inArray:function(elem,arr,i){return null==arr?-1:indexOf.call(arr,elem,i)},merge:function(first,second){for(var len=+second.length,j=0,i=first.length;j<len;j++)first[i++]=second[j];return first.length=i,first},grep:function(elems,callback,invert){for(var matches=[],i=0,length=elems.length,callbackExpect=!invert;i<length;i++)!callback(elems[i],i)!==callbackExpect&&matches.push(elems[i]);return matches},map:function(elems,callback,arg){var length,value,i=0,ret=[];if(isArrayLike(elems))for(length=elems.length;i<length;i++)null!=(value=callback(elems[i],i,arg))&&ret.push(value);else for(i in elems)null!=(value=callback(elems[i],i,arg))&&ret.push(value);return concat.apply([],ret)},guid:1,support:support}),"function"==typeof Symbol&&(jQuery.fn[Symbol.iterator]=arr[Symbol.iterator]),jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(i,name){class2type["[object "+name+"]"]=name.toLowerCase()}));var Sizzle=function(window){var i,support,Expr,getText,isXML,tokenize,compile,select,outermostContext,sortInput,hasDuplicate,setDocument,document,docElem,documentIsHTML,rbuggyQSA,rbuggyMatches,matches,contains,expando="sizzle"+1*new Date,preferredDoc=window.document,dirruns=0,done=0,classCache=createCache(),tokenCache=createCache(),compilerCache=createCache(),sortOrder=function(a,b){return a===b&&(hasDuplicate=!0),0},hasOwn={}.hasOwnProperty,arr=[],pop=arr.pop,push_native=arr.push,push=arr.push,slice=arr.slice,indexOf=function(list,elem){for(var i=0,len=list.length;i<len;i++)if(list[i]===elem)return i;return-1},booleans="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",whitespace="[\\x20\\t\\r\\n\\f]",identifier="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",attributes="\\[[\\x20\\t\\r\\n\\f]*("+identifier+")(?:"+whitespace+"*([*^$|!~]?=)"+whitespace+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+identifier+"))|)"+whitespace+"*\\]",pseudos=":("+identifier+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+attributes+")*)|.*)\\)|)",rwhitespace=new RegExp(whitespace+"+","g"),rtrim=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),rcomma=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),rcombinators=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),rattributeQuotes=new RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),rpseudo=new RegExp(pseudos),ridentifier=new RegExp("^"+identifier+"$"),matchExpr={ID:new RegExp("^#("+identifier+")"),CLASS:new RegExp("^\\.("+identifier+")"),TAG:new RegExp("^("+identifier+"|[*])"),ATTR:new RegExp("^"+attributes),PSEUDO:new RegExp("^"+pseudos),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+booleans+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},rinputs=/^(?:input|select|textarea|button)$/i,rheader=/^h\d$/i,rnative=/^[^{]+\{\s*\[native \w/,rquickExpr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,rsibling=/[+~]/,runescape=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),funescape=function(_,escaped,escapedWhitespace){var high="0x"+escaped-65536;return high!=high||escapedWhitespace?escaped:high<0?String.fromCharCode(high+65536):String.fromCharCode(high>>10|55296,1023&high|56320)},rcssescape=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,fcssescape=function(ch,asCodePoint){return asCodePoint?"\0"===ch?"�":ch.slice(0,-1)+"\\"+ch.charCodeAt(ch.length-1).toString(16)+" ":"\\"+ch},unloadHandler=function(){setDocument()},disabledAncestor=addCombinator((function(elem){return!0===elem.disabled&&("form"in elem||"label"in elem)}),{dir:"parentNode",next:"legend"});try{push.apply(arr=slice.call(preferredDoc.childNodes),preferredDoc.childNodes),arr[preferredDoc.childNodes.length].nodeType}catch(e){push={apply:arr.length?function(target,els){push_native.apply(target,slice.call(els))}:function(target,els){for(var j=target.length,i=0;target[j++]=els[i++];);target.length=j-1}}}function Sizzle(selector,context,results,seed){var m,i,elem,nid,match,groups,newSelector,newContext=context&&context.ownerDocument,nodeType=context?context.nodeType:9;if(results=results||[],"string"!=typeof selector||!selector||1!==nodeType&&9!==nodeType&&11!==nodeType)return results;if(!seed&&((context?context.ownerDocument||context:preferredDoc)!==document&&setDocument(context),context=context||document,documentIsHTML)){if(11!==nodeType&&(match=rquickExpr.exec(selector)))if(m=match[1]){if(9===nodeType){if(!(elem=context.getElementById(m)))return results;if(elem.id===m)return results.push(elem),results}else if(newContext&&(elem=newContext.getElementById(m))&&contains(context,elem)&&elem.id===m)return results.push(elem),results}else{if(match[2])return push.apply(results,context.getElementsByTagName(selector)),results;if((m=match[3])&&support.getElementsByClassName&&context.getElementsByClassName)return push.apply(results,context.getElementsByClassName(m)),results}if(support.qsa&&!compilerCache[selector+" "]&&(!rbuggyQSA||!rbuggyQSA.test(selector))){if(1!==nodeType)newContext=context,newSelector=selector;else if("object"!==context.nodeName.toLowerCase()){for((nid=context.getAttribute("id"))?nid=nid.replace(rcssescape,fcssescape):context.setAttribute("id",nid=expando),i=(groups=tokenize(selector)).length;i--;)groups[i]="#"+nid+" "+toSelector(groups[i]);newSelector=groups.join(","),newContext=rsibling.test(selector)&&testContext(context.parentNode)||context}if(newSelector)try{return push.apply(results,newContext.querySelectorAll(newSelector)),results}catch(qsaError){}finally{nid===expando&&context.removeAttribute("id")}}}return select(selector.replace(rtrim,"$1"),context,results,seed)}function createCache(){var keys=[];return function cache(key,value){return keys.push(key+" ")>Expr.cacheLength&&delete cache[keys.shift()],cache[key+" "]=value}}function markFunction(fn){return fn[expando]=!0,fn}function assert(fn){var el=document.createElement("fieldset");try{return!!fn(el)}catch(e){return!1}finally{el.parentNode&&el.parentNode.removeChild(el),el=null}}function addHandle(attrs,handler){for(var arr=attrs.split("|"),i=arr.length;i--;)Expr.attrHandle[arr[i]]=handler}function siblingCheck(a,b){var cur=b&&a,diff=cur&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(diff)return diff;if(cur)for(;cur=cur.nextSibling;)if(cur===b)return-1;return a?1:-1}function createInputPseudo(type){return function(elem){return"input"===elem.nodeName.toLowerCase()&&elem.type===type}}function createButtonPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return("input"===name||"button"===name)&&elem.type===type}}function createDisabledPseudo(disabled){return function(elem){return"form"in elem?elem.parentNode&&!1===elem.disabled?"label"in elem?"label"in elem.parentNode?elem.parentNode.disabled===disabled:elem.disabled===disabled:elem.isDisabled===disabled||elem.isDisabled!==!disabled&&disabledAncestor(elem)===disabled:elem.disabled===disabled:"label"in elem&&elem.disabled===disabled}}function createPositionalPseudo(fn){return markFunction((function(argument){return argument=+argument,markFunction((function(seed,matches){for(var j,matchIndexes=fn([],seed.length,argument),i=matchIndexes.length;i--;)seed[j=matchIndexes[i]]&&(seed[j]=!(matches[j]=seed[j]))}))}))}function testContext(context){return context&&void 0!==context.getElementsByTagName&&context}for(i in support=Sizzle.support={},isXML=Sizzle.isXML=function(elem){var documentElement=elem&&(elem.ownerDocument||elem).documentElement;return!!documentElement&&"HTML"!==documentElement.nodeName},setDocument=Sizzle.setDocument=function(node){var hasCompare,subWindow,doc=node?node.ownerDocument||node:preferredDoc;return doc!==document&&9===doc.nodeType&&doc.documentElement?(docElem=(document=doc).documentElement,documentIsHTML=!isXML(document),preferredDoc!==document&&(subWindow=document.defaultView)&&subWindow.top!==subWindow&&(subWindow.addEventListener?subWindow.addEventListener("unload",unloadHandler,!1):subWindow.attachEvent&&subWindow.attachEvent("onunload",unloadHandler)),support.attributes=assert((function(el){return el.className="i",!el.getAttribute("className")})),support.getElementsByTagName=assert((function(el){return el.appendChild(document.createComment("")),!el.getElementsByTagName("*").length})),support.getElementsByClassName=rnative.test(document.getElementsByClassName),support.getById=assert((function(el){return docElem.appendChild(el).id=expando,!document.getElementsByName||!document.getElementsByName(expando).length})),support.getById?(Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){return elem.getAttribute("id")===attrId}},Expr.find.ID=function(id,context){if(void 0!==context.getElementById&&documentIsHTML){var elem=context.getElementById(id);return elem?[elem]:[]}}):(Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){var node=void 0!==elem.getAttributeNode&&elem.getAttributeNode("id");return node&&node.value===attrId}},Expr.find.ID=function(id,context){if(void 0!==context.getElementById&&documentIsHTML){var node,i,elems,elem=context.getElementById(id);if(elem){if((node=elem.getAttributeNode("id"))&&node.value===id)return[elem];for(elems=context.getElementsByName(id),i=0;elem=elems[i++];)if((node=elem.getAttributeNode("id"))&&node.value===id)return[elem]}return[]}}),Expr.find.TAG=support.getElementsByTagName?function(tag,context){return void 0!==context.getElementsByTagName?context.getElementsByTagName(tag):support.qsa?context.querySelectorAll(tag):void 0}:function(tag,context){var elem,tmp=[],i=0,results=context.getElementsByTagName(tag);if("*"===tag){for(;elem=results[i++];)1===elem.nodeType&&tmp.push(elem);return tmp}return results},Expr.find.CLASS=support.getElementsByClassName&&function(className,context){if(void 0!==context.getElementsByClassName&&documentIsHTML)return context.getElementsByClassName(className)},rbuggyMatches=[],rbuggyQSA=[],(support.qsa=rnative.test(document.querySelectorAll))&&(assert((function(el){docElem.appendChild(el).innerHTML="<a id='"+expando+"'></a><select id='"+expando+"-\r\\' msallowcapture=''><option selected=''></option></select>",el.querySelectorAll("[msallowcapture^='']").length&&rbuggyQSA.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),el.querySelectorAll("[selected]").length||rbuggyQSA.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+booleans+")"),el.querySelectorAll("[id~="+expando+"-]").length||rbuggyQSA.push("~="),el.querySelectorAll(":checked").length||rbuggyQSA.push(":checked"),el.querySelectorAll("a#"+expando+"+*").length||rbuggyQSA.push(".#.+[+~]")})),assert((function(el){el.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var input=document.createElement("input");input.setAttribute("type","hidden"),el.appendChild(input).setAttribute("name","D"),el.querySelectorAll("[name=d]").length&&rbuggyQSA.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==el.querySelectorAll(":enabled").length&&rbuggyQSA.push(":enabled",":disabled"),docElem.appendChild(el).disabled=!0,2!==el.querySelectorAll(":disabled").length&&rbuggyQSA.push(":enabled",":disabled"),el.querySelectorAll("*,:x"),rbuggyQSA.push(",.*:")}))),(support.matchesSelector=rnative.test(matches=docElem.matches||docElem.webkitMatchesSelector||docElem.mozMatchesSelector||docElem.oMatchesSelector||docElem.msMatchesSelector))&&assert((function(el){support.disconnectedMatch=matches.call(el,"*"),matches.call(el,"[s!='']:x"),rbuggyMatches.push("!=",pseudos)})),rbuggyQSA=rbuggyQSA.length&&new RegExp(rbuggyQSA.join("|")),rbuggyMatches=rbuggyMatches.length&&new RegExp(rbuggyMatches.join("|")),hasCompare=rnative.test(docElem.compareDocumentPosition),contains=hasCompare||rnative.test(docElem.contains)?function(a,b){var adown=9===a.nodeType?a.documentElement:a,bup=b&&b.parentNode;return a===bup||!(!bup||1!==bup.nodeType||!(adown.contains?adown.contains(bup):a.compareDocumentPosition&&16&a.compareDocumentPosition(bup)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},sortOrder=hasCompare?function(a,b){if(a===b)return hasDuplicate=!0,0;var compare=!a.compareDocumentPosition-!b.compareDocumentPosition;return compare||(1&(compare=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1)||!support.sortDetached&&b.compareDocumentPosition(a)===compare?a===document||a.ownerDocument===preferredDoc&&contains(preferredDoc,a)?-1:b===document||b.ownerDocument===preferredDoc&&contains(preferredDoc,b)?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0:4&compare?-1:1)}:function(a,b){if(a===b)return hasDuplicate=!0,0;var cur,i=0,aup=a.parentNode,bup=b.parentNode,ap=[a],bp=[b];if(!aup||!bup)return a===document?-1:b===document?1:aup?-1:bup?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0;if(aup===bup)return siblingCheck(a,b);for(cur=a;cur=cur.parentNode;)ap.unshift(cur);for(cur=b;cur=cur.parentNode;)bp.unshift(cur);for(;ap[i]===bp[i];)i++;return i?siblingCheck(ap[i],bp[i]):ap[i]===preferredDoc?-1:bp[i]===preferredDoc?1:0},document):document},Sizzle.matches=function(expr,elements){return Sizzle(expr,null,null,elements)},Sizzle.matchesSelector=function(elem,expr){if((elem.ownerDocument||elem)!==document&&setDocument(elem),expr=expr.replace(rattributeQuotes,"='$1']"),support.matchesSelector&&documentIsHTML&&!compilerCache[expr+" "]&&(!rbuggyMatches||!rbuggyMatches.test(expr))&&(!rbuggyQSA||!rbuggyQSA.test(expr)))try{var ret=matches.call(elem,expr);if(ret||support.disconnectedMatch||elem.document&&11!==elem.document.nodeType)return ret}catch(e){}return Sizzle(expr,document,null,[elem]).length>0},Sizzle.contains=function(context,elem){return(context.ownerDocument||context)!==document&&setDocument(context),contains(context,elem)},Sizzle.attr=function(elem,name){(elem.ownerDocument||elem)!==document&&setDocument(elem);var fn=Expr.attrHandle[name.toLowerCase()],val=fn&&hasOwn.call(Expr.attrHandle,name.toLowerCase())?fn(elem,name,!documentIsHTML):void 0;return void 0!==val?val:support.attributes||!documentIsHTML?elem.getAttribute(name):(val=elem.getAttributeNode(name))&&val.specified?val.value:null},Sizzle.escape=function(sel){return(sel+"").replace(rcssescape,fcssescape)},Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg)},Sizzle.uniqueSort=function(results){var elem,duplicates=[],j=0,i=0;if(hasDuplicate=!support.detectDuplicates,sortInput=!support.sortStable&&results.slice(0),results.sort(sortOrder),hasDuplicate){for(;elem=results[i++];)elem===results[i]&&(j=duplicates.push(i));for(;j--;)results.splice(duplicates[j],1)}return sortInput=null,results},getText=Sizzle.getText=function(elem){var node,ret="",i=0,nodeType=elem.nodeType;if(nodeType){if(1===nodeType||9===nodeType||11===nodeType){if("string"==typeof elem.textContent)return elem.textContent;for(elem=elem.firstChild;elem;elem=elem.nextSibling)ret+=getText(elem)}else if(3===nodeType||4===nodeType)return elem.nodeValue}else for(;node=elem[i++];)ret+=getText(node);return ret},(Expr=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:matchExpr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(match){return match[1]=match[1].replace(runescape,funescape),match[3]=(match[3]||match[4]||match[5]||"").replace(runescape,funescape),"~="===match[2]&&(match[3]=" "+match[3]+" "),match.slice(0,4)},CHILD:function(match){return match[1]=match[1].toLowerCase(),"nth"===match[1].slice(0,3)?(match[3]||Sizzle.error(match[0]),match[4]=+(match[4]?match[5]+(match[6]||1):2*("even"===match[3]||"odd"===match[3])),match[5]=+(match[7]+match[8]||"odd"===match[3])):match[3]&&Sizzle.error(match[0]),match},PSEUDO:function(match){var excess,unquoted=!match[6]&&match[2];return matchExpr.CHILD.test(match[0])?null:(match[3]?match[2]=match[4]||match[5]||"":unquoted&&rpseudo.test(unquoted)&&(excess=tokenize(unquoted,!0))&&(excess=unquoted.indexOf(")",unquoted.length-excess)-unquoted.length)&&(match[0]=match[0].slice(0,excess),match[2]=unquoted.slice(0,excess)),match.slice(0,3))}},filter:{TAG:function(nodeNameSelector){var nodeName=nodeNameSelector.replace(runescape,funescape).toLowerCase();return"*"===nodeNameSelector?function(){return!0}:function(elem){return elem.nodeName&&elem.nodeName.toLowerCase()===nodeName}},CLASS:function(className){var pattern=classCache[className+" "];return pattern||(pattern=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+className+"("+whitespace+"|$)"))&&classCache(className,(function(elem){return pattern.test("string"==typeof elem.className&&elem.className||void 0!==elem.getAttribute&&elem.getAttribute("class")||"")}))},ATTR:function(name,operator,check){return function(elem){var result=Sizzle.attr(elem,name);return null==result?"!="===operator:!operator||(result+="","="===operator?result===check:"!="===operator?result!==check:"^="===operator?check&&0===result.indexOf(check):"*="===operator?check&&result.indexOf(check)>-1:"$="===operator?check&&result.slice(-check.length)===check:"~="===operator?(" "+result.replace(rwhitespace," ")+" ").indexOf(check)>-1:"|="===operator&&(result===check||result.slice(0,check.length+1)===check+"-"))}},CHILD:function(type,what,argument,first,last){var simple="nth"!==type.slice(0,3),forward="last"!==type.slice(-4),ofType="of-type"===what;return 1===first&&0===last?function(elem){return!!elem.parentNode}:function(elem,context,xml){var cache,uniqueCache,outerCache,node,nodeIndex,start,dir=simple!==forward?"nextSibling":"previousSibling",parent=elem.parentNode,name=ofType&&elem.nodeName.toLowerCase(),useCache=!xml&&!ofType,diff=!1;if(parent){if(simple){for(;dir;){for(node=elem;node=node[dir];)if(ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)return!1;start=dir="only"===type&&!start&&"nextSibling"}return!0}if(start=[forward?parent.firstChild:parent.lastChild],forward&&useCache){for(diff=(nodeIndex=(cache=(uniqueCache=(outerCache=(node=parent)[expando]||(node[expando]={}))[node.uniqueID]||(outerCache[node.uniqueID]={}))[type]||[])[0]===dirruns&&cache[1])&&cache[2],node=nodeIndex&&parent.childNodes[nodeIndex];node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop();)if(1===node.nodeType&&++diff&&node===elem){uniqueCache[type]=[dirruns,nodeIndex,diff];break}}else if(useCache&&(diff=nodeIndex=(cache=(uniqueCache=(outerCache=(node=elem)[expando]||(node[expando]={}))[node.uniqueID]||(outerCache[node.uniqueID]={}))[type]||[])[0]===dirruns&&cache[1]),!1===diff)for(;(node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop())&&((ofType?node.nodeName.toLowerCase()!==name:1!==node.nodeType)||!++diff||(useCache&&((uniqueCache=(outerCache=node[expando]||(node[expando]={}))[node.uniqueID]||(outerCache[node.uniqueID]={}))[type]=[dirruns,diff]),node!==elem)););return(diff-=last)===first||diff%first==0&&diff/first>=0}}},PSEUDO:function(pseudo,argument){var args,fn=Expr.pseudos[pseudo]||Expr.setFilters[pseudo.toLowerCase()]||Sizzle.error("unsupported pseudo: "+pseudo);return fn[expando]?fn(argument):fn.length>1?(args=[pseudo,pseudo,"",argument],Expr.setFilters.hasOwnProperty(pseudo.toLowerCase())?markFunction((function(seed,matches){for(var idx,matched=fn(seed,argument),i=matched.length;i--;)seed[idx=indexOf(seed,matched[i])]=!(matches[idx]=matched[i])})):function(elem){return fn(elem,0,args)}):fn}},pseudos:{not:markFunction((function(selector){var input=[],results=[],matcher=compile(selector.replace(rtrim,"$1"));return matcher[expando]?markFunction((function(seed,matches,context,xml){for(var elem,unmatched=matcher(seed,null,xml,[]),i=seed.length;i--;)(elem=unmatched[i])&&(seed[i]=!(matches[i]=elem))})):function(elem,context,xml){return input[0]=elem,matcher(input,null,xml,results),input[0]=null,!results.pop()}})),has:markFunction((function(selector){return function(elem){return Sizzle(selector,elem).length>0}})),contains:markFunction((function(text){return text=text.replace(runescape,funescape),function(elem){return(elem.textContent||elem.innerText||getText(elem)).indexOf(text)>-1}})),lang:markFunction((function(lang){return ridentifier.test(lang||"")||Sizzle.error("unsupported lang: "+lang),lang=lang.replace(runescape,funescape).toLowerCase(),function(elem){var elemLang;do{if(elemLang=documentIsHTML?elem.lang:elem.getAttribute("xml:lang")||elem.getAttribute("lang"))return(elemLang=elemLang.toLowerCase())===lang||0===elemLang.indexOf(lang+"-")}while((elem=elem.parentNode)&&1===elem.nodeType);return!1}})),target:function(elem){var hash=window.location&&window.location.hash;return hash&&hash.slice(1)===elem.id},root:function(elem){return elem===docElem},focus:function(elem){return elem===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(elem.type||elem.href||~elem.tabIndex)},enabled:createDisabledPseudo(!1),disabled:createDisabledPseudo(!0),checked:function(elem){var nodeName=elem.nodeName.toLowerCase();return"input"===nodeName&&!!elem.checked||"option"===nodeName&&!!elem.selected},selected:function(elem){return elem.parentNode&&elem.parentNode.selectedIndex,!0===elem.selected},empty:function(elem){for(elem=elem.firstChild;elem;elem=elem.nextSibling)if(elem.nodeType<6)return!1;return!0},parent:function(elem){return!Expr.pseudos.empty(elem)},header:function(elem){return rheader.test(elem.nodeName)},input:function(elem){return rinputs.test(elem.nodeName)},button:function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&"button"===elem.type||"button"===name},text:function(elem){var attr;return"input"===elem.nodeName.toLowerCase()&&"text"===elem.type&&(null==(attr=elem.getAttribute("type"))||"text"===attr.toLowerCase())},first:createPositionalPseudo((function(){return[0]})),last:createPositionalPseudo((function(matchIndexes,length){return[length-1]})),eq:createPositionalPseudo((function(matchIndexes,length,argument){return[argument<0?argument+length:argument]})),even:createPositionalPseudo((function(matchIndexes,length){for(var i=0;i<length;i+=2)matchIndexes.push(i);return matchIndexes})),odd:createPositionalPseudo((function(matchIndexes,length){for(var i=1;i<length;i+=2)matchIndexes.push(i);return matchIndexes})),lt:createPositionalPseudo((function(matchIndexes,length,argument){for(var i=argument<0?argument+length:argument;--i>=0;)matchIndexes.push(i);return matchIndexes})),gt:createPositionalPseudo((function(matchIndexes,length,argument){for(var i=argument<0?argument+length:argument;++i<length;)matchIndexes.push(i);return matchIndexes}))}}).pseudos.nth=Expr.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Expr.pseudos[i]=createInputPseudo(i);for(i in{submit:!0,reset:!0})Expr.pseudos[i]=createButtonPseudo(i);function setFilters(){}function toSelector(tokens){for(var i=0,len=tokens.length,selector="";i<len;i++)selector+=tokens[i].value;return selector}function addCombinator(matcher,combinator,base){var dir=combinator.dir,skip=combinator.next,key=skip||dir,checkNonElements=base&&"parentNode"===key,doneName=done++;return combinator.first?function(elem,context,xml){for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)return matcher(elem,context,xml);return!1}:function(elem,context,xml){var oldCache,uniqueCache,outerCache,newCache=[dirruns,doneName];if(xml){for(;elem=elem[dir];)if((1===elem.nodeType||checkNonElements)&&matcher(elem,context,xml))return!0}else for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)if(uniqueCache=(outerCache=elem[expando]||(elem[expando]={}))[elem.uniqueID]||(outerCache[elem.uniqueID]={}),skip&&skip===elem.nodeName.toLowerCase())elem=elem[dir]||elem;else{if((oldCache=uniqueCache[key])&&oldCache[0]===dirruns&&oldCache[1]===doneName)return newCache[2]=oldCache[2];if(uniqueCache[key]=newCache,newCache[2]=matcher(elem,context,xml))return!0}return!1}}function elementMatcher(matchers){return matchers.length>1?function(elem,context,xml){for(var i=matchers.length;i--;)if(!matchers[i](elem,context,xml))return!1;return!0}:matchers[0]}function condense(unmatched,map,filter,context,xml){for(var elem,newUnmatched=[],i=0,len=unmatched.length,mapped=null!=map;i<len;i++)(elem=unmatched[i])&&(filter&&!filter(elem,context,xml)||(newUnmatched.push(elem),mapped&&map.push(i)));return newUnmatched}function setMatcher(preFilter,selector,matcher,postFilter,postFinder,postSelector){return postFilter&&!postFilter[expando]&&(postFilter=setMatcher(postFilter)),postFinder&&!postFinder[expando]&&(postFinder=setMatcher(postFinder,postSelector)),markFunction((function(seed,results,context,xml){var temp,i,elem,preMap=[],postMap=[],preexisting=results.length,elems=seed||function multipleContexts(selector,contexts,results){for(var i=0,len=contexts.length;i<len;i++)Sizzle(selector,contexts[i],results);return results}(selector||"*",context.nodeType?[context]:context,[]),matcherIn=!preFilter||!seed&&selector?elems:condense(elems,preMap,preFilter,context,xml),matcherOut=matcher?postFinder||(seed?preFilter:preexisting||postFilter)?[]:results:matcherIn;if(matcher&&matcher(matcherIn,matcherOut,context,xml),postFilter)for(temp=condense(matcherOut,postMap),postFilter(temp,[],context,xml),i=temp.length;i--;)(elem=temp[i])&&(matcherOut[postMap[i]]=!(matcherIn[postMap[i]]=elem));if(seed){if(postFinder||preFilter){if(postFinder){for(temp=[],i=matcherOut.length;i--;)(elem=matcherOut[i])&&temp.push(matcherIn[i]=elem);postFinder(null,matcherOut=[],temp,xml)}for(i=matcherOut.length;i--;)(elem=matcherOut[i])&&(temp=postFinder?indexOf(seed,elem):preMap[i])>-1&&(seed[temp]=!(results[temp]=elem))}}else matcherOut=condense(matcherOut===results?matcherOut.splice(preexisting,matcherOut.length):matcherOut),postFinder?postFinder(null,results,matcherOut,xml):push.apply(results,matcherOut)}))}function matcherFromTokens(tokens){for(var checkContext,matcher,j,len=tokens.length,leadingRelative=Expr.relative[tokens[0].type],implicitRelative=leadingRelative||Expr.relative[" "],i=leadingRelative?1:0,matchContext=addCombinator((function(elem){return elem===checkContext}),implicitRelative,!0),matchAnyContext=addCombinator((function(elem){return indexOf(checkContext,elem)>-1}),implicitRelative,!0),matchers=[function(elem,context,xml){var ret=!leadingRelative&&(xml||context!==outermostContext)||((checkContext=context).nodeType?matchContext(elem,context,xml):matchAnyContext(elem,context,xml));return checkContext=null,ret}];i<len;i++)if(matcher=Expr.relative[tokens[i].type])matchers=[addCombinator(elementMatcher(matchers),matcher)];else{if((matcher=Expr.filter[tokens[i].type].apply(null,tokens[i].matches))[expando]){for(j=++i;j<len&&!Expr.relative[tokens[j].type];j++);return setMatcher(i>1&&elementMatcher(matchers),i>1&&toSelector(tokens.slice(0,i-1).concat({value:" "===tokens[i-2].type?"*":""})).replace(rtrim,"$1"),matcher,i<j&&matcherFromTokens(tokens.slice(i,j)),j<len&&matcherFromTokens(tokens=tokens.slice(j)),j<len&&toSelector(tokens))}matchers.push(matcher)}return elementMatcher(matchers)}return setFilters.prototype=Expr.filters=Expr.pseudos,Expr.setFilters=new setFilters,tokenize=Sizzle.tokenize=function(selector,parseOnly){var matched,match,tokens,type,soFar,groups,preFilters,cached=tokenCache[selector+" "];if(cached)return parseOnly?0:cached.slice(0);for(soFar=selector,groups=[],preFilters=Expr.preFilter;soFar;){for(type in matched&&!(match=rcomma.exec(soFar))||(match&&(soFar=soFar.slice(match[0].length)||soFar),groups.push(tokens=[])),matched=!1,(match=rcombinators.exec(soFar))&&(matched=match.shift(),tokens.push({value:matched,type:match[0].replace(rtrim," ")}),soFar=soFar.slice(matched.length)),Expr.filter)!(match=matchExpr[type].exec(soFar))||preFilters[type]&&!(match=preFilters[type](match))||(matched=match.shift(),tokens.push({value:matched,type:type,matches:match}),soFar=soFar.slice(matched.length));if(!matched)break}return parseOnly?soFar.length:soFar?Sizzle.error(selector):tokenCache(selector,groups).slice(0)},compile=Sizzle.compile=function(selector,match){var i,setMatchers=[],elementMatchers=[],cached=compilerCache[selector+" "];if(!cached){for(match||(match=tokenize(selector)),i=match.length;i--;)(cached=matcherFromTokens(match[i]))[expando]?setMatchers.push(cached):elementMatchers.push(cached);(cached=compilerCache(selector,function matcherFromGroupMatchers(elementMatchers,setMatchers){var bySet=setMatchers.length>0,byElement=elementMatchers.length>0,superMatcher=function(seed,context,xml,results,outermost){var elem,j,matcher,matchedCount=0,i="0",unmatched=seed&&[],setMatched=[],contextBackup=outermostContext,elems=seed||byElement&&Expr.find.TAG("*",outermost),dirrunsUnique=dirruns+=null==contextBackup?1:Math.random()||.1,len=elems.length;for(outermost&&(outermostContext=context===document||context||outermost);i!==len&&null!=(elem=elems[i]);i++){if(byElement&&elem){for(j=0,context||elem.ownerDocument===document||(setDocument(elem),xml=!documentIsHTML);matcher=elementMatchers[j++];)if(matcher(elem,context||document,xml)){results.push(elem);break}outermost&&(dirruns=dirrunsUnique)}bySet&&((elem=!matcher&&elem)&&matchedCount--,seed&&unmatched.push(elem))}if(matchedCount+=i,bySet&&i!==matchedCount){for(j=0;matcher=setMatchers[j++];)matcher(unmatched,setMatched,context,xml);if(seed){if(matchedCount>0)for(;i--;)unmatched[i]||setMatched[i]||(setMatched[i]=pop.call(results));setMatched=condense(setMatched)}push.apply(results,setMatched),outermost&&!seed&&setMatched.length>0&&matchedCount+setMatchers.length>1&&Sizzle.uniqueSort(results)}return outermost&&(dirruns=dirrunsUnique,outermostContext=contextBackup),unmatched};return bySet?markFunction(superMatcher):superMatcher}(elementMatchers,setMatchers))).selector=selector}return cached},select=Sizzle.select=function(selector,context,results,seed){var i,tokens,token,type,find,compiled="function"==typeof selector&&selector,match=!seed&&tokenize(selector=compiled.selector||selector);if(results=results||[],1===match.length){if((tokens=match[0]=match[0].slice(0)).length>2&&"ID"===(token=tokens[0]).type&&9===context.nodeType&&documentIsHTML&&Expr.relative[tokens[1].type]){if(!(context=(Expr.find.ID(token.matches[0].replace(runescape,funescape),context)||[])[0]))return results;compiled&&(context=context.parentNode),selector=selector.slice(tokens.shift().value.length)}for(i=matchExpr.needsContext.test(selector)?0:tokens.length;i--&&(token=tokens[i],!Expr.relative[type=token.type]);)if((find=Expr.find[type])&&(seed=find(token.matches[0].replace(runescape,funescape),rsibling.test(tokens[0].type)&&testContext(context.parentNode)||context))){if(tokens.splice(i,1),!(selector=seed.length&&toSelector(tokens)))return push.apply(results,seed),results;break}}return(compiled||compile(selector,match))(seed,context,!documentIsHTML,results,!context||rsibling.test(selector)&&testContext(context.parentNode)||context),results},support.sortStable=expando.split("").sort(sortOrder).join("")===expando,support.detectDuplicates=!!hasDuplicate,setDocument(),support.sortDetached=assert((function(el){return 1&el.compareDocumentPosition(document.createElement("fieldset"))})),assert((function(el){return el.innerHTML="<a href='#'></a>","#"===el.firstChild.getAttribute("href")}))||addHandle("type|href|height|width",(function(elem,name,isXML){if(!isXML)return elem.getAttribute(name,"type"===name.toLowerCase()?1:2)})),support.attributes&&assert((function(el){return el.innerHTML="<input/>",el.firstChild.setAttribute("value",""),""===el.firstChild.getAttribute("value")}))||addHandle("value",(function(elem,name,isXML){if(!isXML&&"input"===elem.nodeName.toLowerCase())return elem.defaultValue})),assert((function(el){return null==el.getAttribute("disabled")}))||addHandle(booleans,(function(elem,name,isXML){var val;if(!isXML)return!0===elem[name]?name.toLowerCase():(val=elem.getAttributeNode(name))&&val.specified?val.value:null})),Sizzle}(window);jQuery.find=Sizzle,jQuery.expr=Sizzle.selectors,jQuery.expr[":"]=jQuery.expr.pseudos,jQuery.uniqueSort=jQuery.unique=Sizzle.uniqueSort,jQuery.text=Sizzle.getText,jQuery.isXMLDoc=Sizzle.isXML,jQuery.contains=Sizzle.contains,jQuery.escapeSelector=Sizzle.escape;var dir=function(elem,dir,until){for(var matched=[],truncate=void 0!==until;(elem=elem[dir])&&9!==elem.nodeType;)if(1===elem.nodeType){if(truncate&&jQuery(elem).is(until))break;matched.push(elem)}return matched},siblings=function(n,elem){for(var matched=[];n;n=n.nextSibling)1===n.nodeType&&n!==elem&&matched.push(n);return matched},rneedsContext=jQuery.expr.match.needsContext;function nodeName(elem,name){return elem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase()}var rsingleTag=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function winnow(elements,qualifier,not){return isFunction(qualifier)?jQuery.grep(elements,(function(elem,i){return!!qualifier.call(elem,i,elem)!==not})):qualifier.nodeType?jQuery.grep(elements,(function(elem){return elem===qualifier!==not})):"string"!=typeof qualifier?jQuery.grep(elements,(function(elem){return indexOf.call(qualifier,elem)>-1!==not})):jQuery.filter(qualifier,elements,not)}jQuery.filter=function(expr,elems,not){var elem=elems[0];return not&&(expr=":not("+expr+")"),1===elems.length&&1===elem.nodeType?jQuery.find.matchesSelector(elem,expr)?[elem]:[]:jQuery.find.matches(expr,jQuery.grep(elems,(function(elem){return 1===elem.nodeType})))},jQuery.fn.extend({find:function(selector){var i,ret,len=this.length,self=this;if("string"!=typeof selector)return this.pushStack(jQuery(selector).filter((function(){for(i=0;i<len;i++)if(jQuery.contains(self[i],this))return!0})));for(ret=this.pushStack([]),i=0;i<len;i++)jQuery.find(selector,self[i],ret);return len>1?jQuery.uniqueSort(ret):ret},filter:function(selector){return this.pushStack(winnow(this,selector||[],!1))},not:function(selector){return this.pushStack(winnow(this,selector||[],!0))},is:function(selector){return!!winnow(this,"string"==typeof selector&&rneedsContext.test(selector)?jQuery(selector):selector||[],!1).length}});var rootjQuery,rquickExpr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(jQuery.fn.init=function(selector,context,root){var match,elem;if(!selector)return this;if(root=root||rootjQuery,"string"==typeof selector){if(!(match="<"===selector[0]&&">"===selector[selector.length-1]&&selector.length>=3?[null,selector,null]:rquickExpr.exec(selector))||!match[1]&&context)return!context||context.jquery?(context||root).find(selector):this.constructor(context).find(selector);if(match[1]){if(context=context instanceof jQuery?context[0]:context,jQuery.merge(this,jQuery.parseHTML(match[1],context&&context.nodeType?context.ownerDocument||context:document,!0)),rsingleTag.test(match[1])&&jQuery.isPlainObject(context))for(match in context)isFunction(this[match])?this[match](context[match]):this.attr(match,context[match]);return this}return(elem=document.getElementById(match[2]))&&(this[0]=elem,this.length=1),this}return selector.nodeType?(this[0]=selector,this.length=1,this):isFunction(selector)?void 0!==root.ready?root.ready(selector):selector(jQuery):jQuery.makeArray(selector,this)}).prototype=jQuery.fn,rootjQuery=jQuery(document);var rparentsprev=/^(?:parents|prev(?:Until|All))/,guaranteedUnique={children:!0,contents:!0,next:!0,prev:!0};function sibling(cur,dir){for(;(cur=cur[dir])&&1!==cur.nodeType;);return cur}jQuery.fn.extend({has:function(target){var targets=jQuery(target,this),l=targets.length;return this.filter((function(){for(var i=0;i<l;i++)if(jQuery.contains(this,targets[i]))return!0}))},closest:function(selectors,context){var cur,i=0,l=this.length,matched=[],targets="string"!=typeof selectors&&jQuery(selectors);if(!rneedsContext.test(selectors))for(;i<l;i++)for(cur=this[i];cur&&cur!==context;cur=cur.parentNode)if(cur.nodeType<11&&(targets?targets.index(cur)>-1:1===cur.nodeType&&jQuery.find.matchesSelector(cur,selectors))){matched.push(cur);break}return this.pushStack(matched.length>1?jQuery.uniqueSort(matched):matched)},index:function(elem){return elem?"string"==typeof elem?indexOf.call(jQuery(elem),this[0]):indexOf.call(this,elem.jquery?elem[0]:elem):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(selector,context){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(selector,context))))},addBack:function(selector){return this.add(null==selector?this.prevObject:this.prevObject.filter(selector))}}),jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&11!==parent.nodeType?parent:null},parents:function(elem){return dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return dir(elem,"parentNode",until)},next:function(elem){return sibling(elem,"nextSibling")},prev:function(elem){return sibling(elem,"previousSibling")},nextAll:function(elem){return dir(elem,"nextSibling")},prevAll:function(elem){return dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return dir(elem,"previousSibling",until)},siblings:function(elem){return siblings((elem.parentNode||{}).firstChild,elem)},children:function(elem){return siblings(elem.firstChild)},contents:function(elem){return nodeName(elem,"iframe")?elem.contentDocument:(nodeName(elem,"template")&&(elem=elem.content||elem),jQuery.merge([],elem.childNodes))}},(function(name,fn){jQuery.fn[name]=function(until,selector){var matched=jQuery.map(this,fn,until);return"Until"!==name.slice(-5)&&(selector=until),selector&&"string"==typeof selector&&(matched=jQuery.filter(selector,matched)),this.length>1&&(guaranteedUnique[name]||jQuery.uniqueSort(matched),rparentsprev.test(name)&&matched.reverse()),this.pushStack(matched)}}));var rnothtmlwhite=/[^\x20\t\r\n\f]+/g;function Identity(v){return v}function Thrower(ex){throw ex}function adoptValue(value,resolve,reject,noValue){var method;try{value&&isFunction(method=value.promise)?method.call(value).done(resolve).fail(reject):value&&isFunction(method=value.then)?method.call(value,resolve,reject):resolve.apply(void 0,[value].slice(noValue))}catch(value){reject.apply(void 0,[value])}}jQuery.Callbacks=function(options){options="string"==typeof options?function createOptions(options){var object={};return jQuery.each(options.match(rnothtmlwhite)||[],(function(_,flag){object[flag]=!0})),object}(options):jQuery.extend({},options);var firing,memory,fired,locked,list=[],queue=[],firingIndex=-1,fire=function(){for(locked=locked||options.once,fired=firing=!0;queue.length;firingIndex=-1)for(memory=queue.shift();++firingIndex<list.length;)!1===list[firingIndex].apply(memory[0],memory[1])&&options.stopOnFalse&&(firingIndex=list.length,memory=!1);options.memory||(memory=!1),firing=!1,locked&&(list=memory?[]:"")},self={add:function(){return list&&(memory&&!firing&&(firingIndex=list.length-1,queue.push(memory)),function add(args){jQuery.each(args,(function(_,arg){isFunction(arg)?options.unique&&self.has(arg)||list.push(arg):arg&&arg.length&&"string"!==toType(arg)&&add(arg)}))}(arguments),memory&&!firing&&fire()),this},remove:function(){return jQuery.each(arguments,(function(_,arg){for(var index;(index=jQuery.inArray(arg,list,index))>-1;)list.splice(index,1),index<=firingIndex&&firingIndex--})),this},has:function(fn){return fn?jQuery.inArray(fn,list)>-1:list.length>0},empty:function(){return list&&(list=[]),this},disable:function(){return locked=queue=[],list=memory="",this},disabled:function(){return!list},lock:function(){return locked=queue=[],memory||firing||(list=memory=""),this},locked:function(){return!!locked},fireWith:function(context,args){return locked||(args=[context,(args=args||[]).slice?args.slice():args],queue.push(args),firing||fire()),this},fire:function(){return self.fireWith(this,arguments),this},fired:function(){return!!fired}};return self},jQuery.extend({Deferred:function(func){var tuples=[["notify","progress",jQuery.Callbacks("memory"),jQuery.Callbacks("memory"),2],["resolve","done",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),0,"resolved"],["reject","fail",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),1,"rejected"]],state="pending",promise={state:function(){return state},always:function(){return deferred.done(arguments).fail(arguments),this},catch:function(fn){return promise.then(null,fn)},pipe:function(){var fns=arguments;return jQuery.Deferred((function(newDefer){jQuery.each(tuples,(function(i,tuple){var fn=isFunction(fns[tuple[4]])&&fns[tuple[4]];deferred[tuple[1]]((function(){var returned=fn&&fn.apply(this,arguments);returned&&isFunction(returned.promise)?returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject):newDefer[tuple[0]+"With"](this,fn?[returned]:arguments)}))})),fns=null})).promise()},then:function(onFulfilled,onRejected,onProgress){var maxDepth=0;function resolve(depth,deferred,handler,special){return function(){var that=this,args=arguments,mightThrow=function(){var returned,then;if(!(depth<maxDepth)){if((returned=handler.apply(that,args))===deferred.promise())throw new TypeError("Thenable self-resolution");then=returned&&("object"==typeof returned||"function"==typeof returned)&&returned.then,isFunction(then)?special?then.call(returned,resolve(maxDepth,deferred,Identity,special),resolve(maxDepth,deferred,Thrower,special)):(maxDepth++,then.call(returned,resolve(maxDepth,deferred,Identity,special),resolve(maxDepth,deferred,Thrower,special),resolve(maxDepth,deferred,Identity,deferred.notifyWith))):(handler!==Identity&&(that=void 0,args=[returned]),(special||deferred.resolveWith)(that,args))}},process=special?mightThrow:function(){try{mightThrow()}catch(e){jQuery.Deferred.exceptionHook&&jQuery.Deferred.exceptionHook(e,process.stackTrace),depth+1>=maxDepth&&(handler!==Thrower&&(that=void 0,args=[e]),deferred.rejectWith(that,args))}};depth?process():(jQuery.Deferred.getStackHook&&(process.stackTrace=jQuery.Deferred.getStackHook()),window.setTimeout(process))}}return jQuery.Deferred((function(newDefer){tuples[0][3].add(resolve(0,newDefer,isFunction(onProgress)?onProgress:Identity,newDefer.notifyWith)),tuples[1][3].add(resolve(0,newDefer,isFunction(onFulfilled)?onFulfilled:Identity)),tuples[2][3].add(resolve(0,newDefer,isFunction(onRejected)?onRejected:Thrower))})).promise()},promise:function(obj){return null!=obj?jQuery.extend(obj,promise):promise}},deferred={};return jQuery.each(tuples,(function(i,tuple){var list=tuple[2],stateString=tuple[5];promise[tuple[1]]=list.add,stateString&&list.add((function(){state=stateString}),tuples[3-i][2].disable,tuples[3-i][3].disable,tuples[0][2].lock,tuples[0][3].lock),list.add(tuple[3].fire),deferred[tuple[0]]=function(){return deferred[tuple[0]+"With"](this===deferred?void 0:this,arguments),this},deferred[tuple[0]+"With"]=list.fireWith})),promise.promise(deferred),func&&func.call(deferred,deferred),deferred},when:function(singleValue){var remaining=arguments.length,i=remaining,resolveContexts=Array(i),resolveValues=slice.call(arguments),master=jQuery.Deferred(),updateFunc=function(i){return function(value){resolveContexts[i]=this,resolveValues[i]=arguments.length>1?slice.call(arguments):value,--remaining||master.resolveWith(resolveContexts,resolveValues)}};if(remaining<=1&&(adoptValue(singleValue,master.done(updateFunc(i)).resolve,master.reject,!remaining),"pending"===master.state()||isFunction(resolveValues[i]&&resolveValues[i].then)))return master.then();for(;i--;)adoptValue(resolveValues[i],updateFunc(i),master.reject);return master.promise()}});var rerrorNames=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;jQuery.Deferred.exceptionHook=function(error,stack){window.console&&window.console.warn&&error&&rerrorNames.test(error.name)&&window.console.warn("jQuery.Deferred exception: "+error.message,error.stack,stack)},jQuery.readyException=function(error){window.setTimeout((function(){throw error}))};var readyList=jQuery.Deferred();function completed(){document.removeEventListener("DOMContentLoaded",completed),window.removeEventListener("load",completed),jQuery.ready()}jQuery.fn.ready=function(fn){return readyList.then(fn).catch((function(error){jQuery.readyException(error)})),this},jQuery.extend({isReady:!1,readyWait:1,ready:function(wait){(!0===wait?--jQuery.readyWait:jQuery.isReady)||(jQuery.isReady=!0,!0!==wait&&--jQuery.readyWait>0||readyList.resolveWith(document,[jQuery]))}}),jQuery.ready.then=readyList.then,"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(jQuery.ready):(document.addEventListener("DOMContentLoaded",completed),window.addEventListener("load",completed));var access=function(elems,fn,key,value,chainable,emptyGet,raw){var i=0,len=elems.length,bulk=null==key;if("object"===toType(key))for(i in chainable=!0,key)access(elems,fn,i,key[i],!0,emptyGet,raw);else if(void 0!==value&&(chainable=!0,isFunction(value)||(raw=!0),bulk&&(raw?(fn.call(elems,value),fn=null):(bulk=fn,fn=function(elem,key,value){return bulk.call(jQuery(elem),value)})),fn))for(;i<len;i++)fn(elems[i],key,raw?value:value.call(elems[i],i,fn(elems[i],key)));return chainable?elems:bulk?fn.call(elems):len?fn(elems[0],key):emptyGet},rmsPrefix=/^-ms-/,rdashAlpha=/-([a-z])/g;function fcamelCase(all,letter){return letter.toUpperCase()}function camelCase(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase)}var acceptData=function(owner){return 1===owner.nodeType||9===owner.nodeType||!+owner.nodeType};function Data(){this.expando=jQuery.expando+Data.uid++}Data.uid=1,Data.prototype={cache:function(owner){var value=owner[this.expando];return value||(value={},acceptData(owner)&&(owner.nodeType?owner[this.expando]=value:Object.defineProperty(owner,this.expando,{value:value,configurable:!0}))),value},set:function(owner,data,value){var prop,cache=this.cache(owner);if("string"==typeof data)cache[camelCase(data)]=value;else for(prop in data)cache[camelCase(prop)]=data[prop];return cache},get:function(owner,key){return void 0===key?this.cache(owner):owner[this.expando]&&owner[this.expando][camelCase(key)]},access:function(owner,key,value){return void 0===key||key&&"string"==typeof key&&void 0===value?this.get(owner,key):(this.set(owner,key,value),void 0!==value?value:key)},remove:function(owner,key){var i,cache=owner[this.expando];if(void 0!==cache){if(void 0!==key){i=(key=Array.isArray(key)?key.map(camelCase):(key=camelCase(key))in cache?[key]:key.match(rnothtmlwhite)||[]).length;for(;i--;)delete cache[key[i]]}(void 0===key||jQuery.isEmptyObject(cache))&&(owner.nodeType?owner[this.expando]=void 0:delete owner[this.expando])}},hasData:function(owner){var cache=owner[this.expando];return void 0!==cache&&!jQuery.isEmptyObject(cache)}};var dataPriv=new Data,dataUser=new Data,rbrace=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rmultiDash=/[A-Z]/g;function dataAttr(elem,key,data){var name;if(void 0===data&&1===elem.nodeType)if(name="data-"+key.replace(rmultiDash,"-$&").toLowerCase(),"string"==typeof(data=elem.getAttribute(name))){try{data=function getData(data){return"true"===data||"false"!==data&&("null"===data?null:data===+data+""?+data:rbrace.test(data)?JSON.parse(data):data)}(data)}catch(e){}dataUser.set(elem,key,data)}else data=void 0;return data}jQuery.extend({hasData:function(elem){return dataUser.hasData(elem)||dataPriv.hasData(elem)},data:function(elem,name,data){return dataUser.access(elem,name,data)},removeData:function(elem,name){dataUser.remove(elem,name)},_data:function(elem,name,data){return dataPriv.access(elem,name,data)},_removeData:function(elem,name){dataPriv.remove(elem,name)}}),jQuery.fn.extend({data:function(key,value){var i,name,data,elem=this[0],attrs=elem&&elem.attributes;if(void 0===key){if(this.length&&(data=dataUser.get(elem),1===elem.nodeType&&!dataPriv.get(elem,"hasDataAttrs"))){for(i=attrs.length;i--;)attrs[i]&&0===(name=attrs[i].name).indexOf("data-")&&(name=camelCase(name.slice(5)),dataAttr(elem,name,data[name]));dataPriv.set(elem,"hasDataAttrs",!0)}return data}return"object"==typeof key?this.each((function(){dataUser.set(this,key)})):access(this,(function(value){var data;if(elem&&void 0===value)return void 0!==(data=dataUser.get(elem,key))||void 0!==(data=dataAttr(elem,key))?data:void 0;this.each((function(){dataUser.set(this,key,value)}))}),null,value,arguments.length>1,null,!0)},removeData:function(key){return this.each((function(){dataUser.remove(this,key)}))}}),jQuery.extend({queue:function(elem,type,data){var queue;if(elem)return type=(type||"fx")+"queue",queue=dataPriv.get(elem,type),data&&(!queue||Array.isArray(data)?queue=dataPriv.access(elem,type,jQuery.makeArray(data)):queue.push(data)),queue||[]},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),startLength=queue.length,fn=queue.shift(),hooks=jQuery._queueHooks(elem,type);"inprogress"===fn&&(fn=queue.shift(),startLength--),fn&&("fx"===type&&queue.unshift("inprogress"),delete hooks.stop,fn.call(elem,(function(){jQuery.dequeue(elem,type)}),hooks)),!startLength&&hooks&&hooks.empty.fire()},_queueHooks:function(elem,type){var key=type+"queueHooks";return dataPriv.get(elem,key)||dataPriv.access(elem,key,{empty:jQuery.Callbacks("once memory").add((function(){dataPriv.remove(elem,[type+"queue",key])}))})}}),jQuery.fn.extend({queue:function(type,data){var setter=2;return"string"!=typeof type&&(data=type,type="fx",setter--),arguments.length<setter?jQuery.queue(this[0],type):void 0===data?this:this.each((function(){var queue=jQuery.queue(this,type,data);jQuery._queueHooks(this,type),"fx"===type&&"inprogress"!==queue[0]&&jQuery.dequeue(this,type)}))},dequeue:function(type){return this.each((function(){jQuery.dequeue(this,type)}))},clearQueue:function(type){return this.queue(type||"fx",[])},promise:function(type,obj){var tmp,count=1,defer=jQuery.Deferred(),elements=this,i=this.length,resolve=function(){--count||defer.resolveWith(elements,[elements])};for("string"!=typeof type&&(obj=type,type=void 0),type=type||"fx";i--;)(tmp=dataPriv.get(elements[i],type+"queueHooks"))&&tmp.empty&&(count++,tmp.empty.add(resolve));return resolve(),defer.promise(obj)}});var pnum=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rcssNum=new RegExp("^(?:([+-])=|)("+pnum+")([a-z%]*)$","i"),cssExpand=["Top","Right","Bottom","Left"],isHiddenWithinTree=function(elem,el){return"none"===(elem=el||elem).style.display||""===elem.style.display&&jQuery.contains(elem.ownerDocument,elem)&&"none"===jQuery.css(elem,"display")},swap=function(elem,options,callback,args){var ret,name,old={};for(name in options)old[name]=elem.style[name],elem.style[name]=options[name];for(name in ret=callback.apply(elem,args||[]),options)elem.style[name]=old[name];return ret};function adjustCSS(elem,prop,valueParts,tween){var adjusted,scale,maxIterations=20,currentValue=tween?function(){return tween.cur()}:function(){return jQuery.css(elem,prop,"")},initial=currentValue(),unit=valueParts&&valueParts[3]||(jQuery.cssNumber[prop]?"":"px"),initialInUnit=(jQuery.cssNumber[prop]||"px"!==unit&&+initial)&&rcssNum.exec(jQuery.css(elem,prop));if(initialInUnit&&initialInUnit[3]!==unit){for(initial/=2,unit=unit||initialInUnit[3],initialInUnit=+initial||1;maxIterations--;)jQuery.style(elem,prop,initialInUnit+unit),(1-scale)*(1-(scale=currentValue()/initial||.5))<=0&&(maxIterations=0),initialInUnit/=scale;initialInUnit*=2,jQuery.style(elem,prop,initialInUnit+unit),valueParts=valueParts||[]}return valueParts&&(initialInUnit=+initialInUnit||+initial||0,adjusted=valueParts[1]?initialInUnit+(valueParts[1]+1)*valueParts[2]:+valueParts[2],tween&&(tween.unit=unit,tween.start=initialInUnit,tween.end=adjusted)),adjusted}var defaultDisplayMap={};function getDefaultDisplay(elem){var temp,doc=elem.ownerDocument,nodeName=elem.nodeName,display=defaultDisplayMap[nodeName];return display||(temp=doc.body.appendChild(doc.createElement(nodeName)),display=jQuery.css(temp,"display"),temp.parentNode.removeChild(temp),"none"===display&&(display="block"),defaultDisplayMap[nodeName]=display,display)}function showHide(elements,show){for(var display,elem,values=[],index=0,length=elements.length;index<length;index++)(elem=elements[index]).style&&(display=elem.style.display,show?("none"===display&&(values[index]=dataPriv.get(elem,"display")||null,values[index]||(elem.style.display="")),""===elem.style.display&&isHiddenWithinTree(elem)&&(values[index]=getDefaultDisplay(elem))):"none"!==display&&(values[index]="none",dataPriv.set(elem,"display",display)));for(index=0;index<length;index++)null!=values[index]&&(elements[index].style.display=values[index]);return elements}jQuery.fn.extend({show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(state){return"boolean"==typeof state?state?this.show():this.hide():this.each((function(){isHiddenWithinTree(this)?jQuery(this).show():jQuery(this).hide()}))}});var rcheckableType=/^(?:checkbox|radio)$/i,rtagName=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,rscriptType=/^$|^module$|\/(?:java|ecma)script/i,wrapMap={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function getAll(context,tag){var ret;return ret=void 0!==context.getElementsByTagName?context.getElementsByTagName(tag||"*"):void 0!==context.querySelectorAll?context.querySelectorAll(tag||"*"):[],void 0===tag||tag&&nodeName(context,tag)?jQuery.merge([context],ret):ret}function setGlobalEval(elems,refElements){for(var i=0,l=elems.length;i<l;i++)dataPriv.set(elems[i],"globalEval",!refElements||dataPriv.get(refElements[i],"globalEval"))}wrapMap.optgroup=wrapMap.option,wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead,wrapMap.th=wrapMap.td;var div,input,rhtml=/<|&#?\w+;/;function buildFragment(elems,context,scripts,selection,ignored){for(var elem,tmp,tag,wrap,contains,j,fragment=context.createDocumentFragment(),nodes=[],i=0,l=elems.length;i<l;i++)if((elem=elems[i])||0===elem)if("object"===toType(elem))jQuery.merge(nodes,elem.nodeType?[elem]:elem);else if(rhtml.test(elem)){for(tmp=tmp||fragment.appendChild(context.createElement("div")),tag=(rtagName.exec(elem)||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,tmp.innerHTML=wrap[1]+jQuery.htmlPrefilter(elem)+wrap[2],j=wrap[0];j--;)tmp=tmp.lastChild;jQuery.merge(nodes,tmp.childNodes),(tmp=fragment.firstChild).textContent=""}else nodes.push(context.createTextNode(elem));for(fragment.textContent="",i=0;elem=nodes[i++];)if(selection&&jQuery.inArray(elem,selection)>-1)ignored&&ignored.push(elem);else if(contains=jQuery.contains(elem.ownerDocument,elem),tmp=getAll(fragment.appendChild(elem),"script"),contains&&setGlobalEval(tmp),scripts)for(j=0;elem=tmp[j++];)rscriptType.test(elem.type||"")&&scripts.push(elem);return fragment}div=document.createDocumentFragment().appendChild(document.createElement("div")),(input=document.createElement("input")).setAttribute("type","radio"),input.setAttribute("checked","checked"),input.setAttribute("name","t"),div.appendChild(input),support.checkClone=div.cloneNode(!0).cloneNode(!0).lastChild.checked,div.innerHTML="<textarea>x</textarea>",support.noCloneChecked=!!div.cloneNode(!0).lastChild.defaultValue;var documentElement=document.documentElement,rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rtypenamespace=/^([^.]*)(?:\.(.+)|)/;function returnTrue(){return!0}function returnFalse(){return!1}function safeActiveElement(){try{return document.activeElement}catch(err){}}function on(elem,types,selector,data,fn,one){var origFn,type;if("object"==typeof types){for(type in"string"!=typeof selector&&(data=data||selector,selector=void 0),types)on(elem,type,selector,data,types[type],one);return elem}if(null==data&&null==fn?(fn=selector,data=selector=void 0):null==fn&&("string"==typeof selector?(fn=data,data=void 0):(fn=data,data=selector,selector=void 0)),!1===fn)fn=returnFalse;else if(!fn)return elem;return 1===one&&(origFn=fn,(fn=function(event){return jQuery().off(event),origFn.apply(this,arguments)}).guid=origFn.guid||(origFn.guid=jQuery.guid++)),elem.each((function(){jQuery.event.add(this,types,fn,data,selector)}))}jQuery.event={global:{},add:function(elem,types,handler,data,selector){var handleObjIn,eventHandle,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.get(elem);if(elemData)for(handler.handler&&(handler=(handleObjIn=handler).handler,selector=handleObjIn.selector),selector&&jQuery.find.matchesSelector(documentElement,selector),handler.guid||(handler.guid=jQuery.guid++),(events=elemData.events)||(events=elemData.events={}),(eventHandle=elemData.handle)||(eventHandle=elemData.handle=function(e){return void 0!==jQuery&&jQuery.event.triggered!==e.type?jQuery.event.dispatch.apply(elem,arguments):void 0}),t=(types=(types||"").match(rnothtmlwhite)||[""]).length;t--;)type=origType=(tmp=rtypenamespace.exec(types[t])||[])[1],namespaces=(tmp[2]||"").split(".").sort(),type&&(special=jQuery.event.special[type]||{},type=(selector?special.delegateType:special.bindType)||type,special=jQuery.event.special[type]||{},handleObj=jQuery.extend({type:type,origType:origType,data:data,handler:handler,guid:handler.guid,selector:selector,needsContext:selector&&jQuery.expr.match.needsContext.test(selector),namespace:namespaces.join(".")},handleObjIn),(handlers=events[type])||((handlers=events[type]=[]).delegateCount=0,special.setup&&!1!==special.setup.call(elem,data,namespaces,eventHandle)||elem.addEventListener&&elem.addEventListener(type,eventHandle)),special.add&&(special.add.call(elem,handleObj),handleObj.handler.guid||(handleObj.handler.guid=handler.guid)),selector?handlers.splice(handlers.delegateCount++,0,handleObj):handlers.push(handleObj),jQuery.event.global[type]=!0)},remove:function(elem,types,handler,selector,mappedTypes){var j,origCount,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=dataPriv.hasData(elem)&&dataPriv.get(elem);if(elemData&&(events=elemData.events)){for(t=(types=(types||"").match(rnothtmlwhite)||[""]).length;t--;)if(type=origType=(tmp=rtypenamespace.exec(types[t])||[])[1],namespaces=(tmp[2]||"").split(".").sort(),type){for(special=jQuery.event.special[type]||{},handlers=events[type=(selector?special.delegateType:special.bindType)||type]||[],tmp=tmp[2]&&new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"),origCount=j=handlers.length;j--;)handleObj=handlers[j],!mappedTypes&&origType!==handleObj.origType||handler&&handler.guid!==handleObj.guid||tmp&&!tmp.test(handleObj.namespace)||selector&&selector!==handleObj.selector&&("**"!==selector||!handleObj.selector)||(handlers.splice(j,1),handleObj.selector&&handlers.delegateCount--,special.remove&&special.remove.call(elem,handleObj));origCount&&!handlers.length&&(special.teardown&&!1!==special.teardown.call(elem,namespaces,elemData.handle)||jQuery.removeEvent(elem,type,elemData.handle),delete events[type])}else for(type in events)jQuery.event.remove(elem,type+types[t],handler,selector,!0);jQuery.isEmptyObject(events)&&dataPriv.remove(elem,"handle events")}},dispatch:function(nativeEvent){var i,j,ret,matched,handleObj,handlerQueue,event=jQuery.event.fix(nativeEvent),args=new Array(arguments.length),handlers=(dataPriv.get(this,"events")||{})[event.type]||[],special=jQuery.event.special[event.type]||{};for(args[0]=event,i=1;i<arguments.length;i++)args[i]=arguments[i];if(event.delegateTarget=this,!special.preDispatch||!1!==special.preDispatch.call(this,event)){for(handlerQueue=jQuery.event.handlers.call(this,event,handlers),i=0;(matched=handlerQueue[i++])&&!event.isPropagationStopped();)for(event.currentTarget=matched.elem,j=0;(handleObj=matched.handlers[j++])&&!event.isImmediatePropagationStopped();)event.rnamespace&&!event.rnamespace.test(handleObj.namespace)||(event.handleObj=handleObj,event.data=handleObj.data,void 0!==(ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args))&&!1===(event.result=ret)&&(event.preventDefault(),event.stopPropagation()));return special.postDispatch&&special.postDispatch.call(this,event),event.result}},handlers:function(event,handlers){var i,handleObj,sel,matchedHandlers,matchedSelectors,handlerQueue=[],delegateCount=handlers.delegateCount,cur=event.target;if(delegateCount&&cur.nodeType&&!("click"===event.type&&event.button>=1))for(;cur!==this;cur=cur.parentNode||this)if(1===cur.nodeType&&("click"!==event.type||!0!==cur.disabled)){for(matchedHandlers=[],matchedSelectors={},i=0;i<delegateCount;i++)void 0===matchedSelectors[sel=(handleObj=handlers[i]).selector+" "]&&(matchedSelectors[sel]=handleObj.needsContext?jQuery(sel,this).index(cur)>-1:jQuery.find(sel,this,null,[cur]).length),matchedSelectors[sel]&&matchedHandlers.push(handleObj);matchedHandlers.length&&handlerQueue.push({elem:cur,handlers:matchedHandlers})}return cur=this,delegateCount<handlers.length&&handlerQueue.push({elem:cur,handlers:handlers.slice(delegateCount)}),handlerQueue},addProp:function(name,hook){Object.defineProperty(jQuery.Event.prototype,name,{enumerable:!0,configurable:!0,get:isFunction(hook)?function(){if(this.originalEvent)return hook(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[name]},set:function(value){Object.defineProperty(this,name,{enumerable:!0,configurable:!0,writable:!0,value:value})}})},fix:function(originalEvent){return originalEvent[jQuery.expando]?originalEvent:new jQuery.Event(originalEvent)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==safeActiveElement()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===safeActiveElement()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&nodeName(this,"input"))return this.click(),!1},_default:function(event){return nodeName(event.target,"a")}},beforeunload:{postDispatch:function(event){void 0!==event.result&&event.originalEvent&&(event.originalEvent.returnValue=event.result)}}}},jQuery.removeEvent=function(elem,type,handle){elem.removeEventListener&&elem.removeEventListener(type,handle)},jQuery.Event=function(src,props){if(!(this instanceof jQuery.Event))return new jQuery.Event(src,props);src&&src.type?(this.originalEvent=src,this.type=src.type,this.isDefaultPrevented=src.defaultPrevented||void 0===src.defaultPrevented&&!1===src.returnValue?returnTrue:returnFalse,this.target=src.target&&3===src.target.nodeType?src.target.parentNode:src.target,this.currentTarget=src.currentTarget,this.relatedTarget=src.relatedTarget):this.type=src,props&&jQuery.extend(this,props),this.timeStamp=src&&src.timeStamp||Date.now(),this[jQuery.expando]=!0},jQuery.Event.prototype={constructor:jQuery.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=returnTrue,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=returnTrue,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},jQuery.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(event){var button=event.button;return null==event.which&&rkeyEvent.test(event.type)?null!=event.charCode?event.charCode:event.keyCode:!event.which&&void 0!==button&&rmouseEvent.test(event.type)?1&button?1:2&button?3:4&button?2:0:event.which}},jQuery.event.addProp),jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var ret,target=this,related=event.relatedTarget,handleObj=event.handleObj;return related&&(related===target||jQuery.contains(target,related))||(event.type=handleObj.origType,ret=handleObj.handler.apply(this,arguments),event.type=fix),ret}}})),jQuery.fn.extend({on:function(types,selector,data,fn){return on(this,types,selector,data,fn)},one:function(types,selector,data,fn){return on(this,types,selector,data,fn,1)},off:function(types,selector,fn){var handleObj,type;if(types&&types.preventDefault&&types.handleObj)return handleObj=types.handleObj,jQuery(types.delegateTarget).off(handleObj.namespace?handleObj.origType+"."+handleObj.namespace:handleObj.origType,handleObj.selector,handleObj.handler),this;if("object"==typeof types){for(type in types)this.off(type,selector,types[type]);return this}return!1!==selector&&"function"!=typeof selector||(fn=selector,selector=void 0),!1===fn&&(fn=returnFalse),this.each((function(){jQuery.event.remove(this,types,fn,selector)}))}});var rxhtmlTag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,rnoInnerhtml=/<script|<style|<link/i,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rcleanScript=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function manipulationTarget(elem,content){return nodeName(elem,"table")&&nodeName(11!==content.nodeType?content:content.firstChild,"tr")&&jQuery(elem).children("tbody")[0]||elem}function disableScript(elem){return elem.type=(null!==elem.getAttribute("type"))+"/"+elem.type,elem}function restoreScript(elem){return"true/"===(elem.type||"").slice(0,5)?elem.type=elem.type.slice(5):elem.removeAttribute("type"),elem}function cloneCopyEvent(src,dest){var i,l,type,pdataOld,pdataCur,udataOld,udataCur,events;if(1===dest.nodeType){if(dataPriv.hasData(src)&&(pdataOld=dataPriv.access(src),pdataCur=dataPriv.set(dest,pdataOld),events=pdataOld.events))for(type in delete pdataCur.handle,pdataCur.events={},events)for(i=0,l=events[type].length;i<l;i++)jQuery.event.add(dest,type,events[type][i]);dataUser.hasData(src)&&(udataOld=dataUser.access(src),udataCur=jQuery.extend({},udataOld),dataUser.set(dest,udataCur))}}function fixInput(src,dest){var nodeName=dest.nodeName.toLowerCase();"input"===nodeName&&rcheckableType.test(src.type)?dest.checked=src.checked:"input"!==nodeName&&"textarea"!==nodeName||(dest.defaultValue=src.defaultValue)}function domManip(collection,args,callback,ignored){args=concat.apply([],args);var fragment,first,scripts,hasScripts,node,doc,i=0,l=collection.length,iNoClone=l-1,value=args[0],valueIsFunction=isFunction(value);if(valueIsFunction||l>1&&"string"==typeof value&&!support.checkClone&&rchecked.test(value))return collection.each((function(index){var self=collection.eq(index);valueIsFunction&&(args[0]=value.call(this,index,self.html())),domManip(self,args,callback,ignored)}));if(l&&(first=(fragment=buildFragment(args,collection[0].ownerDocument,!1,collection,ignored)).firstChild,1===fragment.childNodes.length&&(fragment=first),first||ignored)){for(hasScripts=(scripts=jQuery.map(getAll(fragment,"script"),disableScript)).length;i<l;i++)node=fragment,i!==iNoClone&&(node=jQuery.clone(node,!0,!0),hasScripts&&jQuery.merge(scripts,getAll(node,"script"))),callback.call(collection[i],node,i);if(hasScripts)for(doc=scripts[scripts.length-1].ownerDocument,jQuery.map(scripts,restoreScript),i=0;i<hasScripts;i++)node=scripts[i],rscriptType.test(node.type||"")&&!dataPriv.access(node,"globalEval")&&jQuery.contains(doc,node)&&(node.src&&"module"!==(node.type||"").toLowerCase()?jQuery._evalUrl&&jQuery._evalUrl(node.src):DOMEval(node.textContent.replace(rcleanScript,""),doc,node))}return collection}function remove(elem,selector,keepData){for(var node,nodes=selector?jQuery.filter(selector,elem):elem,i=0;null!=(node=nodes[i]);i++)keepData||1!==node.nodeType||jQuery.cleanData(getAll(node)),node.parentNode&&(keepData&&jQuery.contains(node.ownerDocument,node)&&setGlobalEval(getAll(node,"script")),node.parentNode.removeChild(node));return elem}jQuery.extend({htmlPrefilter:function(html){return html.replace(rxhtmlTag,"<$1></$2>")},clone:function(elem,dataAndEvents,deepDataAndEvents){var i,l,srcElements,destElements,clone=elem.cloneNode(!0),inPage=jQuery.contains(elem.ownerDocument,elem);if(!(support.noCloneChecked||1!==elem.nodeType&&11!==elem.nodeType||jQuery.isXMLDoc(elem)))for(destElements=getAll(clone),i=0,l=(srcElements=getAll(elem)).length;i<l;i++)fixInput(srcElements[i],destElements[i]);if(dataAndEvents)if(deepDataAndEvents)for(srcElements=srcElements||getAll(elem),destElements=destElements||getAll(clone),i=0,l=srcElements.length;i<l;i++)cloneCopyEvent(srcElements[i],destElements[i]);else cloneCopyEvent(elem,clone);return(destElements=getAll(clone,"script")).length>0&&setGlobalEval(destElements,!inPage&&getAll(elem,"script")),clone},cleanData:function(elems){for(var data,elem,type,special=jQuery.event.special,i=0;void 0!==(elem=elems[i]);i++)if(acceptData(elem)){if(data=elem[dataPriv.expando]){if(data.events)for(type in data.events)special[type]?jQuery.event.remove(elem,type):jQuery.removeEvent(elem,type,data.handle);elem[dataPriv.expando]=void 0}elem[dataUser.expando]&&(elem[dataUser.expando]=void 0)}}}),jQuery.fn.extend({detach:function(selector){return remove(this,selector,!0)},remove:function(selector){return remove(this,selector)},text:function(value){return access(this,(function(value){return void 0===value?jQuery.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=value)}))}),null,value,arguments.length)},append:function(){return domManip(this,arguments,(function(elem){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||manipulationTarget(this,elem).appendChild(elem)}))},prepend:function(){return domManip(this,arguments,(function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.insertBefore(elem,target.firstChild)}}))},before:function(){return domManip(this,arguments,(function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this)}))},after:function(){return domManip(this,arguments,(function(elem){this.parentNode&&this.parentNode.insertBefore(elem,this.nextSibling)}))},empty:function(){for(var elem,i=0;null!=(elem=this[i]);i++)1===elem.nodeType&&(jQuery.cleanData(getAll(elem,!1)),elem.textContent="");return this},clone:function(dataAndEvents,deepDataAndEvents){return dataAndEvents=null!=dataAndEvents&&dataAndEvents,deepDataAndEvents=null==deepDataAndEvents?dataAndEvents:deepDataAndEvents,this.map((function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents)}))},html:function(value){return access(this,(function(value){var elem=this[0]||{},i=0,l=this.length;if(void 0===value&&1===elem.nodeType)return elem.innerHTML;if("string"==typeof value&&!rnoInnerhtml.test(value)&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=jQuery.htmlPrefilter(value);try{for(;i<l;i++)1===(elem=this[i]||{}).nodeType&&(jQuery.cleanData(getAll(elem,!1)),elem.innerHTML=value);elem=0}catch(e){}}elem&&this.empty().append(value)}),null,value,arguments.length)},replaceWith:function(){var ignored=[];return domManip(this,arguments,(function(elem){var parent=this.parentNode;jQuery.inArray(this,ignored)<0&&(jQuery.cleanData(getAll(this)),parent&&parent.replaceChild(elem,this))}),ignored)}}),jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(name,original){jQuery.fn[name]=function(selector){for(var elems,ret=[],insert=jQuery(selector),last=insert.length-1,i=0;i<=last;i++)elems=i===last?this:this.clone(!0),jQuery(insert[i])[original](elems),push.apply(ret,elems.get());return this.pushStack(ret)}}));var rnumnonpx=new RegExp("^("+pnum+")(?!px)[a-z%]+$","i"),getStyles=function(elem){var view=elem.ownerDocument.defaultView;return view&&view.opener||(view=window),view.getComputedStyle(elem)},rboxStyle=new RegExp(cssExpand.join("|"),"i");function curCSS(elem,name,computed){var width,minWidth,maxWidth,ret,style=elem.style;return(computed=computed||getStyles(elem))&&(""!==(ret=computed.getPropertyValue(name)||computed[name])||jQuery.contains(elem.ownerDocument,elem)||(ret=jQuery.style(elem,name)),!support.pixelBoxStyles()&&rnumnonpx.test(ret)&&rboxStyle.test(name)&&(width=style.width,minWidth=style.minWidth,maxWidth=style.maxWidth,style.minWidth=style.maxWidth=style.width=ret,ret=computed.width,style.width=width,style.minWidth=minWidth,style.maxWidth=maxWidth)),void 0!==ret?ret+"":ret}function addGetHookIf(conditionFn,hookFn){return{get:function(){if(!conditionFn())return(this.get=hookFn).apply(this,arguments);delete this.get}}}!function(){function computeStyleTests(){if(div){container.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",div.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",documentElement.appendChild(container).appendChild(div);var divStyle=window.getComputedStyle(div);pixelPositionVal="1%"!==divStyle.top,reliableMarginLeftVal=12===roundPixelMeasures(divStyle.marginLeft),div.style.right="60%",pixelBoxStylesVal=36===roundPixelMeasures(divStyle.right),boxSizingReliableVal=36===roundPixelMeasures(divStyle.width),div.style.position="absolute",scrollboxSizeVal=36===div.offsetWidth||"absolute",documentElement.removeChild(container),div=null}}function roundPixelMeasures(measure){return Math.round(parseFloat(measure))}var pixelPositionVal,boxSizingReliableVal,scrollboxSizeVal,pixelBoxStylesVal,reliableMarginLeftVal,container=document.createElement("div"),div=document.createElement("div");div.style&&(div.style.backgroundClip="content-box",div.cloneNode(!0).style.backgroundClip="",support.clearCloneStyle="content-box"===div.style.backgroundClip,jQuery.extend(support,{boxSizingReliable:function(){return computeStyleTests(),boxSizingReliableVal},pixelBoxStyles:function(){return computeStyleTests(),pixelBoxStylesVal},pixelPosition:function(){return computeStyleTests(),pixelPositionVal},reliableMarginLeft:function(){return computeStyleTests(),reliableMarginLeftVal},scrollboxSize:function(){return computeStyleTests(),scrollboxSizeVal}}))}();var rdisplayswap=/^(none|table(?!-c[ea]).+)/,rcustomProp=/^--/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssNormalTransform={letterSpacing:"0",fontWeight:"400"},cssPrefixes=["Webkit","Moz","ms"],emptyStyle=document.createElement("div").style;function finalPropName(name){var ret=jQuery.cssProps[name];return ret||(ret=jQuery.cssProps[name]=function vendorPropName(name){if(name in emptyStyle)return name;for(var capName=name[0].toUpperCase()+name.slice(1),i=cssPrefixes.length;i--;)if((name=cssPrefixes[i]+capName)in emptyStyle)return name}(name)||name),ret}function setPositiveNumber(elem,value,subtract){var matches=rcssNum.exec(value);return matches?Math.max(0,matches[2]-(subtract||0))+(matches[3]||"px"):value}function boxModelAdjustment(elem,dimension,box,isBorderBox,styles,computedVal){var i="width"===dimension?1:0,extra=0,delta=0;if(box===(isBorderBox?"border":"content"))return 0;for(;i<4;i+=2)"margin"===box&&(delta+=jQuery.css(elem,box+cssExpand[i],!0,styles)),isBorderBox?("content"===box&&(delta-=jQuery.css(elem,"padding"+cssExpand[i],!0,styles)),"margin"!==box&&(delta-=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles))):(delta+=jQuery.css(elem,"padding"+cssExpand[i],!0,styles),"padding"!==box?delta+=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles):extra+=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles));return!isBorderBox&&computedVal>=0&&(delta+=Math.max(0,Math.ceil(elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)]-computedVal-delta-extra-.5))),delta}function getWidthOrHeight(elem,dimension,extra){var styles=getStyles(elem),val=curCSS(elem,dimension,styles),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",!1,styles),valueIsBorderBox=isBorderBox;if(rnumnonpx.test(val)){if(!extra)return val;val="auto"}return valueIsBorderBox=valueIsBorderBox&&(support.boxSizingReliable()||val===elem.style[dimension]),("auto"===val||!parseFloat(val)&&"inline"===jQuery.css(elem,"display",!1,styles))&&(val=elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)],valueIsBorderBox=!0),(val=parseFloat(val)||0)+boxModelAdjustment(elem,dimension,extra||(isBorderBox?"border":"content"),valueIsBorderBox,styles,val)+"px"}function Tween(elem,options,prop,end,easing){return new Tween.prototype.init(elem,options,prop,end,easing)}jQuery.extend({cssHooks:{opacity:{get:function(elem,computed){if(computed){var ret=curCSS(elem,"opacity");return""===ret?"1":ret}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(elem,name,value,extra){if(elem&&3!==elem.nodeType&&8!==elem.nodeType&&elem.style){var ret,type,hooks,origName=camelCase(name),isCustomProp=rcustomProp.test(name),style=elem.style;if(isCustomProp||(name=finalPropName(origName)),hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName],void 0===value)return hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,!1,extra))?ret:style[name];"string"===(type=typeof value)&&(ret=rcssNum.exec(value))&&ret[1]&&(value=adjustCSS(elem,name,ret),type="number"),null!=value&&value==value&&("number"===type&&(value+=ret&&ret[3]||(jQuery.cssNumber[origName]?"":"px")),support.clearCloneStyle||""!==value||0!==name.indexOf("background")||(style[name]="inherit"),hooks&&"set"in hooks&&void 0===(value=hooks.set(elem,value,extra))||(isCustomProp?style.setProperty(name,value):style[name]=value))}},css:function(elem,name,extra,styles){var val,num,hooks,origName=camelCase(name);return rcustomProp.test(name)||(name=finalPropName(origName)),(hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName])&&"get"in hooks&&(val=hooks.get(elem,!0,extra)),void 0===val&&(val=curCSS(elem,name,styles)),"normal"===val&&name in cssNormalTransform&&(val=cssNormalTransform[name]),""===extra||extra?(num=parseFloat(val),!0===extra||isFinite(num)?num||0:val):val}}),jQuery.each(["height","width"],(function(i,dimension){jQuery.cssHooks[dimension]={get:function(elem,computed,extra){if(computed)return!rdisplayswap.test(jQuery.css(elem,"display"))||elem.getClientRects().length&&elem.getBoundingClientRect().width?getWidthOrHeight(elem,dimension,extra):swap(elem,cssShow,(function(){return getWidthOrHeight(elem,dimension,extra)}))},set:function(elem,value,extra){var matches,styles=getStyles(elem),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",!1,styles),subtract=extra&&boxModelAdjustment(elem,dimension,extra,isBorderBox,styles);return isBorderBox&&support.scrollboxSize()===styles.position&&(subtract-=Math.ceil(elem["offset"+dimension[0].toUpperCase()+dimension.slice(1)]-parseFloat(styles[dimension])-boxModelAdjustment(elem,dimension,"border",!1,styles)-.5)),subtract&&(matches=rcssNum.exec(value))&&"px"!==(matches[3]||"px")&&(elem.style[dimension]=value,value=jQuery.css(elem,dimension)),setPositiveNumber(0,value,subtract)}}})),jQuery.cssHooks.marginLeft=addGetHookIf(support.reliableMarginLeft,(function(elem,computed){if(computed)return(parseFloat(curCSS(elem,"marginLeft"))||elem.getBoundingClientRect().left-swap(elem,{marginLeft:0},(function(){return elem.getBoundingClientRect().left})))+"px"})),jQuery.each({margin:"",padding:"",border:"Width"},(function(prefix,suffix){jQuery.cssHooks[prefix+suffix]={expand:function(value){for(var i=0,expanded={},parts="string"==typeof value?value.split(" "):[value];i<4;i++)expanded[prefix+cssExpand[i]+suffix]=parts[i]||parts[i-2]||parts[0];return expanded}},"margin"!==prefix&&(jQuery.cssHooks[prefix+suffix].set=setPositiveNumber)})),jQuery.fn.extend({css:function(name,value){return access(this,(function(elem,name,value){var styles,len,map={},i=0;if(Array.isArray(name)){for(styles=getStyles(elem),len=name.length;i<len;i++)map[name[i]]=jQuery.css(elem,name[i],!1,styles);return map}return void 0!==value?jQuery.style(elem,name,value):jQuery.css(elem,name)}),name,value,arguments.length>1)}}),jQuery.Tween=Tween,Tween.prototype={constructor:Tween,init:function(elem,options,prop,end,easing,unit){this.elem=elem,this.prop=prop,this.easing=easing||jQuery.easing._default,this.options=options,this.start=this.now=this.cur(),this.end=end,this.unit=unit||(jQuery.cssNumber[prop]?"":"px")},cur:function(){var hooks=Tween.propHooks[this.prop];return hooks&&hooks.get?hooks.get(this):Tween.propHooks._default.get(this)},run:function(percent){var eased,hooks=Tween.propHooks[this.prop];return this.options.duration?this.pos=eased=jQuery.easing[this.easing](percent,this.options.duration*percent,0,1,this.options.duration):this.pos=eased=percent,this.now=(this.end-this.start)*eased+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),hooks&&hooks.set?hooks.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(tween){var result;return 1!==tween.elem.nodeType||null!=tween.elem[tween.prop]&&null==tween.elem.style[tween.prop]?tween.elem[tween.prop]:(result=jQuery.css(tween.elem,tween.prop,""))&&"auto"!==result?result:0},set:function(tween){jQuery.fx.step[tween.prop]?jQuery.fx.step[tween.prop](tween):1!==tween.elem.nodeType||null==tween.elem.style[jQuery.cssProps[tween.prop]]&&!jQuery.cssHooks[tween.prop]?tween.elem[tween.prop]=tween.now:jQuery.style(tween.elem,tween.prop,tween.now+tween.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(tween){tween.elem.nodeType&&tween.elem.parentNode&&(tween.elem[tween.prop]=tween.now)}},jQuery.easing={linear:function(p){return p},swing:function(p){return.5-Math.cos(p*Math.PI)/2},_default:"swing"},jQuery.fx=Tween.prototype.init,jQuery.fx.step={};var fxNow,inProgress,rfxtypes=/^(?:toggle|show|hide)$/,rrun=/queueHooks$/;function schedule(){inProgress&&(!1===document.hidden&&window.requestAnimationFrame?window.requestAnimationFrame(schedule):window.setTimeout(schedule,jQuery.fx.interval),jQuery.fx.tick())}function createFxNow(){return window.setTimeout((function(){fxNow=void 0})),fxNow=Date.now()}function genFx(type,includeWidth){var which,i=0,attrs={height:type};for(includeWidth=includeWidth?1:0;i<4;i+=2-includeWidth)attrs["margin"+(which=cssExpand[i])]=attrs["padding"+which]=type;return includeWidth&&(attrs.opacity=attrs.width=type),attrs}function createTween(value,prop,animation){for(var tween,collection=(Animation.tweeners[prop]||[]).concat(Animation.tweeners["*"]),index=0,length=collection.length;index<length;index++)if(tween=collection[index].call(animation,prop,value))return tween}function Animation(elem,properties,options){var result,stopped,index=0,length=Animation.prefilters.length,deferred=jQuery.Deferred().always((function(){delete tick.elem})),tick=function(){if(stopped)return!1;for(var currentTime=fxNow||createFxNow(),remaining=Math.max(0,animation.startTime+animation.duration-currentTime),percent=1-(remaining/animation.duration||0),index=0,length=animation.tweens.length;index<length;index++)animation.tweens[index].run(percent);return deferred.notifyWith(elem,[animation,percent,remaining]),percent<1&&length?remaining:(length||deferred.notifyWith(elem,[animation,1,0]),deferred.resolveWith(elem,[animation]),!1)},animation=deferred.promise({elem:elem,props:jQuery.extend({},properties),opts:jQuery.extend(!0,{specialEasing:{},easing:jQuery.easing._default},options),originalProperties:properties,originalOptions:options,startTime:fxNow||createFxNow(),duration:options.duration,tweens:[],createTween:function(prop,end){var tween=jQuery.Tween(elem,animation.opts,prop,end,animation.opts.specialEasing[prop]||animation.opts.easing);return animation.tweens.push(tween),tween},stop:function(gotoEnd){var index=0,length=gotoEnd?animation.tweens.length:0;if(stopped)return this;for(stopped=!0;index<length;index++)animation.tweens[index].run(1);return gotoEnd?(deferred.notifyWith(elem,[animation,1,0]),deferred.resolveWith(elem,[animation,gotoEnd])):deferred.rejectWith(elem,[animation,gotoEnd]),this}}),props=animation.props;for(!function propFilter(props,specialEasing){var index,name,easing,value,hooks;for(index in props)if(easing=specialEasing[name=camelCase(index)],value=props[index],Array.isArray(value)&&(easing=value[1],value=props[index]=value[0]),index!==name&&(props[name]=value,delete props[index]),(hooks=jQuery.cssHooks[name])&&"expand"in hooks)for(index in value=hooks.expand(value),delete props[name],value)index in props||(props[index]=value[index],specialEasing[index]=easing);else specialEasing[name]=easing}(props,animation.opts.specialEasing);index<length;index++)if(result=Animation.prefilters[index].call(animation,elem,props,animation.opts))return isFunction(result.stop)&&(jQuery._queueHooks(animation.elem,animation.opts.queue).stop=result.stop.bind(result)),result;return jQuery.map(props,createTween,animation),isFunction(animation.opts.start)&&animation.opts.start.call(elem,animation),animation.progress(animation.opts.progress).done(animation.opts.done,animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always),jQuery.fx.timer(jQuery.extend(tick,{elem:elem,anim:animation,queue:animation.opts.queue})),animation}jQuery.Animation=jQuery.extend(Animation,{tweeners:{"*":[function(prop,value){var tween=this.createTween(prop,value);return adjustCSS(tween.elem,prop,rcssNum.exec(value),tween),tween}]},tweener:function(props,callback){isFunction(props)?(callback=props,props=["*"]):props=props.match(rnothtmlwhite);for(var prop,index=0,length=props.length;index<length;index++)prop=props[index],Animation.tweeners[prop]=Animation.tweeners[prop]||[],Animation.tweeners[prop].unshift(callback)},prefilters:[function defaultPrefilter(elem,props,opts){var prop,value,toggle,hooks,oldfire,propTween,restoreDisplay,display,isBox="width"in props||"height"in props,anim=this,orig={},style=elem.style,hidden=elem.nodeType&&isHiddenWithinTree(elem),dataShow=dataPriv.get(elem,"fxshow");for(prop in opts.queue||(null==(hooks=jQuery._queueHooks(elem,"fx")).unqueued&&(hooks.unqueued=0,oldfire=hooks.empty.fire,hooks.empty.fire=function(){hooks.unqueued||oldfire()}),hooks.unqueued++,anim.always((function(){anim.always((function(){hooks.unqueued--,jQuery.queue(elem,"fx").length||hooks.empty.fire()}))}))),props)if(value=props[prop],rfxtypes.test(value)){if(delete props[prop],toggle=toggle||"toggle"===value,value===(hidden?"hide":"show")){if("show"!==value||!dataShow||void 0===dataShow[prop])continue;hidden=!0}orig[prop]=dataShow&&dataShow[prop]||jQuery.style(elem,prop)}if((propTween=!jQuery.isEmptyObject(props))||!jQuery.isEmptyObject(orig))for(prop in isBox&&1===elem.nodeType&&(opts.overflow=[style.overflow,style.overflowX,style.overflowY],null==(restoreDisplay=dataShow&&dataShow.display)&&(restoreDisplay=dataPriv.get(elem,"display")),"none"===(display=jQuery.css(elem,"display"))&&(restoreDisplay?display=restoreDisplay:(showHide([elem],!0),restoreDisplay=elem.style.display||restoreDisplay,display=jQuery.css(elem,"display"),showHide([elem]))),("inline"===display||"inline-block"===display&&null!=restoreDisplay)&&"none"===jQuery.css(elem,"float")&&(propTween||(anim.done((function(){style.display=restoreDisplay})),null==restoreDisplay&&(display=style.display,restoreDisplay="none"===display?"":display)),style.display="inline-block")),opts.overflow&&(style.overflow="hidden",anim.always((function(){style.overflow=opts.overflow[0],style.overflowX=opts.overflow[1],style.overflowY=opts.overflow[2]}))),propTween=!1,orig)propTween||(dataShow?"hidden"in dataShow&&(hidden=dataShow.hidden):dataShow=dataPriv.access(elem,"fxshow",{display:restoreDisplay}),toggle&&(dataShow.hidden=!hidden),hidden&&showHide([elem],!0),anim.done((function(){for(prop in hidden||showHide([elem]),dataPriv.remove(elem,"fxshow"),orig)jQuery.style(elem,prop,orig[prop])}))),propTween=createTween(hidden?dataShow[prop]:0,prop,anim),prop in dataShow||(dataShow[prop]=propTween.start,hidden&&(propTween.end=propTween.start,propTween.start=0))}],prefilter:function(callback,prepend){prepend?Animation.prefilters.unshift(callback):Animation.prefilters.push(callback)}}),jQuery.speed=function(speed,easing,fn){var opt=speed&&"object"==typeof speed?jQuery.extend({},speed):{complete:fn||!fn&&easing||isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!isFunction(easing)&&easing};return jQuery.fx.off?opt.duration=0:"number"!=typeof opt.duration&&(opt.duration in jQuery.fx.speeds?opt.duration=jQuery.fx.speeds[opt.duration]:opt.duration=jQuery.fx.speeds._default),null!=opt.queue&&!0!==opt.queue||(opt.queue="fx"),opt.old=opt.complete,opt.complete=function(){isFunction(opt.old)&&opt.old.call(this),opt.queue&&jQuery.dequeue(this,opt.queue)},opt},jQuery.fn.extend({fadeTo:function(speed,to,easing,callback){return this.filter(isHiddenWithinTree).css("opacity",0).show().end().animate({opacity:to},speed,easing,callback)},animate:function(prop,speed,easing,callback){var empty=jQuery.isEmptyObject(prop),optall=jQuery.speed(speed,easing,callback),doAnimation=function(){var anim=Animation(this,jQuery.extend({},prop),optall);(empty||dataPriv.get(this,"finish"))&&anim.stop(!0)};return doAnimation.finish=doAnimation,empty||!1===optall.queue?this.each(doAnimation):this.queue(optall.queue,doAnimation)},stop:function(type,clearQueue,gotoEnd){var stopQueue=function(hooks){var stop=hooks.stop;delete hooks.stop,stop(gotoEnd)};return"string"!=typeof type&&(gotoEnd=clearQueue,clearQueue=type,type=void 0),clearQueue&&!1!==type&&this.queue(type||"fx",[]),this.each((function(){var dequeue=!0,index=null!=type&&type+"queueHooks",timers=jQuery.timers,data=dataPriv.get(this);if(index)data[index]&&data[index].stop&&stopQueue(data[index]);else for(index in data)data[index]&&data[index].stop&&rrun.test(index)&&stopQueue(data[index]);for(index=timers.length;index--;)timers[index].elem!==this||null!=type&&timers[index].queue!==type||(timers[index].anim.stop(gotoEnd),dequeue=!1,timers.splice(index,1));!dequeue&&gotoEnd||jQuery.dequeue(this,type)}))},finish:function(type){return!1!==type&&(type=type||"fx"),this.each((function(){var index,data=dataPriv.get(this),queue=data[type+"queue"],hooks=data[type+"queueHooks"],timers=jQuery.timers,length=queue?queue.length:0;for(data.finish=!0,jQuery.queue(this,type,[]),hooks&&hooks.stop&&hooks.stop.call(this,!0),index=timers.length;index--;)timers[index].elem===this&&timers[index].queue===type&&(timers[index].anim.stop(!0),timers.splice(index,1));for(index=0;index<length;index++)queue[index]&&queue[index].finish&&queue[index].finish.call(this);delete data.finish}))}}),jQuery.each(["toggle","show","hide"],(function(i,name){var cssFn=jQuery.fn[name];jQuery.fn[name]=function(speed,easing,callback){return null==speed||"boolean"==typeof speed?cssFn.apply(this,arguments):this.animate(genFx(name,!0),speed,easing,callback)}})),jQuery.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback)}})),jQuery.timers=[],jQuery.fx.tick=function(){var timer,i=0,timers=jQuery.timers;for(fxNow=Date.now();i<timers.length;i++)(timer=timers[i])()||timers[i]!==timer||timers.splice(i--,1);timers.length||jQuery.fx.stop(),fxNow=void 0},jQuery.fx.timer=function(timer){jQuery.timers.push(timer),jQuery.fx.start()},jQuery.fx.interval=13,jQuery.fx.start=function(){inProgress||(inProgress=!0,schedule())},jQuery.fx.stop=function(){inProgress=null},jQuery.fx.speeds={slow:600,fast:200,_default:400},jQuery.fn.delay=function(time,type){return time=jQuery.fx&&jQuery.fx.speeds[time]||time,type=type||"fx",this.queue(type,(function(next,hooks){var timeout=window.setTimeout(next,time);hooks.stop=function(){window.clearTimeout(timeout)}}))},function(){var input=document.createElement("input"),opt=document.createElement("select").appendChild(document.createElement("option"));input.type="checkbox",support.checkOn=""!==input.value,support.optSelected=opt.selected,(input=document.createElement("input")).value="t",input.type="radio",support.radioValue="t"===input.value}();var boolHook,attrHandle=jQuery.expr.attrHandle;jQuery.fn.extend({attr:function(name,value){return access(this,jQuery.attr,name,value,arguments.length>1)},removeAttr:function(name){return this.each((function(){jQuery.removeAttr(this,name)}))}}),jQuery.extend({attr:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3!==nType&&8!==nType&&2!==nType)return void 0===elem.getAttribute?jQuery.prop(elem,name,value):(1===nType&&jQuery.isXMLDoc(elem)||(hooks=jQuery.attrHooks[name.toLowerCase()]||(jQuery.expr.match.bool.test(name)?boolHook:void 0)),void 0!==value?null===value?void jQuery.removeAttr(elem,name):hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name))?ret:(elem.setAttribute(name,value+""),value):hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name))?ret:null==(ret=jQuery.find.attr(elem,name))?void 0:ret)},attrHooks:{type:{set:function(elem,value){if(!support.radioValue&&"radio"===value&&nodeName(elem,"input")){var val=elem.value;return elem.setAttribute("type",value),val&&(elem.value=val),value}}}},removeAttr:function(elem,value){var name,i=0,attrNames=value&&value.match(rnothtmlwhite);if(attrNames&&1===elem.nodeType)for(;name=attrNames[i++];)elem.removeAttribute(name)}}),boolHook={set:function(elem,value,name){return!1===value?jQuery.removeAttr(elem,name):elem.setAttribute(name,name),name}},jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),(function(i,name){var getter=attrHandle[name]||jQuery.find.attr;attrHandle[name]=function(elem,name,isXML){var ret,handle,lowercaseName=name.toLowerCase();return isXML||(handle=attrHandle[lowercaseName],attrHandle[lowercaseName]=ret,ret=null!=getter(elem,name,isXML)?lowercaseName:null,attrHandle[lowercaseName]=handle),ret}}));var rfocusable=/^(?:input|select|textarea|button)$/i,rclickable=/^(?:a|area)$/i;function stripAndCollapse(value){return(value.match(rnothtmlwhite)||[]).join(" ")}function getClass(elem){return elem.getAttribute&&elem.getAttribute("class")||""}function classesToArray(value){return Array.isArray(value)?value:"string"==typeof value&&value.match(rnothtmlwhite)||[]}jQuery.fn.extend({prop:function(name,value){return access(this,jQuery.prop,name,value,arguments.length>1)},removeProp:function(name){return this.each((function(){delete this[jQuery.propFix[name]||name]}))}}),jQuery.extend({prop:function(elem,name,value){var ret,hooks,nType=elem.nodeType;if(3!==nType&&8!==nType&&2!==nType)return 1===nType&&jQuery.isXMLDoc(elem)||(name=jQuery.propFix[name]||name,hooks=jQuery.propHooks[name]),void 0!==value?hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name))?ret:elem[name]=value:hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name))?ret:elem[name]},propHooks:{tabIndex:{get:function(elem){var tabindex=jQuery.find.attr(elem,"tabindex");return tabindex?parseInt(tabindex,10):rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),support.optSelected||(jQuery.propHooks.selected={get:function(elem){var parent=elem.parentNode;return parent&&parent.parentNode&&parent.parentNode.selectedIndex,null},set:function(elem){var parent=elem.parentNode;parent&&(parent.selectedIndex,parent.parentNode&&parent.parentNode.selectedIndex)}}),jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){jQuery.propFix[this.toLowerCase()]=this})),jQuery.fn.extend({addClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(isFunction(value))return this.each((function(j){jQuery(this).addClass(value.call(this,j,getClass(this)))}));if((classes=classesToArray(value)).length)for(;elem=this[i++];)if(curValue=getClass(elem),cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(j=0;clazz=classes[j++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&elem.setAttribute("class",finalValue)}return this},removeClass:function(value){var classes,elem,cur,curValue,clazz,j,finalValue,i=0;if(isFunction(value))return this.each((function(j){jQuery(this).removeClass(value.call(this,j,getClass(this)))}));if(!arguments.length)return this.attr("class","");if((classes=classesToArray(value)).length)for(;elem=this[i++];)if(curValue=getClass(elem),cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(j=0;clazz=classes[j++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&elem.setAttribute("class",finalValue)}return this},toggleClass:function(value,stateVal){var type=typeof value,isValidValue="string"===type||Array.isArray(value);return"boolean"==typeof stateVal&&isValidValue?stateVal?this.addClass(value):this.removeClass(value):isFunction(value)?this.each((function(i){jQuery(this).toggleClass(value.call(this,i,getClass(this),stateVal),stateVal)})):this.each((function(){var className,i,self,classNames;if(isValidValue)for(i=0,self=jQuery(this),classNames=classesToArray(value);className=classNames[i++];)self.hasClass(className)?self.removeClass(className):self.addClass(className);else void 0!==value&&"boolean"!==type||((className=getClass(this))&&dataPriv.set(this,"__className__",className),this.setAttribute&&this.setAttribute("class",className||!1===value?"":dataPriv.get(this,"__className__")||""))}))},hasClass:function(selector){var className,elem,i=0;for(className=" "+selector+" ";elem=this[i++];)if(1===elem.nodeType&&(" "+stripAndCollapse(getClass(elem))+" ").indexOf(className)>-1)return!0;return!1}});var rreturn=/\r/g;jQuery.fn.extend({val:function(value){var hooks,ret,valueIsFunction,elem=this[0];return arguments.length?(valueIsFunction=isFunction(value),this.each((function(i){var val;1===this.nodeType&&(null==(val=valueIsFunction?value.call(this,i,jQuery(this).val()):value)?val="":"number"==typeof val?val+="":Array.isArray(val)&&(val=jQuery.map(val,(function(value){return null==value?"":value+""}))),(hooks=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()])&&"set"in hooks&&void 0!==hooks.set(this,val,"value")||(this.value=val))}))):elem?(hooks=jQuery.valHooks[elem.type]||jQuery.valHooks[elem.nodeName.toLowerCase()])&&"get"in hooks&&void 0!==(ret=hooks.get(elem,"value"))?ret:"string"==typeof(ret=elem.value)?ret.replace(rreturn,""):null==ret?"":ret:void 0}}),jQuery.extend({valHooks:{option:{get:function(elem){var val=jQuery.find.attr(elem,"value");return null!=val?val:stripAndCollapse(jQuery.text(elem))}},select:{get:function(elem){var value,option,i,options=elem.options,index=elem.selectedIndex,one="select-one"===elem.type,values=one?null:[],max=one?index+1:options.length;for(i=index<0?max:one?index:0;i<max;i++)if(((option=options[i]).selected||i===index)&&!option.disabled&&(!option.parentNode.disabled||!nodeName(option.parentNode,"optgroup"))){if(value=jQuery(option).val(),one)return value;values.push(value)}return values},set:function(elem,value){for(var optionSet,option,options=elem.options,values=jQuery.makeArray(value),i=options.length;i--;)((option=options[i]).selected=jQuery.inArray(jQuery.valHooks.option.get(option),values)>-1)&&(optionSet=!0);return optionSet||(elem.selectedIndex=-1),values}}}}),jQuery.each(["radio","checkbox"],(function(){jQuery.valHooks[this]={set:function(elem,value){if(Array.isArray(value))return elem.checked=jQuery.inArray(jQuery(elem).val(),value)>-1}},support.checkOn||(jQuery.valHooks[this].get=function(elem){return null===elem.getAttribute("value")?"on":elem.value})})),support.focusin="onfocusin"in window;var rfocusMorph=/^(?:focusinfocus|focusoutblur)$/,stopPropagationCallback=function(e){e.stopPropagation()};jQuery.extend(jQuery.event,{trigger:function(event,data,elem,onlyHandlers){var i,cur,tmp,bubbleType,ontype,handle,special,lastElement,eventPath=[elem||document],type=hasOwn.call(event,"type")?event.type:event,namespaces=hasOwn.call(event,"namespace")?event.namespace.split("."):[];if(cur=lastElement=tmp=elem=elem||document,3!==elem.nodeType&&8!==elem.nodeType&&!rfocusMorph.test(type+jQuery.event.triggered)&&(type.indexOf(".")>-1&&(namespaces=type.split("."),type=namespaces.shift(),namespaces.sort()),ontype=type.indexOf(":")<0&&"on"+type,(event=event[jQuery.expando]?event:new jQuery.Event(type,"object"==typeof event&&event)).isTrigger=onlyHandlers?2:3,event.namespace=namespaces.join("."),event.rnamespace=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,event.result=void 0,event.target||(event.target=elem),data=null==data?[event]:jQuery.makeArray(data,[event]),special=jQuery.event.special[type]||{},onlyHandlers||!special.trigger||!1!==special.trigger.apply(elem,data))){if(!onlyHandlers&&!special.noBubble&&!isWindow(elem)){for(bubbleType=special.delegateType||type,rfocusMorph.test(bubbleType+type)||(cur=cur.parentNode);cur;cur=cur.parentNode)eventPath.push(cur),tmp=cur;tmp===(elem.ownerDocument||document)&&eventPath.push(tmp.defaultView||tmp.parentWindow||window)}for(i=0;(cur=eventPath[i++])&&!event.isPropagationStopped();)lastElement=cur,event.type=i>1?bubbleType:special.bindType||type,(handle=(dataPriv.get(cur,"events")||{})[event.type]&&dataPriv.get(cur,"handle"))&&handle.apply(cur,data),(handle=ontype&&cur[ontype])&&handle.apply&&acceptData(cur)&&(event.result=handle.apply(cur,data),!1===event.result&&event.preventDefault());return event.type=type,onlyHandlers||event.isDefaultPrevented()||special._default&&!1!==special._default.apply(eventPath.pop(),data)||!acceptData(elem)||ontype&&isFunction(elem[type])&&!isWindow(elem)&&((tmp=elem[ontype])&&(elem[ontype]=null),jQuery.event.triggered=type,event.isPropagationStopped()&&lastElement.addEventListener(type,stopPropagationCallback),elem[type](),event.isPropagationStopped()&&lastElement.removeEventListener(type,stopPropagationCallback),jQuery.event.triggered=void 0,tmp&&(elem[ontype]=tmp)),event.result}},simulate:function(type,elem,event){var e=jQuery.extend(new jQuery.Event,event,{type:type,isSimulated:!0});jQuery.event.trigger(e,null,elem)}}),jQuery.fn.extend({trigger:function(type,data){return this.each((function(){jQuery.event.trigger(type,data,this)}))},triggerHandler:function(type,data){var elem=this[0];if(elem)return jQuery.event.trigger(type,data,elem,!0)}}),support.focusin||jQuery.each({focus:"focusin",blur:"focusout"},(function(orig,fix){var handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event))};jQuery.event.special[fix]={setup:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix);attaches||doc.addEventListener(orig,handler,!0),dataPriv.access(doc,fix,(attaches||0)+1)},teardown:function(){var doc=this.ownerDocument||this,attaches=dataPriv.access(doc,fix)-1;attaches?dataPriv.access(doc,fix,attaches):(doc.removeEventListener(orig,handler,!0),dataPriv.remove(doc,fix))}}}));var location=window.location,nonce=Date.now(),rquery=/\?/;jQuery.parseXML=function(data){var xml;if(!data||"string"!=typeof data)return null;try{xml=(new window.DOMParser).parseFromString(data,"text/xml")}catch(e){xml=void 0}return xml&&!xml.getElementsByTagName("parsererror").length||jQuery.error("Invalid XML: "+data),xml};var rbracket=/\[\]$/,rCRLF=/\r?\n/g,rsubmitterTypes=/^(?:submit|button|image|reset|file)$/i,rsubmittable=/^(?:input|select|textarea|keygen)/i;function buildParams(prefix,obj,traditional,add){var name;if(Array.isArray(obj))jQuery.each(obj,(function(i,v){traditional||rbracket.test(prefix)?add(prefix,v):buildParams(prefix+"["+("object"==typeof v&&null!=v?i:"")+"]",v,traditional,add)}));else if(traditional||"object"!==toType(obj))add(prefix,obj);else for(name in obj)buildParams(prefix+"["+name+"]",obj[name],traditional,add)}jQuery.param=function(a,traditional){var prefix,s=[],add=function(key,valueOrFunction){var value=isFunction(valueOrFunction)?valueOrFunction():valueOrFunction;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(null==value?"":value)};if(Array.isArray(a)||a.jquery&&!jQuery.isPlainObject(a))jQuery.each(a,(function(){add(this.name,this.value)}));else for(prefix in a)buildParams(prefix,a[prefix],traditional,add);return s.join("&")},jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var elements=jQuery.prop(this,"elements");return elements?jQuery.makeArray(elements):this})).filter((function(){var type=this.type;return this.name&&!jQuery(this).is(":disabled")&&rsubmittable.test(this.nodeName)&&!rsubmitterTypes.test(type)&&(this.checked||!rcheckableType.test(type))})).map((function(i,elem){var val=jQuery(this).val();return null==val?null:Array.isArray(val)?jQuery.map(val,(function(val){return{name:elem.name,value:val.replace(rCRLF,"\r\n")}})):{name:elem.name,value:val.replace(rCRLF,"\r\n")}})).get()}});var r20=/%20/g,rhash=/#.*$/,rantiCache=/([?&])_=[^&]*/,rheaders=/^(.*?):[ \t]*([^\r\n]*)$/gm,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,prefilters={},transports={},allTypes="*/".concat("*"),originAnchor=document.createElement("a");function addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){"string"!=typeof dataTypeExpression&&(func=dataTypeExpression,dataTypeExpression="*");var dataType,i=0,dataTypes=dataTypeExpression.toLowerCase().match(rnothtmlwhite)||[];if(isFunction(func))for(;dataType=dataTypes[i++];)"+"===dataType[0]?(dataType=dataType.slice(1)||"*",(structure[dataType]=structure[dataType]||[]).unshift(func)):(structure[dataType]=structure[dataType]||[]).push(func)}}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR){var inspected={},seekingTransport=structure===transports;function inspect(dataType){var selected;return inspected[dataType]=!0,jQuery.each(structure[dataType]||[],(function(_,prefilterOrFactory){var dataTypeOrTransport=prefilterOrFactory(options,originalOptions,jqXHR);return"string"!=typeof dataTypeOrTransport||seekingTransport||inspected[dataTypeOrTransport]?seekingTransport?!(selected=dataTypeOrTransport):void 0:(options.dataTypes.unshift(dataTypeOrTransport),inspect(dataTypeOrTransport),!1)})),selected}return inspect(options.dataTypes[0])||!inspected["*"]&&inspect("*")}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src)void 0!==src[key]&&((flatOptions[key]?target:deep||(deep={}))[key]=src[key]);return deep&&jQuery.extend(!0,target,deep),target}originAnchor.href=location.href,jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:location.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(location.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":allTypes,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":jQuery.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(target,settings){return settings?ajaxExtend(ajaxExtend(target,jQuery.ajaxSettings),settings):ajaxExtend(jQuery.ajaxSettings,target)},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){"object"==typeof url&&(options=url,url=void 0),options=options||{};var transport,cacheURL,responseHeadersString,responseHeaders,timeoutTimer,urlAnchor,completed,fireGlobals,i,uncached,s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=s.context&&(callbackContext.nodeType||callbackContext.jquery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},requestHeaders={},requestHeadersNames={},strAbort="canceled",jqXHR={readyState:0,getResponseHeader:function(key){var match;if(completed){if(!responseHeaders)for(responseHeaders={};match=rheaders.exec(responseHeadersString);)responseHeaders[match[1].toLowerCase()]=match[2];match=responseHeaders[key.toLowerCase()]}return null==match?null:match},getAllResponseHeaders:function(){return completed?responseHeadersString:null},setRequestHeader:function(name,value){return null==completed&&(name=requestHeadersNames[name.toLowerCase()]=requestHeadersNames[name.toLowerCase()]||name,requestHeaders[name]=value),this},overrideMimeType:function(type){return null==completed&&(s.mimeType=type),this},statusCode:function(map){var code;if(map)if(completed)jqXHR.always(map[jqXHR.status]);else for(code in map)statusCode[code]=[statusCode[code],map[code]];return this},abort:function(statusText){var finalText=statusText||strAbort;return transport&&transport.abort(finalText),done(0,finalText),this}};if(deferred.promise(jqXHR),s.url=((url||s.url||location.href)+"").replace(rprotocol,location.protocol+"//"),s.type=options.method||options.type||s.method||s.type,s.dataTypes=(s.dataType||"*").toLowerCase().match(rnothtmlwhite)||[""],null==s.crossDomain){urlAnchor=document.createElement("a");try{urlAnchor.href=s.url,urlAnchor.href=urlAnchor.href,s.crossDomain=originAnchor.protocol+"//"+originAnchor.host!=urlAnchor.protocol+"//"+urlAnchor.host}catch(e){s.crossDomain=!0}}if(s.data&&s.processData&&"string"!=typeof s.data&&(s.data=jQuery.param(s.data,s.traditional)),inspectPrefiltersOrTransports(prefilters,s,options,jqXHR),completed)return jqXHR;for(i in(fireGlobals=jQuery.event&&s.global)&&0==jQuery.active++&&jQuery.event.trigger("ajaxStart"),s.type=s.type.toUpperCase(),s.hasContent=!rnoContent.test(s.type),cacheURL=s.url.replace(rhash,""),s.hasContent?s.data&&s.processData&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&(s.data=s.data.replace(r20,"+")):(uncached=s.url.slice(cacheURL.length),s.data&&(s.processData||"string"==typeof s.data)&&(cacheURL+=(rquery.test(cacheURL)?"&":"?")+s.data,delete s.data),!1===s.cache&&(cacheURL=cacheURL.replace(rantiCache,"$1"),uncached=(rquery.test(cacheURL)?"&":"?")+"_="+nonce+++uncached),s.url=cacheURL+uncached),s.ifModified&&(jQuery.lastModified[cacheURL]&&jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[cacheURL]),jQuery.etag[cacheURL]&&jqXHR.setRequestHeader("If-None-Match",jQuery.etag[cacheURL])),(s.data&&s.hasContent&&!1!==s.contentType||options.contentType)&&jqXHR.setRequestHeader("Content-Type",s.contentType),jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+("*"!==s.dataTypes[0]?", "+allTypes+"; q=0.01":""):s.accepts["*"]),s.headers)jqXHR.setRequestHeader(i,s.headers[i]);if(s.beforeSend&&(!1===s.beforeSend.call(callbackContext,jqXHR,s)||completed))return jqXHR.abort();if(strAbort="abort",completeDeferred.add(s.complete),jqXHR.done(s.success),jqXHR.fail(s.error),transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR)){if(jqXHR.readyState=1,fireGlobals&&globalEventContext.trigger("ajaxSend",[jqXHR,s]),completed)return jqXHR;s.async&&s.timeout>0&&(timeoutTimer=window.setTimeout((function(){jqXHR.abort("timeout")}),s.timeout));try{completed=!1,transport.send(requestHeaders,done)}catch(e){if(completed)throw e;done(-1,e)}}else done(-1,"No Transport");function done(status,nativeStatusText,responses,headers){var isSuccess,success,error,response,modified,statusText=nativeStatusText;completed||(completed=!0,timeoutTimer&&window.clearTimeout(timeoutTimer),transport=void 0,responseHeadersString=headers||"",jqXHR.readyState=status>0?4:0,isSuccess=status>=200&&status<300||304===status,responses&&(response=function ajaxHandleResponses(s,jqXHR,responses){for(var ct,type,finalDataType,firstDataType,contents=s.contents,dataTypes=s.dataTypes;"*"===dataTypes[0];)dataTypes.shift(),void 0===ct&&(ct=s.mimeType||jqXHR.getResponseHeader("Content-Type"));if(ct)for(type in contents)if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break}if(dataTypes[0]in responses)finalDataType=dataTypes[0];else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break}firstDataType||(firstDataType=type)}finalDataType=finalDataType||firstDataType}if(finalDataType)return finalDataType!==dataTypes[0]&&dataTypes.unshift(finalDataType),responses[finalDataType]}(s,jqXHR,responses)),response=function ajaxConvert(s,response,jqXHR,isSuccess){var conv2,current,conv,tmp,prev,converters={},dataTypes=s.dataTypes.slice();if(dataTypes[1])for(conv in s.converters)converters[conv.toLowerCase()]=s.converters[conv];for(current=dataTypes.shift();current;)if(s.responseFields[current]&&(jqXHR[s.responseFields[current]]=response),!prev&&isSuccess&&s.dataFilter&&(response=s.dataFilter(response,s.dataType)),prev=current,current=dataTypes.shift())if("*"===current)current=prev;else if("*"!==prev&&prev!==current){if(!(conv=converters[prev+" "+current]||converters["* "+current]))for(conv2 in converters)if((tmp=conv2.split(" "))[1]===current&&(conv=converters[prev+" "+tmp[0]]||converters["* "+tmp[0]])){!0===conv?conv=converters[conv2]:!0!==converters[conv2]&&(current=tmp[0],dataTypes.unshift(tmp[1]));break}if(!0!==conv)if(conv&&s.throws)response=conv(response);else try{response=conv(response)}catch(e){return{state:"parsererror",error:conv?e:"No conversion from "+prev+" to "+current}}}return{state:"success",data:response}}(s,response,jqXHR,isSuccess),isSuccess?(s.ifModified&&((modified=jqXHR.getResponseHeader("Last-Modified"))&&(jQuery.lastModified[cacheURL]=modified),(modified=jqXHR.getResponseHeader("etag"))&&(jQuery.etag[cacheURL]=modified)),204===status||"HEAD"===s.type?statusText="nocontent":304===status?statusText="notmodified":(statusText=response.state,success=response.data,isSuccess=!(error=response.error))):(error=statusText,!status&&statusText||(statusText="error",status<0&&(status=0))),jqXHR.status=status,jqXHR.statusText=(nativeStatusText||statusText)+"",isSuccess?deferred.resolveWith(callbackContext,[success,statusText,jqXHR]):deferred.rejectWith(callbackContext,[jqXHR,statusText,error]),jqXHR.statusCode(statusCode),statusCode=void 0,fireGlobals&&globalEventContext.trigger(isSuccess?"ajaxSuccess":"ajaxError",[jqXHR,s,isSuccess?success:error]),completeDeferred.fireWith(callbackContext,[jqXHR,statusText]),fireGlobals&&(globalEventContext.trigger("ajaxComplete",[jqXHR,s]),--jQuery.active||jQuery.event.trigger("ajaxStop")))}return jqXHR},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},getScript:function(url,callback){return jQuery.get(url,void 0,callback,"script")}}),jQuery.each(["get","post"],(function(i,method){jQuery[method]=function(url,data,callback,type){return isFunction(data)&&(type=type||callback,callback=data,data=void 0),jQuery.ajax(jQuery.extend({url:url,type:method,dataType:type,data:data,success:callback},jQuery.isPlainObject(url)&&url))}})),jQuery._evalUrl=function(url){return jQuery.ajax({url:url,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},jQuery.fn.extend({wrapAll:function(html){var wrap;return this[0]&&(isFunction(html)&&(html=html.call(this[0])),wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&wrap.insertBefore(this[0]),wrap.map((function(){for(var elem=this;elem.firstElementChild;)elem=elem.firstElementChild;return elem})).append(this)),this},wrapInner:function(html){return isFunction(html)?this.each((function(i){jQuery(this).wrapInner(html.call(this,i))})):this.each((function(){var self=jQuery(this),contents=self.contents();contents.length?contents.wrapAll(html):self.append(html)}))},wrap:function(html){var htmlIsFunction=isFunction(html);return this.each((function(i){jQuery(this).wrapAll(htmlIsFunction?html.call(this,i):html)}))},unwrap:function(selector){return this.parent(selector).not("body").each((function(){jQuery(this).replaceWith(this.childNodes)})),this}}),jQuery.expr.pseudos.hidden=function(elem){return!jQuery.expr.pseudos.visible(elem)},jQuery.expr.pseudos.visible=function(elem){return!!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length)},jQuery.ajaxSettings.xhr=function(){try{return new window.XMLHttpRequest}catch(e){}};var xhrSuccessStatus={0:200,1223:204},xhrSupported=jQuery.ajaxSettings.xhr();support.cors=!!xhrSupported&&"withCredentials"in xhrSupported,support.ajax=xhrSupported=!!xhrSupported,jQuery.ajaxTransport((function(options){var callback,errorCallback;if(support.cors||xhrSupported&&!options.crossDomain)return{send:function(headers,complete){var i,xhr=options.xhr();if(xhr.open(options.type,options.url,options.async,options.username,options.password),options.xhrFields)for(i in options.xhrFields)xhr[i]=options.xhrFields[i];for(i in options.mimeType&&xhr.overrideMimeType&&xhr.overrideMimeType(options.mimeType),options.crossDomain||headers["X-Requested-With"]||(headers["X-Requested-With"]="XMLHttpRequest"),headers)xhr.setRequestHeader(i,headers[i]);callback=function(type){return function(){callback&&(callback=errorCallback=xhr.onload=xhr.onerror=xhr.onabort=xhr.ontimeout=xhr.onreadystatechange=null,"abort"===type?xhr.abort():"error"===type?"number"!=typeof xhr.status?complete(0,"error"):complete(xhr.status,xhr.statusText):complete(xhrSuccessStatus[xhr.status]||xhr.status,xhr.statusText,"text"!==(xhr.responseType||"text")||"string"!=typeof xhr.responseText?{binary:xhr.response}:{text:xhr.responseText},xhr.getAllResponseHeaders()))}},xhr.onload=callback(),errorCallback=xhr.onerror=xhr.ontimeout=callback("error"),void 0!==xhr.onabort?xhr.onabort=errorCallback:xhr.onreadystatechange=function(){4===xhr.readyState&&window.setTimeout((function(){callback&&errorCallback()}))},callback=callback("abort");try{xhr.send(options.hasContent&&options.data||null)}catch(e){if(callback)throw e}},abort:function(){callback&&callback()}}})),jQuery.ajaxPrefilter((function(s){s.crossDomain&&(s.contents.script=!1)})),jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(text){return jQuery.globalEval(text),text}}}),jQuery.ajaxPrefilter("script",(function(s){void 0===s.cache&&(s.cache=!1),s.crossDomain&&(s.type="GET")})),jQuery.ajaxTransport("script",(function(s){var script,callback;if(s.crossDomain)return{send:function(_,complete){script=jQuery("<script>").prop({charset:s.scriptCharset,src:s.url}).on("load error",callback=function(evt){script.remove(),callback=null,evt&&complete("error"===evt.type?404:200,evt.type)}),document.head.appendChild(script[0])},abort:function(){callback&&callback()}}}));var body,oldCallbacks=[],rjsonp=/(=)\?(?=&|$)|\?\?/;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var callback=oldCallbacks.pop()||jQuery.expando+"_"+nonce++;return this[callback]=!0,callback}}),jQuery.ajaxPrefilter("json jsonp",(function(s,originalSettings,jqXHR){var callbackName,overwritten,responseContainer,jsonProp=!1!==s.jsonp&&(rjsonp.test(s.url)?"url":"string"==typeof s.data&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&rjsonp.test(s.data)&&"data");if(jsonProp||"jsonp"===s.dataTypes[0])return callbackName=s.jsonpCallback=isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,jsonProp?s[jsonProp]=s[jsonProp].replace(rjsonp,"$1"+callbackName):!1!==s.jsonp&&(s.url+=(rquery.test(s.url)?"&":"?")+s.jsonp+"="+callbackName),s.converters["script json"]=function(){return responseContainer||jQuery.error(callbackName+" was not called"),responseContainer[0]},s.dataTypes[0]="json",overwritten=window[callbackName],window[callbackName]=function(){responseContainer=arguments},jqXHR.always((function(){void 0===overwritten?jQuery(window).removeProp(callbackName):window[callbackName]=overwritten,s[callbackName]&&(s.jsonpCallback=originalSettings.jsonpCallback,oldCallbacks.push(callbackName)),responseContainer&&isFunction(overwritten)&&overwritten(responseContainer[0]),responseContainer=overwritten=void 0})),"script"})),support.createHTMLDocument=((body=document.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===body.childNodes.length),jQuery.parseHTML=function(data,context,keepScripts){return"string"!=typeof data?[]:("boolean"==typeof context&&(keepScripts=context,context=!1),context||(support.createHTMLDocument?((base=(context=document.implementation.createHTMLDocument("")).createElement("base")).href=document.location.href,context.head.appendChild(base)):context=document),scripts=!keepScripts&&[],(parsed=rsingleTag.exec(data))?[context.createElement(parsed[1])]:(parsed=buildFragment([data],context,scripts),scripts&&scripts.length&&jQuery(scripts).remove(),jQuery.merge([],parsed.childNodes)));var base,parsed,scripts},jQuery.fn.load=function(url,params,callback){var selector,type,response,self=this,off=url.indexOf(" ");return off>-1&&(selector=stripAndCollapse(url.slice(off)),url=url.slice(0,off)),isFunction(params)?(callback=params,params=void 0):params&&"object"==typeof params&&(type="POST"),self.length>0&&jQuery.ajax({url:url,type:type||"GET",dataType:"html",data:params}).done((function(responseText){response=arguments,self.html(selector?jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector):responseText)})).always(callback&&function(jqXHR,status){self.each((function(){callback.apply(this,response||[jqXHR.responseText,status,jqXHR])}))}),this},jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(i,type){jQuery.fn[type]=function(fn){return this.on(type,fn)}})),jQuery.expr.pseudos.animated=function(elem){return jQuery.grep(jQuery.timers,(function(fn){return elem===fn.elem})).length},jQuery.offset={setOffset:function(elem,options,i){var curPosition,curLeft,curCSSTop,curTop,curOffset,curCSSLeft,position=jQuery.css(elem,"position"),curElem=jQuery(elem),props={};"static"===position&&(elem.style.position="relative"),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),("absolute"===position||"fixed"===position)&&(curCSSTop+curCSSLeft).indexOf("auto")>-1?(curTop=(curPosition=curElem.position()).top,curLeft=curPosition.left):(curTop=parseFloat(curCSSTop)||0,curLeft=parseFloat(curCSSLeft)||0),isFunction(options)&&(options=options.call(elem,i,jQuery.extend({},curOffset))),null!=options.top&&(props.top=options.top-curOffset.top+curTop),null!=options.left&&(props.left=options.left-curOffset.left+curLeft),"using"in options?options.using.call(elem,props):curElem.css(props)}},jQuery.fn.extend({offset:function(options){if(arguments.length)return void 0===options?this:this.each((function(i){jQuery.offset.setOffset(this,options,i)}));var rect,win,elem=this[0];return elem?elem.getClientRects().length?(rect=elem.getBoundingClientRect(),win=elem.ownerDocument.defaultView,{top:rect.top+win.pageYOffset,left:rect.left+win.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var offsetParent,offset,doc,elem=this[0],parentOffset={top:0,left:0};if("fixed"===jQuery.css(elem,"position"))offset=elem.getBoundingClientRect();else{for(offset=this.offset(),doc=elem.ownerDocument,offsetParent=elem.offsetParent||doc.documentElement;offsetParent&&(offsetParent===doc.body||offsetParent===doc.documentElement)&&"static"===jQuery.css(offsetParent,"position");)offsetParent=offsetParent.parentNode;offsetParent&&offsetParent!==elem&&1===offsetParent.nodeType&&((parentOffset=jQuery(offsetParent).offset()).top+=jQuery.css(offsetParent,"borderTopWidth",!0),parentOffset.left+=jQuery.css(offsetParent,"borderLeftWidth",!0))}return{top:offset.top-parentOffset.top-jQuery.css(elem,"marginTop",!0),left:offset.left-parentOffset.left-jQuery.css(elem,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var offsetParent=this.offsetParent;offsetParent&&"static"===jQuery.css(offsetParent,"position");)offsetParent=offsetParent.offsetParent;return offsetParent||documentElement}))}}),jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(method,prop){var top="pageYOffset"===prop;jQuery.fn[method]=function(val){return access(this,(function(elem,method,val){var win;if(isWindow(elem)?win=elem:9===elem.nodeType&&(win=elem.defaultView),void 0===val)return win?win[prop]:elem[method];win?win.scrollTo(top?win.pageXOffset:val,top?val:win.pageYOffset):elem[method]=val}),method,val,arguments.length)}})),jQuery.each(["top","left"],(function(i,prop){jQuery.cssHooks[prop]=addGetHookIf(support.pixelPosition,(function(elem,computed){if(computed)return computed=curCSS(elem,prop),rnumnonpx.test(computed)?jQuery(elem).position()[prop]+"px":computed}))})),jQuery.each({Height:"height",Width:"width"},(function(name,type){jQuery.each({padding:"inner"+name,content:type,"":"outer"+name},(function(defaultExtra,funcName){jQuery.fn[funcName]=function(margin,value){var chainable=arguments.length&&(defaultExtra||"boolean"!=typeof margin),extra=defaultExtra||(!0===margin||!0===value?"margin":"border");return access(this,(function(elem,type,value){var doc;return isWindow(elem)?0===funcName.indexOf("outer")?elem["inner"+name]:elem.document.documentElement["client"+name]:9===elem.nodeType?(doc=elem.documentElement,Math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name])):void 0===value?jQuery.css(elem,type,extra):jQuery.style(elem,type,value,extra)}),type,chainable?margin:void 0,chainable)}}))})),jQuery.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(i,name){jQuery.fn[name]=function(data,fn){return arguments.length>0?this.on(name,null,data,fn):this.trigger(name)}})),jQuery.fn.extend({hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver)}}),jQuery.fn.extend({bind:function(types,data,fn){return this.on(types,null,data,fn)},unbind:function(types,fn){return this.off(types,null,fn)},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn)},undelegate:function(selector,types,fn){return 1===arguments.length?this.off(selector,"**"):this.off(types,selector||"**",fn)}}),jQuery.proxy=function(fn,context){var tmp,args,proxy;if("string"==typeof context&&(tmp=fn[context],context=fn,fn=tmp),isFunction(fn))return args=slice.call(arguments,2),(proxy=function(){return fn.apply(context||this,args.concat(slice.call(arguments)))}).guid=fn.guid=fn.guid||jQuery.guid++,proxy},jQuery.holdReady=function(hold){hold?jQuery.readyWait++:jQuery.ready(!0)},jQuery.isArray=Array.isArray,jQuery.parseJSON=JSON.parse,jQuery.nodeName=nodeName,jQuery.isFunction=isFunction,jQuery.isWindow=isWindow,jQuery.camelCase=camelCase,jQuery.type=toType,jQuery.now=Date.now,jQuery.isNumeric=function(obj){var type=jQuery.type(obj);return("number"===type||"string"===type)&&!isNaN(obj-parseFloat(obj))},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return jQuery}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__);var _jQuery=window.jQuery,_$=window.$;return jQuery.noConflict=function(deep){return window.$===jQuery&&(window.$=_$),deep&&window.jQuery===jQuery&&(window.jQuery=_jQuery),jQuery},noGlobal||(window.jQuery=window.$=jQuery),jQuery}))},EWmC:function(module,exports,__webpack_require__){var cof=__webpack_require__("LZWt");module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},EemH:function(module,exports,__webpack_require__){var pIE=__webpack_require__("UqcF"),createDesc=__webpack_require__("RjD/"),toIObject=__webpack_require__("aCFj"),toPrimitive=__webpack_require__("apmT"),has=__webpack_require__("aagx"),IE8_DOM_DEFINE=__webpack_require__("xpql"),gOPD=Object.getOwnPropertyDescriptor;exports.f=__webpack_require__("nh4g")?gOPD:function getOwnPropertyDescriptor(O,P){if(O=toIObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},Em2t:function(module,exports,__webpack_require__){var asciiToArray=__webpack_require__("bahg"),hasUnicode=__webpack_require__("quyA"),unicodeToArray=__webpack_require__("0JQy");module.exports=function stringToArray(string){return hasUnicode(string)?unicodeToArray(string):asciiToArray(string)}},Ep44:function(module,exports){},EpBk:function(module,exports){module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},ExA7:function(module,exports){module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"F/6a":function(module,exports,__webpack_require__){"use strict";var StringReader=__webpack_require__("LrR4"),utils=__webpack_require__("9aYe"),CompressedObject=__webpack_require__("VJTW"),jszipProto=__webpack_require__("tkqm");function ZipEntry(options,loadOptions){this.options=options,this.loadOptions=loadOptions}ZipEntry.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(reader,from,length){return function(){var previousIndex=reader.index;reader.setIndex(from);var compressedFileData=reader.readData(length);return reader.setIndex(previousIndex),compressedFileData}},prepareContent:function(reader,from,length,compression,uncompressedSize){return function(){var compressedFileData=utils.transformTo(compression.uncompressInputType,this.getCompressedContent()),uncompressedFileData=compression.uncompress(compressedFileData);if(uncompressedFileData.length!==uncompressedSize)throw new Error("Bug : uncompressed data size mismatch");return uncompressedFileData}},readLocalPart:function(reader){var compression,localExtraFieldsLength;if(reader.skip(22),this.fileNameLength=reader.readInt(2),localExtraFieldsLength=reader.readInt(2),this.fileName=reader.readString(this.fileNameLength),reader.skip(localExtraFieldsLength),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(compression=utils.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+utils.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new CompressedObject,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(reader,reader.index,this.compressedSize,compression),this.decompressed.getContent=this.prepareContent(reader,reader.index,this.compressedSize,compression,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=utils.transformTo("string",this.decompressed.getContent()),jszipProto.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(reader){if(this.versionMadeBy=reader.readString(2),this.versionNeeded=reader.readInt(2),this.bitFlag=reader.readInt(2),this.compressionMethod=reader.readString(2),this.date=reader.readDate(),this.crc32=reader.readInt(4),this.compressedSize=reader.readInt(4),this.uncompressedSize=reader.readInt(4),this.fileNameLength=reader.readInt(2),this.extraFieldsLength=reader.readInt(2),this.fileCommentLength=reader.readInt(2),this.diskNumberStart=reader.readInt(2),this.internalFileAttributes=reader.readInt(2),this.externalFileAttributes=reader.readInt(4),this.localHeaderOffset=reader.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=reader.readString(this.fileNameLength),this.readExtraFields(reader),this.parseZIP64ExtraField(reader),this.fileComment=reader.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(reader){if(this.extraFields[1]){var extraReader=new StringReader(this.extraFields[1].value);this.uncompressedSize===utils.MAX_VALUE_32BITS&&(this.uncompressedSize=extraReader.readInt(8)),this.compressedSize===utils.MAX_VALUE_32BITS&&(this.compressedSize=extraReader.readInt(8)),this.localHeaderOffset===utils.MAX_VALUE_32BITS&&(this.localHeaderOffset=extraReader.readInt(8)),this.diskNumberStart===utils.MAX_VALUE_32BITS&&(this.diskNumberStart=extraReader.readInt(4))}},readExtraFields:function(reader){var extraFieldId,extraFieldLength,extraFieldValue,start=reader.index;for(this.extraFields=this.extraFields||{};reader.index<start+this.extraFieldsLength;)extraFieldId=reader.readInt(2),extraFieldLength=reader.readInt(2),extraFieldValue=reader.readString(extraFieldLength),this.extraFields[extraFieldId]={id:extraFieldId,length:extraFieldLength,value:extraFieldValue}},handleUTF8:function(){if(this.useUTF8())this.fileName=jszipProto.utf8decode(this.fileName),this.fileComment=jszipProto.utf8decode(this.fileComment);else{var upath=this.findExtraFieldUnicodePath();null!==upath&&(this.fileName=upath);var ucomment=this.findExtraFieldUnicodeComment();null!==ucomment&&(this.fileComment=ucomment)}},findExtraFieldUnicodePath:function(){var upathField=this.extraFields[28789];if(upathField){var extraReader=new StringReader(upathField.value);return 1!==extraReader.readInt(1)||jszipProto.crc32(this.fileName)!==extraReader.readInt(4)?null:jszipProto.utf8decode(extraReader.readString(upathField.length-5))}return null},findExtraFieldUnicodeComment:function(){var ucommentField=this.extraFields[25461];if(ucommentField){var extraReader=new StringReader(ucommentField.value);return 1!==extraReader.readInt(1)||jszipProto.crc32(this.fileComment)!==extraReader.readInt(4)?null:jszipProto.utf8decode(extraReader.readString(ucommentField.length-5))}return null}},module.exports=ZipEntry},FEjr:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("strike",(function(createHTML){return function strike(){return createHTML(this,"strike","","")}}))},FJW5:function(module,exports,__webpack_require__){var dP=__webpack_require__("hswa"),anObject=__webpack_require__("y3w9"),getKeys=__webpack_require__("DVgA");module.exports=__webpack_require__("nh4g")?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var P,keys=getKeys(Properties),length=keys.length,i=0;length>i;)dP.f(O,P=keys[i++],Properties[P]);return O}},FLlr:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.P,"String",{repeat:__webpack_require__("l0Rn")})},FfBw:function(module,exports){"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}},FlsD:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");__webpack_require__("Xtr8")("isExtensible",(function($isExtensible){return function isExtensible(it){return!!isObject(it)&&(!$isExtensible||$isExtensible(it))}}))},"G+7/":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Result}));var LoyaltyDialogResults,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("pVnL"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_ori_events_add_to_basket__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("VaRQ");!function(LoyaltyDialogResults){LoyaltyDialogResults.CLOSE="CLOSE"}(LoyaltyDialogResults||(LoyaltyDialogResults={}));var Result=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},_ori_events_add_to_basket__WEBPACK_IMPORTED_MODULE_1__.a,LoyaltyDialogResults)},GRGr:function(module,exports,__webpack_require__){"use strict";(function(global){(function(){Object.defineProperty(exports,"__esModule",{value:!0});var firstCallbackNode=null,currentDidTimeout=!1,currentPriorityLevel=3,currentEventStartTime=-1,currentExpirationTime=-1,isExecutingCallback=!1,isHostCallbackScheduled=!1,hasNativePerformanceNow="object"==typeof performance&&"function"==typeof performance.now;function ensureHostCallbackIsScheduled(){if(!isExecutingCallback){var expirationTime=firstCallbackNode.expirationTime;isHostCallbackScheduled?cancelHostCallback():isHostCallbackScheduled=!0,requestHostCallback(flushWork,expirationTime)}}function flushFirstCallback(){var flushedNode=firstCallbackNode,next=firstCallbackNode.next;if(firstCallbackNode===next)firstCallbackNode=null,next=null;else{var lastCallbackNode=firstCallbackNode.previous;firstCallbackNode=lastCallbackNode.next=next,next.previous=lastCallbackNode}flushedNode.next=flushedNode.previous=null;var continuationCallback,callback=flushedNode.callback,expirationTime=flushedNode.expirationTime,priorityLevel=flushedNode.priorityLevel,previousPriorityLevel=currentPriorityLevel,previousExpirationTime=currentExpirationTime;currentPriorityLevel=priorityLevel,currentExpirationTime=expirationTime;try{continuationCallback=callback()}finally{currentPriorityLevel=previousPriorityLevel,currentExpirationTime=previousExpirationTime}if("function"==typeof continuationCallback){var continuationNode={callback:continuationCallback,priorityLevel:priorityLevel,expirationTime:expirationTime,next:null,previous:null};if(null===firstCallbackNode)firstCallbackNode=continuationNode.next=continuationNode.previous=continuationNode;else{var nextAfterContinuation=null,node=firstCallbackNode;do{if(node.expirationTime>=expirationTime){nextAfterContinuation=node;break}node=node.next}while(node!==firstCallbackNode);null===nextAfterContinuation?nextAfterContinuation=firstCallbackNode:nextAfterContinuation===firstCallbackNode&&(firstCallbackNode=continuationNode,ensureHostCallbackIsScheduled());var previous=nextAfterContinuation.previous;previous.next=nextAfterContinuation.previous=continuationNode,continuationNode.next=nextAfterContinuation,continuationNode.previous=previous}}}function flushImmediateWork(){if(-1===currentEventStartTime&&null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel){isExecutingCallback=!0;try{do{flushFirstCallback()}while(null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel)}finally{isExecutingCallback=!1,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1}}}function flushWork(didTimeout){isExecutingCallback=!0;var previousDidTimeout=currentDidTimeout;currentDidTimeout=didTimeout;try{if(didTimeout)for(;null!==firstCallbackNode;){var currentTime=exports.unstable_now();if(!(firstCallbackNode.expirationTime<=currentTime))break;do{flushFirstCallback()}while(null!==firstCallbackNode&&firstCallbackNode.expirationTime<=currentTime)}else if(null!==firstCallbackNode)do{flushFirstCallback()}while(null!==firstCallbackNode&&!shouldYieldToHost())}finally{isExecutingCallback=!1,currentDidTimeout=previousDidTimeout,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1,flushImmediateWork()}}var rAFID,rAFTimeoutID,requestHostCallback,cancelHostCallback,shouldYieldToHost,localDate=Date,localSetTimeout="function"==typeof setTimeout?setTimeout:void 0,localClearTimeout="function"==typeof clearTimeout?clearTimeout:void 0,localRequestAnimationFrame="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,localCancelAnimationFrame="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0,requestAnimationFrameWithTimeout=function(callback){rAFID=localRequestAnimationFrame((function(timestamp){localClearTimeout(rAFTimeoutID),callback(timestamp)})),rAFTimeoutID=localSetTimeout((function(){localCancelAnimationFrame(rAFID),callback(exports.unstable_now())}),100)};if(hasNativePerformanceNow){var Performance=performance;exports.unstable_now=function(){return Performance.now()}}else exports.unstable_now=function(){return localDate.now()};var globalValue=null;if("undefined"!=typeof window?globalValue=window:void 0!==global&&(globalValue=global),globalValue&&globalValue._schedMock){var globalImpl=globalValue._schedMock;requestHostCallback=globalImpl[0],cancelHostCallback=globalImpl[1],shouldYieldToHost=globalImpl[2],exports.unstable_now=globalImpl[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var _callback=null,_flushCallback=function(didTimeout){if(null!==_callback)try{_callback(didTimeout)}finally{_callback=null}};requestHostCallback=function(cb,ms){null!==_callback?setTimeout(requestHostCallback,0,cb):(_callback=cb,setTimeout(_flushCallback,0,!1))},cancelHostCallback=function(){_callback=null},shouldYieldToHost=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof localRequestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof localCancelAnimationFrame&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var scheduledHostCallback=null,isMessageEventScheduled=!1,timeoutTime=-1,isAnimationFrameScheduled=!1,isFlushingHostCallback=!1,frameDeadline=0,previousFrameTime=33,activeFrameTime=33;shouldYieldToHost=function(){return frameDeadline<=exports.unstable_now()};var channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=function(event){isMessageEventScheduled=!1;var prevScheduledCallback=scheduledHostCallback,prevTimeoutTime=timeoutTime;scheduledHostCallback=null,timeoutTime=-1;var currentTime=exports.unstable_now(),didTimeout=!1;if(frameDeadline-currentTime<=0){if(!(-1!==prevTimeoutTime&&prevTimeoutTime<=currentTime))return isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrameWithTimeout(animationTick)),scheduledHostCallback=prevScheduledCallback,void(timeoutTime=prevTimeoutTime);didTimeout=!0}if(null!==prevScheduledCallback){isFlushingHostCallback=!0;try{prevScheduledCallback(didTimeout)}finally{isFlushingHostCallback=!1}}};var animationTick=function(rafTime){if(null!==scheduledHostCallback){requestAnimationFrameWithTimeout(animationTick);var nextFrameTime=rafTime-frameDeadline+activeFrameTime;nextFrameTime<activeFrameTime&&previousFrameTime<activeFrameTime?(nextFrameTime<8&&(nextFrameTime=8),activeFrameTime=nextFrameTime<previousFrameTime?previousFrameTime:nextFrameTime):previousFrameTime=nextFrameTime,frameDeadline=rafTime+activeFrameTime,isMessageEventScheduled||(isMessageEventScheduled=!0,port.postMessage(void 0))}else isAnimationFrameScheduled=!1};requestHostCallback=function(callback,absoluteTimeout){scheduledHostCallback=callback,timeoutTime=absoluteTimeout,isFlushingHostCallback||absoluteTimeout<0?port.postMessage(void 0):isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrameWithTimeout(animationTick))},cancelHostCallback=function(){scheduledHostCallback=null,isMessageEventScheduled=!1,timeoutTime=-1}}exports.unstable_ImmediatePriority=1,exports.unstable_UserBlockingPriority=2,exports.unstable_NormalPriority=3,exports.unstable_IdlePriority=5,exports.unstable_LowPriority=4,exports.unstable_runWithPriority=function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case 1:case 2:case 3:case 4:case 5:break;default:priorityLevel=3}var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=priorityLevel,currentEventStartTime=exports.unstable_now();try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}},exports.unstable_scheduleCallback=function unstable_scheduleCallback(callback,deprecated_options){var expirationTime,startTime=-1!==currentEventStartTime?currentEventStartTime:exports.unstable_now();if("object"==typeof deprecated_options&&null!==deprecated_options&&"number"==typeof deprecated_options.timeout)expirationTime=startTime+deprecated_options.timeout;else switch(currentPriorityLevel){case 1:expirationTime=startTime+-1;break;case 2:expirationTime=startTime+250;break;case 5:expirationTime=startTime+1073741823;break;case 4:expirationTime=startTime+1e4;break;case 3:default:expirationTime=startTime+5e3}var newNode={callback:callback,priorityLevel:currentPriorityLevel,expirationTime:expirationTime,next:null,previous:null};if(null===firstCallbackNode)firstCallbackNode=newNode.next=newNode.previous=newNode,ensureHostCallbackIsScheduled();else{var next=null,node=firstCallbackNode;do{if(node.expirationTime>expirationTime){next=node;break}node=node.next}while(node!==firstCallbackNode);null===next?next=firstCallbackNode:next===firstCallbackNode&&(firstCallbackNode=newNode,ensureHostCallbackIsScheduled());var previous=next.previous;previous.next=next.previous=newNode,newNode.next=next,newNode.previous=previous}return newNode},exports.unstable_cancelCallback=function unstable_cancelCallback(callbackNode){var next=callbackNode.next;if(null!==next){if(next===callbackNode)firstCallbackNode=null;else{callbackNode===firstCallbackNode&&(firstCallbackNode=next);var previous=callbackNode.previous;previous.next=next,next.previous=previous}callbackNode.next=callbackNode.previous=null}},exports.unstable_wrapCallback=function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=parentPriorityLevel,currentEventStartTime=exports.unstable_now();try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}},exports.unstable_getCurrentPriorityLevel=function unstable_getCurrentPriorityLevel(){return currentPriorityLevel},exports.unstable_shouldYield=function unstable_shouldYield(){return!currentDidTimeout&&(null!==firstCallbackNode&&firstCallbackNode.expirationTime<currentExpirationTime||shouldYieldToHost())}})()}).call(this,__webpack_require__("yLpj"))},GYWy:function(module,exports,__webpack_require__){(function(module,global){var __WEBPACK_AMD_DEFINE_RESULT__;!function(root){exports&&exports.nodeType,module&&module.nodeType;var freeGlobal="object"==typeof global&&global;freeGlobal.global!==freeGlobal&&freeGlobal.window!==freeGlobal&&freeGlobal.self;var punycode,maxInt=2147483647,regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(type){throw new RangeError(errors[type])}function map(array,fn){for(var length=array.length,result=[];length--;)result[length]=fn(array[length]);return result}function mapDomain(string,fn){var parts=string.split("@"),result="";return parts.length>1&&(result=parts[0]+"@",string=parts[1]),result+map((string=string.replace(regexSeparators,".")).split("."),fn).join(".")}function ucs2decode(string){for(var value,extra,output=[],counter=0,length=string.length;counter<length;)(value=string.charCodeAt(counter++))>=55296&&value<=56319&&counter<length?56320==(64512&(extra=string.charCodeAt(counter++)))?output.push(((1023&value)<<10)+(1023&extra)+65536):(output.push(value),counter--):output.push(value);return output}function ucs2encode(array){return map(array,(function(value){var output="";return value>65535&&(output+=stringFromCharCode((value-=65536)>>>10&1023|55296),value=56320|1023&value),output+=stringFromCharCode(value)})).join("")}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((0!=flag)<<5)}function adapt(delta,numPoints,firstTime){var k=0;for(delta=firstTime?floor(delta/700):delta>>1,delta+=floor(delta/numPoints);delta>455;k+=36)delta=floor(delta/35);return floor(k+36*delta/(delta+38))}function decode(input){var out,basic,j,index,oldi,w,k,digit,t,baseMinusT,codePoint,output=[],inputLength=input.length,i=0,n=128,bias=72;for((basic=input.lastIndexOf("-"))<0&&(basic=0),j=0;j<basic;++j)input.charCodeAt(j)>=128&&error("not-basic"),output.push(input.charCodeAt(j));for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=36;index>=inputLength&&error("invalid-input"),((digit=(codePoint=input.charCodeAt(index++))-48<10?codePoint-22:codePoint-65<26?codePoint-65:codePoint-97<26?codePoint-97:36)>=36||digit>floor((maxInt-i)/w))&&error("overflow"),i+=digit*w,!(digit<(t=k<=bias?1:k>=bias+26?26:k-bias));k+=36)w>floor(maxInt/(baseMinusT=36-t))&&error("overflow"),w*=baseMinusT;bias=adapt(i-oldi,out=output.length+1,0==oldi),floor(i/out)>maxInt-n&&error("overflow"),n+=floor(i/out),i%=out,output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,inputLength,handledCPCountPlusOne,baseMinusT,qMinusT,output=[];for(inputLength=(input=ucs2decode(input)).length,n=128,delta=0,bias=72,j=0;j<inputLength;++j)(currentValue=input[j])<128&&output.push(stringFromCharCode(currentValue));for(handledCPCount=basicLength=output.length,basicLength&&output.push("-");handledCPCount<inputLength;){for(m=maxInt,j=0;j<inputLength;++j)(currentValue=input[j])>=n&&currentValue<m&&(m=currentValue);for(m-n>floor((maxInt-delta)/(handledCPCountPlusOne=handledCPCount+1))&&error("overflow"),delta+=(m-n)*handledCPCountPlusOne,n=m,j=0;j<inputLength;++j)if((currentValue=input[j])<n&&++delta>maxInt&&error("overflow"),currentValue==n){for(q=delta,k=36;!(q<(t=k<=bias?1:k>=bias+26?26:k-bias));k+=36)qMinusT=q-t,baseMinusT=36-t,output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0))),q=floor(qMinusT/baseMinusT);output.push(stringFromCharCode(digitToBasic(q,0))),bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength),delta=0,++handledCPCount}++delta,++n}return output.join("")}punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:function toASCII(input){return mapDomain(input,(function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string}))},toUnicode:function toUnicode(input){return mapDomain(input,(function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string}))}},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return punycode}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()}).call(this,__webpack_require__("YuTi")(module),__webpack_require__("yLpj"))},GZEu:function(module,exports,__webpack_require__){var defer,channel,port,ctx=__webpack_require__("m0Pp"),invoke=__webpack_require__("MfQN"),html=__webpack_require__("+rLv"),cel=__webpack_require__("Iw71"),global=__webpack_require__("dyZX"),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,counter=0,queue={},run=function(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id],fn()}},listener=function(event){run.call(event.data)};setTask&&clearTask||(setTask=function setImmediate(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);return queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)},defer(counter),counter},clearTask=function clearImmediate(id){delete queue[id]},"process"==__webpack_require__("LZWt")(process)?defer=function(id){process.nextTick(ctx(run,id,1))}:Dispatch&&Dispatch.now?defer=function(id){Dispatch.now(ctx(run,id,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=ctx(port.postMessage,port,1)):global.addEventListener&&"function"==typeof postMessage&&!global.importScripts?(defer=function(id){global.postMessage(id+"","*")},global.addEventListener("message",listener,!1)):defer="onreadystatechange"in cel("script")?function(id){html.appendChild(cel("script")).onreadystatechange=function(){html.removeChild(this),run.call(id)}}:function(id){setTimeout(ctx(run,id,1),0)}),module.exports={set:setTask,clear:clearTask}},GkZE:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),"function"==typeof Symbol&&Symbol.iterator,Object.defineProperty,Object.getPrototypeOf},GoyQ:function(module,exports){module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},GxwZ:function(module,exports,__webpack_require__){(function(global){var factory;factory=function(){"use strict";var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(fn,module){return fn(module={exports:{}},module.exports),module.exports}var set,get,has$1,O="object",check=function(it){return it&&it.Math==Math&&it},global_1=check(typeof globalThis==O&&globalThis)||check(typeof window==O&&window)||check(typeof self==O&&self)||check(typeof commonjsGlobal==O&&commonjsGlobal)||Function("return this")(),fails=function(exec){try{return!!exec()}catch(error){return!0}},descriptors=!fails((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),nativePropertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,objectPropertyIsEnumerable={f:getOwnPropertyDescriptor&&!nativePropertyIsEnumerable.call({1:2},1)?function propertyIsEnumerable(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:nativePropertyIsEnumerable},createPropertyDescriptor=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}},toString={}.toString,classofRaw=function(it){return toString.call(it).slice(8,-1)},split="".split,indexedObject=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classofRaw(it)?split.call(it,""):Object(it)}:Object,requireObjectCoercible=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it},toIndexedObject=function(it){return indexedObject(requireObjectCoercible(it))},isObject=function(it){return"object"==typeof it?null!==it:"function"==typeof it},toPrimitive=function(input,PREFERRED_STRING){if(!isObject(input))return input;var fn,val;if(PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;if("function"==typeof(fn=input.valueOf)&&!isObject(val=fn.call(input)))return val;if(!PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;throw TypeError("Can't convert object to primitive value")},hasOwnProperty={}.hasOwnProperty,has=function(it,key){return hasOwnProperty.call(it,key)},document$1=global_1.document,EXISTS=isObject(document$1)&&isObject(document$1.createElement),documentCreateElement=function(it){return EXISTS?document$1.createElement(it):{}},ie8DomDefine=!descriptors&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),nativeGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,objectGetOwnPropertyDescriptor={f:descriptors?nativeGetOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPrimitive(P,!0),ie8DomDefine)try{return nativeGetOwnPropertyDescriptor(O,P)}catch(error){}if(has(O,P))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O,P),O[P])}},anObject=function(it){if(!isObject(it))throw TypeError(String(it)+" is not an object");return it},nativeDefineProperty=Object.defineProperty,objectDefineProperty={f:descriptors?nativeDefineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),ie8DomDefine)try{return nativeDefineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},hide=descriptors?function(object,key,value){return objectDefineProperty.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object},setGlobal=function(key,value){try{hide(global_1,key,value)}catch(error){global_1[key]=value}return value},shared=createCommonjsModule((function(module){var store=global_1["__core-js_shared__"]||setGlobal("__core-js_shared__",{});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),functionToString=shared("native-function-to-string",Function.toString),WeakMap$1=global_1.WeakMap,nativeWeakMap="function"==typeof WeakMap$1&&/native code/.test(functionToString.call(WeakMap$1)),id=0,postfix=Math.random(),uid=function(key){return"Symbol("+String(void 0===key?"":key)+")_"+(++id+postfix).toString(36)},keys=shared("keys"),sharedKey=function(key){return keys[key]||(keys[key]=uid(key))},hiddenKeys={},WeakMap$2=global_1.WeakMap;if(nativeWeakMap){var store=new WeakMap$2,wmget=store.get,wmhas=store.has,wmset=store.set;set=function(it,metadata){return wmset.call(store,it,metadata),metadata},get=function(it){return wmget.call(store,it)||{}},has$1=function(it){return wmhas.call(store,it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){return hide(it,STATE,metadata),metadata},get=function(it){return has(it,STATE)?it[STATE]:{}},has$1=function(it){return has(it,STATE)}}var internalState={set:set,get:get,has:has$1,enforce:function(it){return has$1(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}},redefine=createCommonjsModule((function(module){var getInternalState=internalState.get,enforceInternalState=internalState.enforce,TEMPLATE=String(functionToString).split("toString");shared("inspectSource",(function(it){return functionToString.call(it)})),(module.exports=function(O,key,value,options){var unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet;"function"==typeof value&&("string"!=typeof key||has(value,"name")||hide(value,"name",key),enforceInternalState(value).source=TEMPLATE.join("string"==typeof key?key:"")),O!==global_1?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:hide(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&getInternalState(this).source||functionToString.call(this)}))})),path=global_1,aFunction=function(variable){return"function"==typeof variable?variable:void 0},getBuiltIn=function(namespace,method){return arguments.length<2?aFunction(path[namespace])||aFunction(global_1[namespace]):path[namespace]&&path[namespace][method]||global_1[namespace]&&global_1[namespace][method]},ceil=Math.ceil,floor=Math.floor,toInteger=function(argument){return isNaN(argument=+argument)?0:(argument>0?floor:ceil)(argument)},min=Math.min,toLength=function(argument){return argument>0?min(toInteger(argument),9007199254740991):0},max=Math.max,min$1=Math.min,createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=toLength(O.length),index=function(index,length){var integer=toInteger(index);return integer<0?max(integer+length,0):min$1(integer,length)}(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}},indexOf=(createMethod(!0),createMethod(!1)),objectKeysInternal=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!has(hiddenKeys,key)&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~indexOf(result,key)||result.push(key));return result},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys$1=enumBugKeys.concat("length","prototype"),objectGetOwnPropertyNames={f:Object.getOwnPropertyNames||function getOwnPropertyNames(O){return objectKeysInternal(O,hiddenKeys$1)}},objectGetOwnPropertySymbols={f:Object.getOwnPropertySymbols},ownKeys=getBuiltIn("Reflect","ownKeys")||function ownKeys(it){var keys=objectGetOwnPropertyNames.f(anObject(it)),getOwnPropertySymbols=objectGetOwnPropertySymbols.f;return getOwnPropertySymbols?keys.concat(getOwnPropertySymbols(it)):keys},copyConstructorProperties=function(target,source){for(var keys=ownKeys(source),defineProperty=objectDefineProperty.f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,i=0;i<keys.length;i++){var key=keys[i];has(target,key)||defineProperty(target,key,getOwnPropertyDescriptor(source,key))}},replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value==POLYFILL||value!=NATIVE&&("function"==typeof detection?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P",isForced_1=isForced,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,_export=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global_1:STATIC?global_1[TARGET]||setGlobal(TARGET,{}):(global_1[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor$1(target,key))&&descriptor.value:target[key],!isForced_1(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&hide(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}},aFunction$1=function(it){if("function"!=typeof it)throw TypeError(String(it)+" is not a function");return it},bindContext=function(fn,that,length){if(aFunction$1(fn),void 0===that)return fn;switch(length){case 0:return function(){return fn.call(that)};case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}},toObject=function(argument){return Object(requireObjectCoercible(argument))},isArray=Array.isArray||function isArray(arg){return"Array"==classofRaw(arg)},nativeSymbol=!!Object.getOwnPropertySymbols&&!fails((function(){return!String(Symbol())})),Symbol$1=global_1.Symbol,store$1=shared("wks"),wellKnownSymbol=function(name){return store$1[name]||(store$1[name]=nativeSymbol&&Symbol$1[name]||(nativeSymbol?Symbol$1:uid)("Symbol."+name))},SPECIES=wellKnownSymbol("species"),arraySpeciesCreate=function(originalArray,length){var C;return isArray(originalArray)&&("function"!=typeof(C=originalArray.constructor)||C!==Array&&!isArray(C.prototype)?isObject(C)&&null===(C=C[SPECIES])&&(C=void 0):C=void 0),new(void 0===C?Array:C)(0===length?0:length)},push=[].push,createMethod$1=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=indexedObject(O),boundFunction=bindContext(callbackfn,that,3),length=toLength(self.length),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push.call(target,value)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}},arrayIteration={forEach:createMethod$1(0),map:createMethod$1(1),filter:createMethod$1(2),some:createMethod$1(3),every:createMethod$1(4),find:createMethod$1(5),findIndex:createMethod$1(6)},sloppyArrayMethod=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!method||!fails((function(){method.call(null,argument||function(){throw 1},1)}))},$forEach=arrayIteration.forEach,arrayForEach=sloppyArrayMethod("forEach")?function forEach(callbackfn){return $forEach(this,callbackfn,arguments.length>1?arguments[1]:void 0)}:[].forEach;_export({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var COLLECTION_NAME in domIterables){var Collection=global_1[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;if(CollectionPrototype&&CollectionPrototype.forEach!==arrayForEach)try{hide(CollectionPrototype,"forEach",arrayForEach)}catch(error){CollectionPrototype.forEach=arrayForEach}}var canUseDom=!("undefined"==typeof window||!window.document||!window.document.createElement),SPECIES$1=wellKnownSymbol("species"),$filter=arrayIteration.filter;_export({target:"Array",proto:!0,forced:!function(METHOD_NAME){return!fails((function(){var array=[];return(array.constructor={})[SPECIES$1]=function(){return{foo:1}},1!==array[METHOD_NAME](Boolean).foo}))}("filter")},{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments.length>1?arguments[1]:void 0)}});var objectKeys=Object.keys||function keys(O){return objectKeysInternal(O,enumBugKeys)},objectDefineProperties=descriptors?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var key,keys=objectKeys(Properties),length=keys.length,index=0;length>index;)objectDefineProperty.f(O,key=keys[index++],Properties[key]);return O},html=getBuiltIn("document","documentElement"),IE_PROTO=sharedKey("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=documentCreateElement("iframe"),length=enumBugKeys.length;for(iframe.style.display="none",html.appendChild(iframe),iframe.src=String("javascript:"),(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),createDict=iframeDocument.F;length--;)delete createDict.prototype[enumBugKeys[length]];return createDict()},objectCreate=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:objectDefineProperties(result,Properties)};hiddenKeys[IE_PROTO]=!0;var UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&hide(ArrayPrototype,UNSCOPABLES,objectCreate(null));var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,addToUnscopables=function(key){ArrayPrototype[UNSCOPABLES][key]=!0},iterators={},correctPrototypeGetter=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})),IE_PROTO$1=sharedKey("IE_PROTO"),ObjectPrototype=Object.prototype,objectGetPrototypeOf=correctPrototypeGetter?Object.getPrototypeOf:function(O){return O=toObject(O),has(O,IE_PROTO$1)?O[IE_PROTO$1]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectPrototype:null},ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),null==IteratorPrototype&&(IteratorPrototype={}),has(IteratorPrototype,ITERATOR)||hide(IteratorPrototype,ITERATOR,(function(){return this}));var iteratorsCore={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS},defineProperty=objectDefineProperty.f,TO_STRING_TAG=wellKnownSymbol("toStringTag"),setToStringTag=function(it,TAG,STATIC){it&&!has(it=STATIC?it:it.prototype,TO_STRING_TAG)&&defineProperty(it,TO_STRING_TAG,{configurable:!0,value:TAG})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,returnThis$1=function(){return this},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var setter,CORRECT_SETTER=!1,test={};try{(setter=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function setPrototypeOf(O,proto){return anObject(O),function(it){if(!isObject(it)&&null!==it)throw TypeError("Can't set "+String(it)+" as a prototype")}(proto),CORRECT_SETTER?setter.call(O,proto):O.__proto__=proto,O}}():void 0),IteratorPrototype$2=iteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS$1=iteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$1=wellKnownSymbol("iterator"),returnThis$2=function(){return this},defineIterator=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){!function(IteratorConstructor,NAME,next){var TO_STRING_TAG=NAME+" Iterator";IteratorConstructor.prototype=objectCreate(IteratorPrototype$1,{next:createPropertyDescriptor(1,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1),iterators[TO_STRING_TAG]=returnThis$1}(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS$1&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":return function keys(){return new IteratorConstructor(this,KIND)};case"values":return function values(){return new IteratorConstructor(this,KIND)};case"entries":return function entries(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR$1]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS$1&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"==NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=objectGetPrototypeOf(anyNativeIterator.call(new Iterable)),IteratorPrototype$2!==Object.prototype&&CurrentIteratorPrototype.next&&(objectGetPrototypeOf(CurrentIteratorPrototype)!==IteratorPrototype$2&&(objectSetPrototypeOf?objectSetPrototypeOf(CurrentIteratorPrototype,IteratorPrototype$2):"function"!=typeof CurrentIteratorPrototype[ITERATOR$1]&&hide(CurrentIteratorPrototype,ITERATOR$1,returnThis$2)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0))),"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(INCORRECT_VALUES_NAME=!0,defaultIterator=function values(){return nativeIterator.call(this)}),IterablePrototype[ITERATOR$1]!==defaultIterator&&hide(IterablePrototype,ITERATOR$1,defaultIterator),iterators[NAME]=defaultIterator,DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS$1||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&redefine(IterablePrototype,KEY,methods[KEY]);else _export({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS$1||INCORRECT_VALUES_NAME},methods);return methods},setInternalState=internalState.set,getInternalState=internalState.getterFor("Array Iterator"),es_array_iterator=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values");iterators.Arguments=iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries");var nativeAssign=Object.assign,objectAssign=!nativeAssign||fails((function(){var A={},B={},symbol=Symbol();return A[symbol]=7,"abcdefghijklmnopqrst".split("").forEach((function(chr){B[chr]=chr})),7!=nativeAssign({},A)[symbol]||"abcdefghijklmnopqrst"!=objectKeys(nativeAssign({},B)).join("")}))?function assign(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=objectGetOwnPropertySymbols.f,propertyIsEnumerable=objectPropertyIsEnumerable.f;argumentsLength>index;)for(var key,S=indexedObject(arguments[index++]),keys=getOwnPropertySymbols?objectKeys(S).concat(getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],descriptors&&!propertyIsEnumerable.call(S,key)||(T[key]=S[key]);return T}:nativeAssign;_export({target:"Object",stat:!0,forced:Object.assign!==objectAssign},{assign:objectAssign});var TO_STRING_TAG$1=wellKnownSymbol("toStringTag"),CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}()),classof=function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=Object(it),TO_STRING_TAG$1))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"==(result=classofRaw(O))&&"function"==typeof O.callee?"Arguments":result},test={};test[wellKnownSymbol("toStringTag")]="z";var objectToString="[object z]"!==String(test)?function toString(){return"[object "+classof(this)+"]"}:test.toString,ObjectPrototype$1=Object.prototype;objectToString!==ObjectPrototype$1.toString&&redefine(ObjectPrototype$1,"toString",objectToString,{unsafe:!0});var whitespaces="\t\n\v\f\r                 \u2028\u2029\ufeff",whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod$2=function(TYPE){return function($this){var string=String(requireObjectCoercible($this));return 1&TYPE&&(string=string.replace(ltrim,"")),2&TYPE&&(string=string.replace(rtrim,"")),string}},trim=(createMethod$2(1),createMethod$2(2),createMethod$2(3)),nativeParseInt=global_1.parseInt,hex=/^[+-]?0[Xx]/,_parseInt=8!==nativeParseInt(whitespaces+"08")||22!==nativeParseInt(whitespaces+"0x16")?function parseInt(string,radix){var S=trim(String(string));return nativeParseInt(S,radix>>>0||(hex.test(S)?16:10))}:nativeParseInt;_export({global:!0,forced:parseInt!=_parseInt},{parseInt:_parseInt});var createMethod$3=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=String(requireObjectCoercible($this)),position=toInteger(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=S.charCodeAt(position))<55296||first>56319||position+1===size||(second=S.charCodeAt(position+1))<56320||second>57343?CONVERT_TO_STRING?S.charAt(position):first:CONVERT_TO_STRING?S.slice(position,position+2):second-56320+(first-55296<<10)+65536}},stringMultibyte={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},charAt=stringMultibyte.charAt,setInternalState$1=internalState.set,getInternalState$1=internalState.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState$1(this,{type:"String Iterator",string:String(iterated),index:0})}),(function next(){var point,state=getInternalState$1(this),string=state.string,index=state.index;return index>=string.length?{value:void 0,done:!0}:(point=charAt(string,index),state.index+=point.length,{value:point,done:!1})}));var redefineAll=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target},freezing=!fails((function(){return Object.isExtensible(Object.preventExtensions({}))})),internalMetadata=createCommonjsModule((function(module){var defineProperty=objectDefineProperty.f,METADATA=uid("meta"),id=0,isExtensible=Object.isExtensible||function(){return!0},setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+ ++id,weakData:{}}})},meta=module.exports={REQUIRED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,METADATA)){if(!isExtensible(it))return"F";if(!create)return"E";setMetadata(it)}return it[METADATA].objectID},getWeakData:function(it,create){if(!has(it,METADATA)){if(!isExtensible(it))return!0;if(!create)return!1;setMetadata(it)}return it[METADATA].weakData},onFreeze:function(it){return freezing&&meta.REQUIRED&&isExtensible(it)&&!has(it,METADATA)&&setMetadata(it),it}};hiddenKeys[METADATA]=!0})),ITERATOR$2=(internalMetadata.REQUIRED,internalMetadata.fastKey,internalMetadata.getWeakData,internalMetadata.onFreeze,wellKnownSymbol("iterator")),ArrayPrototype$1=Array.prototype,ITERATOR$3=wellKnownSymbol("iterator"),callWithSafeIterationClosing=function(iterator,fn,value,ENTRIES){try{return ENTRIES?fn(anObject(value)[0],value[1]):fn(value)}catch(error){var returnMethod=iterator.return;throw void 0!==returnMethod&&anObject(returnMethod.call(iterator)),error}},iterate_1=createCommonjsModule((function(module){var Result=function(stopped,result){this.stopped=stopped,this.result=result};(module.exports=function(iterable,fn,that,AS_ENTRIES,IS_ITERATOR){var iterator,iterFn,index,length,result,step,it,boundFunction=bindContext(fn,that,AS_ENTRIES?2:1);if(IS_ITERATOR)iterator=iterable;else{if("function"!=typeof(iterFn=function(it){if(null!=it)return it[ITERATOR$3]||it["@@iterator"]||iterators[classof(it)]}(iterable)))throw TypeError("Target is not iterable");if(void 0!==(it=iterFn)&&(iterators.Array===it||ArrayPrototype$1[ITERATOR$2]===it)){for(index=0,length=toLength(iterable.length);length>index;index++)if((result=AS_ENTRIES?boundFunction(anObject(step=iterable[index])[0],step[1]):boundFunction(iterable[index]))&&result instanceof Result)return result;return new Result(!1)}iterator=iterFn.call(iterable)}for(;!(step=iterator.next()).done;)if((result=callWithSafeIterationClosing(iterator,boundFunction,step.value,AS_ENTRIES))&&result instanceof Result)return result;return new Result(!1)}).stop=function(result){return new Result(!0,result)}})),anInstance=function(it,Constructor,name){if(!(it instanceof Constructor))throw TypeError("Incorrect "+(name?name+" ":"")+"invocation");return it},ITERATOR$4=wellKnownSymbol("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR$4]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}var collection=function(CONSTRUCTOR_NAME,wrapper,common,IS_MAP,IS_WEAK){var NativeConstructor=global_1[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,ADDER=IS_MAP?"set":"add",exported={},fixMethod=function(KEY){var nativeMethod=NativePrototype[KEY];redefine(NativePrototype,KEY,"add"==KEY?function add(value){return nativeMethod.call(this,0===value?0:value),this}:"delete"==KEY?function(key){return!(IS_WEAK&&!isObject(key))&&nativeMethod.call(this,0===key?0:key)}:"get"==KEY?function get(key){return IS_WEAK&&!isObject(key)?void 0:nativeMethod.call(this,0===key?0:key)}:"has"==KEY?function has(key){return!(IS_WEAK&&!isObject(key))&&nativeMethod.call(this,0===key?0:key)}:function set(key,value){return nativeMethod.call(this,0===key?0:key,value),this})};if(isForced_1(CONSTRUCTOR_NAME,"function"!=typeof NativeConstructor||!(IS_WEAK||NativePrototype.forEach&&!fails((function(){(new NativeConstructor).entries().next()})))))Constructor=common.getConstructor(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER),internalMetadata.REQUIRED=!0;else if(isForced_1(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR$4]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}((function(iterable){new NativeConstructor(iterable)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((Constructor=wrapper((function(dummy,iterable){anInstance(dummy,Constructor,CONSTRUCTOR_NAME);var that=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return objectSetPrototypeOf&&"function"==typeof(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&objectSetPrototypeOf($this,NewTargetPrototype),$this}(new NativeConstructor,dummy,Constructor);return null!=iterable&&iterate_1(iterable,that[ADDER],that,IS_MAP),that}))).prototype=NativePrototype,NativePrototype.constructor=Constructor),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}return exported[CONSTRUCTOR_NAME]=Constructor,_export({global:!0,forced:Constructor!=NativeConstructor},exported),setToStringTag(Constructor,CONSTRUCTOR_NAME),IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP),Constructor},getWeakData=internalMetadata.getWeakData,setInternalState$2=internalState.set,internalStateGetterFor=internalState.getterFor,find=arrayIteration.find,findIndex=arrayIteration.findIndex,id$1=0,uncaughtFrozenStore=function(store){return store.frozen||(store.frozen=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.entries=[]},findUncaughtFrozen=function(store,key){return find(store.entries,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findUncaughtFrozen(this,key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.entries.push([key,value])},delete:function(key){var index=findIndex(this.entries,(function(it){return it[0]===key}));return~index&&this.entries.splice(index,1),!!~index}};var collectionWeak={getConstructor:function(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER){var C=wrapper((function(that,iterable){anInstance(that,C,CONSTRUCTOR_NAME),setInternalState$2(that,{type:CONSTRUCTOR_NAME,id:id$1++,frozen:void 0}),null!=iterable&&iterate_1(iterable,that[ADDER],that,IS_MAP)})),getInternalState=internalStateGetterFor(CONSTRUCTOR_NAME),define=function(that,key,value){var state=getInternalState(that),data=getWeakData(anObject(key),!0);return!0===data?uncaughtFrozenStore(state).set(key,value):data[state.id]=value,that};return redefineAll(C.prototype,{delete:function(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).delete(key):data&&has(data,state.id)&&delete data[state.id]},has:function has$1(key){var state=getInternalState(this);if(!isObject(key))return!1;var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).has(key):data&&has(data,state.id)}}),redefineAll(C.prototype,IS_MAP?{get:function get(key){var state=getInternalState(this);if(isObject(key)){var data=getWeakData(key);return!0===data?uncaughtFrozenStore(state).get(key):data?data[state.id]:void 0}},set:function set(key,value){return define(this,key,value)}}:{add:function add(value){return define(this,value,!0)}}),C}},ITERATOR$5=(createCommonjsModule((function(module){var InternalWeakMap,enforceIternalState=internalState.enforce,IS_IE11=!global_1.ActiveXObject&&"ActiveXObject"in global_1,isExtensible=Object.isExtensible,wrapper=function(get){return function WeakMap(){return get(this,arguments.length?arguments[0]:void 0)}},$WeakMap=module.exports=collection("WeakMap",wrapper,collectionWeak,!0,!0);if(nativeWeakMap&&IS_IE11){InternalWeakMap=collectionWeak.getConstructor(wrapper,"WeakMap",!0),internalMetadata.REQUIRED=!0;var WeakMapPrototype=$WeakMap.prototype,nativeDelete=WeakMapPrototype.delete,nativeHas=WeakMapPrototype.has,nativeGet=WeakMapPrototype.get,nativeSet=WeakMapPrototype.set;redefineAll(WeakMapPrototype,{delete:function(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeDelete.call(this,key)||state.frozen.delete(key)}return nativeDelete.call(this,key)},has:function has(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas.call(this,key)||state.frozen.has(key)}return nativeHas.call(this,key)},get:function get(key){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);return state.frozen||(state.frozen=new InternalWeakMap),nativeHas.call(this,key)?nativeGet.call(this,key):state.frozen.get(key)}return nativeGet.call(this,key)},set:function set(key,value){if(isObject(key)&&!isExtensible(key)){var state=enforceIternalState(this);state.frozen||(state.frozen=new InternalWeakMap),nativeHas.call(this,key)?nativeSet.call(this,key,value):state.frozen.set(key,value)}else nativeSet.call(this,key,value);return this}})}})),wellKnownSymbol("iterator")),TO_STRING_TAG$3=wellKnownSymbol("toStringTag"),ArrayValues=es_array_iterator.values;for(var COLLECTION_NAME$1 in domIterables){var Collection$1=global_1[COLLECTION_NAME$1],CollectionPrototype$1=Collection$1&&Collection$1.prototype;if(CollectionPrototype$1){if(CollectionPrototype$1[ITERATOR$5]!==ArrayValues)try{hide(CollectionPrototype$1,ITERATOR$5,ArrayValues)}catch(error){CollectionPrototype$1[ITERATOR$5]=ArrayValues}if(CollectionPrototype$1[TO_STRING_TAG$3]||hide(CollectionPrototype$1,TO_STRING_TAG$3,COLLECTION_NAME$1),domIterables[COLLECTION_NAME$1])for(var METHOD_NAME in es_array_iterator)if(CollectionPrototype$1[METHOD_NAME]!==es_array_iterator[METHOD_NAME])try{hide(CollectionPrototype$1,METHOD_NAME,es_array_iterator[METHOD_NAME])}catch(error){CollectionPrototype$1[METHOD_NAME]=es_array_iterator[METHOD_NAME]}}}var reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectToString$1=Object.prototype.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var result=wait-(time-lastCallTime);return maxing?nativeMin(result,maxWait-(time-lastInvokeTime)):result}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject$1(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}function isObject$1(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function toNumber(value){if("number"==typeof value)return value;if(function isSymbol(value){return"symbol"==typeof value||function isObjectLike(value){return!!value&&"object"==typeof value}(value)&&"[object Symbol]"==objectToString$1.call(value)}(value))return NaN;if(isObject$1(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject$1(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}var lodash_throttle=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject$1(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})},reTrim$1=/^\s+|\s+$/g,reIsBadHex$1=/^[-+]0x[0-9a-f]+$/i,reIsBinary$1=/^0b[01]+$/i,reIsOctal$1=/^0o[0-7]+$/i,freeParseInt$1=parseInt,freeGlobal$1="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf$1="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal$1||freeSelf$1||Function("return this")(),objectToString$2=Object.prototype.toString,nativeMax$1=Math.max,nativeMin$1=Math.min,now$1=function(){return root$1.Date.now()};function isObject$2(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function toNumber$1(value){if("number"==typeof value)return value;if(function isSymbol$1(value){return"symbol"==typeof value||function isObjectLike$1(value){return!!value&&"object"==typeof value}(value)&&"[object Symbol]"==objectToString$2.call(value)}(value))return NaN;if(isObject$2(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject$2(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim$1,"");var isBinary=reIsBinary$1.test(value);return isBinary||reIsOctal$1.test(value)?freeParseInt$1(value.slice(2),isBinary?2:8):reIsBadHex$1.test(value)?NaN:+value}var lodash_debounce=function debounce$1(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now$1();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var result=wait-(time-lastCallTime);return maxing?nativeMin$1(result,maxWait-(time-lastInvokeTime)):result}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now$1(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber$1(wait)||0,isObject$2(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax$1(toNumber$1(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now$1())},debounced},genTag="[object GeneratorFunction]",reIsHostCtor=/^\[object .+?Constructor\]$/,freeGlobal$2="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf$2="object"==typeof self&&self&&self.Object===Object&&self,root$2=freeGlobal$2||freeSelf$2||Function("return this")(),arrayProto=Array.prototype,funcProto=Function.prototype,objectProto$2=Object.prototype,coreJsData=root$2["__core-js_shared__"],maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}(),funcToString=funcProto.toString,hasOwnProperty$1=objectProto$2.hasOwnProperty,objectToString$3=objectProto$2.toString,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$1).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),splice=arrayProto.splice,Map$1=getNative(root$2,"Map"),nativeCreate=getNative(Object,"create");function Hash(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function ListCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function MapCache(entries){var index=-1,length=entries?entries.length:0;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}function assocIndexOf(array,key){for(var value,other,length=array.length;length--;)if((value=array[length][0])===(other=key)||value!=value&&other!=other)return length;return-1}function baseIsNative(value){return!(!isObject$3(value)||function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}(value))&&(function isFunction(value){var tag=isObject$3(value)?objectToString$3.call(value):"";return"[object Function]"==tag||tag==genTag}(value)||function isHostObject(value){var result=!1;if(null!=value&&"function"!=typeof value.toString)try{result=!!(value+"")}catch(e){}return result}(value)?reIsNative:reIsHostCtor).test(function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}(value))}function getMapData(map,key){var data=map.__data__;return function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}(key)?data["string"==typeof key?"string":"hash"]:data.map}function getNative(object,key){var value=function getValue(object,key){return null==object?void 0:object[key]}(object,key);return baseIsNative(value)?value:void 0}function memoize(func,resolver){if("function"!=typeof func||resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result),result};return memoized.cache=new(memoize.Cache||MapCache),memoized}function isObject$3(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}Hash.prototype.clear=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}},Hash.prototype.delete=function hashDelete(key){return this.has(key)&&delete this.__data__[key]},Hash.prototype.get=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty$1.call(data,key)?data[key]:void 0},Hash.prototype.has=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty$1.call(data,key)},Hash.prototype.set=function hashSet(key,value){return this.__data__[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this},ListCache.prototype.clear=function listCacheClear(){this.__data__=[]},ListCache.prototype.delete=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0||(index==data.length-1?data.pop():splice.call(data,index,1),0))},ListCache.prototype.get=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]},ListCache.prototype.has=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1},ListCache.prototype.set=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?data.push([key,value]):data[index][1]=value,this},MapCache.prototype.clear=function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(key){return getMapData(this,key).delete(key)},MapCache.prototype.get=function mapCacheGet(key){return getMapData(this,key).get(key)},MapCache.prototype.has=function mapCacheHas(key){return getMapData(this,key).has(key)},MapCache.prototype.set=function mapCacheSet(key,value){return getMapData(this,key).set(key,value),this},memoize.Cache=MapCache;var lodash_memoize=memoize,MapShim=function(){if("undefined"!=typeof Map)return Map;function getIndex(arr,key){var result=-1;return arr.some((function(entry,index){return entry[0]===key&&(result=index,!0)})),result}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(key){var index=getIndex(this.__entries__,key),entry=this.__entries__[index];return entry&&entry[1]},class_1.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])},class_1.prototype.delete=function(key){var entries=this.__entries__,index=getIndex(entries,key);~index&&entries.splice(index,1)},class_1.prototype.has=function(key){return!!~getIndex(this.__entries__,key)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(callback,ctx){void 0===ctx&&(ctx=null);for(var _i=0,_a=this.__entries__;_i<_a.length;_i++){var entry=_a[_i];callback.call(ctx,entry[1],entry[0])}},class_1}()}(),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1=void 0!==global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(callback){return setTimeout((function(){return callback(Date.now())}),1e3/60)},transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function throttle$1(callback,delay){var leadingCall=!1,trailingCall=!1,lastCallTime=0;function resolvePending(){leadingCall&&(leadingCall=!1,callback()),trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<2)return;trailingCall=!0}else leadingCall=!0,trailingCall=!1,setTimeout(timeoutCallback,delay);lastCallTime=timeStamp}return proxy}(this.refresh.bind(this),20)}return ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_,index=observers.indexOf(observer);~index&&observers.splice(index,1),!observers.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter((function(observer){return observer.gatherActive(),observer.hasActive()}));return activeObservers.forEach((function(observer){return observer.broadcastActive()})),activeObservers.length>0},ResizeObserverController.prototype.connect_=function(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){isBrowser&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(_a){var _b=_a.propertyName,propertyName=void 0===_b?"":_b;transitionKeys.some((function(key){return!!~propertyName.indexOf(key)}))&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(target,props){for(var _i=0,_a=Object.keys(props);_i<_a.length;_i++){var key=_a[_i];Object.defineProperty(target,key,{value:props[key],enumerable:!1,writable:!1,configurable:!0})}return target},getWindowOf=function(target){return target&&target.ownerDocument&&target.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){for(var positions=[],_i=1;_i<arguments.length;_i++)positions[_i-1]=arguments[_i];return positions.reduce((function(size,position){return size+toFloat(styles["border-"+position+"-width"])}),0)}function getHTMLElementContentRect(target){var clientWidth=target.clientWidth,clientHeight=target.clientHeight;if(!clientWidth&&!clientHeight)return emptyRect;var styles=getWindowOf(target).getComputedStyle(target),paddings=function getPaddings(styles){for(var paddings={},_i=0,positions_1=["top","right","bottom","left"];_i<positions_1.length;_i++){var position=positions_1[_i],value=styles["padding-"+position];paddings[position]=toFloat(value)}return paddings}(styles),horizPad=paddings.left+paddings.right,vertPad=paddings.top+paddings.bottom,width=toFloat(styles.width),height=toFloat(styles.height);if("border-box"===styles.boxSizing&&(Math.round(width+horizPad)!==clientWidth&&(width-=getBordersSize(styles,"left","right")+horizPad),Math.round(height+vertPad)!==clientHeight&&(height-=getBordersSize(styles,"top","bottom")+vertPad)),!function isDocumentElement(target){return target===getWindowOf(target).document.documentElement}(target)){var vertScrollbar=Math.round(width+horizPad)-clientWidth,horizScrollbar=Math.round(height+vertPad)-clientHeight;1!==Math.abs(vertScrollbar)&&(width-=vertScrollbar),1!==Math.abs(horizScrollbar)&&(height-=horizScrollbar)}return createRectInit(paddings.left,paddings.top,width,height)}var isSVGGraphicsElement="undefined"!=typeof SVGGraphicsElement?function(target){return target instanceof getWindowOf(target).SVGGraphicsElement}:function(target){return target instanceof getWindowOf(target).SVGElement&&"function"==typeof target.getBBox};function getContentRect(target){return isBrowser?isSVGGraphicsElement(target)?function getSVGContentRect(target){var bbox=target.getBBox();return createRectInit(0,0,bbox.width,bbox.height)}(target):getHTMLElementContentRect(target):emptyRect}function createRectInit(x,y,width,height){return{x:x,y:y,width:width,height:height}}var ResizeObservation=function(){function ResizeObservation(target){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=target}return ResizeObservation.prototype.isActive=function(){var rect=getContentRect(this.target);return this.contentRect_=rect,rect.width!==this.broadcastWidth||rect.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var rect=this.contentRect_;return this.broadcastWidth=rect.width,this.broadcastHeight=rect.height,rect},ResizeObservation}(),ResizeObserverEntry=function ResizeObserverEntry(target,rectInit){var contentRect=function createReadOnlyRect(_a){var x=_a.x,y=_a.y,width=_a.width,height=_a.height,Constr="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,rect=Object.create(Constr.prototype);return defineConfigurable(rect,{x:x,y:y,width:width,height:height,top:y,right:x+width,bottom:height+y,left:x}),rect}(rectInit);defineConfigurable(this,{target:target,contentRect:contentRect})},ResizeObserverSPI=function(){function ResizeObserverSPI(callback,controller,callbackCtx){if(this.activeObservations_=[],this.observations_=new MapShim,"function"!=typeof callback)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=callback,this.controller_=controller,this.callbackCtx_=callbackCtx}return ResizeObserverSPI.prototype.observe=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)||(observations.set(target,new ResizeObservation(target)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)&&(observations.delete(target),observations.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var _this=this;this.clearActive(),this.observations_.forEach((function(observation){observation.isActive()&&_this.activeObservations_.push(observation)}))},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var ctx=this.callbackCtx_,entries=this.activeObservations_.map((function(observation){return new ResizeObserverEntry(observation.target,observation.broadcastRect())}));this.callback_.call(ctx,entries,ctx),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),observers="undefined"!=typeof WeakMap?new WeakMap:new MapShim,ResizeObserver=function ResizeObserver(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance(),observer=new ResizeObserverSPI(callback,controller,this);observers.set(this,observer)};["observe","unobserve","disconnect"].forEach((function(method){ResizeObserver.prototype[method]=function(){var _a;return(_a=observers.get(this))[method].apply(_a,arguments)}}));var index=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver,cachedScrollbarWidth=null,cachedDevicePixelRatio=null;function scrollbarWidth(){if(null===cachedScrollbarWidth){if("undefined"==typeof document)return cachedScrollbarWidth=0;var body=document.body,box=document.createElement("div");box.classList.add("simplebar-hide-scrollbar"),body.appendChild(box);var width=box.getBoundingClientRect().right;body.removeChild(box),cachedScrollbarWidth=width}return cachedScrollbarWidth}canUseDom&&window.addEventListener("resize",(function(){cachedDevicePixelRatio!==window.devicePixelRatio&&(cachedDevicePixelRatio=window.devicePixelRatio,cachedScrollbarWidth=null)}));var SimpleBar=function(){function SimpleBar(element,options){var _this=this;this.onScroll=function(){_this.scrollXTicking||(window.requestAnimationFrame(_this.scrollX),_this.scrollXTicking=!0),_this.scrollYTicking||(window.requestAnimationFrame(_this.scrollY),_this.scrollYTicking=!0)},this.scrollX=function(){_this.axis.x.isOverflowing&&(_this.showScrollbar("x"),_this.positionScrollbar("x")),_this.scrollXTicking=!1},this.scrollY=function(){_this.axis.y.isOverflowing&&(_this.showScrollbar("y"),_this.positionScrollbar("y")),_this.scrollYTicking=!1},this.onMouseEnter=function(){_this.showScrollbar("x"),_this.showScrollbar("y")},this.onMouseMove=function(e){_this.mouseX=e.clientX,_this.mouseY=e.clientY,(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&_this.onMouseMoveForAxis("x"),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&_this.onMouseMoveForAxis("y")},this.onMouseLeave=function(){_this.onMouseMove.cancel(),(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&_this.onMouseLeaveForAxis("x"),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&_this.onMouseLeaveForAxis("y"),_this.mouseX=-1,_this.mouseY=-1},this.onWindowResize=function(){_this.scrollbarWidth=_this.getScrollbarWidth(),_this.hideNativeScrollbar()},this.hideScrollbars=function(){_this.axis.x.track.rect=_this.axis.x.track.el.getBoundingClientRect(),_this.axis.y.track.rect=_this.axis.y.track.el.getBoundingClientRect(),_this.isWithinBounds(_this.axis.y.track.rect)||(_this.axis.y.scrollbar.el.classList.remove(_this.classNames.visible),_this.axis.y.isVisible=!1),_this.isWithinBounds(_this.axis.x.track.rect)||(_this.axis.x.scrollbar.el.classList.remove(_this.classNames.visible),_this.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var isWithinTrackXBounds,isWithinTrackYBounds;_this.axis.x.track.rect=_this.axis.x.track.el.getBoundingClientRect(),_this.axis.y.track.rect=_this.axis.y.track.el.getBoundingClientRect(),(_this.axis.x.isOverflowing||_this.axis.x.forceVisible)&&(isWithinTrackXBounds=_this.isWithinBounds(_this.axis.x.track.rect)),(_this.axis.y.isOverflowing||_this.axis.y.forceVisible)&&(isWithinTrackYBounds=_this.isWithinBounds(_this.axis.y.track.rect)),(isWithinTrackXBounds||isWithinTrackYBounds)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(isWithinTrackXBounds&&(_this.axis.x.scrollbar.rect=_this.axis.x.scrollbar.el.getBoundingClientRect(),_this.isWithinBounds(_this.axis.x.scrollbar.rect)?_this.onDragStart(e,"x"):_this.onTrackClick(e,"x")),isWithinTrackYBounds&&(_this.axis.y.scrollbar.rect=_this.axis.y.scrollbar.el.getBoundingClientRect(),_this.isWithinBounds(_this.axis.y.scrollbar.rect)?_this.onDragStart(e,"y"):_this.onTrackClick(e,"y"))))},this.drag=function(e){var track=_this.axis[_this.draggedAxis].track,trackSize=track.rect[_this.axis[_this.draggedAxis].sizeAttr],scrollbar=_this.axis[_this.draggedAxis].scrollbar,contentSize=_this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollSizeAttr],hostSize=parseInt(_this.elStyles[_this.axis[_this.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var scrollPos=(("y"===_this.draggedAxis?e.pageY:e.pageX)-track.rect[_this.axis[_this.draggedAxis].offsetAttr]-_this.axis[_this.draggedAxis].dragOffset)/(trackSize-scrollbar.size)*(contentSize-hostSize);"x"===_this.draggedAxis&&(scrollPos=_this.isRtl&&SimpleBar.getRtlHelpers().isRtlScrollbarInverted?scrollPos-(trackSize+scrollbar.size):scrollPos,scrollPos=_this.isRtl&&SimpleBar.getRtlHelpers().isRtlScrollingInverted?-scrollPos:scrollPos),_this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollOffsetAttr]=scrollPos},this.onEndDrag=function(e){e.preventDefault(),e.stopPropagation(),_this.el.classList.remove(_this.classNames.dragging),document.removeEventListener("mousemove",_this.drag,!0),document.removeEventListener("mouseup",_this.onEndDrag,!0),_this.removePreventClickId=window.setTimeout((function(){document.removeEventListener("click",_this.preventClick,!0),document.removeEventListener("dblclick",_this.preventClick,!0),_this.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=element,this.minScrollbarWidth=20,this.options=Object.assign({},SimpleBar.defaultOptions,{},options),this.classNames=Object.assign({},SimpleBar.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,SimpleBar.instances.has(this.el)||(this.recalculate=lodash_throttle(this.recalculate.bind(this),64),this.onMouseMove=lodash_throttle(this.onMouseMove.bind(this),64),this.hideScrollbars=lodash_debounce(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=lodash_debounce(this.onWindowResize.bind(this),64,{leading:!0}),SimpleBar.getRtlHelpers=lodash_memoize(SimpleBar.getRtlHelpers),this.init())}SimpleBar.getRtlHelpers=function getRtlHelpers(){var dummyDiv=document.createElement("div");dummyDiv.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var scrollbarDummyEl=dummyDiv.firstElementChild;document.body.appendChild(scrollbarDummyEl);var dummyContainerChild=scrollbarDummyEl.firstElementChild;scrollbarDummyEl.scrollLeft=0;var dummyContainerOffset=SimpleBar.getOffset(scrollbarDummyEl),dummyContainerChildOffset=SimpleBar.getOffset(dummyContainerChild);scrollbarDummyEl.scrollLeft=999;var dummyContainerScrollOffsetAfterScroll=SimpleBar.getOffset(dummyContainerChild);return{isRtlScrollingInverted:dummyContainerOffset.left!==dummyContainerChildOffset.left&&dummyContainerChildOffset.left-dummyContainerScrollOffsetAfterScroll.left!=0,isRtlScrollbarInverted:dummyContainerOffset.left!==dummyContainerChildOffset.left}},SimpleBar.getOffset=function getOffset(el){var rect=el.getBoundingClientRect();return{top:rect.top+(window.pageYOffset||document.documentElement.scrollTop),left:rect.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var _proto=SimpleBar.prototype;return _proto.init=function init(){SimpleBar.instances.set(this.el,this),canUseDom&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},_proto.initDOM=function initDOM(){var _this2=this;if(Array.prototype.filter.call(this.el.children,(function(child){return child.classList.contains(_this2.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var track=document.createElement("div"),scrollbar=document.createElement("div");track.classList.add(this.classNames.track),scrollbar.classList.add(this.classNames.scrollbar),track.appendChild(scrollbar),this.axis.x.track.el=track.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=track.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},_proto.initListeners=function initListeners(){var _this3=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){_this3.el.addEventListener(e,_this3.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){_this3.el.addEventListener(e,_this3.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onWindowResize);var resizeObserverStarted=!1;this.resizeObserver=new index((function(){resizeObserverStarted&&_this3.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),window.requestAnimationFrame((function(){resizeObserverStarted=!0})),this.mutationObserver=new MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},_proto.recalculate=function recalculate(){this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var isHeightAuto=this.heightAutoObserverEl.offsetHeight<=1,isWidthAuto=this.heightAutoObserverEl.offsetWidth<=1,contentElOffsetWidth=this.contentEl.offsetWidth,contentWrapperElOffsetWidth=this.contentWrapperEl.offsetWidth,elOverflowX=this.elStyles.overflowX,elOverflowY=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var contentElScrollHeight=this.contentEl.scrollHeight,contentElScrollWidth=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=isHeightAuto?"auto":"100%",this.placeholderEl.style.width=isWidthAuto?contentElOffsetWidth+"px":"auto",this.placeholderEl.style.height=contentElScrollHeight+"px";var contentWrapperElOffsetHeight=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=contentElScrollWidth>contentElOffsetWidth,this.axis.y.isOverflowing=contentElScrollHeight>contentWrapperElOffsetHeight,this.axis.x.isOverflowing="hidden"!==elOverflowX&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==elOverflowY&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var offsetForXScrollbar=this.axis.x.isOverflowing?this.scrollbarWidth:0,offsetForYScrollbar=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&contentElScrollWidth>contentWrapperElOffsetWidth-offsetForYScrollbar,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&contentElScrollHeight>contentWrapperElOffsetHeight-offsetForXScrollbar,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},_proto.getScrollbarSize=function getScrollbarSize(axis){if(void 0===axis&&(axis="y"),!this.axis[axis].isOverflowing)return 0;var scrollbarSize,contentSize=this.contentEl[this.axis[axis].scrollSizeAttr],trackSize=this.axis[axis].track.el[this.axis[axis].offsetSizeAttr],scrollbarRatio=trackSize/contentSize;return scrollbarSize=Math.max(~~(scrollbarRatio*trackSize),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(scrollbarSize=Math.min(scrollbarSize,this.options.scrollbarMaxSize)),scrollbarSize},_proto.positionScrollbar=function positionScrollbar(axis){if(void 0===axis&&(axis="y"),this.axis[axis].isOverflowing){var contentSize=this.contentWrapperEl[this.axis[axis].scrollSizeAttr],trackSize=this.axis[axis].track.el[this.axis[axis].offsetSizeAttr],hostSize=parseInt(this.elStyles[this.axis[axis].sizeAttr],10),scrollbar=this.axis[axis].scrollbar,scrollOffset=this.contentWrapperEl[this.axis[axis].scrollOffsetAttr],scrollPourcent=(scrollOffset="x"===axis&&this.isRtl&&SimpleBar.getRtlHelpers().isRtlScrollingInverted?-scrollOffset:scrollOffset)/(contentSize-hostSize),handleOffset=~~((trackSize-scrollbar.size)*scrollPourcent);handleOffset="x"===axis&&this.isRtl&&SimpleBar.getRtlHelpers().isRtlScrollbarInverted?handleOffset+(trackSize-scrollbar.size):handleOffset,scrollbar.el.style.transform="x"===axis?"translate3d("+handleOffset+"px, 0, 0)":"translate3d(0, "+handleOffset+"px, 0)"}},_proto.toggleTrackVisibility=function toggleTrackVisibility(axis){void 0===axis&&(axis="y");var track=this.axis[axis].track.el,scrollbar=this.axis[axis].scrollbar.el;this.axis[axis].isOverflowing||this.axis[axis].forceVisible?(track.style.visibility="visible",this.contentWrapperEl.style[this.axis[axis].overflowAttr]="scroll"):(track.style.visibility="hidden",this.contentWrapperEl.style[this.axis[axis].overflowAttr]="hidden"),this.axis[axis].isOverflowing?scrollbar.style.display="block":scrollbar.style.display="none"},_proto.hideNativeScrollbar=function hideNativeScrollbar(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},_proto.onMouseMoveForAxis=function onMouseMoveForAxis(axis){void 0===axis&&(axis="y"),this.axis[axis].track.rect=this.axis[axis].track.el.getBoundingClientRect(),this.axis[axis].scrollbar.rect=this.axis[axis].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[axis].scrollbar.rect)?this.axis[axis].scrollbar.el.classList.add(this.classNames.hover):this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[axis].track.rect)?(this.showScrollbar(axis),this.axis[axis].track.el.classList.add(this.classNames.hover)):this.axis[axis].track.el.classList.remove(this.classNames.hover)},_proto.onMouseLeaveForAxis=function onMouseLeaveForAxis(axis){void 0===axis&&(axis="y"),this.axis[axis].track.el.classList.remove(this.classNames.hover),this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover)},_proto.showScrollbar=function showScrollbar(axis){void 0===axis&&(axis="y");var scrollbar=this.axis[axis].scrollbar.el;this.axis[axis].isVisible||(scrollbar.classList.add(this.classNames.visible),this.axis[axis].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},_proto.onDragStart=function onDragStart(e,axis){void 0===axis&&(axis="y");var scrollbar=this.axis[axis].scrollbar,eventOffset="y"===axis?e.pageY:e.pageX;this.axis[axis].dragOffset=eventOffset-scrollbar.rect[this.axis[axis].offsetAttr],this.draggedAxis=axis,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},_proto.onTrackClick=function onTrackClick(e,axis){var _this4=this;void 0===axis&&(axis="y"),this.axis[axis].scrollbar.rect=this.axis[axis].scrollbar.el.getBoundingClientRect();var scrollbarOffset=this.axis[axis].scrollbar.rect[this.axis[axis].offsetAttr],hostSize=parseInt(this.elStyles[this.axis[axis].sizeAttr],10),scrolled=this.contentWrapperEl[this.axis[axis].scrollOffsetAttr],dir=("y"===axis?this.mouseY-scrollbarOffset:this.mouseX-scrollbarOffset)<0?-1:1,scrollSize=-1===dir?scrolled-hostSize:scrolled+hostSize;!function scrollTo(){var _this4$contentWrapper,_this4$contentWrapper2;-1===dir?scrolled>scrollSize&&(scrolled-=40,_this4.contentWrapperEl.scrollTo(((_this4$contentWrapper={})[_this4.axis[axis].offsetAttr]=scrolled,_this4$contentWrapper)),window.requestAnimationFrame(scrollTo)):scrolled<scrollSize&&(scrolled+=40,_this4.contentWrapperEl.scrollTo(((_this4$contentWrapper2={})[_this4.axis[axis].offsetAttr]=scrolled,_this4$contentWrapper2)),window.requestAnimationFrame(scrollTo))}()},_proto.getContentElement=function getContentElement(){return this.contentEl},_proto.getScrollElement=function getScrollElement(){return this.contentWrapperEl},_proto.getScrollbarWidth=function getScrollbarWidth(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style?0:scrollbarWidth()}catch(e){return scrollbarWidth()}},_proto.removeListeners=function removeListeners(){var _this5=this;this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){_this5.el.removeEventListener(e,_this5.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){_this5.el.removeEventListener(e,_this5.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},_proto.unMount=function unMount(){this.removeListeners(),SimpleBar.instances.delete(this.el)},_proto.isWithinBounds=function isWithinBounds(bbox){return this.mouseX>=bbox.left&&this.mouseX<=bbox.left+bbox.width&&this.mouseY>=bbox.top&&this.mouseY<=bbox.top+bbox.height},_proto.findChild=function findChild(el,query){var matches=el.matches||el.webkitMatchesSelector||el.mozMatchesSelector||el.msMatchesSelector;return Array.prototype.filter.call(el.children,(function(child){return matches.call(child,query)}))[0]},SimpleBar}();SimpleBar.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},SimpleBar.instances=new WeakMap;var createMethod$4=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){aFunction$1(callbackfn);var O=toObject(that),self=indexedObject(O),length=toLength(O.length),index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}},$reduce=[createMethod$4(!1),createMethod$4(!0)][0];_export({target:"Array",proto:!0,forced:sloppyArrayMethod("reduce")},{reduce:function reduce(callbackfn){return $reduce(this,callbackfn,arguments.length,arguments.length>1?arguments[1]:void 0)}});var defineProperty$1=objectDefineProperty.f,FunctionPrototype=Function.prototype,FunctionPrototypeToString=FunctionPrototype.toString,nameRE=/^\s*function ([^ (]*)/;descriptors&&!("name"in FunctionPrototype)&&defineProperty$1(FunctionPrototype,"name",{configurable:!0,get:function(){try{return FunctionPrototypeToString.call(this).match(nameRE)[1]}catch(error){return""}}});var re1,re2,regexpFlags=function(){var that=anObject(this),result="";return that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.sticky&&(result+="y"),result},nativeExec=RegExp.prototype.exec,nativeReplace=String.prototype.replace,patchedExec=nativeExec,UPDATES_LAST_INDEX_WRONG=(re1=/a/,re2=/b*/g,nativeExec.call(re1,"a"),nativeExec.call(re2,"a"),0!==re1.lastIndex||0!==re2.lastIndex),NPCG_INCLUDED=void 0!==/()??/.exec("")[1];(UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED)&&(patchedExec=function exec(str){var lastIndex,reCopy,match,i,re=this;return NPCG_INCLUDED&&(reCopy=new RegExp("^"+re.source+"$(?!\\s)",regexpFlags.call(re))),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=nativeExec.call(re,str),UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&nativeReplace.call(match[0],reCopy,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match});var regexpExec=patchedExec;_export({target:"RegExp",proto:!0,forced:/./.exec!==regexpExec},{exec:regexpExec});var SPECIES$2=wellKnownSymbol("species"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$<a>")})),SPLIT_WORKS_WITH_OVERWRITTEN_EXEC=!fails((function(){var re=/(?:)/,originalExec=re.exec;re.exec=function(){return originalExec.apply(this,arguments)};var result="ab".split(re);return 2!==result.length||"a"!==result[0]||"b"!==result[1]})),fixRegexpWellKnownSymbolLogic=function(KEY,length,exec,sham){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails((function(){var execCalled=!1,re=/a/;return re.exec=function(){return execCalled=!0,null},"split"===KEY&&(re.constructor={},re.constructor[SPECIES$2]=function(){return re}),re[SYMBOL](""),!execCalled}));if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||"replace"===KEY&&!REPLACE_SUPPORTS_NAMED_GROUPS||"split"===KEY&&!SPLIT_WORKS_WITH_OVERWRITTEN_EXEC){var nativeRegExpMethod=/./[SYMBOL],methods=exec(SYMBOL,""[KEY],(function(nativeMethod,regexp,str,arg2,forceStringMethod){return regexp.exec===regexpExec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:nativeRegExpMethod.call(regexp,str,arg2)}:{done:!0,value:nativeMethod.call(str,regexp,arg2)}:{done:!1}})),stringMethod=methods[0],regexMethod=methods[1];redefine(String.prototype,KEY,stringMethod),redefine(RegExp.prototype,SYMBOL,2==length?function(string,arg){return regexMethod.call(string,this,arg)}:function(string){return regexMethod.call(string,this)}),sham&&hide(RegExp.prototype[SYMBOL],"sham",!0)}},charAt$1=stringMultibyte.charAt,advanceStringIndex=function(S,index,unicode){return index+(unicode?charAt$1(S,index).length:1)},regexpExecAbstract=function(R,S){var exec=R.exec;if("function"==typeof exec){var result=exec.call(R,S);if("object"!=typeof result)throw TypeError("RegExp exec method returned something other than an Object or null");return result}if("RegExp"!==classofRaw(R))throw TypeError("RegExp#exec called on incompatible receiver");return regexpExec.call(R,S)};fixRegexpWellKnownSymbolLogic("match",1,(function(MATCH,nativeMatch,maybeCallNative){return[function match(regexp){var O=requireObjectCoercible(this),matcher=null==regexp?void 0:regexp[MATCH];return void 0!==matcher?matcher.call(regexp,O):new RegExp(regexp)[MATCH](String(O))},function(regexp){var res=maybeCallNative(nativeMatch,regexp,this);if(res.done)return res.value;var rx=anObject(regexp),S=String(this);if(!rx.global)return regexpExecAbstract(rx,S);var fullUnicode=rx.unicode;rx.lastIndex=0;for(var result,A=[],n=0;null!==(result=regexpExecAbstract(rx,S));){var matchStr=String(result[0]);A[n]=matchStr,""===matchStr&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode)),n++}return 0===n?null:A}]}));var max$1=Math.max,min$2=Math.min,floor$1=Math.floor,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d\d?|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d\d?)/g;fixRegexpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative){return[function replace(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value;var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regexpExecAbstract(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){result=results[i];for(var matched=String(result[0]),position=max$1(min$2(toInteger(result.index),S.length),0),captures=[],j=1;j<result.length;j++)captures.push(void 0===(it=result[j])?it:String(it));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=[matched].concat(captures,position,S);void 0!==namedCaptures&&replacerArgs.push(namedCaptures);var replacement=String(replaceValue.apply(void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}];function getSubstitution(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),nativeReplace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor$1(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}}));var getOptions=function getOptions(obj){return Array.prototype.reduce.call(obj,(function(acc,attribute){var option=attribute.name.match(/data-simplebar-(.+)/);if(option){var key=option[1].replace(/\W+(.)/g,(function(x,chr){return chr.toUpperCase()}));switch(attribute.value){case"true":acc[key]=!0;break;case"false":acc[key]=!1;break;case void 0:acc[key]=!0;break;default:acc[key]=attribute.value}}return acc}),{})};return SimpleBar.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),(function(el){SimpleBar.instances.has(el)||new SimpleBar(el,getOptions(el.attributes))}))},SimpleBar.removeObserver=function(){this.globalObserver.disconnect()},SimpleBar.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(SimpleBar.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},SimpleBar.handleMutations=function(mutations){mutations.forEach((function(mutation){Array.prototype.forEach.call(mutation.addedNodes,(function(addedNode){1===addedNode.nodeType&&(addedNode.hasAttribute("data-simplebar")?!SimpleBar.instances.has(addedNode)&&new SimpleBar(addedNode,getOptions(addedNode.attributes)):Array.prototype.forEach.call(addedNode.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),(function(el){!SimpleBar.instances.has(el)&&new SimpleBar(el,getOptions(el.attributes))})))})),Array.prototype.forEach.call(mutation.removedNodes,(function(removedNode){1===removedNode.nodeType&&(removedNode.hasAttribute('[data-simplebar="init"]')?SimpleBar.instances.has(removedNode)&&SimpleBar.instances.get(removedNode).unMount():Array.prototype.forEach.call(removedNode.querySelectorAll('[data-simplebar="init"]'),(function(el){SimpleBar.instances.has(el)&&SimpleBar.instances.get(el).unMount()})))}))}))},SimpleBar.getOptions=getOptions,canUseDom&&SimpleBar.initHtmlApi(),SimpleBar},module.exports=factory()}).call(this,__webpack_require__("yLpj"))},H6hf:function(module,exports,__webpack_require__){var anObject=__webpack_require__("y3w9");module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},H7XF:function(module,exports,__webpack_require__){"use strict";exports.byteLength=function byteLength(b64){var lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1];return 3*(validLen+placeHoldersLen)/4-placeHoldersLen},exports.toByteArray=function toByteArray(b64){var tmp,i,lens=getLens(b64),validLen=lens[0],placeHoldersLen=lens[1],arr=new Arr(function _byteLength(b64,validLen,placeHoldersLen){return 3*(validLen+placeHoldersLen)/4-placeHoldersLen}(0,validLen,placeHoldersLen)),curByte=0,len=placeHoldersLen>0?validLen-4:validLen;for(i=0;i<len;i+=4)tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)],arr[curByte++]=tmp>>16&255,arr[curByte++]=tmp>>8&255,arr[curByte++]=255&tmp;2===placeHoldersLen&&(tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4,arr[curByte++]=255&tmp);1===placeHoldersLen&&(tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2,arr[curByte++]=tmp>>8&255,arr[curByte++]=255&tmp);return arr},exports.fromByteArray=function fromByteArray(uint8){for(var tmp,len=uint8.length,extraBytes=len%3,parts=[],i=0,len2=len-extraBytes;i<len2;i+=16383)parts.push(encodeChunk(uint8,i,i+16383>len2?len2:i+16383));1===extraBytes?(tmp=uint8[len-1],parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")):2===extraBytes&&(tmp=(uint8[len-2]<<8)+uint8[len-1],parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"="));return parts.join("")};for(var lookup=[],revLookup=[],Arr="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;function getLens(b64){var len=b64.length;if(len%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var validLen=b64.indexOf("=");return-1===validLen&&(validLen=len),[validLen,validLen===len?0:4-validLen%4]}function encodeChunk(uint8,start,end){for(var tmp,num,output=[],i=start;i<end;i+=3)tmp=(uint8[i]<<16&16711680)+(uint8[i+1]<<8&65280)+(255&uint8[i+2]),output.push(lookup[(num=tmp)>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[63&num]);return output.join("")}revLookup["-".charCodeAt(0)]=62,revLookup["_".charCodeAt(0)]=63},H8j4:function(module,exports,__webpack_require__){var getMapData=__webpack_require__("QkVE");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"HAE/":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S+$export.F*!__webpack_require__("nh4g"),"Object",{defineProperty:__webpack_require__("hswa").f})},HEwt:function(module,exports,__webpack_require__){"use strict";var ctx=__webpack_require__("m0Pp"),$export=__webpack_require__("XKFU"),toObject=__webpack_require__("S/j/"),call=__webpack_require__("H6hf"),isArrayIter=__webpack_require__("M6Qj"),toLength=__webpack_require__("ne8i"),createProperty=__webpack_require__("8a7r"),getIterFn=__webpack_require__("J+6e");$export($export.S+$export.F*!__webpack_require__("XMVh")((function(iter){Array.from(iter)})),"Array",{from:function from(arrayLike){var length,result,step,iterator,O=toObject(arrayLike),C="function"==typeof this?this:Array,aLen=arguments.length,mapfn=aLen>1?arguments[1]:void 0,mapping=void 0!==mapfn,index=0,iterFn=getIterFn(O);if(mapping&&(mapfn=ctx(mapfn,aLen>2?arguments[2]:void 0,2)),null==iterFn||C==Array&&isArrayIter(iterFn))for(result=new C(length=toLength(O.length));length>index;index++)createProperty(result,index,mapping?mapfn(O[index],index):O[index]);else for(iterator=iterFn.call(O),result=new C;!(step=iterator.next()).done;index++)createProperty(result,index,mapping?call(iterator,mapfn,[step.value,index],!0):step.value);return result.length=index,result}})},HO67:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(window,undefined){"use strict";var MODEL="model",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MOBILE="mobile",TABLET="tablet",util={extend:function(regexes,extensions){for(var i in extensions)-1!=="browser cpu device engine os".indexOf(i)&&extensions[i].length%2==0&&(regexes[i]=extensions[i].concat(regexes[i]));return regexes},has:function(str1,str2){return"string"==typeof str1&&-1!==str2.toLowerCase().indexOf(str1.toLowerCase())},lowerize:function(str){return str.toLowerCase()},major:function(version){return"string"==typeof version?version.split(".")[0]:undefined}},mapper={rgx:function(){for(var result,j,k,p,q,matches,match,i=0,args=arguments;i<args.length&&!matches;){var regex=args[i],props=args[i+1];if(void 0===result)for(p in result={},props)props.hasOwnProperty(p)&&("object"==typeof(q=props[p])?result[q[0]]=undefined:result[q]=undefined);for(j=k=0;j<regex.length&&!matches;)if(matches=regex[j++].exec(this.getUA()))for(p=0;p<props.length;p++)match=matches[++k],"object"==typeof(q=props[p])&&q.length>0?2==q.length?"function"==typeof q[1]?result[q[0]]=q[1].call(this,match):result[q[0]]=q[1]:3==q.length?"function"!=typeof q[1]||q[1].exec&&q[1].test?result[q[0]]=match?match.replace(q[1],q[2]):undefined:result[q[0]]=match?q[1].call(this,match,q[2]):undefined:4==q.length&&(result[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined):result[q]=match||undefined;i+=2}return result},str:function(str,map){for(var i in map)if("object"==typeof map[i]&&map[i].length>0){for(var j=0;j<map[i].length;j++)if(util.has(map[i][j],str))return"?"===i?undefined:i}else if(util.has(map[i],str))return"?"===i?undefined:i;return str}},maps={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},regexes={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[NAME,VERSION],[/\s(opr)\/([\w\.]+)/i],[[NAME,"Opera"],VERSION],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs)\/([\w\.-]+)/i],[NAME,VERSION],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[NAME,"IE"],VERSION],[/(edge)\/((\d+)?[\w\.]+)/i],[NAME,VERSION],[/(yabrowser)\/([\w\.]+)/i],[[NAME,"Yandex"],VERSION],[/(comodo_dragon)\/([\w\.]+)/i],[[NAME,/_/g," "],VERSION],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(qqbrowser)[\/\s]?([\w\.]+)/i],[NAME,VERSION],[/(uc\s?browser)[\/\s]?([\w\.]+)/i,/ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i,/JUC.+(ucweb)[\/\s]?([\w\.]+)/i],[[NAME,"UCBrowser"],VERSION],[/(dolfin)\/([\w\.]+)/i],[[NAME,"Dolphin"],VERSION],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[NAME,"Chrome"],VERSION],[/XiaoMi\/MiuiBrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/FBAV\/([\w\.]+);/i],[VERSION,[NAME,"Facebook"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[VERSION,[NAME,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[VERSION,NAME],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,mapper.str,maps.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(navigator|netscape)\/([\w\.-]+)/i],[[NAME,"Netscape"],VERSION],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[NAME,VERSION]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",util.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",util.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",util.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/applecoremedia\/[\w\.]+ \((ipad)/],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(apple\s{0,1}tv)/i],[[MODEL,"Apple TV"],[VENDOR,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[MODEL,mapper.str,maps.device.amazon.model],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[MODEL,VENDOR,[TYPE,MOBILE]],[/\((ip[honed|\s\w*]+);/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/\(bb10;\s(\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7)/i],[MODEL,[VENDOR,"Asus"],[TYPE,TABLET]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[VENDOR,"Sony"],[MODEL,"Xperia Tablet"],[TYPE,TABLET]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[[VENDOR,"Sony"],[MODEL,"Xperia Phone"],[TYPE,MOBILE]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[VENDOR,MODEL,[TYPE,"console"]],[/android.+;\s(shield)\sbuild/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/(playstation\s[34portablevi]+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/(sprint\s(\w+))/i],[[VENDOR,mapper.str,maps.device.sprint.vendor],[MODEL,mapper.str,maps.device.sprint.model],[TYPE,MOBILE]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/(nexus\s9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s[6])/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[VENDOR,"Samsung"],MODEL,[TYPE,TABLET]],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-n900))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[VENDOR,"Samsung"],MODEL,[TYPE,MOBILE]],[/(samsung);smarttv/i],[VENDOR,MODEL,[TYPE,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,"smarttv"]],[/sie-(\w+)*/i],[MODEL,[VENDOR,"Siemens"],[TYPE,MOBILE]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[VENDOR,"Nokia"],MODEL,[TYPE,MOBILE]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[VENDOR,"LG"],MODEL,[TYPE,TABLET]],[/(lg) netcast\.tv/i],[VENDOR,MODEL,[TYPE,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/linux;.+((jolla));/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/((pebble))app\/[\d\.]+\s/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/android.+;\s(glass)\s\d/i],[MODEL,[VENDOR,"Google"],[TYPE,"wearable"]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus)?[\s_]*(?:\d\w)?)\s+build/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/\s(tablet)[;\/\s]/i,/\s(mobile)[;\/\s]/i],[[TYPE,util.lowerize],VENDOR,MODEL]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[NAME,VERSION],[/rv\:([\w\.]+).*(gecko)/i],[VERSION,NAME]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[NAME,VERSION],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*|windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[NAME,[VERSION,mapper.str,maps.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[NAME,"Windows"],[VERSION,mapper.str,maps.os.windows.version]],[/\((bb)(10);/i],[[NAME,"BlackBerry"],VERSION],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[NAME,VERSION],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[NAME,"Symbian"],VERSION],[/\((series40);/i],[NAME],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[NAME,"Firefox OS"],VERSION],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[NAME,VERSION],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[NAME,"Chromium OS"],VERSION],[/(sunos)\s?([\w\.]+\d)*/i],[[NAME,"Solaris"],VERSION],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[NAME,VERSION],[/(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i],[[NAME,"iOS"],[VERSION,/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[NAME,"Mac OS"],[VERSION,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(haiku)\s(\w+)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[NAME,VERSION]]},UAParser=function(uastring,extensions){if(!(this instanceof UAParser))return new UAParser(uastring,extensions).getResult();var ua=uastring||(window&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:""),rgxmap=extensions?util.extend(regexes,extensions):regexes;return this.getBrowser=function(){var browser=mapper.rgx.apply(this,rgxmap.browser);return browser.major=util.major(browser.version),browser},this.getCPU=function(){return mapper.rgx.apply(this,rgxmap.cpu)},this.getDevice=function(){return mapper.rgx.apply(this,rgxmap.device)},this.getEngine=function(){return mapper.rgx.apply(this,rgxmap.engine)},this.getOS=function(){return mapper.rgx.apply(this,rgxmap.os)},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ua},this.setUA=function(uastring){return ua=uastring,this},this.setUA(ua),this};UAParser.VERSION="0.7.10",UAParser.BROWSER={NAME:NAME,MAJOR:"major",VERSION:VERSION},UAParser.CPU={ARCHITECTURE:"architecture"},UAParser.DEVICE={MODEL:MODEL,VENDOR:VENDOR,TYPE:TYPE,CONSOLE:"console",MOBILE:MOBILE,SMARTTV:"smarttv",TABLET:TABLET,WEARABLE:"wearable",EMBEDDED:"embedded"},UAParser.ENGINE={NAME:NAME,VERSION:VERSION},UAParser.OS={NAME:NAME,VERSION:VERSION},void 0!==exports?(void 0!==module&&module.exports&&(exports=module.exports=UAParser),exports.UAParser=UAParser):__webpack_require__("PDX0")?undefined===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return UAParser}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__):window.UAParser=UAParser;var $=window.jQuery||window.Zepto;if(void 0!==$){var parser=new UAParser;$.ua=parser.getResult(),$.ua.get=function(){return parser.getUA()},$.ua.set=function(uastring){parser.setUA(uastring);var result=parser.getResult();for(var prop in result)$.ua[prop]=result[prop]}}}("object"==typeof window?window:this)},Hvzi:function(module,exports){module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},I74W:function(module,exports,__webpack_require__){"use strict";__webpack_require__("qncB")("trimLeft",(function($trim){return function trimLeft(){return $trim(this,1)}}),"trimStart")},I78e:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),html=__webpack_require__("+rLv"),cof=__webpack_require__("LZWt"),toAbsoluteIndex=__webpack_require__("d/Gc"),toLength=__webpack_require__("ne8i"),arraySlice=[].slice;$export($export.P+$export.F*__webpack_require__("eeVq")((function(){html&&arraySlice.call(html)})),"Array",{slice:function slice(begin,end){var len=toLength(this.length),klass=cof(this);if(end=void 0===end?len:end,"Array"==klass)return arraySlice.call(this,begin,end);for(var start=toAbsoluteIndex(begin,len),upTo=toAbsoluteIndex(end,len),size=toLength(upTo-start),cloned=new Array(size),i=0;i<size;i++)cloned[i]="String"==klass?this.charAt(start+i):this[start+i];return cloned}})},"I8a+":function(module,exports,__webpack_require__){var cof=__webpack_require__("LZWt"),TAG=__webpack_require__("K0xU")("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},INYr:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$find=__webpack_require__("CkkT")(6),KEY="findIndex",forced=!0;KEY in[]&&Array(1)[KEY]((function(){forced=!1})),$export($export.P+$export.F*forced,"Array",{findIndex:function findIndex(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__("nGyu")(KEY)},IPzR:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),define=__webpack_require__("iJR5"),create=__webpack_require__("Kuth");$export($export.S+$export.F,"Object",{make:function(proto,mixin){return define(create(proto),mixin)}})},"IU+Z":function(module,exports,__webpack_require__){"use strict";var hide=__webpack_require__("Mukb"),redefine=__webpack_require__("KroJ"),fails=__webpack_require__("eeVq"),defined=__webpack_require__("vhPU"),wks=__webpack_require__("K0xU");module.exports=function(KEY,length,exec){var SYMBOL=wks(KEY),fns=exec(defined,SYMBOL,""[KEY]),strfn=fns[0],rxfn=fns[1];fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)}))&&(redefine(String.prototype,KEY,strfn),hide(RegExp.prototype,SYMBOL,2==length?function(string,arg){return rxfn.call(string,this,arg)}:function(string){return rxfn.call(string,this)}))}},IZ5B:function(module,exports,__webpack_require__){"use strict";var immediate=__webpack_require__("3j3K");function INTERNAL(){}var handlers={},REJECTED=["REJECTED"],FULFILLED=["FULFILLED"],PENDING=["PENDING"];function Promise(resolver){if("function"!=typeof resolver)throw new TypeError("resolver must be a function");this.state=PENDING,this.queue=[],this.outcome=void 0,resolver!==INTERNAL&&safelyResolveThenable(this,resolver)}function QueueItem(promise,onFulfilled,onRejected){this.promise=promise,"function"==typeof onFulfilled&&(this.onFulfilled=onFulfilled,this.callFulfilled=this.otherCallFulfilled),"function"==typeof onRejected&&(this.onRejected=onRejected,this.callRejected=this.otherCallRejected)}function unwrap(promise,func,value){immediate((function(){var returnValue;try{returnValue=func(value)}catch(e){return handlers.reject(promise,e)}returnValue===promise?handlers.reject(promise,new TypeError("Cannot resolve promise with itself")):handlers.resolve(promise,returnValue)}))}function getThen(obj){var then=obj&&obj.then;if(obj&&("object"==typeof obj||"function"==typeof obj)&&"function"==typeof then)return function appyThen(){then.apply(obj,arguments)}}function safelyResolveThenable(self,thenable){var called=!1;function onError(value){called||(called=!0,handlers.reject(self,value))}function onSuccess(value){called||(called=!0,handlers.resolve(self,value))}var result=tryCatch((function tryToUnwrap(){thenable(onSuccess,onError)}));"error"===result.status&&onError(result.value)}function tryCatch(func,value){var out={};try{out.value=func(value),out.status="success"}catch(e){out.status="error",out.value=e}return out}module.exports=Promise,Promise.prototype.finally=function(callback){if("function"!=typeof callback)return this;var p=this.constructor;return this.then((function resolve(value){return p.resolve(callback()).then((function yes(){return value}))}),(function reject(reason){return p.resolve(callback()).then((function no(){throw reason}))}))},Promise.prototype.catch=function(onRejected){return this.then(null,onRejected)},Promise.prototype.then=function(onFulfilled,onRejected){if("function"!=typeof onFulfilled&&this.state===FULFILLED||"function"!=typeof onRejected&&this.state===REJECTED)return this;var promise=new this.constructor(INTERNAL);this.state!==PENDING?unwrap(promise,this.state===FULFILLED?onFulfilled:onRejected,this.outcome):this.queue.push(new QueueItem(promise,onFulfilled,onRejected));return promise},QueueItem.prototype.callFulfilled=function(value){handlers.resolve(this.promise,value)},QueueItem.prototype.otherCallFulfilled=function(value){unwrap(this.promise,this.onFulfilled,value)},QueueItem.prototype.callRejected=function(value){handlers.reject(this.promise,value)},QueueItem.prototype.otherCallRejected=function(value){unwrap(this.promise,this.onRejected,value)},handlers.resolve=function(self,value){var result=tryCatch(getThen,value);if("error"===result.status)return handlers.reject(self,result.value);var thenable=result.value;if(thenable)safelyResolveThenable(self,thenable);else{self.state=FULFILLED,self.outcome=value;for(var i=-1,len=self.queue.length;++i<len;)self.queue[i].callFulfilled(value)}return self},handlers.reject=function(self,error){self.state=REJECTED,self.outcome=error;for(var i=-1,len=self.queue.length;++i<len;)self.queue[i].callRejected(error);return self},Promise.resolve=function resolve(value){if(value instanceof this)return value;return handlers.resolve(new this(INTERNAL),value)},Promise.reject=function reject(reason){var promise=new this(INTERNAL);return handlers.reject(promise,reason)},Promise.all=function all(iterable){var self=this;if("[object Array]"!==Object.prototype.toString.call(iterable))return this.reject(new TypeError("must be an array"));var len=iterable.length,called=!1;if(!len)return this.resolve([]);var values=new Array(len),resolved=0,i=-1,promise=new this(INTERNAL);for(;++i<len;)allResolver(iterable[i],i);return promise;function allResolver(value,i){self.resolve(value).then((function resolveFromAll(outValue){values[i]=outValue,++resolved!==len||called||(called=!0,handlers.resolve(promise,values))}),(function(error){called||(called=!0,handlers.reject(promise,error))}))}},Promise.race=function race(iterable){var self=this;if("[object Array]"!==Object.prototype.toString.call(iterable))return this.reject(new TypeError("must be an array"));var len=iterable.length,called=!1;if(!len)return this.resolve([]);var i=-1,promise=new this(INTERNAL);for(;++i<len;)value=iterable[i],self.resolve(value).then((function(response){called||(called=!0,handlers.resolve(promise,response))}),(function(error){called||(called=!0,handlers.reject(promise,error))}));var value;return promise}},Ip81:function(module,exports){},IpYs:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("9aYe"),Uint8ArrayWriter=function(length){this.data=new Uint8Array(length),this.index=0};Uint8ArrayWriter.prototype={append:function(input){0!==input.length&&(input=utils.transformTo("uint8array",input),this.data.set(input,this.index),this.index+=input.length)},finalize:function(){return this.data}},module.exports=Uint8ArrayWriter},Ivi5:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN");var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();var FUNCTION_REGEXP=/^function ([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?(\([^\)]*\))[\s\S]+$/;!function(){function SyntaxErrorReporter(parentKlass,childKlass,parentDescriptor,childDescriptor){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,SyntaxErrorReporter),this.parentKlass=parentKlass,this.childKlass=childKlass,this.parentDescriptor=parentDescriptor,this.childDescriptor=childDescriptor}_createClass(SyntaxErrorReporter,[{key:"_getTopic",value:function _getTopic(descriptor){return void 0===descriptor?null:"value"in descriptor?descriptor.value:"get"in descriptor?descriptor.get:"set"in descriptor?descriptor.set:void 0}},{key:"_extractTopicSignature",value:function _extractTopicSignature(topic){switch(void 0===topic?"undefined":_typeof(topic)){case"function":return this._extractFunctionSignature(topic);default:return this.key}}},{key:"_extractFunctionSignature",value:function _extractFunctionSignature(fn){var _this=this;return fn.toString().replace(FUNCTION_REGEXP,(function(match){var name=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_this.key,params=arguments[2];return name+params}))}},{key:"key",get:function get(){return this.childDescriptor.key}},{key:"parentNotation",get:function get(){return this.parentKlass.constructor.name+"#"+this.parentPropertySignature}},{key:"childNotation",get:function get(){return this.childKlass.constructor.name+"#"+this.childPropertySignature}},{key:"parentTopic",get:function get(){return this._getTopic(this.parentDescriptor)}},{key:"childTopic",get:function get(){return this._getTopic(this.childDescriptor)}},{key:"parentPropertySignature",get:function get(){return this._extractTopicSignature(this.parentTopic)}},{key:"childPropertySignature",get:function get(){return this._extractTopicSignature(this.childTopic)}}]),_createClass(SyntaxErrorReporter,[{key:"assert",value:function assert(condition){var msg=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!0!==condition&&this.error("{child} does not properly override {parent}"+msg)}},{key:"error",value:function error(msg){var _this2=this;throw msg=msg.replace("{parent}",(function(m){return _this2.parentNotation})).replace("{child}",(function(m){return _this2.childNotation})),new SyntaxError(msg)}}])}()},Iw71:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),document=__webpack_require__("dyZX").document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},IzUq:function(module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return"[object Array]"==toString.call(arr)}},"J+6e":function(module,exports,__webpack_require__){var classof=__webpack_require__("I8a+"),ITERATOR=__webpack_require__("K0xU")("iterator"),Iterators=__webpack_require__("hPIQ");module.exports=__webpack_require__("g3g5").getIteratorMethod=function(it){if(null!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},J78i:function(module,exports,__webpack_require__){"use strict";module.exports=Transform;var Duplex=__webpack_require__("sZro"),util=Object.create(__webpack_require__("Onz0"));function afterTransform(er,data){var ts=this._transformState;ts.transforming=!1;var cb=ts.writecb;if(!cb)return this.emit("error",new Error("write callback called multiple times"));ts.writechunk=null,ts.writecb=null,null!=data&&this.push(data),cb(er);var rs=this._readableState;rs.reading=!1,(rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options),this._transformState={afterTransform:afterTransform.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,options&&("function"==typeof options.transform&&(this._transform=options.transform),"function"==typeof options.flush&&(this._flush=options.flush)),this.on("prefinish",prefinish)}function prefinish(){var _this=this;"function"==typeof this._flush?this._flush((function(er,data){done(_this,er,data)})):done(this,null,null)}function done(stream,er,data){if(er)return stream.emit("error",er);if(null!=data&&stream.push(data),stream._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream.push(null)}util.inherits=__webpack_require__("P7XM"),util.inherits(Transform,Duplex),Transform.prototype.push=function(chunk,encoding){return this._transformState.needTransform=!1,Duplex.prototype.push.call(this,chunk,encoding)},Transform.prototype._transform=function(chunk,encoding,cb){throw new Error("_transform() is not implemented")},Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;if(ts.writecb=cb,ts.writechunk=chunk,ts.writeencoding=encoding,!ts.transforming){var rs=this._readableState;(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)&&this._read(rs.highWaterMark)}},Transform.prototype._read=function(n){var ts=this._transformState;null!==ts.writechunk&&ts.writecb&&!ts.transforming?(ts.transforming=!0,this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)):ts.needTransform=!0},Transform.prototype._destroy=function(err,cb){var _this2=this;Duplex.prototype._destroy.call(this,err,(function(err2){cb(err2),_this2.emit("close")}))}},JCqj:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("sup",(function(createHTML){return function sup(){return createHTML(this,"sup","","")}}))},JHgL:function(module,exports,__webpack_require__){var getMapData=__webpack_require__("QkVE");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},JSQU:function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__("YESw");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},JduL:function(module,exports,__webpack_require__){__webpack_require__("Xtr8")("getOwnPropertyNames",(function(){return __webpack_require__("e7yV").f}))},JhMR:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("GRGr")},JiEa:function(module,exports){exports.f=Object.getOwnPropertySymbols},K0xU:function(module,exports,__webpack_require__){var store=__webpack_require__("VTer")("wks"),uid=__webpack_require__("ylqs"),Symbol=__webpack_require__("dyZX").Symbol,USE_SYMBOL="function"==typeof Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&Symbol[name]||(USE_SYMBOL?Symbol:uid)("Symbol."+name))}).store=store},KKXr:function(module,exports,__webpack_require__){__webpack_require__("IU+Z")("split",2,(function(defined,SPLIT,$split){"use strict";var isRegExp=__webpack_require__("quPj"),_split=$split,$push=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var NPCG=void 0===/()??/.exec("")[1];$split=function(separator,limit){var string=String(this);if(void 0===separator&&0===limit)return[];if(!isRegExp(separator))return _split.call(string,separator,limit);var separator2,match,lastIndex,lastLength,i,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,splitLimit=void 0===limit?4294967295:limit>>>0,separatorCopy=new RegExp(separator.source,flags+"g");for(NPCG||(separator2=new RegExp("^"+separatorCopy.source+"$(?!\\s)",flags));(match=separatorCopy.exec(string))&&!((lastIndex=match.index+match[0].length)>lastLastIndex&&(output.push(string.slice(lastLastIndex,match.index)),!NPCG&&match.length>1&&match[0].replace(separator2,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match.length>1&&match.index<string.length&&$push.apply(output,match.slice(1)),lastLength=match[0].length,lastLastIndex=lastIndex,output.length>=splitLimit));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&separatorCopy.test("")||output.push(""):output.push(string.slice(lastLastIndex)),output.length>splitLimit?output.slice(0,splitLimit):output}}else"0".split(void 0,0).length&&($split=function(separator,limit){return void 0===separator&&0===limit?[]:_split.call(this,separator,limit)});return[function split(separator,limit){var O=defined(this),fn=null==separator?void 0:separator[SPLIT];return void 0!==fn?fn.call(separator,O,limit):$split.call(String(O),separator,limit)},$split]}))},KMkd:function(module,exports){module.exports=function listCacheClear(){this.__data__=[],this.size=0}},KOQb:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),aFunction=__webpack_require__("2OiF"),ctx=__webpack_require__("m0Pp"),forOf=__webpack_require__("SlkY");module.exports=function(COLLECTION){$export($export.S,COLLECTION,{from:function from(source){var mapping,A,n,cb,mapFn=arguments[1];return aFunction(this),(mapping=void 0!==mapFn)&&aFunction(mapFn),null==source?new this:(A=[],mapping?(n=0,cb=ctx(mapFn,arguments[2],2),forOf(source,!1,(function(nextItem){A.push(cb(nextItem,n++))}))):forOf(source,!1,A.push,A),new this(A))}})}},Kf30:function(module,exports){var swfobject=function(){var storedAltContent,storedAltContentId,storedCallbackFn,storedCallbackObj,dynamicStylesheet,dynamicStylesheetMedia,UNDEF="undefined",OBJECT="object",FLASH_MIME_TYPE="application/x-shockwave-flash",win=window,doc=document,nav=navigator,plugin=!1,domLoadFnArr=[function main(){plugin?function testPlayerVersion(){var b=doc.getElementsByTagName("body")[0],o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);var t=b.appendChild(o);if(t){var counter=0;!function(){if(typeof t.GetVariable!=UNDEF){var d=t.GetVariable("$version");d&&(d=d.split(" ")[1].split(","),ua.pv=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)])}else if(counter<10)return counter++,void setTimeout(arguments.callee,10);b.removeChild(o),t=null,matchVersions()}()}else matchVersions()}():matchVersions()}],regObjArr=[],objIdArr=[],listenersArr=[],isDomLoaded=!1,isExpressInstallActive=!1,autoHideShow=!0,ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),windows=/win/.test(p||u),mac=/mac/.test(p||u),webkit=!!/webkit/.test(u)&&parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")),ie=!1,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins["Shockwave Flash"]==OBJECT)!(d=nav.plugins["Shockwave Flash"].description)||typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin||(plugin=!0,ie=!1,d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10),playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10),playerVersion[2]=/[a-zA-Z]/.test(d)?parseInt(d.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof win.ActiveXObject!=UNDEF)try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a&&(d=a.GetVariable("$version"))&&(ie=!0,d=d.split(" ")[1].split(","),playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)])}catch(e){}return{w3:w3cdom,pv:playerVersion,wk:webkit,ie:ie,win:windows,mac:mac}}();ua.w3&&((typeof doc.readyState!=UNDEF&&"complete"==doc.readyState||typeof doc.readyState==UNDEF&&(doc.getElementsByTagName("body")[0]||doc.body))&&callDomLoadFunctions(),isDomLoaded||(typeof doc.addEventListener!=UNDEF&&doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,!1),ua.ie&&ua.win&&(doc.attachEvent("onreadystatechange",(function(){"complete"==doc.readyState&&(doc.detachEvent("onreadystatechange",arguments.callee),callDomLoadFunctions())})),win==top&&function(){if(!isDomLoaded){try{doc.documentElement.doScroll("left")}catch(e){return void setTimeout(arguments.callee,0)}callDomLoadFunctions()}}()),ua.wk&&function(){isDomLoaded||(/loaded|complete/.test(doc.readyState)?callDomLoadFunctions():setTimeout(arguments.callee,0))}(),addLoadEvent(callDomLoadFunctions)));function callDomLoadFunctions(){if(!isDomLoaded){try{var t=doc.getElementsByTagName("body")[0].appendChild(createElement("span"));t.parentNode.removeChild(t)}catch(e){return}isDomLoaded=!0;for(var dl=domLoadFnArr.length,i=0;i<dl;i++)domLoadFnArr[i]()}}function addDomLoadEvent(fn){isDomLoaded?fn():domLoadFnArr[domLoadFnArr.length]=fn}function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF)win.addEventListener("load",fn,!1);else if(typeof doc.addEventListener!=UNDEF)doc.addEventListener("load",fn,!1);else if(typeof win.attachEvent!=UNDEF)!function addListener(target,eventType,fn){target.attachEvent(eventType,fn),listenersArr[listenersArr.length]=[target,eventType,fn]}(win,"onload",fn);else if("function"==typeof win.onload){var fnOld=win.onload;win.onload=function(){fnOld(),fn()}}else win.onload=fn}function matchVersions(){var rl=regObjArr.length;if(rl>0)for(var i=0;i<rl;i++){var id=regObjArr[i].id,cb=regObjArr[i].callbackFn,cbObj={success:!1,id:id};if(ua.pv[0]>0){var obj=getElementById(id);if(obj)if(!hasPlayerVersion(regObjArr[i].swfVersion)||ua.wk&&ua.wk<312)if(regObjArr[i].expressInstall&&canExpressInstall()){var att={};att.data=regObjArr[i].expressInstall,att.width=obj.getAttribute("width")||"0",att.height=obj.getAttribute("height")||"0",obj.getAttribute("class")&&(att.styleclass=obj.getAttribute("class")),obj.getAttribute("align")&&(att.align=obj.getAttribute("align"));for(var par={},p=obj.getElementsByTagName("param"),pl=p.length,j=0;j<pl;j++)"movie"!=p[j].getAttribute("name").toLowerCase()&&(par[p[j].getAttribute("name")]=p[j].getAttribute("value"));showExpressInstall(att,par,id,cb)}else displayAltContent(obj),cb&&cb(cbObj);else setVisibility(id,!0),cb&&(cbObj.success=!0,cbObj.ref=getObjectById(id),cb(cbObj))}else if(setVisibility(id,!0),cb){var o=getObjectById(id);o&&typeof o.SetVariable!=UNDEF&&(cbObj.success=!0,cbObj.ref=o),cb(cbObj)}}}function getObjectById(objectIdStr){var r=null,o=getElementById(objectIdStr);if(o&&"OBJECT"==o.nodeName)if(typeof o.SetVariable!=UNDEF)r=o;else{var n=o.getElementsByTagName(OBJECT)[0];n&&(r=n)}return r}function canExpressInstall(){return!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)&&!(ua.wk&&ua.wk<312)}function showExpressInstall(att,par,replaceElemIdStr,callbackFn){isExpressInstallActive=!0,storedCallbackFn=callbackFn||null,storedCallbackObj={success:!1,id:replaceElemIdStr};var obj=getElementById(replaceElemIdStr);if(obj){"OBJECT"==obj.nodeName?(storedAltContent=abstractAltContent(obj),storedAltContentId=null):(storedAltContent=obj,storedAltContentId=replaceElemIdStr),att.id="SWFObjectExprInst",(typeof att.width==UNDEF||!/%$/.test(att.width)&&parseInt(att.width,10)<310)&&(att.width="310"),(typeof att.height==UNDEF||!/%$/.test(att.height)&&parseInt(att.height,10)<137)&&(att.height="137"),doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",fv="MMredirectURL="+win.location.toString().replace(/&/g,"%26")+"&MMplayerType="+pt+"&MMdoctitle="+doc.title;if(typeof par.flashvars!=UNDEF?par.flashvars+="&"+fv:par.flashvars=fv,ua.ie&&ua.win&&4!=obj.readyState){var newObj=createElement("div");replaceElemIdStr+="SWFObjectNew",newObj.setAttribute("id",replaceElemIdStr),obj.parentNode.insertBefore(newObj,obj),obj.style.display="none",function(){4==obj.readyState?obj.parentNode.removeChild(obj):setTimeout(arguments.callee,10)}()}createSWF(att,par,replaceElemIdStr)}}function displayAltContent(obj){if(ua.ie&&ua.win&&4!=obj.readyState){var el=createElement("div");obj.parentNode.insertBefore(el,obj),el.parentNode.replaceChild(abstractAltContent(obj),el),obj.style.display="none",function(){4==obj.readyState?obj.parentNode.removeChild(obj):setTimeout(arguments.callee,10)}()}else obj.parentNode.replaceChild(abstractAltContent(obj),obj)}function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie)ac.innerHTML=obj.innerHTML;else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c)for(var cl=c.length,i=0;i<cl;i++)1==c[i].nodeType&&"PARAM"==c[i].nodeName||8==c[i].nodeType||ac.appendChild(c[i].cloneNode(!0))}}return ac}function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(ua.wk&&ua.wk<312)return r;if(el)if(typeof attObj.id==UNDEF&&(attObj.id=id),ua.ie&&ua.win){var att="";for(var i in attObj)attObj[i]!=Object.prototype[i]&&("data"==i.toLowerCase()?parObj.movie=attObj[i]:"styleclass"==i.toLowerCase()?att+=' class="'+attObj[i]+'"':"classid"!=i.toLowerCase()&&(att+=" "+i+'="'+attObj[i]+'"'));var par="";for(var j in parObj)parObj[j]!=Object.prototype[j]&&(par+='<param name="'+j+'" value="'+parObj[j]+'" />');el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>",objIdArr[objIdArr.length]=attObj.id,r=getElementById(attObj.id)}else{var o=createElement(OBJECT);for(var m in o.setAttribute("type",FLASH_MIME_TYPE),attObj)attObj[m]!=Object.prototype[m]&&("styleclass"==m.toLowerCase()?o.setAttribute("class",attObj[m]):"classid"!=m.toLowerCase()&&o.setAttribute(m,attObj[m]));for(var n in parObj)parObj[n]!=Object.prototype[n]&&"movie"!=n.toLowerCase()&&createObjParam(o,n,parObj[n]);el.parentNode.replaceChild(o,el),r=o}return r}function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName),p.setAttribute("value",pValue),el.appendChild(p)}function removeSWF(id){var obj=getElementById(id);obj&&"OBJECT"==obj.nodeName&&(ua.ie&&ua.win?(obj.style.display="none",function(){4==obj.readyState?removeObjectInIE(id):setTimeout(arguments.callee,10)}()):obj.parentNode.removeChild(obj))}function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj)"function"==typeof obj[i]&&(obj[i]=null);obj.parentNode.removeChild(obj)}}function getElementById(id){var el=null;try{el=doc.getElementById(id)}catch(e){}return el}function createElement(el){return doc.createElement(el)}function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");return v[0]=parseInt(v[0],10),v[1]=parseInt(v[1],10)||0,v[2]=parseInt(v[2],10)||0,pv[0]>v[0]||pv[0]==v[0]&&pv[1]>v[1]||pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]}function createCSS(sel,decl,media,newStyle){if(!ua.ie||!ua.mac){var h=doc.getElementsByTagName("head")[0];if(h){var m=media&&"string"==typeof media?media:"screen";if(newStyle&&(dynamicStylesheet=null,dynamicStylesheetMedia=null),!dynamicStylesheet||dynamicStylesheetMedia!=m){var s=createElement("style");s.setAttribute("type","text/css"),s.setAttribute("media",m),dynamicStylesheet=h.appendChild(s),ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0&&(dynamicStylesheet=doc.styleSheets[doc.styleSheets.length-1]),dynamicStylesheetMedia=m}ua.ie&&ua.win?dynamicStylesheet&&typeof dynamicStylesheet.addRule==OBJECT&&dynamicStylesheet.addRule(sel,decl):dynamicStylesheet&&typeof doc.createTextNode!=UNDEF&&dynamicStylesheet.appendChild(doc.createTextNode(sel+" {"+decl+"}"))}}}function setVisibility(id,isVisible){if(autoHideShow){var v=isVisible?"visible":"hidden";isDomLoaded&&getElementById(id)?getElementById(id).style.visibility=v:createCSS("#"+id,"visibility:"+v)}}function urlEncodeIfNecessary(s){return null!=/[\\\"<>\.;]/.exec(s)&&typeof encodeURIComponent!=UNDEF?encodeURIComponent(s):s}ua.ie&&ua.win&&window.attachEvent("onunload",(function(){for(var ll=listenersArr.length,i=0;i<ll;i++)listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2]);for(var il=objIdArr.length,j=0;j<il;j++)removeSWF(objIdArr[j]);for(var k in ua)ua[k]=null;for(var l in ua=null,swfobject)swfobject[l]=null;swfobject=null}));return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr,callbackFn){if(ua.w3&&objectIdStr&&swfVersionStr){var regObj={};regObj.id=objectIdStr,regObj.swfVersion=swfVersionStr,regObj.expressInstall=xiSwfUrlStr,regObj.callbackFn=callbackFn,regObjArr[regObjArr.length]=regObj,setVisibility(objectIdStr,!1)}else callbackFn&&callbackFn({success:!1,id:objectIdStr})},getObjectById:function(objectIdStr){if(ua.w3)return getObjectById(objectIdStr)},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj,callbackFn){var callbackObj={success:!1,id:replaceElemIdStr};ua.w3&&!(ua.wk&&ua.wk<312)&&swfUrlStr&&replaceElemIdStr&&widthStr&&heightStr&&swfVersionStr?(setVisibility(replaceElemIdStr,!1),addDomLoadEvent((function(){widthStr+="",heightStr+="";var att={};if(attObj&&typeof attObj===OBJECT)for(var i in attObj)att[i]=attObj[i];att.data=swfUrlStr,att.width=widthStr,att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT)for(var j in parObj)par[j]=parObj[j];if(flashvarsObj&&typeof flashvarsObj===OBJECT)for(var k in flashvarsObj)typeof par.flashvars!=UNDEF?par.flashvars+="&"+k+"="+flashvarsObj[k]:par.flashvars=k+"="+flashvarsObj[k];if(hasPlayerVersion(swfVersionStr)){var obj=createSWF(att,par,replaceElemIdStr);att.id==replaceElemIdStr&&setVisibility(replaceElemIdStr,!0),callbackObj.success=!0,callbackObj.ref=obj}else{if(xiSwfUrlStr&&canExpressInstall())return att.data=xiSwfUrlStr,void showExpressInstall(att,par,replaceElemIdStr,callbackFn);setVisibility(replaceElemIdStr,!0)}callbackFn&&callbackFn(callbackObj)}))):callbackFn&&callbackFn(callbackObj)},switchOffAutoHideShow:function(){autoHideShow=!1},ua:ua,getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){return ua.w3?createSWF(attObj,parObj,replaceElemIdStr):void 0},showExpressInstall:function(att,par,replaceElemIdStr,callbackFn){ua.w3&&canExpressInstall()&&showExpressInstall(att,par,replaceElemIdStr,callbackFn)},removeSWF:function(objElemIdStr){ua.w3&&removeSWF(objElemIdStr)},createCSS:function(selStr,declStr,mediaStr,newStyleBoolean){ua.w3&&createCSS(selStr,declStr,mediaStr,newStyleBoolean)},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(q){if(/\?/.test(q)&&(q=q.split("?")[1]),null==param)return urlEncodeIfNecessary(q);for(var pairs=q.split("&"),i=0;i<pairs.length;i++)if(pairs[i].substring(0,pairs[i].indexOf("="))==param)return urlEncodeIfNecessary(pairs[i].substring(pairs[i].indexOf("=")+1))}return""},expressInstallCallback:function(){if(isExpressInstallActive){var obj=getElementById("SWFObjectExprInst");obj&&storedAltContent&&(obj.parentNode.replaceChild(storedAltContent,obj),storedAltContentId&&(setVisibility(storedAltContentId,!0),ua.ie&&ua.win&&(storedAltContent.style.display="block")),storedCallbackFn&&storedCallbackFn(storedCallbackObj)),isExpressInstallActive=!1}}}}()},KfNM:function(module,exports){var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},KroJ:function(module,exports,__webpack_require__){var global=__webpack_require__("dyZX"),hide=__webpack_require__("Mukb"),has=__webpack_require__("aagx"),SRC=__webpack_require__("ylqs")("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__webpack_require__("g3g5").inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)}))},Kuth:function(module,exports,__webpack_require__){var anObject=__webpack_require__("y3w9"),dPs=__webpack_require__("FJW5"),enumBugKeys=__webpack_require__("4R4u"),IE_PROTO=__webpack_require__("YTvA")("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__("Iw71")("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__("+rLv").appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),createDict=iframeDocument.F;i--;)delete createDict.prototype[enumBugKeys[i]];return createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:dPs(result,Properties)}},KxBF:function(module,exports){module.exports=function baseSlice(array,start,end){var index=-1,length=array.length;start<0&&(start=-start>length?0:length+start),(end=end>length?length:end)<0&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);++index<length;)result[index]=array[index+start];return result}},Kz5y:function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__("WFqU"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},L9s1:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),context=__webpack_require__("0sh+");$export($export.P+$export.F*__webpack_require__("UUeW")("includes"),"String",{includes:function includes(searchString){return!!~context(this,searchString,"includes").indexOf(searchString,arguments.length>1?arguments[1]:void 0)}})},LGOv:function(module,exports,__webpack_require__){module.exports=__webpack_require__("3BRs")},LK8F:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Array",{isArray:__webpack_require__("EWmC")})},LOvY:function(module,exports,__webpack_require__){"use strict";module.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}},LQAc:function(module,exports){module.exports=!1},LZWt:function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},Lgjv:function(module,exports,__webpack_require__){var toLength=__webpack_require__("ne8i"),repeat=__webpack_require__("l0Rn"),defined=__webpack_require__("vhPU");module.exports=function(that,maxLength,fillString,left){var S=String(defined(that)),stringLength=S.length,fillStr=void 0===fillString?" ":String(fillString),intMaxLength=toLength(maxLength);if(intMaxLength<=stringLength||""==fillStr)return S;var fillLen=intMaxLength-stringLength,stringFiller=repeat.call(fillStr,Math.ceil(fillLen/fillStr.length));return stringFiller.length>fillLen&&(stringFiller=stringFiller.slice(0,fillLen)),left?stringFiller+S:S+stringFiller}},Ljet:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Number",{EPSILON:Math.pow(2,-52)})},LoQE:function(module,exports,__webpack_require__){"use strict";var DataReader=__webpack_require__("vWU8");function Uint8ArrayReader(data){data&&(this.data=data,this.length=this.data.length,this.index=0)}Uint8ArrayReader.prototype=new DataReader,Uint8ArrayReader.prototype.byteAt=function(i){return this.data[i]},Uint8ArrayReader.prototype.lastIndexOfSignature=function(sig){for(var sig0=sig.charCodeAt(0),sig1=sig.charCodeAt(1),sig2=sig.charCodeAt(2),sig3=sig.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===sig0&&this.data[i+1]===sig1&&this.data[i+2]===sig2&&this.data[i+3]===sig3)return i;return-1},Uint8ArrayReader.prototype.readData=function(size){if(this.checkOffset(size),0===size)return new Uint8Array(0);var result=this.data.subarray(this.index,this.index+size);return this.index+=size,result},module.exports=Uint8ArrayReader},LrR4:function(module,exports,__webpack_require__){"use strict";var DataReader=__webpack_require__("vWU8"),utils=__webpack_require__("9aYe");function StringReader(data,optimizedBinaryString){this.data=data,optimizedBinaryString||(this.data=utils.string2binary(this.data)),this.length=this.data.length,this.index=0}StringReader.prototype=new DataReader,StringReader.prototype.byteAt=function(i){return this.data.charCodeAt(i)},StringReader.prototype.lastIndexOfSignature=function(sig){return this.data.lastIndexOf(sig)},StringReader.prototype.readData=function(size){this.checkOffset(size);var result=this.data.slice(this.index,this.index+size);return this.index+=size,result},module.exports=StringReader},LyE8:function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__("eeVq");module.exports=function(method,arg){return!!method&&fails((function(){arg?method.call(null,(function(){}),1):method.call(null)}))}},M39V:function(module,exports,__webpack_require__){module.exports=function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i=r(18),n=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,i){void 0===i&&(i=!1);var n=e.getVersionPrecision(t),s=e.getVersionPrecision(r),o=Math.max(n,s),a=0,u=e.map([t,r],(function(t){var r=o-e.getVersionPrecision(t),i=t+new Array(r+1).join(".0");return e.map(i.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(i&&(a=o-Math.min(n,s)),o-=1;o>=a;){if(u[0][o]>u[1][o])return 1;if(u[0][o]===u[1][o]){if(o===a)return 0;o-=1}else if(u[0][o]<u[1][o])return-1}},e.map=function(e,t){var r,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)i.push(t(e[r]));return i},e.getBrowserAlias=function(e){return i.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return i.BROWSER_MAP[e]||""},e}();t.default=n,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(91))&&i.__esModule?i:{default:i},s=r(18);function o(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var a=function(){function e(){}var t,r,i;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new n.default(e,t)},e.parse=function(e){return new n.default(e).getResult()},t=e,i=[{key:"BROWSER_MAP",get:function(){return s.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return s.ENGINE_MAP}},{key:"OS_MAP",get:function(){return s.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return s.PLATFORMS_MAP}}],(r=null)&&o(t.prototype,r),i&&o(t,i),e}();t.default=a,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i=u(r(92)),n=u(r(93)),s=u(r(94)),o=u(r(95)),a=u(r(17));function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=i.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=n.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=o.default.find((function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return Object.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},i=0,n={},s=0;if(Object.keys(e).forEach((function(t){var o=e[t];"string"==typeof o?(n[t]=o,s+=1):"object"==typeof o&&(r[t]=o,i+=1)})),i>0){var o=Object.keys(r),a=o.find((function(e){return t.isOS(e)}));if(a){var u=this.satisfies(r[a]);if(void 0!==u)return u}var d=o.find((function(e){return t.isPlatform(e)}));if(d){var c=this.satisfies(r[d]);if(void 0!==c)return c}}if(s>0){var f=Object.keys(n).find((function(e){return t.isBrowser(e,!0)}));if(void 0!==f)return this.compareVersion(n[f])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),n=a.default.getBrowserTypeByAlias(i);return t&&n&&(i=n.toLowerCase()),i===r},t.compareVersion=function(e){var t=[0],r=e,i=!1,n=this.getBrowserVersion();if("string"==typeof n)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(i=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(i=!0,r=e.substr(1)),t.indexOf(a.default.compareVersions(n,r,i))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e){return this.isBrowser(e)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},s=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=n.default.getFirstMatch(s,e)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=n.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(t,e),version:n.default.getSecondMatch(t,e)}}}];t.default=o,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},s=r(18),o=[{test:[/Roku\/DVP/],describe:function(e){var t=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows/i],describe:function(e){var t=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=n.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/macintosh/i],describe:function(e){var t=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=n.default.getMacOSVersionName(t),i={name:s.OS_MAP.MacOS,version:t};return r&&(i.versionName=r),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=n.default.getAndroidVersionName(t),i={name:s.OS_MAP.Android,version:t};return r&&(i.versionName=r),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||n.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=o,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},s=r(18),o=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=n.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:s.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=n.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=o,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var i,n=(i=r(17))&&i.__esModule?i:{default:i},s=r(18),o=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=o,e.exports=t.default}})},M6Qj:function(module,exports,__webpack_require__){var Iterators=__webpack_require__("hPIQ"),ITERATOR=__webpack_require__("K0xU")("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},MVVq:function(module,exports,__webpack_require__){"use strict";var crcTable=function makeTable(){for(var c,table=[],n=0;n<256;n++){c=n;for(var k=0;k<8;k++)c=1&c?3988292384^c>>>1:c>>>1;table[n]=c}return table}();module.exports=function crc32(crc,buf,len,pos){var t=crcTable,end=pos+len;crc^=-1;for(var i=pos;i<end;i++)crc=crc>>>8^t[255&(crc^buf[i])];return-1^crc}},MYRh:function(module,exports){!function(){"use strict";if(!self.fetch){Headers.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);var list=this.map[name];list||(list=[],this.map[name]=list),list.push(value)},Headers.prototype.delete=function(name){delete this.map[normalizeName(name)]},Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null},Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]},Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))},Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]},Headers.prototype.forEach=function(callback){var self=this;Object.getOwnPropertyNames(this.map).forEach((function(name){callback(name,self.map[name])}))};var support_blob="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),support_formData="FormData"in self,methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"],noXhrPatch=!("undefined"==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);Body.call(Request.prototype),Body.call(Response.prototype),self.Headers=Headers,self.Request=Request,self.Response=Response,self.fetch=function(input,init){var request;return request=Request.prototype.isPrototypeOf(input)&&!init?input:new Request(input,init),new fetch.Promise((function(resolve,reject){var xhr=function getXhr(){return noXhrPatch&&!/^(get|post|head|put|delete|options)$/i.test(this.method)?(this.usingActiveXhr=!0,new ActiveXObject("Microsoft.XMLHTTP")):new XMLHttpRequest}();function onload(){if(4===xhr.readyState){var status=1223===xhr.status?204:xhr.status;if(status<100||status>599)reject(new TypeError("Network request failed"));else{var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:"responseURL"in xhr?xhr.responseURL:/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())?xhr.getResponseHeader("X-Request-URL"):void 0},body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))}}}"cors"===request.credentials&&(xhr.withCredentials=!0),xhr.onreadystatechange=onload,self.usingActiveXhr||(xhr.onload=onload,xhr.onerror=function(){reject(new TypeError("Network request failed"))}),xhr.open(request.method,request.url,!0),"responseType"in xhr&&support_blob&&(xhr.responseType="blob"),request.headers.forEach((function(name,values){values.forEach((function(value){xhr.setRequestHeader(name,value)}))})),xhr.send(void 0===request._bodyInit?null:request._bodyInit)}))},fetch.Promise=self.Promise,self.fetch.polyfill=!0}function normalizeName(name){if("string"!=typeof name&&(name=name.toString()),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){return"string"!=typeof value&&(value=value.toString()),value}function Headers(headers){this.map={};var self=this;headers instanceof Headers?headers.forEach((function(name,values){values.forEach((function(value){self.append(name,value)}))})):headers&&Object.getOwnPropertyNames(headers).forEach((function(name){self.append(name,headers[name])}))}function consumed(body){if(body.bodyUsed)return fetch.Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function fileReaderReady(reader){return new fetch.Promise((function(resolve,reject){reader.onload=function(){resolve(reader.result)},reader.onerror=function(){reject(reader.error)}}))}function readBlobAsArrayBuffer(blob){var reader=new FileReader;return reader.readAsArrayBuffer(blob),fileReaderReady(reader)}function Body(){return this.bodyUsed=!1,this._initBody=function(body){if(this._bodyInit=body,"string"==typeof body)this._bodyText=body;else if(support_blob&&Blob.prototype.isPrototypeOf(body))this._bodyBlob=body;else if(support_formData&&FormData.prototype.isPrototypeOf(body))this._bodyFormData=body;else{if(body)throw new Error("unsupported BodyInit type");this._bodyText=""}},support_blob?(this.blob=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return fetch.Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return fetch.Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)},this.text=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return function readBlobAsText(blob){var reader=new FileReader;return reader.readAsText(blob),fileReaderReady(reader)}(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return fetch.Promise.resolve(this._bodyText)}):this.text=function(){var rejected=consumed(this);return rejected||fetch.Promise.resolve(this._bodyText)},support_formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then((function(text){return JSON.parse(text)}))},this}function Request(url,options){if(options=options||{},this.url=url,this.credentials=options.credentials||"omit",this.headers=new Headers(options.headers),this.method=function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}(options.method||"GET"),this.mode=options.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&options.body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(options.body)}function decode(body){var form=new FormData;return body.trim().split("&").forEach((function(bytes){if(bytes){var split=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}})),form}function headers(xhr){var head=new Headers;return xhr.getAllResponseHeaders().trim().split("\n").forEach((function(header){var split=header.trim().split(":"),key=split.shift().trim(),value=split.join(":").trim();head.append(key,value)})),head}function Response(bodyInit,options){options||(options={}),this._initBody(bodyInit),this.type="default",this.url=null,this.status=options.status,this.ok=this.status>=200&&this.status<300,this.statusText=options.statusText,this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers),this.url=options.url||""}}()},MdMo:function(module,exports,__webpack_require__){"use strict";for(var utils=__webpack_require__("9aYe"),support=__webpack_require__("Mi3D"),nodeBuffer=__webpack_require__("z//S"),_utf8len=new Array(256),i=0;i<256;i++)_utf8len[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;_utf8len[254]=_utf8len[254]=1;var utf8border=function(buf,max){var pos;for((max=max||buf.length)>buf.length&&(max=buf.length),pos=max-1;pos>=0&&128==(192&buf[pos]);)pos--;return pos<0||0===pos?max:pos+_utf8len[buf[pos]]>max?pos:max},buf2string=function(buf){var i,out,c,c_len,len=buf.length,utf16buf=new Array(2*len);for(out=0,i=0;i<len;)if((c=buf[i++])<128)utf16buf[out++]=c;else if((c_len=_utf8len[c])>4)utf16buf[out++]=65533,i+=c_len-1;else{for(c&=2===c_len?31:3===c_len?15:7;c_len>1&&i<len;)c=c<<6|63&buf[i++],c_len--;c_len>1?utf16buf[out++]=65533:c<65536?utf16buf[out++]=c:(c-=65536,utf16buf[out++]=55296|c>>10&1023,utf16buf[out++]=56320|1023&c)}return utf16buf.length!==out&&(utf16buf.subarray?utf16buf=utf16buf.subarray(0,out):utf16buf.length=out),utils.applyFromCharCode(utf16buf)};exports.utf8encode=function utf8encode(str){return support.nodebuffer?nodeBuffer(str,"utf-8"):function(str){var buf,c,c2,m_pos,i,str_len=str.length,buf_len=0;for(m_pos=0;m_pos<str_len;m_pos++)55296==(64512&(c=str.charCodeAt(m_pos)))&&m_pos+1<str_len&&56320==(64512&(c2=str.charCodeAt(m_pos+1)))&&(c=65536+(c-55296<<10)+(c2-56320),m_pos++),buf_len+=c<128?1:c<2048?2:c<65536?3:4;for(buf=support.uint8array?new Uint8Array(buf_len):new Array(buf_len),i=0,m_pos=0;i<buf_len;m_pos++)55296==(64512&(c=str.charCodeAt(m_pos)))&&m_pos+1<str_len&&56320==(64512&(c2=str.charCodeAt(m_pos+1)))&&(c=65536+(c-55296<<10)+(c2-56320),m_pos++),c<128?buf[i++]=c:c<2048?(buf[i++]=192|c>>>6,buf[i++]=128|63&c):c<65536?(buf[i++]=224|c>>>12,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c):(buf[i++]=240|c>>>18,buf[i++]=128|c>>>12&63,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c);return buf}(str)},exports.utf8decode=function utf8decode(buf){if(support.nodebuffer)return utils.transformTo("nodebuffer",buf).toString("utf-8");for(var result=[],k=0,len=(buf=utils.transformTo(support.uint8array?"uint8array":"array",buf)).length;k<len;){var nextBoundary=utf8border(buf,Math.min(k+65536,len));support.uint8array?result.push(buf2string(buf.subarray(k,nextBoundary))):result.push(buf2string(buf.slice(k,nextBoundary))),k=nextBoundary}return result.join("")}},MfQN:function(module,exports){module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},MgzW:function(module,exports,__webpack_require__){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}module.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=toObject(target),s=1;s<arguments.length;s++){for(var key in from=Object(arguments[s]))hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},Mi3D:function(module,exports,__webpack_require__){"use strict";(function(Buffer){if(exports.base64=!0,exports.array=!0,exports.string=!0,exports.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,exports.nodebuffer=void 0!==Buffer,exports.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)exports.blob=!1;else{var buffer=new ArrayBuffer(0);try{exports.blob=0===new Blob([buffer],{type:"application/zip"}).size}catch(e){try{var builder=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);builder.append(buffer),exports.blob=0===builder.getBlob("application/zip").size}catch(e){exports.blob=!1}}}}).call(this,__webpack_require__("tjlA").Buffer)},Mqc4:function(module,exports,__webpack_require__){__webpack_require__("ioFf"),__webpack_require__("hHhE"),__webpack_require__("HAE/"),__webpack_require__("WLL4"),__webpack_require__("mYba"),__webpack_require__("5Pf0"),__webpack_require__("RW0V"),__webpack_require__("JduL"),__webpack_require__("DW2E"),__webpack_require__("z2o2"),__webpack_require__("mura"),__webpack_require__("Zshi"),__webpack_require__("V/DX"),__webpack_require__("FlsD"),__webpack_require__("91GP"),__webpack_require__("25dN"),__webpack_require__("/SS/"),__webpack_require__("Btvt"),__webpack_require__("jm62"),__webpack_require__("hhXQ"),__webpack_require__("/8Fb"),__webpack_require__("RQRG"),__webpack_require__("/uf1"),__webpack_require__("uaHG"),__webpack_require__("ZNX/"),__webpack_require__("uj4h"),__webpack_require__("zIlf"),__webpack_require__("mApr"),__webpack_require__("IPzR"),module.exports=__webpack_require__("g3g5").Object},Mukb:function(module,exports,__webpack_require__){var dP=__webpack_require__("hswa"),createDesc=__webpack_require__("RjD/");module.exports=__webpack_require__("nh4g")?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},N8g3:function(module,exports,__webpack_require__){exports.f=__webpack_require__("K0xU")},NKxu:function(module,exports,__webpack_require__){var isFunction=__webpack_require__("lSCD"),isMasked=__webpack_require__("E2jh"),isObject=__webpack_require__("GoyQ"),toSource=__webpack_require__("3Fdi"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},NTXk:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$at=__webpack_require__("AvRE")(!0);$export($export.P,"String",{at:function at(pos){return $at(this,pos)}})},Nehr:function(module,exports,__webpack_require__){"use strict";module.exports={isString:function(arg){return"string"==typeof arg},isObject:function(arg){return"object"==typeof arg&&null!==arg},isNull:function(arg){return null===arg},isNullOrUndefined:function(arg){return null==arg}}},"Np/R":function(module,exports,__webpack_require__){"use strict";var extendStatics,__extends=this&&this.__extends||(extendStatics=function(d,b){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])})(d,b)},function(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)});function AutoWired(target){var newConstructor=InjectorHanlder.decorateConstructor(target);return IoCContainer.bind(target).toConstructor(newConstructor),newConstructor}function InjectPropertyDecorator(target,key){var t=Reflect.getMetadata("design:type",target,key);t||(t=Reflect.getMetadata("design:type",target.constructor,key)),IoCContainer.injectProperty(target.constructor,key,t)}function InjectParamDecorator(target,propertyKey,parameterIndex){if(!propertyKey){var config=IoCContainer.bind(target);config.paramTypes=config.paramTypes||[];var paramTypes=Reflect.getMetadata("design:paramtypes",target);config.paramTypes.unshift(paramTypes[parameterIndex])}}Object.defineProperty(exports,"__esModule",{value:!0}),__webpack_require__("mNvP"),exports.Singleton=function Singleton(target){IoCContainer.bind(target).scope(Scope.Singleton)},exports.Scoped=function Scoped(scope){return function(target){IoCContainer.bind(target).scope(scope)}},exports.Provided=function Provided(provider){return function(target){IoCContainer.bind(target).provider(provider)}},exports.Provides=function Provides(target){return function(to){IoCContainer.bind(target).to(to)}},exports.AutoWired=AutoWired,exports.Inject=function Inject(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];if(args.length<3||void 0===args[2])return InjectPropertyDecorator.apply(this,args);if(3===args.length&&"number"==typeof args[2])return InjectParamDecorator.apply(this,args);throw new Error("Invalid @Inject Decorator declaration.")};var Container=function(){function Container(){}return Container.bind=function(source){return IoCContainer.isBound(source)?IoCContainer.bind(source):(AutoWired(source),IoCContainer.bind(source).to(source))},Container.get=function(source){return IoCContainer.get(source)},Container.getType=function(source){return IoCContainer.getType(source)},Container.snapshot=function(source){var config=Container.bind(source);Container.snapshots.providers.set(source,config.iocprovider),config.iocscope&&Container.snapshots.scopes.set(source,config.iocscope)},Container.restore=function(source){if(!Container.snapshots.providers.has(source))throw new TypeError("Config for source was never snapshoted.");var config=Container.bind(source);config.provider(Container.snapshots.providers.get(source)),Container.snapshots.scopes.has(source)&&config.scope(Container.snapshots.scopes.get(source))},Container.snapshots={providers:new Map,scopes:new Map},Container}();exports.Container=Container;var IoCContainer=function(){function IoCContainer(){}return IoCContainer.isBound=function(source){checkType(source);var baseSource=InjectorHanlder.getConstructorFromType(source);return!!IoCContainer.bindings.get(baseSource)},IoCContainer.bind=function(source){checkType(source);var baseSource=InjectorHanlder.getConstructorFromType(source),config=IoCContainer.bindings.get(baseSource);return config||(config=new ConfigImpl(baseSource),IoCContainer.bindings.set(baseSource,config)),config},IoCContainer.get=function(source){var config=IoCContainer.bind(source);return config.iocprovider||config.to(config.source),config.getInstance()},IoCContainer.getType=function(source){checkType(source);var baseSource=InjectorHanlder.getConstructorFromType(source),config=IoCContainer.bindings.get(baseSource);if(!config)throw new TypeError("The type "+source.name+" hasn't been registered with the IOC Container");return config.targetSource||config.source},IoCContainer.injectProperty=function(target,key,propertyType){var propKey="__"+key;Object.defineProperty(target.prototype,key,{enumerable:!0,get:function(){return this[propKey]?this[propKey]:this[propKey]=IoCContainer.get(propertyType)},set:function(newValue){this[propKey]=newValue}})},IoCContainer.assertInstantiable=function(target){if(target.__block_Instantiation)throw new TypeError("Can not instantiate Singleton class. Ask Container for it, using Container.get")},IoCContainer.bindings=new Map,IoCContainer}();function checkType(source){if(!source)throw new TypeError("Invalid type requested to IoC container. Type is not defined.")}var ConfigImpl=function(){function ConfigImpl(source){this.source=source}return ConfigImpl.prototype.to=function(target){checkType(target);var targetSource=InjectorHanlder.getConstructorFromType(target);if(this.targetSource=targetSource,this.source===targetSource){var configImpl_1=this;this.iocprovider={get:function(){var _a,params=configImpl_1.getParameters();return configImpl_1.decoratedConstructor?params?new((_a=configImpl_1.decoratedConstructor).bind.apply(_a,[void 0].concat(params))):new configImpl_1.decoratedConstructor:params?new(target.bind.apply(target,[void 0].concat(params))):new target}}}else this.iocprovider={get:function(){return IoCContainer.get(target)}};return this.iocscope&&this.iocscope.reset(this.source),this},ConfigImpl.prototype.provider=function(provider){return this.iocprovider=provider,this.iocscope&&this.iocscope.reset(this.source),this},ConfigImpl.prototype.scope=function(scope){return this.iocscope=scope,scope===Scope.Singleton?(this.source.__block_Instantiation=!0,scope.reset(this.source)):this.source.__block_Instantiation&&delete this.source.__block_Instantiation,this},ConfigImpl.prototype.withParams=function(){for(var paramTypes=[],_i=0;_i<arguments.length;_i++)paramTypes[_i]=arguments[_i];return this.paramTypes=paramTypes,this},ConfigImpl.prototype.toConstructor=function(newConstructor){return this.decoratedConstructor=newConstructor,this},ConfigImpl.prototype.getInstance=function(){return this.iocscope||this.scope(Scope.Local),this.iocscope.resolve(this.iocprovider,this.source)},ConfigImpl.prototype.getParameters=function(){return this.paramTypes?this.paramTypes.map((function(paramType){return IoCContainer.get(paramType)})):null},ConfigImpl}(),Scope=function(){function Scope(){}return Scope.prototype.reset=function(source){},Scope}();exports.Scope=Scope;var LocalScope=function(_super){function LocalScope(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(LocalScope,_super),LocalScope.prototype.resolve=function(provider,source){return provider.get()},LocalScope}(Scope);Scope.Local=new LocalScope;var SingletonScope=function(_super){function SingletonScope(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(SingletonScope,_super),SingletonScope.prototype.resolve=function(provider,source){var instance=SingletonScope.instances.get(source);return instance||(source.__block_Instantiation=!1,instance=provider.get(),source.__block_Instantiation=!0,SingletonScope.instances.set(source,instance)),instance},SingletonScope.prototype.reset=function(source){SingletonScope.instances.delete(InjectorHanlder.getConstructorFromType(source))},SingletonScope.instances=new Map,SingletonScope}(Scope);Scope.Singleton=new SingletonScope;var InjectorHanlder=function(){function InjectorHanlder(){}return InjectorHanlder.decorateConstructor=function(target){var newConstructor;return(newConstructor=function(_super){function ioc_wrapper(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];var _this=_super.apply(this,args)||this;return IoCContainer.assertInstantiable(target),_this}return __extends(ioc_wrapper,_super),ioc_wrapper}(target)).__parent=target,newConstructor},InjectorHanlder.hasNamedConstructor=function(source){if(source.name)return"ioc_wrapper"!==source.name;try{var constructorName=source.prototype.constructor.toString().match(this.constructorNameRegEx)[1];return constructorName&&"ioc_wrapper"!==constructorName}catch(_a){}return!1},InjectorHanlder.getConstructorFromType=function(target){var typeConstructor=target;if(this.hasNamedConstructor(typeConstructor))return typeConstructor;for(typeConstructor=typeConstructor.__parent;typeConstructor;){if(this.hasNamedConstructor(typeConstructor))return typeConstructor;typeConstructor=typeConstructor.__parent}throw TypeError("Can not identify the base Type for requested target "+target.toString())},InjectorHanlder.constructorNameRegEx=/function (\w*)/,InjectorHanlder}()},Npjl:function(module,exports){module.exports=function getValue(object,key){return null==object?void 0:object[key]}},Nr18:function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__("S/j/"),toAbsoluteIndex=__webpack_require__("d/Gc"),toLength=__webpack_require__("ne8i");module.exports=function fill(value){for(var O=toObject(this),length=toLength(O.length),aLen=arguments.length,index=toAbsoluteIndex(aLen>1?arguments[1]:void 0,length),end=aLen>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},NykK:function(module,exports,__webpack_require__){var Symbol=__webpack_require__("nmnc"),getRawTag=__webpack_require__("AP2z"),objectToString=__webpack_require__("KfNM"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},Nz9U:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toIObject=__webpack_require__("aCFj"),arrayJoin=[].join;$export($export.P+$export.F*(__webpack_require__("Ymqv")!=Object||!__webpack_require__("LyE8")(arrayJoin)),"Array",{join:function join(separator){return arrayJoin.call(toIObject(this),void 0===separator?",":separator)}})},OAlG:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN")},OG14:function(module,exports,__webpack_require__){__webpack_require__("IU+Z")("search",1,(function(defined,SEARCH,$search){return[function search(regexp){"use strict";var O=defined(this),fn=null==regexp?void 0:regexp[SEARCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[SEARCH](String(O))},$search]}))},OGtf:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),fails=__webpack_require__("eeVq"),defined=__webpack_require__("vhPU"),quot=/"/g,createHTML=function(string,tag,attribute,value){var S=String(defined(string)),p1="<"+tag;return""!==attribute&&(p1+=" "+attribute+'="'+String(value).replace(quot,"&quot;")+'"'),p1+">"+S+"</"+tag+">"};module.exports=function(NAME,exec){var O={};O[NAME]=exec(createHTML),$export($export.P+$export.F*fails((function(){var test=""[NAME]('"');return test!==test.toLowerCase()||test.split('"').length>3})),"String",O)}},OP3Y:function(module,exports,__webpack_require__){var has=__webpack_require__("aagx"),toObject=__webpack_require__("S/j/"),IE_PROTO=__webpack_require__("YTvA")("IE_PROTO"),ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectProto:null}},OnI7:function(module,exports,__webpack_require__){var global=__webpack_require__("dyZX"),core=__webpack_require__("g3g5"),LIBRARY=__webpack_require__("LQAc"),wksExt=__webpack_require__("N8g3"),defineProperty=__webpack_require__("hswa").f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},Onz0:function(module,exports,__webpack_require__){(function(Buffer){function objectToString(o){return Object.prototype.toString.call(o)}exports.isArray=function isArray(arg){return Array.isArray?Array.isArray(arg):"[object Array]"===objectToString(arg)},exports.isBoolean=function isBoolean(arg){return"boolean"==typeof arg},exports.isNull=function isNull(arg){return null===arg},exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=function isNumber(arg){return"number"==typeof arg},exports.isString=function isString(arg){return"string"==typeof arg},exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=function isUndefined(arg){return void 0===arg},exports.isRegExp=function isRegExp(re){return"[object RegExp]"===objectToString(re)},exports.isObject=function isObject(arg){return"object"==typeof arg&&null!==arg},exports.isDate=function isDate(d){return"[object Date]"===objectToString(d)},exports.isError=function isError(e){return"[object Error]"===objectToString(e)||e instanceof Error},exports.isFunction=function isFunction(arg){return"function"==typeof arg},exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=Buffer.isBuffer}).call(this,__webpack_require__("tjlA").Buffer)},"Oo/Z":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="clear-basket"},Ox1d:function(module,exports,__webpack_require__){__webpack_require__("ioFf"),__webpack_require__("Btvt"),__webpack_require__("rE2o"),__webpack_require__("x8qZ"),module.exports=__webpack_require__("g3g5").Symbol},P7XM:function(module,exports){"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},PBZ4:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="place-order-requested"},PDX0:function(module,exports){(function(__webpack_amd_options__){module.exports=__webpack_amd_options__}).call(this,{})},PKUr:function(module,exports,__webpack_require__){var $parseInt=__webpack_require__("dyZX").parseInt,$trim=__webpack_require__("qncB").trim,ws=__webpack_require__("/e88"),hex=/^[-+]?0[xX]/;module.exports=8!==$parseInt(ws+"08")||22!==$parseInt(ws+"0x16")?function parseInt(str,radix){var string=$trim(String(str),3);return $parseInt(string,radix>>>0||(hex.test(string)?16:10))}:$parseInt},Q3ne:function(module,exports,__webpack_require__){var forOf=__webpack_require__("SlkY");module.exports=function(iter,ITERATOR){var result=[];return forOf(iter,!1,result.push,result,ITERATOR),result}},Q6ZU:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign},QHpn:function(module,exports,__webpack_require__){"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}!function(self){if(!self.AbortController){var AbortSignal=function(_Emitter){function AbortSignal(){_classCallCheck(this,AbortSignal);var _this2=function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}(this,(AbortSignal.__proto__||Object.getPrototypeOf(AbortSignal)).call(this));return _this2.aborted=!1,_this2}return function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}(AbortSignal,_Emitter),_createClass(AbortSignal,[{key:"toString",value:function toString(){return"[object AbortSignal]"}}]),AbortSignal}((function Emitter(){var _this=this;_classCallCheck(this,Emitter);var delegate=document.createDocumentFragment();["addEventListener","dispatchEvent","removeEventListener"].forEach((function(method){return _this[method]=function(){return delegate[method].apply(delegate,arguments)}}))})),AbortController=function(){function AbortController(){_classCallCheck(this,AbortController),this.signal=new AbortSignal}return _createClass(AbortController,[{key:"abort",value:function abort(){this.signal.aborted=!0;try{this.signal.dispatchEvent(new Event("abort"))}catch(e){var event=document.createEvent("Event");event.initEvent("abort",!1,!0),this.signal.dispatchEvent(event)}}},{key:"toString",value:function toString(){return"[object AbortController]"}}]),AbortController}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(AbortController.prototype[Symbol.toStringTag]="AbortController",AbortSignal.prototype[Symbol.toStringTag]="AbortSignal"),self.AbortController=AbortController,self.AbortSignal=AbortSignal}}("undefined"!=typeof self?self:void 0)},QSbz:function(module,exports,__webpack_require__){"use strict";var zlib_deflate=__webpack_require__("oXfm"),utils=__webpack_require__("vn/o"),strings=__webpack_require__("eydS"),msg=__webpack_require__("Tcbo"),ZStream=__webpack_require__("iTZm"),toString=Object.prototype.toString;function Deflate(options){if(!(this instanceof Deflate))return new Deflate(options);this.options=utils.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},options||{});var opt=this.options;opt.raw&&opt.windowBits>0?opt.windowBits=-opt.windowBits:opt.gzip&&opt.windowBits>0&&opt.windowBits<16&&(opt.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;var status=zlib_deflate.deflateInit2(this.strm,opt.level,opt.method,opt.windowBits,opt.memLevel,opt.strategy);if(0!==status)throw new Error(msg[status]);if(opt.header&&zlib_deflate.deflateSetHeader(this.strm,opt.header),opt.dictionary){var dict;if(dict="string"==typeof opt.dictionary?strings.string2buf(opt.dictionary):"[object ArrayBuffer]"===toString.call(opt.dictionary)?new Uint8Array(opt.dictionary):opt.dictionary,0!==(status=zlib_deflate.deflateSetDictionary(this.strm,dict)))throw new Error(msg[status]);this._dict_set=!0}}function deflate(input,options){var deflator=new Deflate(options);if(deflator.push(input,!0),deflator.err)throw deflator.msg;return deflator.result}Deflate.prototype.push=function(data,mode){var status,_mode,strm=this.strm,chunkSize=this.options.chunkSize;if(this.ended)return!1;_mode=mode===~~mode?mode:!0===mode?4:0,"string"==typeof data?strm.input=strings.string2buf(data):"[object ArrayBuffer]"===toString.call(data)?strm.input=new Uint8Array(data):strm.input=data,strm.next_in=0,strm.avail_in=strm.input.length;do{if(0===strm.avail_out&&(strm.output=new utils.Buf8(chunkSize),strm.next_out=0,strm.avail_out=chunkSize),1!==(status=zlib_deflate.deflate(strm,_mode))&&0!==status)return this.onEnd(status),this.ended=!0,!1;0!==strm.avail_out&&(0!==strm.avail_in||4!==_mode&&2!==_mode)||("string"===this.options.to?this.onData(strings.buf2binstring(utils.shrinkBuf(strm.output,strm.next_out))):this.onData(utils.shrinkBuf(strm.output,strm.next_out)))}while((strm.avail_in>0||0===strm.avail_out)&&1!==status);return 4===_mode?(status=zlib_deflate.deflateEnd(this.strm),this.onEnd(status),this.ended=!0,0===status):2!==_mode||(this.onEnd(0),strm.avail_out=0,!0)},Deflate.prototype.onData=function(chunk){this.chunks.push(chunk)},Deflate.prototype.onEnd=function(status){0===status&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=status,this.msg=this.strm.msg},exports.Deflate=Deflate,exports.deflate=deflate,exports.deflateRaw=function deflateRaw(input,options){return(options=options||{}).raw=!0,deflate(input,options)},exports.gzip=function gzip(input,options){return(options=options||{}).gzip=!0,deflate(input,options)}},QWy2:function(module,exports,__webpack_require__){__webpack_require__("KOQb")("Map")},QaDb:function(module,exports,__webpack_require__){"use strict";var create=__webpack_require__("Kuth"),descriptor=__webpack_require__("RjD/"),setToStringTag=__webpack_require__("fyDq"),IteratorPrototype={};__webpack_require__("Mukb")(IteratorPrototype,__webpack_require__("K0xU")("iterator"),(function(){return this})),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},QiE7:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="add-basket-offer"},QkVE:function(module,exports,__webpack_require__){var isKeyable=__webpack_require__("EpBk");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},QpuX:function(module,exports,__webpack_require__){module.exports=__webpack_require__("+qE3").EventEmitter},"R+Rm":function(module,exports,__webpack_require__){__webpack_require__("Btvt"),__webpack_require__("XfO3"),__webpack_require__("rGqo"),__webpack_require__("9AAn"),__webpack_require__("RwTk"),__webpack_require__("cpsI"),__webpack_require__("QWy2"),module.exports=__webpack_require__("g3g5").Map},RCym:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NewsletterSubscribe=exports.Name=void 0,exports.Name="newsletter-subscribe",exports.NewsletterSubscribe=exports.Name},RLh9:function(module,exports,__webpack_require__){var classof=__webpack_require__("I8a+"),from=__webpack_require__("Q3ne");module.exports=function(NAME){return function toJSON(){if(classof(this)!=NAME)throw TypeError(NAME+"#toJSON isn't generic");return from(this)}}},RQRG:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toObject=__webpack_require__("S/j/"),aFunction=__webpack_require__("2OiF"),$defineProperty=__webpack_require__("hswa");__webpack_require__("nh4g")&&$export($export.P+__webpack_require__("xbSm"),"Object",{__defineGetter__:function __defineGetter__(P,getter){$defineProperty.f(toObject(this),P,{get:aFunction(getter),enumerable:!0,configurable:!0})}})},RW0V:function(module,exports,__webpack_require__){var toObject=__webpack_require__("S/j/"),$keys=__webpack_require__("DVgA");__webpack_require__("Xtr8")("keys",(function(){return function keys(it){return $keys(toObject(it))}}))},RYi7:function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},"RjD/":function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},Rm3R:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return FormValidationErrorEvent})),__webpack_require__.d(__webpack_exports__,"b",(function(){return ValidationEventType}));var ValidationEventType,FormValidationErrorEvent="form-validation-error";!function(ValidationEventType){ValidationEventType.KendoValidate="kendo validate",ValidationEventType.KendoInputValidate="kendo inputValidate",ValidationEventType.KendoInputRemoteValidate="kendo inputRemoteValidate",ValidationEventType.KendoInvalidInputFocus="kendo invalidInputFocus"}(ValidationEventType||(ValidationEventType={}))},RoFp:function(module,exports,__webpack_require__){"use strict";var pna=__webpack_require__("lm0R");function emitErrorNT(self,err){self.emit("error",err)}module.exports={destroy:function destroy(err,cb){var _this=this,readableDestroyed=this._readableState&&this._readableState.destroyed,writableDestroyed=this._writableState&&this._writableState.destroyed;return readableDestroyed||writableDestroyed?(cb?cb(err):!err||this._writableState&&this._writableState.errorEmitted||pna.nextTick(emitErrorNT,this,err),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(err||null,(function(err){!cb&&err?(pna.nextTick(emitErrorNT,_this,err),_this._writableState&&(_this._writableState.errorEmitted=!0)):cb&&cb(err)})),this)},undestroy:function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},RwTk:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.P+$export.R,"Map",{toJSON:__webpack_require__("RLh9")("Map")})},Rwuk:function(module,exports,__webpack_require__){"use strict";(function(process){var Buffer=__webpack_require__("tjlA").Buffer,Transform=__webpack_require__("1IWx").Transform,binding=__webpack_require__("a3Xj"),util=__webpack_require__("7tlc"),assert=__webpack_require__("9lTW").ok,kMaxLength=__webpack_require__("tjlA").kMaxLength,kRangeErrorMessage="Cannot create final Buffer. It would be larger than 0x"+kMaxLength.toString(16)+" bytes";binding.Z_MIN_WINDOWBITS=8,binding.Z_MAX_WINDOWBITS=15,binding.Z_DEFAULT_WINDOWBITS=15,binding.Z_MIN_CHUNK=64,binding.Z_MAX_CHUNK=1/0,binding.Z_DEFAULT_CHUNK=16384,binding.Z_MIN_MEMLEVEL=1,binding.Z_MAX_MEMLEVEL=9,binding.Z_DEFAULT_MEMLEVEL=8,binding.Z_MIN_LEVEL=-1,binding.Z_MAX_LEVEL=9,binding.Z_DEFAULT_LEVEL=binding.Z_DEFAULT_COMPRESSION;for(var bkeys=Object.keys(binding),bk=0;bk<bkeys.length;bk++){var bkey=bkeys[bk];bkey.match(/^Z/)&&Object.defineProperty(exports,bkey,{enumerable:!0,value:binding[bkey],writable:!1})}for(var codes={Z_OK:binding.Z_OK,Z_STREAM_END:binding.Z_STREAM_END,Z_NEED_DICT:binding.Z_NEED_DICT,Z_ERRNO:binding.Z_ERRNO,Z_STREAM_ERROR:binding.Z_STREAM_ERROR,Z_DATA_ERROR:binding.Z_DATA_ERROR,Z_MEM_ERROR:binding.Z_MEM_ERROR,Z_BUF_ERROR:binding.Z_BUF_ERROR,Z_VERSION_ERROR:binding.Z_VERSION_ERROR},ckeys=Object.keys(codes),ck=0;ck<ckeys.length;ck++){var ckey=ckeys[ck];codes[codes[ckey]]=ckey}function zlibBuffer(engine,buffer,callback){var buffers=[],nread=0;function flow(){for(var chunk;null!==(chunk=engine.read());)buffers.push(chunk),nread+=chunk.length;engine.once("readable",flow)}function onEnd(){var buf,err=null;nread>=kMaxLength?err=new RangeError(kRangeErrorMessage):buf=Buffer.concat(buffers,nread),buffers=[],engine.close(),callback(err,buf)}engine.on("error",(function onError(err){engine.removeListener("end",onEnd),engine.removeListener("readable",flow),callback(err)})),engine.on("end",onEnd),engine.end(buffer),flow()}function zlibBufferSync(engine,buffer){if("string"==typeof buffer&&(buffer=Buffer.from(buffer)),!Buffer.isBuffer(buffer))throw new TypeError("Not a string or buffer");var flushFlag=engine._finishFlushFlag;return engine._processChunk(buffer,flushFlag)}function Deflate(opts){if(!(this instanceof Deflate))return new Deflate(opts);Zlib.call(this,opts,binding.DEFLATE)}function Inflate(opts){if(!(this instanceof Inflate))return new Inflate(opts);Zlib.call(this,opts,binding.INFLATE)}function Gzip(opts){if(!(this instanceof Gzip))return new Gzip(opts);Zlib.call(this,opts,binding.GZIP)}function Gunzip(opts){if(!(this instanceof Gunzip))return new Gunzip(opts);Zlib.call(this,opts,binding.GUNZIP)}function DeflateRaw(opts){if(!(this instanceof DeflateRaw))return new DeflateRaw(opts);Zlib.call(this,opts,binding.DEFLATERAW)}function InflateRaw(opts){if(!(this instanceof InflateRaw))return new InflateRaw(opts);Zlib.call(this,opts,binding.INFLATERAW)}function Unzip(opts){if(!(this instanceof Unzip))return new Unzip(opts);Zlib.call(this,opts,binding.UNZIP)}function isValidFlushFlag(flag){return flag===binding.Z_NO_FLUSH||flag===binding.Z_PARTIAL_FLUSH||flag===binding.Z_SYNC_FLUSH||flag===binding.Z_FULL_FLUSH||flag===binding.Z_FINISH||flag===binding.Z_BLOCK}function Zlib(opts,mode){var _this=this;if(this._opts=opts=opts||{},this._chunkSize=opts.chunkSize||exports.Z_DEFAULT_CHUNK,Transform.call(this,opts),opts.flush&&!isValidFlushFlag(opts.flush))throw new Error("Invalid flush flag: "+opts.flush);if(opts.finishFlush&&!isValidFlushFlag(opts.finishFlush))throw new Error("Invalid flush flag: "+opts.finishFlush);if(this._flushFlag=opts.flush||binding.Z_NO_FLUSH,this._finishFlushFlag=void 0!==opts.finishFlush?opts.finishFlush:binding.Z_FINISH,opts.chunkSize&&(opts.chunkSize<exports.Z_MIN_CHUNK||opts.chunkSize>exports.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+opts.chunkSize);if(opts.windowBits&&(opts.windowBits<exports.Z_MIN_WINDOWBITS||opts.windowBits>exports.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+opts.windowBits);if(opts.level&&(opts.level<exports.Z_MIN_LEVEL||opts.level>exports.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+opts.level);if(opts.memLevel&&(opts.memLevel<exports.Z_MIN_MEMLEVEL||opts.memLevel>exports.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+opts.memLevel);if(opts.strategy&&opts.strategy!=exports.Z_FILTERED&&opts.strategy!=exports.Z_HUFFMAN_ONLY&&opts.strategy!=exports.Z_RLE&&opts.strategy!=exports.Z_FIXED&&opts.strategy!=exports.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+opts.strategy);if(opts.dictionary&&!Buffer.isBuffer(opts.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new binding.Zlib(mode);var self=this;this._hadError=!1,this._handle.onerror=function(message,errno){_close(self),self._hadError=!0;var error=new Error(message);error.errno=errno,error.code=exports.codes[errno],self.emit("error",error)};var level=exports.Z_DEFAULT_COMPRESSION;"number"==typeof opts.level&&(level=opts.level);var strategy=exports.Z_DEFAULT_STRATEGY;"number"==typeof opts.strategy&&(strategy=opts.strategy),this._handle.init(opts.windowBits||exports.Z_DEFAULT_WINDOWBITS,level,opts.memLevel||exports.Z_DEFAULT_MEMLEVEL,strategy,opts.dictionary),this._buffer=Buffer.allocUnsafe(this._chunkSize),this._offset=0,this._level=level,this._strategy=strategy,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!_this._handle},configurable:!0,enumerable:!0})}function _close(engine,callback){callback&&process.nextTick(callback),engine._handle&&(engine._handle.close(),engine._handle=null)}function emitCloseNT(self){self.emit("close")}Object.defineProperty(exports,"codes",{enumerable:!0,value:Object.freeze(codes),writable:!1}),exports.Deflate=Deflate,exports.Inflate=Inflate,exports.Gzip=Gzip,exports.Gunzip=Gunzip,exports.DeflateRaw=DeflateRaw,exports.InflateRaw=InflateRaw,exports.Unzip=Unzip,exports.createDeflate=function(o){return new Deflate(o)},exports.createInflate=function(o){return new Inflate(o)},exports.createDeflateRaw=function(o){return new DeflateRaw(o)},exports.createInflateRaw=function(o){return new InflateRaw(o)},exports.createGzip=function(o){return new Gzip(o)},exports.createGunzip=function(o){return new Gunzip(o)},exports.createUnzip=function(o){return new Unzip(o)},exports.deflate=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Deflate(opts),buffer,callback)},exports.deflateSync=function(buffer,opts){return zlibBufferSync(new Deflate(opts),buffer)},exports.gzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Gzip(opts),buffer,callback)},exports.gzipSync=function(buffer,opts){return zlibBufferSync(new Gzip(opts),buffer)},exports.deflateRaw=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new DeflateRaw(opts),buffer,callback)},exports.deflateRawSync=function(buffer,opts){return zlibBufferSync(new DeflateRaw(opts),buffer)},exports.unzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Unzip(opts),buffer,callback)},exports.unzipSync=function(buffer,opts){return zlibBufferSync(new Unzip(opts),buffer)},exports.inflate=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Inflate(opts),buffer,callback)},exports.inflateSync=function(buffer,opts){return zlibBufferSync(new Inflate(opts),buffer)},exports.gunzip=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new Gunzip(opts),buffer,callback)},exports.gunzipSync=function(buffer,opts){return zlibBufferSync(new Gunzip(opts),buffer)},exports.inflateRaw=function(buffer,opts,callback){return"function"==typeof opts&&(callback=opts,opts={}),zlibBuffer(new InflateRaw(opts),buffer,callback)},exports.inflateRawSync=function(buffer,opts){return zlibBufferSync(new InflateRaw(opts),buffer)},util.inherits(Zlib,Transform),Zlib.prototype.params=function(level,strategy,callback){if(level<exports.Z_MIN_LEVEL||level>exports.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+level);if(strategy!=exports.Z_FILTERED&&strategy!=exports.Z_HUFFMAN_ONLY&&strategy!=exports.Z_RLE&&strategy!=exports.Z_FIXED&&strategy!=exports.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+strategy);if(this._level!==level||this._strategy!==strategy){var self=this;this.flush(binding.Z_SYNC_FLUSH,(function(){assert(self._handle,"zlib binding closed"),self._handle.params(level,strategy),self._hadError||(self._level=level,self._strategy=strategy,callback&&callback())}))}else process.nextTick(callback)},Zlib.prototype.reset=function(){return assert(this._handle,"zlib binding closed"),this._handle.reset()},Zlib.prototype._flush=function(callback){this._transform(Buffer.alloc(0),"",callback)},Zlib.prototype.flush=function(kind,callback){var _this2=this,ws=this._writableState;("function"==typeof kind||void 0===kind&&!callback)&&(callback=kind,kind=binding.Z_FULL_FLUSH),ws.ended?callback&&process.nextTick(callback):ws.ending?callback&&this.once("end",callback):ws.needDrain?callback&&this.once("drain",(function(){return _this2.flush(kind,callback)})):(this._flushFlag=kind,this.write(Buffer.alloc(0),"",callback))},Zlib.prototype.close=function(callback){_close(this,callback),process.nextTick(emitCloseNT,this)},Zlib.prototype._transform=function(chunk,encoding,cb){var flushFlag,ws=this._writableState,last=(ws.ending||ws.ended)&&(!chunk||ws.length===chunk.length);return null===chunk||Buffer.isBuffer(chunk)?this._handle?(last?flushFlag=this._finishFlushFlag:(flushFlag=this._flushFlag,chunk.length>=ws.length&&(this._flushFlag=this._opts.flush||binding.Z_NO_FLUSH)),void this._processChunk(chunk,flushFlag,cb)):cb(new Error("zlib binding closed")):cb(new Error("invalid input"))},Zlib.prototype._processChunk=function(chunk,flushFlag,cb){var availInBefore=chunk&&chunk.length,availOutBefore=this._chunkSize-this._offset,inOff=0,self=this,async="function"==typeof cb;if(!async){var error,buffers=[],nread=0;this.on("error",(function(er){error=er})),assert(this._handle,"zlib binding closed");do{var res=this._handle.writeSync(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore)}while(!this._hadError&&callback(res[0],res[1]));if(this._hadError)throw error;if(nread>=kMaxLength)throw _close(this),new RangeError(kRangeErrorMessage);var buf=Buffer.concat(buffers,nread);return _close(this),buf}assert(this._handle,"zlib binding closed");var req=this._handle.write(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore);function callback(availInAfter,availOutAfter){if(this&&(this.buffer=null,this.callback=null),!self._hadError){var have=availOutBefore-availOutAfter;if(assert(have>=0,"have should not go down"),have>0){var out=self._buffer.slice(self._offset,self._offset+have);self._offset+=have,async?self.push(out):(buffers.push(out),nread+=out.length)}if((0===availOutAfter||self._offset>=self._chunkSize)&&(availOutBefore=self._chunkSize,self._offset=0,self._buffer=Buffer.allocUnsafe(self._chunkSize)),0===availOutAfter){if(inOff+=availInBefore-availInAfter,availInBefore=availInAfter,!async)return!0;var newReq=self._handle.write(flushFlag,chunk,inOff,availInBefore,self._buffer,self._offset,self._chunkSize);return newReq.callback=callback,void(newReq.buffer=chunk)}if(!async)return!1;cb()}}req.buffer=chunk,req.callback=callback},util.inherits(Deflate,Zlib),util.inherits(Inflate,Zlib),util.inherits(Gzip,Zlib),util.inherits(Gunzip,Zlib),util.inherits(DeflateRaw,Zlib),util.inherits(InflateRaw,Zlib),util.inherits(Unzip,Zlib)}).call(this,__webpack_require__("8oxB"))},"S/j/":function(module,exports,__webpack_require__){var defined=__webpack_require__("vhPU");module.exports=function(it){return Object(defined(it))}},SAtp:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="link-click"},SMB2:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("bold",(function(createHTML){return function bold(){return createHTML(this,"b","","")}}))},SPin:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$reduce=__webpack_require__("eyMr");$export($export.P+$export.F*!__webpack_require__("LyE8")([].reduceRight,!0),"Array",{reduceRight:function reduceRight(callbackfn){return $reduce(this,callbackfn,arguments.length,arguments[1],!0)}})},SRfc:function(module,exports,__webpack_require__){__webpack_require__("IU+Z")("match",1,(function(defined,MATCH,$match){return[function match(regexp){"use strict";var O=defined(this),fn=null==regexp?void 0:regexp[MATCH];return void 0!==fn?fn.call(regexp,O):new RegExp(regexp)[MATCH](String(O))},$match]}))},SfRM:function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__("YESw");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},SlkY:function(module,exports,__webpack_require__){var ctx=__webpack_require__("m0Pp"),call=__webpack_require__("H6hf"),isArrayIter=__webpack_require__("M6Qj"),anObject=__webpack_require__("y3w9"),toLength=__webpack_require__("ne8i"),getIterFn=__webpack_require__("J+6e"),BREAK={},RETURN={};(exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result}).BREAK=BREAK,exports.RETURN=RETURN},T39b:function(module,exports,__webpack_require__){"use strict";var strong=__webpack_require__("wmvG"),validate=__webpack_require__("s5qY");module.exports=__webpack_require__("4LiD")("Set",(function(get){return function Set(){return get(this,arguments.length>0?arguments[0]:void 0)}}),{add:function add(value){return strong.def(validate(this,"Set"),value=0===value?0:value,value)}},strong)},"TCJ/":function(module,exports,__webpack_require__){"use strict";var StringReader=__webpack_require__("LrR4"),NodeBufferReader=__webpack_require__("qSf1"),Uint8ArrayReader=__webpack_require__("LoQE"),utils=__webpack_require__("9aYe"),sig=__webpack_require__("er0w"),ZipEntry=__webpack_require__("F/6a"),support=__webpack_require__("Mi3D"),jszipProto=__webpack_require__("tkqm");function ZipEntries(data,loadOptions){this.files=[],this.loadOptions=loadOptions,data&&this.load(data)}ZipEntries.prototype={checkSignature:function(expectedSignature){var signature=this.reader.readString(4);if(signature!==expectedSignature)throw new Error("Corrupted zip or bug : unexpected signature ("+utils.pretty(signature)+", expected "+utils.pretty(expectedSignature)+")")},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),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=jszipProto.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),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 extraFieldId,extraFieldLength,extraFieldValue,extraDataSize=this.zip64EndOfCentralSize-44;0<extraDataSize;)extraFieldId=this.reader.readInt(2),extraFieldLength=this.reader.readInt(4),extraFieldValue=this.reader.readString(extraFieldLength),this.zip64ExtensibleData[extraFieldId]={id:extraFieldId,length:extraFieldLength,value:extraFieldValue}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var i,file;for(i=0;i<this.files.length;i++)file=this.files[i],this.reader.setIndex(file.localHeaderOffset),this.checkSignature(sig.LOCAL_FILE_HEADER),file.readLocalPart(this.reader),file.handleUTF8()},readCentralDir:function(){var file;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===sig.CENTRAL_FILE_HEADER;)(file=new ZipEntry({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(file)},readEndOfCentral:function(){var offset=this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END);if(-1===offset)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(offset),this.checkSignature(sig.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===utils.MAX_VALUE_16BITS||this.diskWithCentralDirStart===utils.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===utils.MAX_VALUE_16BITS||this.centralDirRecords===utils.MAX_VALUE_16BITS||this.centralDirSize===utils.MAX_VALUE_32BITS||this.centralDirOffset===utils.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(offset=this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(offset),this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(data){var type=utils.getTypeOf(data);"string"!==type||support.uint8array?this.reader="nodebuffer"===type?new NodeBufferReader(data):new Uint8ArrayReader(utils.transformTo("uint8array",data)):this.reader=new StringReader(data,this.loadOptions.optimizedBinaryString)},load:function(data){this.prepareReader(data),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},module.exports=ZipEntries},TKrE:function(module,exports,__webpack_require__){var deburrLetter=__webpack_require__("qRkn"),toString=__webpack_require__("dt0z"),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,reComboMark=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");module.exports=function deburr(string){return(string=toString(string))&&string.replace(reLatin,deburrLetter).replace(reComboMark,"")}},Tcbo:function(module,exports,__webpack_require__){"use strict";module.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"}},TfLK:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Name="personal-menu-data-ready",exports.PersonalMenuEvent=exports.Name,exports.default=Event},Tj86:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("EVdn")],void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(jQuery){return function(window,$){"use strict";var document=window.document,datakey="__pz__",slice=Array.prototype.slice,rIE11=/trident\/7./i,supportsInputEvent=function(){if(rIE11.test(navigator.userAgent))return!1;var input=document.createElement("input");return input.setAttribute("oninput","return"),"function"==typeof input.oninput}(),rupper=/([A-Z])/g,rsvg=/^http:[\w\.\/]+svg$/,floating="(\\-?\\d[\\d\\.e-]*)",commaSpace="\\,?\\s*",rmatrix=new RegExp("^matrix\\("+floating+commaSpace+floating+commaSpace+floating+commaSpace+floating+commaSpace+floating+commaSpace+floating+"\\)$");function matrixEquals(first,second){for(var i=first.length;--i;)if(Math.round(+first[i])!==Math.round(+second[i]))return!1;return!0}function createResetOptions(opts){var options={range:!0,animate:!0};return"boolean"==typeof opts?options.animate=opts:$.extend(options,opts),options}function Matrix(a,b,c,d,e,f,g,h,i){"array"===$.type(a)?this.elements=[+a[0],+a[2],+a[4],+a[1],+a[3],+a[5],0,0,1]:this.elements=[a,b,c,d,e,f,g||0,h||0,i||1]}function Vector(x,y,z){this.elements=[x,y,z]}function Panzoom(elem,options){if(!(this instanceof Panzoom))return new Panzoom(elem,options);1!==elem.nodeType&&$.error("Panzoom called on non-Element node"),$.contains(document,elem)||$.error("Panzoom element must be attached to the document");var d=$.data(elem,datakey);if(d)return d;this.options=options=$.extend({},Panzoom.defaults,options),this.elem=elem;var $elem=this.$elem=$(elem);this.$set=options.$set&&options.$set.length?options.$set:$elem,this.$doc=$(elem.ownerDocument||document),this.$parent=$elem.parent(),this.parent=this.$parent[0],this.isSVG=rsvg.test(elem.namespaceURI)&&"svg"!==elem.nodeName.toLowerCase(),this.panning=!1,this._buildTransform(),this._transform=$.cssProps.transform.replace(rupper,"-$1").toLowerCase(),this._buildTransition(),this.resetDimensions();var $empty=$(),self=this;$.each(["$zoomIn","$zoomOut","$zoomRange","$reset"],(function(i,name){self[name]=options[name]||$empty})),this.enable(),this.scale=this.getMatrix()[0],this._checkPanWhenZoomed(),$.data(elem,datakey,this)}return Matrix.prototype={x:function(matrix){var isVector=matrix instanceof Vector,a=this.elements,b=matrix.elements;return isVector&&3===b.length?new Vector(a[0]*b[0]+a[1]*b[1]+a[2]*b[2],a[3]*b[0]+a[4]*b[1]+a[5]*b[2],a[6]*b[0]+a[7]*b[1]+a[8]*b[2]):b.length===a.length&&new Matrix(a[0]*b[0]+a[1]*b[3]+a[2]*b[6],a[0]*b[1]+a[1]*b[4]+a[2]*b[7],a[0]*b[2]+a[1]*b[5]+a[2]*b[8],a[3]*b[0]+a[4]*b[3]+a[5]*b[6],a[3]*b[1]+a[4]*b[4]+a[5]*b[7],a[3]*b[2]+a[4]*b[5]+a[5]*b[8],a[6]*b[0]+a[7]*b[3]+a[8]*b[6],a[6]*b[1]+a[7]*b[4]+a[8]*b[7],a[6]*b[2]+a[7]*b[5]+a[8]*b[8])},inverse:function(){var d=1/this.determinant(),a=this.elements;return new Matrix(d*(a[8]*a[4]-a[7]*a[5]),d*-(a[8]*a[1]-a[7]*a[2]),d*(a[5]*a[1]-a[4]*a[2]),d*-(a[8]*a[3]-a[6]*a[5]),d*(a[8]*a[0]-a[6]*a[2]),d*-(a[5]*a[0]-a[3]*a[2]),d*(a[7]*a[3]-a[6]*a[4]),d*-(a[7]*a[0]-a[6]*a[1]),d*(a[4]*a[0]-a[3]*a[1]))},determinant:function(){var a=this.elements;return a[0]*(a[8]*a[4]-a[7]*a[5])-a[3]*(a[8]*a[1]-a[7]*a[2])+a[6]*(a[5]*a[1]-a[4]*a[2])}},Vector.prototype.e=Matrix.prototype.e=function(i){return this.elements[i]},Panzoom.rmatrix=rmatrix,Panzoom.defaults={eventNamespace:".panzoom",transition:!0,cursor:"move",disablePan:!1,disableZoom:!1,disableXAxis:!1,disableYAxis:!1,which:1,increment:.3,linearZoom:!1,panOnlyWhenZoomed:!1,minScale:.3,maxScale:6,rangeStep:.05,duration:200,easing:"ease-in-out",contain:!1},Panzoom.prototype={constructor:Panzoom,instance:function(){return this},enable:function(){this._initStyle(),this._bind(),this.disabled=!1},disable:function(){this.disabled=!0,this._resetStyle(),this._unbind()},isDisabled:function(){return this.disabled},destroy:function(){this.disable(),$.removeData(this.elem,datakey)},resetDimensions:function(){this.container=this.parent.getBoundingClientRect();var elem=this.elem,dims=elem.getBoundingClientRect(),absScale=Math.abs(this.scale);this.dimensions={width:dims.width,height:dims.height,left:$.css(elem,"left",!0)||0,top:$.css(elem,"top",!0)||0,border:{top:$.css(elem,"borderTopWidth",!0)*absScale||0,bottom:$.css(elem,"borderBottomWidth",!0)*absScale||0,left:$.css(elem,"borderLeftWidth",!0)*absScale||0,right:$.css(elem,"borderRightWidth",!0)*absScale||0},margin:{top:$.css(elem,"marginTop",!0)*absScale||0,left:$.css(elem,"marginLeft",!0)*absScale||0}}},reset:function(options){options=createResetOptions(options);var matrix=this.setMatrix(this._origTransform,options);options.silent||this._trigger("reset",matrix)},resetZoom:function(options){options=createResetOptions(options);var origMatrix=this.getMatrix(this._origTransform);options.dValue=origMatrix[3],this.zoom(origMatrix[0],options)},resetPan:function(options){var origMatrix=this.getMatrix(this._origTransform);this.pan(origMatrix[4],origMatrix[5],createResetOptions(options))},setTransform:function(transform){for(var $set=this.$set,i=$set.length;i--;)$.style($set[i],"transform",transform),this.isSVG&&$set[i].setAttribute("transform",transform)},getTransform:function(transform){var transformElem=this.$set[0];return transform?this.setTransform(transform):(transform=$.style(transformElem,"transform"),!this.isSVG||transform&&"none"!==transform||(transform=$.attr(transformElem,"transform")||"none")),"none"===transform||rmatrix.test(transform)||this.setTransform(transform=$.css(transformElem,"transform")),transform||"none"},getMatrix:function(transform){var matrix=rmatrix.exec(transform||this.getTransform());return matrix&&matrix.shift(),matrix||[1,0,0,1,0,0]},setMatrix:function(matrix,options){if(!this.disabled){options||(options={}),"string"==typeof matrix&&(matrix=this.getMatrix(matrix));var scale=+matrix[0],contain=void 0!==options.contain?options.contain:this.options.contain;if(contain){var spaceWLeft,spaceWRight,scaleDiff,dims=options.dims;dims||(this.resetDimensions(),dims=this.dimensions);var container=this.container,width=dims.width,height=dims.height,conWidth=container.width,conHeight=container.height,zoomAspectW=conWidth/width,zoomAspectH=conHeight/height;"center"!==this.$parent.css("textAlign")||"inline"!==$.css(this.elem,"display")?(spaceWLeft=(scaleDiff=(width-this.elem.offsetWidth)/2)-dims.border.left,spaceWRight=width-conWidth-scaleDiff+dims.border.right):spaceWLeft=spaceWRight=(width-conWidth)/2;var spaceHTop=(height-conHeight)/2+dims.border.top,spaceHBottom=(height-conHeight)/2-dims.border.top-dims.border.bottom;matrix[4]="invert"===contain||"automatic"===contain&&zoomAspectW<1.01?Math.max(Math.min(matrix[4],spaceWLeft-dims.border.left),-spaceWRight):Math.min(Math.max(matrix[4],spaceWLeft),-spaceWRight),matrix[5]="invert"===contain||"automatic"===contain&&zoomAspectH<1.01?Math.max(Math.min(matrix[5],spaceHTop-dims.border.top),-spaceHBottom):Math.min(Math.max(matrix[5],spaceHTop),-spaceHBottom)}if("skip"!==options.animate&&this.transition(!options.animate),options.range&&this.$zoomRange.val(scale),this.options.disableXAxis||this.options.disableYAxis){var originalMatrix=this.getMatrix();this.options.disableXAxis&&(matrix[4]=originalMatrix[4]),this.options.disableYAxis&&(matrix[5]=originalMatrix[5])}return this.setTransform("matrix("+matrix.join(",")+")"),this.scale=scale,this._checkPanWhenZoomed(scale),options.silent||this._trigger("change",matrix),matrix}},isPanning:function(){return this.panning},transition:function(off){if(this._transition)for(var transition=off||!this.options.transition?"none":this._transition,$set=this.$set,i=$set.length;i--;)$.style($set[i],"transition")!==transition&&$.style($set[i],"transition",transition)},pan:function(x,y,options){if(!this.options.disablePan){options||(options={});var matrix=options.matrix;matrix||(matrix=this.getMatrix()),options.relative&&(x+=+matrix[4],y+=+matrix[5]),matrix[4]=x,matrix[5]=y,this.setMatrix(matrix,options),options.silent||this._trigger("pan",matrix[4],matrix[5])}},zoom:function(scale,opts){"object"==typeof scale?(opts=scale,scale=null):opts||(opts={});var options=$.extend({},this.options,opts);if(!options.disableZoom){var animate=!1,matrix=options.matrix||this.getMatrix(),startScale=+matrix[0];"number"!=typeof scale&&(scale=options.linearZoom?startScale+options.increment*(scale?-1:1):scale?startScale/(1+options.increment):startScale*(1+options.increment),animate=!0),scale=Math.max(Math.min(scale,options.maxScale),options.minScale);var focal=options.focal;if(focal&&!options.disablePan){this.resetDimensions();var dims=options.dims=this.dimensions,clientX=focal.clientX,clientY=focal.clientY;this.isSVG||(clientX-=dims.width/startScale/2,clientY-=dims.height/startScale/2);var clientV=new Vector(clientX,clientY,1),surfaceM=new Matrix(matrix),o=this.parentOffset||this.$parent.offset(),offsetM=new Matrix(1,0,o.left-this.$doc.scrollLeft(),0,1,o.top-this.$doc.scrollTop()),surfaceV=surfaceM.inverse().x(offsetM.inverse().x(clientV)),scaleBy=scale/matrix[0];surfaceM=surfaceM.x(new Matrix([scaleBy,0,0,scaleBy,0,0])),clientV=offsetM.x(surfaceM.x(surfaceV)),matrix[4]=+matrix[4]+(clientX-clientV.e(0)),matrix[5]=+matrix[5]+(clientY-clientV.e(1))}matrix[0]=scale,matrix[3]="number"==typeof options.dValue?options.dValue:scale,this.setMatrix(matrix,{animate:void 0!==options.animate?options.animate:animate,range:!options.noSetRange}),options.silent||this._trigger("zoom",matrix[0],options)}},option:function(key,value){var options;if(!key)return $.extend({},this.options);if("string"==typeof key){if(1===arguments.length)return void 0!==this.options[key]?this.options[key]:null;(options={})[key]=value}else options=key;this._setOptions(options)},_setOptions:function(options){$.each(options,$.proxy((function(key,value){switch(key){case"disablePan":this._resetStyle();case"$zoomIn":case"$zoomOut":case"$zoomRange":case"$reset":case"disableZoom":case"onStart":case"onChange":case"onZoom":case"onPan":case"onEnd":case"onReset":case"eventNamespace":this._unbind()}switch(this.options[key]=value,key){case"disablePan":this._initStyle();case"$zoomIn":case"$zoomOut":case"$zoomRange":case"$reset":this[key]=value;case"disableZoom":case"onStart":case"onChange":case"onZoom":case"onPan":case"onEnd":case"onReset":case"eventNamespace":this._bind();break;case"cursor":$.style(this.elem,"cursor",value);break;case"minScale":this.$zoomRange.attr("min",value);break;case"maxScale":this.$zoomRange.attr("max",value);break;case"rangeStep":this.$zoomRange.attr("step",value);break;case"startTransform":this._buildTransform();break;case"duration":case"easing":this._buildTransition();case"transition":this.transition();break;case"panOnlyWhenZoomed":this._checkPanWhenZoomed();break;case"$set":value instanceof $&&value.length&&(this.$set=value,this._initStyle(),this._buildTransform())}}),this))},_checkPanWhenZoomed:function(scale){var options=this.options;if(options.panOnlyWhenZoomed){scale||(scale=this.getMatrix()[0]);var toDisable=scale<=options.minScale;options.disablePan!==toDisable&&this.option("disablePan",toDisable)}},_initStyle:function(){var styles={"transform-origin":this.isSVG?"0 0":"50% 50%"};this.options.disablePan||(styles.cursor=this.options.cursor),this.$set.css(styles);var $parent=this.$parent;$parent.length&&!$.nodeName(this.parent,"body")&&(styles={overflow:"hidden"},"static"===$parent.css("position")&&(styles.position="relative"),$parent.css(styles))},_resetStyle:function(){this.$elem.css({cursor:"",transition:""}),this.$parent.css({overflow:"",position:""})},_bind:function(){var self=this,options=this.options,ns=options.eventNamespace,str_down="mousedown"+ns+" pointerdown"+ns+" MSPointerDown"+ns,str_start="touchstart"+ns+" "+str_down,str_click="touchend"+ns+" click"+ns+" pointerup"+ns+" MSPointerUp"+ns,events={},$reset=this.$reset,$zoomRange=this.$zoomRange;if($.each(["Start","Change","Zoom","Pan","End","Reset"],(function(){var m=options["on"+this];$.isFunction(m)&&(events["panzoom"+this.toLowerCase()+ns]=m)})),options.disablePan&&options.disableZoom||(events[str_start]=function(e){var touches;("touchstart"===e.type?!(touches=e.touches||e.originalEvent.touches)||(1!==touches.length||options.disablePan)&&2!==touches.length:options.disablePan||(e.which||e.originalEvent.which)!==options.which)||(e.preventDefault(),e.stopPropagation(),self._startMove(e,touches))},3===options.which&&(events.contextmenu=!1)),this.$elem.on(events),$reset.length&&$reset.on(str_click,(function(e){e.preventDefault(),self.reset()})),$zoomRange.length&&$zoomRange.attr({step:options.rangeStep===Panzoom.defaults.rangeStep&&$zoomRange.attr("step")||options.rangeStep,min:options.minScale,max:options.maxScale}).prop({value:this.getMatrix()[0]}),!options.disableZoom){var $zoomIn=this.$zoomIn,$zoomOut=this.$zoomOut;$zoomIn.length&&$zoomOut.length&&($zoomIn.on(str_click,(function(e){e.preventDefault(),self.zoom()})),$zoomOut.on(str_click,(function(e){e.preventDefault(),self.zoom(!0)}))),$zoomRange.length&&((events={})[str_down]=function(){self.transition(!0)},events[(supportsInputEvent?"input":"change")+ns]=function(){self.zoom(+this.value,{noSetRange:!0})},$zoomRange.on(events))}},_unbind:function(){this.$elem.add(this.$zoomIn).add(this.$zoomOut).add(this.$reset).off(this.options.eventNamespace)},_buildTransform:function(){return this._origTransform=this.getTransform(this.options.startTransform)},_buildTransition:function(){if(this._transform){var options=this.options;this._transition=this._transform+" "+options.duration+"ms "+options.easing}},_getDistance:function(touches){var touch1=touches[0],touch2=touches[1];return Math.sqrt(Math.pow(Math.abs(touch2.clientX-touch1.clientX),2)+Math.pow(Math.abs(touch2.clientY-touch1.clientY),2))},_getMiddle:function(touches){var touch1=touches[0],touch2=touches[1];return{clientX:(touch2.clientX-touch1.clientX)/2+touch1.clientX,clientY:(touch2.clientY-touch1.clientY)/2+touch1.clientY}},_trigger:function(event){"string"==typeof event&&(event="panzoom"+event),this.$elem.triggerHandler(event,[this].concat(slice.call(arguments,1)))},_startMove:function(event,touches){if(!this.panning){var moveEvent,endEvent,startDistance,startScale,startMiddle,startPageX,startPageY,touch,self=this,options=this.options,ns=options.eventNamespace,matrix=this.getMatrix(),original=matrix.slice(0),origPageX=+original[4],origPageY=+original[5],panOptions={matrix:matrix,animate:"skip"},type=event.type;"pointerdown"===type?(moveEvent="pointermove",endEvent="pointerup"):"touchstart"===type?(moveEvent="touchmove",endEvent="touchend"):"MSPointerDown"===type?(moveEvent="MSPointerMove",endEvent="MSPointerUp"):(moveEvent="mousemove",endEvent="mouseup"),moveEvent+=ns,endEvent+=ns,this.transition(!0),this._trigger("start",event,touches);var setStart=function(event,touches){if(touches){if(2===touches.length){if(null!=startDistance)return;return startDistance=self._getDistance(touches),startScale=+matrix[0],void(startMiddle=self._getMiddle(touches))}if(null!=startPageX)return;(touch=touches[0])&&(startPageX=touch.pageX,startPageY=touch.pageY)}null==startPageX&&(startPageX=event.pageX,startPageY=event.pageY)};setStart(event,touches);var move=function(e){var coords;if(e.preventDefault(),touches=e.touches||e.originalEvent.touches,setStart(e,touches),touches){if(2===touches.length){var middle=self._getMiddle(touches),diff=self._getDistance(touches)-startDistance;return self.zoom(diff*(options.increment/100)+startScale,{focal:middle,matrix:matrix,animate:"skip"}),self.pan(+matrix[4]+middle.clientX-startMiddle.clientX,+matrix[5]+middle.clientY-startMiddle.clientY,panOptions),void(startMiddle=middle)}coords=touches[0]||{pageX:0,pageY:0}}coords||(coords=e),self.pan(origPageX+coords.pageX-startPageX,origPageY+coords.pageY-startPageY,panOptions)};$(document).off(ns).on(moveEvent,move).on(endEvent,(function(e){e.preventDefault(),$(this).off(ns),self.panning=!1,e.type="panzoomend",self._trigger(e,matrix,!matrixEquals(matrix,original))}))}}},$.Panzoom=Panzoom,$.fn.panzoom=function(options){var instance,args,m,ret;return"string"==typeof options?(ret=[],args=slice.call(arguments,1),this.each((function(){(instance=$.data(this,datakey))?"_"!==options.charAt(0)&&"function"==typeof(m=instance[options])&&void 0!==(m=m.apply(instance,args))&&ret.push(m):ret.push(void 0)})),ret.length?1===ret.length?ret[0]:ret:this):this.each((function(){new Panzoom(this,options)}))},Panzoom}(global,jQuery)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},Tze0:function(module,exports,__webpack_require__){"use strict";__webpack_require__("qncB")("trim",(function($trim){return function trim(){return $trim(this,3)}}))},UExd:function(module,exports,__webpack_require__){var getKeys=__webpack_require__("DVgA"),toIObject=__webpack_require__("aCFj"),isEnum=__webpack_require__("UqcF").f;module.exports=function(isEntries){return function(it){for(var key,O=toIObject(it),keys=getKeys(O),length=keys.length,i=0,result=[];length>i;)isEnum.call(O,key=keys[i++])&&result.push(isEntries?[key,O[key]]:O[key]);return result}}},UUeW:function(module,exports,__webpack_require__){var MATCH=__webpack_require__("K0xU")("match");module.exports=function(KEY){var re=/./;try{"/./"[KEY](re)}catch(e){try{return re[MATCH]=!1,!"/./"[KEY](re)}catch(f){}}return!0}},UqcF:function(module,exports){exports.f={}.propertyIsEnumerable},"V+eJ":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$indexOf=__webpack_require__("w2a5")(!1),$native=[].indexOf,NEGATIVE_ZERO=!!$native&&1/[1].indexOf(1,-0)<0;$export($export.P+$export.F*(NEGATIVE_ZERO||!__webpack_require__("LyE8")($native)),"Array",{indexOf:function indexOf(searchElement){return NEGATIVE_ZERO?$native.apply(this,arguments)||0:$indexOf(this,searchElement,arguments[1])}})},"V/DX":function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");__webpack_require__("Xtr8")("isSealed",(function($isSealed){return function isSealed(it){return!isObject(it)||!!$isSealed&&$isSealed(it)}}))},VJTW:function(module,exports,__webpack_require__){"use strict";function CompressedObject(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}CompressedObject.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},module.exports=CompressedObject},VKir:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$fails=__webpack_require__("eeVq"),aNumberValue=__webpack_require__("vvmO"),$toPrecision=1..toPrecision;$export($export.P+$export.F*($fails((function(){return"1"!==$toPrecision.call(1,void 0)}))||!$fails((function(){$toPrecision.call({})}))),"Number",{toPrecision:function toPrecision(precision){var that=aNumberValue(this,"Number#toPrecision: incorrect invocation!");return void 0===precision?$toPrecision.call(that):$toPrecision.call(that,precision)}})},VRzm:function(module,exports,__webpack_require__){"use strict";var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,LIBRARY=__webpack_require__("LQAc"),global=__webpack_require__("dyZX"),ctx=__webpack_require__("m0Pp"),classof=__webpack_require__("I8a+"),$export=__webpack_require__("XKFU"),isObject=__webpack_require__("0/R4"),aFunction=__webpack_require__("2OiF"),anInstance=__webpack_require__("9gX7"),forOf=__webpack_require__("SlkY"),speciesConstructor=__webpack_require__("69bn"),task=__webpack_require__("GZEu").set,microtask=__webpack_require__("gHnn")(),newPromiseCapabilityModule=__webpack_require__("pbhE"),perform=__webpack_require__("nICZ"),userAgent=__webpack_require__("ol8x"),promiseResolve=__webpack_require__("vKrd"),TypeError=global.TypeError,process=global.process,versions=process&&process.versions,v8=versions&&versions.v8||"",$Promise=global.Promise,isNode="process"==classof(process),empty=function(){},newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f,USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1),FakePromise=(promise.constructor={})[__webpack_require__("K0xU")("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise&&0!==v8.indexOf("6.6")&&-1===userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function(promise,isReject){if(!promise._n){promise._n=!0;var chain=promise._c;microtask((function(){for(var value=promise._v,ok=1==promise._s,i=0,run=function(reaction){var result,then,exited,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2==promise._h&&onHandleUnhandled(promise),promise._h=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){domain&&!exited&&domain.exit(),reject(e)}};chain.length>i;)run(chain[i++]);promise._c=[],promise._n=!1,isReject&&!promise._h&&onUnhandled(promise)}))}},onUnhandled=function(promise){task.call(global,(function(){var result,handler,console,value=promise._v,unhandled=isUnhandled(promise);if(unhandled&&(result=perform((function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)})),promise._h=isNode||isUnhandled(promise)?2:1),promise._a=void 0,unhandled&&result.e)throw result.v}))},isUnhandled=function(promise){return 1!==promise._h&&0===(promise._a||promise._c).length},onHandleUnhandled=function(promise){task.call(global,(function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})}))},$reject=function(value){var promise=this;promise._d||(promise._d=!0,(promise=promise._w||promise)._v=value,promise._s=2,promise._a||(promise._a=promise._c.slice()),notify(promise,!0))},$resolve=function(value){var then,promise=this;if(!promise._d){promise._d=!0,promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");(then=isThenable(value))?microtask((function(){var wrapper={_w:promise,_d:!1};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}})):(promise._v=value,promise._s=1,notify(promise,!1))}catch(e){$reject.call({_w:promise,_d:!1},e)}}};USE_NATIVE||($Promise=function Promise(executor){anInstance(this,$Promise,"Promise","_h"),aFunction(executor),Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}},(Internal=function Promise(executor){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=__webpack_require__("3Lyj")($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=isNode?process.domain:void 0,this._c.push(reaction),this._a&&this._a.push(reaction),this._s&&notify(this,!1),reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function(){var promise=new Internal;this.promise=promise,this.resolve=ctx($resolve,promise,1),this.reject=ctx($reject,promise,1)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise}),__webpack_require__("fyDq")($Promise,"Promise"),__webpack_require__("elZq")("Promise"),Wrapper=__webpack_require__("g3g5").Promise,$export($export.S+$export.F*!USE_NATIVE,"Promise",{reject:function reject(r){var capability=newPromiseCapability(this);return(0,capability.reject)(r),capability.promise}}),$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),"Promise",{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}}),$export($export.S+$export.F*!(USE_NATIVE&&__webpack_require__("XMVh")((function(iter){$Promise.all(iter).catch(empty)}))),"Promise",{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var values=[],index=0,remaining=1;forOf(iterable,!1,(function(promise){var $index=index++,alreadyCalled=!1;values.push(void 0),remaining++,C.resolve(promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[$index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.e&&reject(result.v),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform((function(){forOf(iterable,!1,(function(promise){C.resolve(promise).then(capability.resolve,reject)}))}));return result.e&&reject(result.v),capability.promise}})},VTer:function(module,exports,__webpack_require__){var core=__webpack_require__("g3g5"),global=__webpack_require__("dyZX"),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:core.version,mode:__webpack_require__("LQAc")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},VaRQ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return Name})),__webpack_require__.d(__webpack_exports__,"a",(function(){return Method}));var Method,Name="add-to-basket";!function(Method){Method.BUY_FOR_MONEY="BUY_FOR_MONEY",Method.BUY_FOR_POINTS="BUY_FOR_POINTS"}(Method||(Method={}))},Vd3H:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),aFunction=__webpack_require__("2OiF"),toObject=__webpack_require__("S/j/"),fails=__webpack_require__("eeVq"),$sort=[].sort,test=[1,2,3];$export($export.P+$export.F*(fails((function(){test.sort(void 0)}))||!fails((function(){test.sort(null)}))||!__webpack_require__("LyE8")($sort)),"Array",{sort:function sort(comparefn){return void 0===comparefn?$sort.call(toObject(this)):$sort.call(toObject(this),aFunction(comparefn))}})},Vdsi:function(module,exports,__webpack_require__){(function(process,global){!function webpackUniversalModuleDefinition(root,factory){module.exports=factory()}("undefined"!=typeof self&&self,(function(){return function(modules){var installedModules={};function __w_pdfjs_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__w_pdfjs_require__),module.l=!0,module.exports}return __w_pdfjs_require__.m=modules,__w_pdfjs_require__.c=installedModules,__w_pdfjs_require__.d=function(exports,name,getter){__w_pdfjs_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__w_pdfjs_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __w_pdfjs_require__.d(getter,"a",getter),getter},__w_pdfjs_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__w_pdfjs_require__.p="",__w_pdfjs_require__(__w_pdfjs_require__.s=82)}([function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unreachable=exports.warn=exports.utf8StringToString=exports.stringToUTF8String=exports.stringToPDFString=exports.stringToBytes=exports.string32=exports.shadow=exports.setVerbosityLevel=exports.ReadableStream=exports.removeNullCharacters=exports.readUint32=exports.readUint16=exports.readInt8=exports.log2=exports.loadJpegStream=exports.isEvalSupported=exports.isLittleEndian=exports.createValidAbsoluteUrl=exports.isSameOrigin=exports.isNodeJS=exports.isSpace=exports.isString=exports.isNum=exports.isEmptyObj=exports.isBool=exports.isArrayBuffer=exports.info=exports.getVerbosityLevel=exports.getLookupTableFactory=exports.deprecated=exports.createObjectURL=exports.createPromiseCapability=exports.createBlob=exports.bytesToString=exports.assert=exports.arraysToBytes=exports.arrayByteLength=exports.FormatError=exports.XRefParseException=exports.Util=exports.UnknownErrorException=exports.UnexpectedResponseException=exports.TextRenderingMode=exports.StreamType=exports.StatTimer=exports.PasswordResponses=exports.PasswordException=exports.PageViewport=exports.NotImplementedException=exports.NativeImageDecoding=exports.MissingPDFException=exports.MissingDataException=exports.MessageHandler=exports.InvalidPDFException=exports.AbortException=exports.CMapCompressionType=exports.ImageKind=exports.FontType=exports.AnnotationType=exports.AnnotationFlag=exports.AnnotationFieldFlag=exports.AnnotationBorderStyleType=exports.UNSUPPORTED_FEATURES=exports.VERBOSITY_LEVELS=exports.OPS=exports.IDENTITY_MATRIX=exports.FONT_IDENTITY_MATRIX=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};__w_pdfjs_require__(84);var _streams_polyfill=__w_pdfjs_require__(125),VERBOSITY_LEVELS={errors:0,warnings:1,infos:5},verbosity=VERBOSITY_LEVELS.warnings;function warn(msg){verbosity>=VERBOSITY_LEVELS.warnings&&console.log("Warning: "+msg)}function unreachable(msg){throw new Error(msg)}function assert(cond,msg){cond||unreachable(msg)}var PasswordException=function PasswordExceptionClosure(){function PasswordException(msg,code){this.name="PasswordException",this.message=msg,this.code=code}return PasswordException.prototype=new Error,PasswordException.constructor=PasswordException,PasswordException}(),UnknownErrorException=function UnknownErrorExceptionClosure(){function UnknownErrorException(msg,details){this.name="UnknownErrorException",this.message=msg,this.details=details}return UnknownErrorException.prototype=new Error,UnknownErrorException.constructor=UnknownErrorException,UnknownErrorException}(),InvalidPDFException=function InvalidPDFExceptionClosure(){function InvalidPDFException(msg){this.name="InvalidPDFException",this.message=msg}return InvalidPDFException.prototype=new Error,InvalidPDFException.constructor=InvalidPDFException,InvalidPDFException}(),MissingPDFException=function MissingPDFExceptionClosure(){function MissingPDFException(msg){this.name="MissingPDFException",this.message=msg}return MissingPDFException.prototype=new Error,MissingPDFException.constructor=MissingPDFException,MissingPDFException}(),UnexpectedResponseException=function UnexpectedResponseExceptionClosure(){function UnexpectedResponseException(msg,status){this.name="UnexpectedResponseException",this.message=msg,this.status=status}return UnexpectedResponseException.prototype=new Error,UnexpectedResponseException.constructor=UnexpectedResponseException,UnexpectedResponseException}(),NotImplementedException=function NotImplementedExceptionClosure(){function NotImplementedException(msg){this.message=msg}return NotImplementedException.prototype=new Error,NotImplementedException.prototype.name="NotImplementedException",NotImplementedException.constructor=NotImplementedException,NotImplementedException}(),MissingDataException=function MissingDataExceptionClosure(){function MissingDataException(begin,end){this.begin=begin,this.end=end,this.message="Missing data ["+begin+", "+end+")"}return MissingDataException.prototype=new Error,MissingDataException.prototype.name="MissingDataException",MissingDataException.constructor=MissingDataException,MissingDataException}(),XRefParseException=function XRefParseExceptionClosure(){function XRefParseException(msg){this.message=msg}return XRefParseException.prototype=new Error,XRefParseException.prototype.name="XRefParseException",XRefParseException.constructor=XRefParseException,XRefParseException}(),FormatError=function FormatErrorClosure(){function FormatError(msg){this.message=msg}return FormatError.prototype=new Error,FormatError.prototype.name="FormatError",FormatError.constructor=FormatError,FormatError}(),AbortException=function AbortExceptionClosure(){function AbortException(msg){this.name="AbortException",this.message=msg}return AbortException.prototype=new Error,AbortException.constructor=AbortException,AbortException}(),NullCharactersRegExp=/\x00/g;function stringToBytes(str){assert("string"==typeof str,"Invalid argument for stringToBytes");for(var length=str.length,bytes=new Uint8Array(length),i=0;i<length;++i)bytes[i]=255&str.charCodeAt(i);return bytes}function arrayByteLength(arr){return void 0!==arr.length?arr.length:(assert(void 0!==arr.byteLength),arr.byteLength)}var Util=function UtilClosure(){function Util(){}var rgbBuf=["rgb(",0,",",0,",",0,")"];Util.makeCssRgb=function Util_makeCssRgb(r,g,b){return rgbBuf[1]=r,rgbBuf[3]=g,rgbBuf[5]=b,rgbBuf.join("")},Util.transform=function Util_transform(m1,m2){return[m1[0]*m2[0]+m1[2]*m2[1],m1[1]*m2[0]+m1[3]*m2[1],m1[0]*m2[2]+m1[2]*m2[3],m1[1]*m2[2]+m1[3]*m2[3],m1[0]*m2[4]+m1[2]*m2[5]+m1[4],m1[1]*m2[4]+m1[3]*m2[5]+m1[5]]},Util.applyTransform=function Util_applyTransform(p,m){return[p[0]*m[0]+p[1]*m[2]+m[4],p[0]*m[1]+p[1]*m[3]+m[5]]},Util.applyInverseTransform=function Util_applyInverseTransform(p,m){var d=m[0]*m[3]-m[1]*m[2];return[(p[0]*m[3]-p[1]*m[2]+m[2]*m[5]-m[4]*m[3])/d,(-p[0]*m[1]+p[1]*m[0]+m[4]*m[1]-m[5]*m[0])/d]},Util.getAxialAlignedBoundingBox=function Util_getAxialAlignedBoundingBox(r,m){var p1=Util.applyTransform(r,m),p2=Util.applyTransform(r.slice(2,4),m),p3=Util.applyTransform([r[0],r[3]],m),p4=Util.applyTransform([r[2],r[1]],m);return[Math.min(p1[0],p2[0],p3[0],p4[0]),Math.min(p1[1],p2[1],p3[1],p4[1]),Math.max(p1[0],p2[0],p3[0],p4[0]),Math.max(p1[1],p2[1],p3[1],p4[1])]},Util.inverseTransform=function Util_inverseTransform(m){var d=m[0]*m[3]-m[1]*m[2];return[m[3]/d,-m[1]/d,-m[2]/d,m[0]/d,(m[2]*m[5]-m[4]*m[3])/d,(m[4]*m[1]-m[5]*m[0])/d]},Util.apply3dTransform=function Util_apply3dTransform(m,v){return[m[0]*v[0]+m[1]*v[1]+m[2]*v[2],m[3]*v[0]+m[4]*v[1]+m[5]*v[2],m[6]*v[0]+m[7]*v[1]+m[8]*v[2]]},Util.singularValueDecompose2dScale=function Util_singularValueDecompose2dScale(m){var transpose=[m[0],m[2],m[1],m[3]],a=m[0]*transpose[0]+m[1]*transpose[2],b=m[0]*transpose[1]+m[1]*transpose[3],c=m[2]*transpose[0]+m[3]*transpose[2],d=m[2]*transpose[1]+m[3]*transpose[3],first=(a+d)/2,second=Math.sqrt((a+d)*(a+d)-4*(a*d-c*b))/2,sx=first+second||1,sy=first-second||1;return[Math.sqrt(sx),Math.sqrt(sy)]},Util.normalizeRect=function Util_normalizeRect(rect){var r=rect.slice(0);return rect[0]>rect[2]&&(r[0]=rect[2],r[2]=rect[0]),rect[1]>rect[3]&&(r[1]=rect[3],r[3]=rect[1]),r},Util.intersect=function Util_intersect(rect1,rect2){function compare(a,b){return a-b}var orderedX=[rect1[0],rect1[2],rect2[0],rect2[2]].sort(compare),orderedY=[rect1[1],rect1[3],rect2[1],rect2[3]].sort(compare),result=[];return rect1=Util.normalizeRect(rect1),rect2=Util.normalizeRect(rect2),(orderedX[0]===rect1[0]&&orderedX[1]===rect2[0]||orderedX[0]===rect2[0]&&orderedX[1]===rect1[0])&&(result[0]=orderedX[1],result[2]=orderedX[2],(orderedY[0]===rect1[1]&&orderedY[1]===rect2[1]||orderedY[0]===rect2[1]&&orderedY[1]===rect1[1])&&(result[1]=orderedY[1],result[3]=orderedY[2],result))};var ROMAN_NUMBER_MAP=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return Util.toRoman=function Util_toRoman(number,lowerCase){assert(Number.isInteger(number)&&number>0,"The number should be a positive integer.");for(var pos,romanBuf=[];number>=1e3;)number-=1e3,romanBuf.push("M");pos=number/100|0,number%=100,romanBuf.push(ROMAN_NUMBER_MAP[pos]),pos=number/10|0,number%=10,romanBuf.push(ROMAN_NUMBER_MAP[10+pos]),romanBuf.push(ROMAN_NUMBER_MAP[20+number]);var romanStr=romanBuf.join("");return lowerCase?romanStr.toLowerCase():romanStr},Util.appendToArray=function Util_appendToArray(arr1,arr2){Array.prototype.push.apply(arr1,arr2)},Util.prependToArray=function Util_prependToArray(arr1,arr2){Array.prototype.unshift.apply(arr1,arr2)},Util.extendObj=function extendObj(obj1,obj2){for(var key in obj2)obj1[key]=obj2[key]},Util.getInheritableProperty=function Util_getInheritableProperty(dict,name,getArray){for(;dict&&!dict.has(name);)dict=dict.get("Parent");return dict?getArray?dict.getArray(name):dict.get(name):null},Util.inherit=function Util_inherit(sub,base,prototype){for(var prop in sub.prototype=Object.create(base.prototype),sub.prototype.constructor=sub,prototype)sub.prototype[prop]=prototype[prop]},Util.loadScript=function Util_loadScript(src,callback){var script=document.createElement("script"),loaded=!1;script.setAttribute("src",src),callback&&(script.onload=function(){loaded||callback(),loaded=!0}),document.getElementsByTagName("head")[0].appendChild(script)},Util}(),PageViewport=function PageViewportClosure(){function PageViewport(viewBox,scale,rotation,offsetX,offsetY,dontFlip){this.viewBox=viewBox,this.scale=scale,this.rotation=rotation,this.offsetX=offsetX,this.offsetY=offsetY;var rotateA,rotateB,rotateC,rotateD,offsetCanvasX,offsetCanvasY,width,height,centerX=(viewBox[2]+viewBox[0])/2,centerY=(viewBox[3]+viewBox[1])/2;switch(rotation=(rotation%=360)<0?rotation+360:rotation){case 180:rotateA=-1,rotateB=0,rotateC=0,rotateD=1;break;case 90:rotateA=0,rotateB=1,rotateC=1,rotateD=0;break;case 270:rotateA=0,rotateB=-1,rotateC=-1,rotateD=0;break;default:rotateA=1,rotateB=0,rotateC=0,rotateD=-1}dontFlip&&(rotateC=-rotateC,rotateD=-rotateD),0===rotateA?(offsetCanvasX=Math.abs(centerY-viewBox[1])*scale+offsetX,offsetCanvasY=Math.abs(centerX-viewBox[0])*scale+offsetY,width=Math.abs(viewBox[3]-viewBox[1])*scale,height=Math.abs(viewBox[2]-viewBox[0])*scale):(offsetCanvasX=Math.abs(centerX-viewBox[0])*scale+offsetX,offsetCanvasY=Math.abs(centerY-viewBox[1])*scale+offsetY,width=Math.abs(viewBox[2]-viewBox[0])*scale,height=Math.abs(viewBox[3]-viewBox[1])*scale),this.transform=[rotateA*scale,rotateB*scale,rotateC*scale,rotateD*scale,offsetCanvasX-rotateA*scale*centerX-rotateC*scale*centerY,offsetCanvasY-rotateB*scale*centerX-rotateD*scale*centerY],this.width=width,this.height=height,this.fontScale=scale}return PageViewport.prototype={clone:function PageViewPort_clone(args){var scale="scale"in(args=args||{})?args.scale:this.scale,rotation="rotation"in args?args.rotation:this.rotation;return new PageViewport(this.viewBox.slice(),scale,rotation,this.offsetX,this.offsetY,args.dontFlip)},convertToViewportPoint:function PageViewport_convertToViewportPoint(x,y){return Util.applyTransform([x,y],this.transform)},convertToViewportRectangle:function PageViewport_convertToViewportRectangle(rect){var tl=Util.applyTransform([rect[0],rect[1]],this.transform),br=Util.applyTransform([rect[2],rect[3]],this.transform);return[tl[0],tl[1],br[0],br[1]]},convertToPdfPoint:function PageViewport_convertToPdfPoint(x,y){return Util.applyInverseTransform([x,y],this.transform)}},PageViewport}(),PDFStringTranslateTable=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function createPromiseCapability(){var capability={};return capability.promise=new Promise((function(resolve,reject){capability.resolve=resolve,capability.reject=reject})),capability}var StatTimer=function StatTimerClosure(){function rpad(str,pad,length){for(;str.length<length;)str+=pad;return str}function StatTimer(){this.started=Object.create(null),this.times=[],this.enabled=!0}return StatTimer.prototype={time:function StatTimer_time(name){this.enabled&&(name in this.started&&warn("Timer is already running for "+name),this.started[name]=Date.now())},timeEnd:function StatTimer_timeEnd(name){this.enabled&&(name in this.started||warn("Timer has not been started for "+name),this.times.push({name:name,start:this.started[name],end:Date.now()}),delete this.started[name])},toString:function StatTimer_toString(){var i,ii,times=this.times,out="",longest=0;for(i=0,ii=times.length;i<ii;++i){var name=times[i].name;name.length>longest&&(longest=name.length)}for(i=0,ii=times.length;i<ii;++i){var span=times[i],duration=span.end-span.start;out+=rpad(span.name," ",longest)+" "+duration+"ms\n"}return out}},StatTimer}(),createBlob=function createBlob(data,contentType){if("undefined"!=typeof Blob)return new Blob([data],{type:contentType});throw new Error('The "Blob" constructor is not supported.')},createObjectURL=function createObjectURLClosure(){var digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function createObjectURL(data,contentType){var forceDataSchema=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!forceDataSchema&&URL.createObjectURL){var blob=createBlob(data,contentType);return URL.createObjectURL(blob)}for(var buffer="data:"+contentType+";base64,",i=0,ii=data.length;i<ii;i+=3){var b1=255&data[i],b2=255&data[i+1],b3=255&data[i+2],d1=b1>>2,d2=(3&b1)<<4|b2>>4,d3=i+1<ii?(15&b2)<<2|b3>>6:64,d4=i+2<ii?63&b3:64;buffer+=digits[d1]+digits[d2]+digits[d3]+digits[d4]}return buffer}}();function resolveCall(fn,args){var thisArg=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return fn?new Promise((function(resolve,reject){resolve(fn.apply(thisArg,args))})):Promise.resolve(void 0)}function wrapReason(reason){if("object"!==(void 0===reason?"undefined":_typeof(reason)))return reason;switch(reason.name){case"AbortException":return new AbortException(reason.message);case"MissingPDFException":return new MissingPDFException(reason.message);case"UnexpectedResponseException":return new UnexpectedResponseException(reason.message,reason.status);default:return new UnknownErrorException(reason.message,reason.details)}}function makeReasonSerializable(reason){return!(reason instanceof Error)||reason instanceof AbortException||reason instanceof MissingPDFException||reason instanceof UnexpectedResponseException||reason instanceof UnknownErrorException?reason:new UnknownErrorException(reason.message,reason.toString())}function resolveOrReject(capability,success,reason){success?capability.resolve():capability.reject(reason)}function MessageHandler(sourceName,targetName,comObj){var _this=this;this.sourceName=sourceName,this.targetName=targetName,this.comObj=comObj,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var callbacksCapabilities=this.callbacksCapabilities=Object.create(null),ah=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(event){var data=event.data;if(data.targetName===_this.sourceName)if(data.stream)_this._processStreamMessage(data);else if(data.isReply){var callbackId=data.callbackId;if(!(data.callbackId in callbacksCapabilities))throw new Error("Cannot resolve callback "+callbackId);var callback=callbacksCapabilities[callbackId];delete callbacksCapabilities[callbackId],"error"in data?callback.reject(wrapReason(data.error)):callback.resolve(data.data)}else{if(!(data.action in ah))throw new Error("Unknown action from worker: "+data.action);var action=ah[data.action];if(data.callbackId){var _sourceName=_this.sourceName,_targetName=data.sourceName;Promise.resolve().then((function(){return action[0].call(action[1],data.data)})).then((function(result){comObj.postMessage({sourceName:_sourceName,targetName:_targetName,isReply:!0,callbackId:data.callbackId,data:result})}),(function(reason){comObj.postMessage({sourceName:_sourceName,targetName:_targetName,isReply:!0,callbackId:data.callbackId,error:makeReasonSerializable(reason)})}))}else data.streamId?_this._createStreamSink(data):action[0].call(action[1],data.data)}},comObj.addEventListener("message",this._onComObjOnMessage)}MessageHandler.prototype={on:function on(actionName,handler,scope){var ah=this.actionHandler;if(ah[actionName])throw new Error('There is already an actionName called "'+actionName+'"');ah[actionName]=[handler,scope]},send:function send(actionName,data,transfers){var message={sourceName:this.sourceName,targetName:this.targetName,action:actionName,data:data};this.postMessage(message,transfers)},sendWithPromise:function sendWithPromise(actionName,data,transfers){var callbackId=this.callbackId++,message={sourceName:this.sourceName,targetName:this.targetName,action:actionName,data:data,callbackId:callbackId},capability=createPromiseCapability();this.callbacksCapabilities[callbackId]=capability;try{this.postMessage(message,transfers)}catch(e){capability.reject(e)}return capability.promise},sendWithStream:function sendWithStream(actionName,data,queueingStrategy,transfers){var _this2=this,streamId=this.streamId++,sourceName=this.sourceName,targetName=this.targetName;return new _streams_polyfill.ReadableStream({start:function start(controller){var startCapability=createPromiseCapability();return _this2.streamControllers[streamId]={controller:controller,startCall:startCapability,isClosed:!1},_this2.postMessage({sourceName:sourceName,targetName:targetName,action:actionName,streamId:streamId,data:data,desiredSize:controller.desiredSize}),startCapability.promise},pull:function pull(controller){var pullCapability=createPromiseCapability();return _this2.streamControllers[streamId].pullCall=pullCapability,_this2.postMessage({sourceName:sourceName,targetName:targetName,stream:"pull",streamId:streamId,desiredSize:controller.desiredSize}),pullCapability.promise},cancel:function cancel(reason){var cancelCapability=createPromiseCapability();return _this2.streamControllers[streamId].cancelCall=cancelCapability,_this2.streamControllers[streamId].isClosed=!0,_this2.postMessage({sourceName:sourceName,targetName:targetName,stream:"cancel",reason:reason,streamId:streamId}),cancelCapability.promise}},queueingStrategy)},_createStreamSink:function _createStreamSink(data){var _this3=this,self=this,action=this.actionHandler[data.action],streamId=data.streamId,desiredSize=data.desiredSize,sourceName=this.sourceName,targetName=data.sourceName,capability=createPromiseCapability(),sendStreamRequest=function sendStreamRequest(_ref){var stream=_ref.stream,chunk=_ref.chunk,transfers=_ref.transfers,success=_ref.success,reason=_ref.reason;_this3.postMessage({sourceName:sourceName,targetName:targetName,stream:stream,streamId:streamId,chunk:chunk,success:success,reason:reason},transfers)},streamSink={enqueue:function enqueue(chunk){var size=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,transfers=arguments[2];if(!this.isCancelled){var lastDesiredSize=this.desiredSize;this.desiredSize-=size,lastDesiredSize>0&&this.desiredSize<=0&&(this.sinkCapability=createPromiseCapability(),this.ready=this.sinkCapability.promise),sendStreamRequest({stream:"enqueue",chunk:chunk,transfers:transfers})}},close:function close(){this.isCancelled||(this.isCancelled=!0,sendStreamRequest({stream:"close"}),delete self.streamSinks[streamId])},error:function error(reason){this.isCancelled||(this.isCancelled=!0,sendStreamRequest({stream:"error",reason:reason}))},sinkCapability:capability,onPull:null,onCancel:null,isCancelled:!1,desiredSize:desiredSize,ready:null};streamSink.sinkCapability.resolve(),streamSink.ready=streamSink.sinkCapability.promise,this.streamSinks[streamId]=streamSink,resolveCall(action[0],[data.data,streamSink],action[1]).then((function(){sendStreamRequest({stream:"start_complete",success:!0})}),(function(reason){sendStreamRequest({stream:"start_complete",success:!1,reason:reason})}))},_processStreamMessage:function _processStreamMessage(data){var _this4=this,sourceName=this.sourceName,targetName=data.sourceName,streamId=data.streamId,sendStreamResponse=function sendStreamResponse(_ref2){var stream=_ref2.stream,success=_ref2.success,reason=_ref2.reason;_this4.comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:stream,success:success,streamId:streamId,reason:reason})},deleteStreamController=function deleteStreamController(){Promise.all([_this4.streamControllers[data.streamId].startCall,_this4.streamControllers[data.streamId].pullCall,_this4.streamControllers[data.streamId].cancelCall].map((function(capability){return capability&&function finalize(promise){return Promise.resolve(promise).catch((function(){}))}(capability.promise)}))).then((function(){delete _this4.streamControllers[data.streamId]}))};switch(data.stream){case"start_complete":resolveOrReject(this.streamControllers[data.streamId].startCall,data.success,wrapReason(data.reason));break;case"pull_complete":resolveOrReject(this.streamControllers[data.streamId].pullCall,data.success,wrapReason(data.reason));break;case"pull":if(!this.streamSinks[data.streamId]){sendStreamResponse({stream:"pull_complete",success:!0});break}this.streamSinks[data.streamId].desiredSize<=0&&data.desiredSize>0&&this.streamSinks[data.streamId].sinkCapability.resolve(),this.streamSinks[data.streamId].desiredSize=data.desiredSize,resolveCall(this.streamSinks[data.streamId].onPull).then((function(){sendStreamResponse({stream:"pull_complete",success:!0})}),(function(reason){sendStreamResponse({stream:"pull_complete",success:!1,reason:reason})}));break;case"enqueue":assert(this.streamControllers[data.streamId],"enqueue should have stream controller"),this.streamControllers[data.streamId].isClosed||this.streamControllers[data.streamId].controller.enqueue(data.chunk);break;case"close":if(assert(this.streamControllers[data.streamId],"close should have stream controller"),this.streamControllers[data.streamId].isClosed)break;this.streamControllers[data.streamId].isClosed=!0,this.streamControllers[data.streamId].controller.close(),deleteStreamController();break;case"error":assert(this.streamControllers[data.streamId],"error should have stream controller"),this.streamControllers[data.streamId].controller.error(wrapReason(data.reason)),deleteStreamController();break;case"cancel_complete":resolveOrReject(this.streamControllers[data.streamId].cancelCall,data.success,wrapReason(data.reason)),deleteStreamController();break;case"cancel":if(!this.streamSinks[data.streamId])break;resolveCall(this.streamSinks[data.streamId].onCancel,[wrapReason(data.reason)]).then((function(){sendStreamResponse({stream:"cancel_complete",success:!0})}),(function(reason){sendStreamResponse({stream:"cancel_complete",success:!1,reason:reason})})),this.streamSinks[data.streamId].sinkCapability.reject(wrapReason(data.reason)),this.streamSinks[data.streamId].isCancelled=!0,delete this.streamSinks[data.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function postMessage(message,transfers){transfers&&this.postMessageTransfers?this.comObj.postMessage(message,transfers):this.comObj.postMessage(message)},destroy:function destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},exports.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],exports.IDENTITY_MATRIX=[1,0,0,1,0,0],exports.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},exports.VERBOSITY_LEVELS=VERBOSITY_LEVELS,exports.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},exports.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},exports.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},exports.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},exports.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},exports.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},exports.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},exports.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},exports.AbortException=AbortException,exports.InvalidPDFException=InvalidPDFException,exports.MessageHandler=MessageHandler,exports.MissingDataException=MissingDataException,exports.MissingPDFException=MissingPDFException,exports.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},exports.NotImplementedException=NotImplementedException,exports.PageViewport=PageViewport,exports.PasswordException=PasswordException,exports.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},exports.StatTimer=StatTimer,exports.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},exports.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},exports.UnexpectedResponseException=UnexpectedResponseException,exports.UnknownErrorException=UnknownErrorException,exports.Util=Util,exports.XRefParseException=XRefParseException,exports.FormatError=FormatError,exports.arrayByteLength=arrayByteLength,exports.arraysToBytes=function arraysToBytes(arr){if(1===arr.length&&arr[0]instanceof Uint8Array)return arr[0];var i,item,itemLength,resultLength=0,ii=arr.length;for(i=0;i<ii;i++)resultLength+=itemLength=arrayByteLength(item=arr[i]);var pos=0,data=new Uint8Array(resultLength);for(i=0;i<ii;i++)(item=arr[i])instanceof Uint8Array||(item="string"==typeof item?stringToBytes(item):new Uint8Array(item)),itemLength=item.byteLength,data.set(item,pos),pos+=itemLength;return data},exports.assert=assert,exports.bytesToString=function bytesToString(bytes){assert(null!==bytes&&"object"===(void 0===bytes?"undefined":_typeof(bytes))&&void 0!==bytes.length,"Invalid argument for bytesToString");var length=bytes.length;if(length<8192)return String.fromCharCode.apply(null,bytes);for(var strBuf=[],i=0;i<length;i+=8192){var chunkEnd=Math.min(i+8192,length),chunk=bytes.subarray(i,chunkEnd);strBuf.push(String.fromCharCode.apply(null,chunk))}return strBuf.join("")},exports.createBlob=createBlob,exports.createPromiseCapability=createPromiseCapability,exports.createObjectURL=createObjectURL,exports.deprecated=function deprecated(details){console.log("Deprecated API usage: "+details)},exports.getLookupTableFactory=function getLookupTableFactory(initializer){var lookup;return function(){return initializer&&(lookup=Object.create(null),initializer(lookup),initializer=null),lookup}},exports.getVerbosityLevel=function getVerbosityLevel(){return verbosity},exports.info=function info(msg){verbosity>=VERBOSITY_LEVELS.infos&&console.log("Info: "+msg)},exports.isArrayBuffer=function isArrayBuffer(v){return"object"===(void 0===v?"undefined":_typeof(v))&&null!==v&&void 0!==v.byteLength},exports.isBool=function isBool(v){return"boolean"==typeof v},exports.isEmptyObj=function isEmptyObj(obj){for(var key in obj)return!1;return!0},exports.isNum=function isNum(v){return"number"==typeof v},exports.isString=function isString(v){return"string"==typeof v},exports.isSpace=function isSpace(ch){return 32===ch||9===ch||13===ch||10===ch},exports.isNodeJS=function isNodeJS(){return"object"===(void 0===process?"undefined":_typeof(process))&&process+""=="[object process]"},exports.isSameOrigin=function isSameOrigin(baseUrl,otherUrl){try{var base=new URL(baseUrl);if(!base.origin||"null"===base.origin)return!1}catch(e){return!1}var other=new URL(otherUrl,base);return base.origin===other.origin},exports.createValidAbsoluteUrl=function createValidAbsoluteUrl(url,baseUrl){if(!url)return null;try{var absoluteUrl=baseUrl?new URL(url,baseUrl):new URL(url);if(function isValidProtocol(url){if(!url)return!1;switch(url.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(absoluteUrl))return absoluteUrl}catch(ex){}return null},exports.isLittleEndian=function isLittleEndian(){var buffer8=new Uint8Array(4);return buffer8[0]=1,1===new Uint32Array(buffer8.buffer,0,1)[0]},exports.isEvalSupported=function isEvalSupported(){try{return new Function(""),!0}catch(e){return!1}},exports.loadJpegStream=function loadJpegStream(id,imageUrl,objs){var img=new Image;img.onload=function loadJpegStream_onloadClosure(){objs.resolve(id,img)},img.onerror=function loadJpegStream_onerrorClosure(){objs.resolve(id,null),warn("Error during JPEG image loading")},img.src=imageUrl},exports.log2=function log2(x){for(var n=1,i=0;x>n;)n<<=1,i++;return i},exports.readInt8=function readInt8(data,start){return data[start]<<24>>24},exports.readUint16=function readUint16(data,offset){return data[offset]<<8|data[offset+1]},exports.readUint32=function readUint32(data,offset){return(data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3])>>>0},exports.removeNullCharacters=function removeNullCharacters(str){return"string"!=typeof str?(warn("The argument for removeNullCharacters must be a string."),str):str.replace(NullCharactersRegExp,"")},exports.ReadableStream=_streams_polyfill.ReadableStream,exports.setVerbosityLevel=function setVerbosityLevel(level){verbosity=level},exports.shadow=function shadow(obj,prop,value){return Object.defineProperty(obj,prop,{value:value,enumerable:!0,configurable:!0,writable:!1}),value},exports.string32=function string32(value){return String.fromCharCode(value>>24&255,value>>16&255,value>>8&255,255&value)},exports.stringToBytes=stringToBytes,exports.stringToPDFString=function stringToPDFString(str){var i,n=str.length,strBuf=[];if("þ"===str[0]&&"ÿ"===str[1])for(i=2;i<n;i+=2)strBuf.push(String.fromCharCode(str.charCodeAt(i)<<8|str.charCodeAt(i+1)));else for(i=0;i<n;++i){var code=PDFStringTranslateTable[str.charCodeAt(i)];strBuf.push(code?String.fromCharCode(code):str.charAt(i))}return strBuf.join("")},exports.stringToUTF8String=function stringToUTF8String(str){return decodeURIComponent(escape(str))},exports.utf8StringToString=function utf8StringToString(str){return unescape(encodeURIComponent(str))},exports.warn=warn,exports.unreachable=unreachable},function(module,exports,__w_pdfjs_require__){"use strict";var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},EOF={},Name=function NameClosure(){function Name(name){this.name=name}Name.prototype={};var nameCache=Object.create(null);return Name.get=function Name_get(name){var nameValue=nameCache[name];return nameValue||(nameCache[name]=new Name(name))},Name}(),Cmd=function CmdClosure(){function Cmd(cmd){this.cmd=cmd}Cmd.prototype={};var cmdCache=Object.create(null);return Cmd.get=function Cmd_get(cmd){var cmdValue=cmdCache[cmd];return cmdValue||(cmdCache[cmd]=new Cmd(cmd))},Cmd}(),Dict=function DictClosure(){var nonSerializable=function nonSerializableClosure(){return nonSerializable};function Dict(xref){this._map=Object.create(null),this.xref=xref,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=nonSerializable}return Dict.prototype={assignXref:function Dict_assignXref(newXref){this.xref=newXref},get:function Dict_get(key1,key2,key3){var value,xref=this.xref,suppressEncryption=this.suppressEncryption;return void 0!==(value=this._map[key1])||key1 in this._map||void 0===key2||void 0!==(value=this._map[key2])||key2 in this._map||void 0===key3||(value=this._map[key3]||null),xref?xref.fetchIfRef(value,suppressEncryption):value},getAsync:function Dict_getAsync(key1,key2,key3){var value,xref=this.xref,suppressEncryption=this.suppressEncryption;return void 0!==(value=this._map[key1])||key1 in this._map||void 0===key2||void 0!==(value=this._map[key2])||key2 in this._map||void 0===key3||(value=this._map[key3]||null),xref?xref.fetchIfRefAsync(value,suppressEncryption):Promise.resolve(value)},getArray:function Dict_getArray(key1,key2,key3){var value=this.get(key1,key2,key3),xref=this.xref,suppressEncryption=this.suppressEncryption;if(!Array.isArray(value)||!xref)return value;for(var i=0,ii=(value=value.slice()).length;i<ii;i++)isRef(value[i])&&(value[i]=xref.fetch(value[i],suppressEncryption));return value},getRaw:function Dict_getRaw(key){return this._map[key]},getKeys:function Dict_getKeys(){return Object.keys(this._map)},set:function Dict_set(key,value){this._map[key]=value},has:function Dict_has(key){return key in this._map},forEach:function Dict_forEach(callback){for(var key in this._map)callback(key,this.get(key))}},Dict.empty=new Dict(null),Dict.merge=function(xref,dictArray){for(var mergedDict=new Dict(xref),i=0,ii=dictArray.length;i<ii;i++){var dict=dictArray[i];if(isDict(dict))for(var keyName in dict._map)void 0===mergedDict._map[keyName]&&(mergedDict._map[keyName]=dict._map[keyName])}return mergedDict},Dict}(),Ref=function RefClosure(){function Ref(num,gen){this.num=num,this.gen=gen}return Ref.prototype={toString:function Ref_toString(){var str=this.num+"R";return 0!==this.gen&&(str+=this.gen),str}},Ref}(),RefSet=function RefSetClosure(){function RefSet(){this.dict=Object.create(null)}return RefSet.prototype={has:function RefSet_has(ref){return ref.toString()in this.dict},put:function RefSet_put(ref){this.dict[ref.toString()]=!0},remove:function RefSet_remove(ref){delete this.dict[ref.toString()]}},RefSet}(),RefSetCache=function RefSetCacheClosure(){function RefSetCache(){this.dict=Object.create(null)}return RefSetCache.prototype={get:function RefSetCache_get(ref){return this.dict[ref.toString()]},has:function RefSetCache_has(ref){return ref.toString()in this.dict},put:function RefSetCache_put(ref,obj){this.dict[ref.toString()]=obj},putAlias:function RefSetCache_putAlias(ref,aliasRef){this.dict[ref.toString()]=this.get(aliasRef)},forEach:function RefSetCache_forEach(fn,thisArg){for(var i in this.dict)fn.call(thisArg,this.dict[i])},clear:function RefSetCache_clear(){this.dict=Object.create(null)}},RefSetCache}();function isName(v,name){return v instanceof Name&&(void 0===name||v.name===name)}function isDict(v,type){return v instanceof Dict&&(void 0===type||isName(v.get("Type"),type))}function isRef(v){return v instanceof Ref}exports.EOF=EOF,exports.Cmd=Cmd,exports.Dict=Dict,exports.Name=Name,exports.Ref=Ref,exports.RefSet=RefSet,exports.RefSetCache=RefSetCache,exports.isEOF=function isEOF(v){return v===EOF},exports.isCmd=function isCmd(v,cmd){return v instanceof Cmd&&(void 0===cmd||v.cmd===cmd)},exports.isDict=isDict,exports.isName=isName,exports.isRef=isRef,exports.isRefsEqual=function isRefsEqual(v1,v2){return v1.num===v2.num&&v1.gen===v2.gen},exports.isStream=function isStream(v){return"object"===(void 0===v?"undefined":_typeof(v))&&null!==v&&void 0!==v.getBytes}},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};module.exports=function(it){return"object"===(void 0===it?"undefined":_typeof(it))?null!==it:"function"==typeof it}},function(module,exports,__w_pdfjs_require__){"use strict";var store=__w_pdfjs_require__(54)("wks"),uid=__w_pdfjs_require__(17),_Symbol=__w_pdfjs_require__(1).Symbol,USE_SYMBOL="function"==typeof _Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&_Symbol[name]||(USE_SYMBOL?_Symbol:uid)("Symbol."+name))}).store=store},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LZWStream=exports.StringStream=exports.StreamsSequenceStream=exports.Stream=exports.RunLengthStream=exports.PredictorStream=exports.NullStream=exports.JpxStream=exports.JpegStream=exports.FlateStream=exports.DecodeStream=exports.DecryptStream=exports.AsciiHexStream=exports.Ascii85Stream=void 0;var _util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_jpg=__w_pdfjs_require__(129),_jpx=__w_pdfjs_require__(74),Stream=function StreamClosure(){function Stream(arrayBuffer,start,length,dict){this.bytes=arrayBuffer instanceof Uint8Array?arrayBuffer:new Uint8Array(arrayBuffer),this.start=start||0,this.pos=this.start,this.end=start+length||this.bytes.length,this.dict=dict}return Stream.prototype={get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function Stream_getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]},getUint16:function Stream_getUint16(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1},getInt32:function Stream_getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},getBytes:function Stream_getBytes(length){var bytes=this.bytes,pos=this.pos,strEnd=this.end;if(!length)return bytes.subarray(pos,strEnd);var end=pos+length;return end>strEnd&&(end=strEnd),this.pos=end,bytes.subarray(pos,end)},peekByte:function Stream_peekByte(){var peekedByte=this.getByte();return this.pos--,peekedByte},peekBytes:function Stream_peekBytes(length){var bytes=this.getBytes(length);return this.pos-=bytes.length,bytes},skip:function Stream_skip(n){n||(n=1),this.pos+=n},reset:function Stream_reset(){this.pos=this.start},moveStart:function Stream_moveStart(){this.start=this.pos},makeSubStream:function Stream_makeSubStream(start,length,dict){return new Stream(this.bytes.buffer,start,length,dict)}},Stream}(),StringStream=function StringStreamClosure(){function StringStream(str){var bytes=(0,_util.stringToBytes)(str);Stream.call(this,bytes)}return StringStream.prototype=Stream.prototype,StringStream}(),DecodeStream=function DecodeStreamClosure(){var emptyBuffer=new Uint8Array(0);function DecodeStream(maybeMinBufferLength){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=emptyBuffer,this.minBufferLength=512,maybeMinBufferLength)for(;this.minBufferLength<maybeMinBufferLength;)this.minBufferLength*=2}return DecodeStream.prototype={get isEmpty(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength},ensureBuffer:function DecodeStream_ensureBuffer(requested){var buffer=this.buffer;if(requested<=buffer.byteLength)return buffer;for(var size=this.minBufferLength;size<requested;)size*=2;var buffer2=new Uint8Array(size);return buffer2.set(buffer),this.buffer=buffer2},getByte:function DecodeStream_getByte(){for(var pos=this.pos;this.bufferLength<=pos;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},getUint16:function DecodeStream_getUint16(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1},getInt32:function DecodeStream_getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},getBytes:function DecodeStream_getBytes(length){var end,pos=this.pos;if(length){for(this.ensureBuffer(pos+length),end=pos+length;!this.eof&&this.bufferLength<end;)this.readBlock();var bufEnd=this.bufferLength;end>bufEnd&&(end=bufEnd)}else{for(;!this.eof;)this.readBlock();end=this.bufferLength}return this.pos=end,this.buffer.subarray(pos,end)},peekByte:function DecodeStream_peekByte(){var peekedByte=this.getByte();return this.pos--,peekedByte},peekBytes:function DecodeStream_peekBytes(length){var bytes=this.getBytes(length);return this.pos-=bytes.length,bytes},makeSubStream:function DecodeStream_makeSubStream(start,length,dict){for(var end=start+length;this.bufferLength<=end&&!this.eof;)this.readBlock();return new Stream(this.buffer,start,length,dict)},skip:function DecodeStream_skip(n){n||(n=1),this.pos+=n},reset:function DecodeStream_reset(){this.pos=0},getBaseStreams:function DecodeStream_getBaseStreams(){return this.str&&this.str.getBaseStreams?this.str.getBaseStreams():[]}},DecodeStream}(),StreamsSequenceStream=function StreamsSequenceStreamClosure(){function StreamsSequenceStream(streams){this.streams=streams,DecodeStream.call(this,null)}return StreamsSequenceStream.prototype=Object.create(DecodeStream.prototype),StreamsSequenceStream.prototype.readBlock=function streamSequenceStreamReadBlock(){var streams=this.streams;if(0!==streams.length){var chunk=streams.shift().getBytes(),bufferLength=this.bufferLength,newLength=bufferLength+chunk.length;this.ensureBuffer(newLength).set(chunk,bufferLength),this.bufferLength=newLength}else this.eof=!0},StreamsSequenceStream.prototype.getBaseStreams=function StreamsSequenceStream_getBaseStreams(){for(var baseStreams=[],i=0,ii=this.streams.length;i<ii;i++){var stream=this.streams[i];stream.getBaseStreams&&_util.Util.appendToArray(baseStreams,stream.getBaseStreams())}return baseStreams},StreamsSequenceStream}(),FlateStream=function FlateStreamClosure(){var codeLenCodeMap=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lengthDecode=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),distDecode=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),fixedLitCodeTab=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],fixedDistCodeTab=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];function FlateStream(str,maybeLength){this.str=str,this.dict=str.dict;var cmf=str.getByte(),flg=str.getByte();if(-1===cmf||-1===flg)throw new _util.FormatError("Invalid header in flate stream: "+cmf+", "+flg);if(8!=(15&cmf))throw new _util.FormatError("Unknown compression method in flate stream: "+cmf+", "+flg);if(((cmf<<8)+flg)%31!=0)throw new _util.FormatError("Bad FCHECK in flate stream: "+cmf+", "+flg);if(32&flg)throw new _util.FormatError("FDICT bit set in flate stream: "+cmf+", "+flg);this.codeSize=0,this.codeBuf=0,DecodeStream.call(this,maybeLength)}return FlateStream.prototype=Object.create(DecodeStream.prototype),FlateStream.prototype.getBits=function FlateStream_getBits(bits){for(var b,str=this.str,codeSize=this.codeSize,codeBuf=this.codeBuf;codeSize<bits;){if(-1===(b=str.getByte()))throw new _util.FormatError("Bad encoding in flate stream");codeBuf|=b<<codeSize,codeSize+=8}return b=codeBuf&(1<<bits)-1,this.codeBuf=codeBuf>>bits,this.codeSize=codeSize-=bits,b},FlateStream.prototype.getCode=function FlateStream_getCode(table){for(var b,str=this.str,codes=table[0],maxLen=table[1],codeSize=this.codeSize,codeBuf=this.codeBuf;codeSize<maxLen&&-1!==(b=str.getByte());)codeBuf|=b<<codeSize,codeSize+=8;var code=codes[codeBuf&(1<<maxLen)-1],codeLen=code>>16,codeVal=65535&code;if(codeLen<1||codeSize<codeLen)throw new _util.FormatError("Bad encoding in flate stream");return this.codeBuf=codeBuf>>codeLen,this.codeSize=codeSize-codeLen,codeVal},FlateStream.prototype.generateHuffmanTable=function flateStreamGenerateHuffmanTable(lengths){var i,n=lengths.length,maxLen=0;for(i=0;i<n;++i)lengths[i]>maxLen&&(maxLen=lengths[i]);for(var size=1<<maxLen,codes=new Int32Array(size),len=1,code=0,skip=2;len<=maxLen;++len,code<<=1,skip<<=1)for(var val=0;val<n;++val)if(lengths[val]===len){var code2=0,t=code;for(i=0;i<len;++i)code2=code2<<1|1&t,t>>=1;for(i=code2;i<size;i+=skip)codes[i]=len<<16|val;++code}return[codes,maxLen]},FlateStream.prototype.readBlock=function FlateStream_readBlock(){var buffer,len,str=this.str,hdr=this.getBits(3);if(1&hdr&&(this.eof=!0),0!==(hdr>>=1)){var litCodeTable,distCodeTable;if(1===hdr)litCodeTable=fixedLitCodeTab,distCodeTable=fixedDistCodeTab;else{if(2!==hdr)throw new _util.FormatError("Unknown block type in flate stream");var i,numLitCodes=this.getBits(5)+257,numDistCodes=this.getBits(5)+1,numCodeLenCodes=this.getBits(4)+4,codeLenCodeLengths=new Uint8Array(codeLenCodeMap.length);for(i=0;i<numCodeLenCodes;++i)codeLenCodeLengths[codeLenCodeMap[i]]=this.getBits(3);var codeLenCodeTab=this.generateHuffmanTable(codeLenCodeLengths);len=0,i=0;for(var bitsLength,bitsOffset,what,codes=numLitCodes+numDistCodes,codeLengths=new Uint8Array(codes);i<codes;){var code=this.getCode(codeLenCodeTab);if(16===code)bitsLength=2,bitsOffset=3,what=len;else if(17===code)bitsLength=3,bitsOffset=3,what=len=0;else{if(18!==code){codeLengths[i++]=len=code;continue}bitsLength=7,bitsOffset=11,what=len=0}for(var repeatLength=this.getBits(bitsLength)+bitsOffset;repeatLength-- >0;)codeLengths[i++]=what}litCodeTable=this.generateHuffmanTable(codeLengths.subarray(0,numLitCodes)),distCodeTable=this.generateHuffmanTable(codeLengths.subarray(numLitCodes,codes))}for(var limit=(buffer=this.buffer)?buffer.length:0,pos=this.bufferLength;;){var code1=this.getCode(litCodeTable);if(code1<256)pos+1>=limit&&(limit=(buffer=this.ensureBuffer(pos+1)).length),buffer[pos++]=code1;else{if(256===code1)return void(this.bufferLength=pos);var code2=(code1=lengthDecode[code1-=257])>>16;code2>0&&(code2=this.getBits(code2)),len=(65535&code1)+code2,code1=this.getCode(distCodeTable),(code2=(code1=distDecode[code1])>>16)>0&&(code2=this.getBits(code2));var dist=(65535&code1)+code2;pos+len>=limit&&(limit=(buffer=this.ensureBuffer(pos+len)).length);for(var k=0;k<len;++k,++pos)buffer[pos]=buffer[pos-dist]}}}else{var b;if(-1===(b=str.getByte()))throw new _util.FormatError("Bad block header in flate stream");var blockLen=b;if(-1===(b=str.getByte()))throw new _util.FormatError("Bad block header in flate stream");if(blockLen|=b<<8,-1===(b=str.getByte()))throw new _util.FormatError("Bad block header in flate stream");var check=b;if(-1===(b=str.getByte()))throw new _util.FormatError("Bad block header in flate stream");if((check|=b<<8)!==(65535&~blockLen)&&(0!==blockLen||0!==check))throw new _util.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var bufferLength=this.bufferLength;buffer=this.ensureBuffer(bufferLength+blockLen);var end=bufferLength+blockLen;if(this.bufferLength=end,0===blockLen)-1===str.peekByte()&&(this.eof=!0);else for(var n=bufferLength;n<end;++n){if(-1===(b=str.getByte())){this.eof=!0;break}buffer[n]=b}}},FlateStream}(),PredictorStream=function PredictorStreamClosure(){function PredictorStream(str,maybeLength,params){if(!(0,_primitives.isDict)(params))return str;var predictor=this.predictor=params.get("Predictor")||1;if(predictor<=1)return str;if(2!==predictor&&(predictor<10||predictor>15))throw new _util.FormatError("Unsupported predictor: "+predictor);this.readBlock=2===predictor?this.readBlockTiff:this.readBlockPng,this.str=str,this.dict=str.dict;var colors=this.colors=params.get("Colors")||1,bits=this.bits=params.get("BitsPerComponent")||8,columns=this.columns=params.get("Columns")||1;return this.pixBytes=colors*bits+7>>3,this.rowBytes=columns*colors*bits+7>>3,DecodeStream.call(this,maybeLength),this}return PredictorStream.prototype=Object.create(DecodeStream.prototype),PredictorStream.prototype.readBlockTiff=function predictorStreamReadBlockTiff(){var rowBytes=this.rowBytes,bufferLength=this.bufferLength,buffer=this.ensureBuffer(bufferLength+rowBytes),bits=this.bits,colors=this.colors,rawBytes=this.str.getBytes(rowBytes);if(this.eof=!rawBytes.length,!this.eof){var i,inbuf=0,outbuf=0,inbits=0,outbits=0,pos=bufferLength;if(1===bits&&1===colors)for(i=0;i<rowBytes;++i){var c=rawBytes[i]^inbuf;c^=c>>1,c^=c>>2,inbuf=(1&(c^=c>>4))<<7,buffer[pos++]=c}else if(8===bits){for(i=0;i<colors;++i)buffer[pos++]=rawBytes[i];for(;i<rowBytes;++i)buffer[pos]=buffer[pos-colors]+rawBytes[i],pos++}else if(16===bits){var bytesPerPixel=2*colors;for(i=0;i<bytesPerPixel;++i)buffer[pos++]=rawBytes[i];for(;i<rowBytes;i+=2){var sum=((255&rawBytes[i])<<8)+(255&rawBytes[i+1])+((255&buffer[pos-bytesPerPixel])<<8)+(255&buffer[pos-bytesPerPixel+1]);buffer[pos++]=sum>>8&255,buffer[pos++]=255&sum}}else{var compArray=new Uint8Array(colors+1),bitMask=(1<<bits)-1,j=0,k=bufferLength,columns=this.columns;for(i=0;i<columns;++i)for(var kk=0;kk<colors;++kk)inbits<bits&&(inbuf=inbuf<<8|255&rawBytes[j++],inbits+=8),compArray[kk]=compArray[kk]+(inbuf>>inbits-bits)&bitMask,inbits-=bits,outbuf=outbuf<<bits|compArray[kk],(outbits+=bits)>=8&&(buffer[k++]=outbuf>>outbits-8&255,outbits-=8);outbits>0&&(buffer[k++]=(outbuf<<8-outbits)+(inbuf&(1<<8-outbits)-1))}this.bufferLength+=rowBytes}},PredictorStream.prototype.readBlockPng=function predictorStreamReadBlockPng(){var rowBytes=this.rowBytes,pixBytes=this.pixBytes,predictor=this.str.getByte(),rawBytes=this.str.getBytes(rowBytes);if(this.eof=!rawBytes.length,!this.eof){var bufferLength=this.bufferLength,buffer=this.ensureBuffer(bufferLength+rowBytes),prevRow=buffer.subarray(bufferLength-rowBytes,bufferLength);0===prevRow.length&&(prevRow=new Uint8Array(rowBytes));var i,up,c,j=bufferLength;switch(predictor){case 0:for(i=0;i<rowBytes;++i)buffer[j++]=rawBytes[i];break;case 1:for(i=0;i<pixBytes;++i)buffer[j++]=rawBytes[i];for(;i<rowBytes;++i)buffer[j]=buffer[j-pixBytes]+rawBytes[i]&255,j++;break;case 2:for(i=0;i<rowBytes;++i)buffer[j++]=prevRow[i]+rawBytes[i]&255;break;case 3:for(i=0;i<pixBytes;++i)buffer[j++]=(prevRow[i]>>1)+rawBytes[i];for(;i<rowBytes;++i)buffer[j]=(prevRow[i]+buffer[j-pixBytes]>>1)+rawBytes[i]&255,j++;break;case 4:for(i=0;i<pixBytes;++i)up=prevRow[i],c=rawBytes[i],buffer[j++]=up+c;for(;i<rowBytes;++i){up=prevRow[i];var upLeft=prevRow[i-pixBytes],left=buffer[j-pixBytes],p=left+up-upLeft,pa=p-left;pa<0&&(pa=-pa);var pb=p-up;pb<0&&(pb=-pb);var pc=p-upLeft;pc<0&&(pc=-pc),c=rawBytes[i],buffer[j++]=pa<=pb&&pa<=pc?left+c:pb<=pc?up+c:upLeft+c}break;default:throw new _util.FormatError("Unsupported predictor: "+predictor)}this.bufferLength+=rowBytes}},PredictorStream}(),JpegStream=function JpegStreamClosure(){function JpegStream(stream,maybeLength,dict,params){for(var ch;-1!==(ch=stream.getByte());)if(255===ch){stream.skip(-1);break}this.stream=stream,this.maybeLength=maybeLength,this.dict=dict,this.params=params,DecodeStream.call(this,maybeLength)}return JpegStream.prototype=Object.create(DecodeStream.prototype),Object.defineProperty(JpegStream.prototype,"bytes",{get:function JpegStream_bytes(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),JpegStream.prototype.ensureBuffer=function JpegStream_ensureBuffer(req){if(!this.bufferLength){var jpegImage=new _jpg.JpegImage,decodeArr=this.dict.getArray("Decode","D");if(this.forceRGB&&Array.isArray(decodeArr)){for(var bitsPerComponent=this.dict.get("BitsPerComponent")||8,decodeArrLength=decodeArr.length,transform=new Int32Array(decodeArrLength),transformNeeded=!1,maxValue=(1<<bitsPerComponent)-1,i=0;i<decodeArrLength;i+=2)transform[i]=256*(decodeArr[i+1]-decodeArr[i])|0,transform[i+1]=decodeArr[i]*maxValue|0,256===transform[i]&&0===transform[i+1]||(transformNeeded=!0);transformNeeded&&(jpegImage.decodeTransform=transform)}if((0,_primitives.isDict)(this.params)){var colorTransform=this.params.get("ColorTransform");Number.isInteger(colorTransform)&&(jpegImage.colorTransform=colorTransform)}jpegImage.parse(this.bytes);var data=jpegImage.getData(this.drawWidth,this.drawHeight,this.forceRGB);this.buffer=data,this.bufferLength=data.length,this.eof=!0}},JpegStream.prototype.getBytes=function JpegStream_getBytes(length){return this.ensureBuffer(),this.buffer},JpegStream.prototype.getIR=function JpegStream_getIR(forceDataSchema){return(0,_util.createObjectURL)(this.bytes,"image/jpeg",forceDataSchema)},JpegStream}(),JpxStream=function JpxStreamClosure(){function JpxStream(stream,maybeLength,dict,params){this.stream=stream,this.maybeLength=maybeLength,this.dict=dict,this.params=params,DecodeStream.call(this,maybeLength)}return JpxStream.prototype=Object.create(DecodeStream.prototype),Object.defineProperty(JpxStream.prototype,"bytes",{get:function JpxStream_bytes(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),JpxStream.prototype.ensureBuffer=function JpxStream_ensureBuffer(req){if(!this.bufferLength){var jpxImage=new _jpx.JpxImage;jpxImage.parse(this.bytes);var width=jpxImage.width,height=jpxImage.height,componentsCount=jpxImage.componentsCount,tileCount=jpxImage.tiles.length;if(1===tileCount)this.buffer=jpxImage.tiles[0].items;else{for(var data=new Uint8ClampedArray(width*height*componentsCount),k=0;k<tileCount;k++)for(var tileComponents=jpxImage.tiles[k],tileWidth=tileComponents.width,tileHeight=tileComponents.height,tileLeft=tileComponents.left,tileTop=tileComponents.top,src=tileComponents.items,srcPosition=0,dataPosition=(width*tileTop+tileLeft)*componentsCount,imgRowSize=width*componentsCount,tileRowSize=tileWidth*componentsCount,j=0;j<tileHeight;j++){var rowBytes=src.subarray(srcPosition,srcPosition+tileRowSize);data.set(rowBytes,dataPosition),srcPosition+=tileRowSize,dataPosition+=imgRowSize}this.buffer=data}this.bufferLength=this.buffer.length,this.eof=!0}},JpxStream}(),DecryptStream=function DecryptStreamClosure(){function DecryptStream(str,maybeLength,decrypt){this.str=str,this.dict=str.dict,this.decrypt=decrypt,this.nextChunk=null,this.initialized=!1,DecodeStream.call(this,maybeLength)}return DecryptStream.prototype=Object.create(DecodeStream.prototype),DecryptStream.prototype.readBlock=function DecryptStream_readBlock(){var chunk;if(this.initialized?chunk=this.nextChunk:(chunk=this.str.getBytes(512),this.initialized=!0),chunk&&0!==chunk.length){this.nextChunk=this.str.getBytes(512);var hasMoreData=this.nextChunk&&this.nextChunk.length>0;chunk=(0,this.decrypt)(chunk,!hasMoreData);var i,bufferLength=this.bufferLength,n=chunk.length,buffer=this.ensureBuffer(bufferLength+n);for(i=0;i<n;i++)buffer[bufferLength++]=chunk[i];this.bufferLength=bufferLength}else this.eof=!0},DecryptStream}(),Ascii85Stream=function Ascii85StreamClosure(){function Ascii85Stream(str,maybeLength){this.str=str,this.dict=str.dict,this.input=new Uint8Array(5),maybeLength&&(maybeLength*=.8),DecodeStream.call(this,maybeLength)}return Ascii85Stream.prototype=Object.create(DecodeStream.prototype),Ascii85Stream.prototype.readBlock=function Ascii85Stream_readBlock(){for(var str=this.str,c=str.getByte();(0,_util.isSpace)(c);)c=str.getByte();if(-1!==c&&126!==c){var buffer,i,bufferLength=this.bufferLength;if(122===c){for(buffer=this.ensureBuffer(bufferLength+4),i=0;i<4;++i)buffer[bufferLength+i]=0;this.bufferLength+=4}else{var input=this.input;for(input[0]=c,i=1;i<5;++i){for(c=str.getByte();(0,_util.isSpace)(c);)c=str.getByte();if(input[i]=c,-1===c||126===c)break}if(buffer=this.ensureBuffer(bufferLength+i-1),this.bufferLength+=i-1,i<5){for(;i<5;++i)input[i]=117;this.eof=!0}var t=0;for(i=0;i<5;++i)t=85*t+(input[i]-33);for(i=3;i>=0;--i)buffer[bufferLength+i]=255&t,t>>=8}}else this.eof=!0},Ascii85Stream}(),AsciiHexStream=function AsciiHexStreamClosure(){function AsciiHexStream(str,maybeLength){this.str=str,this.dict=str.dict,this.firstDigit=-1,maybeLength&&(maybeLength*=.5),DecodeStream.call(this,maybeLength)}return AsciiHexStream.prototype=Object.create(DecodeStream.prototype),AsciiHexStream.prototype.readBlock=function AsciiHexStream_readBlock(){var bytes=this.str.getBytes(8e3);if(bytes.length){for(var maxDecodeLength=bytes.length+1>>1,buffer=this.ensureBuffer(this.bufferLength+maxDecodeLength),bufferLength=this.bufferLength,firstDigit=this.firstDigit,i=0,ii=bytes.length;i<ii;i++){var digit,ch=bytes[i];if(ch>=48&&ch<=57)digit=15&ch;else{if(!(ch>=65&&ch<=70||ch>=97&&ch<=102)){if(62===ch){this.eof=!0;break}continue}digit=9+(15&ch)}firstDigit<0?firstDigit=digit:(buffer[bufferLength++]=firstDigit<<4|digit,firstDigit=-1)}firstDigit>=0&&this.eof&&(buffer[bufferLength++]=firstDigit<<4,firstDigit=-1),this.firstDigit=firstDigit,this.bufferLength=bufferLength}else this.eof=!0},AsciiHexStream}(),RunLengthStream=function RunLengthStreamClosure(){function RunLengthStream(str,maybeLength){this.str=str,this.dict=str.dict,DecodeStream.call(this,maybeLength)}return RunLengthStream.prototype=Object.create(DecodeStream.prototype),RunLengthStream.prototype.readBlock=function RunLengthStream_readBlock(){var repeatHeader=this.str.getBytes(2);if(!repeatHeader||repeatHeader.length<2||128===repeatHeader[0])this.eof=!0;else{var buffer,bufferLength=this.bufferLength,n=repeatHeader[0];if(n<128){if((buffer=this.ensureBuffer(bufferLength+n+1))[bufferLength++]=repeatHeader[1],n>0){var source=this.str.getBytes(n);buffer.set(source,bufferLength),bufferLength+=n}}else{n=257-n;var b=repeatHeader[1];buffer=this.ensureBuffer(bufferLength+n+1);for(var i=0;i<n;i++)buffer[bufferLength++]=b}this.bufferLength=bufferLength}},RunLengthStream}(),LZWStream=function LZWStreamClosure(){function LZWStream(str,maybeLength,earlyChange){this.str=str,this.dict=str.dict,this.cachedData=0,this.bitsCached=0;for(var lzwState={earlyChange:earlyChange,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0},i=0;i<256;++i)lzwState.dictionaryValues[i]=i,lzwState.dictionaryLengths[i]=1;this.lzwState=lzwState,DecodeStream.call(this,maybeLength)}return LZWStream.prototype=Object.create(DecodeStream.prototype),LZWStream.prototype.readBits=function LZWStream_readBits(n){for(var bitsCached=this.bitsCached,cachedData=this.cachedData;bitsCached<n;){var c=this.str.getByte();if(-1===c)return this.eof=!0,null;cachedData=cachedData<<8|c,bitsCached+=8}return this.bitsCached=bitsCached-=n,this.cachedData=cachedData,this.lastCode=null,cachedData>>>bitsCached&(1<<n)-1},LZWStream.prototype.readBlock=function LZWStream_readBlock(){var i,j,q,estimatedDecodedSize=1024,lzwState=this.lzwState;if(lzwState){var earlyChange=lzwState.earlyChange,nextCode=lzwState.nextCode,dictionaryValues=lzwState.dictionaryValues,dictionaryLengths=lzwState.dictionaryLengths,dictionaryPrevCodes=lzwState.dictionaryPrevCodes,codeLength=lzwState.codeLength,prevCode=lzwState.prevCode,currentSequence=lzwState.currentSequence,currentSequenceLength=lzwState.currentSequenceLength,decodedLength=0,currentBufferLength=this.bufferLength,buffer=this.ensureBuffer(this.bufferLength+estimatedDecodedSize);for(i=0;i<512;i++){var code=this.readBits(codeLength),hasPrev=currentSequenceLength>0;if(code<256)currentSequence[0]=code,currentSequenceLength=1;else{if(!(code>=258)){if(256===code){codeLength=9,nextCode=258,currentSequenceLength=0;continue}this.eof=!0,delete this.lzwState;break}if(code<nextCode)for(j=(currentSequenceLength=dictionaryLengths[code])-1,q=code;j>=0;j--)currentSequence[j]=dictionaryValues[q],q=dictionaryPrevCodes[q];else currentSequence[currentSequenceLength++]=currentSequence[0]}if(hasPrev&&(dictionaryPrevCodes[nextCode]=prevCode,dictionaryLengths[nextCode]=dictionaryLengths[prevCode]+1,dictionaryValues[nextCode]=currentSequence[0],codeLength=++nextCode+earlyChange&nextCode+earlyChange-1?codeLength:0|Math.min(Math.log(nextCode+earlyChange)/.6931471805599453+1,12)),prevCode=code,estimatedDecodedSize<(decodedLength+=currentSequenceLength)){do{estimatedDecodedSize+=512}while(estimatedDecodedSize<decodedLength);buffer=this.ensureBuffer(this.bufferLength+estimatedDecodedSize)}for(j=0;j<currentSequenceLength;j++)buffer[currentBufferLength++]=currentSequence[j]}lzwState.nextCode=nextCode,lzwState.codeLength=codeLength,lzwState.prevCode=prevCode,lzwState.currentSequenceLength=currentSequenceLength,this.bufferLength=currentBufferLength}},LZWStream}(),NullStream=function NullStreamClosure(){function NullStream(){Stream.call(this,new Uint8Array(0))}return NullStream.prototype=Stream.prototype,NullStream}();exports.Ascii85Stream=Ascii85Stream,exports.AsciiHexStream=AsciiHexStream,exports.DecryptStream=DecryptStream,exports.DecodeStream=DecodeStream,exports.FlateStream=FlateStream,exports.JpegStream=JpegStream,exports.JpxStream=JpxStream,exports.NullStream=NullStream,exports.PredictorStream=PredictorStream,exports.RunLengthStream=RunLengthStream,exports.Stream=Stream,exports.StreamsSequenceStream=StreamsSequenceStream,exports.StringStream=StringStream,exports.LZWStream=LZWStream},function(module,exports,__w_pdfjs_require__){"use strict";var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),core=__w_pdfjs_require__(6),hide=__w_pdfjs_require__(8),redefine=__w_pdfjs_require__(16),ctx=__w_pdfjs_require__(13),$export=function $export(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:type&$export.S?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});for(key in IS_GLOBAL&&(source=name),source)out=((own=!IS_FORCED&&target&&void 0!==target[key])?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports,__w_pdfjs_require__){"use strict";var dP=__w_pdfjs_require__(15),createDesc=__w_pdfjs_require__(29);module.exports=__w_pdfjs_require__(10)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!__w_pdfjs_require__(11)((function(){return 7!=Object.defineProperty({},"a",{get:function get(){return 7}}).a}))},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports,__w_pdfjs_require__){"use strict";var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__w_pdfjs_require__){"use strict";var aFunction=__w_pdfjs_require__(22);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(18),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(9),IE8_DOM_DEFINE=__w_pdfjs_require__(48),toPrimitive=__w_pdfjs_require__(36),dP=Object.defineProperty;exports.f=__w_pdfjs_require__(10)?Object.defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(8),has=__w_pdfjs_require__(12),SRC=__w_pdfjs_require__(17)("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__w_pdfjs_require__(6).inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)}))},function(module,exports,__w_pdfjs_require__){"use strict";var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__w_pdfjs_require__){"use strict";var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__w_pdfjs_require__){"use strict";var defined=__w_pdfjs_require__(38);module.exports=function(it){return Object(defined(it))}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports={}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!1},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";var redefine=__w_pdfjs_require__(16);module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__w_pdfjs_require__){"use strict";var def=__w_pdfjs_require__(15).f,has=__w_pdfjs_require__(12),TAG=__w_pdfjs_require__(4)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ColorSpace=void 0;var _util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),ColorSpace=function ColorSpaceClosure(){function ColorSpace(){throw new Error("should not call ColorSpace constructor")}return ColorSpace.prototype={getRgb:function ColorSpace_getRgb(src,srcOffset){var rgb=new Uint8Array(3);return this.getRgbItem(src,srcOffset,rgb,0),rgb},getRgbItem:function ColorSpace_getRgbItem(src,srcOffset,dest,destOffset){throw new Error("Should not call ColorSpace.getRgbItem")},getRgbBuffer:function ColorSpace_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){throw new Error("Should not call ColorSpace.getRgbBuffer")},getOutputLength:function ColorSpace_getOutputLength(inputLength,alpha01){throw new Error("Should not call ColorSpace.getOutputLength")},isPassthrough:function ColorSpace_isPassthrough(bits){return!1},fillRgb:function ColorSpace_fillRgb(dest,originalWidth,originalHeight,width,height,actualHeight,bpc,comps,alpha01){var i,ii,count=originalWidth*originalHeight,rgbBuf=null,numComponentColors=1<<bpc,needsResizing=originalHeight!==height||originalWidth!==width;if(this.isPassthrough(bpc))rgbBuf=comps;else if(1===this.numComps&&count>numComponentColors&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){var key,allColors=bpc<=8?new Uint8Array(numComponentColors):new Uint16Array(numComponentColors);for(i=0;i<numComponentColors;i++)allColors[i]=i;var destPos,rgbPos,colorMap=new Uint8Array(3*numComponentColors);if(this.getRgbBuffer(allColors,0,numComponentColors,colorMap,0,bpc,0),needsResizing)for(rgbBuf=new Uint8Array(3*count),rgbPos=0,i=0;i<count;++i)key=3*comps[i],rgbBuf[rgbPos++]=colorMap[key],rgbBuf[rgbPos++]=colorMap[key+1],rgbBuf[rgbPos++]=colorMap[key+2];else for(destPos=0,i=0;i<count;++i)key=3*comps[i],dest[destPos++]=colorMap[key],dest[destPos++]=colorMap[key+1],dest[destPos++]=colorMap[key+2],destPos+=alpha01}else needsResizing?(rgbBuf=new Uint8Array(3*count),this.getRgbBuffer(comps,0,count,rgbBuf,0,bpc,0)):this.getRgbBuffer(comps,0,width*actualHeight,dest,0,bpc,alpha01);if(rgbBuf)if(needsResizing)!function resizeRgbImage(src,bpc,w1,h1,w2,h2,alpha01,dest){alpha01=1!==alpha01?0:alpha01;var i,j,py,oldIndex,xRatio=w1/w2,yRatio=h1/h2,newIndex=0,xScaled=new Uint16Array(w2),w1Scanline=3*w1;for(i=0;i<w2;i++)xScaled[i]=3*Math.floor(i*xRatio);for(i=0;i<h2;i++)for(py=Math.floor(i*yRatio)*w1Scanline,j=0;j<w2;j++)oldIndex=py+xScaled[j],dest[newIndex++]=src[oldIndex++],dest[newIndex++]=src[oldIndex++],dest[newIndex++]=src[oldIndex++],newIndex+=alpha01}(rgbBuf,0,originalWidth,originalHeight,width,height,alpha01,dest);else for(rgbPos=0,destPos=0,i=0,ii=width*actualHeight;i<ii;i++)dest[destPos++]=rgbBuf[rgbPos++],dest[destPos++]=rgbBuf[rgbPos++],dest[destPos++]=rgbBuf[rgbPos++],destPos+=alpha01},usesZeroToOneRange:!0},ColorSpace.parse=function(cs,xref,res,pdfFunctionFactory){var IR=ColorSpace.parseToIR(cs,xref,res,pdfFunctionFactory);return ColorSpace.fromIR(IR)},ColorSpace.fromIR=function(IR){var whitePoint,blackPoint,gamma,name=Array.isArray(IR)?IR[0]:IR;switch(name){case"DeviceGrayCS":return this.singletons.gray;case"DeviceRgbCS":return this.singletons.rgb;case"DeviceCmykCS":return this.singletons.cmyk;case"CalGrayCS":return whitePoint=IR[1],blackPoint=IR[2],gamma=IR[3],new CalGrayCS(whitePoint,blackPoint,gamma);case"CalRGBCS":whitePoint=IR[1],blackPoint=IR[2],gamma=IR[3];var matrix=IR[4];return new CalRGBCS(whitePoint,blackPoint,gamma,matrix);case"PatternCS":var basePatternCS=IR[1];return basePatternCS&&(basePatternCS=ColorSpace.fromIR(basePatternCS)),new PatternCS(basePatternCS);case"IndexedCS":var baseIndexedCS=IR[1],hiVal=IR[2],lookup=IR[3];return new IndexedCS(ColorSpace.fromIR(baseIndexedCS),hiVal,lookup);case"AlternateCS":var numComps=IR[1],alt=IR[2],tintFn=IR[3];return new AlternateCS(numComps,ColorSpace.fromIR(alt),tintFn);case"LabCS":whitePoint=IR[1],blackPoint=IR[2];var range=IR[3];return new LabCS(whitePoint,blackPoint,range);default:throw new _util.FormatError("Unknown colorspace name: "+name)}},ColorSpace.parseToIR=function(cs,xref,res,pdfFunctionFactory){if((0,_primitives.isName)(cs)){var colorSpaces=res.get("ColorSpace");if((0,_primitives.isDict)(colorSpaces)){var refcs=colorSpaces.get(cs.name);refcs&&(cs=refcs)}}if(cs=xref.fetchIfRef(cs),(0,_primitives.isName)(cs))switch(cs.name){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"Pattern":return["PatternCS",null];default:throw new _util.FormatError("unrecognized colorspace "+cs.name)}if(Array.isArray(cs)){var numComps,params,alt,mode=xref.fetchIfRef(cs[0]).name;switch(mode){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"CalGray":return["CalGrayCS",(params=xref.fetchIfRef(cs[1])).getArray("WhitePoint"),params.getArray("BlackPoint"),params.get("Gamma")];case"CalRGB":return["CalRGBCS",(params=xref.fetchIfRef(cs[1])).getArray("WhitePoint"),params.getArray("BlackPoint"),params.getArray("Gamma"),params.getArray("Matrix")];case"ICCBased":var dict=xref.fetchIfRef(cs[1]).dict;if(numComps=dict.get("N"),alt=dict.get("Alternate")){var altIR=ColorSpace.parseToIR(alt,xref,res,pdfFunctionFactory);if(ColorSpace.fromIR(altIR,pdfFunctionFactory).numComps===numComps)return altIR;(0,_util.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===numComps)return"DeviceGrayCS";if(3===numComps)return"DeviceRgbCS";if(4===numComps)return"DeviceCmykCS";break;case"Pattern":var basePatternCS=cs[1]||null;return basePatternCS&&(basePatternCS=ColorSpace.parseToIR(basePatternCS,xref,res,pdfFunctionFactory)),["PatternCS",basePatternCS];case"Indexed":case"I":var baseIndexedCS=ColorSpace.parseToIR(cs[1],xref,res,pdfFunctionFactory),hiVal=xref.fetchIfRef(cs[2])+1,lookup=xref.fetchIfRef(cs[3]);return(0,_primitives.isStream)(lookup)&&(lookup=lookup.getBytes()),["IndexedCS",baseIndexedCS,hiVal,lookup];case"Separation":case"DeviceN":var name=xref.fetchIfRef(cs[1]);return["AlternateCS",numComps=Array.isArray(name)?name.length:1,alt=ColorSpace.parseToIR(cs[2],xref,res,pdfFunctionFactory),pdfFunctionFactory.create(xref.fetchIfRef(cs[3]))];case"Lab":return["LabCS",(params=xref.fetchIfRef(cs[1])).getArray("WhitePoint"),params.getArray("BlackPoint"),params.getArray("Range")];default:throw new _util.FormatError('unimplemented color space object "'+mode+'"')}}throw new _util.FormatError('unrecognized color space object: "'+cs+'"')},ColorSpace.isDefaultDecode=function ColorSpace_isDefaultDecode(decode,n){if(!Array.isArray(decode))return!0;if(2*n!==decode.length)return(0,_util.warn)("The decode map is not the correct length"),!0;for(var i=0,ii=decode.length;i<ii;i+=2)if(0!==decode[i]||1!==decode[i+1])return!1;return!0},ColorSpace.singletons={get gray(){return(0,_util.shadow)(this,"gray",new DeviceGrayCS)},get rgb(){return(0,_util.shadow)(this,"rgb",new DeviceRgbCS)},get cmyk(){return(0,_util.shadow)(this,"cmyk",new DeviceCmykCS)}},ColorSpace}(),AlternateCS=function AlternateCSClosure(){function AlternateCS(numComps,base,tintFn){this.name="Alternate",this.numComps=numComps,this.defaultColor=new Float32Array(numComps);for(var i=0;i<numComps;++i)this.defaultColor[i]=1;this.base=base,this.tintFn=tintFn,this.tmpBuf=new Float32Array(base.numComps)}return AlternateCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function AlternateCS_getRgbItem(src,srcOffset,dest,destOffset){var tmpBuf=this.tmpBuf;this.tintFn(src,srcOffset,tmpBuf,0),this.base.getRgbItem(tmpBuf,0,dest,destOffset)},getRgbBuffer:function AlternateCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){var i,j,tintFn=this.tintFn,base=this.base,scale=1/((1<<bits)-1),baseNumComps=base.numComps,usesZeroToOneRange=base.usesZeroToOneRange,isPassthrough=(base.isPassthrough(8)||!usesZeroToOneRange)&&0===alpha01,pos=isPassthrough?destOffset:0,baseBuf=isPassthrough?dest:new Uint8Array(baseNumComps*count),numComps=this.numComps,scaled=new Float32Array(numComps),tinted=new Float32Array(baseNumComps);for(i=0;i<count;i++){for(j=0;j<numComps;j++)scaled[j]=src[srcOffset++]*scale;if(tintFn(scaled,0,tinted,0),usesZeroToOneRange)for(j=0;j<baseNumComps;j++)baseBuf[pos++]=255*tinted[j];else base.getRgbItem(tinted,0,baseBuf,pos),pos+=baseNumComps}isPassthrough||base.getRgbBuffer(baseBuf,0,count,dest,destOffset,8,alpha01)},getOutputLength:function AlternateCS_getOutputLength(inputLength,alpha01){return this.base.getOutputLength(inputLength*this.base.numComps/this.numComps,alpha01)},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function AlternateCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},AlternateCS}(),PatternCS=function PatternCSClosure(){function PatternCS(baseCS){this.name="Pattern",this.base=baseCS}return PatternCS.prototype={},PatternCS}(),IndexedCS=function IndexedCSClosure(){function IndexedCS(base,highVal,lookup){this.name="Indexed",this.numComps=1,this.defaultColor=new Uint8Array(this.numComps),this.base=base,this.highVal=highVal;var length=base.numComps*highVal;if((0,_primitives.isStream)(lookup)){this.lookup=new Uint8Array(length);var bytes=lookup.getBytes(length);this.lookup.set(bytes)}else if((0,_util.isString)(lookup)){this.lookup=new Uint8Array(length);for(var i=0;i<length;++i)this.lookup[i]=lookup.charCodeAt(i)}else{if(!(lookup instanceof Uint8Array||lookup instanceof Array))throw new _util.FormatError("Unrecognized lookup table: "+lookup);this.lookup=lookup}}return IndexedCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function IndexedCS_getRgbItem(src,srcOffset,dest,destOffset){var numComps=this.base.numComps,start=src[srcOffset]*numComps;this.base.getRgbBuffer(this.lookup,start,1,dest,destOffset,8,0)},getRgbBuffer:function IndexedCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var base=this.base,numComps=base.numComps,outputDelta=base.getOutputLength(numComps,alpha01),lookup=this.lookup,i=0;i<count;++i){var lookupPos=src[srcOffset++]*numComps;base.getRgbBuffer(lookup,lookupPos,1,dest,destOffset,8,alpha01),destOffset+=outputDelta}},getOutputLength:function IndexedCS_getOutputLength(inputLength,alpha01){return this.base.getOutputLength(inputLength*this.base.numComps,alpha01)},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function IndexedCS_isDefaultDecode(decodeMap){return!0},usesZeroToOneRange:!0},IndexedCS}(),DeviceGrayCS=function DeviceGrayCSClosure(){function DeviceGrayCS(){this.name="DeviceGray",this.numComps=1,this.defaultColor=new Float32Array(this.numComps)}return DeviceGrayCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function DeviceGrayCS_getRgbItem(src,srcOffset,dest,destOffset){var c=255*src[srcOffset]|0;c=c<0?0:c>255?255:c,dest[destOffset]=dest[destOffset+1]=dest[destOffset+2]=c},getRgbBuffer:function DeviceGrayCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var scale=255/((1<<bits)-1),j=srcOffset,q=destOffset,i=0;i<count;++i){var c=scale*src[j++]|0;dest[q++]=c,dest[q++]=c,dest[q++]=c,q+=alpha01}},getOutputLength:function DeviceGrayCS_getOutputLength(inputLength,alpha01){return inputLength*(3+alpha01)},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function DeviceGrayCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},DeviceGrayCS}(),DeviceRgbCS=function DeviceRgbCSClosure(){function DeviceRgbCS(){this.name="DeviceRGB",this.numComps=3,this.defaultColor=new Float32Array(this.numComps)}return DeviceRgbCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function DeviceRgbCS_getRgbItem(src,srcOffset,dest,destOffset){var r=255*src[srcOffset]|0,g=255*src[srcOffset+1]|0,b=255*src[srcOffset+2]|0;dest[destOffset]=r<0?0:r>255?255:r,dest[destOffset+1]=g<0?0:g>255?255:g,dest[destOffset+2]=b<0?0:b>255?255:b},getRgbBuffer:function DeviceRgbCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){if(8!==bits||0!==alpha01)for(var scale=255/((1<<bits)-1),j=srcOffset,q=destOffset,i=0;i<count;++i)dest[q++]=scale*src[j++]|0,dest[q++]=scale*src[j++]|0,dest[q++]=scale*src[j++]|0,q+=alpha01;else dest.set(src.subarray(srcOffset,srcOffset+3*count),destOffset)},getOutputLength:function DeviceRgbCS_getOutputLength(inputLength,alpha01){return inputLength*(3+alpha01)/3|0},isPassthrough:function DeviceRgbCS_isPassthrough(bits){return 8===bits},fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function DeviceRgbCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},DeviceRgbCS}(),DeviceCmykCS=function DeviceCmykCSClosure(){function convertToRgb(src,srcOffset,srcScale,dest,destOffset){var c=src[srcOffset+0]*srcScale,m=src[srcOffset+1]*srcScale,y=src[srcOffset+2]*srcScale,k=src[srcOffset+3]*srcScale,r=c*(-4.387332384609988*c+54.48615194189176*m+18.82290502165302*y+212.25662451639585*k-285.2331026137004)+m*(1.7149763477362134*m-5.6096736904047315*y+-17.873870861415444*k-5.497006427196366)+y*(-2.5217340131683033*y-21.248923337353073*k+17.5119270841813)+k*(-21.86122147463605*k-189.48180835922747)+255|0,g=c*(8.841041422036149*c+60.118027045597366*m+6.871425592049007*y+31.159100130055922*k-79.2970844816548)+m*(-15.310361306967817*m+17.575251261109482*y+131.35250912493976*k-190.9453302588951)+y*(4.444339102852739*y+9.8632861493405*k-24.86741582555878)+k*(-20.737325471181034*k-187.80453709719578)+255|0,b=c*(.8842522430003296*c+8.078677503112928*m+30.89978309703729*y-.23883238689178934*k-14.183576799673286)+m*(10.49593273432072*m+63.02378494754052*y+50.606957656360734*k-112.23884253719248)+y*(.03296041114873217*y+115.60384449646641*k-193.58209356861505)+k*(-22.33816807309886*k-180.12613974708367)+255|0;dest[destOffset]=r>255?255:r<0?0:r,dest[destOffset+1]=g>255?255:g<0?0:g,dest[destOffset+2]=b>255?255:b<0?0:b}function DeviceCmykCS(){this.name="DeviceCMYK",this.numComps=4,this.defaultColor=new Float32Array(this.numComps),this.defaultColor[3]=1}return DeviceCmykCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function DeviceCmykCS_getRgbItem(src,srcOffset,dest,destOffset){convertToRgb(src,srcOffset,1,dest,destOffset)},getRgbBuffer:function DeviceCmykCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var scale=1/((1<<bits)-1),i=0;i<count;i++)convertToRgb(src,srcOffset,scale,dest,destOffset),srcOffset+=4,destOffset+=3+alpha01},getOutputLength:function DeviceCmykCS_getOutputLength(inputLength,alpha01){return inputLength/4*(3+alpha01)|0},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function DeviceCmykCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},DeviceCmykCS}(),CalGrayCS=function CalGrayCSClosure(){function CalGrayCS(whitePoint,blackPoint,gamma){if(this.name="CalGray",this.numComps=1,this.defaultColor=new Float32Array(this.numComps),!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space CalGray");if(blackPoint=blackPoint||[0,0,0],gamma=gamma||1,this.XW=whitePoint[0],this.YW=whitePoint[1],this.ZW=whitePoint[2],this.XB=blackPoint[0],this.YB=blackPoint[1],this.ZB=blackPoint[2],this.G=gamma,this.XW<0||this.ZW<0||1!==this.YW)throw new _util.FormatError("Invalid WhitePoint components for "+this.name+", no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&((0,_util.info)("Invalid BlackPoint for "+this.name+", falling back to default"),this.XB=this.YB=this.ZB=0),0===this.XB&&0===this.YB&&0===this.ZB||(0,_util.warn)(this.name+", BlackPoint: XB: "+this.XB+", YB: "+this.YB+", ZB: "+this.ZB+", only default values are supported."),this.G<1&&((0,_util.info)("Invalid Gamma: "+this.G+" for "+this.name+", falling back to default"),this.G=1)}function convertToRgb(cs,src,srcOffset,dest,destOffset,scale){var A=src[srcOffset]*scale,AG=Math.pow(A,cs.G),L=cs.YW*AG,val=0|Math.max(295.8*Math.pow(L,.3333333333333333)-40.8,0);dest[destOffset]=val,dest[destOffset+1]=val,dest[destOffset+2]=val}return CalGrayCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function CalGrayCS_getRgbItem(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,dest,destOffset,1)},getRgbBuffer:function CalGrayCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var scale=1/((1<<bits)-1),i=0;i<count;++i)convertToRgb(this,src,srcOffset,dest,destOffset,scale),srcOffset+=1,destOffset+=3+alpha01},getOutputLength:function CalGrayCS_getOutputLength(inputLength,alpha01){return inputLength*(3+alpha01)},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function CalGrayCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},CalGrayCS}(),CalRGBCS=function CalRGBCSClosure(){var BRADFORD_SCALE_MATRIX=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),BRADFORD_SCALE_INVERSE_MATRIX=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),SRGB_D65_XYZ_TO_RGB_MATRIX=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),FLAT_WHITEPOINT_MATRIX=new Float32Array([1,1,1]),tempNormalizeMatrix=new Float32Array(3),tempConvertMatrix1=new Float32Array(3),tempConvertMatrix2=new Float32Array(3),DECODE_L_CONSTANT=Math.pow(24/116,3)/8;function CalRGBCS(whitePoint,blackPoint,gamma,matrix){if(this.name="CalRGB",this.numComps=3,this.defaultColor=new Float32Array(this.numComps),!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space CalRGB");blackPoint=blackPoint||new Float32Array(3),gamma=gamma||new Float32Array([1,1,1]),matrix=matrix||new Float32Array([1,0,0,0,1,0,0,0,1]);var XW=whitePoint[0],YW=whitePoint[1],ZW=whitePoint[2];this.whitePoint=whitePoint;var XB=blackPoint[0],YB=blackPoint[1],ZB=blackPoint[2];if(this.blackPoint=blackPoint,this.GR=gamma[0],this.GG=gamma[1],this.GB=gamma[2],this.MXA=matrix[0],this.MYA=matrix[1],this.MZA=matrix[2],this.MXB=matrix[3],this.MYB=matrix[4],this.MZB=matrix[5],this.MXC=matrix[6],this.MYC=matrix[7],this.MZC=matrix[8],XW<0||ZW<0||1!==YW)throw new _util.FormatError("Invalid WhitePoint components for "+this.name+", no fallback available");(XB<0||YB<0||ZB<0)&&((0,_util.info)("Invalid BlackPoint for "+this.name+" ["+XB+", "+YB+", "+ZB+"], falling back to default"),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,_util.info)("Invalid Gamma ["+this.GR+", "+this.GG+", "+this.GB+"] for "+this.name+", falling back to default"),this.GR=this.GG=this.GB=1),(this.MXA<0||this.MYA<0||this.MZA<0||this.MXB<0||this.MYB<0||this.MZB<0||this.MXC<0||this.MYC<0||this.MZC<0)&&((0,_util.info)("Invalid Matrix for "+this.name+" ["+this.MXA+", "+this.MYA+", "+this.MZA+this.MXB+", "+this.MYB+", "+this.MZB+this.MXC+", "+this.MYC+", "+this.MZC+"], falling back to default"),this.MXA=this.MYB=this.MZC=1,this.MXB=this.MYA=this.MZA=this.MXC=this.MYC=this.MZB=0)}function matrixProduct(a,b,result){result[0]=a[0]*b[0]+a[1]*b[1]+a[2]*b[2],result[1]=a[3]*b[0]+a[4]*b[1]+a[5]*b[2],result[2]=a[6]*b[0]+a[7]*b[1]+a[8]*b[2]}function sRGBTransferFunction(color){return adjustToRange(0,1,color<=.0031308?12.92*color:1.055*Math.pow(color,1/2.4)-.055)}function adjustToRange(min,max,value){return Math.max(min,Math.min(max,value))}function decodeL(L){return L<0?-decodeL(-L):L>8?Math.pow((L+16)/116,3):L*DECODE_L_CONSTANT}function convertToRgb(cs,src,srcOffset,dest,destOffset,scale){var A=adjustToRange(0,1,src[srcOffset]*scale),B=adjustToRange(0,1,src[srcOffset+1]*scale),C=adjustToRange(0,1,src[srcOffset+2]*scale),AGR=Math.pow(A,cs.GR),BGG=Math.pow(B,cs.GG),CGB=Math.pow(C,cs.GB),X=cs.MXA*AGR+cs.MXB*BGG+cs.MXC*CGB,Y=cs.MYA*AGR+cs.MYB*BGG+cs.MYC*CGB,Z=cs.MZA*AGR+cs.MZB*BGG+cs.MZC*CGB,XYZ=tempConvertMatrix1;XYZ[0]=X,XYZ[1]=Y,XYZ[2]=Z;var XYZ_Flat=tempConvertMatrix2;!function normalizeWhitePointToFlat(sourceWhitePoint,XYZ_In,result){if(1===sourceWhitePoint[0]&&1===sourceWhitePoint[2])return result[0]=XYZ_In[0],result[1]=XYZ_In[1],void(result[2]=XYZ_In[2]);var LMS=result;matrixProduct(BRADFORD_SCALE_MATRIX,XYZ_In,LMS);var LMS_Flat=tempNormalizeMatrix;!function convertToFlat(sourceWhitePoint,LMS,result){result[0]=1*LMS[0]/sourceWhitePoint[0],result[1]=1*LMS[1]/sourceWhitePoint[1],result[2]=1*LMS[2]/sourceWhitePoint[2]}(sourceWhitePoint,LMS,LMS_Flat),matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX,LMS_Flat,result)}(cs.whitePoint,XYZ,XYZ_Flat);var XYZ_Black=tempConvertMatrix1;!function compensateBlackPoint(sourceBlackPoint,XYZ_Flat,result){if(0===sourceBlackPoint[0]&&0===sourceBlackPoint[1]&&0===sourceBlackPoint[2])return result[0]=XYZ_Flat[0],result[1]=XYZ_Flat[1],void(result[2]=XYZ_Flat[2]);var zeroDecodeL=decodeL(0),X_Scale=(1-zeroDecodeL)/(1-decodeL(sourceBlackPoint[0])),X_Offset=1-X_Scale,Y_Scale=(1-zeroDecodeL)/(1-decodeL(sourceBlackPoint[1])),Y_Offset=1-Y_Scale,Z_Scale=(1-zeroDecodeL)/(1-decodeL(sourceBlackPoint[2])),Z_Offset=1-Z_Scale;result[0]=XYZ_Flat[0]*X_Scale+X_Offset,result[1]=XYZ_Flat[1]*Y_Scale+Y_Offset,result[2]=XYZ_Flat[2]*Z_Scale+Z_Offset}(cs.blackPoint,XYZ_Flat,XYZ_Black);var XYZ_D65=tempConvertMatrix2;!function normalizeWhitePointToD65(sourceWhitePoint,XYZ_In,result){var LMS=result;matrixProduct(BRADFORD_SCALE_MATRIX,XYZ_In,LMS);var LMS_D65=tempNormalizeMatrix;!function convertToD65(sourceWhitePoint,LMS,result){result[0]=.95047*LMS[0]/sourceWhitePoint[0],result[1]=1*LMS[1]/sourceWhitePoint[1],result[2]=1.08883*LMS[2]/sourceWhitePoint[2]}(sourceWhitePoint,LMS,LMS_D65),matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX,LMS_D65,result)}(FLAT_WHITEPOINT_MATRIX,XYZ_Black,XYZ_D65);var SRGB=tempConvertMatrix1;matrixProduct(SRGB_D65_XYZ_TO_RGB_MATRIX,XYZ_D65,SRGB);var sR=sRGBTransferFunction(SRGB[0]),sG=sRGBTransferFunction(SRGB[1]),sB=sRGBTransferFunction(SRGB[2]);dest[destOffset]=Math.round(255*sR),dest[destOffset+1]=Math.round(255*sG),dest[destOffset+2]=Math.round(255*sB)}return CalRGBCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function CalRGBCS_getRgbItem(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,dest,destOffset,1)},getRgbBuffer:function CalRGBCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var scale=1/((1<<bits)-1),i=0;i<count;++i)convertToRgb(this,src,srcOffset,dest,destOffset,scale),srcOffset+=3,destOffset+=3+alpha01},getOutputLength:function CalRGBCS_getOutputLength(inputLength,alpha01){return inputLength*(3+alpha01)/3|0},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function CalRGBCS_isDefaultDecode(decodeMap){return ColorSpace.isDefaultDecode(decodeMap,this.numComps)},usesZeroToOneRange:!0},CalRGBCS}(),LabCS=function LabCSClosure(){function LabCS(whitePoint,blackPoint,range){if(this.name="Lab",this.numComps=3,this.defaultColor=new Float32Array(this.numComps),!whitePoint)throw new _util.FormatError("WhitePoint missing - required for color space Lab");if(blackPoint=blackPoint||[0,0,0],range=range||[-100,100,-100,100],this.XW=whitePoint[0],this.YW=whitePoint[1],this.ZW=whitePoint[2],this.amin=range[0],this.amax=range[1],this.bmin=range[2],this.bmax=range[3],this.XB=blackPoint[0],this.YB=blackPoint[1],this.ZB=blackPoint[2],this.XW<0||this.ZW<0||1!==this.YW)throw new _util.FormatError("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&((0,_util.info)("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&((0,_util.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}function fn_g(x){return x>=6/29?x*x*x:108/841*(x-4/29)}function decode(value,high1,low2,high2){return low2+value*(high2-low2)/high1}function convertToRgb(cs,src,srcOffset,maxVal,dest,destOffset){var Ls=src[srcOffset],as=src[srcOffset+1],bs=src[srcOffset+2];!1!==maxVal&&(Ls=decode(Ls,maxVal,0,100),as=decode(as,maxVal,cs.amin,cs.amax),bs=decode(bs,maxVal,cs.bmin,cs.bmax));var r,g,b,M=(Ls+16)/116,L=M+(as=as>cs.amax?cs.amax:as<cs.amin?cs.amin:as)/500,N=M-(bs=bs>cs.bmax?cs.bmax:bs<cs.bmin?cs.bmin:bs)/200,X=cs.XW*fn_g(L),Y=cs.YW*fn_g(M),Z=cs.ZW*fn_g(N);cs.ZW<1?(r=3.1339*X+-1.617*Y+-.4906*Z,g=-.9785*X+1.916*Y+.0333*Z,b=.072*X+-.229*Y+1.4057*Z):(r=3.2406*X+-1.5372*Y+-.4986*Z,g=-.9689*X+1.8758*Y+.0415*Z,b=.0557*X+-.204*Y+1.057*Z),dest[destOffset]=r<=0?0:r>=1?255:255*Math.sqrt(r)|0,dest[destOffset+1]=g<=0?0:g>=1?255:255*Math.sqrt(g)|0,dest[destOffset+2]=b<=0?0:b>=1?255:255*Math.sqrt(b)|0}return LabCS.prototype={getRgb:ColorSpace.prototype.getRgb,getRgbItem:function LabCS_getRgbItem(src,srcOffset,dest,destOffset){convertToRgb(this,src,srcOffset,!1,dest,destOffset)},getRgbBuffer:function LabCS_getRgbBuffer(src,srcOffset,count,dest,destOffset,bits,alpha01){for(var maxVal=(1<<bits)-1,i=0;i<count;i++)convertToRgb(this,src,srcOffset,maxVal,dest,destOffset),srcOffset+=3,destOffset+=3+alpha01},getOutputLength:function LabCS_getOutputLength(inputLength,alpha01){return inputLength*(3+alpha01)/3|0},isPassthrough:ColorSpace.prototype.isPassthrough,fillRgb:ColorSpace.prototype.fillRgb,isDefaultDecode:function LabCS_isDefaultDecode(decodeMap){return!0},usesZeroToOneRange:!1},LabCS}();exports.ColorSpace=ColorSpace},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ExpertEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],MacExpertEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall"],MacRomanEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],StandardEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],WinAnsiEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"],SymbolSetEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt"],ZapfDingbatsEncoding=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191"];exports.WinAnsiEncoding=WinAnsiEncoding,exports.StandardEncoding=StandardEncoding,exports.MacRomanEncoding=MacRomanEncoding,exports.SymbolSetEncoding=SymbolSetEncoding,exports.ZapfDingbatsEncoding=ZapfDingbatsEncoding,exports.ExpertEncoding=ExpertEncoding,exports.getEncoding=function getEncoding(encodingName){switch(encodingName){case"WinAnsiEncoding":return WinAnsiEncoding;case"StandardEncoding":return StandardEncoding;case"MacRomanEncoding":return MacRomanEncoding;case"SymbolSetEncoding":return SymbolSetEncoding;case"ZapfDingbatsEncoding":return ZapfDingbatsEncoding;case"ExpertEncoding":return ExpertEncoding;case"MacExpertEncoding":return MacExpertEncoding;default:return null}}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__w_pdfjs_require__){"use strict";var IObject=__w_pdfjs_require__(37),defined=__w_pdfjs_require__(38);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(18),max=Math.max,min=Math.min;module.exports=function(index,length){return(index=toInteger(index))<0?max(index+length,0):min(index,length)}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25),TAG=__w_pdfjs_require__(4)("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function tryGet(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__w_pdfjs_require__){"use strict";var ctx=__w_pdfjs_require__(13),call=__w_pdfjs_require__(107),isArrayIter=__w_pdfjs_require__(56),anObject=__w_pdfjs_require__(9),toLength=__w_pdfjs_require__(14),getIterFn=__w_pdfjs_require__(60),BREAK={},RETURN={},_exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result};_exports.BREAK=BREAK,_exports.RETURN=RETURN},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Parser=exports.Linearization=exports.Lexer=void 0;var _stream=__w_pdfjs_require__(5),_util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_ccitt_stream=__w_pdfjs_require__(130),_jbig2_stream=__w_pdfjs_require__(132),Parser=function ParserClosure(){function Parser(lexer,allowStreams,xref,recoveryMode){this.lexer=lexer,this.allowStreams=allowStreams,this.xref=xref,this.recoveryMode=recoveryMode||!1,this.imageCache=Object.create(null),this.refill()}return Parser.prototype={refill:function Parser_refill(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()},shift:function Parser_shift(){(0,_primitives.isCmd)(this.buf2,"ID")?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())},tryShift:function Parser_tryShift(){try{return this.shift(),!0}catch(e){if(e instanceof _util.MissingDataException)throw e;return!1}},getObj:function Parser_getObj(cipherTransform){var buf1=this.buf1;if(this.shift(),buf1 instanceof _primitives.Cmd)switch(buf1.cmd){case"BI":return this.makeInlineImage(cipherTransform);case"[":for(var array=[];!(0,_primitives.isCmd)(this.buf1,"]")&&!(0,_primitives.isEOF)(this.buf1);)array.push(this.getObj(cipherTransform));if((0,_primitives.isEOF)(this.buf1)){if(!this.recoveryMode)throw new _util.FormatError("End of file inside array");return array}return this.shift(),array;case"<<":for(var dict=new _primitives.Dict(this.xref);!(0,_primitives.isCmd)(this.buf1,">>")&&!(0,_primitives.isEOF)(this.buf1);)if((0,_primitives.isName)(this.buf1)){var key=this.buf1.name;if(this.shift(),(0,_primitives.isEOF)(this.buf1))break;dict.set(key,this.getObj(cipherTransform))}else(0,_util.info)("Malformed dictionary: key must be a name object"),this.shift();if((0,_primitives.isEOF)(this.buf1)){if(!this.recoveryMode)throw new _util.FormatError("End of file inside dictionary");return dict}return(0,_primitives.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(dict,cipherTransform):dict:(this.shift(),dict);default:return buf1}if(Number.isInteger(buf1)){var num=buf1;if(Number.isInteger(this.buf1)&&(0,_primitives.isCmd)(this.buf2,"R")){var ref=new _primitives.Ref(num,this.buf1);return this.shift(),this.shift(),ref}return num}if((0,_util.isString)(buf1)){var str=buf1;return cipherTransform&&(str=cipherTransform.decryptString(str)),str}return buf1},findDefaultInlineStreamEnd:function findDefaultInlineStreamEnd(stream){for(var startPos=stream.pos,state=0,ch=void 0,maybeEIPos=void 0;-1!==(ch=stream.getByte());)if(0===state)state=69===ch?1:0;else if(1===state)state=73===ch?2:0;else if((0,_util.assert)(2===state),32===ch||10===ch||13===ch){maybeEIPos=stream.pos;for(var followingBytes=stream.peekBytes(10),i=0,ii=followingBytes.length;i<ii;i++)if((0!==(ch=followingBytes[i])||0===followingBytes[i+1])&&10!==ch&&13!==ch&&(ch<32||ch>127)){state=0;break}if(2===state)break}else state=0;return-1===ch&&((0,_util.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),maybeEIPos&&((0,_util.warn)('... trying to recover by using the last "EI" occurrence.'),stream.skip(-(stream.pos-maybeEIPos)))),stream.pos-4-startPos},findDCTDecodeInlineStreamEnd:function Parser_findDCTDecodeInlineStreamEnd(stream){for(var b,markerLength,length,startPos=stream.pos,foundEOI=!1;-1!==(b=stream.getByte());)if(255===b){switch(stream.getByte()){case 0:break;case 255:stream.skip(-1);break;case 217:foundEOI=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:(markerLength=stream.getUint16())>2?stream.skip(markerLength-2):stream.skip(-2)}if(foundEOI)break}return length=stream.pos-startPos,-1===b?((0,_util.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),stream.skip(-length),this.findDefaultInlineStreamEnd(stream)):(this.inlineStreamSkipEI(stream),length)},findASCII85DecodeInlineStreamEnd:function Parser_findASCII85DecodeInlineStreamEnd(stream){for(var ch,length,startPos=stream.pos;-1!==(ch=stream.getByte());)if(126===ch&&62===stream.peekByte()){stream.skip();break}return length=stream.pos-startPos,-1===ch?((0,_util.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),stream.skip(-length),this.findDefaultInlineStreamEnd(stream)):(this.inlineStreamSkipEI(stream),length)},findASCIIHexDecodeInlineStreamEnd:function Parser_findASCIIHexDecodeInlineStreamEnd(stream){for(var ch,length,startPos=stream.pos;-1!==(ch=stream.getByte())&&62!==ch;);return length=stream.pos-startPos,-1===ch?((0,_util.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),stream.skip(-length),this.findDefaultInlineStreamEnd(stream)):(this.inlineStreamSkipEI(stream),length)},inlineStreamSkipEI:function Parser_inlineStreamSkipEI(stream){for(var ch,state=0;-1!==(ch=stream.getByte());)if(0===state)state=69===ch?1:0;else if(1===state)state=73===ch?2:0;else if(2===state)break},makeInlineImage:function Parser_makeInlineImage(cipherTransform){for(var stream=this.lexer.stream,dict=new _primitives.Dict(this.xref);!(0,_primitives.isCmd)(this.buf1,"ID")&&!(0,_primitives.isEOF)(this.buf1);){if(!(0,_primitives.isName)(this.buf1))throw new _util.FormatError("Dictionary key must be a name object");var key=this.buf1.name;if(this.shift(),(0,_primitives.isEOF)(this.buf1))break;dict.set(key,this.getObj(cipherTransform))}var filterName,filter=dict.get("Filter","F");if((0,_primitives.isName)(filter))filterName=filter.name;else if(Array.isArray(filter)){var filterZero=this.xref.fetchIfRef(filter[0]);(0,_primitives.isName)(filterZero)&&(filterName=filterZero.name)}var length,i,ii,startPos=stream.pos;length="DCTDecode"===filterName||"DCT"===filterName?this.findDCTDecodeInlineStreamEnd(stream):"ASCII85Decode"===filterName||"A85"===filterName?this.findASCII85DecodeInlineStreamEnd(stream):"ASCIIHexDecode"===filterName||"AHx"===filterName?this.findASCIIHexDecodeInlineStreamEnd(stream):this.findDefaultInlineStreamEnd(stream);var adler32,imageStream=stream.makeSubStream(startPos,length,dict);if(length<1e3){var imageBytes=imageStream.getBytes();imageStream.reset();var a=1,b=0;for(i=0,ii=imageBytes.length;i<ii;++i)b+=a+=255&imageBytes[i];adler32=b%65521<<16|a%65521;var cacheEntry=this.imageCache[adler32];if(void 0!==cacheEntry)return this.buf2=_primitives.Cmd.get("EI"),this.shift(),cacheEntry.reset(),cacheEntry}return cipherTransform&&(imageStream=cipherTransform.createStream(imageStream,length)),(imageStream=this.filter(imageStream,dict,length)).dict=dict,void 0!==adler32&&(imageStream.cacheKey="inline_"+length+"_"+adler32,this.imageCache[adler32]=imageStream),this.buf2=_primitives.Cmd.get("EI"),this.shift(),imageStream},makeStream:function Parser_makeStream(dict,cipherTransform){var lexer=this.lexer,stream=lexer.stream;lexer.skipToNextLine();var pos=stream.pos-1,length=dict.get("Length");if(Number.isInteger(length)||((0,_util.info)("Bad "+length+" attribute in stream"),length=0),stream.pos=pos+length,lexer.nextChar(),this.tryShift()&&(0,_primitives.isCmd)(this.buf2,"endstream"))this.shift();else{stream.pos=pos;for(var i,j,ENDSTREAM_SIGNATURE=[101,110,100,115,116,114,101,97,109],skipped=0,found=!1;stream.pos<stream.end;){var scanBytes=stream.peekBytes(2048),scanLength=scanBytes.length-9;if(scanLength<=0)break;for(found=!1,i=0;i<scanLength;){for(j=0;j<9&&scanBytes[i+j]===ENDSTREAM_SIGNATURE[j];)j++;if(j>=9){found=!0;break}i++}if(found){skipped+=i,stream.pos+=i;break}skipped+=scanLength,stream.pos+=scanLength}if(!found)throw new _util.FormatError("Missing endstream");length=skipped,lexer.nextChar(),this.shift(),this.shift()}return this.shift(),stream=stream.makeSubStream(pos,length,dict),cipherTransform&&(stream=cipherTransform.createStream(stream,length)),(stream=this.filter(stream,dict,length)).dict=dict,stream},filter:function Parser_filter(stream,dict,length){var filter=dict.get("Filter","F"),params=dict.get("DecodeParms","DP");if((0,_primitives.isName)(filter))return Array.isArray(params)&&(0,_util.warn)("/DecodeParms should not contain an Array, when /Filter contains a Name."),this.makeFilter(stream,filter.name,length,params);var maybeLength=length;if(Array.isArray(filter))for(var filterArray=filter,paramsArray=params,i=0,ii=filterArray.length;i<ii;++i){if(filter=this.xref.fetchIfRef(filterArray[i]),!(0,_primitives.isName)(filter))throw new _util.FormatError("Bad filter name: "+filter);params=null,Array.isArray(paramsArray)&&i in paramsArray&&(params=this.xref.fetchIfRef(paramsArray[i])),stream=this.makeFilter(stream,filter.name,maybeLength,params),maybeLength=null}return stream},makeFilter:function Parser_makeFilter(stream,name,maybeLength,params){if(0===maybeLength)return(0,_util.warn)('Empty "'+name+'" stream.'),new _stream.NullStream(stream);try{var xrefStreamStats=this.xref.stats.streamTypes;if("FlateDecode"===name||"Fl"===name)return xrefStreamStats[_util.StreamType.FLATE]=!0,params?new _stream.PredictorStream(new _stream.FlateStream(stream,maybeLength),maybeLength,params):new _stream.FlateStream(stream,maybeLength);if("LZWDecode"===name||"LZW"===name){xrefStreamStats[_util.StreamType.LZW]=!0;var earlyChange=1;return params?(params.has("EarlyChange")&&(earlyChange=params.get("EarlyChange")),new _stream.PredictorStream(new _stream.LZWStream(stream,maybeLength,earlyChange),maybeLength,params)):new _stream.LZWStream(stream,maybeLength,earlyChange)}return"DCTDecode"===name||"DCT"===name?(xrefStreamStats[_util.StreamType.DCT]=!0,new _stream.JpegStream(stream,maybeLength,stream.dict,params)):"JPXDecode"===name||"JPX"===name?(xrefStreamStats[_util.StreamType.JPX]=!0,new _stream.JpxStream(stream,maybeLength,stream.dict,params)):"ASCII85Decode"===name||"A85"===name?(xrefStreamStats[_util.StreamType.A85]=!0,new _stream.Ascii85Stream(stream,maybeLength)):"ASCIIHexDecode"===name||"AHx"===name?(xrefStreamStats[_util.StreamType.AHX]=!0,new _stream.AsciiHexStream(stream,maybeLength)):"CCITTFaxDecode"===name||"CCF"===name?(xrefStreamStats[_util.StreamType.CCF]=!0,new _ccitt_stream.CCITTFaxStream(stream,maybeLength,params)):"RunLengthDecode"===name||"RL"===name?(xrefStreamStats[_util.StreamType.RL]=!0,new _stream.RunLengthStream(stream,maybeLength)):"JBIG2Decode"===name?(xrefStreamStats[_util.StreamType.JBIG]=!0,new _jbig2_stream.Jbig2Stream(stream,maybeLength,stream.dict,params)):((0,_util.warn)('filter "'+name+'" not supported yet'),stream)}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;return(0,_util.warn)('Invalid stream: "'+ex+'"'),new _stream.NullStream(stream)}}},Parser}(),Lexer=function LexerClosure(){function Lexer(stream,knownCommands){this.stream=stream,this.nextChar(),this.strBuf=[],this.knownCommands=knownCommands}var specialChars=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function toHexDigit(ch){return ch>=48&&ch<=57?15&ch:ch>=65&&ch<=70||ch>=97&&ch<=102?9+(15&ch):-1}return Lexer.prototype={nextChar:function Lexer_nextChar(){return this.currentChar=this.stream.getByte()},peekChar:function Lexer_peekChar(){return this.stream.peekByte()},getNumber:function Lexer_getNumber(){var ch=this.currentChar,eNotation=!1,divideBy=0,sign=1;if(45===ch?(sign=-1,45===(ch=this.nextChar())&&(ch=this.nextChar())):43===ch&&(ch=this.nextChar()),46===ch&&(divideBy=10,ch=this.nextChar()),10===ch||13===ch)do{ch=this.nextChar()}while(10===ch||13===ch);if(ch<48||ch>57)throw new _util.FormatError("Invalid number: "+String.fromCharCode(ch)+" (charCode "+ch+")");for(var baseValue=ch-48,powerValue=0,powerValueSign=1;(ch=this.nextChar())>=0;)if(48<=ch&&ch<=57){var currentDigit=ch-48;eNotation?powerValue=10*powerValue+currentDigit:(0!==divideBy&&(divideBy*=10),baseValue=10*baseValue+currentDigit)}else if(46===ch){if(0!==divideBy)break;divideBy=1}else if(45===ch)(0,_util.warn)("Badly formatted number");else{if(69!==ch&&101!==ch)break;if(43===(ch=this.peekChar())||45===ch)powerValueSign=45===ch?-1:1,this.nextChar();else if(ch<48||ch>57)break;eNotation=!0}return 0!==divideBy&&(baseValue/=divideBy),eNotation&&(baseValue*=Math.pow(10,powerValueSign*powerValue)),sign*baseValue},getString:function Lexer_getString(){var numParen=1,done=!1,strBuf=this.strBuf;strBuf.length=0;for(var ch=this.nextChar();;){var charBuffered=!1;switch(0|ch){case-1:(0,_util.warn)("Unterminated string"),done=!0;break;case 40:++numParen,strBuf.push("(");break;case 41:0==--numParen?(this.nextChar(),done=!0):strBuf.push(")");break;case 92:switch(ch=this.nextChar()){case-1:(0,_util.warn)("Unterminated string"),done=!0;break;case 110:strBuf.push("\n");break;case 114:strBuf.push("\r");break;case 116:strBuf.push("\t");break;case 98:strBuf.push("\b");break;case 102:strBuf.push("\f");break;case 92:case 40:case 41:strBuf.push(String.fromCharCode(ch));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var x=15&ch;charBuffered=!0,(ch=this.nextChar())>=48&&ch<=55&&(x=(x<<3)+(15&ch),(ch=this.nextChar())>=48&&ch<=55&&(charBuffered=!1,x=(x<<3)+(15&ch))),strBuf.push(String.fromCharCode(x));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:strBuf.push(String.fromCharCode(ch))}break;default:strBuf.push(String.fromCharCode(ch))}if(done)break;charBuffered||(ch=this.nextChar())}return strBuf.join("")},getName:function Lexer_getName(){var ch,previousCh,strBuf=this.strBuf;for(strBuf.length=0;(ch=this.nextChar())>=0&&!specialChars[ch];)if(35===ch){if(ch=this.nextChar(),specialChars[ch]){(0,_util.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),strBuf.push("#");break}var x=toHexDigit(ch);if(-1!==x){previousCh=ch;var x2=toHexDigit(ch=this.nextChar());if(-1===x2){if((0,_util.warn)("Lexer_getName: Illegal digit ("+String.fromCharCode(ch)+") in hexadecimal number."),strBuf.push("#",String.fromCharCode(previousCh)),specialChars[ch])break;strBuf.push(String.fromCharCode(ch));continue}strBuf.push(String.fromCharCode(x<<4|x2))}else strBuf.push("#",String.fromCharCode(ch))}else strBuf.push(String.fromCharCode(ch));return strBuf.length>127&&(0,_util.warn)("name token is longer than allowed by the spec: "+strBuf.length),_primitives.Name.get(strBuf.join(""))},getHexString:function Lexer_getHexString(){var strBuf=this.strBuf;strBuf.length=0;for(var firstDigit,secondDigit,ch=this.currentChar,isFirstHex=!0;;){if(ch<0){(0,_util.warn)("Unterminated hex string");break}if(62===ch){this.nextChar();break}if(1!==specialChars[ch]){if(isFirstHex){if(-1===(firstDigit=toHexDigit(ch))){(0,_util.warn)('Ignoring invalid character "'+ch+'" in hex string'),ch=this.nextChar();continue}}else{if(-1===(secondDigit=toHexDigit(ch))){(0,_util.warn)('Ignoring invalid character "'+ch+'" in hex string'),ch=this.nextChar();continue}strBuf.push(String.fromCharCode(firstDigit<<4|secondDigit))}isFirstHex=!isFirstHex,ch=this.nextChar()}else ch=this.nextChar()}return strBuf.join("")},getObj:function Lexer_getObj(){for(var comment=!1,ch=this.currentChar;;){if(ch<0)return _primitives.EOF;if(comment)10!==ch&&13!==ch||(comment=!1);else if(37===ch)comment=!0;else if(1!==specialChars[ch])break;ch=this.nextChar()}switch(0|ch){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),_primitives.Cmd.get("[");case 93:return this.nextChar(),_primitives.Cmd.get("]");case 60:return 60===(ch=this.nextChar())?(this.nextChar(),_primitives.Cmd.get("<<")):this.getHexString();case 62:return 62===(ch=this.nextChar())?(this.nextChar(),_primitives.Cmd.get(">>")):_primitives.Cmd.get(">");case 123:return this.nextChar(),_primitives.Cmd.get("{");case 125:return this.nextChar(),_primitives.Cmd.get("}");case 41:throw this.nextChar(),new _util.FormatError("Illegal character: "+ch)}for(var str=String.fromCharCode(ch),knownCommands=this.knownCommands,knownCommandFound=knownCommands&&void 0!==knownCommands[str];(ch=this.nextChar())>=0&&!specialChars[ch];){var possibleCommand=str+String.fromCharCode(ch);if(knownCommandFound&&void 0===knownCommands[possibleCommand])break;if(128===str.length)throw new _util.FormatError("Command token too long: "+str.length);str=possibleCommand,knownCommandFound=knownCommands&&void 0!==knownCommands[str]}return"true"===str||"false"!==str&&("null"===str?null:_primitives.Cmd.get(str))},skipToNextLine:function Lexer_skipToNextLine(){for(var ch=this.currentChar;ch>=0;){if(13===ch){10===(ch=this.nextChar())&&this.nextChar();break}if(10===ch){this.nextChar();break}ch=this.nextChar()}}},Lexer}(),Linearization={create:function LinearizationCreate(stream){function getInt(name,allowZeroValue){var obj=linDict.get(name);if(Number.isInteger(obj)&&(allowZeroValue?obj>=0:obj>0))return obj;throw new Error('The "'+name+'" parameter in the linearization dictionary is invalid.')}var obj,length,parser=new Parser(new Lexer(stream),!1,null),obj1=parser.getObj(),obj2=parser.getObj(),obj3=parser.getObj(),linDict=parser.getObj();if(!(Number.isInteger(obj1)&&Number.isInteger(obj2)&&(0,_primitives.isCmd)(obj3,"obj")&&(0,_primitives.isDict)(linDict)&&(0,_util.isNum)(obj=linDict.get("Linearized"))&&obj>0))return null;if((length=getInt("L"))!==stream.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:length,hints:function getHints(){var hintsLength,item,hints=linDict.get("H");if(Array.isArray(hints)&&(2===(hintsLength=hints.length)||4===hintsLength)){for(var index=0;index<hintsLength;index++)if(!(Number.isInteger(item=hints[index])&&item>0))throw new Error("Hint ("+index+") in the linearization dictionary is invalid.");return hints}throw new Error("Hint array in the linearization dictionary is invalid.")}(),objectNumberFirst:getInt("O"),endFirst:getInt("E"),numPages:getInt("N"),mainXRefEntriesOffset:getInt("T"),pageFirst:linDict.has("P")?getInt("P",!0):0}}};exports.Lexer=Lexer,exports.Linearization=Linearization,exports.Parser=Parser},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3),document=__w_pdfjs_require__(1).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it){if(null==it)throw TypeError("Can't call method on  "+it);return it}},function(module,exports,__w_pdfjs_require__){"use strict";var shared=__w_pdfjs_require__(54)("keys"),uid=__w_pdfjs_require__(17);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__w_pdfjs_require__){"use strict";var $keys=__w_pdfjs_require__(52),enumBugKeys=__w_pdfjs_require__(40);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__w_pdfjs_require__){"use strict";var ctx=__w_pdfjs_require__(13),IObject=__w_pdfjs_require__(37),toObject=__w_pdfjs_require__(19),toLength=__w_pdfjs_require__(14),asc=__w_pdfjs_require__(91);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(res=f(val=self[index],index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(9),aFunction=__w_pdfjs_require__(22),SPECIES=__w_pdfjs_require__(4)("species");module.exports=function(O,D){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__w_pdfjs_require__){"use strict";var ITERATOR=__w_pdfjs_require__(4)("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,(function(){throw 2}))}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},function(module,exports,__w_pdfjs_require__){"use strict";var aFunction=__w_pdfjs_require__(22);function PromiseCapability(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},META=__w_pdfjs_require__(17)("meta"),isObject=__w_pdfjs_require__(3),has=__w_pdfjs_require__(12),setDesc=__w_pdfjs_require__(15).f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__w_pdfjs_require__(11)((function(){return isExtensible(Object.preventExtensions({}))})),setMeta=function setMeta(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function fastKey(it,create){if(!isObject(it))return"symbol"==(void 0===it?"undefined":_typeof(it))?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function getWeak(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function onFreeze(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},function(module,exports,__w_pdfjs_require__){var getLookupTableFactory=__w_pdfjs_require__(0).getLookupTableFactory,getGlyphsUnicode=getLookupTableFactory((function(t){t.A=65,t.AE=198,t.AEacute=508,t.AEmacron=482,t.AEsmall=63462,t.Aacute=193,t.Aacutesmall=63457,t.Abreve=258,t.Abreveacute=7854,t.Abrevecyrillic=1232,t.Abrevedotbelow=7862,t.Abrevegrave=7856,t.Abrevehookabove=7858,t.Abrevetilde=7860,t.Acaron=461,t.Acircle=9398,t.Acircumflex=194,t.Acircumflexacute=7844,t.Acircumflexdotbelow=7852,t.Acircumflexgrave=7846,t.Acircumflexhookabove=7848,t.Acircumflexsmall=63458,t.Acircumflextilde=7850,t.Acute=63177,t.Acutesmall=63412,t.Acyrillic=1040,t.Adblgrave=512,t.Adieresis=196,t.Adieresiscyrillic=1234,t.Adieresismacron=478,t.Adieresissmall=63460,t.Adotbelow=7840,t.Adotmacron=480,t.Agrave=192,t.Agravesmall=63456,t.Ahookabove=7842,t.Aiecyrillic=1236,t.Ainvertedbreve=514,t.Alpha=913,t.Alphatonos=902,t.Amacron=256,t.Amonospace=65313,t.Aogonek=260,t.Aring=197,t.Aringacute=506,t.Aringbelow=7680,t.Aringsmall=63461,t.Asmall=63329,t.Atilde=195,t.Atildesmall=63459,t.Aybarmenian=1329,t.B=66,t.Bcircle=9399,t.Bdotaccent=7682,t.Bdotbelow=7684,t.Becyrillic=1041,t.Benarmenian=1330,t.Beta=914,t.Bhook=385,t.Blinebelow=7686,t.Bmonospace=65314,t.Brevesmall=63220,t.Bsmall=63330,t.Btopbar=386,t.C=67,t.Caarmenian=1342,t.Cacute=262,t.Caron=63178,t.Caronsmall=63221,t.Ccaron=268,t.Ccedilla=199,t.Ccedillaacute=7688,t.Ccedillasmall=63463,t.Ccircle=9400,t.Ccircumflex=264,t.Cdot=266,t.Cdotaccent=266,t.Cedillasmall=63416,t.Chaarmenian=1353,t.Cheabkhasiancyrillic=1212,t.Checyrillic=1063,t.Chedescenderabkhasiancyrillic=1214,t.Chedescendercyrillic=1206,t.Chedieresiscyrillic=1268,t.Cheharmenian=1347,t.Chekhakassiancyrillic=1227,t.Cheverticalstrokecyrillic=1208,t.Chi=935,t.Chook=391,t.Circumflexsmall=63222,t.Cmonospace=65315,t.Coarmenian=1361,t.Csmall=63331,t.D=68,t.DZ=497,t.DZcaron=452,t.Daarmenian=1332,t.Dafrican=393,t.Dcaron=270,t.Dcedilla=7696,t.Dcircle=9401,t.Dcircumflexbelow=7698,t.Dcroat=272,t.Ddotaccent=7690,t.Ddotbelow=7692,t.Decyrillic=1044,t.Deicoptic=1006,t.Delta=8710,t.Deltagreek=916,t.Dhook=394,t.Dieresis=63179,t.DieresisAcute=63180,t.DieresisGrave=63181,t.Dieresissmall=63400,t.Digammagreek=988,t.Djecyrillic=1026,t.Dlinebelow=7694,t.Dmonospace=65316,t.Dotaccentsmall=63223,t.Dslash=272,t.Dsmall=63332,t.Dtopbar=395,t.Dz=498,t.Dzcaron=453,t.Dzeabkhasiancyrillic=1248,t.Dzecyrillic=1029,t.Dzhecyrillic=1039,t.E=69,t.Eacute=201,t.Eacutesmall=63465,t.Ebreve=276,t.Ecaron=282,t.Ecedillabreve=7708,t.Echarmenian=1333,t.Ecircle=9402,t.Ecircumflex=202,t.Ecircumflexacute=7870,t.Ecircumflexbelow=7704,t.Ecircumflexdotbelow=7878,t.Ecircumflexgrave=7872,t.Ecircumflexhookabove=7874,t.Ecircumflexsmall=63466,t.Ecircumflextilde=7876,t.Ecyrillic=1028,t.Edblgrave=516,t.Edieresis=203,t.Edieresissmall=63467,t.Edot=278,t.Edotaccent=278,t.Edotbelow=7864,t.Efcyrillic=1060,t.Egrave=200,t.Egravesmall=63464,t.Eharmenian=1335,t.Ehookabove=7866,t.Eightroman=8551,t.Einvertedbreve=518,t.Eiotifiedcyrillic=1124,t.Elcyrillic=1051,t.Elevenroman=8554,t.Emacron=274,t.Emacronacute=7702,t.Emacrongrave=7700,t.Emcyrillic=1052,t.Emonospace=65317,t.Encyrillic=1053,t.Endescendercyrillic=1186,t.Eng=330,t.Enghecyrillic=1188,t.Enhookcyrillic=1223,t.Eogonek=280,t.Eopen=400,t.Epsilon=917,t.Epsilontonos=904,t.Ercyrillic=1056,t.Ereversed=398,t.Ereversedcyrillic=1069,t.Escyrillic=1057,t.Esdescendercyrillic=1194,t.Esh=425,t.Esmall=63333,t.Eta=919,t.Etarmenian=1336,t.Etatonos=905,t.Eth=208,t.Ethsmall=63472,t.Etilde=7868,t.Etildebelow=7706,t.Euro=8364,t.Ezh=439,t.Ezhcaron=494,t.Ezhreversed=440,t.F=70,t.Fcircle=9403,t.Fdotaccent=7710,t.Feharmenian=1366,t.Feicoptic=996,t.Fhook=401,t.Fitacyrillic=1138,t.Fiveroman=8548,t.Fmonospace=65318,t.Fourroman=8547,t.Fsmall=63334,t.G=71,t.GBsquare=13191,t.Gacute=500,t.Gamma=915,t.Gammaafrican=404,t.Gangiacoptic=1002,t.Gbreve=286,t.Gcaron=486,t.Gcedilla=290,t.Gcircle=9404,t.Gcircumflex=284,t.Gcommaaccent=290,t.Gdot=288,t.Gdotaccent=288,t.Gecyrillic=1043,t.Ghadarmenian=1346,t.Ghemiddlehookcyrillic=1172,t.Ghestrokecyrillic=1170,t.Gheupturncyrillic=1168,t.Ghook=403,t.Gimarmenian=1331,t.Gjecyrillic=1027,t.Gmacron=7712,t.Gmonospace=65319,t.Grave=63182,t.Gravesmall=63328,t.Gsmall=63335,t.Gsmallhook=667,t.Gstroke=484,t.H=72,t.H18533=9679,t.H18543=9642,t.H18551=9643,t.H22073=9633,t.HPsquare=13259,t.Haabkhasiancyrillic=1192,t.Hadescendercyrillic=1202,t.Hardsigncyrillic=1066,t.Hbar=294,t.Hbrevebelow=7722,t.Hcedilla=7720,t.Hcircle=9405,t.Hcircumflex=292,t.Hdieresis=7718,t.Hdotaccent=7714,t.Hdotbelow=7716,t.Hmonospace=65320,t.Hoarmenian=1344,t.Horicoptic=1e3,t.Hsmall=63336,t.Hungarumlaut=63183,t.Hungarumlautsmall=63224,t.Hzsquare=13200,t.I=73,t.IAcyrillic=1071,t.IJ=306,t.IUcyrillic=1070,t.Iacute=205,t.Iacutesmall=63469,t.Ibreve=300,t.Icaron=463,t.Icircle=9406,t.Icircumflex=206,t.Icircumflexsmall=63470,t.Icyrillic=1030,t.Idblgrave=520,t.Idieresis=207,t.Idieresisacute=7726,t.Idieresiscyrillic=1252,t.Idieresissmall=63471,t.Idot=304,t.Idotaccent=304,t.Idotbelow=7882,t.Iebrevecyrillic=1238,t.Iecyrillic=1045,t.Ifraktur=8465,t.Igrave=204,t.Igravesmall=63468,t.Ihookabove=7880,t.Iicyrillic=1048,t.Iinvertedbreve=522,t.Iishortcyrillic=1049,t.Imacron=298,t.Imacroncyrillic=1250,t.Imonospace=65321,t.Iniarmenian=1339,t.Iocyrillic=1025,t.Iogonek=302,t.Iota=921,t.Iotaafrican=406,t.Iotadieresis=938,t.Iotatonos=906,t.Ismall=63337,t.Istroke=407,t.Itilde=296,t.Itildebelow=7724,t.Izhitsacyrillic=1140,t.Izhitsadblgravecyrillic=1142,t.J=74,t.Jaarmenian=1345,t.Jcircle=9407,t.Jcircumflex=308,t.Jecyrillic=1032,t.Jheharmenian=1355,t.Jmonospace=65322,t.Jsmall=63338,t.K=75,t.KBsquare=13189,t.KKsquare=13261,t.Kabashkircyrillic=1184,t.Kacute=7728,t.Kacyrillic=1050,t.Kadescendercyrillic=1178,t.Kahookcyrillic=1219,t.Kappa=922,t.Kastrokecyrillic=1182,t.Kaverticalstrokecyrillic=1180,t.Kcaron=488,t.Kcedilla=310,t.Kcircle=9408,t.Kcommaaccent=310,t.Kdotbelow=7730,t.Keharmenian=1364,t.Kenarmenian=1343,t.Khacyrillic=1061,t.Kheicoptic=998,t.Khook=408,t.Kjecyrillic=1036,t.Klinebelow=7732,t.Kmonospace=65323,t.Koppacyrillic=1152,t.Koppagreek=990,t.Ksicyrillic=1134,t.Ksmall=63339,t.L=76,t.LJ=455,t.LL=63167,t.Lacute=313,t.Lambda=923,t.Lcaron=317,t.Lcedilla=315,t.Lcircle=9409,t.Lcircumflexbelow=7740,t.Lcommaaccent=315,t.Ldot=319,t.Ldotaccent=319,t.Ldotbelow=7734,t.Ldotbelowmacron=7736,t.Liwnarmenian=1340,t.Lj=456,t.Ljecyrillic=1033,t.Llinebelow=7738,t.Lmonospace=65324,t.Lslash=321,t.Lslashsmall=63225,t.Lsmall=63340,t.M=77,t.MBsquare=13190,t.Macron=63184,t.Macronsmall=63407,t.Macute=7742,t.Mcircle=9410,t.Mdotaccent=7744,t.Mdotbelow=7746,t.Menarmenian=1348,t.Mmonospace=65325,t.Msmall=63341,t.Mturned=412,t.Mu=924,t.N=78,t.NJ=458,t.Nacute=323,t.Ncaron=327,t.Ncedilla=325,t.Ncircle=9411,t.Ncircumflexbelow=7754,t.Ncommaaccent=325,t.Ndotaccent=7748,t.Ndotbelow=7750,t.Nhookleft=413,t.Nineroman=8552,t.Nj=459,t.Njecyrillic=1034,t.Nlinebelow=7752,t.Nmonospace=65326,t.Nowarmenian=1350,t.Nsmall=63342,t.Ntilde=209,t.Ntildesmall=63473,t.Nu=925,t.O=79,t.OE=338,t.OEsmall=63226,t.Oacute=211,t.Oacutesmall=63475,t.Obarredcyrillic=1256,t.Obarreddieresiscyrillic=1258,t.Obreve=334,t.Ocaron=465,t.Ocenteredtilde=415,t.Ocircle=9412,t.Ocircumflex=212,t.Ocircumflexacute=7888,t.Ocircumflexdotbelow=7896,t.Ocircumflexgrave=7890,t.Ocircumflexhookabove=7892,t.Ocircumflexsmall=63476,t.Ocircumflextilde=7894,t.Ocyrillic=1054,t.Odblacute=336,t.Odblgrave=524,t.Odieresis=214,t.Odieresiscyrillic=1254,t.Odieresissmall=63478,t.Odotbelow=7884,t.Ogoneksmall=63227,t.Ograve=210,t.Ogravesmall=63474,t.Oharmenian=1365,t.Ohm=8486,t.Ohookabove=7886,t.Ohorn=416,t.Ohornacute=7898,t.Ohorndotbelow=7906,t.Ohorngrave=7900,t.Ohornhookabove=7902,t.Ohorntilde=7904,t.Ohungarumlaut=336,t.Oi=418,t.Oinvertedbreve=526,t.Omacron=332,t.Omacronacute=7762,t.Omacrongrave=7760,t.Omega=8486,t.Omegacyrillic=1120,t.Omegagreek=937,t.Omegaroundcyrillic=1146,t.Omegatitlocyrillic=1148,t.Omegatonos=911,t.Omicron=927,t.Omicrontonos=908,t.Omonospace=65327,t.Oneroman=8544,t.Oogonek=490,t.Oogonekmacron=492,t.Oopen=390,t.Oslash=216,t.Oslashacute=510,t.Oslashsmall=63480,t.Osmall=63343,t.Ostrokeacute=510,t.Otcyrillic=1150,t.Otilde=213,t.Otildeacute=7756,t.Otildedieresis=7758,t.Otildesmall=63477,t.P=80,t.Pacute=7764,t.Pcircle=9413,t.Pdotaccent=7766,t.Pecyrillic=1055,t.Peharmenian=1354,t.Pemiddlehookcyrillic=1190,t.Phi=934,t.Phook=420,t.Pi=928,t.Piwrarmenian=1363,t.Pmonospace=65328,t.Psi=936,t.Psicyrillic=1136,t.Psmall=63344,t.Q=81,t.Qcircle=9414,t.Qmonospace=65329,t.Qsmall=63345,t.R=82,t.Raarmenian=1356,t.Racute=340,t.Rcaron=344,t.Rcedilla=342,t.Rcircle=9415,t.Rcommaaccent=342,t.Rdblgrave=528,t.Rdotaccent=7768,t.Rdotbelow=7770,t.Rdotbelowmacron=7772,t.Reharmenian=1360,t.Rfraktur=8476,t.Rho=929,t.Ringsmall=63228,t.Rinvertedbreve=530,t.Rlinebelow=7774,t.Rmonospace=65330,t.Rsmall=63346,t.Rsmallinverted=641,t.Rsmallinvertedsuperior=694,t.S=83,t.SF010000=9484,t.SF020000=9492,t.SF030000=9488,t.SF040000=9496,t.SF050000=9532,t.SF060000=9516,t.SF070000=9524,t.SF080000=9500,t.SF090000=9508,t.SF100000=9472,t.SF110000=9474,t.SF190000=9569,t.SF200000=9570,t.SF210000=9558,t.SF220000=9557,t.SF230000=9571,t.SF240000=9553,t.SF250000=9559,t.SF260000=9565,t.SF270000=9564,t.SF280000=9563,t.SF360000=9566,t.SF370000=9567,t.SF380000=9562,t.SF390000=9556,t.SF400000=9577,t.SF410000=9574,t.SF420000=9568,t.SF430000=9552,t.SF440000=9580,t.SF450000=9575,t.SF460000=9576,t.SF470000=9572,t.SF480000=9573,t.SF490000=9561,t.SF500000=9560,t.SF510000=9554,t.SF520000=9555,t.SF530000=9579,t.SF540000=9578,t.Sacute=346,t.Sacutedotaccent=7780,t.Sampigreek=992,t.Scaron=352,t.Scarondotaccent=7782,t.Scaronsmall=63229,t.Scedilla=350,t.Schwa=399,t.Schwacyrillic=1240,t.Schwadieresiscyrillic=1242,t.Scircle=9416,t.Scircumflex=348,t.Scommaaccent=536,t.Sdotaccent=7776,t.Sdotbelow=7778,t.Sdotbelowdotaccent=7784,t.Seharmenian=1357,t.Sevenroman=8550,t.Shaarmenian=1351,t.Shacyrillic=1064,t.Shchacyrillic=1065,t.Sheicoptic=994,t.Shhacyrillic=1210,t.Shimacoptic=1004,t.Sigma=931,t.Sixroman=8549,t.Smonospace=65331,t.Softsigncyrillic=1068,t.Ssmall=63347,t.Stigmagreek=986,t.T=84,t.Tau=932,t.Tbar=358,t.Tcaron=356,t.Tcedilla=354,t.Tcircle=9417,t.Tcircumflexbelow=7792,t.Tcommaaccent=354,t.Tdotaccent=7786,t.Tdotbelow=7788,t.Tecyrillic=1058,t.Tedescendercyrillic=1196,t.Tenroman=8553,t.Tetsecyrillic=1204,t.Theta=920,t.Thook=428,t.Thorn=222,t.Thornsmall=63486,t.Threeroman=8546,t.Tildesmall=63230,t.Tiwnarmenian=1359,t.Tlinebelow=7790,t.Tmonospace=65332,t.Toarmenian=1337,t.Tonefive=444,t.Tonesix=388,t.Tonetwo=423,t.Tretroflexhook=430,t.Tsecyrillic=1062,t.Tshecyrillic=1035,t.Tsmall=63348,t.Twelveroman=8555,t.Tworoman=8545,t.U=85,t.Uacute=218,t.Uacutesmall=63482,t.Ubreve=364,t.Ucaron=467,t.Ucircle=9418,t.Ucircumflex=219,t.Ucircumflexbelow=7798,t.Ucircumflexsmall=63483,t.Ucyrillic=1059,t.Udblacute=368,t.Udblgrave=532,t.Udieresis=220,t.Udieresisacute=471,t.Udieresisbelow=7794,t.Udieresiscaron=473,t.Udieresiscyrillic=1264,t.Udieresisgrave=475,t.Udieresismacron=469,t.Udieresissmall=63484,t.Udotbelow=7908,t.Ugrave=217,t.Ugravesmall=63481,t.Uhookabove=7910,t.Uhorn=431,t.Uhornacute=7912,t.Uhorndotbelow=7920,t.Uhorngrave=7914,t.Uhornhookabove=7916,t.Uhorntilde=7918,t.Uhungarumlaut=368,t.Uhungarumlautcyrillic=1266,t.Uinvertedbreve=534,t.Ukcyrillic=1144,t.Umacron=362,t.Umacroncyrillic=1262,t.Umacrondieresis=7802,t.Umonospace=65333,t.Uogonek=370,t.Upsilon=933,t.Upsilon1=978,t.Upsilonacutehooksymbolgreek=979,t.Upsilonafrican=433,t.Upsilondieresis=939,t.Upsilondieresishooksymbolgreek=980,t.Upsilonhooksymbol=978,t.Upsilontonos=910,t.Uring=366,t.Ushortcyrillic=1038,t.Usmall=63349,t.Ustraightcyrillic=1198,t.Ustraightstrokecyrillic=1200,t.Utilde=360,t.Utildeacute=7800,t.Utildebelow=7796,t.V=86,t.Vcircle=9419,t.Vdotbelow=7806,t.Vecyrillic=1042,t.Vewarmenian=1358,t.Vhook=434,t.Vmonospace=65334,t.Voarmenian=1352,t.Vsmall=63350,t.Vtilde=7804,t.W=87,t.Wacute=7810,t.Wcircle=9420,t.Wcircumflex=372,t.Wdieresis=7812,t.Wdotaccent=7814,t.Wdotbelow=7816,t.Wgrave=7808,t.Wmonospace=65335,t.Wsmall=63351,t.X=88,t.Xcircle=9421,t.Xdieresis=7820,t.Xdotaccent=7818,t.Xeharmenian=1341,t.Xi=926,t.Xmonospace=65336,t.Xsmall=63352,t.Y=89,t.Yacute=221,t.Yacutesmall=63485,t.Yatcyrillic=1122,t.Ycircle=9422,t.Ycircumflex=374,t.Ydieresis=376,t.Ydieresissmall=63487,t.Ydotaccent=7822,t.Ydotbelow=7924,t.Yericyrillic=1067,t.Yerudieresiscyrillic=1272,t.Ygrave=7922,t.Yhook=435,t.Yhookabove=7926,t.Yiarmenian=1349,t.Yicyrillic=1031,t.Yiwnarmenian=1362,t.Ymonospace=65337,t.Ysmall=63353,t.Ytilde=7928,t.Yusbigcyrillic=1130,t.Yusbigiotifiedcyrillic=1132,t.Yuslittlecyrillic=1126,t.Yuslittleiotifiedcyrillic=1128,t.Z=90,t.Zaarmenian=1334,t.Zacute=377,t.Zcaron=381,t.Zcaronsmall=63231,t.Zcircle=9423,t.Zcircumflex=7824,t.Zdot=379,t.Zdotaccent=379,t.Zdotbelow=7826,t.Zecyrillic=1047,t.Zedescendercyrillic=1176,t.Zedieresiscyrillic=1246,t.Zeta=918,t.Zhearmenian=1338,t.Zhebrevecyrillic=1217,t.Zhecyrillic=1046,t.Zhedescendercyrillic=1174,t.Zhedieresiscyrillic=1244,t.Zlinebelow=7828,t.Zmonospace=65338,t.Zsmall=63354,t.Zstroke=437,t.a=97,t.aabengali=2438,t.aacute=225,t.aadeva=2310,t.aagujarati=2694,t.aagurmukhi=2566,t.aamatragurmukhi=2622,t.aarusquare=13059,t.aavowelsignbengali=2494,t.aavowelsigndeva=2366,t.aavowelsigngujarati=2750,t.abbreviationmarkarmenian=1375,t.abbreviationsigndeva=2416,t.abengali=2437,t.abopomofo=12570,t.abreve=259,t.abreveacute=7855,t.abrevecyrillic=1233,t.abrevedotbelow=7863,t.abrevegrave=7857,t.abrevehookabove=7859,t.abrevetilde=7861,t.acaron=462,t.acircle=9424,t.acircumflex=226,t.acircumflexacute=7845,t.acircumflexdotbelow=7853,t.acircumflexgrave=7847,t.acircumflexhookabove=7849,t.acircumflextilde=7851,t.acute=180,t.acutebelowcmb=791,t.acutecmb=769,t.acutecomb=769,t.acutedeva=2388,t.acutelowmod=719,t.acutetonecmb=833,t.acyrillic=1072,t.adblgrave=513,t.addakgurmukhi=2673,t.adeva=2309,t.adieresis=228,t.adieresiscyrillic=1235,t.adieresismacron=479,t.adotbelow=7841,t.adotmacron=481,t.ae=230,t.aeacute=509,t.aekorean=12624,t.aemacron=483,t.afii00208=8213,t.afii08941=8356,t.afii10017=1040,t.afii10018=1041,t.afii10019=1042,t.afii10020=1043,t.afii10021=1044,t.afii10022=1045,t.afii10023=1025,t.afii10024=1046,t.afii10025=1047,t.afii10026=1048,t.afii10027=1049,t.afii10028=1050,t.afii10029=1051,t.afii10030=1052;t.afii10031=1053,t.afii10032=1054,t.afii10033=1055,t.afii10034=1056,t.afii10035=1057,t.afii10036=1058,t.afii10037=1059,t.afii10038=1060,t.afii10039=1061,t.afii10040=1062,t.afii10041=1063,t.afii10042=1064,t.afii10043=1065,t.afii10044=1066,t.afii10045=1067,t.afii10046=1068,t.afii10047=1069,t.afii10048=1070,t.afii10049=1071,t.afii10050=1168,t.afii10051=1026,t.afii10052=1027,t.afii10053=1028,t.afii10054=1029,t.afii10055=1030,t.afii10056=1031,t.afii10057=1032,t.afii10058=1033,t.afii10059=1034,t.afii10060=1035,t.afii10061=1036,t.afii10062=1038,t.afii10063=63172,t.afii10064=63173,t.afii10065=1072,t.afii10066=1073,t.afii10067=1074,t.afii10068=1075,t.afii10069=1076,t.afii10070=1077,t.afii10071=1105,t.afii10072=1078,t.afii10073=1079,t.afii10074=1080,t.afii10075=1081,t.afii10076=1082,t.afii10077=1083,t.afii10078=1084,t.afii10079=1085,t.afii10080=1086,t.afii10081=1087,t.afii10082=1088,t.afii10083=1089,t.afii10084=1090,t.afii10085=1091,t.afii10086=1092,t.afii10087=1093,t.afii10088=1094,t.afii10089=1095,t.afii10090=1096,t.afii10091=1097,t.afii10092=1098,t.afii10093=1099,t.afii10094=1100,t.afii10095=1101,t.afii10096=1102,t.afii10097=1103,t.afii10098=1169,t.afii10099=1106,t.afii10100=1107,t.afii10101=1108,t.afii10102=1109,t.afii10103=1110,t.afii10104=1111,t.afii10105=1112,t.afii10106=1113,t.afii10107=1114,t.afii10108=1115,t.afii10109=1116,t.afii10110=1118,t.afii10145=1039,t.afii10146=1122,t.afii10147=1138,t.afii10148=1140,t.afii10192=63174,t.afii10193=1119,t.afii10194=1123,t.afii10195=1139,t.afii10196=1141,t.afii10831=63175,t.afii10832=63176,t.afii10846=1241,t.afii299=8206,t.afii300=8207,t.afii301=8205,t.afii57381=1642,t.afii57388=1548,t.afii57392=1632,t.afii57393=1633,t.afii57394=1634,t.afii57395=1635,t.afii57396=1636,t.afii57397=1637,t.afii57398=1638,t.afii57399=1639,t.afii57400=1640,t.afii57401=1641,t.afii57403=1563,t.afii57407=1567,t.afii57409=1569,t.afii57410=1570,t.afii57411=1571,t.afii57412=1572,t.afii57413=1573,t.afii57414=1574,t.afii57415=1575,t.afii57416=1576,t.afii57417=1577,t.afii57418=1578,t.afii57419=1579,t.afii57420=1580,t.afii57421=1581,t.afii57422=1582,t.afii57423=1583,t.afii57424=1584,t.afii57425=1585,t.afii57426=1586,t.afii57427=1587,t.afii57428=1588,t.afii57429=1589,t.afii57430=1590,t.afii57431=1591,t.afii57432=1592,t.afii57433=1593,t.afii57434=1594,t.afii57440=1600,t.afii57441=1601,t.afii57442=1602,t.afii57443=1603,t.afii57444=1604,t.afii57445=1605,t.afii57446=1606,t.afii57448=1608,t.afii57449=1609,t.afii57450=1610,t.afii57451=1611,t.afii57452=1612,t.afii57453=1613,t.afii57454=1614,t.afii57455=1615,t.afii57456=1616,t.afii57457=1617,t.afii57458=1618,t.afii57470=1607,t.afii57505=1700,t.afii57506=1662,t.afii57507=1670,t.afii57508=1688,t.afii57509=1711,t.afii57511=1657,t.afii57512=1672,t.afii57513=1681,t.afii57514=1722,t.afii57519=1746,t.afii57534=1749,t.afii57636=8362,t.afii57645=1470,t.afii57658=1475,t.afii57664=1488,t.afii57665=1489,t.afii57666=1490,t.afii57667=1491,t.afii57668=1492,t.afii57669=1493,t.afii57670=1494,t.afii57671=1495,t.afii57672=1496,t.afii57673=1497,t.afii57674=1498,t.afii57675=1499,t.afii57676=1500,t.afii57677=1501,t.afii57678=1502,t.afii57679=1503,t.afii57680=1504,t.afii57681=1505,t.afii57682=1506,t.afii57683=1507,t.afii57684=1508,t.afii57685=1509,t.afii57686=1510,t.afii57687=1511,t.afii57688=1512,t.afii57689=1513,t.afii57690=1514,t.afii57694=64298,t.afii57695=64299,t.afii57700=64331,t.afii57705=64287,t.afii57716=1520,t.afii57717=1521,t.afii57718=1522,t.afii57723=64309,t.afii57793=1460,t.afii57794=1461,t.afii57795=1462,t.afii57796=1467,t.afii57797=1464,t.afii57798=1463,t.afii57799=1456,t.afii57800=1458,t.afii57801=1457,t.afii57802=1459,t.afii57803=1474,t.afii57804=1473,t.afii57806=1465,t.afii57807=1468,t.afii57839=1469,t.afii57841=1471,t.afii57842=1472,t.afii57929=700,t.afii61248=8453,t.afii61289=8467,t.afii61352=8470,t.afii61573=8236,t.afii61574=8237,t.afii61575=8238,t.afii61664=8204,t.afii63167=1645,t.afii64937=701,t.agrave=224,t.agujarati=2693,t.agurmukhi=2565,t.ahiragana=12354,t.ahookabove=7843,t.aibengali=2448,t.aibopomofo=12574,t.aideva=2320,t.aiecyrillic=1237,t.aigujarati=2704,t.aigurmukhi=2576,t.aimatragurmukhi=2632,t.ainarabic=1593,t.ainfinalarabic=65226,t.aininitialarabic=65227,t.ainmedialarabic=65228,t.ainvertedbreve=515,t.aivowelsignbengali=2504,t.aivowelsigndeva=2376,t.aivowelsigngujarati=2760,t.akatakana=12450,t.akatakanahalfwidth=65393,t.akorean=12623,t.alef=1488,t.alefarabic=1575,t.alefdageshhebrew=64304,t.aleffinalarabic=65166,t.alefhamzaabovearabic=1571,t.alefhamzaabovefinalarabic=65156,t.alefhamzabelowarabic=1573,t.alefhamzabelowfinalarabic=65160,t.alefhebrew=1488,t.aleflamedhebrew=64335,t.alefmaddaabovearabic=1570,t.alefmaddaabovefinalarabic=65154,t.alefmaksuraarabic=1609,t.alefmaksurafinalarabic=65264,t.alefmaksurainitialarabic=65267,t.alefmaksuramedialarabic=65268,t.alefpatahhebrew=64302,t.alefqamatshebrew=64303,t.aleph=8501,t.allequal=8780,t.alpha=945,t.alphatonos=940,t.amacron=257,t.amonospace=65345,t.ampersand=38,t.ampersandmonospace=65286,t.ampersandsmall=63270,t.amsquare=13250,t.anbopomofo=12578,t.angbopomofo=12580,t.angbracketleft=12296,t.angbracketright=12297,t.angkhankhuthai=3674,t.angle=8736,t.anglebracketleft=12296,t.anglebracketleftvertical=65087,t.anglebracketright=12297,t.anglebracketrightvertical=65088,t.angleleft=9001,t.angleright=9002,t.angstrom=8491,t.anoteleia=903,t.anudattadeva=2386,t.anusvarabengali=2434,t.anusvaradeva=2306,t.anusvaragujarati=2690,t.aogonek=261,t.apaatosquare=13056,t.aparen=9372,t.apostrophearmenian=1370,t.apostrophemod=700,t.apple=63743,t.approaches=8784,t.approxequal=8776,t.approxequalorimage=8786,t.approximatelyequal=8773,t.araeaekorean=12686,t.araeakorean=12685,t.arc=8978,t.arighthalfring=7834,t.aring=229,t.aringacute=507,t.aringbelow=7681,t.arrowboth=8596,t.arrowdashdown=8675,t.arrowdashleft=8672,t.arrowdashright=8674,t.arrowdashup=8673,t.arrowdblboth=8660,t.arrowdbldown=8659,t.arrowdblleft=8656,t.arrowdblright=8658,t.arrowdblup=8657,t.arrowdown=8595,t.arrowdownleft=8601,t.arrowdownright=8600,t.arrowdownwhite=8681,t.arrowheaddownmod=709,t.arrowheadleftmod=706,t.arrowheadrightmod=707,t.arrowheadupmod=708,t.arrowhorizex=63719,t.arrowleft=8592,t.arrowleftdbl=8656,t.arrowleftdblstroke=8653,t.arrowleftoverright=8646,t.arrowleftwhite=8678,t.arrowright=8594,t.arrowrightdblstroke=8655,t.arrowrightheavy=10142,t.arrowrightoverleft=8644,t.arrowrightwhite=8680,t.arrowtableft=8676,t.arrowtabright=8677,t.arrowup=8593,t.arrowupdn=8597,t.arrowupdnbse=8616,t.arrowupdownbase=8616,t.arrowupleft=8598,t.arrowupleftofdown=8645,t.arrowupright=8599,t.arrowupwhite=8679,t.arrowvertex=63718,t.asciicircum=94,t.asciicircummonospace=65342,t.asciitilde=126,t.asciitildemonospace=65374,t.ascript=593,t.ascriptturned=594,t.asmallhiragana=12353,t.asmallkatakana=12449,t.asmallkatakanahalfwidth=65383,t.asterisk=42,t.asteriskaltonearabic=1645,t.asteriskarabic=1645,t.asteriskmath=8727,t.asteriskmonospace=65290,t.asterisksmall=65121,t.asterism=8258,t.asuperior=63209,t.asymptoticallyequal=8771,t.at=64,t.atilde=227,t.atmonospace=65312,t.atsmall=65131,t.aturned=592,t.aubengali=2452,t.aubopomofo=12576,t.audeva=2324,t.augujarati=2708,t.augurmukhi=2580,t.aulengthmarkbengali=2519,t.aumatragurmukhi=2636,t.auvowelsignbengali=2508,t.auvowelsigndeva=2380,t.auvowelsigngujarati=2764,t.avagrahadeva=2365,t.aybarmenian=1377,t.ayin=1506,t.ayinaltonehebrew=64288,t.ayinhebrew=1506,t.b=98,t.babengali=2476,t.backslash=92,t.backslashmonospace=65340,t.badeva=2348,t.bagujarati=2732,t.bagurmukhi=2604,t.bahiragana=12400,t.bahtthai=3647,t.bakatakana=12496,t.bar=124,t.barmonospace=65372,t.bbopomofo=12549,t.bcircle=9425,t.bdotaccent=7683,t.bdotbelow=7685,t.beamedsixteenthnotes=9836,t.because=8757,t.becyrillic=1073,t.beharabic=1576,t.behfinalarabic=65168,t.behinitialarabic=65169,t.behiragana=12409,t.behmedialarabic=65170,t.behmeeminitialarabic=64671,t.behmeemisolatedarabic=64520,t.behnoonfinalarabic=64621,t.bekatakana=12505,t.benarmenian=1378,t.bet=1489,t.beta=946,t.betasymbolgreek=976,t.betdagesh=64305,t.betdageshhebrew=64305,t.bethebrew=1489,t.betrafehebrew=64332,t.bhabengali=2477,t.bhadeva=2349,t.bhagujarati=2733,t.bhagurmukhi=2605,t.bhook=595,t.bihiragana=12403,t.bikatakana=12499,t.bilabialclick=664,t.bindigurmukhi=2562,t.birusquare=13105,t.blackcircle=9679,t.blackdiamond=9670,t.blackdownpointingtriangle=9660,t.blackleftpointingpointer=9668,t.blackleftpointingtriangle=9664,t.blacklenticularbracketleft=12304,t.blacklenticularbracketleftvertical=65083,t.blacklenticularbracketright=12305,t.blacklenticularbracketrightvertical=65084,t.blacklowerlefttriangle=9699,t.blacklowerrighttriangle=9698,t.blackrectangle=9644,t.blackrightpointingpointer=9658,t.blackrightpointingtriangle=9654,t.blacksmallsquare=9642,t.blacksmilingface=9787,t.blacksquare=9632,t.blackstar=9733,t.blackupperlefttriangle=9700,t.blackupperrighttriangle=9701,t.blackuppointingsmalltriangle=9652,t.blackuppointingtriangle=9650,t.blank=9251,t.blinebelow=7687,t.block=9608,t.bmonospace=65346,t.bobaimaithai=3610,t.bohiragana=12412,t.bokatakana=12508,t.bparen=9373,t.bqsquare=13251,t.braceex=63732,t.braceleft=123,t.braceleftbt=63731,t.braceleftmid=63730,t.braceleftmonospace=65371,t.braceleftsmall=65115,t.bracelefttp=63729,t.braceleftvertical=65079,t.braceright=125,t.bracerightbt=63742,t.bracerightmid=63741,t.bracerightmonospace=65373,t.bracerightsmall=65116,t.bracerighttp=63740,t.bracerightvertical=65080,t.bracketleft=91,t.bracketleftbt=63728,t.bracketleftex=63727,t.bracketleftmonospace=65339,t.bracketlefttp=63726,t.bracketright=93,t.bracketrightbt=63739,t.bracketrightex=63738,t.bracketrightmonospace=65341,t.bracketrighttp=63737,t.breve=728,t.brevebelowcmb=814,t.brevecmb=774,t.breveinvertedbelowcmb=815,t.breveinvertedcmb=785,t.breveinverteddoublecmb=865,t.bridgebelowcmb=810,t.bridgeinvertedbelowcmb=826,t.brokenbar=166,t.bstroke=384,t.bsuperior=63210,t.btopbar=387,t.buhiragana=12406,t.bukatakana=12502,t.bullet=8226,t.bulletinverse=9688,t.bulletoperator=8729,t.bullseye=9678,t.c=99,t.caarmenian=1390,t.cabengali=2458,t.cacute=263,t.cadeva=2330,t.cagujarati=2714,t.cagurmukhi=2586,t.calsquare=13192,t.candrabindubengali=2433,t.candrabinducmb=784,t.candrabindudeva=2305,t.candrabindugujarati=2689,t.capslock=8682,t.careof=8453,t.caron=711,t.caronbelowcmb=812,t.caroncmb=780,t.carriagereturn=8629,t.cbopomofo=12568,t.ccaron=269,t.ccedilla=231,t.ccedillaacute=7689,t.ccircle=9426,t.ccircumflex=265,t.ccurl=597,t.cdot=267,t.cdotaccent=267,t.cdsquare=13253,t.cedilla=184,t.cedillacmb=807,t.cent=162,t.centigrade=8451,t.centinferior=63199,t.centmonospace=65504,t.centoldstyle=63394,t.centsuperior=63200,t.chaarmenian=1401,t.chabengali=2459,t.chadeva=2331,t.chagujarati=2715,t.chagurmukhi=2587,t.chbopomofo=12564,t.cheabkhasiancyrillic=1213,t.checkmark=10003,t.checyrillic=1095,t.chedescenderabkhasiancyrillic=1215,t.chedescendercyrillic=1207,t.chedieresiscyrillic=1269,t.cheharmenian=1395,t.chekhakassiancyrillic=1228,t.cheverticalstrokecyrillic=1209,t.chi=967,t.chieuchacirclekorean=12919,t.chieuchaparenkorean=12823,t.chieuchcirclekorean=12905,t.chieuchkorean=12618,t.chieuchparenkorean=12809,t.chochangthai=3594,t.chochanthai=3592,t.chochingthai=3593,t.chochoethai=3596,t.chook=392,t.cieucacirclekorean=12918,t.cieucaparenkorean=12822,t.cieuccirclekorean=12904,t.cieuckorean=12616,t.cieucparenkorean=12808,t.cieucuparenkorean=12828,t.circle=9675,t.circlecopyrt=169,t.circlemultiply=8855,t.circleot=8857,t.circleplus=8853,t.circlepostalmark=12342,t.circlewithlefthalfblack=9680,t.circlewithrighthalfblack=9681,t.circumflex=710,t.circumflexbelowcmb=813,t.circumflexcmb=770,t.clear=8999,t.clickalveolar=450,t.clickdental=448,t.clicklateral=449,t.clickretroflex=451,t.club=9827,t.clubsuitblack=9827,t.clubsuitwhite=9831,t.cmcubedsquare=13220,t.cmonospace=65347,t.cmsquaredsquare=13216,t.coarmenian=1409,t.colon=58,t.colonmonetary=8353,t.colonmonospace=65306,t.colonsign=8353,t.colonsmall=65109,t.colontriangularhalfmod=721,t.colontriangularmod=720,t.comma=44,t.commaabovecmb=787,t.commaaboverightcmb=789,t.commaaccent=63171,t.commaarabic=1548,t.commaarmenian=1373,t.commainferior=63201,t.commamonospace=65292,t.commareversedabovecmb=788,t.commareversedmod=701,t.commasmall=65104,t.commasuperior=63202,t.commaturnedabovecmb=786,t.commaturnedmod=699,t.compass=9788,t.congruent=8773,t.contourintegral=8750,t.control=8963,t.controlACK=6,t.controlBEL=7,t.controlBS=8,t.controlCAN=24,t.controlCR=13,t.controlDC1=17,t.controlDC2=18,t.controlDC3=19,t.controlDC4=20,t.controlDEL=127,t.controlDLE=16,t.controlEM=25,t.controlENQ=5,t.controlEOT=4,t.controlESC=27,t.controlETB=23,t.controlETX=3,t.controlFF=12,t.controlFS=28,t.controlGS=29,t.controlHT=9,t.controlLF=10,t.controlNAK=21,t.controlNULL=0,t.controlRS=30,t.controlSI=15,t.controlSO=14,t.controlSOT=2,t.controlSTX=1,t.controlSUB=26,t.controlSYN=22,t.controlUS=31,t.controlVT=11,t.copyright=169,t.copyrightsans=63721,t.copyrightserif=63193,t.cornerbracketleft=12300,t.cornerbracketlefthalfwidth=65378,t.cornerbracketleftvertical=65089,t.cornerbracketright=12301,t.cornerbracketrighthalfwidth=65379,t.cornerbracketrightvertical=65090,t.corporationsquare=13183,t.cosquare=13255,t.coverkgsquare=13254,t.cparen=9374,t.cruzeiro=8354,t.cstretched=663,t.curlyand=8911,t.curlyor=8910,t.currency=164,t.cyrBreve=63185,t.cyrFlex=63186,t.cyrbreve=63188,t.cyrflex=63189,t.d=100,t.daarmenian=1380,t.dabengali=2470,t.dadarabic=1590,t.dadeva=2342,t.dadfinalarabic=65214,t.dadinitialarabic=65215,t.dadmedialarabic=65216,t.dagesh=1468,t.dageshhebrew=1468,t.dagger=8224,t.daggerdbl=8225,t.dagujarati=2726,t.dagurmukhi=2598,t.dahiragana=12384,t.dakatakana=12480,t.dalarabic=1583,t.dalet=1491,t.daletdagesh=64307,t.daletdageshhebrew=64307,t.dalethebrew=1491,t.dalfinalarabic=65194,t.dammaarabic=1615,t.dammalowarabic=1615,t.dammatanaltonearabic=1612,t.dammatanarabic=1612,t.danda=2404,t.dargahebrew=1447,t.dargalefthebrew=1447,t.dasiapneumatacyrilliccmb=1157,t.dblGrave=63187,t.dblanglebracketleft=12298,t.dblanglebracketleftvertical=65085,t.dblanglebracketright=12299,t.dblanglebracketrightvertical=65086,t.dblarchinvertedbelowcmb=811,t.dblarrowleft=8660,t.dblarrowright=8658,t.dbldanda=2405,t.dblgrave=63190,t.dblgravecmb=783,t.dblintegral=8748,t.dbllowline=8215,t.dbllowlinecmb=819,t.dbloverlinecmb=831,t.dblprimemod=698,t.dblverticalbar=8214,t.dblverticallineabovecmb=782,t.dbopomofo=12553,t.dbsquare=13256,t.dcaron=271,t.dcedilla=7697,t.dcircle=9427,t.dcircumflexbelow=7699,t.dcroat=273,t.ddabengali=2465,t.ddadeva=2337,t.ddagujarati=2721,t.ddagurmukhi=2593,t.ddalarabic=1672,t.ddalfinalarabic=64393,t.dddhadeva=2396,t.ddhabengali=2466,t.ddhadeva=2338,t.ddhagujarati=2722,t.ddhagurmukhi=2594,t.ddotaccent=7691,t.ddotbelow=7693,t.decimalseparatorarabic=1643,t.decimalseparatorpersian=1643,t.decyrillic=1076,t.degree=176,t.dehihebrew=1453,t.dehiragana=12391,t.deicoptic=1007,t.dekatakana=12487,t.deleteleft=9003,t.deleteright=8998,t.delta=948,t.deltaturned=397,t.denominatorminusonenumeratorbengali=2552,t.dezh=676,t.dhabengali=2471,t.dhadeva=2343,t.dhagujarati=2727,t.dhagurmukhi=2599,t.dhook=599,t.dialytikatonos=901,t.dialytikatonoscmb=836,t.diamond=9830,t.diamondsuitwhite=9826,t.dieresis=168,t.dieresisacute=63191,t.dieresisbelowcmb=804,t.dieresiscmb=776,t.dieresisgrave=63192,t.dieresistonos=901,t.dihiragana=12386,t.dikatakana=12482,t.dittomark=12291,t.divide=247,t.divides=8739,t.divisionslash=8725,t.djecyrillic=1106,t.dkshade=9619,t.dlinebelow=7695,t.dlsquare=13207,t.dmacron=273,t.dmonospace=65348,t.dnblock=9604,t.dochadathai=3598,t.dodekthai=3604,t.dohiragana=12393,t.dokatakana=12489,t.dollar=36;t.dollarinferior=63203,t.dollarmonospace=65284,t.dollaroldstyle=63268,t.dollarsmall=65129,t.dollarsuperior=63204,t.dong=8363,t.dorusquare=13094,t.dotaccent=729,t.dotaccentcmb=775,t.dotbelowcmb=803,t.dotbelowcomb=803,t.dotkatakana=12539,t.dotlessi=305,t.dotlessj=63166,t.dotlessjstrokehook=644,t.dotmath=8901,t.dottedcircle=9676,t.doubleyodpatah=64287,t.doubleyodpatahhebrew=64287,t.downtackbelowcmb=798,t.downtackmod=725,t.dparen=9375,t.dsuperior=63211,t.dtail=598,t.dtopbar=396,t.duhiragana=12389,t.dukatakana=12485,t.dz=499,t.dzaltone=675,t.dzcaron=454,t.dzcurl=677,t.dzeabkhasiancyrillic=1249,t.dzecyrillic=1109,t.dzhecyrillic=1119,t.e=101,t.eacute=233,t.earth=9793,t.ebengali=2447,t.ebopomofo=12572,t.ebreve=277,t.ecandradeva=2317,t.ecandragujarati=2701,t.ecandravowelsigndeva=2373,t.ecandravowelsigngujarati=2757,t.ecaron=283,t.ecedillabreve=7709,t.echarmenian=1381,t.echyiwnarmenian=1415,t.ecircle=9428,t.ecircumflex=234,t.ecircumflexacute=7871,t.ecircumflexbelow=7705,t.ecircumflexdotbelow=7879,t.ecircumflexgrave=7873,t.ecircumflexhookabove=7875,t.ecircumflextilde=7877,t.ecyrillic=1108,t.edblgrave=517,t.edeva=2319,t.edieresis=235,t.edot=279,t.edotaccent=279,t.edotbelow=7865,t.eegurmukhi=2575,t.eematragurmukhi=2631,t.efcyrillic=1092,t.egrave=232,t.egujarati=2703,t.eharmenian=1383,t.ehbopomofo=12573,t.ehiragana=12360,t.ehookabove=7867,t.eibopomofo=12575,t.eight=56,t.eightarabic=1640,t.eightbengali=2542,t.eightcircle=9319,t.eightcircleinversesansserif=10129,t.eightdeva=2414,t.eighteencircle=9329,t.eighteenparen=9349,t.eighteenperiod=9369,t.eightgujarati=2798,t.eightgurmukhi=2670,t.eighthackarabic=1640,t.eighthangzhou=12328,t.eighthnotebeamed=9835,t.eightideographicparen=12839,t.eightinferior=8328,t.eightmonospace=65304,t.eightoldstyle=63288,t.eightparen=9339,t.eightperiod=9359,t.eightpersian=1784,t.eightroman=8567,t.eightsuperior=8312,t.eightthai=3672,t.einvertedbreve=519,t.eiotifiedcyrillic=1125,t.ekatakana=12456,t.ekatakanahalfwidth=65396,t.ekonkargurmukhi=2676,t.ekorean=12628,t.elcyrillic=1083,t.element=8712,t.elevencircle=9322,t.elevenparen=9342,t.elevenperiod=9362,t.elevenroman=8570,t.ellipsis=8230,t.ellipsisvertical=8942,t.emacron=275,t.emacronacute=7703,t.emacrongrave=7701,t.emcyrillic=1084,t.emdash=8212,t.emdashvertical=65073,t.emonospace=65349,t.emphasismarkarmenian=1371,t.emptyset=8709,t.enbopomofo=12579,t.encyrillic=1085,t.endash=8211,t.endashvertical=65074,t.endescendercyrillic=1187,t.eng=331,t.engbopomofo=12581,t.enghecyrillic=1189,t.enhookcyrillic=1224,t.enspace=8194,t.eogonek=281,t.eokorean=12627,t.eopen=603,t.eopenclosed=666,t.eopenreversed=604,t.eopenreversedclosed=606,t.eopenreversedhook=605,t.eparen=9376,t.epsilon=949,t.epsilontonos=941,t.equal=61,t.equalmonospace=65309,t.equalsmall=65126,t.equalsuperior=8316,t.equivalence=8801,t.erbopomofo=12582,t.ercyrillic=1088,t.ereversed=600,t.ereversedcyrillic=1101,t.escyrillic=1089,t.esdescendercyrillic=1195,t.esh=643,t.eshcurl=646,t.eshortdeva=2318,t.eshortvowelsigndeva=2374,t.eshreversedloop=426,t.eshsquatreversed=645,t.esmallhiragana=12359,t.esmallkatakana=12455,t.esmallkatakanahalfwidth=65386,t.estimated=8494,t.esuperior=63212,t.eta=951,t.etarmenian=1384,t.etatonos=942,t.eth=240,t.etilde=7869,t.etildebelow=7707,t.etnahtafoukhhebrew=1425,t.etnahtafoukhlefthebrew=1425,t.etnahtahebrew=1425,t.etnahtalefthebrew=1425,t.eturned=477,t.eukorean=12641,t.euro=8364,t.evowelsignbengali=2503,t.evowelsigndeva=2375,t.evowelsigngujarati=2759,t.exclam=33,t.exclamarmenian=1372,t.exclamdbl=8252,t.exclamdown=161,t.exclamdownsmall=63393,t.exclammonospace=65281,t.exclamsmall=63265,t.existential=8707,t.ezh=658,t.ezhcaron=495,t.ezhcurl=659,t.ezhreversed=441,t.ezhtail=442,t.f=102,t.fadeva=2398,t.fagurmukhi=2654,t.fahrenheit=8457,t.fathaarabic=1614,t.fathalowarabic=1614,t.fathatanarabic=1611,t.fbopomofo=12552,t.fcircle=9429,t.fdotaccent=7711,t.feharabic=1601,t.feharmenian=1414,t.fehfinalarabic=65234,t.fehinitialarabic=65235,t.fehmedialarabic=65236,t.feicoptic=997,t.female=9792,t.ff=64256,t.ffi=64259,t.ffl=64260,t.fi=64257,t.fifteencircle=9326,t.fifteenparen=9346,t.fifteenperiod=9366,t.figuredash=8210,t.filledbox=9632,t.filledrect=9644,t.finalkaf=1498,t.finalkafdagesh=64314,t.finalkafdageshhebrew=64314,t.finalkafhebrew=1498,t.finalmem=1501,t.finalmemhebrew=1501,t.finalnun=1503,t.finalnunhebrew=1503,t.finalpe=1507,t.finalpehebrew=1507,t.finaltsadi=1509,t.finaltsadihebrew=1509,t.firsttonechinese=713,t.fisheye=9673,t.fitacyrillic=1139,t.five=53,t.fivearabic=1637,t.fivebengali=2539,t.fivecircle=9316,t.fivecircleinversesansserif=10126,t.fivedeva=2411,t.fiveeighths=8541,t.fivegujarati=2795,t.fivegurmukhi=2667,t.fivehackarabic=1637,t.fivehangzhou=12325,t.fiveideographicparen=12836,t.fiveinferior=8325,t.fivemonospace=65301,t.fiveoldstyle=63285,t.fiveparen=9336,t.fiveperiod=9356,t.fivepersian=1781,t.fiveroman=8564,t.fivesuperior=8309,t.fivethai=3669,t.fl=64258,t.florin=402,t.fmonospace=65350,t.fmsquare=13209,t.fofanthai=3615,t.fofathai=3613,t.fongmanthai=3663,t.forall=8704,t.four=52,t.fourarabic=1636,t.fourbengali=2538,t.fourcircle=9315,t.fourcircleinversesansserif=10125,t.fourdeva=2410,t.fourgujarati=2794,t.fourgurmukhi=2666,t.fourhackarabic=1636,t.fourhangzhou=12324,t.fourideographicparen=12835,t.fourinferior=8324,t.fourmonospace=65300,t.fournumeratorbengali=2551,t.fouroldstyle=63284,t.fourparen=9335,t.fourperiod=9355,t.fourpersian=1780,t.fourroman=8563,t.foursuperior=8308,t.fourteencircle=9325,t.fourteenparen=9345,t.fourteenperiod=9365,t.fourthai=3668,t.fourthtonechinese=715,t.fparen=9377,t.fraction=8260,t.franc=8355,t.g=103,t.gabengali=2455,t.gacute=501,t.gadeva=2327,t.gafarabic=1711,t.gaffinalarabic=64403,t.gafinitialarabic=64404,t.gafmedialarabic=64405,t.gagujarati=2711,t.gagurmukhi=2583,t.gahiragana=12364,t.gakatakana=12460,t.gamma=947,t.gammalatinsmall=611,t.gammasuperior=736,t.gangiacoptic=1003,t.gbopomofo=12557,t.gbreve=287,t.gcaron=487,t.gcedilla=291,t.gcircle=9430,t.gcircumflex=285,t.gcommaaccent=291,t.gdot=289,t.gdotaccent=289,t.gecyrillic=1075,t.gehiragana=12370,t.gekatakana=12466,t.geometricallyequal=8785,t.gereshaccenthebrew=1436,t.gereshhebrew=1523,t.gereshmuqdamhebrew=1437,t.germandbls=223,t.gershayimaccenthebrew=1438,t.gershayimhebrew=1524,t.getamark=12307,t.ghabengali=2456,t.ghadarmenian=1394,t.ghadeva=2328,t.ghagujarati=2712,t.ghagurmukhi=2584,t.ghainarabic=1594,t.ghainfinalarabic=65230,t.ghaininitialarabic=65231,t.ghainmedialarabic=65232,t.ghemiddlehookcyrillic=1173,t.ghestrokecyrillic=1171,t.gheupturncyrillic=1169,t.ghhadeva=2394,t.ghhagurmukhi=2650,t.ghook=608,t.ghzsquare=13203,t.gihiragana=12366,t.gikatakana=12462,t.gimarmenian=1379,t.gimel=1490,t.gimeldagesh=64306,t.gimeldageshhebrew=64306,t.gimelhebrew=1490,t.gjecyrillic=1107,t.glottalinvertedstroke=446,t.glottalstop=660,t.glottalstopinverted=662,t.glottalstopmod=704,t.glottalstopreversed=661,t.glottalstopreversedmod=705,t.glottalstopreversedsuperior=740,t.glottalstopstroke=673,t.glottalstopstrokereversed=674,t.gmacron=7713,t.gmonospace=65351,t.gohiragana=12372,t.gokatakana=12468,t.gparen=9378,t.gpasquare=13228,t.gradient=8711,t.grave=96,t.gravebelowcmb=790,t.gravecmb=768,t.gravecomb=768,t.gravedeva=2387,t.gravelowmod=718,t.gravemonospace=65344,t.gravetonecmb=832,t.greater=62,t.greaterequal=8805,t.greaterequalorless=8923,t.greatermonospace=65310,t.greaterorequivalent=8819,t.greaterorless=8823,t.greateroverequal=8807,t.greatersmall=65125,t.gscript=609,t.gstroke=485,t.guhiragana=12368,t.guillemotleft=171,t.guillemotright=187,t.guilsinglleft=8249,t.guilsinglright=8250,t.gukatakana=12464,t.guramusquare=13080,t.gysquare=13257,t.h=104,t.haabkhasiancyrillic=1193,t.haaltonearabic=1729,t.habengali=2489,t.hadescendercyrillic=1203,t.hadeva=2361,t.hagujarati=2745,t.hagurmukhi=2617,t.haharabic=1581,t.hahfinalarabic=65186,t.hahinitialarabic=65187,t.hahiragana=12399,t.hahmedialarabic=65188,t.haitusquare=13098,t.hakatakana=12495,t.hakatakanahalfwidth=65418,t.halantgurmukhi=2637,t.hamzaarabic=1569,t.hamzalowarabic=1569,t.hangulfiller=12644,t.hardsigncyrillic=1098,t.harpoonleftbarbup=8636,t.harpoonrightbarbup=8640,t.hasquare=13258,t.hatafpatah=1458,t.hatafpatah16=1458,t.hatafpatah23=1458,t.hatafpatah2f=1458,t.hatafpatahhebrew=1458,t.hatafpatahnarrowhebrew=1458,t.hatafpatahquarterhebrew=1458,t.hatafpatahwidehebrew=1458,t.hatafqamats=1459,t.hatafqamats1b=1459,t.hatafqamats28=1459,t.hatafqamats34=1459,t.hatafqamatshebrew=1459,t.hatafqamatsnarrowhebrew=1459,t.hatafqamatsquarterhebrew=1459,t.hatafqamatswidehebrew=1459,t.hatafsegol=1457,t.hatafsegol17=1457,t.hatafsegol24=1457,t.hatafsegol30=1457,t.hatafsegolhebrew=1457,t.hatafsegolnarrowhebrew=1457,t.hatafsegolquarterhebrew=1457,t.hatafsegolwidehebrew=1457,t.hbar=295,t.hbopomofo=12559,t.hbrevebelow=7723,t.hcedilla=7721,t.hcircle=9431,t.hcircumflex=293,t.hdieresis=7719,t.hdotaccent=7715,t.hdotbelow=7717,t.he=1492,t.heart=9829,t.heartsuitblack=9829,t.heartsuitwhite=9825,t.hedagesh=64308,t.hedageshhebrew=64308,t.hehaltonearabic=1729,t.heharabic=1607,t.hehebrew=1492,t.hehfinalaltonearabic=64423,t.hehfinalalttwoarabic=65258,t.hehfinalarabic=65258,t.hehhamzaabovefinalarabic=64421,t.hehhamzaaboveisolatedarabic=64420,t.hehinitialaltonearabic=64424,t.hehinitialarabic=65259,t.hehiragana=12408,t.hehmedialaltonearabic=64425,t.hehmedialarabic=65260,t.heiseierasquare=13179,t.hekatakana=12504,t.hekatakanahalfwidth=65421,t.hekutaarusquare=13110,t.henghook=615,t.herutusquare=13113,t.het=1495,t.hethebrew=1495,t.hhook=614,t.hhooksuperior=689,t.hieuhacirclekorean=12923,t.hieuhaparenkorean=12827,t.hieuhcirclekorean=12909,t.hieuhkorean=12622,t.hieuhparenkorean=12813,t.hihiragana=12402,t.hikatakana=12498,t.hikatakanahalfwidth=65419,t.hiriq=1460,t.hiriq14=1460,t.hiriq21=1460,t.hiriq2d=1460,t.hiriqhebrew=1460,t.hiriqnarrowhebrew=1460,t.hiriqquarterhebrew=1460,t.hiriqwidehebrew=1460,t.hlinebelow=7830,t.hmonospace=65352,t.hoarmenian=1392,t.hohipthai=3627,t.hohiragana=12411,t.hokatakana=12507,t.hokatakanahalfwidth=65422,t.holam=1465,t.holam19=1465,t.holam26=1465,t.holam32=1465,t.holamhebrew=1465,t.holamnarrowhebrew=1465,t.holamquarterhebrew=1465,t.holamwidehebrew=1465,t.honokhukthai=3630,t.hookabovecomb=777,t.hookcmb=777,t.hookpalatalizedbelowcmb=801,t.hookretroflexbelowcmb=802,t.hoonsquare=13122,t.horicoptic=1001,t.horizontalbar=8213,t.horncmb=795,t.hotsprings=9832,t.house=8962,t.hparen=9379,t.hsuperior=688,t.hturned=613,t.huhiragana=12405,t.huiitosquare=13107,t.hukatakana=12501,t.hukatakanahalfwidth=65420,t.hungarumlaut=733,t.hungarumlautcmb=779,t.hv=405,t.hyphen=45,t.hypheninferior=63205,t.hyphenmonospace=65293,t.hyphensmall=65123,t.hyphensuperior=63206,t.hyphentwo=8208,t.i=105,t.iacute=237,t.iacyrillic=1103,t.ibengali=2439,t.ibopomofo=12583,t.ibreve=301,t.icaron=464,t.icircle=9432,t.icircumflex=238,t.icyrillic=1110,t.idblgrave=521,t.ideographearthcircle=12943,t.ideographfirecircle=12939,t.ideographicallianceparen=12863,t.ideographiccallparen=12858,t.ideographiccentrecircle=12965,t.ideographicclose=12294,t.ideographiccomma=12289,t.ideographiccommaleft=65380,t.ideographiccongratulationparen=12855,t.ideographiccorrectcircle=12963,t.ideographicearthparen=12847,t.ideographicenterpriseparen=12861,t.ideographicexcellentcircle=12957,t.ideographicfestivalparen=12864,t.ideographicfinancialcircle=12950,t.ideographicfinancialparen=12854,t.ideographicfireparen=12843,t.ideographichaveparen=12850,t.ideographichighcircle=12964,t.ideographiciterationmark=12293,t.ideographiclaborcircle=12952,t.ideographiclaborparen=12856,t.ideographicleftcircle=12967,t.ideographiclowcircle=12966,t.ideographicmedicinecircle=12969,t.ideographicmetalparen=12846,t.ideographicmoonparen=12842,t.ideographicnameparen=12852,t.ideographicperiod=12290,t.ideographicprintcircle=12958,t.ideographicreachparen=12867,t.ideographicrepresentparen=12857,t.ideographicresourceparen=12862,t.ideographicrightcircle=12968,t.ideographicsecretcircle=12953,t.ideographicselfparen=12866,t.ideographicsocietyparen=12851,t.ideographicspace=12288,t.ideographicspecialparen=12853,t.ideographicstockparen=12849,t.ideographicstudyparen=12859,t.ideographicsunparen=12848,t.ideographicsuperviseparen=12860,t.ideographicwaterparen=12844,t.ideographicwoodparen=12845,t.ideographiczero=12295,t.ideographmetalcircle=12942,t.ideographmooncircle=12938,t.ideographnamecircle=12948,t.ideographsuncircle=12944,t.ideographwatercircle=12940,t.ideographwoodcircle=12941,t.ideva=2311,t.idieresis=239,t.idieresisacute=7727,t.idieresiscyrillic=1253,t.idotbelow=7883,t.iebrevecyrillic=1239,t.iecyrillic=1077,t.ieungacirclekorean=12917,t.ieungaparenkorean=12821,t.ieungcirclekorean=12903,t.ieungkorean=12615,t.ieungparenkorean=12807,t.igrave=236,t.igujarati=2695,t.igurmukhi=2567,t.ihiragana=12356,t.ihookabove=7881,t.iibengali=2440,t.iicyrillic=1080,t.iideva=2312,t.iigujarati=2696,t.iigurmukhi=2568,t.iimatragurmukhi=2624,t.iinvertedbreve=523,t.iishortcyrillic=1081,t.iivowelsignbengali=2496,t.iivowelsigndeva=2368,t.iivowelsigngujarati=2752,t.ij=307,t.ikatakana=12452,t.ikatakanahalfwidth=65394,t.ikorean=12643,t.ilde=732,t.iluyhebrew=1452,t.imacron=299,t.imacroncyrillic=1251,t.imageorapproximatelyequal=8787,t.imatragurmukhi=2623,t.imonospace=65353,t.increment=8710,t.infinity=8734,t.iniarmenian=1387,t.integral=8747,t.integralbottom=8993,t.integralbt=8993,t.integralex=63733,t.integraltop=8992,t.integraltp=8992,t.intersection=8745,t.intisquare=13061,t.invbullet=9688,t.invcircle=9689,t.invsmileface=9787,t.iocyrillic=1105,t.iogonek=303,t.iota=953,t.iotadieresis=970,t.iotadieresistonos=912,t.iotalatin=617,t.iotatonos=943,t.iparen=9380,t.irigurmukhi=2674,t.ismallhiragana=12355,t.ismallkatakana=12451,t.ismallkatakanahalfwidth=65384,t.issharbengali=2554,t.istroke=616,t.isuperior=63213,t.iterationhiragana=12445,t.iterationkatakana=12541,t.itilde=297,t.itildebelow=7725,t.iubopomofo=12585,t.iucyrillic=1102,t.ivowelsignbengali=2495,t.ivowelsigndeva=2367,t.ivowelsigngujarati=2751,t.izhitsacyrillic=1141,t.izhitsadblgravecyrillic=1143,t.j=106,t.jaarmenian=1393,t.jabengali=2460,t.jadeva=2332,t.jagujarati=2716,t.jagurmukhi=2588,t.jbopomofo=12560,t.jcaron=496,t.jcircle=9433,t.jcircumflex=309,t.jcrossedtail=669,t.jdotlessstroke=607,t.jecyrillic=1112,t.jeemarabic=1580,t.jeemfinalarabic=65182,t.jeeminitialarabic=65183,t.jeemmedialarabic=65184,t.jeharabic=1688,t.jehfinalarabic=64395,t.jhabengali=2461,t.jhadeva=2333,t.jhagujarati=2717,t.jhagurmukhi=2589,t.jheharmenian=1403,t.jis=12292,t.jmonospace=65354,t.jparen=9381,t.jsuperior=690,t.k=107,t.kabashkircyrillic=1185,t.kabengali=2453,t.kacute=7729,t.kacyrillic=1082,t.kadescendercyrillic=1179,t.kadeva=2325,t.kaf=1499,t.kafarabic=1603,t.kafdagesh=64315,t.kafdageshhebrew=64315,t.kaffinalarabic=65242,t.kafhebrew=1499,t.kafinitialarabic=65243,t.kafmedialarabic=65244,t.kafrafehebrew=64333,t.kagujarati=2709,t.kagurmukhi=2581,t.kahiragana=12363,t.kahookcyrillic=1220,t.kakatakana=12459,t.kakatakanahalfwidth=65398,t.kappa=954,t.kappasymbolgreek=1008,t.kapyeounmieumkorean=12657,t.kapyeounphieuphkorean=12676,t.kapyeounpieupkorean=12664,t.kapyeounssangpieupkorean=12665,t.karoriisquare=13069,t.kashidaautoarabic=1600,t.kashidaautonosidebearingarabic=1600,t.kasmallkatakana=12533,t.kasquare=13188,t.kasraarabic=1616,t.kasratanarabic=1613,t.kastrokecyrillic=1183,t.katahiraprolongmarkhalfwidth=65392,t.kaverticalstrokecyrillic=1181,t.kbopomofo=12558,t.kcalsquare=13193,t.kcaron=489,t.kcedilla=311,t.kcircle=9434,t.kcommaaccent=311,t.kdotbelow=7731,t.keharmenian=1412,t.kehiragana=12369,t.kekatakana=12465,t.kekatakanahalfwidth=65401,t.kenarmenian=1391,t.kesmallkatakana=12534,t.kgreenlandic=312,t.khabengali=2454,t.khacyrillic=1093,t.khadeva=2326,t.khagujarati=2710,t.khagurmukhi=2582,t.khaharabic=1582,t.khahfinalarabic=65190,t.khahinitialarabic=65191,t.khahmedialarabic=65192,t.kheicoptic=999,t.khhadeva=2393,t.khhagurmukhi=2649,t.khieukhacirclekorean=12920,t.khieukhaparenkorean=12824,t.khieukhcirclekorean=12906,t.khieukhkorean=12619,t.khieukhparenkorean=12810,t.khokhaithai=3586,t.khokhonthai=3589,t.khokhuatthai=3587,t.khokhwaithai=3588,t.khomutthai=3675,t.khook=409,t.khorakhangthai=3590,t.khzsquare=13201,t.kihiragana=12365,t.kikatakana=12461,t.kikatakanahalfwidth=65399,t.kiroguramusquare=13077,t.kiromeetorusquare=13078,t.kirosquare=13076,t.kiyeokacirclekorean=12910,t.kiyeokaparenkorean=12814,t.kiyeokcirclekorean=12896,t.kiyeokkorean=12593,t.kiyeokparenkorean=12800,t.kiyeoksioskorean=12595,t.kjecyrillic=1116,t.klinebelow=7733,t.klsquare=13208,t.kmcubedsquare=13222,t.kmonospace=65355;t.kmsquaredsquare=13218,t.kohiragana=12371,t.kohmsquare=13248,t.kokaithai=3585,t.kokatakana=12467,t.kokatakanahalfwidth=65402,t.kooposquare=13086,t.koppacyrillic=1153,t.koreanstandardsymbol=12927,t.koroniscmb=835,t.kparen=9382,t.kpasquare=13226,t.ksicyrillic=1135,t.ktsquare=13263,t.kturned=670,t.kuhiragana=12367,t.kukatakana=12463,t.kukatakanahalfwidth=65400,t.kvsquare=13240,t.kwsquare=13246,t.l=108,t.labengali=2482,t.lacute=314,t.ladeva=2354,t.lagujarati=2738,t.lagurmukhi=2610,t.lakkhangyaothai=3653,t.lamaleffinalarabic=65276,t.lamalefhamzaabovefinalarabic=65272,t.lamalefhamzaaboveisolatedarabic=65271,t.lamalefhamzabelowfinalarabic=65274,t.lamalefhamzabelowisolatedarabic=65273,t.lamalefisolatedarabic=65275,t.lamalefmaddaabovefinalarabic=65270,t.lamalefmaddaaboveisolatedarabic=65269,t.lamarabic=1604,t.lambda=955,t.lambdastroke=411,t.lamed=1500,t.lameddagesh=64316,t.lameddageshhebrew=64316,t.lamedhebrew=1500,t.lamfinalarabic=65246,t.lamhahinitialarabic=64714,t.laminitialarabic=65247,t.lamjeeminitialarabic=64713,t.lamkhahinitialarabic=64715,t.lamlamhehisolatedarabic=65010,t.lammedialarabic=65248,t.lammeemhahinitialarabic=64904,t.lammeeminitialarabic=64716,t.largecircle=9711,t.lbar=410,t.lbelt=620,t.lbopomofo=12556,t.lcaron=318,t.lcedilla=316,t.lcircle=9435,t.lcircumflexbelow=7741,t.lcommaaccent=316,t.ldot=320,t.ldotaccent=320,t.ldotbelow=7735,t.ldotbelowmacron=7737,t.leftangleabovecmb=794,t.lefttackbelowcmb=792,t.less=60,t.lessequal=8804,t.lessequalorgreater=8922,t.lessmonospace=65308,t.lessorequivalent=8818,t.lessorgreater=8822,t.lessoverequal=8806,t.lesssmall=65124,t.lezh=622,t.lfblock=9612,t.lhookretroflex=621,t.lira=8356,t.liwnarmenian=1388,t.lj=457,t.ljecyrillic=1113,t.ll=63168,t.lladeva=2355,t.llagujarati=2739,t.llinebelow=7739,t.llladeva=2356,t.llvocalicbengali=2529,t.llvocalicdeva=2401,t.llvocalicvowelsignbengali=2531,t.llvocalicvowelsigndeva=2403,t.lmiddletilde=619,t.lmonospace=65356,t.lmsquare=13264,t.lochulathai=3628,t.logicaland=8743,t.logicalnot=172,t.logicalnotreversed=8976,t.logicalor=8744,t.lolingthai=3621,t.longs=383,t.lowlinecenterline=65102,t.lowlinecmb=818,t.lowlinedashed=65101,t.lozenge=9674,t.lparen=9383,t.lslash=322,t.lsquare=8467,t.lsuperior=63214,t.ltshade=9617,t.luthai=3622,t.lvocalicbengali=2444,t.lvocalicdeva=2316,t.lvocalicvowelsignbengali=2530,t.lvocalicvowelsigndeva=2402,t.lxsquare=13267,t.m=109,t.mabengali=2478,t.macron=175,t.macronbelowcmb=817,t.macroncmb=772,t.macronlowmod=717,t.macronmonospace=65507,t.macute=7743,t.madeva=2350,t.magujarati=2734,t.magurmukhi=2606,t.mahapakhhebrew=1444,t.mahapakhlefthebrew=1444,t.mahiragana=12414,t.maichattawalowleftthai=63637,t.maichattawalowrightthai=63636,t.maichattawathai=3659,t.maichattawaupperleftthai=63635,t.maieklowleftthai=63628,t.maieklowrightthai=63627,t.maiekthai=3656,t.maiekupperleftthai=63626,t.maihanakatleftthai=63620,t.maihanakatthai=3633,t.maitaikhuleftthai=63625,t.maitaikhuthai=3655,t.maitholowleftthai=63631,t.maitholowrightthai=63630,t.maithothai=3657,t.maithoupperleftthai=63629,t.maitrilowleftthai=63634,t.maitrilowrightthai=63633,t.maitrithai=3658,t.maitriupperleftthai=63632,t.maiyamokthai=3654,t.makatakana=12510,t.makatakanahalfwidth=65423,t.male=9794,t.mansyonsquare=13127,t.maqafhebrew=1470,t.mars=9794,t.masoracirclehebrew=1455,t.masquare=13187,t.mbopomofo=12551,t.mbsquare=13268,t.mcircle=9436,t.mcubedsquare=13221,t.mdotaccent=7745,t.mdotbelow=7747,t.meemarabic=1605,t.meemfinalarabic=65250,t.meeminitialarabic=65251,t.meemmedialarabic=65252,t.meemmeeminitialarabic=64721,t.meemmeemisolatedarabic=64584,t.meetorusquare=13133,t.mehiragana=12417,t.meizierasquare=13182,t.mekatakana=12513,t.mekatakanahalfwidth=65426,t.mem=1502,t.memdagesh=64318,t.memdageshhebrew=64318,t.memhebrew=1502,t.menarmenian=1396,t.merkhahebrew=1445,t.merkhakefulahebrew=1446,t.merkhakefulalefthebrew=1446,t.merkhalefthebrew=1445,t.mhook=625,t.mhzsquare=13202,t.middledotkatakanahalfwidth=65381,t.middot=183,t.mieumacirclekorean=12914,t.mieumaparenkorean=12818,t.mieumcirclekorean=12900,t.mieumkorean=12609,t.mieumpansioskorean=12656,t.mieumparenkorean=12804,t.mieumpieupkorean=12654,t.mieumsioskorean=12655,t.mihiragana=12415,t.mikatakana=12511,t.mikatakanahalfwidth=65424,t.minus=8722,t.minusbelowcmb=800,t.minuscircle=8854,t.minusmod=727,t.minusplus=8723,t.minute=8242,t.miribaarusquare=13130,t.mirisquare=13129,t.mlonglegturned=624,t.mlsquare=13206,t.mmcubedsquare=13219,t.mmonospace=65357,t.mmsquaredsquare=13215,t.mohiragana=12418,t.mohmsquare=13249,t.mokatakana=12514,t.mokatakanahalfwidth=65427,t.molsquare=13270,t.momathai=3617,t.moverssquare=13223,t.moverssquaredsquare=13224,t.mparen=9384,t.mpasquare=13227,t.mssquare=13235,t.msuperior=63215,t.mturned=623,t.mu=181,t.mu1=181,t.muasquare=13186,t.muchgreater=8811,t.muchless=8810,t.mufsquare=13196,t.mugreek=956,t.mugsquare=13197,t.muhiragana=12416,t.mukatakana=12512,t.mukatakanahalfwidth=65425,t.mulsquare=13205,t.multiply=215,t.mumsquare=13211,t.munahhebrew=1443,t.munahlefthebrew=1443,t.musicalnote=9834,t.musicalnotedbl=9835,t.musicflatsign=9837,t.musicsharpsign=9839,t.mussquare=13234,t.muvsquare=13238,t.muwsquare=13244,t.mvmegasquare=13241,t.mvsquare=13239,t.mwmegasquare=13247,t.mwsquare=13245,t.n=110,t.nabengali=2472,t.nabla=8711,t.nacute=324,t.nadeva=2344,t.nagujarati=2728,t.nagurmukhi=2600,t.nahiragana=12394,t.nakatakana=12490,t.nakatakanahalfwidth=65413,t.napostrophe=329,t.nasquare=13185,t.nbopomofo=12555,t.nbspace=160,t.ncaron=328,t.ncedilla=326,t.ncircle=9437,t.ncircumflexbelow=7755,t.ncommaaccent=326,t.ndotaccent=7749,t.ndotbelow=7751,t.nehiragana=12397,t.nekatakana=12493,t.nekatakanahalfwidth=65416,t.newsheqelsign=8362,t.nfsquare=13195,t.ngabengali=2457,t.ngadeva=2329,t.ngagujarati=2713,t.ngagurmukhi=2585,t.ngonguthai=3591,t.nhiragana=12435,t.nhookleft=626,t.nhookretroflex=627,t.nieunacirclekorean=12911,t.nieunaparenkorean=12815,t.nieuncieuckorean=12597,t.nieuncirclekorean=12897,t.nieunhieuhkorean=12598,t.nieunkorean=12596,t.nieunpansioskorean=12648,t.nieunparenkorean=12801,t.nieunsioskorean=12647,t.nieuntikeutkorean=12646,t.nihiragana=12395,t.nikatakana=12491,t.nikatakanahalfwidth=65414,t.nikhahitleftthai=63641,t.nikhahitthai=3661,t.nine=57,t.ninearabic=1641,t.ninebengali=2543,t.ninecircle=9320,t.ninecircleinversesansserif=10130,t.ninedeva=2415,t.ninegujarati=2799,t.ninegurmukhi=2671,t.ninehackarabic=1641,t.ninehangzhou=12329,t.nineideographicparen=12840,t.nineinferior=8329,t.ninemonospace=65305,t.nineoldstyle=63289,t.nineparen=9340,t.nineperiod=9360,t.ninepersian=1785,t.nineroman=8568,t.ninesuperior=8313,t.nineteencircle=9330,t.nineteenparen=9350,t.nineteenperiod=9370,t.ninethai=3673,t.nj=460,t.njecyrillic=1114,t.nkatakana=12531,t.nkatakanahalfwidth=65437,t.nlegrightlong=414,t.nlinebelow=7753,t.nmonospace=65358,t.nmsquare=13210,t.nnabengali=2467,t.nnadeva=2339,t.nnagujarati=2723,t.nnagurmukhi=2595,t.nnnadeva=2345,t.nohiragana=12398,t.nokatakana=12494,t.nokatakanahalfwidth=65417,t.nonbreakingspace=160,t.nonenthai=3603,t.nonuthai=3609,t.noonarabic=1606,t.noonfinalarabic=65254,t.noonghunnaarabic=1722,t.noonghunnafinalarabic=64415,t.nooninitialarabic=65255,t.noonjeeminitialarabic=64722,t.noonjeemisolatedarabic=64587,t.noonmedialarabic=65256,t.noonmeeminitialarabic=64725,t.noonmeemisolatedarabic=64590,t.noonnoonfinalarabic=64653,t.notcontains=8716,t.notelement=8713,t.notelementof=8713,t.notequal=8800,t.notgreater=8815,t.notgreaternorequal=8817,t.notgreaternorless=8825,t.notidentical=8802,t.notless=8814,t.notlessnorequal=8816,t.notparallel=8742,t.notprecedes=8832,t.notsubset=8836,t.notsucceeds=8833,t.notsuperset=8837,t.nowarmenian=1398,t.nparen=9385,t.nssquare=13233,t.nsuperior=8319,t.ntilde=241,t.nu=957,t.nuhiragana=12396,t.nukatakana=12492,t.nukatakanahalfwidth=65415,t.nuktabengali=2492,t.nuktadeva=2364,t.nuktagujarati=2748,t.nuktagurmukhi=2620,t.numbersign=35,t.numbersignmonospace=65283,t.numbersignsmall=65119,t.numeralsigngreek=884,t.numeralsignlowergreek=885,t.numero=8470,t.nun=1504,t.nundagesh=64320,t.nundageshhebrew=64320,t.nunhebrew=1504,t.nvsquare=13237,t.nwsquare=13243,t.nyabengali=2462,t.nyadeva=2334,t.nyagujarati=2718,t.nyagurmukhi=2590,t.o=111,t.oacute=243,t.oangthai=3629,t.obarred=629,t.obarredcyrillic=1257,t.obarreddieresiscyrillic=1259,t.obengali=2451,t.obopomofo=12571,t.obreve=335,t.ocandradeva=2321,t.ocandragujarati=2705,t.ocandravowelsigndeva=2377,t.ocandravowelsigngujarati=2761,t.ocaron=466,t.ocircle=9438,t.ocircumflex=244,t.ocircumflexacute=7889,t.ocircumflexdotbelow=7897,t.ocircumflexgrave=7891,t.ocircumflexhookabove=7893,t.ocircumflextilde=7895,t.ocyrillic=1086,t.odblacute=337,t.odblgrave=525,t.odeva=2323,t.odieresis=246,t.odieresiscyrillic=1255,t.odotbelow=7885,t.oe=339,t.oekorean=12634,t.ogonek=731,t.ogonekcmb=808,t.ograve=242,t.ogujarati=2707,t.oharmenian=1413,t.ohiragana=12362,t.ohookabove=7887,t.ohorn=417,t.ohornacute=7899,t.ohorndotbelow=7907,t.ohorngrave=7901,t.ohornhookabove=7903,t.ohorntilde=7905,t.ohungarumlaut=337,t.oi=419,t.oinvertedbreve=527,t.okatakana=12458,t.okatakanahalfwidth=65397,t.okorean=12631,t.olehebrew=1451,t.omacron=333,t.omacronacute=7763,t.omacrongrave=7761,t.omdeva=2384,t.omega=969,t.omega1=982,t.omegacyrillic=1121,t.omegalatinclosed=631,t.omegaroundcyrillic=1147,t.omegatitlocyrillic=1149,t.omegatonos=974,t.omgujarati=2768,t.omicron=959,t.omicrontonos=972,t.omonospace=65359,t.one=49,t.onearabic=1633,t.onebengali=2535,t.onecircle=9312,t.onecircleinversesansserif=10122,t.onedeva=2407,t.onedotenleader=8228,t.oneeighth=8539,t.onefitted=63196,t.onegujarati=2791,t.onegurmukhi=2663,t.onehackarabic=1633,t.onehalf=189,t.onehangzhou=12321,t.oneideographicparen=12832,t.oneinferior=8321,t.onemonospace=65297,t.onenumeratorbengali=2548,t.oneoldstyle=63281,t.oneparen=9332,t.oneperiod=9352,t.onepersian=1777,t.onequarter=188,t.oneroman=8560,t.onesuperior=185,t.onethai=3665,t.onethird=8531,t.oogonek=491,t.oogonekmacron=493,t.oogurmukhi=2579,t.oomatragurmukhi=2635,t.oopen=596,t.oparen=9386,t.openbullet=9702,t.option=8997,t.ordfeminine=170,t.ordmasculine=186,t.orthogonal=8735,t.oshortdeva=2322,t.oshortvowelsigndeva=2378,t.oslash=248,t.oslashacute=511,t.osmallhiragana=12361,t.osmallkatakana=12457,t.osmallkatakanahalfwidth=65387,t.ostrokeacute=511,t.osuperior=63216,t.otcyrillic=1151,t.otilde=245,t.otildeacute=7757,t.otildedieresis=7759,t.oubopomofo=12577,t.overline=8254,t.overlinecenterline=65098,t.overlinecmb=773,t.overlinedashed=65097,t.overlinedblwavy=65100,t.overlinewavy=65099,t.overscore=175,t.ovowelsignbengali=2507,t.ovowelsigndeva=2379,t.ovowelsigngujarati=2763,t.p=112,t.paampssquare=13184,t.paasentosquare=13099,t.pabengali=2474,t.pacute=7765,t.padeva=2346,t.pagedown=8671,t.pageup=8670,t.pagujarati=2730,t.pagurmukhi=2602,t.pahiragana=12401,t.paiyannoithai=3631,t.pakatakana=12497,t.palatalizationcyrilliccmb=1156,t.palochkacyrillic=1216,t.pansioskorean=12671,t.paragraph=182,t.parallel=8741,t.parenleft=40,t.parenleftaltonearabic=64830,t.parenleftbt=63725,t.parenleftex=63724,t.parenleftinferior=8333,t.parenleftmonospace=65288,t.parenleftsmall=65113,t.parenleftsuperior=8317,t.parenlefttp=63723,t.parenleftvertical=65077,t.parenright=41,t.parenrightaltonearabic=64831,t.parenrightbt=63736,t.parenrightex=63735,t.parenrightinferior=8334,t.parenrightmonospace=65289,t.parenrightsmall=65114,t.parenrightsuperior=8318,t.parenrighttp=63734,t.parenrightvertical=65078,t.partialdiff=8706,t.paseqhebrew=1472,t.pashtahebrew=1433,t.pasquare=13225,t.patah=1463,t.patah11=1463,t.patah1d=1463,t.patah2a=1463,t.patahhebrew=1463,t.patahnarrowhebrew=1463,t.patahquarterhebrew=1463,t.patahwidehebrew=1463,t.pazerhebrew=1441,t.pbopomofo=12550,t.pcircle=9439,t.pdotaccent=7767,t.pe=1508,t.pecyrillic=1087,t.pedagesh=64324,t.pedageshhebrew=64324,t.peezisquare=13115,t.pefinaldageshhebrew=64323,t.peharabic=1662,t.peharmenian=1402,t.pehebrew=1508,t.pehfinalarabic=64343,t.pehinitialarabic=64344,t.pehiragana=12410,t.pehmedialarabic=64345,t.pekatakana=12506,t.pemiddlehookcyrillic=1191,t.perafehebrew=64334,t.percent=37,t.percentarabic=1642,t.percentmonospace=65285,t.percentsmall=65130,t.period=46,t.periodarmenian=1417,t.periodcentered=183,t.periodhalfwidth=65377,t.periodinferior=63207,t.periodmonospace=65294,t.periodsmall=65106,t.periodsuperior=63208,t.perispomenigreekcmb=834,t.perpendicular=8869,t.perthousand=8240,t.peseta=8359,t.pfsquare=13194,t.phabengali=2475,t.phadeva=2347,t.phagujarati=2731,t.phagurmukhi=2603,t.phi=966,t.phi1=981,t.phieuphacirclekorean=12922,t.phieuphaparenkorean=12826,t.phieuphcirclekorean=12908,t.phieuphkorean=12621,t.phieuphparenkorean=12812,t.philatin=632,t.phinthuthai=3642,t.phisymbolgreek=981,t.phook=421,t.phophanthai=3614,t.phophungthai=3612,t.phosamphaothai=3616,t.pi=960,t.pieupacirclekorean=12915,t.pieupaparenkorean=12819,t.pieupcieuckorean=12662,t.pieupcirclekorean=12901,t.pieupkiyeokkorean=12658,t.pieupkorean=12610,t.pieupparenkorean=12805,t.pieupsioskiyeokkorean=12660,t.pieupsioskorean=12612,t.pieupsiostikeutkorean=12661,t.pieupthieuthkorean=12663,t.pieuptikeutkorean=12659,t.pihiragana=12404,t.pikatakana=12500,t.pisymbolgreek=982,t.piwrarmenian=1411,t.plus=43,t.plusbelowcmb=799,t.pluscircle=8853,t.plusminus=177,t.plusmod=726,t.plusmonospace=65291,t.plussmall=65122,t.plussuperior=8314,t.pmonospace=65360,t.pmsquare=13272,t.pohiragana=12413,t.pointingindexdownwhite=9759,t.pointingindexleftwhite=9756,t.pointingindexrightwhite=9758,t.pointingindexupwhite=9757,t.pokatakana=12509,t.poplathai=3611,t.postalmark=12306,t.postalmarkface=12320,t.pparen=9387,t.precedes=8826,t.prescription=8478,t.primemod=697,t.primereversed=8245,t.product=8719,t.projective=8965,t.prolongedkana=12540,t.propellor=8984,t.propersubset=8834,t.propersuperset=8835,t.proportion=8759,t.proportional=8733,t.psi=968,t.psicyrillic=1137,t.psilipneumatacyrilliccmb=1158,t.pssquare=13232,t.puhiragana=12407,t.pukatakana=12503,t.pvsquare=13236,t.pwsquare=13242,t.q=113,t.qadeva=2392,t.qadmahebrew=1448,t.qafarabic=1602,t.qaffinalarabic=65238,t.qafinitialarabic=65239,t.qafmedialarabic=65240,t.qamats=1464,t.qamats10=1464,t.qamats1a=1464,t.qamats1c=1464,t.qamats27=1464,t.qamats29=1464,t.qamats33=1464,t.qamatsde=1464,t.qamatshebrew=1464,t.qamatsnarrowhebrew=1464,t.qamatsqatanhebrew=1464,t.qamatsqatannarrowhebrew=1464,t.qamatsqatanquarterhebrew=1464,t.qamatsqatanwidehebrew=1464,t.qamatsquarterhebrew=1464,t.qamatswidehebrew=1464,t.qarneyparahebrew=1439,t.qbopomofo=12561,t.qcircle=9440,t.qhook=672,t.qmonospace=65361,t.qof=1511,t.qofdagesh=64327,t.qofdageshhebrew=64327,t.qofhebrew=1511,t.qparen=9388,t.quarternote=9833,t.qubuts=1467,t.qubuts18=1467,t.qubuts25=1467,t.qubuts31=1467,t.qubutshebrew=1467,t.qubutsnarrowhebrew=1467,t.qubutsquarterhebrew=1467,t.qubutswidehebrew=1467,t.question=63,t.questionarabic=1567,t.questionarmenian=1374,t.questiondown=191,t.questiondownsmall=63423,t.questiongreek=894,t.questionmonospace=65311,t.questionsmall=63295,t.quotedbl=34,t.quotedblbase=8222,t.quotedblleft=8220,t.quotedblmonospace=65282,t.quotedblprime=12318,t.quotedblprimereversed=12317,t.quotedblright=8221,t.quoteleft=8216,t.quoteleftreversed=8219,t.quotereversed=8219,t.quoteright=8217,t.quoterightn=329,t.quotesinglbase=8218,t.quotesingle=39,t.quotesinglemonospace=65287,t.r=114,t.raarmenian=1404,t.rabengali=2480,t.racute=341,t.radeva=2352,t.radical=8730,t.radicalex=63717,t.radoverssquare=13230,t.radoverssquaredsquare=13231,t.radsquare=13229,t.rafe=1471,t.rafehebrew=1471,t.ragujarati=2736,t.ragurmukhi=2608,t.rahiragana=12425,t.rakatakana=12521,t.rakatakanahalfwidth=65431,t.ralowerdiagonalbengali=2545,t.ramiddlediagonalbengali=2544,t.ramshorn=612,t.ratio=8758,t.rbopomofo=12566,t.rcaron=345,t.rcedilla=343,t.rcircle=9441,t.rcommaaccent=343,t.rdblgrave=529,t.rdotaccent=7769,t.rdotbelow=7771,t.rdotbelowmacron=7773,t.referencemark=8251,t.reflexsubset=8838,t.reflexsuperset=8839,t.registered=174,t.registersans=63720,t.registerserif=63194,t.reharabic=1585,t.reharmenian=1408,t.rehfinalarabic=65198,t.rehiragana=12428,t.rekatakana=12524,t.rekatakanahalfwidth=65434,t.resh=1512,t.reshdageshhebrew=64328,t.reshhebrew=1512,t.reversedtilde=8765,t.reviahebrew=1431,t.reviamugrashhebrew=1431;t.revlogicalnot=8976,t.rfishhook=638,t.rfishhookreversed=639,t.rhabengali=2525,t.rhadeva=2397,t.rho=961,t.rhook=637,t.rhookturned=635,t.rhookturnedsuperior=693,t.rhosymbolgreek=1009,t.rhotichookmod=734,t.rieulacirclekorean=12913,t.rieulaparenkorean=12817,t.rieulcirclekorean=12899,t.rieulhieuhkorean=12608,t.rieulkiyeokkorean=12602,t.rieulkiyeoksioskorean=12649,t.rieulkorean=12601,t.rieulmieumkorean=12603,t.rieulpansioskorean=12652,t.rieulparenkorean=12803,t.rieulphieuphkorean=12607,t.rieulpieupkorean=12604,t.rieulpieupsioskorean=12651,t.rieulsioskorean=12605,t.rieulthieuthkorean=12606,t.rieultikeutkorean=12650,t.rieulyeorinhieuhkorean=12653,t.rightangle=8735,t.righttackbelowcmb=793,t.righttriangle=8895,t.rihiragana=12426,t.rikatakana=12522,t.rikatakanahalfwidth=65432,t.ring=730,t.ringbelowcmb=805,t.ringcmb=778,t.ringhalfleft=703,t.ringhalfleftarmenian=1369,t.ringhalfleftbelowcmb=796,t.ringhalfleftcentered=723,t.ringhalfright=702,t.ringhalfrightbelowcmb=825,t.ringhalfrightcentered=722,t.rinvertedbreve=531,t.rittorusquare=13137,t.rlinebelow=7775,t.rlongleg=636,t.rlonglegturned=634,t.rmonospace=65362,t.rohiragana=12429,t.rokatakana=12525,t.rokatakanahalfwidth=65435,t.roruathai=3619,t.rparen=9389,t.rrabengali=2524,t.rradeva=2353,t.rragurmukhi=2652,t.rreharabic=1681,t.rrehfinalarabic=64397,t.rrvocalicbengali=2528,t.rrvocalicdeva=2400,t.rrvocalicgujarati=2784,t.rrvocalicvowelsignbengali=2500,t.rrvocalicvowelsigndeva=2372,t.rrvocalicvowelsigngujarati=2756,t.rsuperior=63217,t.rtblock=9616,t.rturned=633,t.rturnedsuperior=692,t.ruhiragana=12427,t.rukatakana=12523,t.rukatakanahalfwidth=65433,t.rupeemarkbengali=2546,t.rupeesignbengali=2547,t.rupiah=63197,t.ruthai=3620,t.rvocalicbengali=2443,t.rvocalicdeva=2315,t.rvocalicgujarati=2699,t.rvocalicvowelsignbengali=2499,t.rvocalicvowelsigndeva=2371,t.rvocalicvowelsigngujarati=2755,t.s=115,t.sabengali=2488,t.sacute=347,t.sacutedotaccent=7781,t.sadarabic=1589,t.sadeva=2360,t.sadfinalarabic=65210,t.sadinitialarabic=65211,t.sadmedialarabic=65212,t.sagujarati=2744,t.sagurmukhi=2616,t.sahiragana=12373,t.sakatakana=12469,t.sakatakanahalfwidth=65403,t.sallallahoualayhewasallamarabic=65018,t.samekh=1505,t.samekhdagesh=64321,t.samekhdageshhebrew=64321,t.samekhhebrew=1505,t.saraaathai=3634,t.saraaethai=3649,t.saraaimaimalaithai=3652,t.saraaimaimuanthai=3651,t.saraamthai=3635,t.saraathai=3632,t.saraethai=3648,t.saraiileftthai=63622,t.saraiithai=3637,t.saraileftthai=63621,t.saraithai=3636,t.saraothai=3650,t.saraueeleftthai=63624,t.saraueethai=3639,t.saraueleftthai=63623,t.sarauethai=3638,t.sarauthai=3640,t.sarauuthai=3641,t.sbopomofo=12569,t.scaron=353,t.scarondotaccent=7783,t.scedilla=351,t.schwa=601,t.schwacyrillic=1241,t.schwadieresiscyrillic=1243,t.schwahook=602,t.scircle=9442,t.scircumflex=349,t.scommaaccent=537,t.sdotaccent=7777,t.sdotbelow=7779,t.sdotbelowdotaccent=7785,t.seagullbelowcmb=828,t.second=8243,t.secondtonechinese=714,t.section=167,t.seenarabic=1587,t.seenfinalarabic=65202,t.seeninitialarabic=65203,t.seenmedialarabic=65204,t.segol=1462,t.segol13=1462,t.segol1f=1462,t.segol2c=1462,t.segolhebrew=1462,t.segolnarrowhebrew=1462,t.segolquarterhebrew=1462,t.segoltahebrew=1426,t.segolwidehebrew=1462,t.seharmenian=1405,t.sehiragana=12379,t.sekatakana=12475,t.sekatakanahalfwidth=65406,t.semicolon=59,t.semicolonarabic=1563,t.semicolonmonospace=65307,t.semicolonsmall=65108,t.semivoicedmarkkana=12444,t.semivoicedmarkkanahalfwidth=65439,t.sentisquare=13090,t.sentosquare=13091,t.seven=55,t.sevenarabic=1639,t.sevenbengali=2541,t.sevencircle=9318,t.sevencircleinversesansserif=10128,t.sevendeva=2413,t.seveneighths=8542,t.sevengujarati=2797,t.sevengurmukhi=2669,t.sevenhackarabic=1639,t.sevenhangzhou=12327,t.sevenideographicparen=12838,t.seveninferior=8327,t.sevenmonospace=65303,t.sevenoldstyle=63287,t.sevenparen=9338,t.sevenperiod=9358,t.sevenpersian=1783,t.sevenroman=8566,t.sevensuperior=8311,t.seventeencircle=9328,t.seventeenparen=9348,t.seventeenperiod=9368,t.seventhai=3671,t.sfthyphen=173,t.shaarmenian=1399,t.shabengali=2486,t.shacyrillic=1096,t.shaddaarabic=1617,t.shaddadammaarabic=64609,t.shaddadammatanarabic=64606,t.shaddafathaarabic=64608,t.shaddakasraarabic=64610,t.shaddakasratanarabic=64607,t.shade=9618,t.shadedark=9619,t.shadelight=9617,t.shademedium=9618,t.shadeva=2358,t.shagujarati=2742,t.shagurmukhi=2614,t.shalshelethebrew=1427,t.shbopomofo=12565,t.shchacyrillic=1097,t.sheenarabic=1588,t.sheenfinalarabic=65206,t.sheeninitialarabic=65207,t.sheenmedialarabic=65208,t.sheicoptic=995,t.sheqel=8362,t.sheqelhebrew=8362,t.sheva=1456,t.sheva115=1456,t.sheva15=1456,t.sheva22=1456,t.sheva2e=1456,t.shevahebrew=1456,t.shevanarrowhebrew=1456,t.shevaquarterhebrew=1456,t.shevawidehebrew=1456,t.shhacyrillic=1211,t.shimacoptic=1005,t.shin=1513,t.shindagesh=64329,t.shindageshhebrew=64329,t.shindageshshindot=64300,t.shindageshshindothebrew=64300,t.shindageshsindot=64301,t.shindageshsindothebrew=64301,t.shindothebrew=1473,t.shinhebrew=1513,t.shinshindot=64298,t.shinshindothebrew=64298,t.shinsindot=64299,t.shinsindothebrew=64299,t.shook=642,t.sigma=963,t.sigma1=962,t.sigmafinal=962,t.sigmalunatesymbolgreek=1010,t.sihiragana=12375,t.sikatakana=12471,t.sikatakanahalfwidth=65404,t.siluqhebrew=1469,t.siluqlefthebrew=1469,t.similar=8764,t.sindothebrew=1474,t.siosacirclekorean=12916,t.siosaparenkorean=12820,t.sioscieuckorean=12670,t.sioscirclekorean=12902,t.sioskiyeokkorean=12666,t.sioskorean=12613,t.siosnieunkorean=12667,t.siosparenkorean=12806,t.siospieupkorean=12669,t.siostikeutkorean=12668,t.six=54,t.sixarabic=1638,t.sixbengali=2540,t.sixcircle=9317,t.sixcircleinversesansserif=10127,t.sixdeva=2412,t.sixgujarati=2796,t.sixgurmukhi=2668,t.sixhackarabic=1638,t.sixhangzhou=12326,t.sixideographicparen=12837,t.sixinferior=8326,t.sixmonospace=65302,t.sixoldstyle=63286,t.sixparen=9337,t.sixperiod=9357,t.sixpersian=1782,t.sixroman=8565,t.sixsuperior=8310,t.sixteencircle=9327,t.sixteencurrencydenominatorbengali=2553,t.sixteenparen=9347,t.sixteenperiod=9367,t.sixthai=3670,t.slash=47,t.slashmonospace=65295,t.slong=383,t.slongdotaccent=7835,t.smileface=9786,t.smonospace=65363,t.sofpasuqhebrew=1475,t.softhyphen=173,t.softsigncyrillic=1100,t.sohiragana=12381,t.sokatakana=12477,t.sokatakanahalfwidth=65407,t.soliduslongoverlaycmb=824,t.solidusshortoverlaycmb=823,t.sorusithai=3625,t.sosalathai=3624,t.sosothai=3595,t.sosuathai=3626,t.space=32,t.spacehackarabic=32,t.spade=9824,t.spadesuitblack=9824,t.spadesuitwhite=9828,t.sparen=9390,t.squarebelowcmb=827,t.squarecc=13252,t.squarecm=13213,t.squarediagonalcrosshatchfill=9641,t.squarehorizontalfill=9636,t.squarekg=13199,t.squarekm=13214,t.squarekmcapital=13262,t.squareln=13265,t.squarelog=13266,t.squaremg=13198,t.squaremil=13269,t.squaremm=13212,t.squaremsquared=13217,t.squareorthogonalcrosshatchfill=9638,t.squareupperlefttolowerrightfill=9639,t.squareupperrighttolowerleftfill=9640,t.squareverticalfill=9637,t.squarewhitewithsmallblack=9635,t.srsquare=13275,t.ssabengali=2487,t.ssadeva=2359,t.ssagujarati=2743,t.ssangcieuckorean=12617,t.ssanghieuhkorean=12677,t.ssangieungkorean=12672,t.ssangkiyeokkorean=12594,t.ssangnieunkorean=12645,t.ssangpieupkorean=12611,t.ssangsioskorean=12614,t.ssangtikeutkorean=12600,t.ssuperior=63218,t.sterling=163,t.sterlingmonospace=65505,t.strokelongoverlaycmb=822,t.strokeshortoverlaycmb=821,t.subset=8834,t.subsetnotequal=8842,t.subsetorequal=8838,t.succeeds=8827,t.suchthat=8715,t.suhiragana=12377,t.sukatakana=12473,t.sukatakanahalfwidth=65405,t.sukunarabic=1618,t.summation=8721,t.sun=9788,t.superset=8835,t.supersetnotequal=8843,t.supersetorequal=8839,t.svsquare=13276,t.syouwaerasquare=13180,t.t=116,t.tabengali=2468,t.tackdown=8868,t.tackleft=8867,t.tadeva=2340,t.tagujarati=2724,t.tagurmukhi=2596,t.taharabic=1591,t.tahfinalarabic=65218,t.tahinitialarabic=65219,t.tahiragana=12383,t.tahmedialarabic=65220,t.taisyouerasquare=13181,t.takatakana=12479,t.takatakanahalfwidth=65408,t.tatweelarabic=1600,t.tau=964,t.tav=1514,t.tavdages=64330,t.tavdagesh=64330,t.tavdageshhebrew=64330,t.tavhebrew=1514,t.tbar=359,t.tbopomofo=12554,t.tcaron=357,t.tccurl=680,t.tcedilla=355,t.tcheharabic=1670,t.tchehfinalarabic=64379,t.tchehinitialarabic=64380,t.tchehmedialarabic=64381,t.tcircle=9443,t.tcircumflexbelow=7793,t.tcommaaccent=355,t.tdieresis=7831,t.tdotaccent=7787,t.tdotbelow=7789,t.tecyrillic=1090,t.tedescendercyrillic=1197,t.teharabic=1578,t.tehfinalarabic=65174,t.tehhahinitialarabic=64674,t.tehhahisolatedarabic=64524,t.tehinitialarabic=65175,t.tehiragana=12390,t.tehjeeminitialarabic=64673,t.tehjeemisolatedarabic=64523,t.tehmarbutaarabic=1577,t.tehmarbutafinalarabic=65172,t.tehmedialarabic=65176,t.tehmeeminitialarabic=64676,t.tehmeemisolatedarabic=64526,t.tehnoonfinalarabic=64627,t.tekatakana=12486,t.tekatakanahalfwidth=65411,t.telephone=8481,t.telephoneblack=9742,t.telishagedolahebrew=1440,t.telishaqetanahebrew=1449,t.tencircle=9321,t.tenideographicparen=12841,t.tenparen=9341,t.tenperiod=9361,t.tenroman=8569,t.tesh=679,t.tet=1496,t.tetdagesh=64312,t.tetdageshhebrew=64312,t.tethebrew=1496,t.tetsecyrillic=1205,t.tevirhebrew=1435,t.tevirlefthebrew=1435,t.thabengali=2469,t.thadeva=2341,t.thagujarati=2725,t.thagurmukhi=2597,t.thalarabic=1584,t.thalfinalarabic=65196,t.thanthakhatlowleftthai=63640,t.thanthakhatlowrightthai=63639,t.thanthakhatthai=3660,t.thanthakhatupperleftthai=63638,t.theharabic=1579,t.thehfinalarabic=65178,t.thehinitialarabic=65179,t.thehmedialarabic=65180,t.thereexists=8707,t.therefore=8756,t.theta=952,t.theta1=977,t.thetasymbolgreek=977,t.thieuthacirclekorean=12921,t.thieuthaparenkorean=12825,t.thieuthcirclekorean=12907,t.thieuthkorean=12620,t.thieuthparenkorean=12811,t.thirteencircle=9324,t.thirteenparen=9344,t.thirteenperiod=9364,t.thonangmonthothai=3601,t.thook=429,t.thophuthaothai=3602,t.thorn=254,t.thothahanthai=3607,t.thothanthai=3600,t.thothongthai=3608,t.thothungthai=3606,t.thousandcyrillic=1154,t.thousandsseparatorarabic=1644,t.thousandsseparatorpersian=1644,t.three=51,t.threearabic=1635,t.threebengali=2537,t.threecircle=9314,t.threecircleinversesansserif=10124,t.threedeva=2409,t.threeeighths=8540,t.threegujarati=2793,t.threegurmukhi=2665,t.threehackarabic=1635,t.threehangzhou=12323,t.threeideographicparen=12834,t.threeinferior=8323,t.threemonospace=65299,t.threenumeratorbengali=2550,t.threeoldstyle=63283,t.threeparen=9334,t.threeperiod=9354,t.threepersian=1779,t.threequarters=190,t.threequartersemdash=63198,t.threeroman=8562,t.threesuperior=179,t.threethai=3667,t.thzsquare=13204,t.tihiragana=12385,t.tikatakana=12481,t.tikatakanahalfwidth=65409,t.tikeutacirclekorean=12912,t.tikeutaparenkorean=12816,t.tikeutcirclekorean=12898,t.tikeutkorean=12599,t.tikeutparenkorean=12802,t.tilde=732,t.tildebelowcmb=816,t.tildecmb=771,t.tildecomb=771,t.tildedoublecmb=864,t.tildeoperator=8764,t.tildeoverlaycmb=820,t.tildeverticalcmb=830,t.timescircle=8855,t.tipehahebrew=1430,t.tipehalefthebrew=1430,t.tippigurmukhi=2672,t.titlocyrilliccmb=1155,t.tiwnarmenian=1407,t.tlinebelow=7791,t.tmonospace=65364,t.toarmenian=1385,t.tohiragana=12392,t.tokatakana=12488,t.tokatakanahalfwidth=65412,t.tonebarextrahighmod=741,t.tonebarextralowmod=745,t.tonebarhighmod=742,t.tonebarlowmod=744,t.tonebarmidmod=743,t.tonefive=445,t.tonesix=389,t.tonetwo=424,t.tonos=900,t.tonsquare=13095,t.topatakthai=3599,t.tortoiseshellbracketleft=12308,t.tortoiseshellbracketleftsmall=65117,t.tortoiseshellbracketleftvertical=65081,t.tortoiseshellbracketright=12309,t.tortoiseshellbracketrightsmall=65118,t.tortoiseshellbracketrightvertical=65082,t.totaothai=3605,t.tpalatalhook=427,t.tparen=9391,t.trademark=8482,t.trademarksans=63722,t.trademarkserif=63195,t.tretroflexhook=648,t.triagdn=9660,t.triaglf=9668,t.triagrt=9658,t.triagup=9650,t.ts=678,t.tsadi=1510,t.tsadidagesh=64326,t.tsadidageshhebrew=64326,t.tsadihebrew=1510,t.tsecyrillic=1094,t.tsere=1461,t.tsere12=1461,t.tsere1e=1461,t.tsere2b=1461,t.tserehebrew=1461,t.tserenarrowhebrew=1461,t.tserequarterhebrew=1461,t.tserewidehebrew=1461,t.tshecyrillic=1115,t.tsuperior=63219,t.ttabengali=2463,t.ttadeva=2335,t.ttagujarati=2719,t.ttagurmukhi=2591,t.tteharabic=1657,t.ttehfinalarabic=64359,t.ttehinitialarabic=64360,t.ttehmedialarabic=64361,t.tthabengali=2464,t.tthadeva=2336,t.tthagujarati=2720,t.tthagurmukhi=2592,t.tturned=647,t.tuhiragana=12388,t.tukatakana=12484,t.tukatakanahalfwidth=65410,t.tusmallhiragana=12387,t.tusmallkatakana=12483,t.tusmallkatakanahalfwidth=65391,t.twelvecircle=9323,t.twelveparen=9343,t.twelveperiod=9363,t.twelveroman=8571,t.twentycircle=9331,t.twentyhangzhou=21316,t.twentyparen=9351,t.twentyperiod=9371,t.two=50,t.twoarabic=1634,t.twobengali=2536,t.twocircle=9313,t.twocircleinversesansserif=10123,t.twodeva=2408,t.twodotenleader=8229,t.twodotleader=8229,t.twodotleadervertical=65072,t.twogujarati=2792,t.twogurmukhi=2664,t.twohackarabic=1634,t.twohangzhou=12322,t.twoideographicparen=12833,t.twoinferior=8322,t.twomonospace=65298,t.twonumeratorbengali=2549,t.twooldstyle=63282,t.twoparen=9333,t.twoperiod=9353,t.twopersian=1778,t.tworoman=8561,t.twostroke=443,t.twosuperior=178,t.twothai=3666,t.twothirds=8532,t.u=117,t.uacute=250,t.ubar=649,t.ubengali=2441,t.ubopomofo=12584,t.ubreve=365,t.ucaron=468,t.ucircle=9444,t.ucircumflex=251,t.ucircumflexbelow=7799,t.ucyrillic=1091,t.udattadeva=2385,t.udblacute=369,t.udblgrave=533,t.udeva=2313,t.udieresis=252,t.udieresisacute=472,t.udieresisbelow=7795,t.udieresiscaron=474,t.udieresiscyrillic=1265,t.udieresisgrave=476,t.udieresismacron=470,t.udotbelow=7909,t.ugrave=249,t.ugujarati=2697,t.ugurmukhi=2569,t.uhiragana=12358,t.uhookabove=7911,t.uhorn=432,t.uhornacute=7913,t.uhorndotbelow=7921,t.uhorngrave=7915,t.uhornhookabove=7917,t.uhorntilde=7919,t.uhungarumlaut=369,t.uhungarumlautcyrillic=1267,t.uinvertedbreve=535,t.ukatakana=12454,t.ukatakanahalfwidth=65395,t.ukcyrillic=1145,t.ukorean=12636,t.umacron=363,t.umacroncyrillic=1263,t.umacrondieresis=7803,t.umatragurmukhi=2625,t.umonospace=65365,t.underscore=95,t.underscoredbl=8215,t.underscoremonospace=65343,t.underscorevertical=65075,t.underscorewavy=65103,t.union=8746,t.universal=8704,t.uogonek=371,t.uparen=9392,t.upblock=9600,t.upperdothebrew=1476,t.upsilon=965,t.upsilondieresis=971,t.upsilondieresistonos=944,t.upsilonlatin=650,t.upsilontonos=973,t.uptackbelowcmb=797,t.uptackmod=724,t.uragurmukhi=2675,t.uring=367,t.ushortcyrillic=1118,t.usmallhiragana=12357,t.usmallkatakana=12453,t.usmallkatakanahalfwidth=65385,t.ustraightcyrillic=1199,t.ustraightstrokecyrillic=1201,t.utilde=361,t.utildeacute=7801,t.utildebelow=7797,t.uubengali=2442,t.uudeva=2314,t.uugujarati=2698,t.uugurmukhi=2570,t.uumatragurmukhi=2626,t.uuvowelsignbengali=2498,t.uuvowelsigndeva=2370,t.uuvowelsigngujarati=2754,t.uvowelsignbengali=2497,t.uvowelsigndeva=2369,t.uvowelsigngujarati=2753,t.v=118,t.vadeva=2357,t.vagujarati=2741,t.vagurmukhi=2613,t.vakatakana=12535,t.vav=1493,t.vavdagesh=64309,t.vavdagesh65=64309,t.vavdageshhebrew=64309,t.vavhebrew=1493,t.vavholam=64331,t.vavholamhebrew=64331,t.vavvavhebrew=1520,t.vavyodhebrew=1521,t.vcircle=9445,t.vdotbelow=7807,t.vecyrillic=1074,t.veharabic=1700,t.vehfinalarabic=64363,t.vehinitialarabic=64364,t.vehmedialarabic=64365,t.vekatakana=12537,t.venus=9792,t.verticalbar=124,t.verticallineabovecmb=781,t.verticallinebelowcmb=809,t.verticallinelowmod=716,t.verticallinemod=712,t.vewarmenian=1406,t.vhook=651,t.vikatakana=12536,t.viramabengali=2509,t.viramadeva=2381,t.viramagujarati=2765,t.visargabengali=2435,t.visargadeva=2307,t.visargagujarati=2691,t.vmonospace=65366,t.voarmenian=1400,t.voicediterationhiragana=12446,t.voicediterationkatakana=12542,t.voicedmarkkana=12443,t.voicedmarkkanahalfwidth=65438,t.vokatakana=12538,t.vparen=9393,t.vtilde=7805,t.vturned=652,t.vuhiragana=12436,t.vukatakana=12532,t.w=119,t.wacute=7811,t.waekorean=12633,t.wahiragana=12431,t.wakatakana=12527,t.wakatakanahalfwidth=65436,t.wakorean=12632,t.wasmallhiragana=12430,t.wasmallkatakana=12526,t.wattosquare=13143,t.wavedash=12316,t.wavyunderscorevertical=65076,t.wawarabic=1608,t.wawfinalarabic=65262,t.wawhamzaabovearabic=1572,t.wawhamzaabovefinalarabic=65158,t.wbsquare=13277,t.wcircle=9446,t.wcircumflex=373,t.wdieresis=7813,t.wdotaccent=7815,t.wdotbelow=7817,t.wehiragana=12433,t.weierstrass=8472,t.wekatakana=12529,t.wekorean=12638,t.weokorean=12637,t.wgrave=7809,t.whitebullet=9702,t.whitecircle=9675,t.whitecircleinverse=9689,t.whitecornerbracketleft=12302,t.whitecornerbracketleftvertical=65091,t.whitecornerbracketright=12303,t.whitecornerbracketrightvertical=65092,t.whitediamond=9671,t.whitediamondcontainingblacksmalldiamond=9672,t.whitedownpointingsmalltriangle=9663,t.whitedownpointingtriangle=9661,t.whiteleftpointingsmalltriangle=9667,t.whiteleftpointingtriangle=9665,t.whitelenticularbracketleft=12310,t.whitelenticularbracketright=12311,t.whiterightpointingsmalltriangle=9657,t.whiterightpointingtriangle=9655;t.whitesmallsquare=9643,t.whitesmilingface=9786,t.whitesquare=9633,t.whitestar=9734,t.whitetelephone=9743,t.whitetortoiseshellbracketleft=12312,t.whitetortoiseshellbracketright=12313,t.whiteuppointingsmalltriangle=9653,t.whiteuppointingtriangle=9651,t.wihiragana=12432,t.wikatakana=12528,t.wikorean=12639,t.wmonospace=65367,t.wohiragana=12434,t.wokatakana=12530,t.wokatakanahalfwidth=65382,t.won=8361,t.wonmonospace=65510,t.wowaenthai=3623,t.wparen=9394,t.wring=7832,t.wsuperior=695,t.wturned=653,t.wynn=447,t.x=120,t.xabovecmb=829,t.xbopomofo=12562,t.xcircle=9447,t.xdieresis=7821,t.xdotaccent=7819,t.xeharmenian=1389,t.xi=958,t.xmonospace=65368,t.xparen=9395,t.xsuperior=739,t.y=121,t.yaadosquare=13134,t.yabengali=2479,t.yacute=253,t.yadeva=2351,t.yaekorean=12626,t.yagujarati=2735,t.yagurmukhi=2607,t.yahiragana=12420,t.yakatakana=12516,t.yakatakanahalfwidth=65428,t.yakorean=12625,t.yamakkanthai=3662,t.yasmallhiragana=12419,t.yasmallkatakana=12515,t.yasmallkatakanahalfwidth=65388,t.yatcyrillic=1123,t.ycircle=9448,t.ycircumflex=375,t.ydieresis=255,t.ydotaccent=7823,t.ydotbelow=7925,t.yeharabic=1610,t.yehbarreearabic=1746,t.yehbarreefinalarabic=64431,t.yehfinalarabic=65266,t.yehhamzaabovearabic=1574,t.yehhamzaabovefinalarabic=65162,t.yehhamzaaboveinitialarabic=65163,t.yehhamzaabovemedialarabic=65164,t.yehinitialarabic=65267,t.yehmedialarabic=65268,t.yehmeeminitialarabic=64733,t.yehmeemisolatedarabic=64600,t.yehnoonfinalarabic=64660,t.yehthreedotsbelowarabic=1745,t.yekorean=12630,t.yen=165,t.yenmonospace=65509,t.yeokorean=12629,t.yeorinhieuhkorean=12678,t.yerahbenyomohebrew=1450,t.yerahbenyomolefthebrew=1450,t.yericyrillic=1099,t.yerudieresiscyrillic=1273,t.yesieungkorean=12673,t.yesieungpansioskorean=12675,t.yesieungsioskorean=12674,t.yetivhebrew=1434,t.ygrave=7923,t.yhook=436,t.yhookabove=7927,t.yiarmenian=1397,t.yicyrillic=1111,t.yikorean=12642,t.yinyang=9775,t.yiwnarmenian=1410,t.ymonospace=65369,t.yod=1497,t.yoddagesh=64313,t.yoddageshhebrew=64313,t.yodhebrew=1497,t.yodyodhebrew=1522,t.yodyodpatahhebrew=64287,t.yohiragana=12424,t.yoikorean=12681,t.yokatakana=12520,t.yokatakanahalfwidth=65430,t.yokorean=12635,t.yosmallhiragana=12423,t.yosmallkatakana=12519,t.yosmallkatakanahalfwidth=65390,t.yotgreek=1011,t.yoyaekorean=12680,t.yoyakorean=12679,t.yoyakthai=3618,t.yoyingthai=3597,t.yparen=9396,t.ypogegrammeni=890,t.ypogegrammenigreekcmb=837,t.yr=422,t.yring=7833,t.ysuperior=696,t.ytilde=7929,t.yturned=654,t.yuhiragana=12422,t.yuikorean=12684,t.yukatakana=12518,t.yukatakanahalfwidth=65429,t.yukorean=12640,t.yusbigcyrillic=1131,t.yusbigiotifiedcyrillic=1133,t.yuslittlecyrillic=1127,t.yuslittleiotifiedcyrillic=1129,t.yusmallhiragana=12421,t.yusmallkatakana=12517,t.yusmallkatakanahalfwidth=65389,t.yuyekorean=12683,t.yuyeokorean=12682,t.yyabengali=2527,t.yyadeva=2399,t.z=122,t.zaarmenian=1382,t.zacute=378,t.zadeva=2395,t.zagurmukhi=2651,t.zaharabic=1592,t.zahfinalarabic=65222,t.zahinitialarabic=65223,t.zahiragana=12374,t.zahmedialarabic=65224,t.zainarabic=1586,t.zainfinalarabic=65200,t.zakatakana=12470,t.zaqefgadolhebrew=1429,t.zaqefqatanhebrew=1428,t.zarqahebrew=1432,t.zayin=1494,t.zayindagesh=64310,t.zayindageshhebrew=64310,t.zayinhebrew=1494,t.zbopomofo=12567,t.zcaron=382,t.zcircle=9449,t.zcircumflex=7825,t.zcurl=657,t.zdot=380,t.zdotaccent=380,t.zdotbelow=7827,t.zecyrillic=1079,t.zedescendercyrillic=1177,t.zedieresiscyrillic=1247,t.zehiragana=12380,t.zekatakana=12476,t.zero=48,t.zeroarabic=1632,t.zerobengali=2534,t.zerodeva=2406,t.zerogujarati=2790,t.zerogurmukhi=2662,t.zerohackarabic=1632,t.zeroinferior=8320,t.zeromonospace=65296,t.zerooldstyle=63280,t.zeropersian=1776,t.zerosuperior=8304,t.zerothai=3664,t.zerowidthjoiner=65279,t.zerowidthnonjoiner=8204,t.zerowidthspace=8203,t.zeta=950,t.zhbopomofo=12563,t.zhearmenian=1386,t.zhebrevecyrillic=1218,t.zhecyrillic=1078,t.zhedescendercyrillic=1175,t.zhedieresiscyrillic=1245,t.zihiragana=12376,t.zikatakana=12472,t.zinorhebrew=1454,t.zlinebelow=7829,t.zmonospace=65370,t.zohiragana=12382,t.zokatakana=12478,t.zparen=9397,t.zretroflexhook=656,t.zstroke=438,t.zuhiragana=12378,t.zukatakana=12474,t[".notdef"]=0,t.angbracketleftbig=9001,t.angbracketleftBig=9001,t.angbracketleftbigg=9001,t.angbracketleftBigg=9001,t.angbracketrightBig=9002,t.angbracketrightbig=9002,t.angbracketrightBigg=9002,t.angbracketrightbigg=9002,t.arrowhookleft=8618,t.arrowhookright=8617,t.arrowlefttophalf=8636,t.arrowleftbothalf=8637,t.arrownortheast=8599,t.arrownorthwest=8598,t.arrowrighttophalf=8640,t.arrowrightbothalf=8641,t.arrowsoutheast=8600,t.arrowsouthwest=8601,t.backslashbig=8726,t.backslashBig=8726,t.backslashBigg=8726,t.backslashbigg=8726,t.bardbl=8214,t.bracehtipdownleft=65079,t.bracehtipdownright=65079,t.bracehtipupleft=65080,t.bracehtipupright=65080,t.braceleftBig=123,t.braceleftbig=123,t.braceleftbigg=123,t.braceleftBigg=123,t.bracerightBig=125,t.bracerightbig=125,t.bracerightbigg=125,t.bracerightBigg=125,t.bracketleftbig=91,t.bracketleftBig=91,t.bracketleftbigg=91,t.bracketleftBigg=91,t.bracketrightBig=93,t.bracketrightbig=93,t.bracketrightbigg=93,t.bracketrightBigg=93,t.ceilingleftbig=8968,t.ceilingleftBig=8968,t.ceilingleftBigg=8968,t.ceilingleftbigg=8968,t.ceilingrightbig=8969,t.ceilingrightBig=8969,t.ceilingrightbigg=8969,t.ceilingrightBigg=8969,t.circledotdisplay=8857,t.circledottext=8857,t.circlemultiplydisplay=8855,t.circlemultiplytext=8855,t.circleplusdisplay=8853,t.circleplustext=8853,t.contintegraldisplay=8750,t.contintegraltext=8750,t.coproductdisplay=8720,t.coproducttext=8720,t.floorleftBig=8970,t.floorleftbig=8970,t.floorleftbigg=8970,t.floorleftBigg=8970,t.floorrightbig=8971,t.floorrightBig=8971,t.floorrightBigg=8971,t.floorrightbigg=8971,t.hatwide=770,t.hatwider=770,t.hatwidest=770,t.intercal=7488,t.integraldisplay=8747,t.integraltext=8747,t.intersectiondisplay=8898,t.intersectiontext=8898,t.logicalanddisplay=8743,t.logicalandtext=8743,t.logicalordisplay=8744,t.logicalortext=8744,t.parenleftBig=40,t.parenleftbig=40,t.parenleftBigg=40,t.parenleftbigg=40,t.parenrightBig=41,t.parenrightbig=41,t.parenrightBigg=41,t.parenrightbigg=41,t.prime=8242,t.productdisplay=8719,t.producttext=8719,t.radicalbig=8730,t.radicalBig=8730,t.radicalBigg=8730,t.radicalbigg=8730,t.radicalbt=8730,t.radicaltp=8730,t.radicalvertex=8730,t.slashbig=47,t.slashBig=47,t.slashBigg=47,t.slashbigg=47,t.summationdisplay=8721,t.summationtext=8721,t.tildewide=732,t.tildewider=732,t.tildewidest=732,t.uniondisplay=8899,t.unionmultidisplay=8846,t.unionmultitext=8846,t.unionsqdisplay=8852,t.unionsqtext=8852,t.uniontext=8899,t.vextenddouble=8741,t.vextendsingle=8739})),getDingbatsGlyphsUnicode=getLookupTableFactory((function(t){t.space=32,t.a1=9985,t.a2=9986,t.a202=9987,t.a3=9988,t.a4=9742,t.a5=9990,t.a119=9991,t.a118=9992,t.a117=9993,t.a11=9755,t.a12=9758,t.a13=9996,t.a14=9997,t.a15=9998,t.a16=9999,t.a105=1e4,t.a17=10001,t.a18=10002,t.a19=10003,t.a20=10004,t.a21=10005,t.a22=10006,t.a23=10007,t.a24=10008,t.a25=10009,t.a26=10010,t.a27=10011,t.a28=10012,t.a6=10013,t.a7=10014,t.a8=10015,t.a9=10016,t.a10=10017,t.a29=10018,t.a30=10019,t.a31=10020,t.a32=10021,t.a33=10022,t.a34=10023,t.a35=9733,t.a36=10025,t.a37=10026,t.a38=10027,t.a39=10028,t.a40=10029,t.a41=10030,t.a42=10031,t.a43=10032,t.a44=10033,t.a45=10034,t.a46=10035,t.a47=10036,t.a48=10037,t.a49=10038,t.a50=10039,t.a51=10040,t.a52=10041,t.a53=10042,t.a54=10043,t.a55=10044,t.a56=10045,t.a57=10046,t.a58=10047,t.a59=10048,t.a60=10049,t.a61=10050,t.a62=10051,t.a63=10052,t.a64=10053,t.a65=10054,t.a66=10055,t.a67=10056,t.a68=10057,t.a69=10058,t.a70=10059,t.a71=9679,t.a72=10061,t.a73=9632,t.a74=10063,t.a203=10064,t.a75=10065,t.a204=10066,t.a76=9650,t.a77=9660,t.a78=9670,t.a79=10070,t.a81=9687,t.a82=10072,t.a83=10073,t.a84=10074,t.a97=10075,t.a98=10076,t.a99=10077,t.a100=10078,t.a101=10081,t.a102=10082,t.a103=10083,t.a104=10084,t.a106=10085,t.a107=10086,t.a108=10087,t.a112=9827,t.a111=9830,t.a110=9829,t.a109=9824,t.a120=9312,t.a121=9313,t.a122=9314,t.a123=9315,t.a124=9316,t.a125=9317,t.a126=9318,t.a127=9319,t.a128=9320,t.a129=9321,t.a130=10102,t.a131=10103,t.a132=10104,t.a133=10105,t.a134=10106,t.a135=10107,t.a136=10108,t.a137=10109,t.a138=10110,t.a139=10111,t.a140=10112,t.a141=10113,t.a142=10114,t.a143=10115,t.a144=10116,t.a145=10117,t.a146=10118,t.a147=10119,t.a148=10120,t.a149=10121,t.a150=10122,t.a151=10123,t.a152=10124,t.a153=10125,t.a154=10126,t.a155=10127,t.a156=10128,t.a157=10129,t.a158=10130,t.a159=10131,t.a160=10132,t.a161=8594,t.a163=8596,t.a164=8597,t.a196=10136,t.a165=10137,t.a192=10138,t.a166=10139,t.a167=10140,t.a168=10141,t.a169=10142,t.a170=10143,t.a171=10144,t.a172=10145,t.a173=10146,t.a162=10147,t.a174=10148,t.a175=10149,t.a176=10150,t.a177=10151,t.a178=10152,t.a179=10153,t.a193=10154,t.a180=10155,t.a199=10156,t.a181=10157,t.a200=10158,t.a182=10159,t.a201=10161,t.a183=10162,t.a184=10163,t.a197=10164,t.a185=10165,t.a194=10166,t.a198=10167,t.a186=10168,t.a195=10169,t.a187=10170,t.a188=10171,t.a189=10172,t.a190=10173,t.a191=10174,t.a89=10088,t.a90=10089,t.a93=10090,t.a94=10091,t.a91=10092,t.a92=10093,t.a205=10094,t.a85=10095,t.a206=10096,t.a86=10097,t.a87=10098,t.a88=10099,t.a95=10100,t.a96=10101,t[".notdef"]=0}));exports.getGlyphsUnicode=getGlyphsUnicode,exports.getDingbatsGlyphsUnicode=getDingbatsGlyphsUnicode},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!__w_pdfjs_require__(10)&&!__w_pdfjs_require__(11)((function(){return 7!=Object.defineProperty(__w_pdfjs_require__(35)("div"),"a",{get:function get(){return 7}}).a}))},function(module,exports,__w_pdfjs_require__){"use strict";for(var Typed,global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(8),uid=__w_pdfjs_require__(17),TYPED=uid("typed_array"),VIEW=uid("view"),ABV=!(!global.ArrayBuffer||!global.DataView),CONSTR=ABV,i=0,TypedArrayConstructors="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");i<9;)(Typed=global[TypedArrayConstructors[i++]])?(hide(Typed.prototype,TYPED,!0),hide(Typed.prototype,VIEW,!0)):CONSTR=!1;module.exports={ABV:ABV,CONSTR:CONSTR,TYPED:TYPED,VIEW:VIEW}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(18),toLength=__w_pdfjs_require__(14);module.exports=function(it){if(void 0===it)return 0;var number=toInteger(it),length=toLength(number);if(number!==length)throw RangeError("Wrong length!");return length}},function(module,exports,__w_pdfjs_require__){"use strict";var $keys=__w_pdfjs_require__(52),hiddenKeys=__w_pdfjs_require__(40).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports,__w_pdfjs_require__){"use strict";var has=__w_pdfjs_require__(12),toIObject=__w_pdfjs_require__(30),arrayIndexOf=__w_pdfjs_require__(53)(!1),IE_PROTO=__w_pdfjs_require__(39)("IE_PROTO");module.exports=function(object,names){var key,O=toIObject(object),i=0,result=[];for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__w_pdfjs_require__){"use strict";var toIObject=__w_pdfjs_require__(30),toLength=__w_pdfjs_require__(14),toAbsoluteIndex=__w_pdfjs_require__(31);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__w_pdfjs_require__){"use strict";var core=__w_pdfjs_require__(6),global=__w_pdfjs_require__(1),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:core.version,mode:__w_pdfjs_require__(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(module,exports,__w_pdfjs_require__){"use strict";var toObject=__w_pdfjs_require__(19),toAbsoluteIndex=__w_pdfjs_require__(31),toLength=__w_pdfjs_require__(14);module.exports=function fill(value){for(var O=toObject(this),length=toLength(O.length),aLen=arguments.length,index=toAbsoluteIndex(aLen>1?arguments[1]:void 0,length),end=aLen>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},function(module,exports,__w_pdfjs_require__){"use strict";var Iterators=__w_pdfjs_require__(20),ITERATOR=__w_pdfjs_require__(4)("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(9),dPs=__w_pdfjs_require__(90),enumBugKeys=__w_pdfjs_require__(40),IE_PROTO=__w_pdfjs_require__(39)("IE_PROTO"),Empty=function Empty(){},_createDict=function createDict(){var iframeDocument,iframe=__w_pdfjs_require__(35)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__w_pdfjs_require__(58).appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),_createDict=iframeDocument.F;i--;)delete _createDict.prototype[enumBugKeys[i]];return _createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=_createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports,__w_pdfjs_require__){"use strict";var document=__w_pdfjs_require__(1).document;module.exports=document&&document.documentElement},function(module,exports,__w_pdfjs_require__){"use strict";var has=__w_pdfjs_require__(12),toObject=__w_pdfjs_require__(19),IE_PROTO=__w_pdfjs_require__(39)("IE_PROTO"),ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectProto:null}},function(module,exports,__w_pdfjs_require__){"use strict";var classof=__w_pdfjs_require__(32),ITERATOR=__w_pdfjs_require__(4)("iterator"),Iterators=__w_pdfjs_require__(20);module.exports=__w_pdfjs_require__(6).getIteratorMethod=function(it){if(null!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__w_pdfjs_require__){"use strict";var addToUnscopables=__w_pdfjs_require__(94),step=__w_pdfjs_require__(95),Iterators=__w_pdfjs_require__(20),toIObject=__w_pdfjs_require__(30);module.exports=__w_pdfjs_require__(62)(Array,"Array",(function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind}),(function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__w_pdfjs_require__){"use strict";var LIBRARY=__w_pdfjs_require__(21),$export=__w_pdfjs_require__(7),redefine=__w_pdfjs_require__(16),hide=__w_pdfjs_require__(8),Iterators=__w_pdfjs_require__(20),$iterCreate=__w_pdfjs_require__(96),setToStringTag=__w_pdfjs_require__(26),getPrototypeOf=__w_pdfjs_require__(59),ITERATOR=__w_pdfjs_require__(4)("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function returnThis(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function getMethod(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),dP=__w_pdfjs_require__(15),DESCRIPTORS=__w_pdfjs_require__(10),SPECIES=__w_pdfjs_require__(4)("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:!0,get:function get(){return this}})}},function(module,exports,__w_pdfjs_require__){"use strict";var pIE=__w_pdfjs_require__(65),createDesc=__w_pdfjs_require__(29),toIObject=__w_pdfjs_require__(30),toPrimitive=__w_pdfjs_require__(36),has=__w_pdfjs_require__(12),IE8_DOM_DEFINE=__w_pdfjs_require__(48),gOPD=Object.getOwnPropertyDescriptor;exports.f=__w_pdfjs_require__(10)?gOPD:function getOwnPropertyDescriptor(O,P){if(O=toIObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports,__w_pdfjs_require__){"use strict";exports.f={}.propertyIsEnumerable},function(module,exports,__w_pdfjs_require__){"use strict";var classof=__w_pdfjs_require__(32),test={};test[__w_pdfjs_require__(4)("toStringTag")]="z",test+""!="[object z]"&&__w_pdfjs_require__(16)(Object.prototype,"toString",(function toString(){return"[object "+classof(this)+"]"}),!0)},function(module,exports,__w_pdfjs_require__){"use strict";for(var $iterators=__w_pdfjs_require__(61),getKeys=__w_pdfjs_require__(41),redefine=__w_pdfjs_require__(16),global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(8),Iterators=__w_pdfjs_require__(20),wks=__w_pdfjs_require__(4),ITERATOR=wks("iterator"),TO_STRING_TAG=wks("toStringTag"),ArrayValues=Iterators.Array,DOMIterables={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var key,NAME=collections[i],explicit=DOMIterables[NAME],Collection=global[NAME],proto=Collection&&Collection.prototype;if(proto&&(proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues),proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=ArrayValues,explicit))for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],!0)}},function(module,exports,__w_pdfjs_require__){"use strict";var defer,channel,port,ctx=__w_pdfjs_require__(13),invoke=__w_pdfjs_require__(108),html=__w_pdfjs_require__(58),cel=__w_pdfjs_require__(35),global=__w_pdfjs_require__(1),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,counter=0,queue={},run=function run(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id],fn()}},listener=function listener(event){run.call(event.data)};setTask&&clearTask||(setTask=function setImmediate(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);return queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)},defer(counter),counter},clearTask=function clearImmediate(id){delete queue[id]},"process"==__w_pdfjs_require__(25)(process)?defer=function defer(id){process.nextTick(ctx(run,id,1))}:Dispatch&&Dispatch.now?defer=function defer(id){Dispatch.now(ctx(run,id,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=ctx(port.postMessage,port,1)):global.addEventListener&&"function"==typeof postMessage&&!global.importScripts?(defer=function defer(id){global.postMessage(id+"","*")},global.addEventListener("message",listener,!1)):defer="onreadystatechange"in cel("script")?function defer(id){html.appendChild(cel("script")).onreadystatechange=function(){html.removeChild(this),run.call(id)}}:function defer(id){setTimeout(ctx(run,id,1),0)}),module.exports={set:setTask,clear:clearTask}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(exec){try{return{e:!1,v:exec()}}catch(e){return{e:!0,v:e}}}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(9),isObject=__w_pdfjs_require__(3),newPromiseCapability=__w_pdfjs_require__(45);module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3);module.exports=function(it,TYPE){if(!isObject(it)||it._t!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChunkedStreamManager=exports.ChunkedStream=void 0;var _util=__w_pdfjs_require__(0),ChunkedStream=function ChunkedStreamClosure(){function ChunkedStream(length,chunkSize,manager){this.bytes=new Uint8Array(length),this.start=0,this.pos=0,this.end=length,this.chunkSize=chunkSize,this.loadedChunks=[],this.numChunksLoaded=0,this.numChunks=Math.ceil(length/chunkSize),this.manager=manager,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}return ChunkedStream.prototype={getMissingChunks:function ChunkedStream_getMissingChunks(){for(var chunks=[],chunk=0,n=this.numChunks;chunk<n;++chunk)this.loadedChunks[chunk]||chunks.push(chunk);return chunks},getBaseStreams:function ChunkedStream_getBaseStreams(){return[this]},allChunksLoaded:function ChunkedStream_allChunksLoaded(){return this.numChunksLoaded===this.numChunks},onReceiveData:function ChunkedStream_onReceiveData(begin,chunk){var end=begin+chunk.byteLength;if(begin%this.chunkSize!=0)throw new Error("Bad begin offset: "+begin);var length=this.bytes.length;if(end%this.chunkSize!=0&&end!==length)throw new Error("Bad end offset: "+end);this.bytes.set(new Uint8Array(chunk),begin);var curChunk,chunkSize=this.chunkSize,beginChunk=Math.floor(begin/chunkSize),endChunk=Math.floor((end-1)/chunkSize)+1;for(curChunk=beginChunk;curChunk<endChunk;++curChunk)this.loadedChunks[curChunk]||(this.loadedChunks[curChunk]=!0,++this.numChunksLoaded)},onReceiveProgressiveData:function ChunkedStream_onReceiveProgressiveData(data){var position=this.progressiveDataLength,beginChunk=Math.floor(position/this.chunkSize);this.bytes.set(new Uint8Array(data),position),position+=data.byteLength,this.progressiveDataLength=position;var curChunk,endChunk=position>=this.end?this.numChunks:Math.floor(position/this.chunkSize);for(curChunk=beginChunk;curChunk<endChunk;++curChunk)this.loadedChunks[curChunk]||(this.loadedChunks[curChunk]=!0,++this.numChunksLoaded)},ensureByte:function ChunkedStream_ensureByte(pos){var chunk=Math.floor(pos/this.chunkSize);if(chunk!==this.lastSuccessfulEnsureByteChunk){if(!this.loadedChunks[chunk])throw new _util.MissingDataException(pos,pos+1);this.lastSuccessfulEnsureByteChunk=chunk}},ensureRange:function ChunkedStream_ensureRange(begin,end){if(!(begin>=end||end<=this.progressiveDataLength))for(var chunkSize=this.chunkSize,beginChunk=Math.floor(begin/chunkSize),endChunk=Math.floor((end-1)/chunkSize)+1,chunk=beginChunk;chunk<endChunk;++chunk)if(!this.loadedChunks[chunk])throw new _util.MissingDataException(begin,end)},nextEmptyChunk:function ChunkedStream_nextEmptyChunk(beginChunk){for(var chunk,numChunks=this.numChunks,i=0;i<numChunks;++i)if(chunk=(beginChunk+i)%numChunks,!this.loadedChunks[chunk])return chunk;return null},hasChunk:function ChunkedStream_hasChunk(chunk){return!!this.loadedChunks[chunk]},get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function ChunkedStream_getByte(){var pos=this.pos;return pos>=this.end?-1:(this.ensureByte(pos),this.bytes[this.pos++])},getUint16:function ChunkedStream_getUint16(){var b0=this.getByte(),b1=this.getByte();return-1===b0||-1===b1?-1:(b0<<8)+b1},getInt32:function ChunkedStream_getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},getBytes:function ChunkedStream_getBytes(length){var bytes=this.bytes,pos=this.pos,strEnd=this.end;if(!length)return this.ensureRange(pos,strEnd),bytes.subarray(pos,strEnd);var end=pos+length;return end>strEnd&&(end=strEnd),this.ensureRange(pos,end),this.pos=end,bytes.subarray(pos,end)},peekByte:function ChunkedStream_peekByte(){var peekedByte=this.getByte();return this.pos--,peekedByte},peekBytes:function ChunkedStream_peekBytes(length){var bytes=this.getBytes(length);return this.pos-=bytes.length,bytes},getByteRange:function ChunkedStream_getBytes(begin,end){return this.ensureRange(begin,end),this.bytes.subarray(begin,end)},skip:function ChunkedStream_skip(n){n||(n=1),this.pos+=n},reset:function ChunkedStream_reset(){this.pos=this.start},moveStart:function ChunkedStream_moveStart(){this.start=this.pos},makeSubStream:function ChunkedStream_makeSubStream(start,length,dict){function ChunkedStreamSubstream(){}this.ensureRange(start,start+length),ChunkedStreamSubstream.prototype=Object.create(this),ChunkedStreamSubstream.prototype.getMissingChunks=function(){for(var chunkSize=this.chunkSize,beginChunk=Math.floor(this.start/chunkSize),endChunk=Math.floor((this.end-1)/chunkSize)+1,missingChunks=[],chunk=beginChunk;chunk<endChunk;++chunk)this.loadedChunks[chunk]||missingChunks.push(chunk);return missingChunks};var subStream=new ChunkedStreamSubstream;return subStream.pos=subStream.start=start,subStream.end=start+length||this.end,subStream.dict=dict,subStream}},ChunkedStream}(),ChunkedStreamManager=function ChunkedStreamManagerClosure(){function ChunkedStreamManager(pdfNetworkStream,args){var chunkSize=args.rangeChunkSize,length=args.length;this.stream=new ChunkedStream(length,chunkSize,this),this.length=length,this.chunkSize=chunkSize,this.pdfNetworkStream=pdfNetworkStream,this.url=args.url,this.disableAutoFetch=args.disableAutoFetch,this.msgHandler=args.msgHandler,this.currRequestId=0,this.chunksNeededByRequest=Object.create(null),this.requestsByChunk=Object.create(null),this.promisesByRequest=Object.create(null),this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=(0,_util.createPromiseCapability)()}return ChunkedStreamManager.prototype={onLoadedStream:function ChunkedStreamManager_getLoadedStream(){return this._loadedStreamCapability.promise},sendRequest:function ChunkedStreamManager_sendRequest(begin,end){var _this=this,rangeReader=this.pdfNetworkStream.getRangeReader(begin,end);rangeReader.isStreamingSupported||(rangeReader.onProgress=this.onProgress.bind(this));var chunks=[],loaded=0,manager=this;new Promise((function(resolve,reject){rangeReader.read().then((function readChunk(chunk){try{if(!chunk.done){var data=chunk.value;return chunks.push(data),loaded+=(0,_util.arrayByteLength)(data),rangeReader.isStreamingSupported&&manager.onProgress({loaded:loaded}),void rangeReader.read().then(readChunk,reject)}var chunkData=(0,_util.arraysToBytes)(chunks);chunks=null,resolve(chunkData)}catch(e){reject(e)}}),reject)})).then((function(data){_this.aborted||_this.onReceiveData({chunk:data,begin:begin})}))},requestAllChunks:function ChunkedStreamManager_requestAllChunks(){var missingChunks=this.stream.getMissingChunks();return this._requestChunks(missingChunks),this._loadedStreamCapability.promise},_requestChunks:function ChunkedStreamManager_requestChunks(chunks){var i,ii,requestId=this.currRequestId++,chunksNeeded=Object.create(null);for(this.chunksNeededByRequest[requestId]=chunksNeeded,i=0,ii=chunks.length;i<ii;i++)this.stream.hasChunk(chunks[i])||(chunksNeeded[chunks[i]]=!0);if((0,_util.isEmptyObj)(chunksNeeded))return Promise.resolve();var capability=(0,_util.createPromiseCapability)();this.promisesByRequest[requestId]=capability;var chunksToRequest=[];for(var chunk in chunksNeeded)(chunk|=0)in this.requestsByChunk||(this.requestsByChunk[chunk]=[],chunksToRequest.push(chunk)),this.requestsByChunk[chunk].push(requestId);if(!chunksToRequest.length)return capability.promise;var groupedChunksToRequest=this.groupChunks(chunksToRequest);for(i=0;i<groupedChunksToRequest.length;++i){var groupedChunk=groupedChunksToRequest[i],begin=groupedChunk.beginChunk*this.chunkSize,end=Math.min(groupedChunk.endChunk*this.chunkSize,this.length);this.sendRequest(begin,end)}return capability.promise},getStream:function ChunkedStreamManager_getStream(){return this.stream},requestRange:function ChunkedStreamManager_requestRange(begin,end){end=Math.min(end,this.length);for(var beginChunk=this.getBeginChunk(begin),endChunk=this.getEndChunk(end),chunks=[],chunk=beginChunk;chunk<endChunk;++chunk)chunks.push(chunk);return this._requestChunks(chunks)},requestRanges:function ChunkedStreamManager_requestRanges(ranges){ranges=ranges||[];for(var chunksToRequest=[],i=0;i<ranges.length;i++)for(var beginChunk=this.getBeginChunk(ranges[i].begin),endChunk=this.getEndChunk(ranges[i].end),chunk=beginChunk;chunk<endChunk;++chunk)chunksToRequest.indexOf(chunk)<0&&chunksToRequest.push(chunk);return chunksToRequest.sort((function(a,b){return a-b})),this._requestChunks(chunksToRequest)},groupChunks:function ChunkedStreamManager_groupChunks(chunks){for(var groupedChunks=[],beginChunk=-1,prevChunk=-1,i=0;i<chunks.length;++i){var chunk=chunks[i];beginChunk<0&&(beginChunk=chunk),prevChunk>=0&&prevChunk+1!==chunk&&(groupedChunks.push({beginChunk:beginChunk,endChunk:prevChunk+1}),beginChunk=chunk),i+1===chunks.length&&groupedChunks.push({beginChunk:beginChunk,endChunk:chunk+1}),prevChunk=chunk}return groupedChunks},onProgress:function ChunkedStreamManager_onProgress(args){var bytesLoaded=this.stream.numChunksLoaded*this.chunkSize+args.loaded;this.msgHandler.send("DocProgress",{loaded:bytesLoaded,total:this.length})},onReceiveData:function ChunkedStreamManager_onReceiveData(args){var chunk=args.chunk,isProgressive=void 0===args.begin,begin=isProgressive?this.progressiveDataLength:args.begin,end=begin+chunk.byteLength,beginChunk=Math.floor(begin/this.chunkSize),endChunk=end<this.length?Math.floor(end/this.chunkSize):Math.ceil(end/this.chunkSize);isProgressive?(this.stream.onReceiveProgressiveData(chunk),this.progressiveDataLength=end):this.stream.onReceiveData(begin,chunk),this.stream.allChunksLoaded()&&this._loadedStreamCapability.resolve(this.stream);var i,requestId,loadedRequests=[];for(chunk=beginChunk;chunk<endChunk;++chunk){var requestIds=this.requestsByChunk[chunk]||[];for(delete this.requestsByChunk[chunk],i=0;i<requestIds.length;++i){requestId=requestIds[i];var chunksNeeded=this.chunksNeededByRequest[requestId];chunk in chunksNeeded&&delete chunksNeeded[chunk],(0,_util.isEmptyObj)(chunksNeeded)&&loadedRequests.push(requestId)}}if(!this.disableAutoFetch&&(0,_util.isEmptyObj)(this.requestsByChunk)){var nextEmptyChunk;if(1===this.stream.numChunksLoaded){var lastChunk=this.stream.numChunks-1;this.stream.hasChunk(lastChunk)||(nextEmptyChunk=lastChunk)}else nextEmptyChunk=this.stream.nextEmptyChunk(endChunk);Number.isInteger(nextEmptyChunk)&&this._requestChunks([nextEmptyChunk])}for(i=0;i<loadedRequests.length;++i){requestId=loadedRequests[i];var capability=this.promisesByRequest[requestId];delete this.promisesByRequest[requestId],capability.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})},onError:function ChunkedStreamManager_onError(err){this._loadedStreamCapability.reject(err)},getBeginChunk:function ChunkedStreamManager_getBeginChunk(begin){return Math.floor(begin/this.chunkSize)},getEndChunk:function ChunkedStreamManager_getEndChunk(end){return Math.floor((end-1)/this.chunkSize)+1},abort:function ChunkedStreamManager_abort(){for(var requestId in this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests("abort"),this.promisesByRequest){this.promisesByRequest[requestId].reject(new Error("Request was aborted"))}}},ChunkedStreamManager}();exports.ChunkedStream=ChunkedStream,exports.ChunkedStreamManager=ChunkedStreamManager},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FileSpec=exports.XRef=exports.ObjectLoader=exports.Catalog=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_slicedToArray=function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},_util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_parser=__w_pdfjs_require__(34),_chunked_stream=__w_pdfjs_require__(72),_crypto=__w_pdfjs_require__(76),_colorspace=__w_pdfjs_require__(27),Catalog=function CatalogClosure(){function Catalog(pdfManager,xref,pageFactory){if(this.pdfManager=pdfManager,this.xref=xref,this.catDict=xref.getCatalogObj(),!(0,_primitives.isDict)(this.catDict))throw new _util.FormatError("catalog object is not a dictionary");this.fontCache=new _primitives.RefSetCache,this.builtInCMapCache=Object.create(null),this.pageKidsCountCache=new _primitives.RefSetCache,this.pageFactory=pageFactory,this.pagePromises=[]}return Catalog.prototype={get metadata(){var streamRef=this.catDict.getRaw("Metadata");if(!(0,_primitives.isRef)(streamRef))return(0,_util.shadow)(this,"metadata",null);var metadata,encryptMetadata=!!this.xref.encrypt&&this.xref.encrypt.encryptMetadata,stream=this.xref.fetch(streamRef,!encryptMetadata);if(stream&&(0,_primitives.isDict)(stream.dict)){var type=stream.dict.get("Type"),subtype=stream.dict.get("Subtype");if((0,_primitives.isName)(type,"Metadata")&&(0,_primitives.isName)(subtype,"XML"))try{metadata=(0,_util.stringToUTF8String)((0,_util.bytesToString)(stream.getBytes()))}catch(e){if(e instanceof _util.MissingDataException)throw e;(0,_util.info)("Skipping invalid metadata.")}}return(0,_util.shadow)(this,"metadata",metadata)},get toplevelPagesDict(){var pagesObj=this.catDict.get("Pages");if(!(0,_primitives.isDict)(pagesObj))throw new _util.FormatError("invalid top-level pages dictionary");return(0,_util.shadow)(this,"toplevelPagesDict",pagesObj)},get documentOutline(){var obj=null;try{obj=this.readDocumentOutline()}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;(0,_util.warn)("Unable to read document outline")}return(0,_util.shadow)(this,"documentOutline",obj)},readDocumentOutline:function Catalog_readDocumentOutline(){var obj=this.catDict.get("Outlines");if(!(0,_primitives.isDict)(obj))return null;if(obj=obj.getRaw("First"),!(0,_primitives.isRef)(obj))return null;var root={items:[]},queue=[{obj:obj,parent:root}],processed=new _primitives.RefSet;processed.put(obj);for(var xref=this.xref,blackColor=new Uint8Array(3);queue.length>0;){var i=queue.shift(),outlineDict=xref.fetchIfRef(i.obj);if(null!==outlineDict){if(!outlineDict.has("Title"))throw new _util.FormatError("Invalid outline item");var data={url:null,dest:null};Catalog.parseDestDictionary({destDict:outlineDict,resultObj:data,docBaseUrl:this.pdfManager.docBaseUrl});var title=outlineDict.get("Title"),flags=outlineDict.get("F")||0,color=outlineDict.getArray("C"),rgbColor=blackColor;!Array.isArray(color)||3!==color.length||0===color[0]&&0===color[1]&&0===color[2]||(rgbColor=_colorspace.ColorSpace.singletons.rgb.getRgb(color,0));var outlineItem={dest:data.dest,url:data.url,unsafeUrl:data.unsafeUrl,newWindow:data.newWindow,title:(0,_util.stringToPDFString)(title),color:rgbColor,count:outlineDict.get("Count"),bold:!!(2&flags),italic:!!(1&flags),items:[]};i.parent.items.push(outlineItem),obj=outlineDict.getRaw("First"),(0,_primitives.isRef)(obj)&&!processed.has(obj)&&(queue.push({obj:obj,parent:outlineItem}),processed.put(obj)),obj=outlineDict.getRaw("Next"),(0,_primitives.isRef)(obj)&&!processed.has(obj)&&(queue.push({obj:obj,parent:i.parent}),processed.put(obj))}}return root.items.length>0?root.items:null},get numPages(){var obj=this.toplevelPagesDict.get("Count");if(!Number.isInteger(obj))throw new _util.FormatError("page count in top level pages object is not an integer");return(0,_util.shadow)(this,"numPages",obj)},get destinations(){function fetchDestination(dest){return(0,_primitives.isDict)(dest)?dest.get("D"):dest}var nameTreeRef,nameDictionaryRef,xref=this.xref,dests={},obj=this.catDict.get("Names");if(obj&&obj.has("Dests")?nameTreeRef=obj.getRaw("Dests"):this.catDict.has("Dests")&&(nameDictionaryRef=this.catDict.get("Dests")),nameDictionaryRef&&(obj=nameDictionaryRef).forEach((function catalogForEach(key,value){value&&(dests[key]=fetchDestination(value))})),nameTreeRef){var names=new NameTree(nameTreeRef,xref).getAll();for(var name in names)dests[name]=fetchDestination(names[name])}return(0,_util.shadow)(this,"destinations",dests)},getDestination:function Catalog_getDestination(destinationId){function fetchDestination(dest){return(0,_primitives.isDict)(dest)?dest.get("D"):dest}var nameTreeRef,nameDictionaryRef,xref=this.xref,dest=null,obj=this.catDict.get("Names");if(obj&&obj.has("Dests")?nameTreeRef=obj.getRaw("Dests"):this.catDict.has("Dests")&&(nameDictionaryRef=this.catDict.get("Dests")),nameDictionaryRef){var value=nameDictionaryRef.get(destinationId);value&&(dest=fetchDestination(value))}nameTreeRef&&(dest=fetchDestination(new NameTree(nameTreeRef,xref).get(destinationId)));return dest},get pageLabels(){var obj=null;try{obj=this.readPageLabels()}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;(0,_util.warn)("Unable to read page labels.")}return(0,_util.shadow)(this,"pageLabels",obj)},readPageLabels:function Catalog_readPageLabels(){var obj=this.catDict.getRaw("PageLabels");if(!obj)return null;for(var pageLabels=new Array(this.numPages),style=null,prefix="",nums=new NumberTree(obj,this.xref).getAll(),currentLabel="",currentIndex=1,i=0,ii=this.numPages;i<ii;i++){if(i in nums){var labelDict=nums[i];if(!(0,_primitives.isDict)(labelDict))throw new _util.FormatError("The PageLabel is not a dictionary.");var type=labelDict.get("Type");if(type&&!(0,_primitives.isName)(type,"PageLabel"))throw new _util.FormatError("Invalid type in PageLabel dictionary.");var s=labelDict.get("S");if(s&&!(0,_primitives.isName)(s))throw new _util.FormatError("Invalid style in PageLabel dictionary.");style=s?s.name:null;var p=labelDict.get("P");if(p&&!(0,_util.isString)(p))throw new _util.FormatError("Invalid prefix in PageLabel dictionary.");prefix=p?(0,_util.stringToPDFString)(p):"";var st=labelDict.get("St");if(st&&!(Number.isInteger(st)&&st>=1))throw new _util.FormatError("Invalid start in PageLabel dictionary.");currentIndex=st||1}switch(style){case"D":currentLabel=currentIndex;break;case"R":case"r":currentLabel=_util.Util.toRoman(currentIndex,"r"===style);break;case"A":case"a":for(var baseCharCode="a"===style?97:65,letterIndex=currentIndex-1,character=String.fromCharCode(baseCharCode+letterIndex%26),charBuf=[],j=0,jj=letterIndex/26|0;j<=jj;j++)charBuf.push(character);currentLabel=charBuf.join("");break;default:if(style)throw new _util.FormatError('Invalid style "'+style+'" in PageLabel dictionary.')}pageLabels[i]=prefix+currentLabel,currentLabel="",currentIndex++}return pageLabels},get pageMode(){var obj=this.catDict.get("PageMode"),pageMode="UseNone";if((0,_primitives.isName)(obj))switch(obj.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":pageMode=obj.name}return(0,_util.shadow)(this,"pageMode",pageMode)},get attachments(){var nameTreeRef,xref=this.xref,attachments=null,obj=this.catDict.get("Names");if(obj&&(nameTreeRef=obj.getRaw("EmbeddedFiles")),nameTreeRef){var names=new NameTree(nameTreeRef,xref).getAll();for(var name in names){var fs=new FileSpec(names[name],xref);attachments||(attachments=Object.create(null)),attachments[(0,_util.stringToPDFString)(name)]=fs.serializable}}return(0,_util.shadow)(this,"attachments",attachments)},get javaScript(){var xref=this.xref,obj=this.catDict.get("Names"),javaScript=[];function appendIfJavaScriptDict(jsDict){var type=jsDict.get("S");if((0,_primitives.isName)(type,"JavaScript")){var js=jsDict.get("JS");if((0,_primitives.isStream)(js))js=(0,_util.bytesToString)(js.getBytes());else if(!(0,_util.isString)(js))return;javaScript.push((0,_util.stringToPDFString)(js))}}if(obj&&obj.has("JavaScript")){var names=new NameTree(obj.getRaw("JavaScript"),xref).getAll();for(var name in names){var jsDict=names[name];(0,_primitives.isDict)(jsDict)&&appendIfJavaScriptDict(jsDict)}}var openactionDict=this.catDict.get("OpenAction");if((0,_primitives.isDict)(openactionDict,"Action")){var actionType=openactionDict.get("S");if((0,_primitives.isName)(actionType,"Named")){var action=openactionDict.get("N");(0,_primitives.isName)(action,"Print")&&javaScript.push("print({});")}else appendIfJavaScriptDict(openactionDict)}return(0,_util.shadow)(this,"javaScript",javaScript)},cleanup:function Catalog_cleanup(){var _this=this;this.pageKidsCountCache.clear();var promises=[];return this.fontCache.forEach((function(promise){promises.push(promise)})),Promise.all(promises).then((function(translatedFonts){for(var i=0,ii=translatedFonts.length;i<ii;i++){delete translatedFonts[i].dict.translated}_this.fontCache.clear(),_this.builtInCMapCache=Object.create(null)}))},getPage:function Catalog_getPage(pageIndex){var _this2=this;return pageIndex in this.pagePromises||(this.pagePromises[pageIndex]=this.getPageDict(pageIndex).then((function(_ref){var _ref2=_slicedToArray(_ref,2),dict=_ref2[0],ref=_ref2[1];return _this2.pageFactory.createPage(pageIndex,dict,ref,_this2.fontCache,_this2.builtInCMapCache)}))),this.pagePromises[pageIndex]},getPageDict:function Catalog_getPageDict(pageIndex){var count,capability=(0,_util.createPromiseCapability)(),nodesToVisit=[this.catDict.getRaw("Pages")],currentPageIndex=0,xref=this.xref,pageKidsCountCache=this.pageKidsCountCache;return function next(){for(;nodesToVisit.length;){var currentNode=nodesToVisit.pop();if((0,_primitives.isRef)(currentNode)){if((count=pageKidsCountCache.get(currentNode))>0&&currentPageIndex+count<pageIndex){currentPageIndex+=count;continue}return void xref.fetchAsync(currentNode).then((function(obj){(0,_primitives.isDict)(obj,"Page")||(0,_primitives.isDict)(obj)&&!obj.has("Kids")?pageIndex===currentPageIndex?(currentNode&&!pageKidsCountCache.has(currentNode)&&pageKidsCountCache.put(currentNode,1),capability.resolve([obj,currentNode])):(currentPageIndex++,next()):(nodesToVisit.push(obj),next())}),capability.reject)}if(!(0,_primitives.isDict)(currentNode))return void capability.reject(new _util.FormatError("page dictionary kid reference points to wrong type of object"));count=currentNode.get("Count");var objId=currentNode.objId;if(objId&&!pageKidsCountCache.has(objId)&&pageKidsCountCache.put(objId,count),currentPageIndex+count<=pageIndex)currentPageIndex+=count;else{var kids=currentNode.get("Kids");if(!Array.isArray(kids))return void capability.reject(new _util.FormatError("page dictionary kids object is not an array"));for(var last=kids.length-1;last>=0;last--)nodesToVisit.push(kids[last])}}capability.reject(new Error("Page index "+pageIndex+" not found."))}(),capability.promise},getPageIndex:function Catalog_getPageIndex(pageRef){var xref=this.xref;var total=0;return function next(ref){return function pagesBeforeRef(kidRef){var parentRef,total=0;return xref.fetchAsync(kidRef).then((function(node){if((0,_primitives.isRefsEqual)(kidRef,pageRef)&&!(0,_primitives.isDict)(node,"Page")&&(!(0,_primitives.isDict)(node)||node.has("Type")||!node.has("Contents")))throw new _util.FormatError("The reference does not point to a /Page Dict.");if(!node)return null;if(!(0,_primitives.isDict)(node))throw new _util.FormatError("node must be a Dict.");return parentRef=node.getRaw("Parent"),node.getAsync("Parent")})).then((function(parent){if(!parent)return null;if(!(0,_primitives.isDict)(parent))throw new _util.FormatError("parent must be a Dict.");return parent.getAsync("Kids")})).then((function(kids){if(!kids)return null;for(var kidPromises=[],found=!1,i=0;i<kids.length;i++){var kid=kids[i];if(!(0,_primitives.isRef)(kid))throw new _util.FormatError("kid must be a Ref.");if(kid.num===kidRef.num){found=!0;break}kidPromises.push(xref.fetchAsync(kid).then((function(kid){if(kid.has("Count")){var count=kid.get("Count");total+=count}else total++})))}if(!found)throw new _util.FormatError("kid ref not found in parents kids");return Promise.all(kidPromises).then((function(){return[total,parentRef]}))}))}(ref).then((function(args){if(!args)return total;var count=args[0],parentRef=args[1];return total+=count,next(parentRef)}))}(pageRef)}},Catalog.parseDestDictionary=function Catalog_parseDestDictionary(params){var destDict=params.destDict;if((0,_primitives.isDict)(destDict)){var resultObj=params.resultObj;if("object"===(void 0===resultObj?"undefined":_typeof(resultObj))){var url,dest,docBaseUrl=params.docBaseUrl||null,action=destDict.get("A");if(!(0,_primitives.isDict)(action)&&destDict.has("Dest")&&(action=destDict.get("Dest")),(0,_primitives.isDict)(action)){var actionType=action.get("S");if(!(0,_primitives.isName)(actionType))return void(0,_util.warn)("parseDestDictionary: Invalid type in Action dictionary.");var actionName=actionType.name;switch(actionName){case"URI":url=action.get("URI"),(0,_primitives.isName)(url)?url="/"+url.name:(0,_util.isString)(url)&&(url=function addDefaultProtocolToUrl(url){return 0===url.indexOf("www.")?"http://"+url:url}(url));break;case"GoTo":dest=action.get("D");break;case"Launch":case"GoToR":var urlDict=action.get("F");(0,_primitives.isDict)(urlDict)?url=urlDict.get("F")||null:(0,_util.isString)(urlDict)&&(url=urlDict);var remoteDest=action.get("D");if(remoteDest&&((0,_primitives.isName)(remoteDest)&&(remoteDest=remoteDest.name),(0,_util.isString)(url))){var baseUrl=url.split("#")[0];(0,_util.isString)(remoteDest)?url=baseUrl+"#"+remoteDest:Array.isArray(remoteDest)&&(url=baseUrl+"#"+JSON.stringify(remoteDest))}var newWindow=action.get("NewWindow");(0,_util.isBool)(newWindow)&&(resultObj.newWindow=newWindow);break;case"Named":var namedAction=action.get("N");(0,_primitives.isName)(namedAction)&&(resultObj.action=namedAction.name);break;case"JavaScript":var js,jsAction=action.get("JS");if((0,_primitives.isStream)(jsAction)?js=(0,_util.bytesToString)(jsAction.getBytes()):(0,_util.isString)(jsAction)&&(js=jsAction),js){var jsUrl=new RegExp("^\\s*("+["app.launchURL","window.open"].join("|").split(".").join("\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec((0,_util.stringToPDFString)(js));if(jsUrl&&jsUrl[2]){url=jsUrl[2],"true"===jsUrl[3]&&"app.launchURL"===jsUrl[1]&&(resultObj.newWindow=!0);break}}default:(0,_util.warn)('parseDestDictionary: Unsupported Action type "'+actionName+'".')}}else destDict.has("Dest")&&(dest=destDict.get("Dest"));if((0,_util.isString)(url)){url=function tryConvertUrlEncoding(url){try{return(0,_util.stringToUTF8String)(url)}catch(e){return url}}(url);var absoluteUrl=(0,_util.createValidAbsoluteUrl)(url,docBaseUrl);absoluteUrl&&(resultObj.url=absoluteUrl.href),resultObj.unsafeUrl=url}dest&&((0,_primitives.isName)(dest)&&(dest=dest.name),((0,_util.isString)(dest)||Array.isArray(dest))&&(resultObj.dest=dest))}else(0,_util.warn)('parseDestDictionary: "resultObj" must be an object.')}else(0,_util.warn)('parseDestDictionary: "destDict" must be a dictionary.')},Catalog}(),XRef=function XRefClosure(){function XRef(stream,pdfManager){this.stream=stream,this.pdfManager=pdfManager,this.entries=[],this.xrefstms=Object.create(null),this.cache=[],this.stats={streamTypes:[],fontTypes:[]}}return XRef.prototype={setStartXRef:function XRef_setStartXRef(startXRef){this.startXRefQueue=[startXRef]},parse:function XRef_parse(recoveryMode){var trailerDict;recoveryMode?((0,_util.warn)("Indexing all PDF objects"),trailerDict=this.indexObjects()):trailerDict=this.readXRef(),trailerDict.assignXref(this),this.trailer=trailerDict;var encrypt=trailerDict.get("Encrypt");if((0,_primitives.isDict)(encrypt)){var ids=trailerDict.get("ID"),fileId=ids&&ids.length?ids[0]:"";encrypt.suppressEncryption=!0,this.encrypt=new _crypto.CipherTransformFactory(encrypt,fileId,this.pdfManager.password)}if(!(this.root=trailerDict.get("Root")))throw new _util.FormatError("Invalid root reference")},processXRefTable:function XRef_processXRefTable(parser){"tableState"in this||(this.tableState={entryNum:0,streamPos:parser.lexer.stream.pos,parserBuf1:parser.buf1,parserBuf2:parser.buf2});var obj=this.readXRefTable(parser);if(!(0,_primitives.isCmd)(obj,"trailer"))throw new _util.FormatError("Invalid XRef table: could not find trailer dictionary");var dict=parser.getObj();if(!(0,_primitives.isDict)(dict)&&dict.dict&&(dict=dict.dict),!(0,_primitives.isDict)(dict))throw new _util.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,dict},readXRefTable:function XRef_readXRefTable(parser){var obj,stream=parser.lexer.stream,tableState=this.tableState;for(stream.pos=tableState.streamPos,parser.buf1=tableState.parserBuf1,parser.buf2=tableState.parserBuf2;;){if(!("firstEntryNum"in tableState)||!("entryCount"in tableState)){if((0,_primitives.isCmd)(obj=parser.getObj(),"trailer"))break;tableState.firstEntryNum=obj,tableState.entryCount=parser.getObj()}var first=tableState.firstEntryNum,count=tableState.entryCount;if(!Number.isInteger(first)||!Number.isInteger(count))throw new _util.FormatError("Invalid XRef table: wrong types in subsection header");for(var i=tableState.entryNum;i<count;i++){tableState.streamPos=stream.pos,tableState.entryNum=i,tableState.parserBuf1=parser.buf1,tableState.parserBuf2=parser.buf2;var entry={};entry.offset=parser.getObj(),entry.gen=parser.getObj();var type=parser.getObj();if((0,_primitives.isCmd)(type,"f")?entry.free=!0:(0,_primitives.isCmd)(type,"n")&&(entry.uncompressed=!0),!Number.isInteger(entry.offset)||!Number.isInteger(entry.gen)||!entry.free&&!entry.uncompressed)throw new _util.FormatError("Invalid entry in XRef subsection: "+first+", "+count);0===i&&entry.free&&1===first&&(first=0),this.entries[i+first]||(this.entries[i+first]=entry)}tableState.entryNum=0,tableState.streamPos=stream.pos,tableState.parserBuf1=parser.buf1,tableState.parserBuf2=parser.buf2,delete tableState.firstEntryNum,delete tableState.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new _util.FormatError("Invalid XRef table: unexpected first object");return obj},processXRefStream:function XRef_processXRefStream(stream){if(!("streamState"in this)){var streamParameters=stream.dict,byteWidths=streamParameters.get("W"),range=streamParameters.get("Index");range||(range=[0,streamParameters.get("Size")]),this.streamState={entryRanges:range,byteWidths:byteWidths,entryNum:0,streamPos:stream.pos}}return this.readXRefStream(stream),delete this.streamState,stream.dict},readXRefStream:function XRef_readXRefStream(stream){var i,j,streamState=this.streamState;stream.pos=streamState.streamPos;for(var byteWidths=streamState.byteWidths,typeFieldWidth=byteWidths[0],offsetFieldWidth=byteWidths[1],generationFieldWidth=byteWidths[2],entryRanges=streamState.entryRanges;entryRanges.length>0;){var first=entryRanges[0],n=entryRanges[1];if(!Number.isInteger(first)||!Number.isInteger(n))throw new _util.FormatError("Invalid XRef range fields: "+first+", "+n);if(!Number.isInteger(typeFieldWidth)||!Number.isInteger(offsetFieldWidth)||!Number.isInteger(generationFieldWidth))throw new _util.FormatError("Invalid XRef entry fields length: "+first+", "+n);for(i=streamState.entryNum;i<n;++i){streamState.entryNum=i,streamState.streamPos=stream.pos;var type=0,offset=0,generation=0;for(j=0;j<typeFieldWidth;++j)type=type<<8|stream.getByte();for(0===typeFieldWidth&&(type=1),j=0;j<offsetFieldWidth;++j)offset=offset<<8|stream.getByte();for(j=0;j<generationFieldWidth;++j)generation=generation<<8|stream.getByte();var entry={};switch(entry.offset=offset,entry.gen=generation,type){case 0:entry.free=!0;break;case 1:entry.uncompressed=!0;break;case 2:break;default:throw new _util.FormatError("Invalid XRef entry type: "+type)}this.entries[first+i]||(this.entries[first+i]=entry)}streamState.entryNum=0,streamState.streamPos=stream.pos,entryRanges.splice(0,2)}},indexObjects:function XRef_indexObjects(){function readToken(data,offset){for(var token="",ch=data[offset];10!==ch&&13!==ch&&60!==ch&&!(++offset>=data.length);)token+=String.fromCharCode(ch),ch=data[offset];return token}function skipUntil(data,offset,what){for(var length=what.length,dataLength=data.length,skipped=0;offset<dataLength;){for(var i=0;i<length&&data[offset+i]===what[i];)++i;if(i>=length)break;offset++,skipped++}return skipped}var objRegExp=/^(\d+)\s+(\d+)\s+obj\b/,trailerBytes=new Uint8Array([116,114,97,105,108,101,114]),startxrefBytes=new Uint8Array([115,116,97,114,116,120,114,101,102]),endobjBytes=new Uint8Array([101,110,100,111,98,106]),xrefBytes=new Uint8Array([47,88,82,101,102]);this.entries.length=0;var stream=this.stream;stream.pos=0;for(var i,ii,dict,buffer=stream.getBytes(),position=stream.start,length=buffer.length,trailers=[],xrefStms=[];position<length;){var ch=buffer[position];if(9!==ch&&10!==ch&&13!==ch&&32!==ch)if(37!==ch){var m,token=readToken(buffer,position);if(0!==token.indexOf("xref")||4!==token.length&&!/\s/.test(token[4]))if(m=objRegExp.exec(token)){void 0===this.entries[m[1]]&&(this.entries[m[1]]={offset:position-stream.start,gen:0|m[2],uncompressed:!0});var contentLength=skipUntil(buffer,position,endobjBytes)+7,content=buffer.subarray(position,position+contentLength),xrefTagOffset=skipUntil(content,0,xrefBytes);xrefTagOffset<contentLength&&content[xrefTagOffset+5]<64&&(xrefStms.push(position-stream.start),this.xrefstms[position-stream.start]=1),position+=contentLength}else 0!==token.indexOf("trailer")||7!==token.length&&!/\s/.test(token[7])?position+=token.length+1:(trailers.push(position),position+=skipUntil(buffer,position,startxrefBytes));else position+=skipUntil(buffer,position,trailerBytes),trailers.push(position),position+=skipUntil(buffer,position,startxrefBytes)}else do{if(++position>=length)break;ch=buffer[position]}while(10!==ch&&13!==ch);else++position}for(i=0,ii=xrefStms.length;i<ii;++i)this.startXRefQueue.push(xrefStms[i]),this.readXRef(!0);for(i=0,ii=trailers.length;i<ii;++i){stream.pos=trailers[i];var parser=new _parser.Parser(new _parser.Lexer(stream),!0,this,!0),obj=parser.getObj();if((0,_primitives.isCmd)(obj,"trailer")&&(dict=parser.getObj(),(0,_primitives.isDict)(dict)&&dict.has("ID")))return dict}if(dict)return dict;throw new _util.InvalidPDFException("Invalid PDF structure")},readXRef:function XRef_readXRef(recoveryMode){var stream=this.stream,startXRefParsedCache=Object.create(null);try{for(;this.startXRefQueue.length;){var startXRef=this.startXRefQueue[0];if(startXRefParsedCache[startXRef])(0,_util.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();else{startXRefParsedCache[startXRef]=!0,stream.pos=startXRef+stream.start;var dict,parser=new _parser.Parser(new _parser.Lexer(stream),!0,this),obj=parser.getObj();if((0,_primitives.isCmd)(obj,"xref")){if(dict=this.processXRefTable(parser),this.topDict||(this.topDict=dict),obj=dict.get("XRefStm"),Number.isInteger(obj)){var pos=obj;pos in this.xrefstms||(this.xrefstms[pos]=1,this.startXRefQueue.push(pos))}}else{if(!Number.isInteger(obj))throw new _util.FormatError("Invalid XRef stream header");if(!Number.isInteger(parser.getObj())||!(0,_primitives.isCmd)(parser.getObj(),"obj")||!(0,_primitives.isStream)(obj=parser.getObj()))throw new _util.FormatError("Invalid XRef stream");if(dict=this.processXRefStream(obj),this.topDict||(this.topDict=dict),!dict)throw new _util.FormatError("Failed to read XRef stream")}obj=dict.get("Prev"),Number.isInteger(obj)?this.startXRefQueue.push(obj):(0,_primitives.isRef)(obj)&&this.startXRefQueue.push(obj.num),this.startXRefQueue.shift()}}return this.topDict}catch(e){if(e instanceof _util.MissingDataException)throw e;(0,_util.info)("(while reading XRef): "+e)}if(!recoveryMode)throw new _util.XRefParseException},getEntry:function XRef_getEntry(i){var xrefEntry=this.entries[i];return xrefEntry&&!xrefEntry.free&&xrefEntry.offset?xrefEntry:null},fetchIfRef:function XRef_fetchIfRef(obj,suppressEncryption){return(0,_primitives.isRef)(obj)?this.fetch(obj,suppressEncryption):obj},fetch:function XRef_fetch(ref,suppressEncryption){if(!(0,_primitives.isRef)(ref))throw new Error("ref object is not a reference");var num=ref.num;if(num in this.cache){var cacheEntry=this.cache[num];return cacheEntry instanceof _primitives.Dict&&!cacheEntry.objId&&(cacheEntry.objId=ref.toString()),cacheEntry}var xrefEntry=this.getEntry(num);return null===xrefEntry?this.cache[num]=null:(xrefEntry=xrefEntry.uncompressed?this.fetchUncompressed(ref,xrefEntry,suppressEncryption):this.fetchCompressed(xrefEntry,suppressEncryption),(0,_primitives.isDict)(xrefEntry)?xrefEntry.objId=ref.toString():(0,_primitives.isStream)(xrefEntry)&&(xrefEntry.dict.objId=ref.toString()),xrefEntry)},fetchUncompressed:function XRef_fetchUncompressed(ref,xrefEntry,suppressEncryption){var gen=ref.gen,num=ref.num;if(xrefEntry.gen!==gen)throw new _util.FormatError("inconsistent generation in XRef");var stream=this.stream.makeSubStream(xrefEntry.offset+this.stream.start),parser=new _parser.Parser(new _parser.Lexer(stream),!0,this),obj1=parser.getObj(),obj2=parser.getObj(),obj3=parser.getObj();if(Number.isInteger(obj1)||(obj1=parseInt(obj1,10)),Number.isInteger(obj2)||(obj2=parseInt(obj2,10)),obj1!==num||obj2!==gen||!(0,_primitives.isCmd)(obj3))throw new _util.FormatError("bad XRef entry");if("obj"!==obj3.cmd){if(0===obj3.cmd.indexOf("obj")&&(num=parseInt(obj3.cmd.substring(3),10),!Number.isNaN(num)))return num;throw new _util.FormatError("bad XRef entry")}return xrefEntry=this.encrypt&&!suppressEncryption?parser.getObj(this.encrypt.createCipherTransform(num,gen)):parser.getObj(),(0,_primitives.isStream)(xrefEntry)||(this.cache[num]=xrefEntry),xrefEntry},fetchCompressed:function XRef_fetchCompressed(xrefEntry,suppressEncryption){var tableOffset=xrefEntry.offset,stream=this.fetch(new _primitives.Ref(tableOffset,0));if(!(0,_primitives.isStream)(stream))throw new _util.FormatError("bad ObjStm stream");var first=stream.dict.get("First"),n=stream.dict.get("N");if(!Number.isInteger(first)||!Number.isInteger(n))throw new _util.FormatError("invalid first and n parameters for ObjStm stream");var parser=new _parser.Parser(new _parser.Lexer(stream),!1,this);parser.allowStreams=!0;var i,num,entries=[],nums=[];for(i=0;i<n;++i){if(num=parser.getObj(),!Number.isInteger(num))throw new _util.FormatError("invalid object number in the ObjStm stream: "+num);nums.push(num);var offset=parser.getObj();if(!Number.isInteger(offset))throw new _util.FormatError("invalid object offset in the ObjStm stream: "+offset)}for(i=0;i<n;++i){entries.push(parser.getObj()),(0,_primitives.isCmd)(parser.buf1,"endobj")&&parser.shift(),num=nums[i];var entry=this.entries[num];entry&&entry.offset===tableOffset&&entry.gen===i&&(this.cache[num]=entries[i])}if(void 0===(xrefEntry=entries[xrefEntry.gen]))throw new _util.FormatError("bad XRef entry for compressed object");return xrefEntry},fetchIfRefAsync:function XRef_fetchIfRefAsync(obj,suppressEncryption){return(0,_primitives.isRef)(obj)?this.fetchAsync(obj,suppressEncryption):Promise.resolve(obj)},fetchAsync:function XRef_fetchAsync(ref,suppressEncryption){var streamManager=this.stream.manager,xref=this;return new Promise((function tryFetch(resolve,reject){try{resolve(xref.fetch(ref,suppressEncryption))}catch(e){if(e instanceof _util.MissingDataException)return void streamManager.requestRange(e.begin,e.end).then((function(){tryFetch(resolve,reject)}),reject);reject(e)}}))},getCatalogObj:function XRef_getCatalogObj(){return this.root}},XRef}(),NameOrNumberTree=function NameOrNumberTreeClosure(){function NameOrNumberTree(root,xref){throw new Error("Cannot initialize NameOrNumberTree.")}return NameOrNumberTree.prototype={getAll:function NameOrNumberTree_getAll(){var dict=Object.create(null);if(!this.root)return dict;var xref=this.xref,processed=new _primitives.RefSet;processed.put(this.root);for(var queue=[this.root];queue.length>0;){var i,n,obj=xref.fetchIfRef(queue.shift());if((0,_primitives.isDict)(obj))if(obj.has("Kids")){var kids=obj.get("Kids");for(i=0,n=kids.length;i<n;i++){var kid=kids[i];if(processed.has(kid))throw new _util.FormatError('Duplicate entry in "'+this._type+'" tree.');queue.push(kid),processed.put(kid)}}else{var entries=obj.get(this._type);if(Array.isArray(entries))for(i=0,n=entries.length;i<n;i+=2)dict[xref.fetchIfRef(entries[i])]=xref.fetchIfRef(entries[i+1])}}return dict},get:function NameOrNumberTree_get(key){if(!this.root)return null;for(var l,r,m,xref=this.xref,kidsOrEntries=xref.fetchIfRef(this.root),loopCount=0;kidsOrEntries.has("Kids");){if(++loopCount>10)return(0,_util.warn)('Search depth limit reached for "'+this._type+'" tree.'),null;var kids=kidsOrEntries.get("Kids");if(!Array.isArray(kids))return null;for(l=0,r=kids.length-1;l<=r;){m=l+r>>1;var limits=xref.fetchIfRef(kids[m]).get("Limits");if(key<xref.fetchIfRef(limits[0]))r=m-1;else{if(!(key>xref.fetchIfRef(limits[1]))){kidsOrEntries=xref.fetchIfRef(kids[m]);break}l=m+1}}if(l>r)return null}var entries=kidsOrEntries.get(this._type);if(Array.isArray(entries))for(l=0,r=entries.length-2;l<=r;){m=l+r&-2;var currentKey=xref.fetchIfRef(entries[m]);if(key<currentKey)r=m-2;else{if(!(key>currentKey))return xref.fetchIfRef(entries[m+1]);l=m+2}}return null}},NameOrNumberTree}(),NameTree=function NameTreeClosure(){function NameTree(root,xref){this.root=root,this.xref=xref,this._type="Names"}return _util.Util.inherit(NameTree,NameOrNumberTree,{}),NameTree}(),NumberTree=function NumberTreeClosure(){function NumberTree(root,xref){this.root=root,this.xref=xref,this._type="Nums"}return _util.Util.inherit(NumberTree,NameOrNumberTree,{}),NumberTree}(),FileSpec=function FileSpecClosure(){function FileSpec(root,xref){root&&(0,_primitives.isDict)(root)&&(this.xref=xref,this.root=root,root.has("FS")&&(this.fs=root.get("FS")),this.description=root.has("Desc")?(0,_util.stringToPDFString)(root.get("Desc")):"",root.has("RF")&&(0,_util.warn)("Related file specifications are not supported"),this.contentAvailable=!0,root.has("EF")||(this.contentAvailable=!1,(0,_util.warn)("Non-embedded file specifications are not supported")))}function pickPlatformItem(dict){return dict.has("UF")?dict.get("UF"):dict.has("F")?dict.get("F"):dict.has("Unix")?dict.get("Unix"):dict.has("Mac")?dict.get("Mac"):dict.has("DOS")?dict.get("DOS"):null}return FileSpec.prototype={get filename(){if(!this._filename&&this.root){var filename=pickPlatformItem(this.root)||"unnamed";this._filename=(0,_util.stringToPDFString)(filename).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename},get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=pickPlatformItem(this.root.get("EF")));var content=null;if(this.contentRef){var fileObj=this.xref.fetchIfRef(this.contentRef);fileObj&&(0,_primitives.isStream)(fileObj)?content=fileObj.getBytes():(0,_util.warn)("Embedded file specification points to non-existing/invalid content")}else(0,_util.warn)("Embedded file specification does not have a content");return content},get serializable(){return{filename:this.filename,content:this.content}}},FileSpec}(),ObjectLoader=function(){function mayHaveChildren(value){return(0,_primitives.isRef)(value)||(0,_primitives.isDict)(value)||Array.isArray(value)||(0,_primitives.isStream)(value)}function addChildren(node,nodesToVisit){if((0,_primitives.isDict)(node)||(0,_primitives.isStream)(node))for(var dict=(0,_primitives.isDict)(node)?node:node.dict,dictKeys=dict.getKeys(),i=0,ii=dictKeys.length;i<ii;i++){var rawValue=dict.getRaw(dictKeys[i]);mayHaveChildren(rawValue)&&nodesToVisit.push(rawValue)}else if(Array.isArray(node))for(var _i=0,_ii=node.length;_i<_ii;_i++){var value=node[_i];mayHaveChildren(value)&&nodesToVisit.push(value)}}function ObjectLoader(dict,keys,xref){this.dict=dict,this.keys=keys,this.xref=xref,this.refSet=null,this.capability=null}return ObjectLoader.prototype={load:function load(){if(this.capability=(0,_util.createPromiseCapability)(),!(this.xref.stream instanceof _chunked_stream.ChunkedStream)||0===this.xref.stream.getMissingChunks().length)return this.capability.resolve(),this.capability.promise;var keys=this.keys,dict=this.dict;this.refSet=new _primitives.RefSet;for(var nodesToVisit=[],i=0,ii=keys.length;i<ii;i++){var rawValue=dict.getRaw(keys[i]);void 0!==rawValue&&nodesToVisit.push(rawValue)}return this._walk(nodesToVisit),this.capability.promise},_walk:function _walk(nodesToVisit){for(var _this3=this,nodesToRevisit=[],pendingRequests=[];nodesToVisit.length;){var currentNode=nodesToVisit.pop();if((0,_primitives.isRef)(currentNode)){if(this.refSet.has(currentNode))continue;try{this.refSet.put(currentNode),currentNode=this.xref.fetch(currentNode)}catch(ex){if(!(ex instanceof _util.MissingDataException))throw ex;nodesToRevisit.push(currentNode),pendingRequests.push({begin:ex.begin,end:ex.end})}}if(currentNode&&currentNode.getBaseStreams){for(var baseStreams=currentNode.getBaseStreams(),foundMissingData=!1,i=0,ii=baseStreams.length;i<ii;i++){var stream=baseStreams[i];stream.getMissingChunks&&stream.getMissingChunks().length&&(foundMissingData=!0,pendingRequests.push({begin:stream.start,end:stream.end}))}foundMissingData&&nodesToRevisit.push(currentNode)}addChildren(currentNode,nodesToVisit)}pendingRequests.length?this.xref.stream.manager.requestRanges(pendingRequests).then((function(){for(var _i2=0,_ii2=nodesToRevisit.length;_i2<_ii2;_i2++){var node=nodesToRevisit[_i2];(0,_primitives.isRef)(node)&&_this3.refSet.remove(node)}_this3._walk(nodesToRevisit)}),this.capability.reject):(this.refSet=null,this.capability.resolve())}},ObjectLoader}();exports.Catalog=Catalog,exports.ObjectLoader=ObjectLoader,exports.XRef=XRef,exports.FileSpec=FileSpec},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.JpxImage=void 0;var _util=__w_pdfjs_require__(0),_arithmetic_decoder=__w_pdfjs_require__(75),JpxError=function JpxErrorClosure(){function JpxError(msg){this.message="JPX error: "+msg}return JpxError.prototype=new Error,JpxError.prototype.name="JpxError",JpxError.constructor=JpxError,JpxError}(),JpxImage=function JpxImageClosure(){var SubbandsGainLog2={LL:0,LH:1,HL:1,HH:2};function JpxImage(){this.failOnCorruptedImage=!1}function calculateComponentDimensions(component,siz){component.x0=Math.ceil(siz.XOsiz/component.XRsiz),component.x1=Math.ceil(siz.Xsiz/component.XRsiz),component.y0=Math.ceil(siz.YOsiz/component.YRsiz),component.y1=Math.ceil(siz.Ysiz/component.YRsiz),component.width=component.x1-component.x0,component.height=component.y1-component.y0}function calculateTileGrids(context,components){for(var tile,siz=context.SIZ,tiles=[],numXtiles=Math.ceil((siz.Xsiz-siz.XTOsiz)/siz.XTsiz),numYtiles=Math.ceil((siz.Ysiz-siz.YTOsiz)/siz.YTsiz),q=0;q<numYtiles;q++)for(var p=0;p<numXtiles;p++)(tile={}).tx0=Math.max(siz.XTOsiz+p*siz.XTsiz,siz.XOsiz),tile.ty0=Math.max(siz.YTOsiz+q*siz.YTsiz,siz.YOsiz),tile.tx1=Math.min(siz.XTOsiz+(p+1)*siz.XTsiz,siz.Xsiz),tile.ty1=Math.min(siz.YTOsiz+(q+1)*siz.YTsiz,siz.Ysiz),tile.width=tile.tx1-tile.tx0,tile.height=tile.ty1-tile.ty0,tile.components=[],tiles.push(tile);context.tiles=tiles;for(var i=0,ii=siz.Csiz;i<ii;i++)for(var component=components[i],j=0,jj=tiles.length;j<jj;j++){var tileComponent={};tile=tiles[j],tileComponent.tcx0=Math.ceil(tile.tx0/component.XRsiz),tileComponent.tcy0=Math.ceil(tile.ty0/component.YRsiz),tileComponent.tcx1=Math.ceil(tile.tx1/component.XRsiz),tileComponent.tcy1=Math.ceil(tile.ty1/component.YRsiz),tileComponent.width=tileComponent.tcx1-tileComponent.tcx0,tileComponent.height=tileComponent.tcy1-tileComponent.tcy0,tile.components[i]=tileComponent}}function getBlocksDimensions(context,component,r){var codOrCoc=component.codingStyleParameters,result={};return codOrCoc.entropyCoderWithCustomPrecincts?(result.PPx=codOrCoc.precinctsSizes[r].PPx,result.PPy=codOrCoc.precinctsSizes[r].PPy):(result.PPx=15,result.PPy=15),result.xcb_=r>0?Math.min(codOrCoc.xcb,result.PPx-1):Math.min(codOrCoc.xcb,result.PPx),result.ycb_=r>0?Math.min(codOrCoc.ycb,result.PPy-1):Math.min(codOrCoc.ycb,result.PPy),result}function buildPrecincts(context,resolution,dimensions){var precinctWidth=1<<dimensions.PPx,precinctHeight=1<<dimensions.PPy,isZeroRes=0===resolution.resLevel,precinctWidthInSubband=1<<dimensions.PPx+(isZeroRes?0:-1),precinctHeightInSubband=1<<dimensions.PPy+(isZeroRes?0:-1),numprecinctswide=resolution.trx1>resolution.trx0?Math.ceil(resolution.trx1/precinctWidth)-Math.floor(resolution.trx0/precinctWidth):0,numprecinctshigh=resolution.try1>resolution.try0?Math.ceil(resolution.try1/precinctHeight)-Math.floor(resolution.try0/precinctHeight):0,numprecincts=numprecinctswide*numprecinctshigh;resolution.precinctParameters={precinctWidth:precinctWidth,precinctHeight:precinctHeight,numprecinctswide:numprecinctswide,numprecinctshigh:numprecinctshigh,numprecincts:numprecincts,precinctWidthInSubband:precinctWidthInSubband,precinctHeightInSubband:precinctHeightInSubband}}function buildCodeblocks(context,subband,dimensions){var i,j,codeblock,precinctNumber,xcb_=dimensions.xcb_,ycb_=dimensions.ycb_,codeblockWidth=1<<xcb_,codeblockHeight=1<<ycb_,cbx0=subband.tbx0>>xcb_,cby0=subband.tby0>>ycb_,cbx1=subband.tbx1+codeblockWidth-1>>xcb_,cby1=subband.tby1+codeblockHeight-1>>ycb_,precinctParameters=subband.resolution.precinctParameters,codeblocks=[],precincts=[];for(j=cby0;j<cby1;j++)for(i=cbx0;i<cbx1;i++){if((codeblock={cbx:i,cby:j,tbx0:codeblockWidth*i,tby0:codeblockHeight*j,tbx1:codeblockWidth*(i+1),tby1:codeblockHeight*(j+1)}).tbx0_=Math.max(subband.tbx0,codeblock.tbx0),codeblock.tby0_=Math.max(subband.tby0,codeblock.tby0),codeblock.tbx1_=Math.min(subband.tbx1,codeblock.tbx1),codeblock.tby1_=Math.min(subband.tby1,codeblock.tby1),precinctNumber=Math.floor((codeblock.tbx0_-subband.tbx0)/precinctParameters.precinctWidthInSubband)+Math.floor((codeblock.tby0_-subband.tby0)/precinctParameters.precinctHeightInSubband)*precinctParameters.numprecinctswide,codeblock.precinctNumber=precinctNumber,codeblock.subbandType=subband.type,codeblock.Lblock=3,!(codeblock.tbx1_<=codeblock.tbx0_||codeblock.tby1_<=codeblock.tby0_)){codeblocks.push(codeblock);var precinct=precincts[precinctNumber];void 0!==precinct?(i<precinct.cbxMin?precinct.cbxMin=i:i>precinct.cbxMax&&(precinct.cbxMax=i),j<precinct.cbyMin?precinct.cbxMin=j:j>precinct.cbyMax&&(precinct.cbyMax=j)):precincts[precinctNumber]=precinct={cbxMin:i,cbyMin:j,cbxMax:i,cbyMax:j},codeblock.precinct=precinct}}subband.codeblockParameters={codeblockWidth:xcb_,codeblockHeight:ycb_,numcodeblockwide:cbx1-cbx0+1,numcodeblockhigh:cby1-cby0+1},subband.codeblocks=codeblocks,subband.precincts=precincts}function createPacket(resolution,precinctNumber,layerNumber){for(var precinctCodeblocks=[],subbands=resolution.subbands,i=0,ii=subbands.length;i<ii;i++)for(var codeblocks=subbands[i].codeblocks,j=0,jj=codeblocks.length;j<jj;j++){var codeblock=codeblocks[j];codeblock.precinctNumber===precinctNumber&&precinctCodeblocks.push(codeblock)}return{layerNumber:layerNumber,codeblocks:precinctCodeblocks}}function LayerResolutionComponentPositionIterator(context){for(var siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=siz.Csiz,maxDecompositionLevelsCount=0,q=0;q<componentsCount;q++)maxDecompositionLevelsCount=Math.max(maxDecompositionLevelsCount,tile.components[q].codingStyleParameters.decompositionLevelsCount);var l=0,r=0,i=0,k=0;this.nextPacket=function JpxImage_nextPacket(){for(;l<layersCount;l++){for(;r<=maxDecompositionLevelsCount;r++){for(;i<componentsCount;i++){var component=tile.components[i];if(!(r>component.codingStyleParameters.decompositionLevelsCount)){for(var resolution=component.resolutions[r],numprecincts=resolution.precinctParameters.numprecincts;k<numprecincts;){var packet=createPacket(resolution,k,l);return k++,packet}k=0}}i=0}r=0}throw new JpxError("Out of packets")}}function ResolutionLayerComponentPositionIterator(context){for(var siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=siz.Csiz,maxDecompositionLevelsCount=0,q=0;q<componentsCount;q++)maxDecompositionLevelsCount=Math.max(maxDecompositionLevelsCount,tile.components[q].codingStyleParameters.decompositionLevelsCount);var r=0,l=0,i=0,k=0;this.nextPacket=function JpxImage_nextPacket(){for(;r<=maxDecompositionLevelsCount;r++){for(;l<layersCount;l++){for(;i<componentsCount;i++){var component=tile.components[i];if(!(r>component.codingStyleParameters.decompositionLevelsCount)){for(var resolution=component.resolutions[r],numprecincts=resolution.precinctParameters.numprecincts;k<numprecincts;){var packet=createPacket(resolution,k,l);return k++,packet}k=0}}i=0}l=0}throw new JpxError("Out of packets")}}function ResolutionPositionComponentLayerIterator(context){var l,r,c,p,siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=siz.Csiz,maxDecompositionLevelsCount=0;for(c=0;c<componentsCount;c++){var component=tile.components[c];maxDecompositionLevelsCount=Math.max(maxDecompositionLevelsCount,component.codingStyleParameters.decompositionLevelsCount)}var maxNumPrecinctsInLevel=new Int32Array(maxDecompositionLevelsCount+1);for(r=0;r<=maxDecompositionLevelsCount;++r){var maxNumPrecincts=0;for(c=0;c<componentsCount;++c){var resolutions=tile.components[c].resolutions;r<resolutions.length&&(maxNumPrecincts=Math.max(maxNumPrecincts,resolutions[r].precinctParameters.numprecincts))}maxNumPrecinctsInLevel[r]=maxNumPrecincts}l=0,r=0,c=0,p=0,this.nextPacket=function JpxImage_nextPacket(){for(;r<=maxDecompositionLevelsCount;r++){for(;p<maxNumPrecinctsInLevel[r];p++){for(;c<componentsCount;c++){var component=tile.components[c];if(!(r>component.codingStyleParameters.decompositionLevelsCount)){var resolution=component.resolutions[r],numprecincts=resolution.precinctParameters.numprecincts;if(!(p>=numprecincts)){for(;l<layersCount;){var packet=createPacket(resolution,p,l);return l++,packet}l=0}}}c=0}p=0}throw new JpxError("Out of packets")}}function PositionComponentResolutionLayerIterator(context){var siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=siz.Csiz,precinctsSizes=getPrecinctSizesInImageScale(tile),precinctsIterationSizes=precinctsSizes,l=0,r=0,c=0,px=0,py=0;this.nextPacket=function JpxImage_nextPacket(){for(;py<precinctsIterationSizes.maxNumHigh;py++){for(;px<precinctsIterationSizes.maxNumWide;px++){for(;c<componentsCount;c++){for(var component=tile.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount;r<=decompositionLevelsCount;r++){var resolution=component.resolutions[r],sizeInImageScale=precinctsSizes.components[c].resolutions[r],k=getPrecinctIndexIfExist(px,py,sizeInImageScale,precinctsIterationSizes,resolution);if(null!==k){for(;l<layersCount;){var packet=createPacket(resolution,k,l);return l++,packet}l=0}}r=0}c=0}px=0}throw new JpxError("Out of packets")}}function ComponentPositionResolutionLayerIterator(context){var siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],layersCount=tile.codingStyleDefaultParameters.layersCount,componentsCount=siz.Csiz,precinctsSizes=getPrecinctSizesInImageScale(tile),l=0,r=0,c=0,px=0,py=0;this.nextPacket=function JpxImage_nextPacket(){for(;c<componentsCount;++c){for(var component=tile.components[c],precinctsIterationSizes=precinctsSizes.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount;py<precinctsIterationSizes.maxNumHigh;py++){for(;px<precinctsIterationSizes.maxNumWide;px++){for(;r<=decompositionLevelsCount;r++){var resolution=component.resolutions[r],sizeInImageScale=precinctsIterationSizes.resolutions[r],k=getPrecinctIndexIfExist(px,py,sizeInImageScale,precinctsIterationSizes,resolution);if(null!==k){for(;l<layersCount;){var packet=createPacket(resolution,k,l);return l++,packet}l=0}}r=0}px=0}py=0}throw new JpxError("Out of packets")}}function getPrecinctIndexIfExist(pxIndex,pyIndex,sizeInImageScale,precinctIterationSizes,resolution){var posX=pxIndex*precinctIterationSizes.minWidth,posY=pyIndex*precinctIterationSizes.minHeight;if(posX%sizeInImageScale.width!=0||posY%sizeInImageScale.height!=0)return null;var startPrecinctRowIndex=posY/sizeInImageScale.width*resolution.precinctParameters.numprecinctswide;return posX/sizeInImageScale.height+startPrecinctRowIndex}function getPrecinctSizesInImageScale(tile){for(var componentsCount=tile.components.length,minWidth=Number.MAX_VALUE,minHeight=Number.MAX_VALUE,maxNumWide=0,maxNumHigh=0,sizePerComponent=new Array(componentsCount),c=0;c<componentsCount;c++){for(var component=tile.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount,sizePerResolution=new Array(decompositionLevelsCount+1),minWidthCurrentComponent=Number.MAX_VALUE,minHeightCurrentComponent=Number.MAX_VALUE,maxNumWideCurrentComponent=0,maxNumHighCurrentComponent=0,scale=1,r=decompositionLevelsCount;r>=0;--r){var resolution=component.resolutions[r],widthCurrentResolution=scale*resolution.precinctParameters.precinctWidth,heightCurrentResolution=scale*resolution.precinctParameters.precinctHeight;minWidthCurrentComponent=Math.min(minWidthCurrentComponent,widthCurrentResolution),minHeightCurrentComponent=Math.min(minHeightCurrentComponent,heightCurrentResolution),maxNumWideCurrentComponent=Math.max(maxNumWideCurrentComponent,resolution.precinctParameters.numprecinctswide),maxNumHighCurrentComponent=Math.max(maxNumHighCurrentComponent,resolution.precinctParameters.numprecinctshigh),sizePerResolution[r]={width:widthCurrentResolution,height:heightCurrentResolution},scale<<=1}minWidth=Math.min(minWidth,minWidthCurrentComponent),minHeight=Math.min(minHeight,minHeightCurrentComponent),maxNumWide=Math.max(maxNumWide,maxNumWideCurrentComponent),maxNumHigh=Math.max(maxNumHigh,maxNumHighCurrentComponent),sizePerComponent[c]={resolutions:sizePerResolution,minWidth:minWidthCurrentComponent,minHeight:minHeightCurrentComponent,maxNumWide:maxNumWideCurrentComponent,maxNumHigh:maxNumHighCurrentComponent}}return{components:sizePerComponent,minWidth:minWidth,minHeight:minHeight,maxNumWide:maxNumWide,maxNumHigh:maxNumHigh}}function buildPackets(context){for(var siz=context.SIZ,tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],componentsCount=siz.Csiz,c=0;c<componentsCount;c++){for(var component=tile.components[c],decompositionLevelsCount=component.codingStyleParameters.decompositionLevelsCount,resolutions=[],subbands=[],r=0;r<=decompositionLevelsCount;r++){var subband,blocksDimensions=getBlocksDimensions(0,component,r),resolution={},scale=1<<decompositionLevelsCount-r;if(resolution.trx0=Math.ceil(component.tcx0/scale),resolution.try0=Math.ceil(component.tcy0/scale),resolution.trx1=Math.ceil(component.tcx1/scale),resolution.try1=Math.ceil(component.tcy1/scale),resolution.resLevel=r,buildPrecincts(0,resolution,blocksDimensions),resolutions.push(resolution),0===r)(subband={}).type="LL",subband.tbx0=Math.ceil(component.tcx0/scale),subband.tby0=Math.ceil(component.tcy0/scale),subband.tbx1=Math.ceil(component.tcx1/scale),subband.tby1=Math.ceil(component.tcy1/scale),subband.resolution=resolution,buildCodeblocks(0,subband,blocksDimensions),subbands.push(subband),resolution.subbands=[subband];else{var bscale=1<<decompositionLevelsCount-r+1,resolutionSubbands=[];(subband={}).type="HL",subband.tbx0=Math.ceil(component.tcx0/bscale-.5),subband.tby0=Math.ceil(component.tcy0/bscale),subband.tbx1=Math.ceil(component.tcx1/bscale-.5),subband.tby1=Math.ceil(component.tcy1/bscale),subband.resolution=resolution,buildCodeblocks(0,subband,blocksDimensions),subbands.push(subband),resolutionSubbands.push(subband),(subband={}).type="LH",subband.tbx0=Math.ceil(component.tcx0/bscale),subband.tby0=Math.ceil(component.tcy0/bscale-.5),subband.tbx1=Math.ceil(component.tcx1/bscale),subband.tby1=Math.ceil(component.tcy1/bscale-.5),subband.resolution=resolution,buildCodeblocks(0,subband,blocksDimensions),subbands.push(subband),resolutionSubbands.push(subband),(subband={}).type="HH",subband.tbx0=Math.ceil(component.tcx0/bscale-.5),subband.tby0=Math.ceil(component.tcy0/bscale-.5),subband.tbx1=Math.ceil(component.tcx1/bscale-.5),subband.tby1=Math.ceil(component.tcy1/bscale-.5),subband.resolution=resolution,buildCodeblocks(0,subband,blocksDimensions),subbands.push(subband),resolutionSubbands.push(subband),resolution.subbands=resolutionSubbands}}component.resolutions=resolutions,component.subbands=subbands}var progressionOrder=tile.codingStyleDefaultParameters.progressionOrder;switch(progressionOrder){case 0:tile.packetsIterator=new LayerResolutionComponentPositionIterator(context);break;case 1:tile.packetsIterator=new ResolutionLayerComponentPositionIterator(context);break;case 2:tile.packetsIterator=new ResolutionPositionComponentLayerIterator(context);break;case 3:tile.packetsIterator=new PositionComponentResolutionLayerIterator(context);break;case 4:tile.packetsIterator=new ComponentPositionResolutionLayerIterator(context);break;default:throw new JpxError("Unsupported progression order "+progressionOrder)}}function parseTilePackets(context,data,offset,dataLength){var buffer,position=0,bufferSize=0,skipNextBit=!1;function readBits(count){for(;bufferSize<count;){var b=data[offset+position];position++,skipNextBit?(buffer=buffer<<7|b,bufferSize+=7,skipNextBit=!1):(buffer=buffer<<8|b,bufferSize+=8),255===b&&(skipNextBit=!0)}return buffer>>>(bufferSize-=count)&(1<<count)-1}function skipMarkerIfEqual(value){return 255===data[offset+position-1]&&data[offset+position]===value?(skipBytes(1),!0):255===data[offset+position]&&data[offset+position+1]===value&&(skipBytes(2),!0)}function skipBytes(count){position+=count}function alignToByte(){bufferSize=0,skipNextBit&&(position++,skipNextBit=!1)}function readCodingpasses(){if(0===readBits(1))return 1;if(0===readBits(1))return 2;var value=readBits(2);return value<3?value+3:(value=readBits(5))<31?value+6:(value=readBits(7))+37}for(var tileIndex=context.currentTile.index,tile=context.tiles[tileIndex],sopMarkerUsed=context.COD.sopMarkerUsed,ephMarkerUsed=context.COD.ephMarkerUsed,packetsIterator=tile.packetsIterator;position<dataLength;){alignToByte(),sopMarkerUsed&&skipMarkerIfEqual(145)&&skipBytes(4);var packet=packetsIterator.nextPacket();if(readBits(1)){for(var codeblock,layerNumber=packet.layerNumber,queue=[],i=0,ii=packet.codeblocks.length;i<ii;i++){var precinct=(codeblock=packet.codeblocks[i]).precinct,codeblockColumn=codeblock.cbx-precinct.cbxMin,codeblockRow=codeblock.cby-precinct.cbyMin,codeblockIncluded=!1,firstTimeInclusion=!1;if(void 0!==codeblock.included)codeblockIncluded=!!readBits(1);else{var inclusionTree,zeroBitPlanesTree;if(void 0!==(precinct=codeblock.precinct).inclusionTree)inclusionTree=precinct.inclusionTree;else{var width=precinct.cbxMax-precinct.cbxMin+1,height=precinct.cbyMax-precinct.cbyMin+1;inclusionTree=new InclusionTree(width,height,layerNumber),zeroBitPlanesTree=new TagTree(width,height),precinct.inclusionTree=inclusionTree,precinct.zeroBitPlanesTree=zeroBitPlanesTree}if(inclusionTree.reset(codeblockColumn,codeblockRow,layerNumber))for(;;){if(!readBits(1)){inclusionTree.incrementValue(layerNumber);break}if(!inclusionTree.nextLevel()){codeblock.included=!0,codeblockIncluded=firstTimeInclusion=!0;break}}}if(codeblockIncluded){if(firstTimeInclusion){for((zeroBitPlanesTree=precinct.zeroBitPlanesTree).reset(codeblockColumn,codeblockRow);;)if(readBits(1)){if(!zeroBitPlanesTree.nextLevel())break}else zeroBitPlanesTree.incrementValue();codeblock.zeroBitPlanes=zeroBitPlanesTree.value}for(var codingpasses=readCodingpasses();readBits(1);)codeblock.Lblock++;var codingpassesLog2=(0,_util.log2)(codingpasses),codedDataLength=readBits((codingpasses<1<<codingpassesLog2?codingpassesLog2-1:codingpassesLog2)+codeblock.Lblock);queue.push({codeblock:codeblock,codingpasses:codingpasses,dataLength:codedDataLength})}}for(alignToByte(),ephMarkerUsed&&skipMarkerIfEqual(146);queue.length>0;){var packetItem=queue.shift();void 0===(codeblock=packetItem.codeblock).data&&(codeblock.data=[]),codeblock.data.push({data:data,start:offset+position,end:offset+position+packetItem.dataLength,codingpasses:packetItem.codingpasses}),position+=packetItem.dataLength}}}return position}function copyCoefficients(coefficients,levelWidth,levelHeight,subband,delta,mb,reversible,segmentationSymbolUsed){for(var x0=subband.tbx0,y0=subband.tby0,width=subband.tbx1-subband.tbx0,codeblocks=subband.codeblocks,right="H"===subband.type.charAt(0)?1:0,bottom="H"===subband.type.charAt(1)?levelWidth:0,i=0,ii=codeblocks.length;i<ii;++i){var codeblock=codeblocks[i],blockWidth=codeblock.tbx1_-codeblock.tbx0_,blockHeight=codeblock.tby1_-codeblock.tby0_;if(0!==blockWidth&&0!==blockHeight&&void 0!==codeblock.data){var bitModel,currentCodingpassType;bitModel=new BitModel(blockWidth,blockHeight,codeblock.subbandType,codeblock.zeroBitPlanes,mb),currentCodingpassType=2;var j,jj,dataItem,data=codeblock.data,totalLength=0,codingpasses=0;for(j=0,jj=data.length;j<jj;j++)totalLength+=(dataItem=data[j]).end-dataItem.start,codingpasses+=dataItem.codingpasses;var encodedData=new Uint8Array(totalLength),position=0;for(j=0,jj=data.length;j<jj;j++){var chunk=(dataItem=data[j]).data.subarray(dataItem.start,dataItem.end);encodedData.set(chunk,position),position+=chunk.length}var decoder=new _arithmetic_decoder.ArithmeticDecoder(encodedData,0,totalLength);for(bitModel.setDecoder(decoder),j=0;j<codingpasses;j++){switch(currentCodingpassType){case 0:bitModel.runSignificancePropagationPass();break;case 1:bitModel.runMagnitudeRefinementPass();break;case 2:bitModel.runCleanupPass(),segmentationSymbolUsed&&bitModel.checkSegmentationSymbol()}currentCodingpassType=(currentCodingpassType+1)%3}var k,n,nb,offset=codeblock.tbx0_-x0+(codeblock.tby0_-y0)*width,sign=bitModel.coefficentsSign,magnitude=bitModel.coefficentsMagnitude,bitsDecoded=bitModel.bitsDecoded,magnitudeCorrection=reversible?0:.5;position=0;var interleave="LL"!==subband.type;for(j=0;j<blockHeight;j++){var levelOffset=2*(offset/width|0)*(levelWidth-width)+right+bottom;for(k=0;k<blockWidth;k++){if(0!==(n=magnitude[position])){n=(n+magnitudeCorrection)*delta,0!==sign[position]&&(n=-n),nb=bitsDecoded[position];var pos=interleave?levelOffset+(offset<<1):offset;coefficients[pos]=reversible&&nb>=mb?n:n*(1<<mb-nb)}offset++,position++}offset+=width-blockWidth}}}}function transformTile(context,tile,c){for(var component=tile.components[c],codingStyleParameters=component.codingStyleParameters,quantizationParameters=component.quantizationParameters,decompositionLevelsCount=codingStyleParameters.decompositionLevelsCount,spqcds=quantizationParameters.SPqcds,scalarExpounded=quantizationParameters.scalarExpounded,guardBits=quantizationParameters.guardBits,segmentationSymbolUsed=codingStyleParameters.segmentationSymbolUsed,precision=context.components[c].precision,reversible=codingStyleParameters.reversibleTransformation,transform=reversible?new ReversibleTransform:new IrreversibleTransform,subbandCoefficients=[],b=0,i=0;i<=decompositionLevelsCount;i++){for(var resolution=component.resolutions[i],width=resolution.trx1-resolution.trx0,height=resolution.try1-resolution.try0,coefficients=new Float32Array(width*height),j=0,jj=resolution.subbands.length;j<jj;j++){var mu,epsilon;scalarExpounded?(mu=spqcds[b].mu,epsilon=spqcds[b].epsilon,b++):(mu=spqcds[0].mu,epsilon=spqcds[0].epsilon+(i>0?1-i:0));var subband=resolution.subbands[j],gainLog2=SubbandsGainLog2[subband.type];copyCoefficients(coefficients,width,0,subband,reversible?1:Math.pow(2,precision+gainLog2-epsilon)*(1+mu/2048),guardBits+epsilon-1,reversible,segmentationSymbolUsed)}subbandCoefficients.push({width:width,height:height,items:coefficients})}var result=transform.calculate(subbandCoefficients,component.tcx0,component.tcy0);return{left:component.tcx0,top:component.tcy0,width:result.width,height:result.height,items:result.items}}function initializeTile(context,tileIndex){for(var componentsCount=context.SIZ.Csiz,tile=context.tiles[tileIndex],c=0;c<componentsCount;c++){var component=tile.components[c],qcdOrQcc=void 0!==context.currentTile.QCC[c]?context.currentTile.QCC[c]:context.currentTile.QCD;component.quantizationParameters=qcdOrQcc;var codOrCoc=void 0!==context.currentTile.COC[c]?context.currentTile.COC[c]:context.currentTile.COD;component.codingStyleParameters=codOrCoc}tile.codingStyleDefaultParameters=context.currentTile.COD}JpxImage.prototype={parse:function JpxImage_parse(data){if(65359!==(0,_util.readUint16)(data,0))for(var position=0,length=data.length;position<length;){var headerSize=8,lbox=(0,_util.readUint32)(data,position),tbox=(0,_util.readUint32)(data,position+4);if(position+=headerSize,1===lbox&&(lbox=4294967296*(0,_util.readUint32)(data,position)+(0,_util.readUint32)(data,position+4),position+=8,headerSize+=8),0===lbox&&(lbox=length-position+headerSize),lbox<headerSize)throw new JpxError("Invalid box field size");var dataLength=lbox-headerSize,jumpDataLength=!0;switch(tbox){case 1785737832:jumpDataLength=!1;break;case 1668246642:var method=data[position];if(1===method){var colorspace=(0,_util.readUint32)(data,position+3);switch(colorspace){case 16:case 17:case 18:break;default:(0,_util.warn)("Unknown colorspace "+colorspace)}}else 2===method&&(0,_util.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(data,position,position+dataLength);break;case 1783636e3:218793738!==(0,_util.readUint32)(data,position)&&(0,_util.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var headerType=String.fromCharCode(tbox>>24&255,tbox>>16&255,tbox>>8&255,255&tbox);(0,_util.warn)("Unsupported header type "+tbox+" ("+headerType+")")}jumpDataLength&&(position+=dataLength)}else this.parseCodestream(data,0,data.length)},parseImageProperties:function JpxImage_parseImageProperties(stream){for(var newByte=stream.getByte();newByte>=0;){if(65361===(newByte<<8|(newByte=stream.getByte()))){stream.skip(4);var Xsiz=stream.getInt32()>>>0,Ysiz=stream.getInt32()>>>0,XOsiz=stream.getInt32()>>>0,YOsiz=stream.getInt32()>>>0;stream.skip(16);var Csiz=stream.getUint16();return this.width=Xsiz-XOsiz,this.height=Ysiz-YOsiz,this.componentsCount=Csiz,void(this.bitsPerComponent=8)}}throw new JpxError("No size marker found in JPX stream")},parseCodestream:function JpxImage_parseCodestream(data,start,end){var context={},doNotRecover=!1;try{for(var position=start;position+1<end;){var code=(0,_util.readUint16)(data,position);position+=2;var j,sqcd,spqcds,spqcdSize,scalarExpounded,tile,length=0;switch(code){case 65359:context.mainHeader=!0;break;case 65497:break;case 65361:length=(0,_util.readUint16)(data,position);var siz={};siz.Xsiz=(0,_util.readUint32)(data,position+4),siz.Ysiz=(0,_util.readUint32)(data,position+8),siz.XOsiz=(0,_util.readUint32)(data,position+12),siz.YOsiz=(0,_util.readUint32)(data,position+16),siz.XTsiz=(0,_util.readUint32)(data,position+20),siz.YTsiz=(0,_util.readUint32)(data,position+24),siz.XTOsiz=(0,_util.readUint32)(data,position+28),siz.YTOsiz=(0,_util.readUint32)(data,position+32);var componentsCount=(0,_util.readUint16)(data,position+36);siz.Csiz=componentsCount;var components=[];j=position+38;for(var i=0;i<componentsCount;i++){var component={precision:1+(127&data[j]),isSigned:!!(128&data[j]),XRsiz:data[j+1],YRsiz:data[j+1]};calculateComponentDimensions(component,siz),components.push(component)}context.SIZ=siz,context.components=components,calculateTileGrids(context,components),context.QCC=[],context.COC=[];break;case 65372:length=(0,_util.readUint16)(data,position);var qcd={};switch(j=position+2,31&(sqcd=data[j++])){case 0:spqcdSize=8,scalarExpounded=!0;break;case 1:spqcdSize=16,scalarExpounded=!1;break;case 2:spqcdSize=16,scalarExpounded=!0;break;default:throw new Error("Invalid SQcd value "+sqcd)}for(qcd.noQuantization=8===spqcdSize,qcd.scalarExpounded=scalarExpounded,qcd.guardBits=sqcd>>5,spqcds=[];j<length+position;){var spqcd={};8===spqcdSize?(spqcd.epsilon=data[j++]>>3,spqcd.mu=0):(spqcd.epsilon=data[j]>>3,spqcd.mu=(7&data[j])<<8|data[j+1],j+=2),spqcds.push(spqcd)}qcd.SPqcds=spqcds,context.mainHeader?context.QCD=qcd:(context.currentTile.QCD=qcd,context.currentTile.QCC=[]);break;case 65373:length=(0,_util.readUint16)(data,position);var cqcc,qcc={};switch(j=position+2,context.SIZ.Csiz<257?cqcc=data[j++]:(cqcc=(0,_util.readUint16)(data,j),j+=2),31&(sqcd=data[j++])){case 0:spqcdSize=8,scalarExpounded=!0;break;case 1:spqcdSize=16,scalarExpounded=!1;break;case 2:spqcdSize=16,scalarExpounded=!0;break;default:throw new Error("Invalid SQcd value "+sqcd)}for(qcc.noQuantization=8===spqcdSize,qcc.scalarExpounded=scalarExpounded,qcc.guardBits=sqcd>>5,spqcds=[];j<length+position;)spqcd={},8===spqcdSize?(spqcd.epsilon=data[j++]>>3,spqcd.mu=0):(spqcd.epsilon=data[j]>>3,spqcd.mu=(7&data[j])<<8|data[j+1],j+=2),spqcds.push(spqcd);qcc.SPqcds=spqcds,context.mainHeader?context.QCC[cqcc]=qcc:context.currentTile.QCC[cqcc]=qcc;break;case 65362:length=(0,_util.readUint16)(data,position);var cod={};j=position+2;var scod=data[j++];cod.entropyCoderWithCustomPrecincts=!!(1&scod),cod.sopMarkerUsed=!!(2&scod),cod.ephMarkerUsed=!!(4&scod),cod.progressionOrder=data[j++],cod.layersCount=(0,_util.readUint16)(data,j),j+=2,cod.multipleComponentTransform=data[j++],cod.decompositionLevelsCount=data[j++],cod.xcb=2+(15&data[j++]),cod.ycb=2+(15&data[j++]);var blockStyle=data[j++];if(cod.selectiveArithmeticCodingBypass=!!(1&blockStyle),cod.resetContextProbabilities=!!(2&blockStyle),cod.terminationOnEachCodingPass=!!(4&blockStyle),cod.verticalyStripe=!!(8&blockStyle),cod.predictableTermination=!!(16&blockStyle),cod.segmentationSymbolUsed=!!(32&blockStyle),cod.reversibleTransformation=data[j++],cod.entropyCoderWithCustomPrecincts){for(var precinctsSizes=[];j<length+position;){var precinctsSize=data[j++];precinctsSizes.push({PPx:15&precinctsSize,PPy:precinctsSize>>4})}cod.precinctsSizes=precinctsSizes}var unsupported=[];if(cod.selectiveArithmeticCodingBypass&&unsupported.push("selectiveArithmeticCodingBypass"),cod.resetContextProbabilities&&unsupported.push("resetContextProbabilities"),cod.terminationOnEachCodingPass&&unsupported.push("terminationOnEachCodingPass"),cod.verticalyStripe&&unsupported.push("verticalyStripe"),cod.predictableTermination&&unsupported.push("predictableTermination"),unsupported.length>0)throw doNotRecover=!0,new Error("Unsupported COD options ("+unsupported.join(", ")+")");context.mainHeader?context.COD=cod:(context.currentTile.COD=cod,context.currentTile.COC=[]);break;case 65424:length=(0,_util.readUint16)(data,position),(tile={}).index=(0,_util.readUint16)(data,position+2),tile.length=(0,_util.readUint32)(data,position+4),tile.dataEnd=tile.length+position-2,tile.partIndex=data[position+8],tile.partsCount=data[position+9],context.mainHeader=!1,0===tile.partIndex&&(tile.COD=context.COD,tile.COC=context.COC.slice(0),tile.QCD=context.QCD,tile.QCC=context.QCC.slice(0)),context.currentTile=tile;break;case 65427:0===(tile=context.currentTile).partIndex&&(initializeTile(context,tile.index),buildPackets(context)),parseTilePackets(context,data,position,length=tile.dataEnd-position);break;case 65365:case 65367:case 65368:case 65380:length=(0,_util.readUint16)(data,position);break;case 65363:throw new Error("Codestream code 0xFF53 (COC) is not implemented");default:throw new Error("Unknown codestream code: "+code.toString(16))}position+=length}}catch(e){if(doNotRecover||this.failOnCorruptedImage)throw new JpxError(e.message);(0,_util.warn)("JPX: Trying to recover from: "+e.message)}this.tiles=function transformComponents(context){for(var siz=context.SIZ,components=context.components,componentsCount=siz.Csiz,resultImages=[],i=0,ii=context.tiles.length;i<ii;i++){var c,tile=context.tiles[i],transformedTiles=[];for(c=0;c<componentsCount;c++)transformedTiles[c]=transformTile(context,tile,c);var shift,offset,j,jj,y0,y1,y2,tile0=transformedTiles[0],out=new Uint8ClampedArray(tile0.items.length*componentsCount),result={left:tile0.left,top:tile0.top,width:tile0.width,height:tile0.height,items:out},pos=0;if(tile.codingStyleDefaultParameters.multipleComponentTransform){var fourComponents=4===componentsCount,y0items=transformedTiles[0].items,y1items=transformedTiles[1].items,y2items=transformedTiles[2].items,y3items=fourComponents?transformedTiles[3].items:null;offset=.5+(128<<(shift=components[0].precision-8));var component0=tile.components[0],alpha01=componentsCount-3;if(jj=y0items.length,component0.codingStyleParameters.reversibleTransformation)for(j=0;j<jj;j++,pos+=alpha01){y0=y0items[j]+offset,y1=y1items[j];var g=y0-((y2=y2items[j])+y1>>2);out[pos++]=g+y2>>shift,out[pos++]=g>>shift,out[pos++]=g+y1>>shift}else for(j=0;j<jj;j++,pos+=alpha01)y0=y0items[j]+offset,y1=y1items[j],y2=y2items[j],out[pos++]=y0+1.402*y2>>shift,out[pos++]=y0-.34413*y1-.71414*y2>>shift,out[pos++]=y0+1.772*y1>>shift;if(fourComponents)for(j=0,pos=3;j<jj;j++,pos+=4)out[pos]=y3items[j]+offset>>shift}else for(c=0;c<componentsCount;c++){var items=transformedTiles[c].items;for(offset=.5+(128<<(shift=components[c].precision-8)),pos=c,j=0,jj=items.length;j<jj;j++)out[pos]=items[j]+offset>>shift,pos+=componentsCount}resultImages.push(result)}return resultImages}(context),this.width=context.SIZ.Xsiz-context.SIZ.XOsiz,this.height=context.SIZ.Ysiz-context.SIZ.YOsiz,this.componentsCount=context.SIZ.Csiz}};var TagTree=function TagTreeClosure(){function TagTree(width,height){var levelsLength=(0,_util.log2)(Math.max(width,height))+1;this.levels=[];for(var i=0;i<levelsLength;i++){var level={width:width,height:height,items:[]};this.levels.push(level),width=Math.ceil(width/2),height=Math.ceil(height/2)}}return TagTree.prototype={reset:function TagTree_reset(i,j){for(var level,currentLevel=0,value=0;currentLevel<this.levels.length;){var index=i+j*(level=this.levels[currentLevel]).width;if(void 0!==level.items[index]){value=level.items[index];break}level.index=index,i>>=1,j>>=1,currentLevel++}currentLevel--,(level=this.levels[currentLevel]).items[level.index]=value,this.currentLevel=currentLevel,delete this.value},incrementValue:function TagTree_incrementValue(){var level=this.levels[this.currentLevel];level.items[level.index]++},nextLevel:function TagTree_nextLevel(){var currentLevel=this.currentLevel,level=this.levels[currentLevel],value=level.items[level.index];return--currentLevel<0?(this.value=value,!1):(this.currentLevel=currentLevel,(level=this.levels[currentLevel]).items[level.index]=value,!0)}},TagTree}(),InclusionTree=function InclusionTreeClosure(){function InclusionTree(width,height,defaultValue){var levelsLength=(0,_util.log2)(Math.max(width,height))+1;this.levels=[];for(var i=0;i<levelsLength;i++){for(var items=new Uint8Array(width*height),j=0,jj=items.length;j<jj;j++)items[j]=defaultValue;var level={width:width,height:height,items:items};this.levels.push(level),width=Math.ceil(width/2),height=Math.ceil(height/2)}}return InclusionTree.prototype={reset:function InclusionTree_reset(i,j,stopValue){for(var currentLevel=0;currentLevel<this.levels.length;){var level=this.levels[currentLevel],index=i+j*level.width;level.index=index;var value=level.items[index];if(255===value)break;if(value>stopValue)return this.currentLevel=currentLevel,this.propagateValues(),!1;i>>=1,j>>=1,currentLevel++}return this.currentLevel=currentLevel-1,!0},incrementValue:function InclusionTree_incrementValue(stopValue){var level=this.levels[this.currentLevel];level.items[level.index]=stopValue+1,this.propagateValues()},propagateValues:function InclusionTree_propagateValues(){for(var levelIndex=this.currentLevel,level=this.levels[levelIndex],currentValue=level.items[level.index];--levelIndex>=0;)(level=this.levels[levelIndex]).items[level.index]=currentValue},nextLevel:function InclusionTree_nextLevel(){var currentLevel=this.currentLevel,level=this.levels[currentLevel],value=level.items[level.index];return level.items[level.index]=255,!(--currentLevel<0)&&(this.currentLevel=currentLevel,(level=this.levels[currentLevel]).items[level.index]=value,!0)}},InclusionTree}(),BitModel=function BitModelClosure(){var LLAndLHContextsLabel=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),HLContextLabel=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),HHContextLabel=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);function BitModel(width,height,subband,zeroBitPlanes,mb){this.width=width,this.height=height,this.contextLabelTable="HH"===subband?HHContextLabel:"HL"===subband?HLContextLabel:LLAndLHContextsLabel;var coefficientCount=width*height;this.neighborsSignificance=new Uint8Array(coefficientCount),this.coefficentsSign=new Uint8Array(coefficientCount),this.coefficentsMagnitude=mb>14?new Uint32Array(coefficientCount):mb>6?new Uint16Array(coefficientCount):new Uint8Array(coefficientCount),this.processingFlags=new Uint8Array(coefficientCount);var bitsDecoded=new Uint8Array(coefficientCount);if(0!==zeroBitPlanes)for(var i=0;i<coefficientCount;i++)bitsDecoded[i]=zeroBitPlanes;this.bitsDecoded=bitsDecoded,this.reset()}return BitModel.prototype={setDecoder:function BitModel_setDecoder(decoder){this.decoder=decoder},reset:function BitModel_reset(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[17]=92,this.contexts[18]=6},setNeighborsSignificance:function BitModel_setNeighborsSignificance(row,column,index){var i,neighborsSignificance=this.neighborsSignificance,width=this.width,height=this.height,left=column>0,right=column+1<width;row>0&&(i=index-width,left&&(neighborsSignificance[i-1]+=16),right&&(neighborsSignificance[i+1]+=16),neighborsSignificance[i]+=4),row+1<height&&(i=index+width,left&&(neighborsSignificance[i-1]+=16),right&&(neighborsSignificance[i+1]+=16),neighborsSignificance[i]+=4),left&&(neighborsSignificance[index-1]+=1),right&&(neighborsSignificance[index+1]+=1),neighborsSignificance[index]|=128},runSignificancePropagationPass:function BitModel_runSignificancePropagationPass(){for(var decoder=this.decoder,width=this.width,height=this.height,coefficentsMagnitude=this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign,neighborsSignificance=this.neighborsSignificance,processingFlags=this.processingFlags,contexts=this.contexts,labels=this.contextLabelTable,bitsDecoded=this.bitsDecoded,i0=0;i0<height;i0+=4)for(var j=0;j<width;j++)for(var index=i0*width+j,i1=0;i1<4;i1++,index+=width){var i=i0+i1;if(i>=height)break;if(processingFlags[index]&=-2,!coefficentsMagnitude[index]&&neighborsSignificance[index]){var contextLabel=labels[neighborsSignificance[index]];if(decoder.readBit(contexts,contextLabel)){var sign=this.decodeSignBit(i,j,index);coefficentsSign[index]=sign,coefficentsMagnitude[index]=1,this.setNeighborsSignificance(i,j,index),processingFlags[index]|=2}bitsDecoded[index]++,processingFlags[index]|=1}}},decodeSignBit:function BitModel_decodeSignBit(row,column,index){var contribution,sign0,sign1,significance1,contextLabel,decoded,width=this.width,height=this.height,coefficentsMagnitude=this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign;significance1=column>0&&0!==coefficentsMagnitude[index-1],column+1<width&&0!==coefficentsMagnitude[index+1]?(sign1=coefficentsSign[index+1],contribution=significance1?1-sign1-(sign0=coefficentsSign[index-1]):1-sign1-sign1):contribution=significance1?1-(sign0=coefficentsSign[index-1])-sign0:0;var horizontalContribution=3*contribution;return significance1=row>0&&0!==coefficentsMagnitude[index-width],row+1<height&&0!==coefficentsMagnitude[index+width]?(sign1=coefficentsSign[index+width],contribution=significance1?1-sign1-(sign0=coefficentsSign[index-width])+horizontalContribution:1-sign1-sign1+horizontalContribution):contribution=significance1?1-(sign0=coefficentsSign[index-width])-sign0+horizontalContribution:horizontalContribution,contribution>=0?(contextLabel=9+contribution,decoded=this.decoder.readBit(this.contexts,contextLabel)):(contextLabel=9-contribution,decoded=1^this.decoder.readBit(this.contexts,contextLabel)),decoded},runMagnitudeRefinementPass:function BitModel_runMagnitudeRefinementPass(){for(var indexNext,decoder=this.decoder,width=this.width,height=this.height,coefficentsMagnitude=this.coefficentsMagnitude,neighborsSignificance=this.neighborsSignificance,contexts=this.contexts,bitsDecoded=this.bitsDecoded,processingFlags=this.processingFlags,length=width*height,width4=4*width,index0=0;index0<length;index0=indexNext){indexNext=Math.min(length,index0+width4);for(var j=0;j<width;j++)for(var index=index0+j;index<indexNext;index+=width)if(coefficentsMagnitude[index]&&0==(1&processingFlags[index])){var contextLabel=16;if(0!=(2&processingFlags[index]))processingFlags[index]^=2,contextLabel=0===(127&neighborsSignificance[index])?15:14;var bit=decoder.readBit(contexts,contextLabel);coefficentsMagnitude[index]=coefficentsMagnitude[index]<<1|bit,bitsDecoded[index]++,processingFlags[index]|=1}}},runCleanupPass:function BitModel_runCleanupPass(){for(var iNext,decoder=this.decoder,width=this.width,height=this.height,neighborsSignificance=this.neighborsSignificance,coefficentsMagnitude=this.coefficentsMagnitude,coefficentsSign=this.coefficentsSign,contexts=this.contexts,labels=this.contextLabelTable,bitsDecoded=this.bitsDecoded,processingFlags=this.processingFlags,oneRowDown=width,twoRowsDown=2*width,threeRowsDown=3*width,i0=0;i0<height;i0=iNext){iNext=Math.min(i0+4,height);for(var indexBase=i0*width,checkAllEmpty=i0+3<height,j=0;j<width;j++){var sign,index0=indexBase+j,i1=0,index=index0,i=i0;if(checkAllEmpty&&0===processingFlags[index0]&&0===processingFlags[index0+oneRowDown]&&0===processingFlags[index0+twoRowsDown]&&0===processingFlags[index0+threeRowsDown]&&0===neighborsSignificance[index0]&&0===neighborsSignificance[index0+oneRowDown]&&0===neighborsSignificance[index0+twoRowsDown]&&0===neighborsSignificance[index0+threeRowsDown]){if(!decoder.readBit(contexts,18)){bitsDecoded[index0]++,bitsDecoded[index0+oneRowDown]++,bitsDecoded[index0+twoRowsDown]++,bitsDecoded[index0+threeRowsDown]++;continue}0!==(i1=decoder.readBit(contexts,17)<<1|decoder.readBit(contexts,17))&&(i=i0+i1,index+=i1*width),sign=this.decodeSignBit(i,j,index),coefficentsSign[index]=sign,coefficentsMagnitude[index]=1,this.setNeighborsSignificance(i,j,index),processingFlags[index]|=2,index=index0;for(var i2=i0;i2<=i;i2++,index+=width)bitsDecoded[index]++;i1++}for(i=i0+i1;i<iNext;i++,index+=width)if(!coefficentsMagnitude[index]&&0==(1&processingFlags[index])){var contextLabel=labels[neighborsSignificance[index]];1===decoder.readBit(contexts,contextLabel)&&(sign=this.decodeSignBit(i,j,index),coefficentsSign[index]=sign,coefficentsMagnitude[index]=1,this.setNeighborsSignificance(i,j,index),processingFlags[index]|=2),bitsDecoded[index]++}}}},checkSegmentationSymbol:function BitModel_checkSegmentationSymbol(){var decoder=this.decoder,contexts=this.contexts;if(10!==(decoder.readBit(contexts,17)<<3|decoder.readBit(contexts,17)<<2|decoder.readBit(contexts,17)<<1|decoder.readBit(contexts,17)))throw new JpxError("Invalid segmentation symbol")}},BitModel}(),Transform=function TransformClosure(){function Transform(){}return Transform.prototype.calculate=function transformCalculate(subbands,u0,v0){for(var ll=subbands[0],i=1,ii=subbands.length;i<ii;i++)ll=this.iterate(ll,subbands[i],u0,v0);return ll},Transform.prototype.extend=function extend(buffer,offset,size){var i1=offset-1,j1=offset+1,i2=offset+size-2,j2=offset+size;buffer[i1--]=buffer[j1++],buffer[j2++]=buffer[i2--],buffer[i1--]=buffer[j1++],buffer[j2++]=buffer[i2--],buffer[i1--]=buffer[j1++],buffer[j2++]=buffer[i2--],buffer[i1]=buffer[j1],buffer[j2]=buffer[i2]},Transform.prototype.iterate=function Transform_iterate(ll,hl_lh_hh,u0,v0){var i,j,k,l,u,v,llWidth=ll.width,llHeight=ll.height,llItems=ll.items,width=hl_lh_hh.width,height=hl_lh_hh.height,items=hl_lh_hh.items;for(k=0,i=0;i<llHeight;i++)for(l=2*i*width,j=0;j<llWidth;j++,k++,l+=2)items[l]=llItems[k];llItems=ll.items=null;var rowBuffer=new Float32Array(width+8);if(1===width){if(0!=(1&u0))for(v=0,k=0;v<height;v++,k+=width)items[k]*=.5}else for(v=0,k=0;v<height;v++,k+=width)rowBuffer.set(items.subarray(k,k+width),4),this.extend(rowBuffer,4,width),this.filter(rowBuffer,4,width),items.set(rowBuffer.subarray(4,4+width),k);var numBuffers=16,colBuffers=[];for(i=0;i<numBuffers;i++)colBuffers.push(new Float32Array(height+8));var b,currentBuffer=0;if(ll=4+height,1===height){if(0!=(1&v0))for(u=0;u<width;u++)items[u]*=.5}else for(u=0;u<width;u++){if(0===currentBuffer){for(numBuffers=Math.min(width-u,numBuffers),k=u,l=4;l<ll;k+=width,l++)for(b=0;b<numBuffers;b++)colBuffers[b][l]=items[k+b];currentBuffer=numBuffers}var buffer=colBuffers[--currentBuffer];if(this.extend(buffer,4,height),this.filter(buffer,4,height),0===currentBuffer)for(k=u-numBuffers+1,l=4;l<ll;k+=width,l++)for(b=0;b<numBuffers;b++)items[k+b]=colBuffers[b][l]}return{width:width,height:height,items:items}},Transform}(),IrreversibleTransform=function IrreversibleTransformClosure(){function IrreversibleTransform(){Transform.call(this)}return IrreversibleTransform.prototype=Object.create(Transform.prototype),IrreversibleTransform.prototype.filter=function irreversibleTransformFilter(x,offset,length){var j,n,current,next,len=length>>1,alpha=-1.586134342059924,beta=-.052980118572961,gamma=.882911075530934,delta=.443506852043971,K=1.230174104914001;for(j=(offset|=0)-3,n=len+4;n--;j+=2)x[j]*=.8128930661159609;for(current=delta*x[(j=offset-2)-1],n=len+3;n--&&(next=delta*x[j+1],x[j]=K*x[j]-current-next,n--);j+=2)current=delta*x[(j+=2)+1],x[j]=K*x[j]-current-next;for(current=gamma*x[(j=offset-1)-1],n=len+2;n--&&(next=gamma*x[j+1],x[j]-=current+next,n--);j+=2)current=gamma*x[(j+=2)+1],x[j]-=current+next;for(current=beta*x[(j=offset)-1],n=len+1;n--&&(next=beta*x[j+1],x[j]-=current+next,n--);j+=2)current=beta*x[(j+=2)+1],x[j]-=current+next;if(0!==len)for(current=alpha*x[(j=offset+1)-1],n=len;n--&&(next=alpha*x[j+1],x[j]-=current+next,n--);j+=2)current=alpha*x[(j+=2)+1],x[j]-=current+next},IrreversibleTransform}(),ReversibleTransform=function ReversibleTransformClosure(){function ReversibleTransform(){Transform.call(this)}return ReversibleTransform.prototype=Object.create(Transform.prototype),ReversibleTransform.prototype.filter=function reversibleTransformFilter(x,offset,length){var j,n,len=length>>1;for(j=offset|=0,n=len+1;n--;j+=2)x[j]-=x[j-1]+x[j+1]+2>>2;for(j=offset+1,n=len;n--;j+=2)x[j]+=x[j-1]+x[j+1]>>1},ReversibleTransform}();return JpxImage}();exports.JpxImage=JpxImage},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var ArithmeticDecoder=function ArithmeticDecoderClosure(){var QeTable=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];function ArithmeticDecoder(data,start,end){this.data=data,this.bp=start,this.dataEnd=end,this.chigh=data[start],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}return ArithmeticDecoder.prototype={byteIn:function ArithmeticDecoder_byteIn(){var data=this.data,bp=this.bp;255===data[bp]?data[bp+1]>143?(this.clow+=65280,this.ct=8):(bp++,this.clow+=data[bp]<<9,this.ct=7,this.bp=bp):(bp++,this.clow+=bp<this.dataEnd?data[bp]<<8:65280,this.ct=8,this.bp=bp);this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)},readBit:function ArithmeticDecoder_readBit(contexts,pos){var d,cx_index=contexts[pos]>>1,cx_mps=1&contexts[pos],qeTableIcx=QeTable[cx_index],qeIcx=qeTableIcx.qe,a=this.a-qeIcx;if(this.chigh<qeIcx)a<qeIcx?(a=qeIcx,d=cx_mps,cx_index=qeTableIcx.nmps):(a=qeIcx,d=1^cx_mps,1===qeTableIcx.switchFlag&&(cx_mps=d),cx_index=qeTableIcx.nlps);else{if(this.chigh-=qeIcx,0!=(32768&a))return this.a=a,cx_mps;a<qeIcx?(d=1^cx_mps,1===qeTableIcx.switchFlag&&(cx_mps=d),cx_index=qeTableIcx.nlps):(d=cx_mps,cx_index=qeTableIcx.nmps)}do{0===this.ct&&this.byteIn(),a<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0==(32768&a));return this.a=a,contexts[pos]=cx_index<<1|cx_mps,d}},ArithmeticDecoder}();exports.ArithmeticDecoder=ArithmeticDecoder},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calculateSHA512=exports.calculateSHA384=exports.calculateSHA256=exports.calculateMD5=exports.PDF20=exports.PDF17=exports.CipherTransformFactory=exports.ARCFourCipher=exports.AES256Cipher=exports.AES128Cipher=void 0;var _util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_stream=__w_pdfjs_require__(5),ARCFourCipher=function ARCFourCipherClosure(){function ARCFourCipher(key){this.a=0,this.b=0;var i,tmp,s=new Uint8Array(256),j=0,keyLength=key.length;for(i=0;i<256;++i)s[i]=i;for(i=0;i<256;++i)j=j+(tmp=s[i])+key[i%keyLength]&255,s[i]=s[j],s[j]=tmp;this.s=s}return ARCFourCipher.prototype={encryptBlock:function ARCFourCipher_encryptBlock(data){var i,tmp,tmp2,n=data.length,a=this.a,b=this.b,s=this.s,output=new Uint8Array(n);for(i=0;i<n;++i)tmp2=s[b=b+(tmp=s[a=a+1&255])&255],s[a]=tmp2,s[b]=tmp,output[i]=data[i]^s[tmp+tmp2&255];return this.a=a,this.b=b,output}},ARCFourCipher.prototype.decryptBlock=ARCFourCipher.prototype.encryptBlock,ARCFourCipher}(),calculateMD5=function calculateMD5Closure(){var r=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),k=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function hash(data,offset,length){var i,j,n,h0=1732584193,h1=-271733879,h2=-1732584194,h3=271733878,paddedLength=length+72&-64,padded=new Uint8Array(paddedLength);for(i=0;i<length;++i)padded[i]=data[offset++];for(padded[i++]=128,n=paddedLength-8;i<n;)padded[i++]=0;padded[i++]=length<<3&255,padded[i++]=length>>5&255,padded[i++]=length>>13&255,padded[i++]=length>>21&255,padded[i++]=length>>>29&255,padded[i++]=0,padded[i++]=0,padded[i++]=0;var w=new Int32Array(16);for(i=0;i<paddedLength;){for(j=0;j<16;++j,i+=4)w[j]=padded[i]|padded[i+1]<<8|padded[i+2]<<16|padded[i+3]<<24;var f,g,a=h0,b=h1,c=h2,d=h3;for(j=0;j<64;++j){j<16?(f=b&c|~b&d,g=j):j<32?(f=d&b|~d&c,g=5*j+1&15):j<48?(f=b^c^d,g=3*j+5&15):(f=c^(b|~d),g=7*j&15);var tmp=d,rotateArg=a+f+k[j]+w[g]|0,rotate=r[j];d=c,c=b,b=b+(rotateArg<<rotate|rotateArg>>>32-rotate)|0,a=tmp}h0=h0+a|0,h1=h1+b|0,h2=h2+c|0,h3=h3+d|0}return new Uint8Array([255&h0,h0>>8&255,h0>>16&255,h0>>>24&255,255&h1,h1>>8&255,h1>>16&255,h1>>>24&255,255&h2,h2>>8&255,h2>>16&255,h2>>>24&255,255&h3,h3>>8&255,h3>>16&255,h3>>>24&255])}}(),Word64=function Word64Closure(){function Word64(highInteger,lowInteger){this.high=0|highInteger,this.low=0|lowInteger}return Word64.prototype={and:function Word64_and(word){this.high&=word.high,this.low&=word.low},xor:function Word64_xor(word){this.high^=word.high,this.low^=word.low},or:function Word64_or(word){this.high|=word.high,this.low|=word.low},shiftRight:function Word64_shiftRight(places){places>=32?(this.low=this.high>>>places-32|0,this.high=0):(this.low=this.low>>>places|this.high<<32-places,this.high=this.high>>>places|0)},shiftLeft:function Word64_shiftLeft(places){places>=32?(this.high=this.low<<places-32,this.low=0):(this.high=this.high<<places|this.low>>>32-places,this.low=this.low<<places)},rotateRight:function Word64_rotateRight(places){var low,high;32&places?(high=this.low,low=this.high):(low=this.low,high=this.high),places&=31,this.low=low>>>places|high<<32-places,this.high=high>>>places|low<<32-places},not:function Word64_not(){this.high=~this.high,this.low=~this.low},add:function Word64_add(word){var lowAdd=(this.low>>>0)+(word.low>>>0),highAdd=(this.high>>>0)+(word.high>>>0);lowAdd>4294967295&&(highAdd+=1),this.low=0|lowAdd,this.high=0|highAdd},copyTo:function Word64_copyTo(bytes,offset){bytes[offset]=this.high>>>24&255,bytes[offset+1]=this.high>>16&255,bytes[offset+2]=this.high>>8&255,bytes[offset+3]=255&this.high,bytes[offset+4]=this.low>>>24&255,bytes[offset+5]=this.low>>16&255,bytes[offset+6]=this.low>>8&255,bytes[offset+7]=255&this.low},assign:function Word64_assign(word){this.high=word.high,this.low=word.low}},Word64}(),calculateSHA256=function calculateSHA256Closure(){function rotr(x,n){return x>>>n|x<<32-n}function ch(x,y,z){return x&y^~x&z}function maj(x,y,z){return x&y^x&z^y&z}function sigma(x){return rotr(x,2)^rotr(x,13)^rotr(x,22)}function sigmaPrime(x){return rotr(x,6)^rotr(x,11)^rotr(x,25)}function littleSigma(x){return rotr(x,7)^rotr(x,18)^x>>>3}var k=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return function hash(data,offset,length){var i,j,n,h0=1779033703,h1=3144134277,h2=1013904242,h3=2773480762,h4=1359893119,h5=2600822924,h6=528734635,h7=1541459225,paddedLength=64*Math.ceil((length+9)/64),padded=new Uint8Array(paddedLength);for(i=0;i<length;++i)padded[i]=data[offset++];for(padded[i++]=128,n=paddedLength-8;i<n;)padded[i++]=0;padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=length>>>29&255,padded[i++]=length>>21&255,padded[i++]=length>>13&255,padded[i++]=length>>5&255,padded[i++]=length<<3&255;var x,w=new Uint32Array(64);for(i=0;i<paddedLength;){for(j=0;j<16;++j)w[j]=padded[i]<<24|padded[i+1]<<16|padded[i+2]<<8|padded[i+3],i+=4;for(j=16;j<64;++j)w[j]=0|(rotr(x=w[j-2],17)^rotr(x,19)^x>>>10)+w[j-7]+littleSigma(w[j-15])+w[j-16];var t1,t2,a=h0,b=h1,c=h2,d=h3,e=h4,f=h5,g=h6,h=h7;for(j=0;j<64;++j)t1=h+sigmaPrime(e)+ch(e,f,g)+k[j]+w[j],t2=sigma(a)+maj(a,b,c),h=g,g=f,f=e,e=d+t1|0,d=c,c=b,b=a,a=t1+t2|0;h0=h0+a|0,h1=h1+b|0,h2=h2+c|0,h3=h3+d|0,h4=h4+e|0,h5=h5+f|0,h6=h6+g|0,h7=h7+h|0}return new Uint8Array([h0>>24&255,h0>>16&255,h0>>8&255,255&h0,h1>>24&255,h1>>16&255,h1>>8&255,255&h1,h2>>24&255,h2>>16&255,h2>>8&255,255&h2,h3>>24&255,h3>>16&255,h3>>8&255,255&h3,h4>>24&255,h4>>16&255,h4>>8&255,255&h4,h5>>24&255,h5>>16&255,h5>>8&255,255&h5,h6>>24&255,h6>>16&255,h6>>8&255,255&h6,h7>>24&255,h7>>16&255,h7>>8&255,255&h7])}}(),calculateSHA512=function calculateSHA512Closure(){function ch(result,x,y,z,tmp){result.assign(x),result.and(y),tmp.assign(x),tmp.not(),tmp.and(z),result.xor(tmp)}function maj(result,x,y,z,tmp){result.assign(x),result.and(y),tmp.assign(x),tmp.and(z),result.xor(tmp),tmp.assign(y),tmp.and(z),result.xor(tmp)}function sigma(result,x,tmp){result.assign(x),result.rotateRight(28),tmp.assign(x),tmp.rotateRight(34),result.xor(tmp),tmp.assign(x),tmp.rotateRight(39),result.xor(tmp)}function sigmaPrime(result,x,tmp){result.assign(x),result.rotateRight(14),tmp.assign(x),tmp.rotateRight(18),result.xor(tmp),tmp.assign(x),tmp.rotateRight(41),result.xor(tmp)}function littleSigma(result,x,tmp){result.assign(x),result.rotateRight(1),tmp.assign(x),tmp.rotateRight(8),result.xor(tmp),tmp.assign(x),tmp.shiftRight(7),result.xor(tmp)}function littleSigmaPrime(result,x,tmp){result.assign(x),result.rotateRight(19),tmp.assign(x),tmp.rotateRight(61),result.xor(tmp),tmp.assign(x),tmp.shiftRight(6),result.xor(tmp)}var k=[new Word64(1116352408,3609767458),new Word64(1899447441,602891725),new Word64(3049323471,3964484399),new Word64(3921009573,2173295548),new Word64(961987163,4081628472),new Word64(1508970993,3053834265),new Word64(2453635748,2937671579),new Word64(2870763221,3664609560),new Word64(3624381080,2734883394),new Word64(310598401,1164996542),new Word64(607225278,1323610764),new Word64(1426881987,3590304994),new Word64(1925078388,4068182383),new Word64(2162078206,991336113),new Word64(2614888103,633803317),new Word64(3248222580,3479774868),new Word64(3835390401,2666613458),new Word64(4022224774,944711139),new Word64(264347078,2341262773),new Word64(604807628,2007800933),new Word64(770255983,1495990901),new Word64(1249150122,1856431235),new Word64(1555081692,3175218132),new Word64(1996064986,2198950837),new Word64(2554220882,3999719339),new Word64(2821834349,766784016),new Word64(2952996808,2566594879),new Word64(3210313671,3203337956),new Word64(3336571891,1034457026),new Word64(3584528711,2466948901),new Word64(113926993,3758326383),new Word64(338241895,168717936),new Word64(666307205,1188179964),new Word64(773529912,1546045734),new Word64(1294757372,1522805485),new Word64(1396182291,2643833823),new Word64(1695183700,2343527390),new Word64(1986661051,1014477480),new Word64(2177026350,1206759142),new Word64(2456956037,344077627),new Word64(2730485921,1290863460),new Word64(2820302411,3158454273),new Word64(3259730800,3505952657),new Word64(3345764771,106217008),new Word64(3516065817,3606008344),new Word64(3600352804,1432725776),new Word64(4094571909,1467031594),new Word64(275423344,851169720),new Word64(430227734,3100823752),new Word64(506948616,1363258195),new Word64(659060556,3750685593),new Word64(883997877,3785050280),new Word64(958139571,3318307427),new Word64(1322822218,3812723403),new Word64(1537002063,2003034995),new Word64(1747873779,3602036899),new Word64(1955562222,1575990012),new Word64(2024104815,1125592928),new Word64(2227730452,2716904306),new Word64(2361852424,442776044),new Word64(2428436474,593698344),new Word64(2756734187,3733110249),new Word64(3204031479,2999351573),new Word64(3329325298,3815920427),new Word64(3391569614,3928383900),new Word64(3515267271,566280711),new Word64(3940187606,3454069534),new Word64(4118630271,4000239992),new Word64(116418474,1914138554),new Word64(174292421,2731055270),new Word64(289380356,3203993006),new Word64(460393269,320620315),new Word64(685471733,587496836),new Word64(852142971,1086792851),new Word64(1017036298,365543100),new Word64(1126000580,2618297676),new Word64(1288033470,3409855158),new Word64(1501505948,4234509866),new Word64(1607167915,987167468),new Word64(1816402316,1246189591)];return function hash(data,offset,length,mode384){var h0,h1,h2,h3,h4,h5,h6,h7;(mode384=!!mode384)?(h0=new Word64(3418070365,3238371032),h1=new Word64(1654270250,914150663),h2=new Word64(2438529370,812702999),h3=new Word64(355462360,4144912697),h4=new Word64(1731405415,4290775857),h5=new Word64(2394180231,1750603025),h6=new Word64(3675008525,1694076839),h7=new Word64(1203062813,3204075428)):(h0=new Word64(1779033703,4089235720),h1=new Word64(3144134277,2227873595),h2=new Word64(1013904242,4271175723),h3=new Word64(2773480762,1595750129),h4=new Word64(1359893119,2917565137),h5=new Word64(2600822924,725511199),h6=new Word64(528734635,4215389547),h7=new Word64(1541459225,327033209));var i,j,n,paddedLength=128*Math.ceil((length+17)/128),padded=new Uint8Array(paddedLength);for(i=0;i<length;++i)padded[i]=data[offset++];for(padded[i++]=128,n=paddedLength-16;i<n;)padded[i++]=0;padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=0,padded[i++]=length>>>29&255,padded[i++]=length>>21&255,padded[i++]=length>>13&255,padded[i++]=length>>5&255,padded[i++]=length<<3&255;var w=new Array(80);for(i=0;i<80;i++)w[i]=new Word64(0,0);var tmp3,result,a=new Word64(0,0),b=new Word64(0,0),c=new Word64(0,0),d=new Word64(0,0),e=new Word64(0,0),f=new Word64(0,0),g=new Word64(0,0),h=new Word64(0,0),t1=new Word64(0,0),t2=new Word64(0,0),tmp1=new Word64(0,0),tmp2=new Word64(0,0);for(i=0;i<paddedLength;){for(j=0;j<16;++j)w[j].high=padded[i]<<24|padded[i+1]<<16|padded[i+2]<<8|padded[i+3],w[j].low=padded[i+4]<<24|padded[i+5]<<16|padded[i+6]<<8|padded[i+7],i+=8;for(j=16;j<80;++j)littleSigmaPrime(tmp3=w[j],w[j-2],tmp2),tmp3.add(w[j-7]),littleSigma(tmp1,w[j-15],tmp2),tmp3.add(tmp1),tmp3.add(w[j-16]);for(a.assign(h0),b.assign(h1),c.assign(h2),d.assign(h3),e.assign(h4),f.assign(h5),g.assign(h6),h.assign(h7),j=0;j<80;++j)t1.assign(h),sigmaPrime(tmp1,e,tmp2),t1.add(tmp1),ch(tmp1,e,f,g,tmp2),t1.add(tmp1),t1.add(k[j]),t1.add(w[j]),sigma(t2,a,tmp2),maj(tmp1,a,b,c,tmp2),t2.add(tmp1),tmp3=h,h=g,g=f,f=e,d.add(t1),e=d,d=c,c=b,b=a,tmp3.assign(t1),tmp3.add(t2),a=tmp3;h0.add(a),h1.add(b),h2.add(c),h3.add(d),h4.add(e),h5.add(f),h6.add(g),h7.add(h)}return mode384?(result=new Uint8Array(48),h0.copyTo(result,0),h1.copyTo(result,8),h2.copyTo(result,16),h3.copyTo(result,24),h4.copyTo(result,32),h5.copyTo(result,40)):(result=new Uint8Array(64),h0.copyTo(result,0),h1.copyTo(result,8),h2.copyTo(result,16),h3.copyTo(result,24),h4.copyTo(result,32),h5.copyTo(result,40),h6.copyTo(result,48),h7.copyTo(result,56)),result}}(),calculateSHA384=function calculateSHA384Closure(){return function hash(data,offset,length){return calculateSHA512(data,offset,length,!0)}}(),NullCipher=function NullCipherClosure(){function NullCipher(){}return NullCipher.prototype={decryptBlock:function NullCipher_decryptBlock(data){return data}},NullCipher}(),AES128Cipher=function AES128CipherClosure(){for(var rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),mixCol=new Uint8Array(256),i=0;i<256;i++)mixCol[i]=i<128?i<<1:i<<1^27;var mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);function decrypt128(input,key){var i,j,k,t,u,v,state=new Uint8Array(16);for(state.set(input),j=0,k=160;j<16;++j,++k)state[j]^=key[k];for(i=9;i>=1;--i){for(t=state[13],state[13]=state[9],state[9]=state[5],state[5]=state[1],state[1]=t,t=state[14],u=state[10],state[14]=state[6],state[10]=state[2],state[6]=t,state[2]=u,t=state[15],u=state[11],v=state[7],state[15]=state[3],state[11]=t,state[7]=u,state[3]=v,j=0;j<16;++j)state[j]=inv_s[state[j]];for(j=0,k=16*i;j<16;++j,++k)state[j]^=key[k];for(j=0;j<16;j+=4){var s0=mix[state[j]],s1=mix[state[j+1]],s2=mix[state[j+2]],s3=mix[state[j+3]];t=s0^s1>>>8^s1<<24^s2>>>16^s2<<16^s3>>>24^s3<<8,state[j]=t>>>24&255,state[j+1]=t>>16&255,state[j+2]=t>>8&255,state[j+3]=255&t}}for(t=state[13],state[13]=state[9],state[9]=state[5],state[5]=state[1],state[1]=t,t=state[14],u=state[10],state[14]=state[6],state[10]=state[2],state[6]=t,state[2]=u,t=state[15],u=state[11],v=state[7],state[15]=state[3],state[11]=t,state[7]=u,state[3]=v,j=0;j<16;++j)state[j]=inv_s[state[j]],state[j]^=key[j];return state}function encrypt128(input,key){var t,u,v,k,state=new Uint8Array(16);for(state.set(input),j=0;j<16;++j)state[j]^=key[j];for(i=1;i<10;i++){for(j=0;j<16;++j)state[j]=s[state[j]];v=state[1],state[1]=state[5],state[5]=state[9],state[9]=state[13],state[13]=v,v=state[2],u=state[6],state[2]=state[10],state[6]=state[14],state[10]=v,state[14]=u,v=state[3],u=state[7],t=state[11],state[3]=state[15],state[7]=v,state[11]=u,state[15]=t;for(var j=0;j<16;j+=4){var s0=state[j+0],s1=state[j+1],s2=state[j+2],s3=state[j+3];t=s0^s1^s2^s3,state[j+0]^=t^mixCol[s0^s1],state[j+1]^=t^mixCol[s1^s2],state[j+2]^=t^mixCol[s2^s3],state[j+3]^=t^mixCol[s3^s0]}for(j=0,k=16*i;j<16;++j,++k)state[j]^=key[k]}for(j=0;j<16;++j)state[j]=s[state[j]];for(v=state[1],state[1]=state[5],state[5]=state[9],state[9]=state[13],state[13]=v,v=state[2],u=state[6],state[2]=state[10],state[6]=state[14],state[10]=v,state[14]=u,v=state[3],u=state[7],t=state[11],state[3]=state[15],state[7]=v,state[11]=u,state[15]=t,j=0,k=160;j<16;++j,++k)state[j]^=key[k];return state}function AES128Cipher(key){this.key=function expandKey128(cipherKey){var result=new Uint8Array(176);result.set(cipherKey);for(var j=16,i=1;j<176;++i){var t1=result[j-3],t2=result[j-2],t3=result[j-1],t4=result[j-4];t1=s[t1],t2=s[t2],t3=s[t3],t4=s[t4],t1^=rcon[i];for(var n=0;n<4;++n)result[j]=t1^=result[j-16],result[++j]=t2^=result[j-16],result[++j]=t3^=result[j-16],result[++j]=t4^=result[j-16],j++}return result}(key),this.buffer=new Uint8Array(16),this.bufferPosition=0}function decryptBlock2(data,finalize){var i,j,ii,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[],iv=this.iv;for(i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],!(++bufferLength<16)){var plain=decrypt128(buffer,this.key);for(j=0;j<16;++j)plain[j]^=iv[j];iv=buffer,result.push(plain),buffer=new Uint8Array(16),bufferLength=0}if(this.buffer=buffer,this.bufferLength=bufferLength,this.iv=iv,0===result.length)return new Uint8Array([]);var outputLength=16*result.length;if(finalize){var lastBlock=result[result.length-1],psLen=lastBlock[15];if(psLen<=16){for(i=15,ii=16-psLen;i>=ii;--i)if(lastBlock[i]!==psLen){psLen=0;break}outputLength-=psLen,result[result.length-1]=lastBlock.subarray(0,16-psLen)}}var output=new Uint8Array(outputLength);for(i=0,j=0,ii=result.length;i<ii;++i,j+=16)output.set(result[i],j);return output}return AES128Cipher.prototype={decryptBlock:function AES128Cipher_decryptBlock(data,finalize){var i,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition;for(i=0;bufferLength<16&&i<sourceLength;++i,++bufferLength)buffer[bufferLength]=data[i];return bufferLength<16?(this.bufferLength=bufferLength,new Uint8Array([])):(this.iv=buffer,this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=decryptBlock2,this.decryptBlock(data.subarray(16),finalize))},encrypt:function AES128Cipher_encrypt(data,iv){var i,j,ii,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[];for(iv||(iv=new Uint8Array(16)),i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],!(++bufferLength<16)){for(j=0;j<16;++j)buffer[j]^=iv[j];var cipher=encrypt128(buffer,this.key);iv=cipher,result.push(cipher),buffer=new Uint8Array(16),bufferLength=0}if(this.buffer=buffer,this.bufferLength=bufferLength,this.iv=iv,0===result.length)return new Uint8Array([]);var outputLength=16*result.length,output=new Uint8Array(outputLength);for(i=0,j=0,ii=result.length;i<ii;++i,j+=16)output.set(result[i],j);return output}},AES128Cipher}(),AES256Cipher=function AES256CipherClosure(){for(var s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),mixCol=new Uint8Array(256),i=0;i<256;i++)mixCol[i]=i<128?i<<1:i<<1^27;var mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);function decrypt256(input,key){var i,j,k,t,u,v,state=new Uint8Array(16);for(state.set(input),j=0,k=224;j<16;++j,++k)state[j]^=key[k];for(i=13;i>=1;--i){for(t=state[13],state[13]=state[9],state[9]=state[5],state[5]=state[1],state[1]=t,t=state[14],u=state[10],state[14]=state[6],state[10]=state[2],state[6]=t,state[2]=u,t=state[15],u=state[11],v=state[7],state[15]=state[3],state[11]=t,state[7]=u,state[3]=v,j=0;j<16;++j)state[j]=inv_s[state[j]];for(j=0,k=16*i;j<16;++j,++k)state[j]^=key[k];for(j=0;j<16;j+=4){var s0=mix[state[j]],s1=mix[state[j+1]],s2=mix[state[j+2]],s3=mix[state[j+3]];t=s0^s1>>>8^s1<<24^s2>>>16^s2<<16^s3>>>24^s3<<8,state[j]=t>>>24&255,state[j+1]=t>>16&255,state[j+2]=t>>8&255,state[j+3]=255&t}}for(t=state[13],state[13]=state[9],state[9]=state[5],state[5]=state[1],state[1]=t,t=state[14],u=state[10],state[14]=state[6],state[10]=state[2],state[6]=t,state[2]=u,t=state[15],u=state[11],v=state[7],state[15]=state[3],state[11]=t,state[7]=u,state[3]=v,j=0;j<16;++j)state[j]=inv_s[state[j]],state[j]^=key[j];return state}function encrypt256(input,key){var t,u,v,k,state=new Uint8Array(16);for(state.set(input),j=0;j<16;++j)state[j]^=key[j];for(i=1;i<14;i++){for(j=0;j<16;++j)state[j]=s[state[j]];v=state[1],state[1]=state[5],state[5]=state[9],state[9]=state[13],state[13]=v,v=state[2],u=state[6],state[2]=state[10],state[6]=state[14],state[10]=v,state[14]=u,v=state[3],u=state[7],t=state[11],state[3]=state[15],state[7]=v,state[11]=u,state[15]=t;for(var j=0;j<16;j+=4){var s0=state[j+0],s1=state[j+1],s2=state[j+2],s3=state[j+3];t=s0^s1^s2^s3,state[j+0]^=t^mixCol[s0^s1],state[j+1]^=t^mixCol[s1^s2],state[j+2]^=t^mixCol[s2^s3],state[j+3]^=t^mixCol[s3^s0]}for(j=0,k=16*i;j<16;++j,++k)state[j]^=key[k]}for(j=0;j<16;++j)state[j]=s[state[j]];for(v=state[1],state[1]=state[5],state[5]=state[9],state[9]=state[13],state[13]=v,v=state[2],u=state[6],state[2]=state[10],state[6]=state[14],state[10]=v,state[14]=u,v=state[3],u=state[7],t=state[11],state[3]=state[15],state[7]=v,state[11]=u,state[15]=t,j=0,k=224;j<16;++j,++k)state[j]^=key[k];return state}function AES256Cipher(key){this.key=function expandKey256(cipherKey){var result=new Uint8Array(240),r=1;result.set(cipherKey);for(var j=32,i=1;j<240;++i){if(j%32==16)t1=s[t1],t2=s[t2],t3=s[t3],t4=s[t4];else if(j%32==0){var t1=result[j-3],t2=result[j-2],t3=result[j-1],t4=result[j-4];t1=s[t1],t2=s[t2],t3=s[t3],t4=s[t4],t1^=r,(r<<=1)>=256&&(r=255&(27^r))}for(var n=0;n<4;++n)result[j]=t1^=result[j-32],result[++j]=t2^=result[j-32],result[++j]=t3^=result[j-32],result[++j]=t4^=result[j-32],j++}return result}(key),this.buffer=new Uint8Array(16),this.bufferPosition=0}function decryptBlock2(data,finalize){var i,j,ii,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[],iv=this.iv;for(i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],!(++bufferLength<16)){var plain=decrypt256(buffer,this.key);for(j=0;j<16;++j)plain[j]^=iv[j];iv=buffer,result.push(plain),buffer=new Uint8Array(16),bufferLength=0}if(this.buffer=buffer,this.bufferLength=bufferLength,this.iv=iv,0===result.length)return new Uint8Array([]);var outputLength=16*result.length;if(finalize){var lastBlock=result[result.length-1],psLen=lastBlock[15];if(psLen<=16){for(i=15,ii=16-psLen;i>=ii;--i)if(lastBlock[i]!==psLen){psLen=0;break}outputLength-=psLen,result[result.length-1]=lastBlock.subarray(0,16-psLen)}}var output=new Uint8Array(outputLength);for(i=0,j=0,ii=result.length;i<ii;++i,j+=16)output.set(result[i],j);return output}return AES256Cipher.prototype={decryptBlock:function AES256Cipher_decryptBlock(data,finalize,iv){var i,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition;if(iv)this.iv=iv;else{for(i=0;bufferLength<16&&i<sourceLength;++i,++bufferLength)buffer[bufferLength]=data[i];if(bufferLength<16)return this.bufferLength=bufferLength,new Uint8Array([]);this.iv=buffer,data=data.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=decryptBlock2,this.decryptBlock(data,finalize)},encrypt:function AES256Cipher_encrypt(data,iv){var i,j,ii,sourceLength=data.length,buffer=this.buffer,bufferLength=this.bufferPosition,result=[];for(iv||(iv=new Uint8Array(16)),i=0;i<sourceLength;++i)if(buffer[bufferLength]=data[i],!(++bufferLength<16)){for(j=0;j<16;++j)buffer[j]^=iv[j];var cipher=encrypt256(buffer,this.key);this.iv=cipher,result.push(cipher),buffer=new Uint8Array(16),bufferLength=0}if(this.buffer=buffer,this.bufferLength=bufferLength,this.iv=iv,0===result.length)return new Uint8Array([]);var outputLength=16*result.length,output=new Uint8Array(outputLength);for(i=0,j=0,ii=result.length;i<ii;++i,j+=16)output.set(result[i],j);return output}},AES256Cipher}(),PDF17=function PDF17Closure(){function compareByteArrays(array1,array2){if(array1.length!==array2.length)return!1;for(var i=0;i<array1.length;i++)if(array1[i]!==array2[i])return!1;return!0}function PDF17(){}return PDF17.prototype={checkOwnerPassword:function PDF17_checkOwnerPassword(password,ownerValidationSalt,userBytes,ownerPassword){var hashData=new Uint8Array(password.length+56);return hashData.set(password,0),hashData.set(ownerValidationSalt,password.length),hashData.set(userBytes,password.length+ownerValidationSalt.length),compareByteArrays(calculateSHA256(hashData,0,hashData.length),ownerPassword)},checkUserPassword:function PDF17_checkUserPassword(password,userValidationSalt,userPassword){var hashData=new Uint8Array(password.length+8);return hashData.set(password,0),hashData.set(userValidationSalt,password.length),compareByteArrays(calculateSHA256(hashData,0,hashData.length),userPassword)},getOwnerKey:function PDF17_getOwnerKey(password,ownerKeySalt,userBytes,ownerEncryption){var hashData=new Uint8Array(password.length+56);hashData.set(password,0),hashData.set(ownerKeySalt,password.length),hashData.set(userBytes,password.length+ownerKeySalt.length);var key=calculateSHA256(hashData,0,hashData.length);return new AES256Cipher(key).decryptBlock(ownerEncryption,!1,new Uint8Array(16))},getUserKey:function PDF17_getUserKey(password,userKeySalt,userEncryption){var hashData=new Uint8Array(password.length+8);hashData.set(password,0),hashData.set(userKeySalt,password.length);var key=calculateSHA256(hashData,0,hashData.length);return new AES256Cipher(key).decryptBlock(userEncryption,!1,new Uint8Array(16))}},PDF17}(),PDF20=function PDF20Closure(){function concatArrays(array1,array2){var t=new Uint8Array(array1.length+array2.length);return t.set(array1,0),t.set(array2,array1.length),t}function calculatePDF20Hash(password,input,userBytes){for(var k=calculateSHA256(input,0,input.length).subarray(0,32),e=[0],i=0;i<64||e[e.length-1]>i-32;){var arrayLength=password.length+k.length+userBytes.length,k1=new Uint8Array(64*arrayLength),array=concatArrays(password,k);array=concatArrays(array,userBytes);for(var j=0,pos=0;j<64;j++,pos+=arrayLength)k1.set(array,pos);e=new AES128Cipher(k.subarray(0,16)).encrypt(k1,k.subarray(16,32));for(var remainder=0,z=0;z<16;z++)remainder*=1,remainder%=3,remainder+=(e[z]>>>0)%3,remainder%=3;0===remainder?k=calculateSHA256(e,0,e.length):1===remainder?k=calculateSHA384(e,0,e.length):2===remainder&&(k=calculateSHA512(e,0,e.length)),i++}return k.subarray(0,32)}function PDF20(){}function compareByteArrays(array1,array2){if(array1.length!==array2.length)return!1;for(var i=0;i<array1.length;i++)if(array1[i]!==array2[i])return!1;return!0}return PDF20.prototype={hash:function PDF20_hash(password,concatBytes,userBytes){return calculatePDF20Hash(password,concatBytes,userBytes)},checkOwnerPassword:function PDF20_checkOwnerPassword(password,ownerValidationSalt,userBytes,ownerPassword){var hashData=new Uint8Array(password.length+56);return hashData.set(password,0),hashData.set(ownerValidationSalt,password.length),hashData.set(userBytes,password.length+ownerValidationSalt.length),compareByteArrays(calculatePDF20Hash(password,hashData,userBytes),ownerPassword)},checkUserPassword:function PDF20_checkUserPassword(password,userValidationSalt,userPassword){var hashData=new Uint8Array(password.length+8);return hashData.set(password,0),hashData.set(userValidationSalt,password.length),compareByteArrays(calculatePDF20Hash(password,hashData,[]),userPassword)},getOwnerKey:function PDF20_getOwnerKey(password,ownerKeySalt,userBytes,ownerEncryption){var hashData=new Uint8Array(password.length+56);hashData.set(password,0),hashData.set(ownerKeySalt,password.length),hashData.set(userBytes,password.length+ownerKeySalt.length);var key=calculatePDF20Hash(password,hashData,userBytes);return new AES256Cipher(key).decryptBlock(ownerEncryption,!1,new Uint8Array(16))},getUserKey:function PDF20_getUserKey(password,userKeySalt,userEncryption){var hashData=new Uint8Array(password.length+8);hashData.set(password,0),hashData.set(userKeySalt,password.length);var key=calculatePDF20Hash(password,hashData,[]);return new AES256Cipher(key).decryptBlock(userEncryption,!1,new Uint8Array(16))}},PDF20}(),CipherTransform=function CipherTransformClosure(){function CipherTransform(stringCipherConstructor,streamCipherConstructor){this.StringCipherConstructor=stringCipherConstructor,this.StreamCipherConstructor=streamCipherConstructor}return CipherTransform.prototype={createStream:function CipherTransform_createStream(stream,length){var cipher=new this.StreamCipherConstructor;return new _stream.DecryptStream(stream,length,(function cipherTransformDecryptStream(data,finalize){return cipher.decryptBlock(data,finalize)}))},decryptString:function CipherTransform_decryptString(s){var cipher=new this.StringCipherConstructor,data=(0,_util.stringToBytes)(s);return data=cipher.decryptBlock(data,!0),(0,_util.bytesToString)(data)}},CipherTransform}(),CipherTransformFactory=function CipherTransformFactoryClosure(){var defaultPasswordBytes=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function prepareKeyData(fileId,password,ownerPassword,userPassword,flags,revision,keyLength,encryptMetadata){var j,n,hashDataSize=40+ownerPassword.length+fileId.length,hashData=new Uint8Array(hashDataSize),i=0;if(password)for(n=Math.min(32,password.length);i<n;++i)hashData[i]=password[i];for(j=0;i<32;)hashData[i++]=defaultPasswordBytes[j++];for(j=0,n=ownerPassword.length;j<n;++j)hashData[i++]=ownerPassword[j];for(hashData[i++]=255&flags,hashData[i++]=flags>>8&255,hashData[i++]=flags>>16&255,hashData[i++]=flags>>>24&255,j=0,n=fileId.length;j<n;++j)hashData[i++]=fileId[j];revision>=4&&!encryptMetadata&&(hashData[i++]=255,hashData[i++]=255,hashData[i++]=255,hashData[i++]=255);var hash=calculateMD5(hashData,0,i),keyLengthInBytes=keyLength>>3;if(revision>=3)for(j=0;j<50;++j)hash=calculateMD5(hash,0,keyLengthInBytes);var checkData,encryptionKey=hash.subarray(0,keyLengthInBytes);if(revision>=3){for(i=0;i<32;++i)hashData[i]=defaultPasswordBytes[i];for(j=0,n=fileId.length;j<n;++j)hashData[i++]=fileId[j];checkData=new ARCFourCipher(encryptionKey).encryptBlock(calculateMD5(hashData,0,i)),n=encryptionKey.length;var k,derivedKey=new Uint8Array(n);for(j=1;j<=19;++j){for(k=0;k<n;++k)derivedKey[k]=encryptionKey[k]^j;checkData=new ARCFourCipher(derivedKey).encryptBlock(checkData)}for(j=0,n=checkData.length;j<n;++j)if(userPassword[j]!==checkData[j])return null}else for(j=0,n=(checkData=new ARCFourCipher(encryptionKey).encryptBlock(defaultPasswordBytes)).length;j<n;++j)if(userPassword[j]!==checkData[j])return null;return encryptionKey}var identityName=_primitives.Name.get("Identity");function CipherTransformFactory(dict,fileId,password){var filter=dict.get("Filter");if(!(0,_primitives.isName)(filter,"Standard"))throw new _util.FormatError("unknown encryption method");this.dict=dict;var algorithm=dict.get("V");if(!Number.isInteger(algorithm)||1!==algorithm&&2!==algorithm&&4!==algorithm&&5!==algorithm)throw new _util.FormatError("unsupported encryption algorithm");this.algorithm=algorithm;var keyLength=dict.get("Length");if(!keyLength)if(algorithm<=3)keyLength=40;else{var cfDict=dict.get("CF"),streamCryptoName=dict.get("StmF");if((0,_primitives.isDict)(cfDict)&&(0,_primitives.isName)(streamCryptoName)){cfDict.suppressEncryption=!0;var handlerDict=cfDict.get(streamCryptoName.name);(keyLength=handlerDict&&handlerDict.get("Length")||128)<40&&(keyLength<<=3)}}if(!Number.isInteger(keyLength)||keyLength<40||keyLength%8!=0)throw new _util.FormatError("invalid key length");var ownerPassword=(0,_util.stringToBytes)(dict.get("O")).subarray(0,32),userPassword=(0,_util.stringToBytes)(dict.get("U")).subarray(0,32),flags=dict.get("P"),revision=dict.get("R"),encryptMetadata=(4===algorithm||5===algorithm)&&!1!==dict.get("EncryptMetadata");this.encryptMetadata=encryptMetadata;var passwordBytes,encryptionKey,fileIdBytes=(0,_util.stringToBytes)(fileId);if(password){if(6===revision)try{password=(0,_util.utf8StringToString)(password)}catch(ex){(0,_util.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}passwordBytes=(0,_util.stringToBytes)(password)}if(5!==algorithm)encryptionKey=prepareKeyData(fileIdBytes,passwordBytes,ownerPassword,userPassword,flags,revision,keyLength,encryptMetadata);else{var ownerValidationSalt=(0,_util.stringToBytes)(dict.get("O")).subarray(32,40),ownerKeySalt=(0,_util.stringToBytes)(dict.get("O")).subarray(40,48),uBytes=(0,_util.stringToBytes)(dict.get("U")).subarray(0,48),userValidationSalt=(0,_util.stringToBytes)(dict.get("U")).subarray(32,40),userKeySalt=(0,_util.stringToBytes)(dict.get("U")).subarray(40,48),ownerEncryption=(0,_util.stringToBytes)(dict.get("OE")),userEncryption=(0,_util.stringToBytes)(dict.get("UE"));(0,_util.stringToBytes)(dict.get("Perms"));encryptionKey=function createEncryptionKey20(revision,password,ownerPassword,ownerValidationSalt,ownerKeySalt,uBytes,userPassword,userValidationSalt,userKeySalt,ownerEncryption,userEncryption,perms){if(password){var passwordLength=Math.min(127,password.length);password=password.subarray(0,passwordLength)}else password=[];var pdfAlgorithm;return(pdfAlgorithm=6===revision?new PDF20:new PDF17).checkUserPassword(password,userValidationSalt,userPassword)?pdfAlgorithm.getUserKey(password,userKeySalt,userEncryption):password.length&&pdfAlgorithm.checkOwnerPassword(password,ownerValidationSalt,uBytes,ownerPassword)?pdfAlgorithm.getOwnerKey(password,ownerKeySalt,uBytes,ownerEncryption):null}(revision,passwordBytes,ownerPassword,ownerValidationSalt,ownerKeySalt,uBytes,userPassword,userValidationSalt,userKeySalt,ownerEncryption,userEncryption)}if(!encryptionKey&&!password)throw new _util.PasswordException("No password given",_util.PasswordResponses.NEED_PASSWORD);if(!encryptionKey&&password&&(encryptionKey=prepareKeyData(fileIdBytes,function decodeUserPassword(password,ownerPassword,revision,keyLength){var j,n,hashData=new Uint8Array(32),i=0;for(n=Math.min(32,password.length);i<n;++i)hashData[i]=password[i];for(j=0;i<32;)hashData[i++]=defaultPasswordBytes[j++];var userPassword,hash=calculateMD5(hashData,0,i),keyLengthInBytes=keyLength>>3;if(revision>=3)for(j=0;j<50;++j)hash=calculateMD5(hash,0,hash.length);if(revision>=3){userPassword=ownerPassword;var k,derivedKey=new Uint8Array(keyLengthInBytes);for(j=19;j>=0;j--){for(k=0;k<keyLengthInBytes;++k)derivedKey[k]=hash[k]^j;userPassword=new ARCFourCipher(derivedKey).encryptBlock(userPassword)}}else userPassword=new ARCFourCipher(hash.subarray(0,keyLengthInBytes)).encryptBlock(ownerPassword);return userPassword}(passwordBytes,ownerPassword,revision,keyLength),ownerPassword,userPassword,flags,revision,keyLength,encryptMetadata)),!encryptionKey)throw new _util.PasswordException("Incorrect Password",_util.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=encryptionKey,algorithm>=4){var cf=dict.get("CF");(0,_primitives.isDict)(cf)&&(cf.suppressEncryption=!0),this.cf=cf,this.stmf=dict.get("StmF")||identityName,this.strf=dict.get("StrF")||identityName,this.eff=dict.get("EFF")||this.stmf}}function buildObjectKey(num,gen,encryptionKey,isAes){var i,n,key=new Uint8Array(encryptionKey.length+9);for(i=0,n=encryptionKey.length;i<n;++i)key[i]=encryptionKey[i];return key[i++]=255&num,key[i++]=num>>8&255,key[i++]=num>>16&255,key[i++]=255&gen,key[i++]=gen>>8&255,isAes&&(key[i++]=115,key[i++]=65,key[i++]=108,key[i++]=84),calculateMD5(key,0,i).subarray(0,Math.min(encryptionKey.length+5,16))}function buildCipherConstructor(cf,name,num,gen,key){if(!(0,_primitives.isName)(name))throw new _util.FormatError("Invalid crypt filter name.");var cfm,cryptFilter=cf.get(name.name);if(null!=cryptFilter&&(cfm=cryptFilter.get("CFM")),!cfm||"None"===cfm.name)return function cipherTransformFactoryBuildCipherConstructorNone(){return new NullCipher};if("V2"===cfm.name)return function cipherTransformFactoryBuildCipherConstructorV2(){return new ARCFourCipher(buildObjectKey(num,gen,key,!1))};if("AESV2"===cfm.name)return function cipherTransformFactoryBuildCipherConstructorAESV2(){return new AES128Cipher(buildObjectKey(num,gen,key,!0))};if("AESV3"===cfm.name)return function cipherTransformFactoryBuildCipherConstructorAESV3(){return new AES256Cipher(key)};throw new _util.FormatError("Unknown crypto method")}return CipherTransformFactory.prototype={createCipherTransform:function CipherTransformFactory_createCipherTransform(num,gen){if(4===this.algorithm||5===this.algorithm)return new CipherTransform(buildCipherConstructor(this.cf,this.stmf,num,gen,this.encryptionKey),buildCipherConstructor(this.cf,this.strf,num,gen,this.encryptionKey));var key=buildObjectKey(num,gen,this.encryptionKey,!1),cipherConstructor=function buildCipherCipherConstructor(){return new ARCFourCipher(key)};return new CipherTransform(cipherConstructor,cipherConstructor)}},CipherTransformFactory}();exports.AES128Cipher=AES128Cipher,exports.AES256Cipher=AES256Cipher,exports.ARCFourCipher=ARCFourCipher,exports.CipherTransformFactory=CipherTransformFactory,exports.PDF17=PDF17,exports.PDF20=PDF20,exports.calculateMD5=calculateMD5,exports.calculateSHA256=calculateSHA256,exports.calculateSHA384=calculateSHA384,exports.calculateSHA512=calculateSHA512},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PartialEvaluator=exports.OperatorList=void 0;var _util=__w_pdfjs_require__(0),_cmap=__w_pdfjs_require__(134),_stream=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(2),_fonts=__w_pdfjs_require__(135),_encodings=__w_pdfjs_require__(28),_unicode=__w_pdfjs_require__(80),_standard_fonts=__w_pdfjs_require__(79),_pattern=__w_pdfjs_require__(139),_parser=__w_pdfjs_require__(34),_bidi=__w_pdfjs_require__(140),_colorspace=__w_pdfjs_require__(27),_glyphlist=__w_pdfjs_require__(47),_metrics=__w_pdfjs_require__(141),_function=__w_pdfjs_require__(81),_murmurhash=__w_pdfjs_require__(143),_image=__w_pdfjs_require__(144),PartialEvaluator=function PartialEvaluatorClosure(){var DefaultPartialEvaluatorOptions={forceDataSchema:!1,maxImageSize:-1,disableFontFace:!1,nativeImageDecoderSupport:_util.NativeImageDecoding.DECODE,ignoreErrors:!1,isEvalSupported:!0};function NativeImageDecoder(_ref){var xref=_ref.xref,resources=_ref.resources,handler=_ref.handler,_ref$forceDataSchema=_ref.forceDataSchema,forceDataSchema=void 0!==_ref$forceDataSchema&&_ref$forceDataSchema,pdfFunctionFactory=_ref.pdfFunctionFactory;this.xref=xref,this.resources=resources,this.handler=handler,this.forceDataSchema=forceDataSchema,this.pdfFunctionFactory=pdfFunctionFactory}function PartialEvaluator(_ref2){var _this=this,pdfManager=_ref2.pdfManager,xref=_ref2.xref,handler=_ref2.handler,pageIndex=_ref2.pageIndex,idFactory=_ref2.idFactory,fontCache=_ref2.fontCache,builtInCMapCache=_ref2.builtInCMapCache,_ref2$options=_ref2.options,options=void 0===_ref2$options?null:_ref2$options,pdfFunctionFactory=_ref2.pdfFunctionFactory;this.pdfManager=pdfManager,this.xref=xref,this.handler=handler,this.pageIndex=pageIndex,this.idFactory=idFactory,this.fontCache=fontCache,this.builtInCMapCache=builtInCMapCache,this.options=options||DefaultPartialEvaluatorOptions,this.pdfFunctionFactory=pdfFunctionFactory,this.fetchBuiltInCMap=function(name){var cachedCMap=_this.builtInCMapCache[name];return cachedCMap?Promise.resolve(cachedCMap):_this.handler.sendWithPromise("FetchBuiltInCMap",{name:name}).then((function(data){return data.compressionType!==_util.CMapCompressionType.NONE&&(_this.builtInCMapCache[name]=data),data}))}}NativeImageDecoder.prototype={canDecode:function canDecode(image){return image instanceof _stream.JpegStream&&NativeImageDecoder.isDecodable(image,this.xref,this.resources,this.pdfFunctionFactory)},decode:function decode(image){var colorSpace=image.dict.get("ColorSpace","CS"),numComps=(colorSpace=_colorspace.ColorSpace.parse(colorSpace,this.xref,this.resources,this.pdfFunctionFactory)).numComps;return this.handler.sendWithPromise("JpegDecode",[image.getIR(this.forceDataSchema),numComps]).then((function(message){var data=message.data;return new _stream.Stream(data,0,data.length,image.dict)}))}},NativeImageDecoder.isSupported=function(image,xref,res,pdfFunctionFactory){var dict=image.dict;if(dict.has("DecodeParms")||dict.has("DP"))return!1;var cs=_colorspace.ColorSpace.parse(dict.get("ColorSpace","CS"),xref,res,pdfFunctionFactory);return("DeviceGray"===cs.name||"DeviceRGB"===cs.name)&&cs.isDefaultDecode(dict.getArray("Decode","D"))},NativeImageDecoder.isDecodable=function(image,xref,res,pdfFunctionFactory){var dict=image.dict;if(dict.has("DecodeParms")||dict.has("DP"))return!1;var cs=_colorspace.ColorSpace.parse(dict.get("ColorSpace","CS"),xref,res,pdfFunctionFactory);return(1===cs.numComps||3===cs.numComps)&&cs.isDefaultDecode(dict.getArray("Decode","D"))};function TimeSlotManager(){this.reset()}function normalizeBlendMode(value){if(!(0,_primitives.isName)(value))return"source-over";switch(value.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return(0,_util.warn)("Unsupported blend mode: "+value.name),"source-over"}TimeSlotManager.prototype={check:function TimeSlotManager_check(){return!(++this.checked<100)&&(this.checked=0,this.endTime<=Date.now())},reset:function TimeSlotManager_reset(){this.endTime=Date.now()+20,this.checked=0}};var deferred=Promise.resolve();return PartialEvaluator.prototype={clone:function clone(){var newOptions=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DefaultPartialEvaluatorOptions,newEvaluator=Object.create(this);return newEvaluator.options=newOptions,newEvaluator},hasBlendModes:function PartialEvaluator_hasBlendModes(resources){if(!(0,_primitives.isDict)(resources))return!1;var processed=Object.create(null);resources.objId&&(processed[resources.objId]=!0);for(var nodes=[resources],xref=this.xref;nodes.length;){var key,i,ii,node=nodes.shift(),graphicStates=node.get("ExtGState");if((0,_primitives.isDict)(graphicStates)){var graphicStatesKeys=graphicStates.getKeys();for(i=0,ii=graphicStatesKeys.length;i<ii;i++){key=graphicStatesKeys[i];var bm=graphicStates.get(key).get("BM");if((0,_primitives.isName)(bm)&&"Normal"!==bm.name)return!0}}var xObjects=node.get("XObject");if((0,_primitives.isDict)(xObjects)){var xObjectsKeys=xObjects.getKeys();for(i=0,ii=xObjectsKeys.length;i<ii;i++){key=xObjectsKeys[i];var xObject=xObjects.getRaw(key);if((0,_primitives.isRef)(xObject)){if(processed[xObject.toString()])continue;xObject=xref.fetch(xObject)}if((0,_primitives.isStream)(xObject)){if(xObject.dict.objId){if(processed[xObject.dict.objId])continue;processed[xObject.dict.objId]=!0}var xResources=xObject.dict.get("Resources");!(0,_primitives.isDict)(xResources)||xResources.objId&&processed[xResources.objId]||(nodes.push(xResources),xResources.objId&&(processed[xResources.objId]=!0))}}}}return!1},buildFormXObject:function PartialEvaluator_buildFormXObject(resources,xobj,smask,operatorList,task,initialState){var dict=xobj.dict,matrix=dict.getArray("Matrix"),bbox=dict.getArray("BBox"),group=dict.get("Group");if(group){var groupOptions={matrix:matrix,bbox:bbox,smask:smask,isolated:!1,knockout:!1},groupSubtype=group.get("S"),colorSpace=null;(0,_primitives.isName)(groupSubtype,"Transparency")&&(groupOptions.isolated=group.get("I")||!1,groupOptions.knockout=group.get("K")||!1,group.has("CS")&&(colorSpace=_colorspace.ColorSpace.parse(group.get("CS"),this.xref,resources,this.pdfFunctionFactory))),smask&&smask.backdrop&&(colorSpace=colorSpace||_colorspace.ColorSpace.singletons.rgb,smask.backdrop=colorSpace.getRgb(smask.backdrop,0)),operatorList.addOp(_util.OPS.beginGroup,[groupOptions])}return operatorList.addOp(_util.OPS.paintFormXObjectBegin,[matrix,bbox]),this.getOperatorList({stream:xobj,task:task,resources:dict.get("Resources")||resources,operatorList:operatorList,initialState:initialState}).then((function(){operatorList.addOp(_util.OPS.paintFormXObjectEnd,[]),group&&operatorList.addOp(_util.OPS.endGroup,[groupOptions])}))},buildPaintImageXObject:function PartialEvaluator_buildPaintImageXObject(resources,image,inline,operatorList,cacheKey,imageCache){var _this2=this,dict=image.dict,w=dict.get("Width","W"),h=dict.get("Height","H");if(w&&(0,_util.isNum)(w)&&h&&(0,_util.isNum)(h)){var maxImageSize=this.options.maxImageSize;if(-1!==maxImageSize&&w*h>maxImageSize)(0,_util.warn)("Image exceeded maximum allowed size and was removed.");else{var imgData,args;if(dict.get("ImageMask","IM")||!1){var width=dict.get("Width","W"),height=dict.get("Height","H"),bitStrideLength=width+7>>3,imgArray=image.getBytes(bitStrideLength*height),decode=dict.getArray("Decode","D");return(imgData=_image.PDFImage.createMask({imgArray:imgArray,width:width,height:height,imageIsFromDecodeStream:image instanceof _stream.DecodeStream,inverseDecode:!!decode&&decode[0]>0})).cached=!0,args=[imgData],operatorList.addOp(_util.OPS.paintImageMaskXObject,args),void(cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintImageMaskXObject,args:args}))}var softMask=dict.get("SMask","SM")||!1,mask=dict.get("Mask")||!1;if(inline&&!softMask&&!mask&&!(image instanceof _stream.JpegStream)&&w+h<200)return imgData=new _image.PDFImage({xref:this.xref,res:resources,image:image,pdfFunctionFactory:this.pdfFunctionFactory}).createImageData(!0),void operatorList.addOp(_util.OPS.paintInlineImageXObject,[imgData]);var nativeImageDecoderSupport=this.options.nativeImageDecoderSupport,objId="img_"+this.idFactory.createObjId();if(operatorList.addDependency(objId),args=[objId,w,h],nativeImageDecoderSupport!==_util.NativeImageDecoding.NONE&&!softMask&&!mask&&image instanceof _stream.JpegStream&&NativeImageDecoder.isSupported(image,this.xref,resources,this.pdfFunctionFactory))return operatorList.addOp(_util.OPS.paintJpegXObject,args),this.handler.send("obj",[objId,this.pageIndex,"JpegStream",image.getIR(this.options.forceDataSchema)]),void(cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintJpegXObject,args:args}));var nativeImageDecoder=null;nativeImageDecoderSupport===_util.NativeImageDecoding.DECODE&&(image instanceof _stream.JpegStream||mask instanceof _stream.JpegStream||softMask instanceof _stream.JpegStream)&&(nativeImageDecoder=new NativeImageDecoder({xref:this.xref,resources:resources,handler:this.handler,forceDataSchema:this.options.forceDataSchema,pdfFunctionFactory:this.pdfFunctionFactory})),_image.PDFImage.buildImage({handler:this.handler,xref:this.xref,res:resources,image:image,nativeDecoder:nativeImageDecoder,pdfFunctionFactory:this.pdfFunctionFactory}).then((function(imageObj){var imgData=imageObj.createImageData(!1);_this2.handler.send("obj",[objId,_this2.pageIndex,"Image",imgData],[imgData.data.buffer])})).catch((function(reason){(0,_util.warn)("Unable to decode image: "+reason),_this2.handler.send("obj",[objId,_this2.pageIndex,"Image",null])})),operatorList.addOp(_util.OPS.paintImageXObject,args),cacheKey&&(imageCache[cacheKey]={fn:_util.OPS.paintImageXObject,args:args})}}else(0,_util.warn)("Image dimensions are missing, or not numbers.")},handleSMask:function PartialEvaluator_handleSmask(smask,resources,operatorList,task,stateManager){var smaskContent=smask.get("G"),smaskOptions={subtype:smask.get("S").name,backdrop:smask.get("BC")},transferObj=smask.get("TR");if((0,_function.isPDFFunction)(transferObj)){for(var transferFn=this.pdfFunctionFactory.create(transferObj),transferMap=new Uint8Array(256),tmp=new Float32Array(1),i=0;i<256;i++)tmp[0]=i/255,transferFn(tmp,0,tmp,0),transferMap[i]=255*tmp[0]|0;smaskOptions.transferMap=transferMap}return this.buildFormXObject(resources,smaskContent,smaskOptions,operatorList,task,stateManager.state.clone())},handleTilingType:function handleTilingType(fn,args,resources,pattern,patternDict,operatorList,task){var _this3=this,tilingOpList=new OperatorList,resourcesArray=[patternDict.get("Resources"),resources],patternResources=_primitives.Dict.merge(this.xref,resourcesArray);return this.getOperatorList({stream:pattern,task:task,resources:patternResources,operatorList:tilingOpList}).then((function(){return(0,_pattern.getTilingPatternIR)({fnArray:tilingOpList.fnArray,argsArray:tilingOpList.argsArray},patternDict,args)})).then((function(tilingPatternIR){operatorList.addDependencies(tilingOpList.dependencies),operatorList.addOp(fn,tilingPatternIR)}),(function(reason){if(_this3.options.ignoreErrors)return _this3.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),void(0,_util.warn)('handleTilingType - ignoring pattern: "'+reason+'".');throw reason}))},handleSetFont:function PartialEvaluator_handleSetFont(resources,fontArgs,fontRef,operatorList,task,state){var fontName,_this4=this;return fontArgs&&(fontName=(fontArgs=fontArgs.slice())[0].name),this.loadFont(fontName,fontRef,resources).then((function(translated){return translated.font.isType3Font?translated.loadType3Data(_this4,resources,operatorList,task).then((function(){return translated})).catch((function(reason){return _this4.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.font}),new TranslatedFont("g_font_error",new _fonts.ErrorFont("Type3 font load error: "+reason),translated.font)})):translated})).then((function(translated){return state.font=translated.font,translated.send(_this4.handler),translated.loadedName}))},handleText:function PartialEvaluator_handleText(chars,state){var _this5=this,font=state.font,glyphs=font.charsToGlyphs(chars),isAddToPathSet=!!(state.textRenderingMode&_util.TextRenderingMode.ADD_TO_PATH_FLAG);if(font.data&&(isAddToPathSet||this.options.disableFontFace))for(var buildPath=function buildPath(fontChar){if(!font.renderer.hasBuiltPath(fontChar)){var path=font.renderer.getPathJs(fontChar);_this5.handler.send("commonobj",[font.loadedName+"_path_"+fontChar,"FontPath",path])}},i=0,ii=glyphs.length;i<ii;i++){var glyph=glyphs[i];buildPath(glyph.fontChar);var accent=glyph.accent;accent&&accent.fontChar&&buildPath(accent.fontChar)}return glyphs},setGState:function PartialEvaluator_setGState(resources,gState,operatorList,task,stateManager){for(var _this6=this,gStateObj=[],gStateKeys=gState.getKeys(),promise=Promise.resolve(),_loop=function _loop(){var key=gStateKeys[i],value=gState.get(key);switch(key){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":gStateObj.push([key,value]);break;case"Font":promise=promise.then((function(){return _this6.handleSetFont(resources,null,value[0],operatorList,task,stateManager.state).then((function(loadedName){operatorList.addDependency(loadedName),gStateObj.push([key,[loadedName,value[1]]])}))}));break;case"BM":gStateObj.push([key,normalizeBlendMode(value)]);break;case"SMask":if((0,_primitives.isName)(value,"None")){gStateObj.push([key,!1]);break}(0,_primitives.isDict)(value)?(promise=promise.then((function(){return _this6.handleSMask(value,resources,operatorList,task,stateManager)})),gStateObj.push([key,!0])):(0,_util.warn)("Unsupported SMask type");break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,_util.info)("graphic state operator "+key);break;default:(0,_util.info)("Unknown graphic state operator "+key)}},i=0,ii=gStateKeys.length;i<ii;i++)_loop();return promise.then((function(){gStateObj.length>0&&operatorList.addOp(_util.OPS.setGState,[gStateObj])}))},loadFont:function PartialEvaluator_loadFont(fontName,font,resources){var _this7=this;function errorFont(){return Promise.resolve(new TranslatedFont("g_font_error",new _fonts.ErrorFont("Font "+fontName+" is not available"),font))}var fontRef,xref=this.xref;if(font){if(!(0,_primitives.isRef)(font))throw new Error('The "font" object should be a reference.');fontRef=font}else{var fontRes=resources.get("Font");if(!fontRes)return(0,_util.warn)("fontRes not available"),errorFont();fontRef=fontRes.getRaw(fontName)}if(!fontRef)return(0,_util.warn)("fontRef not available"),errorFont();if(this.fontCache.has(fontRef))return this.fontCache.get(fontRef);if(font=xref.fetchIfRef(fontRef),!(0,_primitives.isDict)(font))return errorFont();if(font.translated)return font.translated;var fontID,translatedPromise,fontCapability=(0,_util.createPromiseCapability)(),preEvaluatedFont=this.preEvaluateFont(font),descriptor=preEvaluatedFont.descriptor,fontRefIsRef=(0,_primitives.isRef)(fontRef);if(fontRefIsRef&&(fontID=fontRef.toString()),(0,_primitives.isDict)(descriptor)){descriptor.fontAliases||(descriptor.fontAliases=Object.create(null));var fontAliases=descriptor.fontAliases,hash=preEvaluatedFont.hash;if(fontAliases[hash]){var aliasFontRef=fontAliases[hash].aliasRef;if(fontRefIsRef&&aliasFontRef&&this.fontCache.has(aliasFontRef))return this.fontCache.putAlias(fontRef,aliasFontRef),this.fontCache.get(fontRef)}else fontAliases[hash]={fontID:_fonts.Font.getFontID()};fontRefIsRef&&(fontAliases[hash].aliasRef=fontRef),fontID=fontAliases[hash].fontID}fontRefIsRef?this.fontCache.put(fontRef,fontCapability.promise):(fontID||(fontID=this.idFactory.createObjId()),this.fontCache.put("id_"+fontID,fontCapability.promise)),(0,_util.assert)(fontID,'The "fontID" must be defined.'),font.loadedName="g_"+this.pdfManager.docId+"_f"+fontID,font.translated=fontCapability.promise;try{translatedPromise=this.translateFont(preEvaluatedFont)}catch(e){translatedPromise=Promise.reject(e)}return translatedPromise.then((function(translatedFont){void 0!==translatedFont.fontType&&(xref.stats.fontTypes[translatedFont.fontType]=!0);fontCapability.resolve(new TranslatedFont(font.loadedName,translatedFont,font))})).catch((function(reason){_this7.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.font});try{var descriptor=preEvaluatedFont.descriptor,fontFile3=descriptor&&descriptor.get("FontFile3"),subtype=fontFile3&&fontFile3.get("Subtype"),fontType=(0,_fonts.getFontType)(preEvaluatedFont.type,subtype&&subtype.name);xref.stats.fontTypes[fontType]=!0}catch(ex){}fontCapability.resolve(new TranslatedFont(font.loadedName,new _fonts.ErrorFont(reason instanceof Error?reason.message:reason),font))})),fontCapability.promise},buildPath:function PartialEvaluator_buildPath(operatorList,fn,args){var lastIndex=operatorList.length-1;if(args||(args=[]),lastIndex<0||operatorList.fnArray[lastIndex]!==_util.OPS.constructPath)operatorList.addOp(_util.OPS.constructPath,[[fn],args]);else{var opArgs=operatorList.argsArray[lastIndex];opArgs[0].push(fn),Array.prototype.push.apply(opArgs[1],args)}},handleColorN:function PartialEvaluator_handleColorN(operatorList,fn,args,cs,patterns,resources,task){var pattern,patternName=args[args.length-1];if((0,_primitives.isName)(patternName)&&(pattern=patterns.get(patternName.name))){var dict=(0,_primitives.isStream)(pattern)?pattern.dict:pattern,typeNum=dict.get("PatternType");if(1===typeNum){var color=cs.base?cs.base.getRgb(args,0):null;return this.handleTilingType(fn,color,resources,pattern,dict,operatorList,task)}if(2===typeNum){var shading=dict.get("Shading"),matrix=dict.getArray("Matrix");return pattern=_pattern.Pattern.parseShading(shading,matrix,this.xref,resources,this.handler,this.pdfFunctionFactory),operatorList.addOp(fn,pattern.getIR()),Promise.resolve()}return Promise.reject(new Error("Unknown PatternType: "+typeNum))}return operatorList.addOp(fn,args),Promise.resolve()},getOperatorList:function getOperatorList(_ref3){var _this8=this,stream=_ref3.stream,task=_ref3.task,resources=_ref3.resources,operatorList=_ref3.operatorList,_ref3$initialState=_ref3.initialState,initialState=void 0===_ref3$initialState?null:_ref3$initialState;if(resources=resources||_primitives.Dict.empty,initialState=initialState||new EvalState,!operatorList)throw new Error('getOperatorList: missing "operatorList" parameter');var self=this,xref=this.xref,imageCache=Object.create(null),xobjs=resources.get("XObject")||_primitives.Dict.empty,patterns=resources.get("Pattern")||_primitives.Dict.empty,stateManager=new StateManager(initialState),preprocessor=new EvaluatorPreprocessor(stream,xref,stateManager),timeSlotManager=new TimeSlotManager;function closePendingRestoreOPS(argument){for(var i=0,ii=preprocessor.savedStatesDepth;i<ii;i++)operatorList.addOp(_util.OPS.restore,[])}return new Promise((function promiseBody(resolve,reject){var next=function next(promise){promise.then((function(){try{promiseBody(resolve,reject)}catch(ex){reject(ex)}}),reject)};task.ensureNotTerminated(),timeSlotManager.reset();for(var stop,i,ii,cs,operation={};!(stop=timeSlotManager.check())&&(operation.args=null,preprocessor.read(operation));){var args=operation.args,fn=operation.fn;switch(0|fn){case _util.OPS.paintXObject:var name=args[0].name;if(name&&void 0!==imageCache[name]){operatorList.addOp(imageCache[name].fn,imageCache[name].args),args=null;continue}return void next(new Promise((function(resolveXObject,rejectXObject){if(!name)throw new _util.FormatError("XObject must be referred to by name.");var xobj=xobjs.get(name);if(!xobj)return operatorList.addOp(fn,args),void resolveXObject();if(!(0,_primitives.isStream)(xobj))throw new _util.FormatError("XObject should be a stream");var type=xobj.dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("XObject should have a Name subtype");if("Form"===type.name)return stateManager.save(),void self.buildFormXObject(resources,xobj,null,operatorList,task,stateManager.state.clone()).then((function(){stateManager.restore(),resolveXObject()}),rejectXObject);if("Image"===type.name)self.buildPaintImageXObject(resources,xobj,!1,operatorList,name,imageCache);else{if("PS"!==type.name)throw new _util.FormatError("Unhandled XObject subtype "+type.name);(0,_util.info)("Ignored XObject subtype PS")}resolveXObject()})).catch((function(reason){if(self.options.ignoreErrors)return self.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),void(0,_util.warn)('getOperatorList - ignoring XObject: "'+reason+'".');throw reason})));case _util.OPS.setFont:var fontSize=args[1];return void next(self.handleSetFont(resources,args,null,operatorList,task,stateManager.state).then((function(loadedName){operatorList.addDependency(loadedName),operatorList.addOp(_util.OPS.setFont,[loadedName,fontSize])})));case _util.OPS.endInlineImage:var cacheKey=args[0].cacheKey;if(cacheKey){var cacheEntry=imageCache[cacheKey];if(void 0!==cacheEntry){operatorList.addOp(cacheEntry.fn,cacheEntry.args),args=null;continue}}self.buildPaintImageXObject(resources,args[0],!0,operatorList,cacheKey,imageCache),args=null;continue;case _util.OPS.showText:args[0]=self.handleText(args[0],stateManager.state);break;case _util.OPS.showSpacedText:var arr=args[0],combinedGlyphs=[],arrLength=arr.length,state=stateManager.state;for(i=0;i<arrLength;++i){var arrItem=arr[i];(0,_util.isString)(arrItem)?Array.prototype.push.apply(combinedGlyphs,self.handleText(arrItem,state)):(0,_util.isNum)(arrItem)&&combinedGlyphs.push(arrItem)}args[0]=combinedGlyphs,fn=_util.OPS.showText;break;case _util.OPS.nextLineShowText:operatorList.addOp(_util.OPS.nextLine),args[0]=self.handleText(args[0],stateManager.state),fn=_util.OPS.showText;break;case _util.OPS.nextLineSetSpacingShowText:operatorList.addOp(_util.OPS.nextLine),operatorList.addOp(_util.OPS.setWordSpacing,[args.shift()]),operatorList.addOp(_util.OPS.setCharSpacing,[args.shift()]),args[0]=self.handleText(args[0],stateManager.state),fn=_util.OPS.showText;break;case _util.OPS.setTextRenderingMode:stateManager.state.textRenderingMode=args[0];break;case _util.OPS.setFillColorSpace:stateManager.state.fillColorSpace=_colorspace.ColorSpace.parse(args[0],xref,resources,self.pdfFunctionFactory);continue;case _util.OPS.setStrokeColorSpace:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.parse(args[0],xref,resources,self.pdfFunctionFactory);continue;case _util.OPS.setFillColor:cs=stateManager.state.fillColorSpace,args=cs.getRgb(args,0),fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeColor:cs=stateManager.state.strokeColorSpace,args=cs.getRgb(args,0),fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.setFillGray:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.gray,args=_colorspace.ColorSpace.singletons.gray.getRgb(args,0),fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeGray:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.gray,args=_colorspace.ColorSpace.singletons.gray.getRgb(args,0),fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.setFillCMYKColor:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.cmyk,args=_colorspace.ColorSpace.singletons.cmyk.getRgb(args,0),fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeCMYKColor:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.cmyk,args=_colorspace.ColorSpace.singletons.cmyk.getRgb(args,0),fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.setFillRGBColor:stateManager.state.fillColorSpace=_colorspace.ColorSpace.singletons.rgb,args=_colorspace.ColorSpace.singletons.rgb.getRgb(args,0);break;case _util.OPS.setStrokeRGBColor:stateManager.state.strokeColorSpace=_colorspace.ColorSpace.singletons.rgb,args=_colorspace.ColorSpace.singletons.rgb.getRgb(args,0);break;case _util.OPS.setFillColorN:if("Pattern"===(cs=stateManager.state.fillColorSpace).name)return void next(self.handleColorN(operatorList,_util.OPS.setFillColorN,args,cs,patterns,resources,task));args=cs.getRgb(args,0),fn=_util.OPS.setFillRGBColor;break;case _util.OPS.setStrokeColorN:if("Pattern"===(cs=stateManager.state.strokeColorSpace).name)return void next(self.handleColorN(operatorList,_util.OPS.setStrokeColorN,args,cs,patterns,resources,task));args=cs.getRgb(args,0),fn=_util.OPS.setStrokeRGBColor;break;case _util.OPS.shadingFill:var shadingRes=resources.get("Shading");if(!shadingRes)throw new _util.FormatError("No shading resource found");var shading=shadingRes.get(args[0].name);if(!shading)throw new _util.FormatError("No shading object found");var patternIR=_pattern.Pattern.parseShading(shading,null,xref,resources,self.handler,self.pdfFunctionFactory).getIR();args=[patternIR],fn=_util.OPS.shadingFill;break;case _util.OPS.setGState:var dictName=args[0],extGState=resources.get("ExtGState");if(!(0,_primitives.isDict)(extGState)||!extGState.has(dictName.name))break;var gState=extGState.get(dictName.name);return void next(self.setGState(resources,gState,operatorList,task,stateManager));case _util.OPS.moveTo:case _util.OPS.lineTo:case _util.OPS.curveTo:case _util.OPS.curveTo2:case _util.OPS.curveTo3:case _util.OPS.closePath:case _util.OPS.rectangle:self.buildPath(operatorList,fn,args);continue;case _util.OPS.markPoint:case _util.OPS.markPointProps:case _util.OPS.beginMarkedContent:case _util.OPS.beginMarkedContentProps:case _util.OPS.endMarkedContent:case _util.OPS.beginCompat:case _util.OPS.endCompat:continue;default:if(null!==args){for(i=0,ii=args.length;i<ii&&!(args[i]instanceof _primitives.Dict);i++);if(i<ii){(0,_util.warn)("getOperatorList - ignoring operator: "+fn);continue}}}operatorList.addOp(fn,args)}stop?next(deferred):(closePendingRestoreOPS(),resolve())})).catch((function(reason){if(_this8.options.ignoreErrors)return _this8.handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown}),(0,_util.warn)("getOperatorList - ignoring errors during task: "+task.name),void closePendingRestoreOPS();throw reason}))},getTextContent:function getTextContent(_ref4){var _this9=this,stream=_ref4.stream,task=_ref4.task,resources=_ref4.resources,_ref4$stateManager=_ref4.stateManager,stateManager=void 0===_ref4$stateManager?null:_ref4$stateManager,_ref4$normalizeWhites=_ref4.normalizeWhitespace,normalizeWhitespace=void 0!==_ref4$normalizeWhites&&_ref4$normalizeWhites,_ref4$combineTextItem=_ref4.combineTextItems,combineTextItems=void 0!==_ref4$combineTextItem&&_ref4$combineTextItem,sink=_ref4.sink,_ref4$seenStyles=_ref4.seenStyles,seenStyles=void 0===_ref4$seenStyles?Object.create(null):_ref4$seenStyles;resources=resources||_primitives.Dict.empty,stateManager=stateManager||new StateManager(new TextState);var textState,WhitespaceRegexp=/\s/g,textContent={items:[],styles:Object.create(null)},textContentItem={initialized:!1,str:[],width:0,height:0,vertical:!1,lastAdvanceWidth:0,lastAdvanceHeight:0,textAdvanceScale:0,spaceWidth:0,fakeSpaceMin:1/0,fakeMultiSpaceMin:1/0,fakeMultiSpaceMax:-0,textRunBreakAllowed:!1,transform:null,fontName:null},self=this,xref=this.xref,xobjs=null,skipEmptyXObjs=Object.create(null),preprocessor=new EvaluatorPreprocessor(stream,xref,stateManager);function ensureTextContentItem(){if(textContentItem.initialized)return textContentItem;var font=textState.font;font.loadedName in seenStyles||(seenStyles[font.loadedName]=!0,textContent.styles[font.loadedName]={fontFamily:font.fallbackName,ascent:font.ascent,descent:font.descent,vertical:font.vertical}),textContentItem.fontName=font.loadedName;var tsm=[textState.fontSize*textState.textHScale,0,0,textState.fontSize,0,textState.textRise];if(font.isType3Font&&textState.fontMatrix!==_util.FONT_IDENTITY_MATRIX&&1===textState.fontSize){var glyphHeight=font.bbox[3]-font.bbox[1];glyphHeight>0&&(glyphHeight*=textState.fontMatrix[3],tsm[3]*=glyphHeight)}var trm=_util.Util.transform(textState.ctm,_util.Util.transform(textState.textMatrix,tsm));textContentItem.transform=trm,font.vertical?(textContentItem.width=Math.sqrt(trm[0]*trm[0]+trm[1]*trm[1]),textContentItem.height=0,textContentItem.vertical=!0):(textContentItem.width=0,textContentItem.height=Math.sqrt(trm[2]*trm[2]+trm[3]*trm[3]),textContentItem.vertical=!1);var a=textState.textLineMatrix[0],b=textState.textLineMatrix[1],scaleLineX=Math.sqrt(a*a+b*b);a=textState.ctm[0],b=textState.ctm[1];var scaleCtmX=Math.sqrt(a*a+b*b);textContentItem.textAdvanceScale=scaleCtmX*scaleLineX,textContentItem.lastAdvanceWidth=0,textContentItem.lastAdvanceHeight=0;var spaceWidth=font.spaceWidth/1e3*textState.fontSize;return spaceWidth?(textContentItem.spaceWidth=spaceWidth,textContentItem.fakeSpaceMin=.3*spaceWidth,textContentItem.fakeMultiSpaceMin=1.5*spaceWidth,textContentItem.fakeMultiSpaceMax=4*spaceWidth,textContentItem.textRunBreakAllowed=!font.isMonospace):(textContentItem.spaceWidth=0,textContentItem.fakeSpaceMin=1/0,textContentItem.fakeMultiSpaceMin=1/0,textContentItem.fakeMultiSpaceMax=0,textContentItem.textRunBreakAllowed=!1),textContentItem.initialized=!0,textContentItem}function replaceWhitespace(str){for(var code,i=0,ii=str.length;i<ii&&(code=str.charCodeAt(i))>=32&&code<=127;)i++;return i<ii?str.replace(WhitespaceRegexp," "):str}function handleSetFont(fontName,fontRef){return self.loadFont(fontName,fontRef,resources).then((function(translated){textState.font=translated.font,textState.fontMatrix=translated.font.fontMatrix||_util.FONT_IDENTITY_MATRIX}))}function buildTextContentItem(chars){for(var font=textState.font,textChunk=ensureTextContentItem(),width=0,height=0,glyphs=font.charsToGlyphs(chars),i=0;i<glyphs.length;i++){var glyph=glyphs[i],glyphWidth=null;glyphWidth=font.vertical&&glyph.vmetric?glyph.vmetric[0]:glyph.width;var glyphUnicode=glyph.unicode,NormalizedUnicodes=(0,_unicode.getNormalizedUnicodes)();void 0!==NormalizedUnicodes[glyphUnicode]&&(glyphUnicode=NormalizedUnicodes[glyphUnicode]),glyphUnicode=(0,_unicode.reverseIfRtl)(glyphUnicode);var charSpacing=textState.charSpacing;if(glyph.isSpace){var wordSpacing=textState.wordSpacing;charSpacing+=wordSpacing,wordSpacing>0&&addFakeSpaces(wordSpacing,textChunk.str)}var tx=0,ty=0;if(font.vertical)height+=ty=glyphWidth*textState.fontMatrix[0]*textState.fontSize+charSpacing;else width+=tx=(glyphWidth*textState.fontMatrix[0]*textState.fontSize+charSpacing)*textState.textHScale;textState.translateTextMatrix(tx,ty),textChunk.str.push(glyphUnicode)}return font.vertical?(textChunk.lastAdvanceHeight=height,textChunk.height+=Math.abs(height)):(textChunk.lastAdvanceWidth=width,textChunk.width+=width),textChunk}function addFakeSpaces(width,strBuf){if(!(width<textContentItem.fakeSpaceMin))if(width<textContentItem.fakeMultiSpaceMin)strBuf.push(" ");else for(var fakeSpaces=Math.round(width/textContentItem.spaceWidth);fakeSpaces-- >0;)strBuf.push(" ")}function flushTextContentItem(){textContentItem.initialized&&(textContentItem.width*=textContentItem.textAdvanceScale,textContentItem.height*=textContentItem.textAdvanceScale,textContent.items.push(function runBidiTransform(textChunk){var str=textChunk.str.join(""),bidiResult=(0,_bidi.bidi)(str,-1,textChunk.vertical);return{str:normalizeWhitespace?replaceWhitespace(bidiResult.str):bidiResult.str,dir:bidiResult.dir,width:textChunk.width,height:textChunk.height,transform:textChunk.transform,fontName:textChunk.fontName}}(textContentItem)),textContentItem.initialized=!1,textContentItem.str.length=0)}function enqueueChunk(){var length=textContent.items.length;length>0&&(sink.enqueue(textContent,length),textContent.items=[],textContent.styles=Object.create(null))}var timeSlotManager=new TimeSlotManager;return new Promise((function promiseBody(resolve,reject){var next=function next(promise){enqueueChunk(),Promise.all([promise,sink.ready]).then((function(){try{promiseBody(resolve,reject)}catch(ex){reject(ex)}}),reject)};task.ensureNotTerminated(),timeSlotManager.reset();for(var stop,operation={},args=[];!(stop=timeSlotManager.check())&&(args.length=0,operation.args=args,preprocessor.read(operation));){textState=stateManager.state;var advance,fn=operation.fn;switch(args=operation.args,0|fn){case _util.OPS.setFont:var fontNameArg=args[0].name,fontSizeArg=args[1];if(textState.font&&fontNameArg===textState.fontName&&fontSizeArg===textState.fontSize)break;return flushTextContentItem(),textState.fontName=fontNameArg,textState.fontSize=fontSizeArg,void next(handleSetFont(fontNameArg,null));case _util.OPS.setTextRise:flushTextContentItem(),textState.textRise=args[0];break;case _util.OPS.setHScale:flushTextContentItem(),textState.textHScale=args[0]/100;break;case _util.OPS.setLeading:flushTextContentItem(),textState.leading=args[0];break;case _util.OPS.moveText:var isSameTextLine=!!textState.font&&0===(textState.font.vertical?args[0]:args[1]);if(advance=args[0]-args[1],combineTextItems&&isSameTextLine&&textContentItem.initialized&&advance>0&&advance<=textContentItem.fakeMultiSpaceMax){textState.translateTextLineMatrix(args[0],args[1]),textContentItem.width+=args[0]-textContentItem.lastAdvanceWidth,textContentItem.height+=args[1]-textContentItem.lastAdvanceHeight,addFakeSpaces(args[0]-textContentItem.lastAdvanceWidth-(args[1]-textContentItem.lastAdvanceHeight),textContentItem.str);break}flushTextContentItem(),textState.translateTextLineMatrix(args[0],args[1]),textState.textMatrix=textState.textLineMatrix.slice();break;case _util.OPS.setLeadingMoveText:flushTextContentItem(),textState.leading=-args[1],textState.translateTextLineMatrix(args[0],args[1]),textState.textMatrix=textState.textLineMatrix.slice();break;case _util.OPS.nextLine:flushTextContentItem(),textState.carriageReturn();break;case _util.OPS.setTextMatrix:if(advance=textState.calcTextLineMatrixAdvance(args[0],args[1],args[2],args[3],args[4],args[5]),combineTextItems&&null!==advance&&textContentItem.initialized&&advance.value>0&&advance.value<=textContentItem.fakeMultiSpaceMax){textState.translateTextLineMatrix(advance.width,advance.height),textContentItem.width+=advance.width-textContentItem.lastAdvanceWidth,textContentItem.height+=advance.height-textContentItem.lastAdvanceHeight,addFakeSpaces(advance.width-textContentItem.lastAdvanceWidth-(advance.height-textContentItem.lastAdvanceHeight),textContentItem.str);break}flushTextContentItem(),textState.setTextMatrix(args[0],args[1],args[2],args[3],args[4],args[5]),textState.setTextLineMatrix(args[0],args[1],args[2],args[3],args[4],args[5]);break;case _util.OPS.setCharSpacing:textState.charSpacing=args[0];break;case _util.OPS.setWordSpacing:textState.wordSpacing=args[0];break;case _util.OPS.beginText:flushTextContentItem(),textState.textMatrix=_util.IDENTITY_MATRIX.slice(),textState.textLineMatrix=_util.IDENTITY_MATRIX.slice();break;case _util.OPS.showSpacedText:for(var offset,items=args[0],j=0,jj=items.length;j<jj;j++)if("string"==typeof items[j])buildTextContentItem(items[j]);else if((0,_util.isNum)(items[j])){ensureTextContentItem(),advance=items[j]*textState.fontSize/1e3;var breakTextRun=!1;textState.font.vertical?(offset=advance,textState.translateTextMatrix(0,offset),(breakTextRun=textContentItem.textRunBreakAllowed&&advance>textContentItem.fakeMultiSpaceMax)||(textContentItem.height+=offset)):(offset=(advance=-advance)*textState.textHScale,textState.translateTextMatrix(offset,0),(breakTextRun=textContentItem.textRunBreakAllowed&&advance>textContentItem.fakeMultiSpaceMax)||(textContentItem.width+=offset)),breakTextRun?flushTextContentItem():advance>0&&addFakeSpaces(advance,textContentItem.str)}break;case _util.OPS.showText:buildTextContentItem(args[0]);break;case _util.OPS.nextLineShowText:flushTextContentItem(),textState.carriageReturn(),buildTextContentItem(args[0]);break;case _util.OPS.nextLineSetSpacingShowText:flushTextContentItem(),textState.wordSpacing=args[0],textState.charSpacing=args[1],textState.carriageReturn(),buildTextContentItem(args[2]);break;case _util.OPS.paintXObject:flushTextContentItem(),xobjs||(xobjs=resources.get("XObject")||_primitives.Dict.empty);var name=args[0].name;if(name&&void 0!==skipEmptyXObjs[name])break;return void next(new Promise((function(resolveXObject,rejectXObject){if(!name)throw new _util.FormatError("XObject must be referred to by name.");var xobj=xobjs.get(name);if(xobj){if(!(0,_primitives.isStream)(xobj))throw new _util.FormatError("XObject should be a stream");var type=xobj.dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("XObject should have a Name subtype");if("Form"!==type.name)return skipEmptyXObjs[name]=!0,void resolveXObject();var currentState=stateManager.state.clone(),xObjStateManager=new StateManager(currentState),matrix=xobj.dict.getArray("Matrix");Array.isArray(matrix)&&6===matrix.length&&xObjStateManager.transform(matrix),enqueueChunk();var sinkWrapper={enqueueInvoked:!1,enqueue:function enqueue(chunk,size){this.enqueueInvoked=!0,sink.enqueue(chunk,size)},get desiredSize(){return sink.desiredSize},get ready(){return sink.ready}};self.getTextContent({stream:xobj,task:task,resources:xobj.dict.get("Resources")||resources,stateManager:xObjStateManager,normalizeWhitespace:normalizeWhitespace,combineTextItems:combineTextItems,sink:sinkWrapper,seenStyles:seenStyles}).then((function(){sinkWrapper.enqueueInvoked||(skipEmptyXObjs[name]=!0),resolveXObject()}),rejectXObject)}else resolveXObject()})).catch((function(reason){if(!(reason instanceof _util.AbortException)){if(!self.options.ignoreErrors)throw reason;(0,_util.warn)('getTextContent - ignoring XObject: "'+reason+'".')}})));case _util.OPS.setGState:flushTextContentItem();var dictName=args[0],extGState=resources.get("ExtGState");if(!(0,_primitives.isDict)(extGState)||!(0,_primitives.isName)(dictName))break;var gState=extGState.get(dictName.name);if(!(0,_primitives.isDict)(gState))break;var gStateFont=gState.get("Font");if(gStateFont)return textState.fontName=null,textState.fontSize=gStateFont[1],void next(handleSetFont(null,gStateFont[0]))}if(textContent.items.length>=sink.desiredSize){stop=!0;break}}stop?next(deferred):(flushTextContentItem(),enqueueChunk(),resolve())})).catch((function(reason){if(!(reason instanceof _util.AbortException)){if(_this9.options.ignoreErrors)return(0,_util.warn)("getTextContent - ignoring errors during task: "+task.name),flushTextContentItem(),void enqueueChunk();throw reason}}))},extractDataStructures:function PartialEvaluator_extractDataStructures(dict,baseDict,properties){var _this10=this,xref=this.xref,toUnicode=dict.get("ToUnicode")||baseDict.get("ToUnicode"),toUnicodePromise=toUnicode?this.readToUnicode(toUnicode):Promise.resolve(void 0);if(properties.composite){var cidSystemInfo=dict.get("CIDSystemInfo");(0,_primitives.isDict)(cidSystemInfo)&&(properties.cidSystemInfo={registry:cidSystemInfo.get("Registry"),ordering:cidSystemInfo.get("Ordering"),supplement:cidSystemInfo.get("Supplement")});var cidToGidMap=dict.get("CIDToGIDMap");(0,_primitives.isStream)(cidToGidMap)&&(properties.cidToGidMap=this.readCidToGidMap(cidToGidMap))}var encoding,differences=[],baseEncodingName=null;if(dict.has("Encoding")){if(encoding=dict.get("Encoding"),(0,_primitives.isDict)(encoding)){if(baseEncodingName=encoding.get("BaseEncoding"),baseEncodingName=(0,_primitives.isName)(baseEncodingName)?baseEncodingName.name:null,encoding.has("Differences"))for(var diffEncoding=encoding.get("Differences"),index=0,j=0,jj=diffEncoding.length;j<jj;j++){var data=xref.fetchIfRef(diffEncoding[j]);if((0,_util.isNum)(data))index=data;else{if(!(0,_primitives.isName)(data))throw new _util.FormatError("Invalid entry in 'Differences' array: "+data);differences[index++]=data.name}}}else{if(!(0,_primitives.isName)(encoding))throw new _util.FormatError("Encoding is not a Name nor a Dict");baseEncodingName=encoding.name}"MacRomanEncoding"!==baseEncodingName&&"MacExpertEncoding"!==baseEncodingName&&"WinAnsiEncoding"!==baseEncodingName&&(baseEncodingName=null)}if(baseEncodingName)properties.defaultEncoding=(0,_encodings.getEncoding)(baseEncodingName).slice();else{var isSymbolicFont=!!(properties.flags&_fonts.FontFlags.Symbolic),isNonsymbolicFont=!!(properties.flags&_fonts.FontFlags.Nonsymbolic);encoding=_encodings.StandardEncoding,"TrueType"!==properties.type||isNonsymbolicFont||(encoding=_encodings.WinAnsiEncoding),isSymbolicFont&&(encoding=_encodings.MacRomanEncoding,properties.file||(/Symbol/i.test(properties.name)?encoding=_encodings.SymbolSetEncoding:/Dingbats/i.test(properties.name)&&(encoding=_encodings.ZapfDingbatsEncoding))),properties.defaultEncoding=encoding}return properties.differences=differences,properties.baseEncodingName=baseEncodingName,properties.hasEncoding=!!baseEncodingName||differences.length>0,properties.dict=dict,toUnicodePromise.then((function(toUnicode){return properties.toUnicode=toUnicode,_this10.buildToUnicode(properties)})).then((function(toUnicode){return properties.toUnicode=toUnicode,properties}))},buildToUnicode:function PartialEvaluator_buildToUnicode(properties){if(properties.hasIncludedToUnicodeMap=!!properties.toUnicode&&properties.toUnicode.length>0,properties.hasIncludedToUnicodeMap)return Promise.resolve(properties.toUnicode);var toUnicode,charcode,glyphName;if(!properties.composite){toUnicode=[];var encoding=properties.defaultEncoding.slice(),baseEncodingName=properties.baseEncodingName,differences=properties.differences;for(charcode in differences)".notdef"!==(glyphName=differences[charcode])&&(encoding[charcode]=glyphName);var glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)();for(charcode in encoding)if(""!==(glyphName=encoding[charcode]))if(void 0!==glyphsUnicodeMap[glyphName])toUnicode[charcode]=String.fromCharCode(glyphsUnicodeMap[glyphName]);else{var code=0;switch(glyphName[0]){case"G":3===glyphName.length&&(code=parseInt(glyphName.substr(1),16));break;case"g":5===glyphName.length&&(code=parseInt(glyphName.substr(1),16));break;case"C":case"c":glyphName.length>=3&&(code=+glyphName.substr(1));break;default:var unicode=(0,_unicode.getUnicodeForGlyph)(glyphName,glyphsUnicodeMap);-1!==unicode&&(code=unicode)}if(code){if(baseEncodingName&&code===+charcode){var baseEncoding=(0,_encodings.getEncoding)(baseEncodingName);if(baseEncoding&&(glyphName=baseEncoding[charcode])){toUnicode[charcode]=String.fromCharCode(glyphsUnicodeMap[glyphName]);continue}}toUnicode[charcode]=String.fromCharCode(code)}}return Promise.resolve(new _fonts.ToUnicodeMap(toUnicode))}if(properties.composite&&(properties.cMap.builtInCMap&&!(properties.cMap instanceof _cmap.IdentityCMap)||"Adobe"===properties.cidSystemInfo.registry&&("GB1"===properties.cidSystemInfo.ordering||"CNS1"===properties.cidSystemInfo.ordering||"Japan1"===properties.cidSystemInfo.ordering||"Korea1"===properties.cidSystemInfo.ordering))){var registry=properties.cidSystemInfo.registry,ordering=properties.cidSystemInfo.ordering,ucs2CMapName=_primitives.Name.get(registry+"-"+ordering+"-UCS2");return _cmap.CMapFactory.create({encoding:ucs2CMapName,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then((function(ucs2CMap){var cMap=properties.cMap;return toUnicode=[],cMap.forEach((function(charcode,cid){if(cid>65535)throw new _util.FormatError("Max size of CID is 65,535");var ucs2=ucs2CMap.lookup(cid);ucs2&&(toUnicode[charcode]=String.fromCharCode((ucs2.charCodeAt(0)<<8)+ucs2.charCodeAt(1)))})),new _fonts.ToUnicodeMap(toUnicode)}))}return Promise.resolve(new _fonts.IdentityToUnicodeMap(properties.firstChar,properties.lastChar))},readToUnicode:function PartialEvaluator_readToUnicode(toUnicode){var cmapObj=toUnicode;return(0,_primitives.isName)(cmapObj)?_cmap.CMapFactory.create({encoding:cmapObj,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then((function(cmap){return cmap instanceof _cmap.IdentityCMap?new _fonts.IdentityToUnicodeMap(0,65535):new _fonts.ToUnicodeMap(cmap.getMap())})):(0,_primitives.isStream)(cmapObj)?_cmap.CMapFactory.create({encoding:cmapObj,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then((function(cmap){if(cmap instanceof _cmap.IdentityCMap)return new _fonts.IdentityToUnicodeMap(0,65535);var map=new Array(cmap.length);return cmap.forEach((function(charCode,token){for(var str=[],k=0;k<token.length;k+=2){var w1=token.charCodeAt(k)<<8|token.charCodeAt(k+1);if(55296==(63488&w1)){k+=2;var w2=token.charCodeAt(k)<<8|token.charCodeAt(k+1);str.push(((1023&w1)<<10)+(1023&w2)+65536)}else str.push(w1)}map[charCode]=String.fromCharCode.apply(String,str)})),new _fonts.ToUnicodeMap(map)})):Promise.resolve(null)},readCidToGidMap:function PartialEvaluator_readCidToGidMap(cidToGidStream){for(var glyphsData=cidToGidStream.getBytes(),result=[],j=0,jj=glyphsData.length;j<jj;j++){var glyphID=glyphsData[j++]<<8|glyphsData[j];if(0!==glyphID)result[j>>1]=glyphID}return result},extractWidths:function PartialEvaluator_extractWidths(dict,descriptor,properties){var defaultVMetrics,i,ii,j,jj,start,code,widths,xref=this.xref,glyphsWidths=[],defaultWidth=0,glyphsVMetrics=[];if(properties.composite){if(defaultWidth=dict.has("DW")?dict.get("DW"):1e3,widths=dict.get("W"))for(i=0,ii=widths.length;i<ii;i++)if(start=xref.fetchIfRef(widths[i++]),code=xref.fetchIfRef(widths[i]),Array.isArray(code))for(j=0,jj=code.length;j<jj;j++)glyphsWidths[start++]=xref.fetchIfRef(code[j]);else{var width=xref.fetchIfRef(widths[++i]);for(j=start;j<=code;j++)glyphsWidths[j]=width}if(properties.vertical){var vmetrics=dict.getArray("DW2")||[880,-1e3];if(defaultVMetrics=[vmetrics[1],.5*defaultWidth,vmetrics[0]],vmetrics=dict.get("W2"))for(i=0,ii=vmetrics.length;i<ii;i++)if(start=xref.fetchIfRef(vmetrics[i++]),code=xref.fetchIfRef(vmetrics[i]),Array.isArray(code))for(j=0,jj=code.length;j<jj;j++)glyphsVMetrics[start++]=[xref.fetchIfRef(code[j++]),xref.fetchIfRef(code[j++]),xref.fetchIfRef(code[j])];else{var vmetric=[xref.fetchIfRef(vmetrics[++i]),xref.fetchIfRef(vmetrics[++i]),xref.fetchIfRef(vmetrics[++i])];for(j=start;j<=code;j++)glyphsVMetrics[j]=vmetric}}}else{var firstChar=properties.firstChar;if(widths=dict.get("Widths")){for(j=firstChar,i=0,ii=widths.length;i<ii;i++)glyphsWidths[j++]=xref.fetchIfRef(widths[i]);defaultWidth=parseFloat(descriptor.get("MissingWidth"))||0}else{var baseFontName=dict.get("BaseFont");if((0,_primitives.isName)(baseFontName)){var metrics=this.getBaseFontMetrics(baseFontName.name);glyphsWidths=this.buildCharCodeToWidth(metrics.widths,properties),defaultWidth=metrics.defaultWidth}}}var isMonospace=!0,firstWidth=defaultWidth;for(var glyph in glyphsWidths){var glyphWidth=glyphsWidths[glyph];if(glyphWidth)if(firstWidth){if(firstWidth!==glyphWidth){isMonospace=!1;break}}else firstWidth=glyphWidth}isMonospace&&(properties.flags|=_fonts.FontFlags.FixedPitch),properties.defaultWidth=defaultWidth,properties.widths=glyphsWidths,properties.defaultVMetrics=defaultVMetrics,properties.vmetrics=glyphsVMetrics},isSerifFont:function PartialEvaluator_isSerifFont(baseFontName){var fontNameWoStyle=baseFontName.split("-")[0];return fontNameWoStyle in(0,_standard_fonts.getSerifFonts)()||-1!==fontNameWoStyle.search(/serif/gi)},getBaseFontMetrics:function PartialEvaluator_getBaseFontMetrics(name){var defaultWidth=0,widths=[],monospace=!1,lookupName=(0,_standard_fonts.getStdFontMap)()[name]||name,Metrics=(0,_metrics.getMetrics)();lookupName in Metrics||(lookupName=this.isSerifFont(name)?"Times-Roman":"Helvetica");var glyphWidths=Metrics[lookupName];return(0,_util.isNum)(glyphWidths)?(defaultWidth=glyphWidths,monospace=!0):widths=glyphWidths(),{defaultWidth:defaultWidth,monospace:monospace,widths:widths}},buildCharCodeToWidth:function PartialEvaluator_bulildCharCodeToWidth(widthsByGlyphName,properties){for(var widths=Object.create(null),differences=properties.differences,encoding=properties.defaultEncoding,charCode=0;charCode<256;charCode++)charCode in differences&&widthsByGlyphName[differences[charCode]]?widths[charCode]=widthsByGlyphName[differences[charCode]]:charCode in encoding&&widthsByGlyphName[encoding[charCode]]&&(widths[charCode]=widthsByGlyphName[encoding[charCode]]);return widths},preEvaluateFont:function PartialEvaluator_preEvaluateFont(dict){var baseDict=dict,type=dict.get("Subtype");if(!(0,_primitives.isName)(type))throw new _util.FormatError("invalid font Subtype");var uint8array,composite=!1;if("Type0"===type.name){var df=dict.get("DescendantFonts");if(!df)throw new _util.FormatError("Descendant fonts are not specified");if(type=(dict=Array.isArray(df)?this.xref.fetchIfRef(df[0]):df).get("Subtype"),!(0,_primitives.isName)(type))throw new _util.FormatError("invalid font Subtype");composite=!0}var descriptor=dict.get("FontDescriptor");if(descriptor){var hash=new _murmurhash.MurmurHash3_64,encoding=baseDict.getRaw("Encoding");if((0,_primitives.isName)(encoding))hash.update(encoding.name);else if((0,_primitives.isRef)(encoding))hash.update(encoding.toString());else if((0,_primitives.isDict)(encoding))for(var keys=encoding.getKeys(),i=0,ii=keys.length;i<ii;i++){var entry=encoding.getRaw(keys[i]);if((0,_primitives.isName)(entry))hash.update(entry.name);else if((0,_primitives.isRef)(entry))hash.update(entry.toString());else if(Array.isArray(entry)){for(var diffLength=entry.length,diffBuf=new Array(diffLength),j=0;j<diffLength;j++){var diffEntry=entry[j];(0,_primitives.isName)(diffEntry)?diffBuf[j]=diffEntry.name:((0,_util.isNum)(diffEntry)||(0,_primitives.isRef)(diffEntry))&&(diffBuf[j]=diffEntry.toString())}hash.update(diffBuf.join())}}var toUnicode=dict.get("ToUnicode")||baseDict.get("ToUnicode");if((0,_primitives.isStream)(toUnicode)){var stream=toUnicode.str||toUnicode;uint8array=stream.buffer?new Uint8Array(stream.buffer.buffer,0,stream.bufferLength):new Uint8Array(stream.bytes.buffer,stream.start,stream.end-stream.start),hash.update(uint8array)}else(0,_primitives.isName)(toUnicode)&&hash.update(toUnicode.name);var widths=dict.get("Widths")||baseDict.get("Widths");widths&&(uint8array=new Uint8Array(new Uint32Array(widths).buffer),hash.update(uint8array))}return{descriptor:descriptor,dict:dict,baseDict:baseDict,composite:composite,type:type.name,hash:hash?hash.hexdigest():""}},translateFont:function PartialEvaluator_translateFont(preEvaluatedFont){var properties,_this11=this,baseDict=preEvaluatedFont.baseDict,dict=preEvaluatedFont.dict,composite=preEvaluatedFont.composite,descriptor=preEvaluatedFont.descriptor,type=preEvaluatedFont.type,maxCharIndex=composite?65535:255;if(!descriptor){if("Type3"!==type){var baseFontName=dict.get("BaseFont");if(!(0,_primitives.isName)(baseFontName))throw new _util.FormatError("Base font is not specified");baseFontName=baseFontName.name.replace(/[,_]/g,"-");var metrics=this.getBaseFontMetrics(baseFontName),fontNameWoStyle=baseFontName.split("-")[0],flags=(this.isSerifFont(fontNameWoStyle)?_fonts.FontFlags.Serif:0)|(metrics.monospace?_fonts.FontFlags.FixedPitch:0)|((0,_standard_fonts.getSymbolsFonts)()[fontNameWoStyle]?_fonts.FontFlags.Symbolic:_fonts.FontFlags.Nonsymbolic);return properties={type:type,name:baseFontName,widths:metrics.widths,defaultWidth:metrics.defaultWidth,flags:flags,firstChar:0,lastChar:maxCharIndex},this.extractDataStructures(dict,dict,properties).then((function(properties){return properties.widths=_this11.buildCharCodeToWidth(metrics.widths,properties),new _fonts.Font(baseFontName,null,properties)}))}(descriptor=new _primitives.Dict(null)).set("FontName",_primitives.Name.get(type)),descriptor.set("FontBBox",dict.getArray("FontBBox"))}var firstChar=dict.get("FirstChar")||0,lastChar=dict.get("LastChar")||maxCharIndex,fontName=descriptor.get("FontName"),baseFont=dict.get("BaseFont");if((0,_util.isString)(fontName)&&(fontName=_primitives.Name.get(fontName)),(0,_util.isString)(baseFont)&&(baseFont=_primitives.Name.get(baseFont)),"Type3"!==type){var fontNameStr=fontName&&fontName.name,baseFontStr=baseFont&&baseFont.name;fontNameStr!==baseFontStr&&((0,_util.info)("The FontDescriptor's FontName is \""+fontNameStr+'" but should be the same as the Font\'s BaseFont "'+baseFontStr+'"'),fontNameStr&&baseFontStr&&0===baseFontStr.indexOf(fontNameStr)&&(fontName=baseFont))}if(fontName=fontName||baseFont,!(0,_primitives.isName)(fontName))throw new _util.FormatError("invalid font name");var cMapPromise,fontFile=descriptor.get("FontFile","FontFile2","FontFile3");if(fontFile&&fontFile.dict){var subtype=fontFile.dict.get("Subtype");subtype&&(subtype=subtype.name);var length1=fontFile.dict.get("Length1"),length2=fontFile.dict.get("Length2"),length3=fontFile.dict.get("Length3")}if(properties={type:type,name:fontName.name,subtype:subtype,file:fontFile,length1:length1,length2:length2,length3:length3,loadedName:baseDict.loadedName,composite:composite,wideChars:composite,fixedPitch:!1,fontMatrix:dict.getArray("FontMatrix")||_util.FONT_IDENTITY_MATRIX,firstChar:firstChar||0,lastChar:lastChar||maxCharIndex,bbox:descriptor.getArray("FontBBox"),ascent:descriptor.get("Ascent"),descent:descriptor.get("Descent"),xHeight:descriptor.get("XHeight"),capHeight:descriptor.get("CapHeight"),flags:descriptor.get("Flags"),italicAngle:descriptor.get("ItalicAngle"),isType3Font:!1},composite){var cidEncoding=baseDict.get("Encoding");(0,_primitives.isName)(cidEncoding)&&(properties.cidEncoding=cidEncoding.name),cMapPromise=_cmap.CMapFactory.create({encoding:cidEncoding,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then((function(cMap){properties.cMap=cMap,properties.vertical=properties.cMap.vertical}))}else cMapPromise=Promise.resolve(void 0);return cMapPromise.then((function(){return _this11.extractDataStructures(dict,baseDict,properties)})).then((function(properties){return _this11.extractWidths(dict,descriptor,properties),"Type3"===type&&(properties.isType3Font=!0),new _fonts.Font(fontName.name,fontFile,properties)}))}},PartialEvaluator}(),TranslatedFont=function TranslatedFontClosure(){function TranslatedFont(loadedName,font,dict){this.loadedName=loadedName,this.font=font,this.dict=dict,this.type3Loaded=null,this.sent=!1}return TranslatedFont.prototype={send:function send(handler){if(!this.sent){var fontData=this.font.exportData();handler.send("commonobj",[this.loadedName,"Font",fontData]),this.sent=!0}},loadType3Data:function loadType3Data(evaluator,resources,parentOperatorList,task){if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");if(this.type3Loaded)return this.type3Loaded;var type3Options=Object.create(evaluator.options);type3Options.ignoreErrors=!1;for(var type3Evaluator=evaluator.clone(type3Options),translatedFont=this.font,loadCharProcsPromise=Promise.resolve(),charProcs=this.dict.get("CharProcs"),fontResources=this.dict.get("Resources")||resources,charProcKeys=charProcs.getKeys(),charProcOperatorList=Object.create(null),_loop2=function _loop2(){var key=charProcKeys[i];loadCharProcsPromise=loadCharProcsPromise.then((function(){var glyphStream=charProcs.get(key),operatorList=new OperatorList;return type3Evaluator.getOperatorList({stream:glyphStream,task:task,resources:fontResources,operatorList:operatorList}).then((function(){charProcOperatorList[key]=operatorList.getIR(),parentOperatorList.addDependencies(operatorList.dependencies)})).catch((function(reason){(0,_util.warn)('Type3 font resource "'+key+'" is not available.');var operatorList=new OperatorList;charProcOperatorList[key]=operatorList.getIR()}))}))},i=0,n=charProcKeys.length;i<n;++i)_loop2();return this.type3Loaded=loadCharProcsPromise.then((function(){translatedFont.charProcOperatorList=charProcOperatorList})),this.type3Loaded}},TranslatedFont}(),OperatorList=function OperatorListClosure(){function OperatorList(intent,messageHandler,pageIndex){this.messageHandler=messageHandler,this.fnArray=[],this.argsArray=[],this.dependencies=Object.create(null),this._totalLength=0,this.pageIndex=pageIndex,this.intent=intent}return OperatorList.prototype={get length(){return this.argsArray.length},get totalLength(){return this._totalLength+this.length},addOp:function addOp(fn,args){this.fnArray.push(fn),this.argsArray.push(args),this.messageHandler&&(this.fnArray.length>=1e3||this.fnArray.length>=995&&(fn===_util.OPS.restore||fn===_util.OPS.endText))&&this.flush()},addDependency:function addDependency(dependency){dependency in this.dependencies||(this.dependencies[dependency]=!0,this.addOp(_util.OPS.dependency,[dependency]))},addDependencies:function addDependencies(dependencies){for(var key in dependencies)this.addDependency(key)},addOpList:function addOpList(opList){_util.Util.extendObj(this.dependencies,opList.dependencies);for(var i=0,ii=opList.length;i<ii;i++)this.addOp(opList.fnArray[i],opList.argsArray[i])},getIR:function getIR(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},flush:function flush(lastChunk){"oplist"!==this.intent&&(new QueueOptimizer).optimize(this);var transfers=function getTransfers(queue){for(var transfers=[],fnArray=queue.fnArray,argsArray=queue.argsArray,i=0,ii=queue.length;i<ii;i++)switch(fnArray[i]){case _util.OPS.paintInlineImageXObject:case _util.OPS.paintInlineImageXObjectGroup:case _util.OPS.paintImageMaskXObject:var arg=argsArray[i][0];arg.cached||transfers.push(arg.data.buffer)}return transfers}(this),length=this.length;this._totalLength+=length,this.messageHandler.send("RenderPageChunk",{operatorList:{fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:lastChunk,length:length},pageIndex:this.pageIndex,intent:this.intent},transfers),this.dependencies=Object.create(null),this.fnArray.length=0,this.argsArray.length=0}},OperatorList}(),StateManager=function StateManagerClosure(){function StateManager(initialState){this.state=initialState,this.stateStack=[]}return StateManager.prototype={save:function save(){var old=this.state;this.stateStack.push(this.state),this.state=old.clone()},restore:function restore(){var prev=this.stateStack.pop();prev&&(this.state=prev)},transform:function transform(args){this.state.ctm=_util.Util.transform(this.state.ctm,args)}},StateManager}(),TextState=function TextStateClosure(){function TextState(){this.ctm=new Float32Array(_util.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=_util.FONT_IDENTITY_MATRIX,this.textMatrix=_util.IDENTITY_MATRIX.slice(),this.textLineMatrix=_util.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}return TextState.prototype={setTextMatrix:function TextState_setTextMatrix(a,b,c,d,e,f){var m=this.textMatrix;m[0]=a,m[1]=b,m[2]=c,m[3]=d,m[4]=e,m[5]=f},setTextLineMatrix:function TextState_setTextMatrix(a,b,c,d,e,f){var m=this.textLineMatrix;m[0]=a,m[1]=b,m[2]=c,m[3]=d,m[4]=e,m[5]=f},translateTextMatrix:function TextState_translateTextMatrix(x,y){var m=this.textMatrix;m[4]=m[0]*x+m[2]*y+m[4],m[5]=m[1]*x+m[3]*y+m[5]},translateTextLineMatrix:function TextState_translateTextMatrix(x,y){var m=this.textLineMatrix;m[4]=m[0]*x+m[2]*y+m[4],m[5]=m[1]*x+m[3]*y+m[5]},calcTextLineMatrixAdvance:function TextState_calcTextLineMatrixAdvance(a,b,c,d,e,f){var font=this.font;if(!font)return null;var m=this.textLineMatrix;if(a!==m[0]||b!==m[1]||c!==m[2]||d!==m[3])return null;var txDiff=e-m[4],tyDiff=f-m[5];if(font.vertical&&0!==txDiff||!font.vertical&&0!==tyDiff)return null;var tx,ty,denominator=a*d-b*c;return font.vertical?(tx=-tyDiff*c/denominator,ty=tyDiff*a/denominator):(tx=txDiff*d/denominator,ty=-txDiff*b/denominator),{width:tx,height:ty,value:font.vertical?ty:tx}},calcRenderMatrix:function TextState_calcRendeMatrix(ctm){var tsm=[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise];return _util.Util.transform(ctm,_util.Util.transform(this.textMatrix,tsm))},carriageReturn:function TextState_carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()},clone:function TextState_clone(){var clone=Object.create(this);return clone.textMatrix=this.textMatrix.slice(),clone.textLineMatrix=this.textLineMatrix.slice(),clone.fontMatrix=this.fontMatrix.slice(),clone}},TextState}(),EvalState=function EvalStateClosure(){function EvalState(){this.ctm=new Float32Array(_util.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=_util.TextRenderingMode.FILL,this.fillColorSpace=_colorspace.ColorSpace.singletons.gray,this.strokeColorSpace=_colorspace.ColorSpace.singletons.gray}return EvalState.prototype={clone:function CanvasExtraState_clone(){return Object.create(this)}},EvalState}(),EvaluatorPreprocessor=function EvaluatorPreprocessorClosure(){var getOPMap=(0,_util.getLookupTableFactory)((function(t){t.w={id:_util.OPS.setLineWidth,numArgs:1,variableArgs:!1},t.J={id:_util.OPS.setLineCap,numArgs:1,variableArgs:!1},t.j={id:_util.OPS.setLineJoin,numArgs:1,variableArgs:!1},t.M={id:_util.OPS.setMiterLimit,numArgs:1,variableArgs:!1},t.d={id:_util.OPS.setDash,numArgs:2,variableArgs:!1},t.ri={id:_util.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},t.i={id:_util.OPS.setFlatness,numArgs:1,variableArgs:!1},t.gs={id:_util.OPS.setGState,numArgs:1,variableArgs:!1},t.q={id:_util.OPS.save,numArgs:0,variableArgs:!1},t.Q={id:_util.OPS.restore,numArgs:0,variableArgs:!1},t.cm={id:_util.OPS.transform,numArgs:6,variableArgs:!1},t.m={id:_util.OPS.moveTo,numArgs:2,variableArgs:!1},t.l={id:_util.OPS.lineTo,numArgs:2,variableArgs:!1},t.c={id:_util.OPS.curveTo,numArgs:6,variableArgs:!1},t.v={id:_util.OPS.curveTo2,numArgs:4,variableArgs:!1},t.y={id:_util.OPS.curveTo3,numArgs:4,variableArgs:!1},t.h={id:_util.OPS.closePath,numArgs:0,variableArgs:!1},t.re={id:_util.OPS.rectangle,numArgs:4,variableArgs:!1},t.S={id:_util.OPS.stroke,numArgs:0,variableArgs:!1},t.s={id:_util.OPS.closeStroke,numArgs:0,variableArgs:!1},t.f={id:_util.OPS.fill,numArgs:0,variableArgs:!1},t.F={id:_util.OPS.fill,numArgs:0,variableArgs:!1},t["f*"]={id:_util.OPS.eoFill,numArgs:0,variableArgs:!1},t.B={id:_util.OPS.fillStroke,numArgs:0,variableArgs:!1},t["B*"]={id:_util.OPS.eoFillStroke,numArgs:0,variableArgs:!1},t.b={id:_util.OPS.closeFillStroke,numArgs:0,variableArgs:!1},t["b*"]={id:_util.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},t.n={id:_util.OPS.endPath,numArgs:0,variableArgs:!1},t.W={id:_util.OPS.clip,numArgs:0,variableArgs:!1},t["W*"]={id:_util.OPS.eoClip,numArgs:0,variableArgs:!1},t.BT={id:_util.OPS.beginText,numArgs:0,variableArgs:!1},t.ET={id:_util.OPS.endText,numArgs:0,variableArgs:!1},t.Tc={id:_util.OPS.setCharSpacing,numArgs:1,variableArgs:!1},t.Tw={id:_util.OPS.setWordSpacing,numArgs:1,variableArgs:!1},t.Tz={id:_util.OPS.setHScale,numArgs:1,variableArgs:!1},t.TL={id:_util.OPS.setLeading,numArgs:1,variableArgs:!1},t.Tf={id:_util.OPS.setFont,numArgs:2,variableArgs:!1},t.Tr={id:_util.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},t.Ts={id:_util.OPS.setTextRise,numArgs:1,variableArgs:!1},t.Td={id:_util.OPS.moveText,numArgs:2,variableArgs:!1},t.TD={id:_util.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},t.Tm={id:_util.OPS.setTextMatrix,numArgs:6,variableArgs:!1},t["T*"]={id:_util.OPS.nextLine,numArgs:0,variableArgs:!1},t.Tj={id:_util.OPS.showText,numArgs:1,variableArgs:!1},t.TJ={id:_util.OPS.showSpacedText,numArgs:1,variableArgs:!1},t["'"]={id:_util.OPS.nextLineShowText,numArgs:1,variableArgs:!1},t['"']={id:_util.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},t.d0={id:_util.OPS.setCharWidth,numArgs:2,variableArgs:!1},t.d1={id:_util.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},t.CS={id:_util.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},t.cs={id:_util.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},t.SC={id:_util.OPS.setStrokeColor,numArgs:4,variableArgs:!0},t.SCN={id:_util.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},t.sc={id:_util.OPS.setFillColor,numArgs:4,variableArgs:!0},t.scn={id:_util.OPS.setFillColorN,numArgs:33,variableArgs:!0},t.G={id:_util.OPS.setStrokeGray,numArgs:1,variableArgs:!1},t.g={id:_util.OPS.setFillGray,numArgs:1,variableArgs:!1},t.RG={id:_util.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},t.rg={id:_util.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},t.K={id:_util.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},t.k={id:_util.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},t.sh={id:_util.OPS.shadingFill,numArgs:1,variableArgs:!1},t.BI={id:_util.OPS.beginInlineImage,numArgs:0,variableArgs:!1},t.ID={id:_util.OPS.beginImageData,numArgs:0,variableArgs:!1},t.EI={id:_util.OPS.endInlineImage,numArgs:1,variableArgs:!1},t.Do={id:_util.OPS.paintXObject,numArgs:1,variableArgs:!1},t.MP={id:_util.OPS.markPoint,numArgs:1,variableArgs:!1},t.DP={id:_util.OPS.markPointProps,numArgs:2,variableArgs:!1},t.BMC={id:_util.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},t.BDC={id:_util.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},t.EMC={id:_util.OPS.endMarkedContent,numArgs:0,variableArgs:!1},t.BX={id:_util.OPS.beginCompat,numArgs:0,variableArgs:!1},t.EX={id:_util.OPS.endCompat,numArgs:0,variableArgs:!1},t.BM=null,t.BD=null,t.true=null,t.fa=null,t.fal=null,t.fals=null,t.false=null,t.nu=null,t.nul=null,t.null=null}));function EvaluatorPreprocessor(stream,xref,stateManager){this.opMap=getOPMap(),this.parser=new _parser.Parser(new _parser.Lexer(stream,this.opMap),!1,xref),this.stateManager=stateManager,this.nonProcessedArgs=[]}return EvaluatorPreprocessor.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function EvaluatorPreprocessor_read(operation){for(var args=operation.args;;){var obj=this.parser.getObj();if((0,_primitives.isCmd)(obj)){var cmd=obj.cmd,opSpec=this.opMap[cmd];if(!opSpec){(0,_util.warn)('Unknown command "'+cmd+'"');continue}var fn=opSpec.id,numArgs=opSpec.numArgs,argsLength=null!==args?args.length:0;if(opSpec.variableArgs)argsLength>numArgs&&(0,_util.info)("Command "+fn+": expected [0,"+numArgs+"] args, but received "+argsLength+" args.");else{if(argsLength!==numArgs){for(var nonProcessedArgs=this.nonProcessedArgs;argsLength>numArgs;)nonProcessedArgs.push(args.shift()),argsLength--;for(;argsLength<numArgs&&0!==nonProcessedArgs.length;)null===args&&(args=[]),args.unshift(nonProcessedArgs.pop()),argsLength++}if(argsLength<numArgs){(0,_util.warn)("Skipping command "+fn+": expected "+numArgs+" args, but received "+argsLength+" args."),null!==args&&(args.length=0);continue}}return this.preprocessCommand(fn,args),operation.fn=fn,operation.args=args,!0}if((0,_primitives.isEOF)(obj))return!1;if(null!==obj&&(null===args&&(args=[]),args.push(obj),args.length>33))throw new _util.FormatError("Too many arguments")}},preprocessCommand:function EvaluatorPreprocessor_preprocessCommand(fn,args){switch(0|fn){case _util.OPS.save:this.stateManager.save();break;case _util.OPS.restore:this.stateManager.restore();break;case _util.OPS.transform:this.stateManager.transform(args)}}},EvaluatorPreprocessor}(),QueueOptimizer=function QueueOptimizerClosure(){function addState(parentState,pattern,fn){for(var state=parentState,i=0,ii=pattern.length-1;i<ii;i++){var item=pattern[i];state=state[item]||(state[item]=[])}state[pattern[pattern.length-1]]=fn}var InitialState=[];function QueueOptimizer(){}return addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintInlineImageXObject,_util.OPS.restore],(function foundInlineImageGroup(context){for(var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr,iFirstSave=curr-3,iFirstTransform=curr-2,iFirstPIIXO=curr-1,i=iFirstSave+4,ii=fnArray.length;i+3<ii&&fnArray[i]===_util.OPS.save&&fnArray[i+1]===_util.OPS.transform&&fnArray[i+2]===_util.OPS.paintInlineImageXObject&&fnArray[i+3]===_util.OPS.restore;)i+=4;var count=Math.min((i-iFirstSave)/4,200);if(count<10)return i;var q,maxX=0,map=[],maxLineHeight=0,currentX=1,currentY=1;for(q=0;q<count;q++){var transform=argsArray[iFirstTransform+(q<<2)],img=argsArray[iFirstPIIXO+(q<<2)][0];currentX+img.width>1e3&&(maxX=Math.max(maxX,currentX),currentY+=maxLineHeight+2,currentX=0,maxLineHeight=0),map.push({transform:transform,x:currentX,y:currentY,w:img.width,h:img.height}),currentX+=img.width+2,maxLineHeight=Math.max(maxLineHeight,img.height)}var imgWidth=Math.max(maxX,currentX)+1,imgHeight=currentY+maxLineHeight+1,imgData=new Uint8Array(imgWidth*imgHeight*4),imgRowSize=imgWidth<<2;for(q=0;q<count;q++){var data=argsArray[iFirstPIIXO+(q<<2)][0].data,rowSize=map[q].w<<2,dataOffset=0,offset=map[q].x+map[q].y*imgWidth<<2;imgData.set(data.subarray(0,rowSize),offset-imgRowSize);for(var k=0,kk=map[q].h;k<kk;k++)imgData.set(data.subarray(dataOffset,dataOffset+rowSize),offset),dataOffset+=rowSize,offset+=imgRowSize;for(imgData.set(data.subarray(dataOffset-rowSize,dataOffset),offset);offset>=0;)data[offset-4]=data[offset],data[offset-3]=data[offset+1],data[offset-2]=data[offset+2],data[offset-1]=data[offset+3],data[offset+rowSize]=data[offset+rowSize-4],data[offset+rowSize+1]=data[offset+rowSize-3],data[offset+rowSize+2]=data[offset+rowSize-2],data[offset+rowSize+3]=data[offset+rowSize-1],offset-=imgRowSize}return fnArray.splice(iFirstSave,4*count,_util.OPS.paintInlineImageXObjectGroup),argsArray.splice(iFirstSave,4*count,[{width:imgWidth,height:imgHeight,kind:_util.ImageKind.RGBA_32BPP,data:imgData},map]),iFirstSave+1})),addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintImageMaskXObject,_util.OPS.restore],(function foundImageMaskGroup(context){for(var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr,iFirstSave=curr-3,iFirstTransform=curr-2,iFirstPIMXO=curr-1,i=iFirstSave+4,ii=fnArray.length;i+3<ii&&fnArray[i]===_util.OPS.save&&fnArray[i+1]===_util.OPS.transform&&fnArray[i+2]===_util.OPS.paintImageMaskXObject&&fnArray[i+3]===_util.OPS.restore;)i+=4;var q,count=(i-iFirstSave)/4;if((count=function handlePaintSolidColorImageMask(iFirstSave,count,fnArray,argsArray){for(var iFirstPIMXO=iFirstSave+2,i=0;i<count;i++){var arg=argsArray[iFirstPIMXO+4*i],imageMask=1===arg.length&&arg[0];if(!imageMask||1!==imageMask.width||1!==imageMask.height||imageMask.data.length&&(1!==imageMask.data.length||0!==imageMask.data[0]))break;fnArray[iFirstPIMXO+4*i]=_util.OPS.paintSolidColorImageMask}return count-i}(iFirstSave,count,fnArray,argsArray))<10)return i;var iTransform,transformArgs,isSameImage=!1,firstPIMXOArg0=argsArray[iFirstPIMXO][0];if(0===argsArray[iFirstTransform][1]&&0===argsArray[iFirstTransform][2]){isSameImage=!0;var firstTransformArg0=argsArray[iFirstTransform][0],firstTransformArg3=argsArray[iFirstTransform][3];iTransform=iFirstTransform+4;var iPIMXO=iFirstPIMXO+4;for(q=1;q<count;q++,iTransform+=4,iPIMXO+=4)if(transformArgs=argsArray[iTransform],argsArray[iPIMXO][0]!==firstPIMXOArg0||transformArgs[0]!==firstTransformArg0||0!==transformArgs[1]||0!==transformArgs[2]||transformArgs[3]!==firstTransformArg3){q<10?isSameImage=!1:count=q;break}}if(isSameImage){count=Math.min(count,1e3);var positions=new Float32Array(2*count);for(iTransform=iFirstTransform,q=0;q<count;q++,iTransform+=4)transformArgs=argsArray[iTransform],positions[q<<1]=transformArgs[4],positions[1+(q<<1)]=transformArgs[5];fnArray.splice(iFirstSave,4*count,_util.OPS.paintImageMaskXObjectRepeat),argsArray.splice(iFirstSave,4*count,[firstPIMXOArg0,firstTransformArg0,firstTransformArg3,positions])}else{count=Math.min(count,100);var images=[];for(q=0;q<count;q++){transformArgs=argsArray[iFirstTransform+(q<<2)];var maskParams=argsArray[iFirstPIMXO+(q<<2)][0];images.push({data:maskParams.data,width:maskParams.width,height:maskParams.height,transform:transformArgs})}fnArray.splice(iFirstSave,4*count,_util.OPS.paintImageMaskXObjectGroup),argsArray.splice(iFirstSave,4*count,[images])}return iFirstSave+1})),addState(InitialState,[_util.OPS.save,_util.OPS.transform,_util.OPS.paintImageXObject,_util.OPS.restore],(function(context){var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr,iFirstSave=curr-3,iFirstTransform=curr-2,iFirstPIXO=curr-1,iFirstRestore=curr;if(0!==argsArray[iFirstTransform][1]||0!==argsArray[iFirstTransform][2])return iFirstRestore+1;for(var firstPIXOArg0=argsArray[iFirstPIXO][0],firstTransformArg0=argsArray[iFirstTransform][0],firstTransformArg3=argsArray[iFirstTransform][3],i=iFirstSave+4,ii=fnArray.length;i+3<ii&&fnArray[i]===_util.OPS.save&&fnArray[i+1]===_util.OPS.transform&&fnArray[i+2]===_util.OPS.paintImageXObject&&fnArray[i+3]===_util.OPS.restore&&argsArray[i+1][0]===firstTransformArg0&&0===argsArray[i+1][1]&&0===argsArray[i+1][2]&&argsArray[i+1][3]===firstTransformArg3&&argsArray[i+2][0]===firstPIXOArg0;)i+=4;var count=Math.min((i-iFirstSave)/4,1e3);if(count<3)return i;for(var positions=new Float32Array(2*count),iTransform=iFirstTransform,q=0;q<count;q++,iTransform+=4){var transformArgs=argsArray[iTransform];positions[q<<1]=transformArgs[4],positions[1+(q<<1)]=transformArgs[5]}var args=[firstPIXOArg0,firstTransformArg0,firstTransformArg3,positions];return fnArray.splice(iFirstSave,4*count,_util.OPS.paintImageXObjectRepeat),argsArray.splice(iFirstSave,4*count,args),iFirstSave+1})),addState(InitialState,[_util.OPS.beginText,_util.OPS.setFont,_util.OPS.setTextMatrix,_util.OPS.showText,_util.OPS.endText],(function(context){for(var fnArray=context.fnArray,argsArray=context.argsArray,curr=context.iCurr,iFirstBeginText=curr-4,iFirstSetFont=curr-3,iFirstSetTextMatrix=curr-2,iFirstShowText=curr-1,iFirstEndText=curr,firstSetFontArg0=argsArray[iFirstSetFont][0],firstSetFontArg1=argsArray[iFirstSetFont][1],i=iFirstBeginText+5,ii=fnArray.length;i+4<ii&&fnArray[i]===_util.OPS.beginText&&fnArray[i+1]===_util.OPS.setFont&&fnArray[i+2]===_util.OPS.setTextMatrix&&fnArray[i+3]===_util.OPS.showText&&fnArray[i+4]===_util.OPS.endText&&argsArray[i+1][0]===firstSetFontArg0&&argsArray[i+1][1]===firstSetFontArg1;)i+=5;var count=Math.min((i-iFirstBeginText)/5,1e3);if(count<3)return i;var iFirst=iFirstBeginText;iFirstBeginText>=4&&fnArray[iFirstBeginText-4]===fnArray[iFirstSetFont]&&fnArray[iFirstBeginText-3]===fnArray[iFirstSetTextMatrix]&&fnArray[iFirstBeginText-2]===fnArray[iFirstShowText]&&fnArray[iFirstBeginText-1]===fnArray[iFirstEndText]&&argsArray[iFirstBeginText-4][0]===firstSetFontArg0&&argsArray[iFirstBeginText-4][1]===firstSetFontArg1&&(count++,iFirst-=5);for(var iEndText=iFirst+4,q=1;q<count;q++)fnArray.splice(iEndText,3),argsArray.splice(iEndText,3),iEndText+=2;return iEndText+1})),QueueOptimizer.prototype={optimize:function QueueOptimizer_optimize(queue){for(var state,fnArray=queue.fnArray,context={iCurr:0,fnArray:fnArray,argsArray:queue.argsArray},i=0,ii=fnArray.length;i<ii;)"function"==typeof(state=(state||InitialState)[fnArray[i]])?(context.iCurr=i,i=state(context),state=void 0,ii=context.fnArray.length):i++}},QueueOptimizer}();exports.OperatorList=OperatorList,exports.PartialEvaluator=PartialEvaluator},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CFFCompiler=exports.CFFPrivateDict=exports.CFFTopDict=exports.CFFCharset=exports.CFFIndex=exports.CFFStrings=exports.CFFHeader=exports.CFF=exports.CFFParser=exports.CFFStandardStrings=void 0;var _util=__w_pdfjs_require__(0),_charsets=__w_pdfjs_require__(136),_encodings=__w_pdfjs_require__(28),CFFStandardStrings=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],CFFParser=function CFFParserClosure(){var CharstringValidationData=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],CharstringValidationData12=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function stack_div(stack,index){stack[index-2]=stack[index-2]+stack[index-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function stack_div(stack,index){stack[index-2]=stack[index-2]-stack[index-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function stack_div(stack,index){stack[index-2]=stack[index-2]/stack[index-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function stack_div(stack,index){stack[index-1]=-stack[index-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function stack_div(stack,index){stack[index-2]=stack[index-2]*stack[index-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];function CFFParser(file,properties,seacAnalysisEnabled){this.bytes=file.getBytes(),this.properties=properties,this.seacAnalysisEnabled=!!seacAnalysisEnabled}return CFFParser.prototype={parse:function CFFParser_parse(){var properties=this.properties,cff=new CFF;this.cff=cff;var header=this.parseHeader(),nameIndex=this.parseIndex(header.endPos),topDictIndex=this.parseIndex(nameIndex.endPos),stringIndex=this.parseIndex(topDictIndex.endPos),globalSubrIndex=this.parseIndex(stringIndex.endPos),topDictParsed=this.parseDict(topDictIndex.obj.get(0)),topDict=this.createDict(CFFTopDict,topDictParsed,cff.strings);cff.header=header.obj,cff.names=this.parseNameIndex(nameIndex.obj),cff.strings=this.parseStringIndex(stringIndex.obj),cff.topDict=topDict,cff.globalSubrIndex=globalSubrIndex.obj,this.parsePrivateDict(cff.topDict),cff.isCIDFont=topDict.hasName("ROS");var charStringOffset=topDict.getByName("CharStrings"),charStringIndex=this.parseIndex(charStringOffset).obj,fontMatrix=topDict.getByName("FontMatrix");fontMatrix&&(properties.fontMatrix=fontMatrix);var charset,encoding,fontBBox=topDict.getByName("FontBBox");if(fontBBox&&(properties.ascent=Math.max(fontBBox[3],fontBBox[1]),properties.descent=Math.min(fontBBox[1],fontBBox[3]),properties.ascentScaled=!0),cff.isCIDFont){for(var fdArrayIndex=this.parseIndex(topDict.getByName("FDArray")).obj,i=0,ii=fdArrayIndex.count;i<ii;++i){var dictRaw=fdArrayIndex.get(i),fontDict=this.createDict(CFFTopDict,this.parseDict(dictRaw),cff.strings);this.parsePrivateDict(fontDict),cff.fdArray.push(fontDict)}encoding=null,charset=this.parseCharsets(topDict.getByName("charset"),charStringIndex.count,cff.strings,!0),cff.fdSelect=this.parseFDSelect(topDict.getByName("FDSelect"),charStringIndex.count)}else charset=this.parseCharsets(topDict.getByName("charset"),charStringIndex.count,cff.strings,!1),encoding=this.parseEncoding(topDict.getByName("Encoding"),properties,cff.strings,charset.charset);cff.charset=charset,cff.encoding=encoding;var charStringsAndSeacs=this.parseCharStrings({charStrings:charStringIndex,localSubrIndex:topDict.privateDict.subrsIndex,globalSubrIndex:globalSubrIndex.obj,fdSelect:cff.fdSelect,fdArray:cff.fdArray,privateDict:topDict.privateDict});return cff.charStrings=charStringsAndSeacs.charStrings,cff.seacs=charStringsAndSeacs.seacs,cff.widths=charStringsAndSeacs.widths,cff},parseHeader:function CFFParser_parseHeader(){for(var bytes=this.bytes,bytesLength=bytes.length,offset=0;offset<bytesLength&&1!==bytes[offset];)++offset;if(offset>=bytesLength)throw new _util.FormatError("Invalid CFF header");0!==offset&&((0,_util.info)("cff data is shifted"),bytes=bytes.subarray(offset),this.bytes=bytes);var major=bytes[0],minor=bytes[1],hdrSize=bytes[2],offSize=bytes[3];return{obj:new CFFHeader(major,minor,hdrSize,offSize),endPos:hdrSize}},parseDict:function CFFParser_parseDict(dict){var pos=0;function parseOperand(){var value=dict[pos++];return 30===value?function parseFloatOperand(){var str="",eof=15,lookup=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],length=dict.length;for(;pos<length;){var b=dict[pos++],b1=b>>4,b2=15&b;if(b1===eof)break;if(str+=lookup[b1],b2===eof)break;str+=lookup[b2]}return parseFloat(str)}():28===value?value=((value=dict[pos++])<<24|dict[pos++]<<16)>>16:29===value?value=(value=(value=(value=dict[pos++])<<8|dict[pos++])<<8|dict[pos++])<<8|dict[pos++]:value>=32&&value<=246?value-139:value>=247&&value<=250?256*(value-247)+dict[pos++]+108:value>=251&&value<=254?-256*(value-251)-dict[pos++]-108:((0,_util.warn)('CFFParser_parseDict: "'+value+'" is a reserved command.'),NaN)}var operands=[],entries=[];pos=0;for(var end=dict.length;pos<end;){var b=dict[pos];b<=21?(12===b&&(b=b<<8|dict[++pos]),entries.push([b,operands]),operands=[],++pos):operands.push(parseOperand())}return entries},parseIndex:function CFFParser_parseIndex(pos){var i,ii,cffIndex=new CFFIndex,bytes=this.bytes,count=bytes[pos++]<<8|bytes[pos++],offsets=[],end=pos;if(0!==count){var offsetSize=bytes[pos++],startPos=pos+(count+1)*offsetSize-1;for(i=0,ii=count+1;i<ii;++i){for(var offset=0,j=0;j<offsetSize;++j)offset<<=8,offset+=bytes[pos++];offsets.push(startPos+offset)}end=offsets[count]}for(i=0,ii=offsets.length-1;i<ii;++i){var offsetStart=offsets[i],offsetEnd=offsets[i+1];cffIndex.add(bytes.subarray(offsetStart,offsetEnd))}return{obj:cffIndex,endPos:end}},parseNameIndex:function CFFParser_parseNameIndex(index){for(var names=[],i=0,ii=index.count;i<ii;++i){var name=index.get(i);names.push((0,_util.bytesToString)(name))}return names},parseStringIndex:function CFFParser_parseStringIndex(index){for(var strings=new CFFStrings,i=0,ii=index.count;i<ii;++i){var data=index.get(i);strings.add((0,_util.bytesToString)(data))}return strings},createDict:function CFFParser_createDict(Type,dict,strings){for(var cffDict=new Type(strings),i=0,ii=dict.length;i<ii;++i){var pair=dict[i],key=pair[0],value=pair[1];cffDict.setByKey(key,value)}return cffDict},parseCharString:function CFFParser_parseCharString(state,data,localSubrIndex,globalSubrIndex){if(!data||state.callDepth>10)return!1;for(var stackSize=state.stackSize,stack=state.stack,length=data.length,j=0;j<length;){var value=data[j++],validationCommand=null;if(12===value){var q=data[j++];0===q?(data[j-2]=139,data[j-1]=22,stackSize=0):validationCommand=CharstringValidationData12[q]}else if(28===value)stack[stackSize]=(data[j]<<24|data[j+1]<<16)>>16,j+=2,stackSize++;else if(14===value){if(stackSize>=4&&(stackSize-=4,this.seacAnalysisEnabled))return state.seac=stack.slice(stackSize,stackSize+4),!1;validationCommand=CharstringValidationData[value]}else if(value>=32&&value<=246)stack[stackSize]=value-139,stackSize++;else if(value>=247&&value<=254)stack[stackSize]=value<251?(value-247<<8)+data[j]+108:-(value-251<<8)-data[j]-108,j++,stackSize++;else if(255===value)stack[stackSize]=(data[j]<<24|data[j+1]<<16|data[j+2]<<8|data[j+3])/65536,j+=4,stackSize++;else if(19===value||20===value)state.hints+=stackSize>>1,j+=state.hints+7>>3,stackSize%=2,validationCommand=CharstringValidationData[value];else{if(10===value||29===value){var subrsIndex;if(!(subrsIndex=10===value?localSubrIndex:globalSubrIndex))return validationCommand=CharstringValidationData[value],(0,_util.warn)("Missing subrsIndex for "+validationCommand.id),!1;var bias=32768;subrsIndex.count<1240?bias=107:subrsIndex.count<33900&&(bias=1131);var subrNumber=stack[--stackSize]+bias;if(subrNumber<0||subrNumber>=subrsIndex.count||isNaN(subrNumber))return validationCommand=CharstringValidationData[value],(0,_util.warn)("Out of bounds subrIndex for "+validationCommand.id),!1;if(state.stackSize=stackSize,state.callDepth++,!this.parseCharString(state,subrsIndex.get(subrNumber),localSubrIndex,globalSubrIndex))return!1;state.callDepth--,stackSize=state.stackSize;continue}if(11===value)return state.stackSize=stackSize,!0;validationCommand=CharstringValidationData[value]}if(validationCommand){if(validationCommand.stem&&(state.hints+=stackSize>>1),"min"in validationCommand&&!state.undefStack&&stackSize<validationCommand.min)return(0,_util.warn)("Not enough parameters for "+validationCommand.id+"; actual: "+stackSize+", expected: "+validationCommand.min),!1;state.firstStackClearing&&validationCommand.stackClearing&&(state.firstStackClearing=!1,(stackSize-=validationCommand.min)>=2&&validationCommand.stem?stackSize%=2:stackSize>1&&(0,_util.warn)("Found too many parameters for stack-clearing command"),stackSize>0&&stack[stackSize-1]>=0&&(state.width=stack[stackSize-1])),"stackDelta"in validationCommand?("stackFn"in validationCommand&&validationCommand.stackFn(stack,stackSize),stackSize+=validationCommand.stackDelta):validationCommand.stackClearing?stackSize=0:validationCommand.resetStack?(stackSize=0,state.undefStack=!1):validationCommand.undefStack&&(stackSize=0,state.undefStack=!0,state.firstStackClearing=!1)}}return state.stackSize=stackSize,!0},parseCharStrings:function parseCharStrings(_ref){for(var charStrings=_ref.charStrings,localSubrIndex=_ref.localSubrIndex,globalSubrIndex=_ref.globalSubrIndex,fdSelect=_ref.fdSelect,fdArray=_ref.fdArray,privateDict=_ref.privateDict,seacs=[],widths=[],count=charStrings.count,i=0;i<count;i++){var charstring=charStrings.get(i),state={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null},valid=!0,localSubrToUse=null,privateDictToUse=privateDict;if(fdSelect&&fdArray.length){var fdIndex=fdSelect.getFDIndex(i);-1===fdIndex&&((0,_util.warn)("Glyph index is not in fd select."),valid=!1),fdIndex>=fdArray.length&&((0,_util.warn)("Invalid fd index for glyph index."),valid=!1),valid&&(localSubrToUse=(privateDictToUse=fdArray[fdIndex].privateDict).subrsIndex)}else localSubrIndex&&(localSubrToUse=localSubrIndex);if(valid&&(valid=this.parseCharString(state,charstring,localSubrToUse,globalSubrIndex)),null!==state.width){var nominalWidth=privateDictToUse.getByName("nominalWidthX");widths[i]=nominalWidth+state.width}else{var defaultWidth=privateDictToUse.getByName("defaultWidthX");widths[i]=defaultWidth}null!==state.seac&&(seacs[i]=state.seac),valid||charStrings.set(i,new Uint8Array([14]))}return{charStrings:charStrings,seacs:seacs,widths:widths}},emptyPrivateDictionary:function CFFParser_emptyPrivateDictionary(parentDict){var privateDict=this.createDict(CFFPrivateDict,[],parentDict.strings);parentDict.setByKey(18,[0,0]),parentDict.privateDict=privateDict},parsePrivateDict:function CFFParser_parsePrivateDict(parentDict){if(parentDict.hasName("Private")){var privateOffset=parentDict.getByName("Private");if(Array.isArray(privateOffset)&&2===privateOffset.length){var size=privateOffset[0],offset=privateOffset[1];if(0===size||offset>=this.bytes.length)this.emptyPrivateDictionary(parentDict);else{var privateDictEnd=offset+size,dictData=this.bytes.subarray(offset,privateDictEnd),dict=this.parseDict(dictData),privateDict=this.createDict(CFFPrivateDict,dict,parentDict.strings);if(parentDict.privateDict=privateDict,privateDict.getByName("Subrs")){var subrsOffset=privateDict.getByName("Subrs"),relativeOffset=offset+subrsOffset;if(0===subrsOffset||relativeOffset>=this.bytes.length)this.emptyPrivateDictionary(parentDict);else{var subrsIndex=this.parseIndex(relativeOffset);privateDict.subrsIndex=subrsIndex.obj}}}}else parentDict.removeByName("Private")}else this.emptyPrivateDictionary(parentDict)},parseCharsets:function CFFParser_parseCharsets(pos,length,strings,cid){if(0===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.ISO_ADOBE,_charsets.ISOAdobeCharset);if(1===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.EXPERT,_charsets.ExpertCharset);if(2===pos)return new CFFCharset(!0,CFFCharsetPredefinedTypes.EXPERT_SUBSET,_charsets.ExpertSubsetCharset);var id,count,i,bytes=this.bytes,start=pos,format=bytes[pos++],charset=[".notdef"];switch(length-=1,format){case 0:for(i=0;i<length;i++)id=bytes[pos++]<<8|bytes[pos++],charset.push(cid?id:strings.get(id));break;case 1:for(;charset.length<=length;)for(id=bytes[pos++]<<8|bytes[pos++],count=bytes[pos++],i=0;i<=count;i++)charset.push(cid?id++:strings.get(id++));break;case 2:for(;charset.length<=length;)for(id=bytes[pos++]<<8|bytes[pos++],count=bytes[pos++]<<8|bytes[pos++],i=0;i<=count;i++)charset.push(cid?id++:strings.get(id++));break;default:throw new _util.FormatError("Unknown charset format")}var end=pos,raw=bytes.subarray(start,end);return new CFFCharset(!1,format,charset,raw)},parseEncoding:function CFFParser_parseEncoding(pos,properties,strings,charset){var format,i,ii,encoding=Object.create(null),bytes=this.bytes,predefined=!1,raw=null;if(0===pos||1===pos){predefined=!0,format=pos;var baseEncoding=pos?_encodings.ExpertEncoding:_encodings.StandardEncoding;for(i=0,ii=charset.length;i<ii;i++){var index=baseEncoding.indexOf(charset[i]);-1!==index&&(encoding[index]=i)}}else{var dataStart=pos;switch(127&(format=bytes[pos++])){case 0:var glyphsCount=bytes[pos++];for(i=1;i<=glyphsCount;i++)encoding[bytes[pos++]]=i;break;case 1:var rangesCount=bytes[pos++],gid=1;for(i=0;i<rangesCount;i++)for(var start=bytes[pos++],left=bytes[pos++],j=start;j<=start+left;j++)encoding[j]=gid++;break;default:throw new _util.FormatError("Unknown encoding format: "+format+" in CFF")}var dataEnd=pos;128&format&&(bytes[dataStart]&=127,function readSupplement(){var supplementsCount=bytes[pos++];for(i=0;i<supplementsCount;i++){var code=bytes[pos++],sid=(bytes[pos++]<<8)+(255&bytes[pos++]);encoding[code]=charset.indexOf(strings.get(sid))}}()),raw=bytes.subarray(dataStart,dataEnd)}return new CFFEncoding(predefined,format&=127,encoding,raw)},parseFDSelect:function CFFParser_parseFDSelect(pos,length){var rawBytes,i,start=pos,bytes=this.bytes,format=bytes[pos++],fdSelect=[],invalidFirstGID=!1;switch(format){case 0:for(i=0;i<length;++i){var id=bytes[pos++];fdSelect.push(id)}rawBytes=bytes.subarray(start,pos);break;case 3:var rangesCount=bytes[pos++]<<8|bytes[pos++];for(i=0;i<rangesCount;++i){var first=bytes[pos++]<<8|bytes[pos++];0===i&&0!==first&&((0,_util.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),invalidFirstGID=!0,first=0);for(var fdIndex=bytes[pos++],next=bytes[pos]<<8|bytes[pos+1],j=first;j<next;++j)fdSelect.push(fdIndex)}pos+=2,rawBytes=bytes.subarray(start,pos),invalidFirstGID&&(rawBytes[3]=rawBytes[4]=0);break;default:throw new _util.FormatError('parseFDSelect: Unknown format "'+format+'".')}if(fdSelect.length!==length)throw new _util.FormatError("parseFDSelect: Invalid font data.");return new CFFFDSelect(fdSelect,rawBytes)}},CFFParser}(),CFF=function CFFClosure(){return function CFF(){this.header=null,this.names=[],this.topDict=null,this.strings=new CFFStrings,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}}(),CFFHeader=function CFFHeader(major,minor,hdrSize,offSize){this.major=major,this.minor=minor,this.hdrSize=hdrSize,this.offSize=offSize},CFFStrings=function CFFStringsClosure(){function CFFStrings(){this.strings=[]}return CFFStrings.prototype={get:function CFFStrings_get(index){return index>=0&&index<=390?CFFStandardStrings[index]:index-391<=this.strings.length?this.strings[index-391]:CFFStandardStrings[0]},add:function CFFStrings_add(value){this.strings.push(value)},get count(){return this.strings.length}},CFFStrings}(),CFFIndex=function CFFIndexClosure(){function CFFIndex(){this.objects=[],this.length=0}return CFFIndex.prototype={add:function CFFIndex_add(data){this.length+=data.length,this.objects.push(data)},set:function CFFIndex_set(index,data){this.length+=data.length-this.objects[index].length,this.objects[index]=data},get:function CFFIndex_get(index){return this.objects[index]},get count(){return this.objects.length}},CFFIndex}(),CFFDict=function CFFDictClosure(){function CFFDict(tables,strings){this.keyToNameMap=tables.keyToNameMap,this.nameToKeyMap=tables.nameToKeyMap,this.defaults=tables.defaults,this.types=tables.types,this.opcodes=tables.opcodes,this.order=tables.order,this.strings=strings,this.values=Object.create(null)}return CFFDict.prototype={setByKey:function CFFDict_setByKey(key,value){if(!(key in this.keyToNameMap))return!1;var valueLength=value.length;if(0===valueLength)return!0;for(var i=0;i<valueLength;i++)if(isNaN(value[i]))return(0,_util.warn)('Invalid CFFDict value: "'+value+'" for key "'+key+'".'),!0;var type=this.types[key];return"num"!==type&&"sid"!==type&&"offset"!==type||(value=value[0]),this.values[key]=value,!0},setByName:function CFFDict_setByName(name,value){if(!(name in this.nameToKeyMap))throw new _util.FormatError('Invalid dictionary name "'+name+'"');this.values[this.nameToKeyMap[name]]=value},hasName:function CFFDict_hasName(name){return this.nameToKeyMap[name]in this.values},getByName:function CFFDict_getByName(name){if(!(name in this.nameToKeyMap))throw new _util.FormatError("Invalid dictionary name "+name+'"');var key=this.nameToKeyMap[name];return key in this.values?this.values[key]:this.defaults[key]},removeByName:function CFFDict_removeByName(name){delete this.values[this.nameToKeyMap[name]]}},CFFDict.createTables=function CFFDict_createTables(layout){for(var tables={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},i=0,ii=layout.length;i<ii;++i){var entry=layout[i],key=Array.isArray(entry[0])?(entry[0][0]<<8)+entry[0][1]:entry[0];tables.keyToNameMap[key]=entry[1],tables.nameToKeyMap[entry[1]]=key,tables.types[key]=entry[2],tables.defaults[key]=entry[3],tables.opcodes[key]=Array.isArray(entry[0])?entry[0]:[entry[0]],tables.order.push(key)}return tables},CFFDict}(),CFFTopDict=function CFFTopDictClosure(){var layout=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],tables=null;function CFFTopDict(strings){null===tables&&(tables=CFFDict.createTables(layout)),CFFDict.call(this,tables,strings),this.privateDict=null}return CFFTopDict.prototype=Object.create(CFFDict.prototype),CFFTopDict}(),CFFPrivateDict=function CFFPrivateDictClosure(){var layout=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],tables=null;function CFFPrivateDict(strings){null===tables&&(tables=CFFDict.createTables(layout)),CFFDict.call(this,tables,strings),this.subrsIndex=null}return CFFPrivateDict.prototype=Object.create(CFFDict.prototype),CFFPrivateDict}(),CFFCharsetPredefinedTypes={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},CFFCharset=function CFFCharset(predefined,format,charset,raw){this.predefined=predefined,this.format=format,this.charset=charset,this.raw=raw},CFFEncoding=function CFFEncoding(predefined,format,encoding,raw){this.predefined=predefined,this.format=format,this.encoding=encoding,this.raw=raw},CFFFDSelect=function CFFFDSelectClosure(){function CFFFDSelect(fdSelect,raw){this.fdSelect=fdSelect,this.raw=raw}return CFFFDSelect.prototype={getFDIndex:function CFFFDSelect_get(glyphIndex){return glyphIndex<0||glyphIndex>=this.fdSelect.length?-1:this.fdSelect[glyphIndex]}},CFFFDSelect}(),CFFOffsetTracker=function CFFOffsetTrackerClosure(){function CFFOffsetTracker(){this.offsets=Object.create(null)}return CFFOffsetTracker.prototype={isTracking:function CFFOffsetTracker_isTracking(key){return key in this.offsets},track:function CFFOffsetTracker_track(key,location){if(key in this.offsets)throw new _util.FormatError("Already tracking location of "+key);this.offsets[key]=location},offset:function CFFOffsetTracker_offset(value){for(var key in this.offsets)this.offsets[key]+=value},setEntryLocation:function CFFOffsetTracker_setEntryLocation(key,values,output){if(!(key in this.offsets))throw new _util.FormatError("Not tracking location of "+key);for(var data=output.data,dataOffset=this.offsets[key],i=0,ii=values.length;i<ii;++i){var offset0=5*i+dataOffset,offset1=offset0+1,offset2=offset0+2,offset3=offset0+3,offset4=offset0+4;if(29!==data[offset0]||0!==data[offset1]||0!==data[offset2]||0!==data[offset3]||0!==data[offset4])throw new _util.FormatError("writing to an offset that is not empty");var value=values[i];data[offset0]=29,data[offset1]=value>>24&255,data[offset2]=value>>16&255,data[offset3]=value>>8&255,data[offset4]=255&value}}},CFFOffsetTracker}(),CFFCompiler=function CFFCompilerClosure(){function CFFCompiler(cff){this.cff=cff}return CFFCompiler.prototype={compile:function CFFCompiler_compile(){var cff=this.cff,output={data:[],length:0,add:function CFFCompiler_add(data){this.data=this.data.concat(data),this.length=this.data.length}},header=this.compileHeader(cff.header);output.add(header);var nameIndex=this.compileNameIndex(cff.names);if(output.add(nameIndex),cff.isCIDFont&&cff.topDict.hasName("FontMatrix")){var base=cff.topDict.getByName("FontMatrix");cff.topDict.removeByName("FontMatrix");for(var i=0,ii=cff.fdArray.length;i<ii;i++){var subDict=cff.fdArray[i],matrix=base.slice(0);subDict.hasName("FontMatrix")&&(matrix=_util.Util.transform(matrix,subDict.getByName("FontMatrix"))),subDict.setByName("FontMatrix",matrix)}}var compiled=this.compileTopDicts([cff.topDict],output.length,cff.isCIDFont);output.add(compiled.output);var topDictTracker=compiled.trackers[0],stringIndex=this.compileStringIndex(cff.strings.strings);output.add(stringIndex);var globalSubrIndex=this.compileIndex(cff.globalSubrIndex);if(output.add(globalSubrIndex),cff.encoding&&cff.topDict.hasName("Encoding"))if(cff.encoding.predefined)topDictTracker.setEntryLocation("Encoding",[cff.encoding.format],output);else{var encoding=this.compileEncoding(cff.encoding);topDictTracker.setEntryLocation("Encoding",[output.length],output),output.add(encoding)}if(cff.charset&&cff.topDict.hasName("charset"))if(cff.charset.predefined)topDictTracker.setEntryLocation("charset",[cff.charset.format],output);else{var charset=this.compileCharset(cff.charset);topDictTracker.setEntryLocation("charset",[output.length],output),output.add(charset)}var charStrings=this.compileCharStrings(cff.charStrings);if(topDictTracker.setEntryLocation("CharStrings",[output.length],output),output.add(charStrings),cff.isCIDFont){topDictTracker.setEntryLocation("FDSelect",[output.length],output);var fdSelect=this.compileFDSelect(cff.fdSelect.raw);output.add(fdSelect),compiled=this.compileTopDicts(cff.fdArray,output.length,!0),topDictTracker.setEntryLocation("FDArray",[output.length],output),output.add(compiled.output);var fontDictTrackers=compiled.trackers;this.compilePrivateDicts(cff.fdArray,fontDictTrackers,output)}return this.compilePrivateDicts([cff.topDict],[topDictTracker],output),output.add([0]),output.data},encodeNumber:function CFFCompiler_encodeNumber(value){return parseFloat(value)!==parseInt(value,10)||isNaN(value)?this.encodeFloat(value):this.encodeInteger(value)},encodeFloat:function CFFCompiler_encodeFloat(num){var value=num.toString(),m=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(value);if(m){var epsilon=parseFloat("1e"+((m[2]?+m[2]:0)+m[1].length));value=(Math.round(num*epsilon)/epsilon).toString()}var i,ii,nibbles="";for(i=0,ii=value.length;i<ii;++i){var a=value[i];nibbles+="e"===a?"-"===value[++i]?"c":"b":"."===a?"a":"-"===a?"e":a}var out=[30];for(i=0,ii=(nibbles+=1&nibbles.length?"f":"ff").length;i<ii;i+=2)out.push(parseInt(nibbles.substr(i,2),16));return out},encodeInteger:function CFFCompiler_encodeInteger(value){return value>=-107&&value<=107?[value+139]:value>=108&&value<=1131?[247+((value-=108)>>8),255&value]:value>=-1131&&value<=-108?[251+((value=-value-108)>>8),255&value]:value>=-32768&&value<=32767?[28,value>>8&255,255&value]:[29,value>>24&255,value>>16&255,value>>8&255,255&value]},compileHeader:function CFFCompiler_compileHeader(header){return[header.major,header.minor,header.hdrSize,header.offSize]},compileNameIndex:function CFFCompiler_compileNameIndex(names){for(var nameIndex=new CFFIndex,i=0,ii=names.length;i<ii;++i){for(var name=names[i],length=Math.min(name.length,127),sanitizedName=new Array(length),j=0;j<length;j++){var char=name[j];(char<"!"||char>"~"||"["===char||"]"===char||"("===char||")"===char||"{"===char||"}"===char||"<"===char||">"===char||"/"===char||"%"===char)&&(char="_"),sanitizedName[j]=char}""===(sanitizedName=sanitizedName.join(""))&&(sanitizedName="Bad_Font_Name"),nameIndex.add((0,_util.stringToBytes)(sanitizedName))}return this.compileIndex(nameIndex)},compileTopDicts:function CFFCompiler_compileTopDicts(dicts,length,removeCidKeys){for(var fontDictTrackers=[],fdArrayIndex=new CFFIndex,i=0,ii=dicts.length;i<ii;++i){var fontDict=dicts[i];removeCidKeys&&(fontDict.removeByName("CIDFontVersion"),fontDict.removeByName("CIDFontRevision"),fontDict.removeByName("CIDFontType"),fontDict.removeByName("CIDCount"),fontDict.removeByName("UIDBase"));var fontDictTracker=new CFFOffsetTracker,fontDictData=this.compileDict(fontDict,fontDictTracker);fontDictTrackers.push(fontDictTracker),fdArrayIndex.add(fontDictData),fontDictTracker.offset(length)}return{trackers:fontDictTrackers,output:fdArrayIndex=this.compileIndex(fdArrayIndex,fontDictTrackers)}},compilePrivateDicts:function CFFCompiler_compilePrivateDicts(dicts,trackers,output){for(var i=0,ii=dicts.length;i<ii;++i){var fontDict=dicts[i],privateDict=fontDict.privateDict;if(!privateDict||!fontDict.hasName("Private"))throw new _util.FormatError("There must be a private dictionary.");var privateDictTracker=new CFFOffsetTracker,privateDictData=this.compileDict(privateDict,privateDictTracker),outputLength=output.length;if(privateDictTracker.offset(outputLength),privateDictData.length||(outputLength=0),trackers[i].setEntryLocation("Private",[privateDictData.length,outputLength],output),output.add(privateDictData),privateDict.subrsIndex&&privateDict.hasName("Subrs")){var subrs=this.compileIndex(privateDict.subrsIndex);privateDictTracker.setEntryLocation("Subrs",[privateDictData.length],output),output.add(subrs)}}},compileDict:function CFFCompiler_compileDict(dict,offsetTracker){for(var out=[],order=dict.order,i=0;i<order.length;++i){var key=order[i];if(key in dict.values){var values=dict.values[key],types=dict.types[key];if(Array.isArray(types)||(types=[types]),Array.isArray(values)||(values=[values]),0!==values.length){for(var j=0,jj=types.length;j<jj;++j){var type=types[j],value=values[j];switch(type){case"num":case"sid":out=out.concat(this.encodeNumber(value));break;case"offset":var name=dict.keyToNameMap[key];offsetTracker.isTracking(name)||offsetTracker.track(name,out.length),out=out.concat([29,0,0,0,0]);break;case"array":case"delta":out=out.concat(this.encodeNumber(value));for(var k=1,kk=values.length;k<kk;++k)out=out.concat(this.encodeNumber(values[k]));break;default:throw new _util.FormatError("Unknown data type of "+type)}}out=out.concat(dict.opcodes[key])}}}return out},compileStringIndex:function CFFCompiler_compileStringIndex(strings){for(var stringIndex=new CFFIndex,i=0,ii=strings.length;i<ii;++i)stringIndex.add((0,_util.stringToBytes)(strings[i]));return this.compileIndex(stringIndex)},compileGlobalSubrIndex:function CFFCompiler_compileGlobalSubrIndex(){var globalSubrIndex=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(globalSubrIndex))},compileCharStrings:function CFFCompiler_compileCharStrings(charStrings){return this.compileIndex(charStrings)},compileCharset:function CFFCompiler_compileCharset(charset){return this.compileTypedArray(charset.raw)},compileEncoding:function CFFCompiler_compileEncoding(encoding){return this.compileTypedArray(encoding.raw)},compileFDSelect:function CFFCompiler_compileFDSelect(fdSelect){return this.compileTypedArray(fdSelect)},compileTypedArray:function CFFCompiler_compileTypedArray(data){for(var out=[],i=0,ii=data.length;i<ii;++i)out[i]=data[i];return out},compileIndex:function CFFCompiler_compileIndex(index,trackers){trackers=trackers||[];var objects=index.objects,count=objects.length;if(0===count)return[0,0,0];var i,offsetSize,data=[count>>8&255,255&count],lastOffset=1;for(i=0;i<count;++i)lastOffset+=objects[i].length;offsetSize=lastOffset<256?1:lastOffset<65536?2:lastOffset<16777216?3:4,data.push(offsetSize);var relativeOffset=1;for(i=0;i<count+1;i++)1===offsetSize?data.push(255&relativeOffset):2===offsetSize?data.push(relativeOffset>>8&255,255&relativeOffset):3===offsetSize?data.push(relativeOffset>>16&255,relativeOffset>>8&255,255&relativeOffset):data.push(relativeOffset>>>24&255,relativeOffset>>16&255,relativeOffset>>8&255,255&relativeOffset),objects[i]&&(relativeOffset+=objects[i].length);for(i=0;i<count;i++){trackers[i]&&trackers[i].offset(data.length);for(var j=0,jj=objects[i].length;j<jj;j++)data.push(objects[i][j])}return data}},CFFCompiler}();exports.CFFStandardStrings=CFFStandardStrings,exports.CFFParser=CFFParser,exports.CFF=CFF,exports.CFFHeader=CFFHeader,exports.CFFStrings=CFFStrings,exports.CFFIndex=CFFIndex,exports.CFFCharset=CFFCharset,exports.CFFTopDict=CFFTopDict,exports.CFFPrivateDict=CFFPrivateDict,exports.CFFCompiler=CFFCompiler},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSupplementalGlyphMapForArialBlack=exports.getGlyphMapForStandardFonts=exports.getSymbolsFonts=exports.getSerifFonts=exports.getNonStdFontMap=exports.getStdFontMap=void 0;var _util=__w_pdfjs_require__(0),getStdFontMap=(0,_util.getLookupTableFactory)((function(t){t.ArialNarrow="Helvetica",t["ArialNarrow-Bold"]="Helvetica-Bold",t["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",t["ArialNarrow-Italic"]="Helvetica-Oblique",t.ArialBlack="Helvetica",t["ArialBlack-Bold"]="Helvetica-Bold",t["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",t["ArialBlack-Italic"]="Helvetica-Oblique",t["Arial-Black"]="Helvetica",t["Arial-Black-Bold"]="Helvetica-Bold",t["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",t["Arial-Black-Italic"]="Helvetica-Oblique",t.Arial="Helvetica",t["Arial-Bold"]="Helvetica-Bold",t["Arial-BoldItalic"]="Helvetica-BoldOblique",t["Arial-Italic"]="Helvetica-Oblique",t["Arial-BoldItalicMT"]="Helvetica-BoldOblique",t["Arial-BoldMT"]="Helvetica-Bold",t["Arial-ItalicMT"]="Helvetica-Oblique",t.ArialMT="Helvetica",t["Courier-Bold"]="Courier-Bold",t["Courier-BoldItalic"]="Courier-BoldOblique",t["Courier-Italic"]="Courier-Oblique",t.CourierNew="Courier",t["CourierNew-Bold"]="Courier-Bold",t["CourierNew-BoldItalic"]="Courier-BoldOblique",t["CourierNew-Italic"]="Courier-Oblique",t["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",t["CourierNewPS-BoldMT"]="Courier-Bold",t["CourierNewPS-ItalicMT"]="Courier-Oblique",t.CourierNewPSMT="Courier",t.Helvetica="Helvetica",t["Helvetica-Bold"]="Helvetica-Bold",t["Helvetica-BoldItalic"]="Helvetica-BoldOblique",t["Helvetica-BoldOblique"]="Helvetica-BoldOblique",t["Helvetica-Italic"]="Helvetica-Oblique",t["Helvetica-Oblique"]="Helvetica-Oblique",t.SegoeUISymbol="Helvetica",t["Symbol-Bold"]="Symbol",t["Symbol-BoldItalic"]="Symbol",t["Symbol-Italic"]="Symbol",t.TimesNewRoman="Times-Roman",t["TimesNewRoman-Bold"]="Times-Bold",t["TimesNewRoman-BoldItalic"]="Times-BoldItalic",t["TimesNewRoman-Italic"]="Times-Italic",t.TimesNewRomanPS="Times-Roman",t["TimesNewRomanPS-Bold"]="Times-Bold",t["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",t["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",t["TimesNewRomanPS-BoldMT"]="Times-Bold",t["TimesNewRomanPS-Italic"]="Times-Italic",t["TimesNewRomanPS-ItalicMT"]="Times-Italic",t.TimesNewRomanPSMT="Times-Roman",t["TimesNewRomanPSMT-Bold"]="Times-Bold",t["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",t["TimesNewRomanPSMT-Italic"]="Times-Italic"})),getNonStdFontMap=(0,_util.getLookupTableFactory)((function(t){t.CenturyGothic="Helvetica",t["CenturyGothic-Bold"]="Helvetica-Bold",t["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",t["CenturyGothic-Italic"]="Helvetica-Oblique",t.ComicSansMS="Comic Sans MS",t["ComicSansMS-Bold"]="Comic Sans MS-Bold",t["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",t["ComicSansMS-Italic"]="Comic Sans MS-Italic",t.LucidaConsole="Courier",t["LucidaConsole-Bold"]="Courier-Bold",t["LucidaConsole-BoldItalic"]="Courier-BoldOblique",t["LucidaConsole-Italic"]="Courier-Oblique",t["MS-Gothic"]="MS Gothic",t["MS-Gothic-Bold"]="MS Gothic-Bold",t["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",t["MS-Gothic-Italic"]="MS Gothic-Italic",t["MS-Mincho"]="MS Mincho",t["MS-Mincho-Bold"]="MS Mincho-Bold",t["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",t["MS-Mincho-Italic"]="MS Mincho-Italic",t["MS-PGothic"]="MS PGothic",t["MS-PGothic-Bold"]="MS PGothic-Bold",t["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",t["MS-PGothic-Italic"]="MS PGothic-Italic",t["MS-PMincho"]="MS PMincho",t["MS-PMincho-Bold"]="MS PMincho-Bold",t["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",t["MS-PMincho-Italic"]="MS PMincho-Italic",t.NuptialScript="Times-Italic",t.Wingdings="ZapfDingbats"})),getSerifFonts=(0,_util.getLookupTableFactory)((function(t){t["Adobe Jenson"]=!0,t["Adobe Text"]=!0,t.Albertus=!0,t.Aldus=!0,t.Alexandria=!0,t.Algerian=!0,t["American Typewriter"]=!0,t.Antiqua=!0,t.Apex=!0,t.Arno=!0,t.Aster=!0,t.Aurora=!0,t.Baskerville=!0,t.Bell=!0,t.Bembo=!0,t["Bembo Schoolbook"]=!0,t.Benguiat=!0,t["Berkeley Old Style"]=!0,t["Bernhard Modern"]=!0,t["Berthold City"]=!0,t.Bodoni=!0,t["Bauer Bodoni"]=!0,t["Book Antiqua"]=!0,t.Bookman=!0,t["Bordeaux Roman"]=!0,t["Californian FB"]=!0,t.Calisto=!0,t.Calvert=!0,t.Capitals=!0,t.Cambria=!0,t.Cartier=!0,t.Caslon=!0,t.Catull=!0,t.Centaur=!0,t["Century Old Style"]=!0,t["Century Schoolbook"]=!0,t.Chaparral=!0,t["Charis SIL"]=!0,t.Cheltenham=!0,t["Cholla Slab"]=!0,t.Clarendon=!0,t.Clearface=!0,t.Cochin=!0,t.Colonna=!0,t["Computer Modern"]=!0,t["Concrete Roman"]=!0,t.Constantia=!0,t["Cooper Black"]=!0,t.Corona=!0,t.Ecotype=!0,t.Egyptienne=!0,t.Elephant=!0,t.Excelsior=!0,t.Fairfield=!0,t["FF Scala"]=!0,t.Folkard=!0,t.Footlight=!0,t.FreeSerif=!0,t["Friz Quadrata"]=!0,t.Garamond=!0,t.Gentium=!0,t.Georgia=!0,t.Gloucester=!0,t["Goudy Old Style"]=!0,t["Goudy Schoolbook"]=!0,t["Goudy Pro Font"]=!0,t.Granjon=!0,t["Guardian Egyptian"]=!0,t.Heather=!0,t.Hercules=!0,t["High Tower Text"]=!0,t.Hiroshige=!0,t["Hoefler Text"]=!0,t["Humana Serif"]=!0,t.Imprint=!0,t["Ionic No. 5"]=!0,t.Janson=!0,t.Joanna=!0,t.Korinna=!0,t.Lexicon=!0,t["Liberation Serif"]=!0,t["Linux Libertine"]=!0,t.Literaturnaya=!0,t.Lucida=!0,t["Lucida Bright"]=!0,t.Melior=!0,t.Memphis=!0,t.Miller=!0,t.Minion=!0,t.Modern=!0,t["Mona Lisa"]=!0,t["Mrs Eaves"]=!0,t["MS Serif"]=!0,t["Museo Slab"]=!0,t["New York"]=!0,t["Nimbus Roman"]=!0,t["NPS Rawlinson Roadway"]=!0,t.NuptialScript=!0,t.Palatino=!0,t.Perpetua=!0,t.Plantin=!0,t["Plantin Schoolbook"]=!0,t.Playbill=!0,t["Poor Richard"]=!0,t["Rawlinson Roadway"]=!0,t.Renault=!0,t.Requiem=!0,t.Rockwell=!0,t.Roman=!0,t["Rotis Serif"]=!0,t.Sabon=!0,t.Scala=!0,t.Seagull=!0,t.Sistina=!0,t.Souvenir=!0,t.STIX=!0,t["Stone Informal"]=!0,t["Stone Serif"]=!0,t.Sylfaen=!0,t.Times=!0,t.Trajan=!0,t["Trinité"]=!0,t["Trump Mediaeval"]=!0,t.Utopia=!0,t["Vale Type"]=!0,t["Bitstream Vera"]=!0,t["Vera Serif"]=!0,t.Versailles=!0,t.Wanted=!0,t.Weiss=!0,t["Wide Latin"]=!0,t.Windsor=!0,t.XITS=!0})),getSymbolsFonts=(0,_util.getLookupTableFactory)((function(t){t.Dingbats=!0,t.Symbol=!0,t.ZapfDingbats=!0})),getGlyphMapForStandardFonts=(0,_util.getLookupTableFactory)((function(t){t[2]=10,t[3]=32,t[4]=33,t[5]=34,t[6]=35,t[7]=36,t[8]=37,t[9]=38,t[10]=39,t[11]=40,t[12]=41,t[13]=42,t[14]=43,t[15]=44,t[16]=45,t[17]=46,t[18]=47,t[19]=48,t[20]=49,t[21]=50,t[22]=51,t[23]=52,t[24]=53,t[25]=54,t[26]=55,t[27]=56,t[28]=57,t[29]=58,t[30]=894,t[31]=60,t[32]=61,t[33]=62,t[34]=63,t[35]=64,t[36]=65,t[37]=66,t[38]=67,t[39]=68,t[40]=69,t[41]=70,t[42]=71,t[43]=72,t[44]=73,t[45]=74,t[46]=75,t[47]=76,t[48]=77,t[49]=78,t[50]=79,t[51]=80,t[52]=81,t[53]=82,t[54]=83,t[55]=84,t[56]=85,t[57]=86,t[58]=87,t[59]=88,t[60]=89,t[61]=90,t[62]=91,t[63]=92,t[64]=93,t[65]=94,t[66]=95,t[67]=96,t[68]=97,t[69]=98,t[70]=99,t[71]=100,t[72]=101,t[73]=102,t[74]=103,t[75]=104,t[76]=105,t[77]=106,t[78]=107,t[79]=108,t[80]=109,t[81]=110,t[82]=111,t[83]=112,t[84]=113,t[85]=114,t[86]=115,t[87]=116,t[88]=117,t[89]=118,t[90]=119,t[91]=120,t[92]=121,t[93]=122,t[94]=123,t[95]=124,t[96]=125,t[97]=126,t[98]=196,t[99]=197,t[100]=199,t[101]=201,t[102]=209,t[103]=214,t[104]=220,t[105]=225,t[106]=224,t[107]=226,t[108]=228,t[109]=227,t[110]=229,t[111]=231,t[112]=233,t[113]=232,t[114]=234,t[115]=235,t[116]=237,t[117]=236,t[118]=238,t[119]=239,t[120]=241,t[121]=243,t[122]=242,t[123]=244,t[124]=246,t[125]=245,t[126]=250,t[127]=249,t[128]=251,t[129]=252,t[130]=8224,t[131]=176,t[132]=162,t[133]=163,t[134]=167,t[135]=8226,t[136]=182,t[137]=223,t[138]=174,t[139]=169,t[140]=8482,t[141]=180,t[142]=168,t[143]=8800,t[144]=198,t[145]=216,t[146]=8734,t[147]=177,t[148]=8804,t[149]=8805,t[150]=165,t[151]=181,t[152]=8706,t[153]=8721,t[154]=8719,t[156]=8747,t[157]=170,t[158]=186,t[159]=8486,t[160]=230,t[161]=248,t[162]=191,t[163]=161,t[164]=172,t[165]=8730,t[166]=402,t[167]=8776,t[168]=8710,t[169]=171,t[170]=187,t[171]=8230,t[210]=218,t[223]=711,t[224]=321,t[225]=322,t[227]=353,t[229]=382,t[234]=253,t[252]=263,t[253]=268,t[254]=269,t[258]=258,t[260]=260,t[261]=261,t[265]=280,t[266]=281,t[268]=283,t[269]=313,t[275]=323,t[276]=324,t[278]=328,t[284]=345,t[285]=346,t[286]=347,t[292]=367,t[295]=377,t[296]=378,t[298]=380,t[305]=963,t[306]=964,t[307]=966,t[308]=8215,t[309]=8252,t[310]=8319,t[311]=8359,t[312]=8592,t[313]=8593,t[337]=9552,t[493]=1039,t[494]=1040,t[705]=1524,t[706]=8362,t[710]=64288,t[711]=64298,t[759]=1617,t[761]=1776,t[763]=1778,t[775]=1652,t[777]=1764,t[778]=1780,t[779]=1781,t[780]=1782,t[782]=771,t[783]=64726,t[786]=8363,t[788]=8532,t[790]=768,t[791]=769,t[792]=768,t[795]=803,t[797]=64336,t[798]=64337,t[799]=64342,t[800]=64343,t[801]=64344,t[802]=64345,t[803]=64362,t[804]=64363,t[805]=64364,t[2424]=7821,t[2425]=7822,t[2426]=7823,t[2427]=7824,t[2428]=7825,t[2429]=7826,t[2430]=7827,t[2433]=7682,t[2678]=8045,t[2679]=8046,t[2830]=1552,t[2838]=686,t[2840]=751,t[2842]=753,t[2843]=754,t[2844]=755,t[2846]=757,t[2856]=767,t[2857]=848,t[2858]=849,t[2862]=853,t[2863]=854,t[2864]=855,t[2865]=861,t[2866]=862,t[2906]=7460,t[2908]=7462,t[2909]=7463,t[2910]=7464,t[2912]=7466,t[2913]=7467,t[2914]=7468,t[2916]=7470,t[2917]=7471,t[2918]=7472,t[2920]=7474,t[2921]=7475,t[2922]=7476,t[2924]=7478,t[2925]=7479,t[2926]=7480,t[2928]=7482,t[2929]=7483,t[2930]=7484,t[2932]=7486,t[2933]=7487,t[2934]=7488,t[2936]=7490,t[2937]=7491,t[2938]=7492,t[2940]=7494,t[2941]=7495,t[2942]=7496,t[2944]=7498,t[2946]=7500,t[2948]=7502,t[2950]=7504,t[2951]=7505,t[2952]=7506,t[2954]=7508,t[2955]=7509,t[2956]=7510,t[2958]=7512,t[2959]=7513,t[2960]=7514,t[2962]=7516,t[2963]=7517,t[2964]=7518,t[2966]=7520,t[2967]=7521,t[2968]=7522,t[2970]=7524,t[2971]=7525,t[2972]=7526,t[2974]=7528,t[2975]=7529,t[2976]=7530,t[2978]=1537,t[2979]=1538,t[2980]=1539,t[2982]=1549,t[2983]=1551,t[2984]=1552,t[2986]=1554,t[2987]=1555,t[2988]=1556,t[2990]=1623,t[2991]=1624,t[2995]=1775,t[2999]=1791,t[3002]=64290,t[3003]=64291,t[3004]=64292,t[3006]=64294,t[3007]=64295,t[3008]=64296,t[3011]=1900,t[3014]=8223,t[3015]=8244,t[3017]=7532,t[3018]=7533,t[3019]=7534,t[3075]=7590,t[3076]=7591,t[3079]=7594,t[3080]=7595,t[3083]=7598,t[3084]=7599,t[3087]=7602,t[3088]=7603,t[3091]=7606,t[3092]=7607,t[3095]=7610,t[3096]=7611,t[3099]=7614,t[3100]=7615,t[3103]=7618,t[3104]=7619,t[3107]=8337,t[3108]=8338,t[3116]=1884,t[3119]=1885,t[3120]=1885,t[3123]=1886,t[3124]=1886,t[3127]=1887,t[3128]=1887,t[3131]=1888,t[3132]=1888,t[3135]=1889,t[3136]=1889,t[3139]=1890,t[3140]=1890,t[3143]=1891,t[3144]=1891,t[3147]=1892,t[3148]=1892,t[3153]=580,t[3154]=581,t[3157]=584,t[3158]=585,t[3161]=588,t[3162]=589,t[3165]=891,t[3166]=892,t[3169]=1274,t[3170]=1275,t[3173]=1278,t[3174]=1279,t[3181]=7622,t[3182]=7623,t[3282]=11799,t[3316]=578,t[3379]=42785,t[3393]=1159,t[3416]=8377})),getSupplementalGlyphMapForArialBlack=(0,_util.getLookupTableFactory)((function(t){t[227]=322,t[264]=261,t[291]=346}));exports.getStdFontMap=getStdFontMap,exports.getNonStdFontMap=getNonStdFontMap,exports.getSerifFonts=getSerifFonts,exports.getSymbolsFonts=getSymbolsFonts,exports.getGlyphMapForStandardFonts=getGlyphMapForStandardFonts,exports.getSupplementalGlyphMapForArialBlack=getSupplementalGlyphMapForArialBlack},function(module,exports,__w_pdfjs_require__){var getLookupTableFactory=__w_pdfjs_require__(0).getLookupTableFactory,getSpecialPUASymbols=getLookupTableFactory((function(t){t[63721]=169,t[63193]=169,t[63720]=174,t[63194]=174,t[63722]=8482,t[63195]=8482,t[63729]=9127,t[63730]=9128,t[63731]=9129,t[63740]=9131,t[63741]=9132,t[63742]=9133,t[63726]=9121,t[63727]=9122,t[63728]=9123,t[63737]=9124,t[63738]=9125,t[63739]=9126,t[63723]=9115,t[63724]=9116,t[63725]=9117,t[63734]=9118,t[63735]=9119,t[63736]=9120}));var UnicodeRanges=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];var getNormalizedUnicodes=getLookupTableFactory((function(t){t["¨"]=" ̈",t["¯"]=" ̄",t["´"]=" ́",t["µ"]="μ",t["¸"]=" ̧",t["IJ"]="IJ",t["ij"]="ij",t["Ŀ"]="L·",t["ŀ"]="l·",t["ʼn"]="ʼn",t["ſ"]="s",t["DŽ"]="DŽ",t["Dž"]="Dž",t["dž"]="dž",t["LJ"]="LJ",t["Lj"]="Lj",t["lj"]="lj",t["NJ"]="NJ",t["Nj"]="Nj",t["nj"]="nj",t["DZ"]="DZ",t["Dz"]="Dz",t["dz"]="dz",t["˘"]=" ̆",t["˙"]=" ̇",t["˚"]=" ̊",t["˛"]=" ̨",t["˜"]=" ̃",t["˝"]=" ̋",t["ͺ"]=" ͅ",t["΄"]=" ́",t["ϐ"]="β",t["ϑ"]="θ",t["ϒ"]="Υ",t["ϕ"]="φ",t["ϖ"]="π",t["ϰ"]="κ",t["ϱ"]="ρ",t["ϲ"]="ς",t["ϴ"]="Θ",t["ϵ"]="ε",t["Ϲ"]="Σ",t["և"]="եւ",t["ٵ"]="اٴ",t["ٶ"]="وٴ",t["ٷ"]="ۇٴ",t["ٸ"]="يٴ",t["ำ"]="ํา",t["ຳ"]="ໍາ",t["ໜ"]="ຫນ",t["ໝ"]="ຫມ",t["ཷ"]="ྲཱྀ",t["ཹ"]="ླཱྀ",t["ẚ"]="aʾ",t["᾽"]=" ̓",t["᾿"]=" ̓",t["῀"]=" ͂",t["῾"]=" ̔",t[" "]=" ",t[" "]=" ",t[" "]=" ",t[" "]=" ",t[" "]=" ",t[" "]=" ",t[" "]=" ",t[" "]=" ",t["‗"]=" ̳",t["․"]=".",t["‥"]="..",t["…"]="...",t["″"]="′′",t["‴"]="′′′",t["‶"]="‵‵",t["‷"]="‵‵‵",t["‼"]="!!",t["‾"]=" ̅",t["⁇"]="??",t["⁈"]="?!",t["⁉"]="!?",t["⁗"]="′′′′",t[" "]=" ",t["₨"]="Rs",t["℀"]="a/c",t["℁"]="a/s",t["℃"]="°C",t["℅"]="c/o",t["℆"]="c/u",t["ℇ"]="Ɛ",t["℉"]="°F",t["№"]="No",t["℡"]="TEL",t["ℵ"]="א",t["ℶ"]="ב",t["ℷ"]="ג",t["ℸ"]="ד",t["℻"]="FAX",t["Ⅰ"]="I",t["Ⅱ"]="II",t["Ⅲ"]="III",t["Ⅳ"]="IV",t["Ⅴ"]="V",t["Ⅵ"]="VI",t["Ⅶ"]="VII",t["Ⅷ"]="VIII",t["Ⅸ"]="IX",t["Ⅹ"]="X",t["Ⅺ"]="XI",t["Ⅻ"]="XII",t["Ⅼ"]="L",t["Ⅽ"]="C",t["Ⅾ"]="D",t["Ⅿ"]="M",t["ⅰ"]="i",t["ⅱ"]="ii",t["ⅲ"]="iii",t["ⅳ"]="iv",t["ⅴ"]="v",t["ⅵ"]="vi",t["ⅶ"]="vii",t["ⅷ"]="viii",t["ⅸ"]="ix",t["ⅹ"]="x",t["ⅺ"]="xi",t["ⅻ"]="xii",t["ⅼ"]="l",t["ⅽ"]="c",t["ⅾ"]="d",t["ⅿ"]="m",t["∬"]="∫∫",t["∭"]="∫∫∫",t["∯"]="∮∮",t["∰"]="∮∮∮",t["⑴"]="(1)",t["⑵"]="(2)",t["⑶"]="(3)",t["⑷"]="(4)",t["⑸"]="(5)",t["⑹"]="(6)",t["⑺"]="(7)",t["⑻"]="(8)",t["⑼"]="(9)",t["⑽"]="(10)",t["⑾"]="(11)",t["⑿"]="(12)",t["⒀"]="(13)",t["⒁"]="(14)",t["⒂"]="(15)",t["⒃"]="(16)",t["⒄"]="(17)",t["⒅"]="(18)",t["⒆"]="(19)",t["⒇"]="(20)",t["⒈"]="1.",t["⒉"]="2.",t["⒊"]="3.",t["⒋"]="4.",t["⒌"]="5.",t["⒍"]="6.",t["⒎"]="7.",t["⒏"]="8.",t["⒐"]="9.",t["⒑"]="10.",t["⒒"]="11.",t["⒓"]="12.",t["⒔"]="13.",t["⒕"]="14.",t["⒖"]="15.",t["⒗"]="16.",t["⒘"]="17.",t["⒙"]="18.",t["⒚"]="19.",t["⒛"]="20.",t["⒜"]="(a)",t["⒝"]="(b)",t["⒞"]="(c)",t["⒟"]="(d)",t["⒠"]="(e)",t["⒡"]="(f)",t["⒢"]="(g)",t["⒣"]="(h)",t["⒤"]="(i)",t["⒥"]="(j)",t["⒦"]="(k)",t["⒧"]="(l)",t["⒨"]="(m)",t["⒩"]="(n)",t["⒪"]="(o)",t["⒫"]="(p)",t["⒬"]="(q)",t["⒭"]="(r)",t["⒮"]="(s)",t["⒯"]="(t)",t["⒰"]="(u)",t["⒱"]="(v)",t["⒲"]="(w)",t["⒳"]="(x)",t["⒴"]="(y)",t["⒵"]="(z)",t["⨌"]="∫∫∫∫",t["⩴"]="::=",t["⩵"]="==",t["⩶"]="===",t["⺟"]="母",t["⻳"]="龟",t["⼀"]="一",t["⼁"]="丨",t["⼂"]="丶",t["⼃"]="丿",t["⼄"]="乙",t["⼅"]="亅",t["⼆"]="二",t["⼇"]="亠",t["⼈"]="人",t["⼉"]="儿",t["⼊"]="入",t["⼋"]="八",t["⼌"]="冂",t["⼍"]="冖",t["⼎"]="冫",t["⼏"]="几",t["⼐"]="凵",t["⼑"]="刀",t["⼒"]="力",t["⼓"]="勹",t["⼔"]="匕",t["⼕"]="匚",t["⼖"]="匸",t["⼗"]="十",t["⼘"]="卜",t["⼙"]="卩",t["⼚"]="厂",t["⼛"]="厶",t["⼜"]="又",t["⼝"]="口",t["⼞"]="囗",t["⼟"]="土",t["⼠"]="士",t["⼡"]="夂",t["⼢"]="夊",t["⼣"]="夕",t["⼤"]="大",t["⼥"]="女",t["⼦"]="子",t["⼧"]="宀",t["⼨"]="寸",t["⼩"]="小",t["⼪"]="尢",t["⼫"]="尸",t["⼬"]="屮",t["⼭"]="山",t["⼮"]="巛",t["⼯"]="工",t["⼰"]="己",t["⼱"]="巾",t["⼲"]="干",t["⼳"]="幺",t["⼴"]="广",t["⼵"]="廴",t["⼶"]="廾",t["⼷"]="弋",t["⼸"]="弓",t["⼹"]="彐",t["⼺"]="彡",t["⼻"]="彳",t["⼼"]="心",t["⼽"]="戈",t["⼾"]="戶",t["⼿"]="手",t["⽀"]="支",t["⽁"]="攴",t["⽂"]="文",t["⽃"]="斗",t["⽄"]="斤",t["⽅"]="方",t["⽆"]="无",t["⽇"]="日",t["⽈"]="曰",t["⽉"]="月",t["⽊"]="木",t["⽋"]="欠",t["⽌"]="止",t["⽍"]="歹",t["⽎"]="殳",t["⽏"]="毋",t["⽐"]="比",t["⽑"]="毛",t["⽒"]="氏",t["⽓"]="气",t["⽔"]="水",t["⽕"]="火",t["⽖"]="爪",t["⽗"]="父",t["⽘"]="爻",t["⽙"]="爿",t["⽚"]="片",t["⽛"]="牙",t["⽜"]="牛",t["⽝"]="犬",t["⽞"]="玄",t["⽟"]="玉",t["⽠"]="瓜",t["⽡"]="瓦",t["⽢"]="甘",t["⽣"]="生",t["⽤"]="用",t["⽥"]="田",t["⽦"]="疋",t["⽧"]="疒",t["⽨"]="癶",t["⽩"]="白",t["⽪"]="皮",t["⽫"]="皿",t["⽬"]="目",t["⽭"]="矛",t["⽮"]="矢",t["⽯"]="石",t["⽰"]="示",t["⽱"]="禸",t["⽲"]="禾",t["⽳"]="穴",t["⽴"]="立",t["⽵"]="竹",t["⽶"]="米",t["⽷"]="糸",t["⽸"]="缶",t["⽹"]="网",t["⽺"]="羊",t["⽻"]="羽",t["⽼"]="老",t["⽽"]="而",t["⽾"]="耒",t["⽿"]="耳",t["⾀"]="聿",t["⾁"]="肉",t["⾂"]="臣",t["⾃"]="自",t["⾄"]="至",t["⾅"]="臼",t["⾆"]="舌",t["⾇"]="舛",t["⾈"]="舟",t["⾉"]="艮",t["⾊"]="色",t["⾋"]="艸",t["⾌"]="虍",t["⾍"]="虫",t["⾎"]="血",t["⾏"]="行",t["⾐"]="衣",t["⾑"]="襾",t["⾒"]="見",t["⾓"]="角",t["⾔"]="言",t["⾕"]="谷",t["⾖"]="豆",t["⾗"]="豕",t["⾘"]="豸",t["⾙"]="貝",t["⾚"]="赤",t["⾛"]="走",t["⾜"]="足",t["⾝"]="身",t["⾞"]="車",t["⾟"]="辛",t["⾠"]="辰",t["⾡"]="辵",t["⾢"]="邑",t["⾣"]="酉",t["⾤"]="釆",t["⾥"]="里",t["⾦"]="金",t["⾧"]="長",t["⾨"]="門",t["⾩"]="阜",t["⾪"]="隶",t["⾫"]="隹",t["⾬"]="雨",t["⾭"]="靑",t["⾮"]="非",t["⾯"]="面",t["⾰"]="革",t["⾱"]="韋",t["⾲"]="韭",t["⾳"]="音",t["⾴"]="頁",t["⾵"]="風",t["⾶"]="飛",t["⾷"]="食",t["⾸"]="首",t["⾹"]="香",t["⾺"]="馬",t["⾻"]="骨",t["⾼"]="高",t["⾽"]="髟",t["⾾"]="鬥",t["⾿"]="鬯",t["⿀"]="鬲",t["⿁"]="鬼",t["⿂"]="魚",t["⿃"]="鳥",t["⿄"]="鹵",t["⿅"]="鹿",t["⿆"]="麥",t["⿇"]="麻",t["⿈"]="黃",t["⿉"]="黍",t["⿊"]="黑",t["⿋"]="黹",t["⿌"]="黽",t["⿍"]="鼎",t["⿎"]="鼓",t["⿏"]="鼠",t["⿐"]="鼻",t["⿑"]="齊",t["⿒"]="齒",t["⿓"]="龍",t["⿔"]="龜",t["⿕"]="龠",t["〶"]="〒",t["〸"]="十",t["〹"]="卄",t["〺"]="卅",t["゛"]=" ゙",t["゜"]=" ゚",t["ㄱ"]="ᄀ",t["ㄲ"]="ᄁ",t["ㄳ"]="ᆪ",t["ㄴ"]="ᄂ",t["ㄵ"]="ᆬ",t["ㄶ"]="ᆭ",t["ㄷ"]="ᄃ",t["ㄸ"]="ᄄ",t["ㄹ"]="ᄅ",t["ㄺ"]="ᆰ",t["ㄻ"]="ᆱ",t["ㄼ"]="ᆲ",t["ㄽ"]="ᆳ",t["ㄾ"]="ᆴ",t["ㄿ"]="ᆵ",t["ㅀ"]="ᄚ",t["ㅁ"]="ᄆ",t["ㅂ"]="ᄇ",t["ㅃ"]="ᄈ",t["ㅄ"]="ᄡ",t["ㅅ"]="ᄉ",t["ㅆ"]="ᄊ",t["ㅇ"]="ᄋ",t["ㅈ"]="ᄌ",t["ㅉ"]="ᄍ",t["ㅊ"]="ᄎ",t["ㅋ"]="ᄏ",t["ㅌ"]="ᄐ",t["ㅍ"]="ᄑ",t["ㅎ"]="ᄒ",t["ㅏ"]="ᅡ",t["ㅐ"]="ᅢ",t["ㅑ"]="ᅣ",t["ㅒ"]="ᅤ",t["ㅓ"]="ᅥ",t["ㅔ"]="ᅦ",t["ㅕ"]="ᅧ",t["ㅖ"]="ᅨ",t["ㅗ"]="ᅩ",t["ㅘ"]="ᅪ",t["ㅙ"]="ᅫ",t["ㅚ"]="ᅬ",t["ㅛ"]="ᅭ",t["ㅜ"]="ᅮ",t["ㅝ"]="ᅯ",t["ㅞ"]="ᅰ",t["ㅟ"]="ᅱ",t["ㅠ"]="ᅲ",t["ㅡ"]="ᅳ",t["ㅢ"]="ᅴ",t["ㅣ"]="ᅵ",t["ㅤ"]="ᅠ",t["ㅥ"]="ᄔ",t["ㅦ"]="ᄕ",t["ㅧ"]="ᇇ",t["ㅨ"]="ᇈ",t["ㅩ"]="ᇌ",t["ㅪ"]="ᇎ",t["ㅫ"]="ᇓ",t["ㅬ"]="ᇗ",t["ㅭ"]="ᇙ",t["ㅮ"]="ᄜ",t["ㅯ"]="ᇝ",t["ㅰ"]="ᇟ",t["ㅱ"]="ᄝ",t["ㅲ"]="ᄞ",t["ㅳ"]="ᄠ",t["ㅴ"]="ᄢ",t["ㅵ"]="ᄣ",t["ㅶ"]="ᄧ",t["ㅷ"]="ᄩ",t["ㅸ"]="ᄫ",t["ㅹ"]="ᄬ",t["ㅺ"]="ᄭ",t["ㅻ"]="ᄮ",t["ㅼ"]="ᄯ",t["ㅽ"]="ᄲ",t["ㅾ"]="ᄶ",t["ㅿ"]="ᅀ",t["ㆀ"]="ᅇ",t["ㆁ"]="ᅌ",t["ㆂ"]="ᇱ",t["ㆃ"]="ᇲ",t["ㆄ"]="ᅗ",t["ㆅ"]="ᅘ",t["ㆆ"]="ᅙ",t["ㆇ"]="ᆄ",t["ㆈ"]="ᆅ",t["ㆉ"]="ᆈ",t["ㆊ"]="ᆑ",t["ㆋ"]="ᆒ",t["ㆌ"]="ᆔ",t["ㆍ"]="ᆞ",t["ㆎ"]="ᆡ",t["㈀"]="(ᄀ)",t["㈁"]="(ᄂ)",t["㈂"]="(ᄃ)",t["㈃"]="(ᄅ)",t["㈄"]="(ᄆ)",t["㈅"]="(ᄇ)",t["㈆"]="(ᄉ)",t["㈇"]="(ᄋ)",t["㈈"]="(ᄌ)",t["㈉"]="(ᄎ)",t["㈊"]="(ᄏ)",t["㈋"]="(ᄐ)",t["㈌"]="(ᄑ)",t["㈍"]="(ᄒ)",t["㈎"]="(가)",t["㈏"]="(나)",t["㈐"]="(다)",t["㈑"]="(라)",t["㈒"]="(마)",t["㈓"]="(바)",t["㈔"]="(사)",t["㈕"]="(아)",t["㈖"]="(자)",t["㈗"]="(차)",t["㈘"]="(카)",t["㈙"]="(타)",t["㈚"]="(파)",t["㈛"]="(하)",t["㈜"]="(주)",t["㈝"]="(오전)",t["㈞"]="(오후)",t["㈠"]="(一)",t["㈡"]="(二)",t["㈢"]="(三)",t["㈣"]="(四)",t["㈤"]="(五)",t["㈥"]="(六)",t["㈦"]="(七)",t["㈧"]="(八)",t["㈨"]="(九)",t["㈩"]="(十)",t["㈪"]="(月)",t["㈫"]="(火)",t["㈬"]="(水)",t["㈭"]="(木)",t["㈮"]="(金)",t["㈯"]="(土)",t["㈰"]="(日)",t["㈱"]="(株)",t["㈲"]="(有)",t["㈳"]="(社)",t["㈴"]="(名)",t["㈵"]="(特)",t["㈶"]="(財)",t["㈷"]="(祝)",t["㈸"]="(労)",t["㈹"]="(代)",t["㈺"]="(呼)",t["㈻"]="(学)",t["㈼"]="(監)",t["㈽"]="(企)",t["㈾"]="(資)",t["㈿"]="(協)",t["㉀"]="(祭)",t["㉁"]="(休)",t["㉂"]="(自)",t["㉃"]="(至)",t["㋀"]="1月",t["㋁"]="2月",t["㋂"]="3月",t["㋃"]="4月",t["㋄"]="5月",t["㋅"]="6月",t["㋆"]="7月",t["㋇"]="8月",t["㋈"]="9月",t["㋉"]="10月",t["㋊"]="11月",t["㋋"]="12月",t["㍘"]="0点",t["㍙"]="1点",t["㍚"]="2点",t["㍛"]="3点",t["㍜"]="4点",t["㍝"]="5点",t["㍞"]="6点",t["㍟"]="7点",t["㍠"]="8点",t["㍡"]="9点",t["㍢"]="10点",t["㍣"]="11点",t["㍤"]="12点",t["㍥"]="13点",t["㍦"]="14点",t["㍧"]="15点",t["㍨"]="16点",t["㍩"]="17点",t["㍪"]="18点",t["㍫"]="19点",t["㍬"]="20点",t["㍭"]="21点",t["㍮"]="22点",t["㍯"]="23点",t["㍰"]="24点",t["㏠"]="1日",t["㏡"]="2日",t["㏢"]="3日",t["㏣"]="4日",t["㏤"]="5日",t["㏥"]="6日",t["㏦"]="7日",t["㏧"]="8日",t["㏨"]="9日",t["㏩"]="10日",t["㏪"]="11日",t["㏫"]="12日",t["㏬"]="13日",t["㏭"]="14日",t["㏮"]="15日",t["㏯"]="16日",t["㏰"]="17日",t["㏱"]="18日",t["㏲"]="19日",t["㏳"]="20日",t["㏴"]="21日",t["㏵"]="22日",t["㏶"]="23日",t["㏷"]="24日",t["㏸"]="25日",t["㏹"]="26日",t["㏺"]="27日",t["㏻"]="28日",t["㏼"]="29日",t["㏽"]="30日",t["㏾"]="31日",t["ff"]="ff",t["fi"]="fi",t["fl"]="fl",t["ffi"]="ffi",t["ffl"]="ffl",t["ſt"]="ſt",t["st"]="st",t["ﬓ"]="մն",t["ﬔ"]="մե",t["ﬕ"]="մի",t["ﬖ"]="վն",t["ﬗ"]="մխ",t["ﭏ"]="אל",t["ﭐ"]="ٱ",t["ﭑ"]="ٱ",t["ﭒ"]="ٻ",t["ﭓ"]="ٻ",t["ﭔ"]="ٻ",t["ﭕ"]="ٻ",t["ﭖ"]="پ",t["ﭗ"]="پ",t["ﭘ"]="پ",t["ﭙ"]="پ",t["ﭚ"]="ڀ",t["ﭛ"]="ڀ",t["ﭜ"]="ڀ",t["ﭝ"]="ڀ",t["ﭞ"]="ٺ",t["ﭟ"]="ٺ",t["ﭠ"]="ٺ",t["ﭡ"]="ٺ",t["ﭢ"]="ٿ",t["ﭣ"]="ٿ",t["ﭤ"]="ٿ",t["ﭥ"]="ٿ",t["ﭦ"]="ٹ",t["ﭧ"]="ٹ",t["ﭨ"]="ٹ",t["ﭩ"]="ٹ",t["ﭪ"]="ڤ",t["ﭫ"]="ڤ",t["ﭬ"]="ڤ",t["ﭭ"]="ڤ",t["ﭮ"]="ڦ",t["ﭯ"]="ڦ",t["ﭰ"]="ڦ",t["ﭱ"]="ڦ",t["ﭲ"]="ڄ",t["ﭳ"]="ڄ",t["ﭴ"]="ڄ",t["ﭵ"]="ڄ",t["ﭶ"]="ڃ",t["ﭷ"]="ڃ",t["ﭸ"]="ڃ",t["ﭹ"]="ڃ",t["ﭺ"]="چ",t["ﭻ"]="چ",t["ﭼ"]="چ",t["ﭽ"]="چ",t["ﭾ"]="ڇ",t["ﭿ"]="ڇ",t["ﮀ"]="ڇ",t["ﮁ"]="ڇ",t["ﮂ"]="ڍ",t["ﮃ"]="ڍ",t["ﮄ"]="ڌ",t["ﮅ"]="ڌ",t["ﮆ"]="ڎ",t["ﮇ"]="ڎ",t["ﮈ"]="ڈ",t["ﮉ"]="ڈ",t["ﮊ"]="ژ",t["ﮋ"]="ژ",t["ﮌ"]="ڑ",t["ﮍ"]="ڑ",t["ﮎ"]="ک",t["ﮏ"]="ک",t["ﮐ"]="ک",t["ﮑ"]="ک",t["ﮒ"]="گ",t["ﮓ"]="گ",t["ﮔ"]="گ",t["ﮕ"]="گ",t["ﮖ"]="ڳ",t["ﮗ"]="ڳ",t["ﮘ"]="ڳ",t["ﮙ"]="ڳ",t["ﮚ"]="ڱ",t["ﮛ"]="ڱ",t["ﮜ"]="ڱ",t["ﮝ"]="ڱ",t["ﮞ"]="ں",t["ﮟ"]="ں",t["ﮠ"]="ڻ",t["ﮡ"]="ڻ",t["ﮢ"]="ڻ",t["ﮣ"]="ڻ",t["ﮤ"]="ۀ",t["ﮥ"]="ۀ",t["ﮦ"]="ہ",t["ﮧ"]="ہ",t["ﮨ"]="ہ",t["ﮩ"]="ہ",t["ﮪ"]="ھ",t["ﮫ"]="ھ",t["ﮬ"]="ھ",t["ﮭ"]="ھ",t["ﮮ"]="ے",t["ﮯ"]="ے",t["ﮰ"]="ۓ",t["ﮱ"]="ۓ",t["ﯓ"]="ڭ",t["ﯔ"]="ڭ",t["ﯕ"]="ڭ",t["ﯖ"]="ڭ",t["ﯗ"]="ۇ",t["ﯘ"]="ۇ",t["ﯙ"]="ۆ",t["ﯚ"]="ۆ",t["ﯛ"]="ۈ",t["ﯜ"]="ۈ",t["ﯝ"]="ٷ",t["ﯞ"]="ۋ",t["ﯟ"]="ۋ",t["ﯠ"]="ۅ",t["ﯡ"]="ۅ",t["ﯢ"]="ۉ",t["ﯣ"]="ۉ",t["ﯤ"]="ې",t["ﯥ"]="ې",t["ﯦ"]="ې",t["ﯧ"]="ې",t["ﯨ"]="ى",t["ﯩ"]="ى",t["ﯪ"]="ئا",t["ﯫ"]="ئا",t["ﯬ"]="ئە",t["ﯭ"]="ئە",t["ﯮ"]="ئو",t["ﯯ"]="ئو",t["ﯰ"]="ئۇ",t["ﯱ"]="ئۇ",t["ﯲ"]="ئۆ",t["ﯳ"]="ئۆ",t["ﯴ"]="ئۈ",t["ﯵ"]="ئۈ",t["ﯶ"]="ئې";t["ﯷ"]="ئې",t["ﯸ"]="ئې",t["ﯹ"]="ئى",t["ﯺ"]="ئى",t["ﯻ"]="ئى",t["ﯼ"]="ی",t["ﯽ"]="ی",t["ﯾ"]="ی",t["ﯿ"]="ی",t["ﰀ"]="ئج",t["ﰁ"]="ئح",t["ﰂ"]="ئم",t["ﰃ"]="ئى",t["ﰄ"]="ئي",t["ﰅ"]="بج",t["ﰆ"]="بح",t["ﰇ"]="بخ",t["ﰈ"]="بم",t["ﰉ"]="بى",t["ﰊ"]="بي",t["ﰋ"]="تج",t["ﰌ"]="تح",t["ﰍ"]="تخ",t["ﰎ"]="تم",t["ﰏ"]="تى",t["ﰐ"]="تي",t["ﰑ"]="ثج",t["ﰒ"]="ثم",t["ﰓ"]="ثى",t["ﰔ"]="ثي",t["ﰕ"]="جح",t["ﰖ"]="جم",t["ﰗ"]="حج",t["ﰘ"]="حم",t["ﰙ"]="خج",t["ﰚ"]="خح",t["ﰛ"]="خم",t["ﰜ"]="سج",t["ﰝ"]="سح",t["ﰞ"]="سخ",t["ﰟ"]="سم",t["ﰠ"]="صح",t["ﰡ"]="صم",t["ﰢ"]="ضج",t["ﰣ"]="ضح",t["ﰤ"]="ضخ",t["ﰥ"]="ضم",t["ﰦ"]="طح",t["ﰧ"]="طم",t["ﰨ"]="ظم",t["ﰩ"]="عج",t["ﰪ"]="عم",t["ﰫ"]="غج",t["ﰬ"]="غم",t["ﰭ"]="فج",t["ﰮ"]="فح",t["ﰯ"]="فخ",t["ﰰ"]="فم",t["ﰱ"]="فى",t["ﰲ"]="في",t["ﰳ"]="قح",t["ﰴ"]="قم",t["ﰵ"]="قى",t["ﰶ"]="قي",t["ﰷ"]="كا",t["ﰸ"]="كج",t["ﰹ"]="كح",t["ﰺ"]="كخ",t["ﰻ"]="كل",t["ﰼ"]="كم",t["ﰽ"]="كى",t["ﰾ"]="كي",t["ﰿ"]="لج",t["ﱀ"]="لح",t["ﱁ"]="لخ",t["ﱂ"]="لم",t["ﱃ"]="لى",t["ﱄ"]="لي",t["ﱅ"]="مج",t["ﱆ"]="مح",t["ﱇ"]="مخ",t["ﱈ"]="مم",t["ﱉ"]="مى",t["ﱊ"]="مي",t["ﱋ"]="نج",t["ﱌ"]="نح",t["ﱍ"]="نخ",t["ﱎ"]="نم",t["ﱏ"]="نى",t["ﱐ"]="ني",t["ﱑ"]="هج",t["ﱒ"]="هم",t["ﱓ"]="هى",t["ﱔ"]="هي",t["ﱕ"]="يج",t["ﱖ"]="يح",t["ﱗ"]="يخ",t["ﱘ"]="يم",t["ﱙ"]="يى",t["ﱚ"]="يي",t["ﱛ"]="ذٰ",t["ﱜ"]="رٰ",t["ﱝ"]="ىٰ",t["ﱞ"]=" ٌّ",t["ﱟ"]=" ٍّ",t["ﱠ"]=" َّ",t["ﱡ"]=" ُّ",t["ﱢ"]=" ِّ",t["ﱣ"]=" ّٰ",t["ﱤ"]="ئر",t["ﱥ"]="ئز",t["ﱦ"]="ئم",t["ﱧ"]="ئن",t["ﱨ"]="ئى",t["ﱩ"]="ئي",t["ﱪ"]="بر",t["ﱫ"]="بز",t["ﱬ"]="بم",t["ﱭ"]="بن",t["ﱮ"]="بى",t["ﱯ"]="بي",t["ﱰ"]="تر",t["ﱱ"]="تز",t["ﱲ"]="تم",t["ﱳ"]="تن",t["ﱴ"]="تى",t["ﱵ"]="تي",t["ﱶ"]="ثر",t["ﱷ"]="ثز",t["ﱸ"]="ثم",t["ﱹ"]="ثن",t["ﱺ"]="ثى",t["ﱻ"]="ثي",t["ﱼ"]="فى",t["ﱽ"]="في",t["ﱾ"]="قى",t["ﱿ"]="قي",t["ﲀ"]="كا",t["ﲁ"]="كل",t["ﲂ"]="كم",t["ﲃ"]="كى",t["ﲄ"]="كي",t["ﲅ"]="لم",t["ﲆ"]="لى",t["ﲇ"]="لي",t["ﲈ"]="ما",t["ﲉ"]="مم",t["ﲊ"]="نر",t["ﲋ"]="نز",t["ﲌ"]="نم",t["ﲍ"]="نن",t["ﲎ"]="نى",t["ﲏ"]="ني",t["ﲐ"]="ىٰ",t["ﲑ"]="ير",t["ﲒ"]="يز",t["ﲓ"]="يم",t["ﲔ"]="ين",t["ﲕ"]="يى",t["ﲖ"]="يي",t["ﲗ"]="ئج",t["ﲘ"]="ئح",t["ﲙ"]="ئخ",t["ﲚ"]="ئم",t["ﲛ"]="ئه",t["ﲜ"]="بج",t["ﲝ"]="بح",t["ﲞ"]="بخ",t["ﲟ"]="بم",t["ﲠ"]="به",t["ﲡ"]="تج",t["ﲢ"]="تح",t["ﲣ"]="تخ",t["ﲤ"]="تم",t["ﲥ"]="ته",t["ﲦ"]="ثم",t["ﲧ"]="جح",t["ﲨ"]="جم",t["ﲩ"]="حج",t["ﲪ"]="حم",t["ﲫ"]="خج",t["ﲬ"]="خم",t["ﲭ"]="سج",t["ﲮ"]="سح",t["ﲯ"]="سخ",t["ﲰ"]="سم",t["ﲱ"]="صح",t["ﲲ"]="صخ",t["ﲳ"]="صم",t["ﲴ"]="ضج",t["ﲵ"]="ضح",t["ﲶ"]="ضخ",t["ﲷ"]="ضم",t["ﲸ"]="طح",t["ﲹ"]="ظم",t["ﲺ"]="عج",t["ﲻ"]="عم",t["ﲼ"]="غج",t["ﲽ"]="غم",t["ﲾ"]="فج",t["ﲿ"]="فح",t["ﳀ"]="فخ",t["ﳁ"]="فم",t["ﳂ"]="قح",t["ﳃ"]="قم",t["ﳄ"]="كج",t["ﳅ"]="كح",t["ﳆ"]="كخ",t["ﳇ"]="كل",t["ﳈ"]="كم",t["ﳉ"]="لج",t["ﳊ"]="لح",t["ﳋ"]="لخ",t["ﳌ"]="لم",t["ﳍ"]="له",t["ﳎ"]="مج",t["ﳏ"]="مح",t["ﳐ"]="مخ",t["ﳑ"]="مم",t["ﳒ"]="نج",t["ﳓ"]="نح",t["ﳔ"]="نخ",t["ﳕ"]="نم",t["ﳖ"]="نه",t["ﳗ"]="هج",t["ﳘ"]="هم",t["ﳙ"]="هٰ",t["ﳚ"]="يج",t["ﳛ"]="يح",t["ﳜ"]="يخ",t["ﳝ"]="يم",t["ﳞ"]="يه",t["ﳟ"]="ئم",t["ﳠ"]="ئه",t["ﳡ"]="بم",t["ﳢ"]="به",t["ﳣ"]="تم",t["ﳤ"]="ته",t["ﳥ"]="ثم",t["ﳦ"]="ثه",t["ﳧ"]="سم",t["ﳨ"]="سه",t["ﳩ"]="شم",t["ﳪ"]="شه",t["ﳫ"]="كل",t["ﳬ"]="كم",t["ﳭ"]="لم",t["ﳮ"]="نم",t["ﳯ"]="نه",t["ﳰ"]="يم",t["ﳱ"]="يه",t["ﳲ"]="ـَّ",t["ﳳ"]="ـُّ",t["ﳴ"]="ـِّ",t["ﳵ"]="طى",t["ﳶ"]="طي",t["ﳷ"]="عى",t["ﳸ"]="عي",t["ﳹ"]="غى",t["ﳺ"]="غي",t["ﳻ"]="سى",t["ﳼ"]="سي",t["ﳽ"]="شى",t["ﳾ"]="شي",t["ﳿ"]="حى",t["ﴀ"]="حي",t["ﴁ"]="جى",t["ﴂ"]="جي",t["ﴃ"]="خى",t["ﴄ"]="خي",t["ﴅ"]="صى",t["ﴆ"]="صي",t["ﴇ"]="ضى",t["ﴈ"]="ضي",t["ﴉ"]="شج",t["ﴊ"]="شح",t["ﴋ"]="شخ",t["ﴌ"]="شم",t["ﴍ"]="شر",t["ﴎ"]="سر",t["ﴏ"]="صر",t["ﴐ"]="ضر",t["ﴑ"]="طى",t["ﴒ"]="طي",t["ﴓ"]="عى",t["ﴔ"]="عي",t["ﴕ"]="غى",t["ﴖ"]="غي",t["ﴗ"]="سى",t["ﴘ"]="سي",t["ﴙ"]="شى",t["ﴚ"]="شي",t["ﴛ"]="حى",t["ﴜ"]="حي",t["ﴝ"]="جى",t["ﴞ"]="جي",t["ﴟ"]="خى",t["ﴠ"]="خي",t["ﴡ"]="صى",t["ﴢ"]="صي",t["ﴣ"]="ضى",t["ﴤ"]="ضي",t["ﴥ"]="شج",t["ﴦ"]="شح",t["ﴧ"]="شخ",t["ﴨ"]="شم",t["ﴩ"]="شر",t["ﴪ"]="سر",t["ﴫ"]="صر",t["ﴬ"]="ضر",t["ﴭ"]="شج",t["ﴮ"]="شح",t["ﴯ"]="شخ",t["ﴰ"]="شم",t["ﴱ"]="سه",t["ﴲ"]="شه",t["ﴳ"]="طم",t["ﴴ"]="سج",t["ﴵ"]="سح",t["ﴶ"]="سخ",t["ﴷ"]="شج",t["ﴸ"]="شح",t["ﴹ"]="شخ",t["ﴺ"]="طم",t["ﴻ"]="ظم",t["ﴼ"]="اً",t["ﴽ"]="اً",t["ﵐ"]="تجم",t["ﵑ"]="تحج",t["ﵒ"]="تحج",t["ﵓ"]="تحم",t["ﵔ"]="تخم",t["ﵕ"]="تمج",t["ﵖ"]="تمح",t["ﵗ"]="تمخ",t["ﵘ"]="جمح",t["ﵙ"]="جمح",t["ﵚ"]="حمي",t["ﵛ"]="حمى",t["ﵜ"]="سحج",t["ﵝ"]="سجح",t["ﵞ"]="سجى",t["ﵟ"]="سمح",t["ﵠ"]="سمح",t["ﵡ"]="سمج",t["ﵢ"]="سمم",t["ﵣ"]="سمم",t["ﵤ"]="صحح",t["ﵥ"]="صحح",t["ﵦ"]="صمم",t["ﵧ"]="شحم",t["ﵨ"]="شحم",t["ﵩ"]="شجي",t["ﵪ"]="شمخ",t["ﵫ"]="شمخ",t["ﵬ"]="شمم",t["ﵭ"]="شمم",t["ﵮ"]="ضحى",t["ﵯ"]="ضخم",t["ﵰ"]="ضخم",t["ﵱ"]="طمح",t["ﵲ"]="طمح",t["ﵳ"]="طمم",t["ﵴ"]="طمي",t["ﵵ"]="عجم",t["ﵶ"]="عمم",t["ﵷ"]="عمم",t["ﵸ"]="عمى",t["ﵹ"]="غمم",t["ﵺ"]="غمي",t["ﵻ"]="غمى",t["ﵼ"]="فخم",t["ﵽ"]="فخم",t["ﵾ"]="قمح",t["ﵿ"]="قمم",t["ﶀ"]="لحم",t["ﶁ"]="لحي",t["ﶂ"]="لحى",t["ﶃ"]="لجج",t["ﶄ"]="لجج",t["ﶅ"]="لخم",t["ﶆ"]="لخم",t["ﶇ"]="لمح",t["ﶈ"]="لمح",t["ﶉ"]="محج",t["ﶊ"]="محم",t["ﶋ"]="محي",t["ﶌ"]="مجح",t["ﶍ"]="مجم",t["ﶎ"]="مخج",t["ﶏ"]="مخم",t["ﶒ"]="مجخ",t["ﶓ"]="همج",t["ﶔ"]="همم",t["ﶕ"]="نحم",t["ﶖ"]="نحى",t["ﶗ"]="نجم",t["ﶘ"]="نجم",t["ﶙ"]="نجى",t["ﶚ"]="نمي",t["ﶛ"]="نمى",t["ﶜ"]="يمم",t["ﶝ"]="يمم",t["ﶞ"]="بخي",t["ﶟ"]="تجي",t["ﶠ"]="تجى",t["ﶡ"]="تخي",t["ﶢ"]="تخى",t["ﶣ"]="تمي",t["ﶤ"]="تمى",t["ﶥ"]="جمي",t["ﶦ"]="جحى",t["ﶧ"]="جمى",t["ﶨ"]="سخى",t["ﶩ"]="صحي",t["ﶪ"]="شحي",t["ﶫ"]="ضحي",t["ﶬ"]="لجي",t["ﶭ"]="لمي",t["ﶮ"]="يحي",t["ﶯ"]="يجي",t["ﶰ"]="يمي",t["ﶱ"]="ممي",t["ﶲ"]="قمي",t["ﶳ"]="نحي",t["ﶴ"]="قمح",t["ﶵ"]="لحم",t["ﶶ"]="عمي",t["ﶷ"]="كمي",t["ﶸ"]="نجح",t["ﶹ"]="مخي",t["ﶺ"]="لجم",t["ﶻ"]="كمم",t["ﶼ"]="لجم",t["ﶽ"]="نجح",t["ﶾ"]="جحي",t["ﶿ"]="حجي",t["ﷀ"]="مجي",t["ﷁ"]="فمي",t["ﷂ"]="بحي",t["ﷃ"]="كمم",t["ﷄ"]="عجم",t["ﷅ"]="صمم",t["ﷆ"]="سخي",t["ﷇ"]="نجي",t["﹉"]="‾",t["﹊"]="‾",t["﹋"]="‾",t["﹌"]="‾",t["﹍"]="_",t["﹎"]="_",t["﹏"]="_",t["ﺀ"]="ء",t["ﺁ"]="آ",t["ﺂ"]="آ",t["ﺃ"]="أ",t["ﺄ"]="أ",t["ﺅ"]="ؤ",t["ﺆ"]="ؤ",t["ﺇ"]="إ",t["ﺈ"]="إ",t["ﺉ"]="ئ",t["ﺊ"]="ئ",t["ﺋ"]="ئ",t["ﺌ"]="ئ",t["ﺍ"]="ا",t["ﺎ"]="ا",t["ﺏ"]="ب",t["ﺐ"]="ب",t["ﺑ"]="ب",t["ﺒ"]="ب",t["ﺓ"]="ة",t["ﺔ"]="ة",t["ﺕ"]="ت",t["ﺖ"]="ت",t["ﺗ"]="ت",t["ﺘ"]="ت",t["ﺙ"]="ث",t["ﺚ"]="ث",t["ﺛ"]="ث",t["ﺜ"]="ث",t["ﺝ"]="ج",t["ﺞ"]="ج",t["ﺟ"]="ج",t["ﺠ"]="ج",t["ﺡ"]="ح",t["ﺢ"]="ح",t["ﺣ"]="ح",t["ﺤ"]="ح",t["ﺥ"]="خ",t["ﺦ"]="خ",t["ﺧ"]="خ",t["ﺨ"]="خ",t["ﺩ"]="د",t["ﺪ"]="د",t["ﺫ"]="ذ",t["ﺬ"]="ذ",t["ﺭ"]="ر",t["ﺮ"]="ر",t["ﺯ"]="ز",t["ﺰ"]="ز",t["ﺱ"]="س",t["ﺲ"]="س",t["ﺳ"]="س",t["ﺴ"]="س",t["ﺵ"]="ش",t["ﺶ"]="ش",t["ﺷ"]="ش",t["ﺸ"]="ش",t["ﺹ"]="ص",t["ﺺ"]="ص",t["ﺻ"]="ص",t["ﺼ"]="ص",t["ﺽ"]="ض",t["ﺾ"]="ض",t["ﺿ"]="ض",t["ﻀ"]="ض",t["ﻁ"]="ط",t["ﻂ"]="ط",t["ﻃ"]="ط",t["ﻄ"]="ط",t["ﻅ"]="ظ",t["ﻆ"]="ظ",t["ﻇ"]="ظ",t["ﻈ"]="ظ",t["ﻉ"]="ع",t["ﻊ"]="ع",t["ﻋ"]="ع",t["ﻌ"]="ع",t["ﻍ"]="غ",t["ﻎ"]="غ",t["ﻏ"]="غ",t["ﻐ"]="غ",t["ﻑ"]="ف",t["ﻒ"]="ف",t["ﻓ"]="ف",t["ﻔ"]="ف",t["ﻕ"]="ق",t["ﻖ"]="ق",t["ﻗ"]="ق",t["ﻘ"]="ق",t["ﻙ"]="ك",t["ﻚ"]="ك",t["ﻛ"]="ك",t["ﻜ"]="ك",t["ﻝ"]="ل",t["ﻞ"]="ل",t["ﻟ"]="ل",t["ﻠ"]="ل",t["ﻡ"]="م",t["ﻢ"]="م",t["ﻣ"]="م",t["ﻤ"]="م",t["ﻥ"]="ن",t["ﻦ"]="ن",t["ﻧ"]="ن",t["ﻨ"]="ن",t["ﻩ"]="ه",t["ﻪ"]="ه",t["ﻫ"]="ه",t["ﻬ"]="ه",t["ﻭ"]="و",t["ﻮ"]="و",t["ﻯ"]="ى",t["ﻰ"]="ى",t["ﻱ"]="ي",t["ﻲ"]="ي",t["ﻳ"]="ي",t["ﻴ"]="ي",t["ﻵ"]="لآ",t["ﻶ"]="لآ",t["ﻷ"]="لأ",t["ﻸ"]="لأ",t["ﻹ"]="لإ",t["ﻺ"]="لإ",t["ﻻ"]="لا",t["ﻼ"]="لا"}));exports.mapSpecialUnicodeValues=function mapSpecialUnicodeValues(code){return code>=65520&&code<=65535?0:code>=62976&&code<=63743?getSpecialPUASymbols()[code]||code:173===code?45:code},exports.reverseIfRtl=function reverseIfRtl(chars){var charsLength=chars.length;if(charsLength<=1||!function isRTLRangeFor(value){var range=UnicodeRanges[13];return value>=range.begin&&value<range.end||value>=(range=UnicodeRanges[11]).begin&&value<range.end}(chars.charCodeAt(0)))return chars;for(var s="",ii=charsLength-1;ii>=0;ii--)s+=chars[ii];return s},exports.getUnicodeRangeFor=function getUnicodeRangeFor(value){for(var i=0,ii=UnicodeRanges.length;i<ii;i++){var range=UnicodeRanges[i];if(value>=range.begin&&value<range.end)return i}return-1},exports.getNormalizedUnicodes=getNormalizedUnicodes,exports.getUnicodeForGlyph=function getUnicodeForGlyph(name,glyphsUnicodeMap){var unicode=glyphsUnicodeMap[name];if(void 0!==unicode)return unicode;if(!name)return-1;if("u"===name[0]){var hexStr,nameLen=name.length;if(7===nameLen&&"n"===name[1]&&"i"===name[2])hexStr=name.substr(3);else{if(!(nameLen>=5&&nameLen<=7))return-1;hexStr=name.substr(1)}if(hexStr===hexStr.toUpperCase()&&(unicode=parseInt(hexStr,16))>=0)return unicode}return-1}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PostScriptCompiler=exports.PostScriptEvaluator=exports.PDFFunctionFactory=exports.isPDFFunction=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_ps_parser=__w_pdfjs_require__(142);var IsEvalSupportedCached={get value(){return(0,_util.shadow)(this,"value",(0,_util.isEvalSupported)())}},PDFFunctionFactory=function(){function PDFFunctionFactory(_ref){var xref=_ref.xref,_ref$isEvalSupported=_ref.isEvalSupported,isEvalSupported=void 0===_ref$isEvalSupported||_ref$isEvalSupported;!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PDFFunctionFactory),this.xref=xref,this.isEvalSupported=!1!==isEvalSupported}return _createClass(PDFFunctionFactory,[{key:"create",value:function create(fn){return PDFFunction.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:fn})}},{key:"createFromArray",value:function createFromArray(fnObj){return PDFFunction.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:fnObj})}}]),PDFFunctionFactory}();function toNumberArray(arr){if(!Array.isArray(arr))return null;for(var length=arr.length,i=0;i<length;i++)if("number"!=typeof arr[i]){for(var result=new Array(length),_i=0;_i<length;_i++)result[_i]=+arr[_i];return result}return arr}var PDFFunction=function PDFFunctionClosure(){return{getSampleArray:function getSampleArray(size,outputSize,bps,stream){var i,ii,length=1;for(i=0,ii=size.length;i<ii;i++)length*=size[i];length*=outputSize;var array=new Array(length),codeSize=0,codeBuf=0,sampleMul=1/(Math.pow(2,bps)-1),strBytes=stream.getBytes((length*bps+7)/8),strIdx=0;for(i=0;i<length;i++){for(;codeSize<bps;)codeBuf<<=8,codeBuf|=strBytes[strIdx++],codeSize+=8;codeSize-=bps,array[i]=(codeBuf>>codeSize)*sampleMul,codeBuf&=(1<<codeSize)-1}return array},getIR:function getIR(_ref2){var xref=_ref2.xref,isEvalSupported=_ref2.isEvalSupported,fn=_ref2.fn,dict=fn.dict;dict||(dict=fn);var typeFn=[this.constructSampled,null,this.constructInterpolated,this.constructStiched,this.constructPostScript][dict.get("FunctionType")];if(!typeFn)throw new _util.FormatError("Unknown type of function");return typeFn.call(this,{xref:xref,isEvalSupported:isEvalSupported,fn:fn,dict:dict})},fromIR:function fromIR(_ref3){var xref=_ref3.xref,isEvalSupported=_ref3.isEvalSupported,IR=_ref3.IR;switch(IR[0]){case 0:return this.constructSampledFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:IR});case 2:return this.constructInterpolatedFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:IR});case 3:return this.constructStichedFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:IR});default:return this.constructPostScriptFromIR({xref:xref,isEvalSupported:isEvalSupported,IR:IR})}},parse:function parse(_ref4){var xref=_ref4.xref,isEvalSupported=_ref4.isEvalSupported,fn=_ref4.fn,IR=this.getIR({xref:xref,isEvalSupported:isEvalSupported,fn:fn});return this.fromIR({xref:xref,isEvalSupported:isEvalSupported,IR:IR})},parseArray:function parseArray(_ref5){var xref=_ref5.xref,isEvalSupported=_ref5.isEvalSupported,fnObj=_ref5.fnObj;if(!Array.isArray(fnObj))return this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:fnObj});for(var fnArray=[],j=0,jj=fnObj.length;j<jj;j++)fnArray.push(this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:xref.fetchIfRef(fnObj[j])}));return function(src,srcOffset,dest,destOffset){for(var i=0,ii=fnArray.length;i<ii;i++)fnArray[i](src,srcOffset,dest,destOffset+i)}},constructSampled:function constructSampled(_ref6){_ref6.xref,_ref6.isEvalSupported;var fn=_ref6.fn,dict=_ref6.dict;function toMultiArray(arr){for(var inputLength=arr.length,out=[],index=0,i=0;i<inputLength;i+=2)out[index]=[arr[i],arr[i+1]],++index;return out}var domain=toNumberArray(dict.getArray("Domain")),range=toNumberArray(dict.getArray("Range"));if(!domain||!range)throw new _util.FormatError("No domain or range");var inputSize=domain.length/2,outputSize=range.length/2;domain=toMultiArray(domain),range=toMultiArray(range);var size=toNumberArray(dict.get("Size")),bps=dict.get("BitsPerSample"),order=dict.get("Order")||1;1!==order&&(0,_util.info)("No support for cubic spline interpolation: "+order);var encode=toNumberArray(dict.getArray("Encode"));if(encode)encode=toMultiArray(encode);else{encode=[];for(var i=0;i<inputSize;++i)encode.push([0,size[i]-1])}var decode=toNumberArray(dict.getArray("Decode"));return[0,inputSize,domain,encode,decode=decode?toMultiArray(decode):range,this.getSampleArray(size,outputSize,bps,fn),size,outputSize,Math.pow(2,bps)-1,range]},constructSampledFromIR:function constructSampledFromIR(_ref7){_ref7.xref,_ref7.isEvalSupported;var IR=_ref7.IR;function interpolate(x,xmin,xmax,ymin,ymax){return ymin+(ymax-ymin)/(xmax-xmin)*(x-xmin)}return function constructSampledFromIRResult(src,srcOffset,dest,destOffset){var i,j,m=IR[1],domain=IR[2],encode=IR[3],decode=IR[4],samples=IR[5],size=IR[6],n=IR[7],range=IR[9],cubeVertices=1<<m,cubeN=new Float64Array(cubeVertices),cubeVertex=new Uint32Array(cubeVertices);for(j=0;j<cubeVertices;j++)cubeN[j]=1;var k=n,pos=1;for(i=0;i<m;++i){var domain_2i=domain[i][0],domain_2i_1=domain[i][1],e=interpolate(Math.min(Math.max(src[srcOffset+i],domain_2i),domain_2i_1),domain_2i,domain_2i_1,encode[i][0],encode[i][1]),size_i=size[i],e0=(e=Math.min(Math.max(e,0),size_i-1))<size_i-1?Math.floor(e):e-1,n0=e0+1-e,n1=e-e0,offset0=e0*k,offset1=offset0+k;for(j=0;j<cubeVertices;j++)j&pos?(cubeN[j]*=n1,cubeVertex[j]+=offset1):(cubeN[j]*=n0,cubeVertex[j]+=offset0);k*=size_i,pos<<=1}for(j=0;j<n;++j){var rj=0;for(i=0;i<cubeVertices;i++)rj+=samples[cubeVertex[i]+j]*cubeN[i];rj=interpolate(rj,0,1,decode[j][0],decode[j][1]),dest[destOffset+j]=Math.min(Math.max(rj,range[j][0]),range[j][1])}}},constructInterpolated:function constructInterpolated(_ref8){_ref8.xref,_ref8.isEvalSupported,_ref8.fn;for(var dict=_ref8.dict,c0=toNumberArray(dict.getArray("C0"))||[0],c1=toNumberArray(dict.getArray("C1"))||[1],n=dict.get("N"),length=c0.length,diff=[],i=0;i<length;++i)diff.push(c1[i]-c0[i]);return[2,c0,diff,n]},constructInterpolatedFromIR:function constructInterpolatedFromIR(_ref9){_ref9.xref,_ref9.isEvalSupported;var IR=_ref9.IR,c0=IR[1],diff=IR[2],n=IR[3],length=diff.length;return function constructInterpolatedFromIRResult(src,srcOffset,dest,destOffset){for(var x=1===n?src[srcOffset]:Math.pow(src[srcOffset],n),j=0;j<length;++j)dest[destOffset+j]=c0[j]+x*diff[j]}},constructStiched:function constructStiched(_ref10){var xref=_ref10.xref,isEvalSupported=_ref10.isEvalSupported,dict=(_ref10.fn,_ref10.dict),domain=toNumberArray(dict.getArray("Domain"));if(!domain)throw new _util.FormatError("No domain");if(1!==domain.length/2)throw new _util.FormatError("Bad domain for stiched function");for(var fnRefs=dict.get("Functions"),fns=[],i=0,ii=fnRefs.length;i<ii;++i)fns.push(this.parse({xref:xref,isEvalSupported:isEvalSupported,fn:xref.fetchIfRef(fnRefs[i])}));return[3,domain,toNumberArray(dict.getArray("Bounds")),toNumberArray(dict.getArray("Encode")),fns]},constructStichedFromIR:function constructStichedFromIR(_ref11){_ref11.xref,_ref11.isEvalSupported;var IR=_ref11.IR,domain=IR[1],bounds=IR[2],encode=IR[3],fns=IR[4],tmpBuf=new Float32Array(1);return function constructStichedFromIRResult(src,srcOffset,dest,destOffset){for(var v=function constructStichedFromIRClip(v,min,max){return v>max?v=max:v<min&&(v=min),v}(src[srcOffset],domain[0],domain[1]),i=0,ii=bounds.length;i<ii&&!(v<bounds[i]);++i);var dmin=domain[0];i>0&&(dmin=bounds[i-1]);var dmax=domain[1];i<bounds.length&&(dmax=bounds[i]);var rmin=encode[2*i],rmax=encode[2*i+1];tmpBuf[0]=dmin===dmax?rmin:rmin+(v-dmin)*(rmax-rmin)/(dmax-dmin),fns[i](tmpBuf,0,dest,destOffset)}},constructPostScript:function constructPostScript(_ref12){_ref12.xref,_ref12.isEvalSupported;var fn=_ref12.fn,dict=_ref12.dict,domain=toNumberArray(dict.getArray("Domain")),range=toNumberArray(dict.getArray("Range"));if(!domain)throw new _util.FormatError("No domain.");if(!range)throw new _util.FormatError("No range.");var lexer=new _ps_parser.PostScriptLexer(fn);return[4,domain,range,new _ps_parser.PostScriptParser(lexer).parse()]},constructPostScriptFromIR:function constructPostScriptFromIR(_ref13){_ref13.xref;var isEvalSupported=_ref13.isEvalSupported,IR=_ref13.IR,domain=IR[1],range=IR[2],code=IR[3];if(isEvalSupported&&IsEvalSupportedCached.value){var compiled=(new PostScriptCompiler).compile(code,domain,range);if(compiled)return new Function("src","srcOffset","dest","destOffset",compiled)}(0,_util.info)("Unable to compile PS function");var numOutputs=range.length>>1,numInputs=domain.length>>1,evaluator=new PostScriptEvaluator(code),cache=Object.create(null),cache_available=8192,tmpBuf=new Float32Array(numInputs);return function constructPostScriptFromIRResult(src,srcOffset,dest,destOffset){var i,value,key="",input=tmpBuf;for(i=0;i<numInputs;i++)value=src[srcOffset+i],input[i]=value,key+=value+"_";var cachedValue=cache[key];if(void 0===cachedValue){var output=new Float32Array(numOutputs),stack=evaluator.execute(input),stackIndex=stack.length-numOutputs;for(i=0;i<numOutputs;i++){value=stack[stackIndex+i];var bound=range[2*i];(value<bound||value>(bound=range[2*i+1]))&&(value=bound),output[i]=value}cache_available>0&&(cache_available--,cache[key]=output),dest.set(output,destOffset)}else dest.set(cachedValue,destOffset)}}}}();var PostScriptStack=function PostScriptStackClosure(){function PostScriptStack(initialStack){this.stack=initialStack?Array.prototype.slice.call(initialStack,0):[]}return PostScriptStack.prototype={push:function PostScriptStack_push(value){if(this.stack.length>=100)throw new Error("PostScript function stack overflow.");this.stack.push(value)},pop:function PostScriptStack_pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()},copy:function PostScriptStack_copy(n){if(this.stack.length+n>=100)throw new Error("PostScript function stack overflow.");for(var stack=this.stack,i=stack.length-n,j=n-1;j>=0;j--,i++)stack.push(stack[i])},index:function PostScriptStack_index(n){this.push(this.stack[this.stack.length-n-1])},roll:function PostScriptStack_roll(n,p){var i,j,t,stack=this.stack,l=stack.length-n,r=stack.length-1,c=l+(p-Math.floor(p/n)*n);for(i=l,j=r;i<j;i++,j--)t=stack[i],stack[i]=stack[j],stack[j]=t;for(i=l,j=c-1;i<j;i++,j--)t=stack[i],stack[i]=stack[j],stack[j]=t;for(i=c,j=r;i<j;i++,j--)t=stack[i],stack[i]=stack[j],stack[j]=t}},PostScriptStack}(),PostScriptEvaluator=function PostScriptEvaluatorClosure(){function PostScriptEvaluator(operators){this.operators=operators}return PostScriptEvaluator.prototype={execute:function PostScriptEvaluator_execute(initialStack){for(var operator,a,b,stack=new PostScriptStack(initialStack),counter=0,operators=this.operators,length=operators.length;counter<length;)if("number"!=typeof(operator=operators[counter++]))switch(operator){case"jz":b=stack.pop(),(a=stack.pop())||(counter=b);break;case"j":counter=a=stack.pop();break;case"abs":a=stack.pop(),stack.push(Math.abs(a));break;case"add":b=stack.pop(),a=stack.pop(),stack.push(a+b);break;case"and":b=stack.pop(),a=stack.pop(),(0,_util.isBool)(a)&&(0,_util.isBool)(b)?stack.push(a&&b):stack.push(a&b);break;case"atan":a=stack.pop(),stack.push(Math.atan(a));break;case"bitshift":b=stack.pop(),(a=stack.pop())>0?stack.push(a<<b):stack.push(a>>b);break;case"ceiling":a=stack.pop(),stack.push(Math.ceil(a));break;case"copy":a=stack.pop(),stack.copy(a);break;case"cos":a=stack.pop(),stack.push(Math.cos(a));break;case"cvi":a=0|stack.pop(),stack.push(a);break;case"cvr":break;case"div":b=stack.pop(),a=stack.pop(),stack.push(a/b);break;case"dup":stack.copy(1);break;case"eq":b=stack.pop(),a=stack.pop(),stack.push(a===b);break;case"exch":stack.roll(2,1);break;case"exp":b=stack.pop(),a=stack.pop(),stack.push(Math.pow(a,b));break;case"false":stack.push(!1);break;case"floor":a=stack.pop(),stack.push(Math.floor(a));break;case"ge":b=stack.pop(),a=stack.pop(),stack.push(a>=b);break;case"gt":b=stack.pop(),a=stack.pop(),stack.push(a>b);break;case"idiv":b=stack.pop(),a=stack.pop(),stack.push(a/b|0);break;case"index":a=stack.pop(),stack.index(a);break;case"le":b=stack.pop(),a=stack.pop(),stack.push(a<=b);break;case"ln":a=stack.pop(),stack.push(Math.log(a));break;case"log":a=stack.pop(),stack.push(Math.log(a)/Math.LN10);break;case"lt":b=stack.pop(),a=stack.pop(),stack.push(a<b);break;case"mod":b=stack.pop(),a=stack.pop(),stack.push(a%b);break;case"mul":b=stack.pop(),a=stack.pop(),stack.push(a*b);break;case"ne":b=stack.pop(),a=stack.pop(),stack.push(a!==b);break;case"neg":a=stack.pop(),stack.push(-a);break;case"not":a=stack.pop(),(0,_util.isBool)(a)?stack.push(!a):stack.push(~a);break;case"or":b=stack.pop(),a=stack.pop(),(0,_util.isBool)(a)&&(0,_util.isBool)(b)?stack.push(a||b):stack.push(a|b);break;case"pop":stack.pop();break;case"roll":b=stack.pop(),a=stack.pop(),stack.roll(a,b);break;case"round":a=stack.pop(),stack.push(Math.round(a));break;case"sin":a=stack.pop(),stack.push(Math.sin(a));break;case"sqrt":a=stack.pop(),stack.push(Math.sqrt(a));break;case"sub":b=stack.pop(),a=stack.pop(),stack.push(a-b);break;case"true":stack.push(!0);break;case"truncate":a=(a=stack.pop())<0?Math.ceil(a):Math.floor(a),stack.push(a);break;case"xor":b=stack.pop(),a=stack.pop(),(0,_util.isBool)(a)&&(0,_util.isBool)(b)?stack.push(a!==b):stack.push(a^b);break;default:throw new _util.FormatError("Unknown operator "+operator)}else stack.push(operator);return stack.stack}},PostScriptEvaluator}(),PostScriptCompiler=function PostScriptCompilerClosure(){function AstNode(type){this.type=type}function AstArgument(index,min,max){AstNode.call(this,"args"),this.index=index,this.min=min,this.max=max}function AstLiteral(number){AstNode.call(this,"literal"),this.number=number,this.min=number,this.max=number}function AstBinaryOperation(op,arg1,arg2,min,max){AstNode.call(this,"binary"),this.op=op,this.arg1=arg1,this.arg2=arg2,this.min=min,this.max=max}function AstMin(arg,max){AstNode.call(this,"max"),this.arg=arg,this.min=arg.min,this.max=max}function AstVariable(index,min,max){AstNode.call(this,"var"),this.index=index,this.min=min,this.max=max}function AstVariableDefinition(variable,arg){AstNode.call(this,"definition"),this.variable=variable,this.arg=arg}function ExpressionBuilderVisitor(){this.parts=[]}function buildAddOperation(num1,num2){return"literal"===num2.type&&0===num2.number?num1:"literal"===num1.type&&0===num1.number?num2:"literal"===num2.type&&"literal"===num1.type?new AstLiteral(num1.number+num2.number):new AstBinaryOperation("+",num1,num2,num1.min+num2.min,num1.max+num2.max)}function buildMulOperation(num1,num2){if("literal"===num2.type){if(0===num2.number)return new AstLiteral(0);if(1===num2.number)return num1;if("literal"===num1.type)return new AstLiteral(num1.number*num2.number)}if("literal"===num1.type){if(0===num1.number)return new AstLiteral(0);if(1===num1.number)return num2}return new AstBinaryOperation("*",num1,num2,Math.min(num1.min*num2.min,num1.min*num2.max,num1.max*num2.min,num1.max*num2.max),Math.max(num1.min*num2.min,num1.min*num2.max,num1.max*num2.min,num1.max*num2.max))}function buildSubOperation(num1,num2){if("literal"===num2.type){if(0===num2.number)return num1;if("literal"===num1.type)return new AstLiteral(num1.number-num2.number)}return"binary"===num2.type&&"-"===num2.op&&"literal"===num1.type&&1===num1.number&&"literal"===num2.arg1.type&&1===num2.arg1.number?num2.arg2:new AstBinaryOperation("-",num1,num2,num1.min-num2.max,num1.max-num2.min)}function buildMinOperation(num1,max){return num1.min>=max?new AstLiteral(max):num1.max<=max?num1:new AstMin(num1,max)}function PostScriptCompiler(){}return AstNode.prototype.visit=function(visitor){throw new Error("abstract method")},AstArgument.prototype=Object.create(AstNode.prototype),AstArgument.prototype.visit=function(visitor){visitor.visitArgument(this)},AstLiteral.prototype=Object.create(AstNode.prototype),AstLiteral.prototype.visit=function(visitor){visitor.visitLiteral(this)},AstBinaryOperation.prototype=Object.create(AstNode.prototype),AstBinaryOperation.prototype.visit=function(visitor){visitor.visitBinaryOperation(this)},AstMin.prototype=Object.create(AstNode.prototype),AstMin.prototype.visit=function(visitor){visitor.visitMin(this)},AstVariable.prototype=Object.create(AstNode.prototype),AstVariable.prototype.visit=function(visitor){visitor.visitVariable(this)},AstVariableDefinition.prototype=Object.create(AstNode.prototype),AstVariableDefinition.prototype.visit=function(visitor){visitor.visitVariableDefinition(this)},ExpressionBuilderVisitor.prototype={visitArgument:function visitArgument(arg){this.parts.push("Math.max(",arg.min,", Math.min(",arg.max,", src[srcOffset + ",arg.index,"]))")},visitVariable:function visitVariable(variable){this.parts.push("v",variable.index)},visitLiteral:function visitLiteral(literal){this.parts.push(literal.number)},visitBinaryOperation:function visitBinaryOperation(operation){this.parts.push("("),operation.arg1.visit(this),this.parts.push(" ",operation.op," "),operation.arg2.visit(this),this.parts.push(")")},visitVariableDefinition:function visitVariableDefinition(definition){this.parts.push("var "),definition.variable.visit(this),this.parts.push(" = "),definition.arg.visit(this),this.parts.push(";")},visitMin:function visitMin(max){this.parts.push("Math.min("),max.arg.visit(this),this.parts.push(", ",max.max,")")},toString:function toString(){return this.parts.join("")}},PostScriptCompiler.prototype={compile:function PostScriptCompiler_compile(code,domain,range){var i,ii,n,j,num1,num2,ast1,ast2,tmpVar,item,stack=[],instructions=[],inputSize=domain.length>>1,outputSize=range.length>>1,lastRegister=0;for(i=0;i<inputSize;i++)stack.push(new AstArgument(i,domain[2*i],domain[2*i+1]));for(i=0,ii=code.length;i<ii;i++)if("number"!=typeof(item=code[i]))switch(item){case"add":if(stack.length<2)return null;num2=stack.pop(),num1=stack.pop(),stack.push(buildAddOperation(num1,num2));break;case"cvr":if(stack.length<1)return null;break;case"mul":if(stack.length<2)return null;num2=stack.pop(),num1=stack.pop(),stack.push(buildMulOperation(num1,num2));break;case"sub":if(stack.length<2)return null;num2=stack.pop(),num1=stack.pop(),stack.push(buildSubOperation(num1,num2));break;case"exch":if(stack.length<2)return null;ast1=stack.pop(),ast2=stack.pop(),stack.push(ast1,ast2);break;case"pop":if(stack.length<1)return null;stack.pop();break;case"index":if(stack.length<1)return null;if("literal"!==(num1=stack.pop()).type)return null;if((n=num1.number)<0||!Number.isInteger(n)||stack.length<n)return null;if("literal"===(ast1=stack[stack.length-n-1]).type||"var"===ast1.type){stack.push(ast1);break}tmpVar=new AstVariable(lastRegister++,ast1.min,ast1.max),stack[stack.length-n-1]=tmpVar,stack.push(tmpVar),instructions.push(new AstVariableDefinition(tmpVar,ast1));break;case"dup":if(stack.length<1)return null;if("number"==typeof code[i+1]&&"gt"===code[i+2]&&code[i+3]===i+7&&"jz"===code[i+4]&&"pop"===code[i+5]&&code[i+6]===code[i+1]){num1=stack.pop(),stack.push(buildMinOperation(num1,code[i+1])),i+=6;break}if("literal"===(ast1=stack[stack.length-1]).type||"var"===ast1.type){stack.push(ast1);break}tmpVar=new AstVariable(lastRegister++,ast1.min,ast1.max),stack[stack.length-1]=tmpVar,stack.push(tmpVar),instructions.push(new AstVariableDefinition(tmpVar,ast1));break;case"roll":if(stack.length<2)return null;if(num2=stack.pop(),num1=stack.pop(),"literal"!==num2.type||"literal"!==num1.type)return null;if(j=num2.number,(n=num1.number)<=0||!Number.isInteger(n)||!Number.isInteger(j)||stack.length<n)return null;if(0===(j=(j%n+n)%n))break;Array.prototype.push.apply(stack,stack.splice(stack.length-n,n-j));break;default:return null}else stack.push(new AstLiteral(item));if(stack.length!==outputSize)return null;var result=[];return instructions.forEach((function(instruction){var statementBuilder=new ExpressionBuilderVisitor;instruction.visit(statementBuilder),result.push(statementBuilder.toString())})),stack.forEach((function(expr,i){var statementBuilder=new ExpressionBuilderVisitor;expr.visit(statementBuilder);var min=range[2*i],max=range[2*i+1],out=[statementBuilder.toString()];min>expr.min&&(out.unshift("Math.max(",min,", "),out.push(")")),max<expr.max&&(out.unshift("Math.min(",max,", "),out.push(")")),out.unshift("dest[destOffset + ",i,"] = "),out.push(";"),result.push(out.join(""))})),result.join("\n")}},PostScriptCompiler}();exports.isPDFFunction=function isPDFFunction(v){var fnDict;if("object"!==(void 0===v?"undefined":_typeof(v)))return!1;if((0,_primitives.isDict)(v))fnDict=v;else{if(!(0,_primitives.isStream)(v))return!1;fnDict=v.dict}return fnDict.has("FunctionType")},exports.PDFFunctionFactory=PDFFunctionFactory,exports.PostScriptEvaluator=PostScriptEvaluator,exports.PostScriptCompiler=PostScriptCompiler},function(module,exports,__w_pdfjs_require__){"use strict";var pdfjsCoreWorker=__w_pdfjs_require__(83);exports.WorkerMessageHandler=pdfjsCoreWorker.WorkerMessageHandler},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WorkerMessageHandler=exports.WorkerTask=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_util=__w_pdfjs_require__(0),_pdf_manager=__w_pdfjs_require__(127),_primitives=__w_pdfjs_require__(2),WorkerTask=function WorkerTaskClosure(){function WorkerTask(name){this.name=name,this.terminated=!1,this._capability=(0,_util.createPromiseCapability)()}return WorkerTask.prototype={get finished(){return this._capability.promise},finish:function finish(){this._capability.resolve()},terminate:function terminate(){this.terminated=!0},ensureNotTerminated:function ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}},WorkerTask}(),PDFWorkerStream=function PDFWorkerStreamClosure(){function PDFWorkerStream(msgHandler){this._msgHandler=msgHandler,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}function PDFWorkerStreamReader(msgHandler){var _this=this;this._msgHandler=msgHandler,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var readableStream=this._msgHandler.sendWithStream("GetReader");this._reader=readableStream.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(data){_this._isStreamingSupported=data.isStreamingSupported,_this._isRangeSupported=data.isRangeSupported,_this._contentLength=data.contentLength}))}function PDFWorkerStreamRangeReader(begin,end,msgHandler){this._msgHandler=msgHandler,this.onProgress=null;var readableStream=this._msgHandler.sendWithStream("GetRangeReader",{begin:begin,end:end});this._reader=readableStream.getReader()}return PDFWorkerStream.prototype={getFullReader:function getFullReader(){return(0,_util.assert)(!this._fullRequestReader),this._fullRequestReader=new PDFWorkerStreamReader(this._msgHandler),this._fullRequestReader},getRangeReader:function getRangeReader(begin,end){var reader=new PDFWorkerStreamRangeReader(begin,end,this._msgHandler);return this._rangeRequestReaders.push(reader),reader},cancelAllRequests:function cancelAllRequests(reason){this._fullRequestReader&&this._fullRequestReader.cancel(reason),this._rangeRequestReaders.slice(0).forEach((function(reader){reader.cancel(reason)}))}},PDFWorkerStreamReader.prototype={get headersReady(){return this._headersReady},get contentLength(){return this._contentLength},get isStreamingSupported(){return this._isStreamingSupported},get isRangeSupported(){return this._isRangeSupported},read:function read(){return this._reader.read().then((function(_ref){var value=_ref.value;return _ref.done?{value:void 0,done:!0}:{value:value.buffer,done:!1}}))},cancel:function cancel(reason){this._reader.cancel(reason)}},PDFWorkerStreamRangeReader.prototype={get isStreamingSupported(){return!1},read:function read(){return this._reader.read().then((function(_ref2){var value=_ref2.value;return _ref2.done?{value:void 0,done:!0}:{value:value.buffer,done:!1}}))},cancel:function cancel(reason){this._reader.cancel(reason)}},PDFWorkerStream}(),WorkerMessageHandler={setup:function setup(handler,port){var testMessageProcessed=!1;handler.on("test",(function wphSetupTest(data){if(!testMessageProcessed)if(testMessageProcessed=!0,data instanceof Uint8Array){var supportTransfers=255===data[0];handler.postMessageTransfers=supportTransfers;var xhr=new XMLHttpRequest,responseExists="response"in xhr;try{xhr.responseType}catch(e){responseExists=!1}responseExists?handler.send("test",{supportTypedArray:!0,supportTransfers:supportTransfers}):handler.send("test",!1)}else handler.send("test","main",!1)})),handler.on("configure",(function wphConfigure(data){(0,_util.setVerbosityLevel)(data.verbosity)})),handler.on("GetDocRequest",(function wphSetupDoc(data){return WorkerMessageHandler.createDocumentHandler(data,port)}))},createDocumentHandler:function createDocumentHandler(docParams,port){var pdfManager,terminated=!1,cancelXHRs=null,WorkerTasks=[],apiVersion=docParams.apiVersion;if(null!==apiVersion&&"1.10.100"!==apiVersion)throw new Error('The API version "'+apiVersion+'" does not match the Worker version "1.10.100".');var docId=docParams.docId,docBaseUrl=docParams.docBaseUrl,workerHandlerName=docParams.docId+"_worker",handler=new _util.MessageHandler(workerHandlerName,docId,port);function ensureNotTerminated(){if(terminated)throw new Error("Worker was terminated")}function startWorkerTask(task){WorkerTasks.push(task)}function finishWorkerTask(task){task.finish();var i=WorkerTasks.indexOf(task);WorkerTasks.splice(i,1)}function loadDocument(recoveryMode){var loadDocumentCapability=(0,_util.createPromiseCapability)(),parseSuccess=function parseSuccess(){var numPagesPromise=pdfManager.ensureDoc("numPages"),fingerprintPromise=pdfManager.ensureDoc("fingerprint"),encryptedPromise=pdfManager.ensureXRef("encrypt");Promise.all([numPagesPromise,fingerprintPromise,encryptedPromise]).then((function onDocReady(results){var doc={numPages:results[0],fingerprint:results[1],encrypted:!!results[2]};loadDocumentCapability.resolve(doc)}),parseFailure)},parseFailure=function parseFailure(e){loadDocumentCapability.reject(e)};return pdfManager.ensureDoc("checkHeader",[]).then((function(){pdfManager.ensureDoc("parseStartXRef",[]).then((function(){pdfManager.ensureDoc("parse",[recoveryMode]).then(parseSuccess,parseFailure)}),parseFailure)}),parseFailure),loadDocumentCapability.promise}function getPdfManager(data,evaluatorOptions){var pdfManager,pdfManagerCapability=(0,_util.createPromiseCapability)(),source=data.source;if(source.data){try{pdfManager=new _pdf_manager.LocalPdfManager(docId,source.data,source.password,evaluatorOptions,docBaseUrl),pdfManagerCapability.resolve(pdfManager)}catch(ex){pdfManagerCapability.reject(ex)}return pdfManagerCapability.promise}var pdfStream,cachedChunks=[];try{pdfStream=new PDFWorkerStream(handler)}catch(ex){return pdfManagerCapability.reject(ex),pdfManagerCapability.promise}var fullRequest=pdfStream.getFullReader();fullRequest.headersReady.then((function(){if(fullRequest.isRangeSupported){var disableAutoFetch=source.disableAutoFetch||fullRequest.isStreamingSupported;pdfManager=new _pdf_manager.NetworkPdfManager(docId,pdfStream,{msgHandler:handler,url:source.url,password:source.password,length:fullRequest.contentLength,disableAutoFetch:disableAutoFetch,rangeChunkSize:source.rangeChunkSize},evaluatorOptions,docBaseUrl);for(var i=0;i<cachedChunks.length;i++)pdfManager.sendProgressiveData(cachedChunks[i]);cachedChunks=[],pdfManagerCapability.resolve(pdfManager),cancelXHRs=null}})).catch((function(reason){pdfManagerCapability.reject(reason),cancelXHRs=null}));var loaded=0;return new Promise((function(resolve,reject){fullRequest.read().then((function readChunk(chunk){try{if(ensureNotTerminated(),chunk.done)return pdfManager||function flushChunks(){var pdfFile=(0,_util.arraysToBytes)(cachedChunks);source.length&&pdfFile.length!==source.length&&(0,_util.warn)("reported HTTP length is different from actual");try{pdfManager=new _pdf_manager.LocalPdfManager(docId,pdfFile,source.password,evaluatorOptions,docBaseUrl),pdfManagerCapability.resolve(pdfManager)}catch(ex){pdfManagerCapability.reject(ex)}cachedChunks=[]}(),void(cancelXHRs=null);var data=chunk.value;loaded+=(0,_util.arrayByteLength)(data),fullRequest.isStreamingSupported||handler.send("DocProgress",{loaded:loaded,total:Math.max(loaded,fullRequest.contentLength||0)}),pdfManager?pdfManager.sendProgressiveData(data):cachedChunks.push(data),fullRequest.read().then(readChunk,reject)}catch(e){reject(e)}}),reject)})).catch((function(e){pdfManagerCapability.reject(e),cancelXHRs=null})),cancelXHRs=function cancelXHRs(){pdfStream.cancelAllRequests("abort")},pdfManagerCapability.promise}return handler.postMessageTransfers=docParams.postMessageTransfers,handler.on("GetPage",(function wphSetupGetPage(data){return pdfManager.getPage(data.pageIndex).then((function(page){var rotatePromise=pdfManager.ensure(page,"rotate"),refPromise=pdfManager.ensure(page,"ref"),userUnitPromise=pdfManager.ensure(page,"userUnit"),viewPromise=pdfManager.ensure(page,"view");return Promise.all([rotatePromise,refPromise,userUnitPromise,viewPromise]).then((function(results){return{rotate:results[0],ref:results[1],userUnit:results[2],view:results[3]}}))}))})),handler.on("GetPageIndex",(function wphSetupGetPageIndex(data){var ref=new _primitives.Ref(data.ref.num,data.ref.gen);return pdfManager.pdfDocument.catalog.getPageIndex(ref)})),handler.on("GetDestinations",(function wphSetupGetDestinations(data){return pdfManager.ensureCatalog("destinations")})),handler.on("GetDestination",(function wphSetupGetDestination(data){return pdfManager.ensureCatalog("getDestination",[data.id])})),handler.on("GetPageLabels",(function wphSetupGetPageLabels(data){return pdfManager.ensureCatalog("pageLabels")})),handler.on("GetPageMode",(function wphSetupGetPageMode(data){return pdfManager.ensureCatalog("pageMode")})),handler.on("GetAttachments",(function wphSetupGetAttachments(data){return pdfManager.ensureCatalog("attachments")})),handler.on("GetJavaScript",(function wphSetupGetJavaScript(data){return pdfManager.ensureCatalog("javaScript")})),handler.on("GetOutline",(function wphSetupGetOutline(data){return pdfManager.ensureCatalog("documentOutline")})),handler.on("GetMetadata",(function wphSetupGetMetadata(data){return Promise.all([pdfManager.ensureDoc("documentInfo"),pdfManager.ensureCatalog("metadata")])})),handler.on("GetData",(function wphSetupGetData(data){return pdfManager.requestLoadedStream(),pdfManager.onLoadedStream().then((function(stream){return stream.bytes}))})),handler.on("GetStats",(function wphSetupGetStats(data){return pdfManager.pdfDocument.xref.stats})),handler.on("GetAnnotations",(function wphSetupGetAnnotations(data){return pdfManager.getPage(data.pageIndex).then((function(page){return pdfManager.ensure(page,"getAnnotationsData",[data.intent])}))})),handler.on("RenderPageRequest",(function wphSetupRenderPage(data){var pageIndex=data.pageIndex;pdfManager.getPage(pageIndex).then((function(page){var task=new WorkerTask("RenderPageRequest: page "+pageIndex);startWorkerTask(task);var pageNum=pageIndex+1,start=Date.now();page.getOperatorList({handler:handler,task:task,intent:data.intent,renderInteractiveForms:data.renderInteractiveForms}).then((function(operatorList){finishWorkerTask(task),(0,_util.info)("page="+pageNum+" - getOperatorList: time="+(Date.now()-start)+"ms, len="+operatorList.totalLength)}),(function(e){if(finishWorkerTask(task),!task.terminated){handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.unknown});var wrappedException,minimumStackMessage="worker.js: while trying to getPage() and getOperatorList()";wrappedException="string"==typeof e?{message:e,stack:minimumStackMessage}:"object"===(void 0===e?"undefined":_typeof(e))?{message:e.message||e.toString(),stack:e.stack||minimumStackMessage}:{message:"Unknown exception type: "+(void 0===e?"undefined":_typeof(e)),stack:minimumStackMessage},handler.send("PageError",{pageNum:pageNum,error:wrappedException,intent:data.intent})}}))}))}),this),handler.on("GetTextContent",(function wphExtractText(data,sink){var pageIndex=data.pageIndex;sink.onPull=function(desiredSize){},sink.onCancel=function(reason){},pdfManager.getPage(pageIndex).then((function(page){var task=new WorkerTask("GetTextContent: page "+pageIndex);startWorkerTask(task);var pageNum=pageIndex+1,start=Date.now();page.extractTextContent({handler:handler,task:task,sink:sink,normalizeWhitespace:data.normalizeWhitespace,combineTextItems:data.combineTextItems}).then((function(){finishWorkerTask(task),(0,_util.info)("text indexing: page="+pageNum+" - time="+(Date.now()-start)+"ms"),sink.close()}),(function(reason){if(finishWorkerTask(task),!task.terminated)throw sink.error(reason),reason}))}))})),handler.on("Cleanup",(function wphCleanup(data){return pdfManager.cleanup()})),handler.on("Terminate",(function wphTerminate(data){terminated=!0,pdfManager&&(pdfManager.terminate(),pdfManager=null),cancelXHRs&&cancelXHRs();var waitOn=[];return WorkerTasks.forEach((function(task){waitOn.push(task.finished),task.terminate()})),Promise.all(waitOn).then((function(){handler.destroy(),handler=null}))})),handler.on("Ready",(function wphReady(data){!function setupDoc(data){function onSuccess(doc){ensureNotTerminated(),handler.send("GetDoc",{pdfInfo:doc})}function onFailure(e){if(ensureNotTerminated(),e instanceof _util.PasswordException){var task=new WorkerTask("PasswordException: response "+e.code);startWorkerTask(task),handler.sendWithPromise("PasswordRequest",e).then((function(data){finishWorkerTask(task),pdfManager.updatePassword(data.password),pdfManagerReady()})).catch(function(ex){finishWorkerTask(task),handler.send("PasswordException",ex)}.bind(null,e))}else e instanceof _util.InvalidPDFException?handler.send("InvalidPDF",e):e instanceof _util.MissingPDFException?handler.send("MissingPDF",e):e instanceof _util.UnexpectedResponseException?handler.send("UnexpectedResponse",e):handler.send("UnknownError",new _util.UnknownErrorException(e.message,e.toString()))}function pdfManagerReady(){ensureNotTerminated(),loadDocument(!1).then(onSuccess,(function loadFailure(ex){ensureNotTerminated(),ex instanceof _util.XRefParseException?(pdfManager.requestLoadedStream(),pdfManager.onLoadedStream().then((function(){ensureNotTerminated(),loadDocument(!0).then(onSuccess,onFailure)}))):onFailure(ex)}),onFailure)}ensureNotTerminated(),getPdfManager(data,{forceDataSchema:data.disableCreateObjectURL,maxImageSize:void 0===data.maxImageSize?-1:data.maxImageSize,disableFontFace:data.disableFontFace,nativeImageDecoderSupport:data.nativeImageDecoderSupport,ignoreErrors:data.ignoreErrors,isEvalSupported:data.isEvalSupported}).then((function(newPdfManager){if(terminated)throw newPdfManager.terminate(),new Error("Worker was terminated");pdfManager=newPdfManager,handler.send("PDFManagerReady",null),pdfManager.onLoadedStream().then((function(stream){handler.send("DataLoaded",{length:stream.bytes.byteLength})}))})).then(pdfManagerReady,onFailure)}(docParams),docParams=null})),workerHandlerName},initializeFromPort:function initializeFromPort(port){var handler=new _util.MessageHandler("worker","main",port);WorkerMessageHandler.setup(handler,port),handler.send("ready",null)}};"undefined"==typeof window&&!(0,_util.isNodeJS)()&&"undefined"!=typeof self&&function isMessagePort(maybePort){return"function"==typeof maybePort.postMessage&&"onmessage"in maybePort}(self)&&WorkerMessageHandler.initializeFromPort(self),exports.WorkerTask=WorkerTask,exports.WorkerMessageHandler=WorkerMessageHandler},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var globalScope=__w_pdfjs_require__(85),userAgent="undefined"!=typeof navigator&&navigator.userAgent||"",isAndroid=/Android/.test(userAgent),isAndroidPre3=/Android\s[0-2][^\d]/.test(userAgent),isAndroidPre5=/Android\s[0-4][^\d]/.test(userAgent),isChrome=userAgent.indexOf("Chrom")>=0,isChromeWithRangeBug=/Chrome\/(39|40)\./.test(userAgent),isIOSChrome=userAgent.indexOf("CriOS")>=0,isIE=userAgent.indexOf("Trident")>=0,isIOS=/\b(iPad|iPhone|iPod)(?=;)/.test(userAgent),isOpera=userAgent.indexOf("Opera")>=0,isSafari=/Safari\//.test(userAgent)&&!/(Chrome\/|Android\s)/.test(userAgent),hasDOM="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"object"===("undefined"==typeof document?"undefined":_typeof(document));"undefined"==typeof PDFJS&&(globalScope.PDFJS={}),PDFJS.compatibilityChecked=!0,function checkTypedArrayCompatibility(){if("undefined"==typeof Uint8ClampedArray&&(globalScope.Uint8ClampedArray=__w_pdfjs_require__(86)),"undefined"!=typeof Uint8Array)return void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function subarray(start,end){return new Uint8Array(this.slice(start,end))},Float32Array.prototype.subarray=function subarray(start,end){return new Float32Array(this.slice(start,end))}),void("undefined"==typeof Float64Array&&(globalScope.Float64Array=Float32Array));function subarray(start,end){return new TypedArray(this.slice(start,end))}function setArrayOffset(array,offset){arguments.length<2&&(offset=0);for(var i=0,n=array.length;i<n;++i,++offset)this[offset]=255&array[i]}function Uint32ArrayView(buffer,length){this.buffer=buffer,this.byteLength=buffer.length,this.length=length,function ensureUint32ArrayViewProps(length){for(;uint32ArrayViewSetters<length;)Object.defineProperty(Uint32ArrayView.prototype,uint32ArrayViewSetters,createUint32ArrayProp(uint32ArrayViewSetters)),uint32ArrayViewSetters++}(this.length)}Uint32ArrayView.prototype=Object.create(null);var uint32ArrayViewSetters=0;function createUint32ArrayProp(index){return{get:function get(){var buffer=this.buffer,offset=index<<2;return(buffer[offset]|buffer[offset+1]<<8|buffer[offset+2]<<16|buffer[offset+3]<<24)>>>0},set:function set(value){var buffer=this.buffer,offset=index<<2;buffer[offset]=255&value,buffer[offset+1]=value>>8&255,buffer[offset+2]=value>>16&255,buffer[offset+3]=value>>>24&255}}}function TypedArray(arg1){var result,i,n;if("number"==typeof arg1)for(result=[],i=0;i<arg1;++i)result[i]=0;else if("slice"in arg1)result=arg1.slice(0);else for(result=[],i=0,n=arg1.length;i<n;++i)result[i]=arg1[i];return result.subarray=subarray,result.buffer=result,result.byteLength=result.length,result.set=setArrayOffset,"object"===(void 0===arg1?"undefined":_typeof(arg1))&&arg1.buffer&&(result.buffer=arg1.buffer),result}globalScope.Uint8Array=TypedArray,globalScope.Int8Array=TypedArray,globalScope.Int32Array=TypedArray,globalScope.Uint16Array=TypedArray,globalScope.Float32Array=TypedArray,globalScope.Float64Array=TypedArray,globalScope.Uint32Array=function(){if(3===arguments.length){if(0!==arguments[1])throw new Error("offset !== 0 is not supported");return new Uint32ArrayView(arguments[0],arguments[2])}return TypedArray.apply(this,arguments)}}(),function canvasPixelArrayBuffer(){if(hasDOM&&window.CanvasPixelArray){var cpaProto=window.CanvasPixelArray.prototype;"buffer"in cpaProto||(Object.defineProperty(cpaProto,"buffer",{get:function get(){return this},enumerable:!1,configurable:!0}),Object.defineProperty(cpaProto,"byteLength",{get:function get(){return this.length},enumerable:!1,configurable:!0}))}}(),function normalizeURLObject(){globalScope.URL||(globalScope.URL=globalScope.webkitURL)}(),function checkObjectDefinePropertyCompatibility(){if(void 0!==Object.defineProperty){var definePropertyPossible=!0;try{hasDOM&&Object.defineProperty(new Image,"id",{value:"test"});var Test=function Test(){};Test.prototype={get id(){}},Object.defineProperty(new Test,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(e){definePropertyPossible=!1}if(definePropertyPossible)return}Object.defineProperty=function objectDefineProperty(obj,name,def){delete obj[name],"get"in def&&obj.__defineGetter__(name,def.get),"set"in def&&obj.__defineSetter__(name,def.set),"value"in def&&(obj.__defineSetter__(name,(function objectDefinePropertySetter(value){return this.__defineGetter__(name,(function objectDefinePropertyGetter(){return value})),value})),obj[name]=def.value)}}(),function checkXMLHttpRequestResponseCompatibility(){if("undefined"!=typeof XMLHttpRequest){var xhrPrototype=XMLHttpRequest.prototype,xhr=new XMLHttpRequest;"overrideMimeType"in xhr||Object.defineProperty(xhrPrototype,"overrideMimeType",{value:function xmlHttpRequestOverrideMimeType(mimeType){}}),"responseType"in xhr||(Object.defineProperty(xhrPrototype,"responseType",{get:function xmlHttpRequestGetResponseType(){return this._responseType||"text"},set:function xmlHttpRequestSetResponseType(value){"text"!==value&&"arraybuffer"!==value||(this._responseType=value,"arraybuffer"===value&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"==typeof VBArray?Object.defineProperty(xhrPrototype,"response",{get:function xmlHttpRequestResponseGet(){if("arraybuffer"!==this.responseType)return this.responseText;var i,text=this.responseText,n=text.length,result=new Uint8Array(n);for(i=0;i<n;++i)result[i]=255&text.charCodeAt(i);return result.buffer}}):Object.defineProperty(xhrPrototype,"response",{get:function xmlHttpRequestResponseGet(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}}))}}(),function checkWindowBtoaCompatibility(){if(!("btoa"in globalScope)){var digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";globalScope.btoa=function(chars){var i,n,buffer="";for(i=0,n=chars.length;i<n;i+=3){var b1=255&chars.charCodeAt(i),b2=255&chars.charCodeAt(i+1),b3=255&chars.charCodeAt(i+2),d2=(3&b1)<<4|b2>>4,d3=i+1<n?(15&b2)<<2|b3>>6:64,d4=i+2<n?63&b3:64;buffer+=digits.charAt(b1>>2)+digits.charAt(d2)+digits.charAt(d3)+digits.charAt(d4)}return buffer}}}(),function checkWindowAtobCompatibility(){if(!("atob"in globalScope)){globalScope.atob=function(input){if((input=input.replace(/=+$/,"")).length%4==1)throw new Error("bad atob input");for(var bs,buffer,bc=0,idx=0,output="";buffer=input.charAt(idx++);~buffer&&(bs=bc%4?64*bs+buffer:buffer,bc++%4)?output+=String.fromCharCode(255&bs>>(-2*bc&6)):0)buffer="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(buffer);return output}}}(),function checkFunctionPrototypeBindCompatibility(){void 0===Function.prototype.bind&&(Function.prototype.bind=function functionPrototypeBind(obj){var fn=this,headArgs=Array.prototype.slice.call(arguments,1),bound=function functionPrototypeBindBound(){var args=headArgs.concat(Array.prototype.slice.call(arguments));return fn.apply(obj,args)};return bound})}(),function checkDatasetProperty(){hasDOM&&("dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function get(){if(this._dataset)return this._dataset;for(var dataset={},j=0,jj=this.attributes.length;j<jj;j++){var attribute=this.attributes[j];if("data-"===attribute.name.substring(0,5))dataset[attribute.name.substring(5).replace(/\-([a-z])/g,(function(all,ch){return ch.toUpperCase()}))]=attribute.value}return Object.defineProperty(this,"_dataset",{value:dataset,writable:!1,enumerable:!1}),dataset},enumerable:!0}))}(),function checkClassListProperty(){function changeList(element,itemName,add,remove){var list=(element.className||"").split(/\s+/g);""===list[0]&&list.shift();var index=list.indexOf(itemName);return index<0&&add&&list.push(itemName),index>=0&&remove&&list.splice(index,1),element.className=list.join(" "),index>=0}if(hasDOM&&!("classList"in document.createElement("div"))){var classListPrototype={add:function add(name){changeList(this.element,name,!0,!1)},contains:function contains(name){return changeList(this.element,name,!1,!1)},remove:function remove(name){changeList(this.element,name,!1,!0)},toggle:function toggle(name){changeList(this.element,name,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function get(){if(this._classList)return this._classList;var classList=Object.create(classListPrototype,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:classList,writable:!1,enumerable:!1}),classList},enumerable:!0})}}(),function checkWorkerConsoleCompatibility(){if("undefined"!=typeof importScripts&&!("console"in globalScope)){var consoleTimer={},workerConsole={log:function log(){var args=Array.prototype.slice.call(arguments);globalScope.postMessage({targetName:"main",action:"console_log",data:args})},error:function error(){var args=Array.prototype.slice.call(arguments);globalScope.postMessage({targetName:"main",action:"console_error",data:args})},time:function time(name){consoleTimer[name]=Date.now()},timeEnd:function timeEnd(name){var time=consoleTimer[name];if(!time)throw new Error("Unknown timer name "+name);this.log("Timer:",name,Date.now()-time)}};globalScope.console=workerConsole}}(),function checkConsoleCompatibility(){if(hasDOM){var fn;if("console"in window)return"bind"in console.log?void 0:(console.log=(fn=console.log,function(msg){return fn(msg)}),console.error=function(fn){return function(msg){return fn(msg)}}(console.error),void(console.warn=function(fn){return function(msg){return fn(msg)}}(console.warn)));window.console={log:function log(){},error:function error(){},warn:function warn(){}}}}(),function checkOnClickCompatibility(){function isDisabled(node){return node.disabled||node.parentNode&&isDisabled(node.parentNode)}isOpera&&document.addEventListener("click",(function ignoreIfTargetDisabled(event){isDisabled(event.target)&&event.stopPropagation()}),!0)}(),function checkOnBlobSupport(){(isIE||isIOSChrome)&&(PDFJS.disableCreateObjectURL=!0)}(),function checkNavigatorLanguage(){"undefined"!=typeof navigator&&("language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"))}(),function checkRangeRequests(){(isSafari||isAndroidPre3||isChromeWithRangeBug||isIOS)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0)}(),function checkHistoryManipulation(){hasDOM&&(history.pushState&&!isAndroidPre3||(PDFJS.disableHistory=!0))}(),function checkSetPresenceInImageData(){if(hasDOM)if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(arr){for(var i=0,ii=this.length;i<ii;i++)this[i]=arr[i]});else{var versionMatch,polyfill=!1;if(isChrome?polyfill=(versionMatch=userAgent.match(/Chrom(e|ium)\/([0-9]+)\./))&&parseInt(versionMatch[2])<21:isAndroid?polyfill=isAndroidPre5:isSafari&&(polyfill=(versionMatch=userAgent.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&parseInt(versionMatch[1])<6),polyfill){var contextPrototype=window.CanvasRenderingContext2D.prototype,createImageData=contextPrototype.createImageData;contextPrototype.createImageData=function(w,h){var imageData=createImageData.call(this,w,h);return imageData.data.set=function(arr){for(var i=0,ii=this.length;i<ii;i++)this[i]=arr[i]},imageData},contextPrototype=null}}}(),function checkRequestAnimationFrame(){function installFakeAnimationFrameFunctions(){window.requestAnimationFrame=function(callback){return window.setTimeout(callback,20)},window.cancelAnimationFrame=function(timeoutID){window.clearTimeout(timeoutID)}}hasDOM&&(isIOS?installFakeAnimationFrameFunctions():"requestAnimationFrame"in window||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||installFakeAnimationFrameFunctions()))}(),function checkCanvasSizeLimitation(){(isIOS||isAndroid)&&(PDFJS.maxCanvasPixels=5242880)}(),function checkFullscreenSupport(){hasDOM&&isIE&&window.parent!==window&&(PDFJS.disableFullscreen=!0)}(),function checkCurrentScript(){hasDOM&&("currentScript"in document||Object.defineProperty(document,"currentScript",{get:function get(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]},enumerable:!0,configurable:!0}))}(),function checkInputTypeNumberAssign(){if(hasDOM){var el=document.createElement("input");try{el.type="number"}catch(ex){var inputProto=el.constructor.prototype,typeProperty=Object.getOwnPropertyDescriptor(inputProto,"type");Object.defineProperty(inputProto,"type",{get:function get(){return typeProperty.get.call(this)},set:function set(value){typeProperty.set.call(this,"number"===value?"text":value)},enumerable:!0,configurable:!0})}}}(),function checkDocumentReadyState(){if(hasDOM&&document.attachEvent){var documentProto=document.constructor.prototype,readyStateProto=Object.getOwnPropertyDescriptor(documentProto,"readyState");Object.defineProperty(documentProto,"readyState",{get:function get(){var value=readyStateProto.get.call(this);return"interactive"===value?"loading":value},set:function set(value){readyStateProto.set.call(this,value)},enumerable:!0,configurable:!0})}}(),function checkChildNodeRemove(){hasDOM&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function checkNumberIsNaN(){Number.isNaN||(Number.isNaN=__w_pdfjs_require__(98))}(),function checkNumberIsInteger(){Number.isInteger||(Number.isInteger=__w_pdfjs_require__(100))}(),function checkPromise(){globalScope.Promise||(globalScope.Promise=__w_pdfjs_require__(103))}(),function checkWeakMap(){globalScope.WeakMap||(globalScope.WeakMap=__w_pdfjs_require__(113))}(),function checkURLConstructor(){var hasWorkingUrl=!1;try{if("function"==typeof URL&&"object"===_typeof(URL.prototype)&&"origin"in URL.prototype){var u=new URL("b","http://a");u.pathname="c%20d",hasWorkingUrl="http://a/c%20d"===u.href}}catch(e){}if(!hasWorkingUrl){var relative=Object.create(null);relative.ftp=21,relative.file=0,relative.gopher=70,relative.http=80,relative.https=443,relative.ws=80,relative.wss=443;var relativePathDotMapping=Object.create(null);relativePathDotMapping["%2e"]=".",relativePathDotMapping[".%2e"]="..",relativePathDotMapping["%2e."]="..",relativePathDotMapping["%2e%2e"]="..";var EOF,ALPHA=/[a-zA-Z]/,ALPHANUMERIC=/[a-zA-Z0-9\+\-\.]/;JURL.prototype={toString:function toString(){return this.href},get href(){if(this._isInvalid)return this._url;var authority="";return""===this._username&&null===this._password||(authority=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+authority+this.host:"")+this.pathname+this._query+this._fragment},set href(value){clear.call(this),parse.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){this._isInvalid||parse.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"host")},get hostname(){return this._host},set hostname(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"hostname")},get port(){return this._port},set port(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){!this._isInvalid&&this._isRelative&&(this._path=[],parse.call(this,value,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){!this._isInvalid&&this._isRelative&&(this._query="?","?"===value[0]&&(value=value.slice(1)),parse.call(this,value,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){this._isInvalid||(this._fragment="#","#"===value[0]&&(value=value.slice(1)),parse.call(this,value,"fragment"))},get origin(){var host;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new JURL(this._schemeData).origin||"null"}catch(_){}return"null"}return(host=this.host)?this._scheme+"://"+host:""}};var OriginalURL=globalScope.URL;OriginalURL&&(JURL.createObjectURL=function(blob){return OriginalURL.createObjectURL.apply(OriginalURL,arguments)},JURL.revokeObjectURL=function(url){OriginalURL.revokeObjectURL(url)}),globalScope.URL=JURL}function isRelativeScheme(scheme){return void 0!==relative[scheme]}function invalid(){clear.call(this),this._isInvalid=!0}function IDNAToASCII(h){return""===h&&invalid.call(this),h.toLowerCase()}function percentEscape(c){var unicode=c.charCodeAt(0);return unicode>32&&unicode<127&&-1===[34,35,60,62,63,96].indexOf(unicode)?c:encodeURIComponent(c)}function percentEscapeQuery(c){var unicode=c.charCodeAt(0);return unicode>32&&unicode<127&&-1===[34,35,60,62,96].indexOf(unicode)?c:encodeURIComponent(c)}function parse(input,stateOverride,base){function err(message){errors.push(message)}var state=stateOverride||"scheme start",cursor=0,buffer="",seenAt=!1,seenBracket=!1,errors=[];loop:for(;(input[cursor-1]!==EOF||0===cursor)&&!this._isInvalid;){var c=input[cursor];switch(state){case"scheme start":if(!c||!ALPHA.test(c)){if(stateOverride){err("Invalid scheme.");break loop}buffer="",state="no scheme";continue}buffer+=c.toLowerCase(),state="scheme";break;case"scheme":if(c&&ALPHANUMERIC.test(c))buffer+=c.toLowerCase();else{if(":"!==c){if(stateOverride){if(c===EOF)break loop;err("Code point not allowed in scheme: "+c);break loop}buffer="",cursor=0,state="no scheme";continue}if(this._scheme=buffer,buffer="",stateOverride)break loop;isRelativeScheme(this._scheme)&&(this._isRelative=!0),state="file"===this._scheme?"relative":this._isRelative&&base&&base._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===c?(this._query="?",state="query"):"#"===c?(this._fragment="#",state="fragment"):c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._schemeData+=percentEscape(c));break;case"no scheme":if(base&&isRelativeScheme(base._scheme)){state="relative";continue}err("Missing scheme."),invalid.call(this);break;case"relative or authority":if("/"!==c||"/"!==input[cursor+1]){err("Expected /, got: "+c),state="relative";continue}state="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=base._scheme),c===EOF){this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query=base._query,this._username=base._username,this._password=base._password;break loop}if("/"===c||"\\"===c)"\\"===c&&err("\\ is an invalid code point."),state="relative slash";else if("?"===c)this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query="?",this._username=base._username,this._password=base._password,state="query";else{if("#"!==c){var nextC=input[cursor+1],nextNextC=input[cursor+2];("file"!==this._scheme||!ALPHA.test(c)||":"!==nextC&&"|"!==nextC||nextNextC!==EOF&&"/"!==nextNextC&&"\\"!==nextNextC&&"?"!==nextNextC&&"#"!==nextNextC)&&(this._host=base._host,this._port=base._port,this._username=base._username,this._password=base._password,this._path=base._path.slice(),this._path.pop()),state="relative path";continue}this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query=base._query,this._fragment="#",this._username=base._username,this._password=base._password,state="fragment"}break;case"relative slash":if("/"!==c&&"\\"!==c){"file"!==this._scheme&&(this._host=base._host,this._port=base._port,this._username=base._username,this._password=base._password),state="relative path";continue}"\\"===c&&err("\\ is an invalid code point."),state="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==c){err("Expected '/', got: "+c),state="authority ignore slashes";continue}state="authority second slash";break;case"authority second slash":if(state="authority ignore slashes","/"!==c){err("Expected '/', got: "+c);continue}break;case"authority ignore slashes":if("/"!==c&&"\\"!==c){state="authority";continue}err("Expected authority, got: "+c);break;case"authority":if("@"===c){seenAt&&(err("@ already seen."),buffer+="%40"),seenAt=!0;for(var i=0;i<buffer.length;i++){var cp=buffer[i];if("\t"!==cp&&"\n"!==cp&&"\r"!==cp)if(":"!==cp||null!==this._password){var tempC=percentEscape(cp);null!==this._password?this._password+=tempC:this._username+=tempC}else this._password="";else err("Invalid whitespace in authority.")}buffer=""}else{if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){cursor-=buffer.length,buffer="",state="host";continue}buffer+=c}break;case"file host":if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){2!==buffer.length||!ALPHA.test(buffer[0])||":"!==buffer[1]&&"|"!==buffer[1]?(0===buffer.length||(this._host=IDNAToASCII.call(this,buffer),buffer=""),state="relative path start"):state="relative path";continue}"\t"===c||"\n"===c||"\r"===c?err("Invalid whitespace in file host."):buffer+=c;break;case"host":case"hostname":if(":"!==c||seenBracket){if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){if(this._host=IDNAToASCII.call(this,buffer),buffer="",state="relative path start",stateOverride)break loop;continue}"\t"!==c&&"\n"!==c&&"\r"!==c?("["===c?seenBracket=!0:"]"===c&&(seenBracket=!1),buffer+=c):err("Invalid code point in host/hostname: "+c)}else if(this._host=IDNAToASCII.call(this,buffer),buffer="",state="port","hostname"===stateOverride)break loop;break;case"port":if(/[0-9]/.test(c))buffer+=c;else{if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c||stateOverride){if(""!==buffer){var temp=parseInt(buffer,10);temp!==relative[this._scheme]&&(this._port=temp+""),buffer=""}if(stateOverride)break loop;state="relative path start";continue}"\t"===c||"\n"===c||"\r"===c?err("Invalid code point in port: "+c):invalid.call(this)}break;case"relative path start":if("\\"===c&&err("'\\' not allowed in path."),state="relative path","/"!==c&&"\\"!==c)continue;break;case"relative path":var tmp;if(c!==EOF&&"/"!==c&&"\\"!==c&&(stateOverride||"?"!==c&&"#"!==c))"\t"!==c&&"\n"!==c&&"\r"!==c&&(buffer+=percentEscape(c));else"\\"===c&&err("\\ not allowed in relative path."),(tmp=relativePathDotMapping[buffer.toLowerCase()])&&(buffer=tmp),".."===buffer?(this._path.pop(),"/"!==c&&"\\"!==c&&this._path.push("")):"."===buffer&&"/"!==c&&"\\"!==c?this._path.push(""):"."!==buffer&&("file"===this._scheme&&0===this._path.length&&2===buffer.length&&ALPHA.test(buffer[0])&&"|"===buffer[1]&&(buffer=buffer[0]+":"),this._path.push(buffer)),buffer="","?"===c?(this._query="?",state="query"):"#"===c&&(this._fragment="#",state="fragment");break;case"query":stateOverride||"#"!==c?c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._query+=percentEscapeQuery(c)):(this._fragment="#",state="fragment");break;case"fragment":c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._fragment+=c)}cursor++}}function clear(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function JURL(url,base){void 0===base||base instanceof JURL||(base=new JURL(String(base))),this._url=url,clear.call(this);var input=url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");parse.call(this,input,null,base)}}()}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports="undefined"!=typeof window&&window.Math===Math?window:void 0!==global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(87),module.exports=__w_pdfjs_require__(6).Uint8ClampedArray},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(88)("Uint8",1,(function(init){return function Uint8ClampedArray(data,byteOffset,length){return init(this,data,byteOffset,length)}}),!0)},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};if(__w_pdfjs_require__(10)){var LIBRARY=__w_pdfjs_require__(21),global=__w_pdfjs_require__(1),fails=__w_pdfjs_require__(11),$export=__w_pdfjs_require__(7),$typed=__w_pdfjs_require__(49),$buffer=__w_pdfjs_require__(89),ctx=__w_pdfjs_require__(13),anInstance=__w_pdfjs_require__(24),propertyDesc=__w_pdfjs_require__(29),hide=__w_pdfjs_require__(8),redefineAll=__w_pdfjs_require__(23),toInteger=__w_pdfjs_require__(18),toLength=__w_pdfjs_require__(14),toIndex=__w_pdfjs_require__(50),toAbsoluteIndex=__w_pdfjs_require__(31),toPrimitive=__w_pdfjs_require__(36),has=__w_pdfjs_require__(12),classof=__w_pdfjs_require__(32),isObject=__w_pdfjs_require__(3),toObject=__w_pdfjs_require__(19),isArrayIter=__w_pdfjs_require__(56),create=__w_pdfjs_require__(57),getPrototypeOf=__w_pdfjs_require__(59),gOPN=__w_pdfjs_require__(51).f,getIterFn=__w_pdfjs_require__(60),uid=__w_pdfjs_require__(17),wks=__w_pdfjs_require__(4),createArrayMethod=__w_pdfjs_require__(42),createArrayIncludes=__w_pdfjs_require__(53),speciesConstructor=__w_pdfjs_require__(43),ArrayIterators=__w_pdfjs_require__(61),Iterators=__w_pdfjs_require__(20),$iterDetect=__w_pdfjs_require__(44),setSpecies=__w_pdfjs_require__(63),arrayFill=__w_pdfjs_require__(55),arrayCopyWithin=__w_pdfjs_require__(97),$DP=__w_pdfjs_require__(15),$GOPD=__w_pdfjs_require__(64),dP=$DP.f,gOPD=$GOPD.f,RangeError=global.RangeError,TypeError=global.TypeError,Uint8Array=global.Uint8Array,ArrayProto=Array.prototype,$ArrayBuffer=$buffer.ArrayBuffer,$DataView=$buffer.DataView,arrayForEach=createArrayMethod(0),arrayFilter=createArrayMethod(2),arraySome=createArrayMethod(3),arrayEvery=createArrayMethod(4),arrayFind=createArrayMethod(5),arrayFindIndex=createArrayMethod(6),arrayIncludes=createArrayIncludes(!0),arrayIndexOf=createArrayIncludes(!1),arrayValues=ArrayIterators.values,arrayKeys=ArrayIterators.keys,arrayEntries=ArrayIterators.entries,arrayLastIndexOf=ArrayProto.lastIndexOf,arrayReduce=ArrayProto.reduce,arrayReduceRight=ArrayProto.reduceRight,arrayJoin=ArrayProto.join,arraySort=ArrayProto.sort,arraySlice=ArrayProto.slice,arrayToString=ArrayProto.toString,arrayToLocaleString=ArrayProto.toLocaleString,ITERATOR=wks("iterator"),TAG=wks("toStringTag"),TYPED_CONSTRUCTOR=uid("typed_constructor"),DEF_CONSTRUCTOR=uid("def_constructor"),ALL_CONSTRUCTORS=$typed.CONSTR,TYPED_ARRAY=$typed.TYPED,VIEW=$typed.VIEW,$map=createArrayMethod(1,(function(O,length){return allocate(speciesConstructor(O,O[DEF_CONSTRUCTOR]),length)})),LITTLE_ENDIAN=fails((function(){return 1===new Uint8Array(new Uint16Array([1]).buffer)[0]})),FORCED_SET=!!Uint8Array&&!!Uint8Array.prototype.set&&fails((function(){new Uint8Array(1).set({})})),toOffset=function toOffset(it,BYTES){var offset=toInteger(it);if(offset<0||offset%BYTES)throw RangeError("Wrong offset!");return offset},validate=function validate(it){if(isObject(it)&&TYPED_ARRAY in it)return it;throw TypeError(it+" is not a typed array!")},allocate=function allocate(C,length){if(!isObject(C)||!(TYPED_CONSTRUCTOR in C))throw TypeError("It is not a typed array constructor!");return new C(length)},speciesFromList=function speciesFromList(O,list){return fromList(speciesConstructor(O,O[DEF_CONSTRUCTOR]),list)},fromList=function fromList(C,list){for(var index=0,length=list.length,result=allocate(C,length);length>index;)result[index]=list[index++];return result},addGetter=function addGetter(it,key,internal){dP(it,key,{get:function get(){return this._d[internal]}})},$from=function from(source){var i,length,values,result,step,iterator,O=toObject(source),aLen=arguments.length,mapfn=aLen>1?arguments[1]:void 0,mapping=void 0!==mapfn,iterFn=getIterFn(O);if(null!=iterFn&&!isArrayIter(iterFn)){for(iterator=iterFn.call(O),values=[],i=0;!(step=iterator.next()).done;i++)values.push(step.value);O=values}for(mapping&&aLen>2&&(mapfn=ctx(mapfn,arguments[2],2)),i=0,length=toLength(O.length),result=allocate(this,length);length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result},$of=function of(){for(var index=0,length=arguments.length,result=allocate(this,length);length>index;)result[index]=arguments[index++];return result},TO_LOCALE_BUG=!!Uint8Array&&fails((function(){arrayToLocaleString.call(new Uint8Array(1))})),$toLocaleString=function toLocaleString(){return arrayToLocaleString.apply(TO_LOCALE_BUG?arraySlice.call(validate(this)):validate(this),arguments)},proto={copyWithin:function copyWithin(target,start){return arrayCopyWithin.call(validate(this),target,start,arguments.length>2?arguments[2]:void 0)},every:function every(callbackfn){return arrayEvery(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},fill:function fill(value){return arrayFill.apply(validate(this),arguments)},filter:function filter(callbackfn){return speciesFromList(this,arrayFilter(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0))},find:function find(predicate){return arrayFind(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(predicate){return arrayFindIndex(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(callbackfn){arrayForEach(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(searchElement){return arrayIndexOf(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},includes:function includes(searchElement){return arrayIncludes(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},join:function join(separator){return arrayJoin.apply(validate(this),arguments)},lastIndexOf:function lastIndexOf(searchElement){return arrayLastIndexOf.apply(validate(this),arguments)},map:function map(mapfn){return $map(validate(this),mapfn,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(callbackfn){return arrayReduce.apply(validate(this),arguments)},reduceRight:function reduceRight(callbackfn){return arrayReduceRight.apply(validate(this),arguments)},reverse:function reverse(){for(var value,length=validate(this).length,middle=Math.floor(length/2),index=0;index<middle;)value=this[index],this[index++]=this[--length],this[length]=value;return this},some:function some(callbackfn){return arraySome(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},sort:function sort(comparefn){return arraySort.call(validate(this),comparefn)},subarray:function subarray(begin,end){var O=validate(this),length=O.length,$begin=toAbsoluteIndex(begin,length);return new(speciesConstructor(O,O[DEF_CONSTRUCTOR]))(O.buffer,O.byteOffset+$begin*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-$begin))}},$slice=function slice(start,end){return speciesFromList(this,arraySlice.call(validate(this),start,end))},$set=function set(arrayLike){validate(this);var offset=toOffset(arguments[1],1),length=this.length,src=toObject(arrayLike),len=toLength(src.length),index=0;if(len+offset>length)throw RangeError("Wrong length!");for(;index<len;)this[offset+index]=src[index++]},$iterators={entries:function entries(){return arrayEntries.call(validate(this))},keys:function keys(){return arrayKeys.call(validate(this))},values:function values(){return arrayValues.call(validate(this))}},isTAIndex=function isTAIndex(target,key){return isObject(target)&&target[TYPED_ARRAY]&&"symbol"!=(void 0===key?"undefined":_typeof(key))&&key in target&&String(+key)==String(key)},$getDesc=function getOwnPropertyDescriptor(target,key){return isTAIndex(target,key=toPrimitive(key,!0))?propertyDesc(2,target[key]):gOPD(target,key)},$setDesc=function defineProperty(target,key,desc){return!(isTAIndex(target,key=toPrimitive(key,!0))&&isObject(desc)&&has(desc,"value"))||has(desc,"get")||has(desc,"set")||desc.configurable||has(desc,"writable")&&!desc.writable||has(desc,"enumerable")&&!desc.enumerable?dP(target,key,desc):(target[key]=desc.value,target)};ALL_CONSTRUCTORS||($GOPD.f=$getDesc,$DP.f=$setDesc),$export($export.S+$export.F*!ALL_CONSTRUCTORS,"Object",{getOwnPropertyDescriptor:$getDesc,defineProperty:$setDesc}),fails((function(){arrayToString.call({})}))&&(arrayToString=arrayToLocaleString=function toString(){return arrayJoin.call(this)});var $TypedArrayPrototype$=redefineAll({},proto);redefineAll($TypedArrayPrototype$,$iterators),hide($TypedArrayPrototype$,ITERATOR,$iterators.values),redefineAll($TypedArrayPrototype$,{slice:$slice,set:$set,constructor:function constructor(){},toString:arrayToString,toLocaleString:$toLocaleString}),addGetter($TypedArrayPrototype$,"buffer","b"),addGetter($TypedArrayPrototype$,"byteOffset","o"),addGetter($TypedArrayPrototype$,"byteLength","l"),addGetter($TypedArrayPrototype$,"length","e"),dP($TypedArrayPrototype$,TAG,{get:function get(){return this[TYPED_ARRAY]}}),module.exports=function(KEY,BYTES,wrapper,CLAMPED){var NAME=KEY+((CLAMPED=!!CLAMPED)?"Clamped":"")+"Array",GETTER="get"+KEY,SETTER="set"+KEY,TypedArray=global[NAME],Base=TypedArray||{},TAC=TypedArray&&getPrototypeOf(TypedArray),FORCED=!TypedArray||!$typed.ABV,O={},TypedArrayPrototype=TypedArray&&TypedArray.prototype,addElement=function addElement(that,index){dP(that,index,{get:function get(){return function getter(that,index){var data=that._d;return data.v[GETTER](index*BYTES+data.o,LITTLE_ENDIAN)}(this,index)},set:function set(value){return function setter(that,index,value){var data=that._d;CLAMPED&&(value=(value=Math.round(value))<0?0:value>255?255:255&value),data.v[SETTER](index*BYTES+data.o,value,LITTLE_ENDIAN)}(this,index,value)},enumerable:!0})};FORCED?(TypedArray=wrapper((function(that,data,$offset,$length){anInstance(that,TypedArray,NAME,"_d");var buffer,byteLength,length,klass,index=0,offset=0;if(isObject(data)){if(!(data instanceof $ArrayBuffer||"ArrayBuffer"==(klass=classof(data))||"SharedArrayBuffer"==klass))return TYPED_ARRAY in data?fromList(TypedArray,data):$from.call(TypedArray,data);buffer=data,offset=toOffset($offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError("Wrong length!");if((byteLength=$len-offset)<0)throw RangeError("Wrong length!")}else if((byteLength=toLength($length)*BYTES)+offset>$len)throw RangeError("Wrong length!");length=byteLength/BYTES}else length=toIndex(data),buffer=new $ArrayBuffer(byteLength=length*BYTES);for(hide(that,"_d",{b:buffer,o:offset,l:byteLength,e:length,v:new $DataView(buffer)});index<length;)addElement(that,index++)})),TypedArrayPrototype=TypedArray.prototype=create($TypedArrayPrototype$),hide(TypedArrayPrototype,"constructor",TypedArray)):fails((function(){TypedArray(1)}))&&fails((function(){new TypedArray(-1)}))&&$iterDetect((function(iter){new TypedArray,new TypedArray(null),new TypedArray(1.5),new TypedArray(iter)}),!0)||(TypedArray=wrapper((function(that,data,$offset,$length){var klass;return anInstance(that,TypedArray,NAME),isObject(data)?data instanceof $ArrayBuffer||"ArrayBuffer"==(klass=classof(data))||"SharedArrayBuffer"==klass?void 0!==$length?new Base(data,toOffset($offset,BYTES),$length):void 0!==$offset?new Base(data,toOffset($offset,BYTES)):new Base(data):TYPED_ARRAY in data?fromList(TypedArray,data):$from.call(TypedArray,data):new Base(toIndex(data))})),arrayForEach(TAC!==Function.prototype?gOPN(Base).concat(gOPN(TAC)):gOPN(Base),(function(key){key in TypedArray||hide(TypedArray,key,Base[key])})),TypedArray.prototype=TypedArrayPrototype,LIBRARY||(TypedArrayPrototype.constructor=TypedArray));var $nativeIterator=TypedArrayPrototype[ITERATOR],CORRECT_ITER_NAME=!!$nativeIterator&&("values"==$nativeIterator.name||null==$nativeIterator.name),$iterator=$iterators.values;hide(TypedArray,TYPED_CONSTRUCTOR,!0),hide(TypedArrayPrototype,TYPED_ARRAY,NAME),hide(TypedArrayPrototype,VIEW,!0),hide(TypedArrayPrototype,DEF_CONSTRUCTOR,TypedArray),(CLAMPED?new TypedArray(1)[TAG]==NAME:TAG in TypedArrayPrototype)||dP(TypedArrayPrototype,TAG,{get:function get(){return NAME}}),O[NAME]=TypedArray,$export($export.G+$export.W+$export.F*(TypedArray!=Base),O),$export($export.S,NAME,{BYTES_PER_ELEMENT:BYTES}),$export($export.S+$export.F*fails((function(){Base.of.call(TypedArray,1)})),NAME,{from:$from,of:$of}),"BYTES_PER_ELEMENT"in TypedArrayPrototype||hide(TypedArrayPrototype,"BYTES_PER_ELEMENT",BYTES),$export($export.P,NAME,proto),setSpecies(NAME),$export($export.P+$export.F*FORCED_SET,NAME,{set:$set}),$export($export.P+$export.F*!CORRECT_ITER_NAME,NAME,$iterators),LIBRARY||TypedArrayPrototype.toString==arrayToString||(TypedArrayPrototype.toString=arrayToString),$export($export.P+$export.F*fails((function(){new TypedArray(1).slice()})),NAME,{slice:$slice}),$export($export.P+$export.F*(fails((function(){return[1,2].toLocaleString()!=new TypedArray([1,2]).toLocaleString()}))||!fails((function(){TypedArrayPrototype.toLocaleString.call([1,2])}))),NAME,{toLocaleString:$toLocaleString}),Iterators[NAME]=CORRECT_ITER_NAME?$nativeIterator:$iterator,LIBRARY||CORRECT_ITER_NAME||hide(TypedArrayPrototype,ITERATOR,$iterator)}}else module.exports=function(){}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),DESCRIPTORS=__w_pdfjs_require__(10),LIBRARY=__w_pdfjs_require__(21),$typed=__w_pdfjs_require__(49),hide=__w_pdfjs_require__(8),redefineAll=__w_pdfjs_require__(23),fails=__w_pdfjs_require__(11),anInstance=__w_pdfjs_require__(24),toInteger=__w_pdfjs_require__(18),toLength=__w_pdfjs_require__(14),toIndex=__w_pdfjs_require__(50),gOPN=__w_pdfjs_require__(51).f,dP=__w_pdfjs_require__(15).f,arrayFill=__w_pdfjs_require__(55),setToStringTag=__w_pdfjs_require__(26),$ArrayBuffer=global.ArrayBuffer,$DataView=global.DataView,Math=global.Math,RangeError=global.RangeError,Infinity=global.Infinity,BaseBuffer=$ArrayBuffer,abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2,$BUFFER=DESCRIPTORS?"_b":"buffer",$LENGTH=DESCRIPTORS?"_l":"byteLength",$OFFSET=DESCRIPTORS?"_o":"byteOffset";function packIEEE754(value,mLen,nBytes){var e,m,c,buffer=new Array(nBytes),eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=23===mLen?pow(2,-24)-pow(2,-77):0,i=0,s=value<0||0===value&&1/value<0?1:0;for((value=abs(value))!=value||value===Infinity?(m=value!=value?1:0,e=eMax):(e=floor(log(value)/LN2),value*(c=pow(2,-e))<1&&(e--,c*=2),(value+=e+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*pow(2,mLen),e+=eBias):(m=value*pow(2,eBias-1)*pow(2,mLen),e=0));mLen>=8;buffer[i++]=255&m,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[i++]=255&e,e/=256,eLen-=8);return buffer[--i]|=128*s,buffer}function unpackIEEE754(buffer,mLen,nBytes){var m,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=eLen-7,i=nBytes-1,s=buffer[i--],e=127&s;for(s>>=7;nBits>0;e=256*e+buffer[i],i--,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=256*m+buffer[i],i--,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:s?-Infinity:Infinity;m+=pow(2,mLen),e-=eBias}return(s?-1:1)*m*pow(2,e-mLen)}function unpackI32(bytes){return bytes[3]<<24|bytes[2]<<16|bytes[1]<<8|bytes[0]}function packI8(it){return[255&it]}function packI16(it){return[255&it,it>>8&255]}function packI32(it){return[255&it,it>>8&255,it>>16&255,it>>24&255]}function packF64(it){return packIEEE754(it,52,8)}function packF32(it){return packIEEE754(it,23,4)}function addGetter(C,key,internal){dP(C.prototype,key,{get:function get(){return this[internal]}})}function get(view,bytes,index,isLittleEndian){var intIndex=toIndex(+index);if(intIndex+bytes>view[$LENGTH])throw RangeError("Wrong index!");var store=view[$BUFFER]._b,start=intIndex+view[$OFFSET],pack=store.slice(start,start+bytes);return isLittleEndian?pack:pack.reverse()}function set(view,bytes,index,conversion,value,isLittleEndian){var intIndex=toIndex(+index);if(intIndex+bytes>view[$LENGTH])throw RangeError("Wrong index!");for(var store=view[$BUFFER]._b,start=intIndex+view[$OFFSET],pack=conversion(+value),i=0;i<bytes;i++)store[start+i]=pack[isLittleEndian?i:bytes-i-1]}if($typed.ABV){if(!fails((function(){$ArrayBuffer(1)}))||!fails((function(){new $ArrayBuffer(-1)}))||fails((function(){return new $ArrayBuffer,new $ArrayBuffer(1.5),new $ArrayBuffer(NaN),"ArrayBuffer"!=$ArrayBuffer.name}))){for(var key,ArrayBufferProto=($ArrayBuffer=function ArrayBuffer(length){return anInstance(this,$ArrayBuffer),new BaseBuffer(toIndex(length))}).prototype=BaseBuffer.prototype,keys=gOPN(BaseBuffer),j=0;keys.length>j;)(key=keys[j++])in $ArrayBuffer||hide($ArrayBuffer,key,BaseBuffer[key]);LIBRARY||(ArrayBufferProto.constructor=$ArrayBuffer)}var view=new $DataView(new $ArrayBuffer(2)),$setInt8=$DataView.prototype.setInt8;view.setInt8(0,2147483648),view.setInt8(1,2147483649),!view.getInt8(0)&&view.getInt8(1)||redefineAll($DataView.prototype,{setInt8:function setInt8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)}},!0)}else $ArrayBuffer=function ArrayBuffer(length){anInstance(this,$ArrayBuffer,"ArrayBuffer");var byteLength=toIndex(length);this._b=arrayFill.call(new Array(byteLength),0),this[$LENGTH]=byteLength},$DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,$DataView,"DataView"),anInstance(buffer,$ArrayBuffer,"DataView");var bufferLength=buffer[$LENGTH],offset=toInteger(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset!");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length!");this[$BUFFER]=buffer,this[$OFFSET]=offset,this[$LENGTH]=byteLength},DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength","_l"),addGetter($DataView,"buffer","_b"),addGetter($DataView,"byteLength","_l"),addGetter($DataView,"byteOffset","_o")),redefineAll($DataView.prototype,{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))},getUint32:function getUint32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments[1]),23,4)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments[1]),52,8)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packF32,value,arguments[2])},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packF64,value,arguments[2])}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),hide($DataView.prototype,$typed.VIEW,!0),exports.ArrayBuffer=$ArrayBuffer,exports.DataView=$DataView},function(module,exports,__w_pdfjs_require__){"use strict";var dP=__w_pdfjs_require__(15),anObject=__w_pdfjs_require__(9),getKeys=__w_pdfjs_require__(41);module.exports=__w_pdfjs_require__(10)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var P,keys=getKeys(Properties),length=keys.length,i=0;length>i;)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__w_pdfjs_require__){"use strict";var speciesConstructor=__w_pdfjs_require__(92);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3),isArray=__w_pdfjs_require__(93),SPECIES=__w_pdfjs_require__(4)("species");module.exports=function(original){var C;return isArray(original)&&("function"!=typeof(C=original.constructor)||C!==Array&&!isArray(C.prototype)||(C=void 0),isObject(C)&&null===(C=C[SPECIES])&&(C=void 0)),void 0===C?Array:C}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__w_pdfjs_require__){"use strict";var UNSCOPABLES=__w_pdfjs_require__(4)("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&__w_pdfjs_require__(8)(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__w_pdfjs_require__){"use strict";var create=__w_pdfjs_require__(57),descriptor=__w_pdfjs_require__(29),setToStringTag=__w_pdfjs_require__(26),IteratorPrototype={};__w_pdfjs_require__(8)(IteratorPrototype,__w_pdfjs_require__(4)("iterator"),(function(){return this})),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__w_pdfjs_require__){"use strict";var toObject=__w_pdfjs_require__(19),toAbsoluteIndex=__w_pdfjs_require__(31),toLength=__w_pdfjs_require__(14);module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=toLength(O.length),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=Math.min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from<to&&to<from+count&&(inc=-1,from+=count-1,to+=count-1);count-- >0;)from in O?O[to]=O[from]:delete O[to],to+=inc,from+=inc;return O}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(99),module.exports=__w_pdfjs_require__(6).Number.isNaN},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7);$export($export.S,"Number",{isNaN:function isNaN(number){return number!=number}})},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(101),module.exports=__w_pdfjs_require__(6).Number.isInteger},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7);$export($export.S,"Number",{isInteger:__w_pdfjs_require__(102)})},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3),floor=Math.floor;module.exports=function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(66),__w_pdfjs_require__(104),__w_pdfjs_require__(67),__w_pdfjs_require__(106),__w_pdfjs_require__(111),__w_pdfjs_require__(112),module.exports=__w_pdfjs_require__(6).Promise},function(module,exports,__w_pdfjs_require__){"use strict";var $at=__w_pdfjs_require__(105)(!0);__w_pdfjs_require__(62)(String,"String",(function(iterated){this._t=String(iterated),this._i=0}),(function(){var point,O=this._t,index=this._i;return index>=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})}))},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(18),defined=__w_pdfjs_require__(38);module.exports=function(TO_STRING){return function(that,pos){var a,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return i<0||i>=l?TO_STRING?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__w_pdfjs_require__){"use strict";var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,LIBRARY=__w_pdfjs_require__(21),global=__w_pdfjs_require__(1),ctx=__w_pdfjs_require__(13),classof=__w_pdfjs_require__(32),$export=__w_pdfjs_require__(7),isObject=__w_pdfjs_require__(3),aFunction=__w_pdfjs_require__(22),anInstance=__w_pdfjs_require__(24),forOf=__w_pdfjs_require__(33),speciesConstructor=__w_pdfjs_require__(43),task=__w_pdfjs_require__(68).set,microtask=__w_pdfjs_require__(109)(),newPromiseCapabilityModule=__w_pdfjs_require__(45),perform=__w_pdfjs_require__(69),userAgent=__w_pdfjs_require__(110),promiseResolve=__w_pdfjs_require__(70),TypeError=global.TypeError,process=global.process,versions=process&&process.versions,v8=versions&&versions.v8||"",$Promise=global.Promise,isNode="process"==classof(process),empty=function empty(){},newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f,USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1),FakePromise=(promise.constructor={})[__w_pdfjs_require__(4)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise&&0!==v8.indexOf("6.6")&&-1===userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function isThenable(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function notify(promise,isReject){if(!promise._n){promise._n=!0;var chain=promise._c;microtask((function(){for(var value=promise._v,ok=1==promise._s,i=0,run=function run(reaction){var result,then,exited,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2==promise._h&&onHandleUnhandled(promise),promise._h=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){domain&&!exited&&domain.exit(),reject(e)}};chain.length>i;)run(chain[i++]);promise._c=[],promise._n=!1,isReject&&!promise._h&&onUnhandled(promise)}))}},onUnhandled=function onUnhandled(promise){task.call(global,(function(){var result,handler,console,value=promise._v,unhandled=isUnhandled(promise);if(unhandled&&(result=perform((function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)})),promise._h=isNode||isUnhandled(promise)?2:1),promise._a=void 0,unhandled&&result.e)throw result.v}))},isUnhandled=function isUnhandled(promise){return 1!==promise._h&&0===(promise._a||promise._c).length},onHandleUnhandled=function onHandleUnhandled(promise){task.call(global,(function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})}))},$reject=function $reject(value){var promise=this;promise._d||(promise._d=!0,(promise=promise._w||promise)._v=value,promise._s=2,promise._a||(promise._a=promise._c.slice()),notify(promise,!0))},$resolve=function $resolve(value){var then,promise=this;if(!promise._d){promise._d=!0,promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");(then=isThenable(value))?microtask((function(){var wrapper={_w:promise,_d:!1};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}})):(promise._v=value,promise._s=1,notify(promise,!1))}catch(e){$reject.call({_w:promise,_d:!1},e)}}};USE_NATIVE||($Promise=function Promise(executor){anInstance(this,$Promise,"Promise","_h"),aFunction(executor),Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}},(Internal=function Promise(executor){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=__w_pdfjs_require__(23)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=isNode?process.domain:void 0,this._c.push(reaction),this._a&&this._a.push(reaction),this._s&&notify(this,!1),reaction.promise},catch:function _catch(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function OwnPromiseCapability(){var promise=new Internal;this.promise=promise,this.resolve=ctx($resolve,promise,1),this.reject=ctx($reject,promise,1)},newPromiseCapabilityModule.f=newPromiseCapability=function newPromiseCapability(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise}),__w_pdfjs_require__(26)($Promise,"Promise"),__w_pdfjs_require__(63)("Promise"),Wrapper=__w_pdfjs_require__(6).Promise,$export($export.S+$export.F*!USE_NATIVE,"Promise",{reject:function reject(r){var capability=newPromiseCapability(this);return(0,capability.reject)(r),capability.promise}}),$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),"Promise",{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}}),$export($export.S+$export.F*!(USE_NATIVE&&__w_pdfjs_require__(44)((function(iter){$Promise.all(iter).catch(empty)}))),"Promise",{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var values=[],index=0,remaining=1;forOf(iterable,!1,(function(promise){var $index=index++,alreadyCalled=!1;values.push(void 0),remaining++,C.resolve(promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[$index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.e&&reject(result.v),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform((function(){forOf(iterable,!1,(function(promise){C.resolve(promise).then(capability.resolve,reject)}))}));return result.e&&reject(result.v),capability.promise}})},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(9);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),macrotask=__w_pdfjs_require__(68).set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__w_pdfjs_require__(25)(process);module.exports=function(){var head,last,notify,flush=function flush(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function notify(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function notify(){promise.then(flush)}}else notify=function notify(){macrotask.call(global,flush)};else{var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function notify(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},function(module,exports,__w_pdfjs_require__){"use strict";var navigator=__w_pdfjs_require__(1).navigator;module.exports=navigator&&navigator.userAgent||""},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7),core=__w_pdfjs_require__(6),global=__w_pdfjs_require__(1),speciesConstructor=__w_pdfjs_require__(43),promiseResolve=__w_pdfjs_require__(70);$export($export.P+$export.R,"Promise",{finally:function _finally(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then((function(){return x}))}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then((function(){throw e}))}:onFinally)}})},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7),newPromiseCapability=__w_pdfjs_require__(45),perform=__w_pdfjs_require__(69);$export($export.S,"Promise",{try:function _try(callbackfn){var promiseCapability=newPromiseCapability.f(this),result=perform(callbackfn);return(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v),promiseCapability.promise}})},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(66),__w_pdfjs_require__(67),__w_pdfjs_require__(114),__w_pdfjs_require__(121),__w_pdfjs_require__(123),module.exports=__w_pdfjs_require__(6).WeakMap},function(module,exports,__w_pdfjs_require__){"use strict";var InternalMap,each=__w_pdfjs_require__(42)(0),redefine=__w_pdfjs_require__(16),meta=__w_pdfjs_require__(46),assign=__w_pdfjs_require__(115),weak=__w_pdfjs_require__(117),isObject=__w_pdfjs_require__(3),fails=__w_pdfjs_require__(11),validate=__w_pdfjs_require__(71),getWeak=meta.getWeak,isExtensible=Object.isExtensible,uncaughtFrozenStore=weak.ufstore,tmp={},wrapper=function wrapper(get){return function WeakMap(){return get(this,arguments.length>0?arguments[0]:void 0)}},methods={get:function get(key){if(isObject(key)){var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,"WeakMap")).get(key):data?data[this._i]:void 0}},set:function set(key,value){return weak.def(validate(this,"WeakMap"),key,value)}},$WeakMap=module.exports=__w_pdfjs_require__(118)("WeakMap",wrapper,methods,weak,!0,!0);fails((function(){return 7!=(new $WeakMap).set((Object.freeze||Object)(tmp),7).get(tmp)}))&&(assign((InternalMap=weak.getConstructor(wrapper,"WeakMap")).prototype,methods),meta.NEED=!0,each(["delete","has","get","set"],(function(key){var proto=$WeakMap.prototype,method=proto[key];redefine(proto,key,(function(a,b){if(isObject(a)&&!isExtensible(a)){this._f||(this._f=new InternalMap);var result=this._f[key](a,b);return"set"==key?this:result}return method.call(this,a,b)}))})))},function(module,exports,__w_pdfjs_require__){"use strict";var getKeys=__w_pdfjs_require__(41),gOPS=__w_pdfjs_require__(116),pIE=__w_pdfjs_require__(65),toObject=__w_pdfjs_require__(19),IObject=__w_pdfjs_require__(37),$assign=Object.assign;module.exports=!$assign||__w_pdfjs_require__(11)((function(){var A={},B={},S=Symbol(),K="abcdefghijklmnopqrst";return A[S]=7,K.split("").forEach((function(k){B[k]=k})),7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K}))?function assign(target,source){for(var T=toObject(target),aLen=arguments.length,index=1,getSymbols=gOPS.f,isEnum=pIE.f;aLen>index;)for(var key,S=IObject(arguments[index++]),keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S),length=keys.length,j=0;length>j;)isEnum.call(S,key=keys[j++])&&(T[key]=S[key]);return T}:$assign},function(module,exports,__w_pdfjs_require__){"use strict";exports.f=Object.getOwnPropertySymbols},function(module,exports,__w_pdfjs_require__){"use strict";var redefineAll=__w_pdfjs_require__(23),getWeak=__w_pdfjs_require__(46).getWeak,anObject=__w_pdfjs_require__(9),isObject=__w_pdfjs_require__(3),anInstance=__w_pdfjs_require__(24),forOf=__w_pdfjs_require__(33),createArrayMethod=__w_pdfjs_require__(42),$has=__w_pdfjs_require__(12),validate=__w_pdfjs_require__(71),arrayFind=createArrayMethod(5),arrayFindIndex=createArrayMethod(6),id=0,uncaughtFrozenStore=function uncaughtFrozenStore(that){return that._l||(that._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function UncaughtFrozenStore(){this.a=[]},findUncaughtFrozen=function findUncaughtFrozen(store,key){return arrayFind(store.a,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function get(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function has(key){return!!findUncaughtFrozen(this,key)},set:function set(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.a.push([key,value])},delete:function _delete(key){var index=arrayFindIndex(this.a,(function(it){return it[0]===key}));return~index&&this.a.splice(index,1),!!~index}},module.exports={getConstructor:function getConstructor(wrapper,NAME,IS_MAP,ADDER){var C=wrapper((function(that,iterable){anInstance(that,C,NAME,"_i"),that._t=NAME,that._i=id++,that._l=void 0,null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)}));return redefineAll(C.prototype,{delete:function _delete(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).delete(key):data&&$has(data,this._i)&&delete data[this._i]},has:function has(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).has(key):data&&$has(data,this._i)}}),C},def:function def(that,key,value){var data=getWeak(anObject(key),!0);return!0===data?uncaughtFrozenStore(that).set(key,value):data[that._i]=value,that},ufstore:uncaughtFrozenStore}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),$export=__w_pdfjs_require__(7),redefine=__w_pdfjs_require__(16),redefineAll=__w_pdfjs_require__(23),meta=__w_pdfjs_require__(46),forOf=__w_pdfjs_require__(33),anInstance=__w_pdfjs_require__(24),isObject=__w_pdfjs_require__(3),fails=__w_pdfjs_require__(11),$iterDetect=__w_pdfjs_require__(44),setToStringTag=__w_pdfjs_require__(26),inheritIfRequired=__w_pdfjs_require__(119);module.exports=function(NAME,wrapper,methods,common,IS_MAP,IS_WEAK){var Base=global[NAME],C=Base,ADDER=IS_MAP?"set":"add",proto=C&&C.prototype,O={},fixMethod=function fixMethod(KEY){var fn=proto[KEY];redefine(proto,KEY,"delete"==KEY?function(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"has"==KEY?function has(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"get"==KEY?function get(a){return IS_WEAK&&!isObject(a)?void 0:fn.call(this,0===a?0:a)}:"add"==KEY?function add(a){return fn.call(this,0===a?0:a),this}:function set(a,b){return fn.call(this,0===a?0:a,b),this})};if("function"==typeof C&&(IS_WEAK||proto.forEach&&!fails((function(){(new C).entries().next()})))){var instance=new C,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=$iterDetect((function(iter){new C(iter)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new C,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((C=wrapper((function(target,iterable){anInstance(target,C,NAME);var that=inheritIfRequired(new Base,target,C);return null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that),that}))).prototype=proto,proto.constructor=C),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&proto.clear&&delete proto.clear}else C=common.getConstructor(wrapper,NAME,IS_MAP,ADDER),redefineAll(C.prototype,methods),meta.NEED=!0;return setToStringTag(C,NAME),O[NAME]=C,$export($export.G+$export.W+$export.F*(C!=Base),O),IS_WEAK||common.setStrong(C,NAME,IS_MAP),C}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3),setPrototypeOf=__w_pdfjs_require__(120).set;module.exports=function(that,target,C){var P,S=target.constructor;return S!==C&&"function"==typeof S&&(P=S.prototype)!==C.prototype&&isObject(P)&&setPrototypeOf&&setPrototypeOf(that,P),that}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(3),anObject=__w_pdfjs_require__(9),check=function check(O,proto){if(anObject(O),!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{(set=__w_pdfjs_require__(13)(Function.call,__w_pdfjs_require__(64).f(Object.prototype,"__proto__").set,2))(test,[]),buggy=!(test instanceof Array)}catch(e){buggy=!0}return function setPrototypeOf(O,proto){return check(O,proto),buggy?O.__proto__=proto:set(O,proto),O}}({},!1):void 0),check:check}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(122)("WeakMap")},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7);module.exports=function(COLLECTION){$export($export.S,COLLECTION,{of:function of(){for(var length=arguments.length,A=new Array(length);length--;)A[length]=arguments[length];return new this(A)}})}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(124)("WeakMap")},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(7),aFunction=__w_pdfjs_require__(22),ctx=__w_pdfjs_require__(13),forOf=__w_pdfjs_require__(33);module.exports=function(COLLECTION){$export($export.S,COLLECTION,{from:function from(source){var mapping,A,n,cb,mapFn=arguments[1];return aFunction(this),(mapping=void 0!==mapFn)&&aFunction(mapFn),null==source?new this:(A=[],mapping?(n=0,cb=ctx(mapFn,arguments[2],2),forOf(source,!1,(function(nextItem){A.push(cb(nextItem,n++))}))):forOf(source,!1,A.push,A),new this(A))}})}},function(module,exports,__w_pdfjs_require__){"use strict";var isReadableStreamSupported=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function start(controller){controller.close()}}),isReadableStreamSupported=!0}catch(e){}exports.ReadableStream=isReadableStreamSupported?ReadableStream:__w_pdfjs_require__(126).ReadableStream},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};!function(e,a){for(var i in a)e[i]=a[i]}(exports,function(modules){var installedModules={};function __w_pdfjs_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__w_pdfjs_require__),module.l=!0,module.exports}return __w_pdfjs_require__.m=modules,__w_pdfjs_require__.c=installedModules,__w_pdfjs_require__.i=function(value){return value},__w_pdfjs_require__.d=function(exports,name,getter){__w_pdfjs_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__w_pdfjs_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __w_pdfjs_require__.d(getter,"a",getter),getter},__w_pdfjs_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__w_pdfjs_require__.p="",__w_pdfjs_require__(__w_pdfjs_require__.s=7)}([function(module,exports,__w_pdfjs_require__){var _typeof="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return void 0===obj?"undefined":_typeof2(obj)}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":void 0===obj?"undefined":_typeof2(obj)},assert=__w_pdfjs_require__(1).assert;function IsPropertyKey(argument){return"string"==typeof argument||"symbol"===(void 0===argument?"undefined":_typeof(argument))}function Call(F,V,args){if("function"!=typeof F)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(F,V,args)}exports.typeIsObject=function(x){return"object"===(void 0===x?"undefined":_typeof(x))&&null!==x||"function"==typeof x},exports.createDataProperty=function(o,p,v){assert(exports.typeIsObject(o)),Object.defineProperty(o,p,{value:v,writable:!0,enumerable:!0,configurable:!0})},exports.createArrayFromList=function(elements){return elements.slice()},exports.ArrayBufferCopy=function(dest,destOffset,src,srcOffset,n){new Uint8Array(dest).set(new Uint8Array(src,srcOffset,n),destOffset)},exports.CreateIterResultObject=function(value,done){assert("boolean"==typeof done);var obj={};return Object.defineProperty(obj,"value",{value:value,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(obj,"done",{value:done,enumerable:!0,writable:!0,configurable:!0}),obj},exports.IsFiniteNonNegativeNumber=function(v){return!Number.isNaN(v)&&(v!==1/0&&!(v<0))},exports.InvokeOrNoop=function(O,P,args){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args));var method=O[P];if(void 0!==method)return Call(method,O,args)},exports.PromiseInvokeOrNoop=function(O,P,args){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args));try{return Promise.resolve(exports.InvokeOrNoop(O,P,args))}catch(returnValueE){return Promise.reject(returnValueE)}},exports.PromiseInvokeOrPerformFallback=function(O,P,args,F,argsF){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args)),assert(Array.isArray(argsF));var method=void 0;try{method=O[P]}catch(methodE){return Promise.reject(methodE)}if(void 0===method)return F.apply(null,argsF);try{return Promise.resolve(Call(method,O,args))}catch(e){return Promise.reject(e)}},exports.TransferArrayBuffer=function(O){return O.slice()},exports.ValidateAndNormalizeHighWaterMark=function(highWaterMark){if(highWaterMark=Number(highWaterMark),Number.isNaN(highWaterMark)||highWaterMark<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return highWaterMark},exports.ValidateAndNormalizeQueuingStrategy=function(size,highWaterMark){if(void 0!==size&&"function"!=typeof size)throw new TypeError("size property of a queuing strategy must be a function");return{size:size,highWaterMark:highWaterMark=exports.ValidateAndNormalizeHighWaterMark(highWaterMark)}}},function(module,exports,__w_pdfjs_require__){function AssertionError(message){this.name="AssertionError",this.message=message||"",this.stack=(new Error).stack}AssertionError.prototype=Object.create(Error.prototype),AssertionError.prototype.constructor=AssertionError,module.exports={rethrowAssertionErrorRejection:function rethrowAssertionErrorRejection(e){e&&e.constructor===AssertionError&&setTimeout((function(){throw e}),0)},AssertionError:AssertionError,assert:function assert(value,message){if(!value)throw new AssertionError(message)}}},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__w_pdfjs_require__(0),InvokeOrNoop=_require.InvokeOrNoop,PromiseInvokeOrNoop=_require.PromiseInvokeOrNoop,ValidateAndNormalizeQueuingStrategy=_require.ValidateAndNormalizeQueuingStrategy,typeIsObject=_require.typeIsObject,_require2=__w_pdfjs_require__(1),assert=_require2.assert,rethrowAssertionErrorRejection=_require2.rethrowAssertionErrorRejection,_require3=__w_pdfjs_require__(3),DequeueValue=_require3.DequeueValue,EnqueueValueWithSize=_require3.EnqueueValueWithSize,PeekQueueValue=_require3.PeekQueueValue,ResetQueue=_require3.ResetQueue,WritableStream=function(){function WritableStream(){var underlyingSink=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},size=_ref.size,_ref$highWaterMark=_ref.highWaterMark,highWaterMark=void 0===_ref$highWaterMark?1:_ref$highWaterMark;_classCallCheck(this,WritableStream),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1;var type=underlyingSink.type;if(void 0!==type)throw new RangeError("Invalid type is specified");this._writableStreamController=new WritableStreamDefaultController(this,underlyingSink,size,highWaterMark),this._writableStreamController.__startSteps()}return _createClass(WritableStream,[{key:"abort",value:function abort(reason){return!1===IsWritableStream(this)?Promise.reject(streamBrandCheckException("abort")):!0===IsWritableStreamLocked(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):WritableStreamAbort(this,reason)}},{key:"getWriter",value:function getWriter(){if(!1===IsWritableStream(this))throw streamBrandCheckException("getWriter");return AcquireWritableStreamDefaultWriter(this)}},{key:"locked",get:function get(){if(!1===IsWritableStream(this))throw streamBrandCheckException("locked");return IsWritableStreamLocked(this)}}]),WritableStream}();function AcquireWritableStreamDefaultWriter(stream){return new WritableStreamDefaultWriter(stream)}function IsWritableStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_writableStreamController")}function IsWritableStreamLocked(stream){return assert(!0===IsWritableStream(stream),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==stream._writer}function WritableStreamAbort(stream,reason){var state=stream._state;if("closed"===state)return Promise.resolve(void 0);if("errored"===state)return Promise.reject(stream._storedError);var error=new TypeError("Requested to abort");if(void 0!==stream._pendingAbortRequest)return Promise.reject(error);assert("writable"===state||"erroring"===state,"state must be writable or erroring");var wasAlreadyErroring=!1;"erroring"===state&&(wasAlreadyErroring=!0,reason=void 0);var promise=new Promise((function(resolve,reject){stream._pendingAbortRequest={_resolve:resolve,_reject:reject,_reason:reason,_wasAlreadyErroring:wasAlreadyErroring}}));return!1===wasAlreadyErroring&&WritableStreamStartErroring(stream,error),promise}function WritableStreamDealWithRejection(stream,error){var state=stream._state;"writable"!==state?(assert("erroring"===state),WritableStreamFinishErroring(stream)):WritableStreamStartErroring(stream,error)}function WritableStreamStartErroring(stream,reason){assert(void 0===stream._storedError,"stream._storedError === undefined"),assert("writable"===stream._state,"state must be writable");var controller=stream._writableStreamController;assert(void 0!==controller,"controller must not be undefined"),stream._state="erroring",stream._storedError=reason;var writer=stream._writer;void 0!==writer&&WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,reason),!1===WritableStreamHasOperationMarkedInFlight(stream)&&!0===controller._started&&WritableStreamFinishErroring(stream)}function WritableStreamFinishErroring(stream){assert("erroring"===stream._state,"stream._state === erroring"),assert(!1===WritableStreamHasOperationMarkedInFlight(stream),"WritableStreamHasOperationMarkedInFlight(stream) === false"),stream._state="errored",stream._writableStreamController.__errorSteps();for(var storedError=stream._storedError,i=0;i<stream._writeRequests.length;i++){stream._writeRequests[i]._reject(storedError)}if(stream._writeRequests=[],void 0!==stream._pendingAbortRequest){var abortRequest=stream._pendingAbortRequest;if(stream._pendingAbortRequest=void 0,!0===abortRequest._wasAlreadyErroring)return abortRequest._reject(storedError),void WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);stream._writableStreamController.__abortSteps(abortRequest._reason).then((function(){abortRequest._resolve(),WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}),(function(reason){abortRequest._reject(reason),WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}))}else WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}function WritableStreamFinishInFlightClose(stream){assert(void 0!==stream._inFlightCloseRequest),stream._inFlightCloseRequest._resolve(void 0),stream._inFlightCloseRequest=void 0;var state=stream._state;assert("writable"===state||"erroring"===state),"erroring"===state&&(stream._storedError=void 0,void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._resolve(),stream._pendingAbortRequest=void 0)),stream._state="closed";var writer=stream._writer;void 0!==writer&&function defaultWriterClosedPromiseResolve(writer){assert(void 0!==writer._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),assert(void 0!==writer._closedPromise_reject,"writer._closedPromise_reject !== undefined"),assert("pending"===writer._closedPromiseState,"writer._closedPromiseState is pending"),writer._closedPromise_resolve(void 0),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="resolved"}(writer),assert(void 0===stream._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),assert(void 0===stream._storedError,"stream._storedError === undefined")}function WritableStreamCloseQueuedOrInFlight(stream){return void 0!==stream._closeRequest||void 0!==stream._inFlightCloseRequest}function WritableStreamHasOperationMarkedInFlight(stream){return void 0!==stream._inFlightWriteRequest||void 0!==stream._inFlightCloseRequest}function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream){assert("errored"===stream._state,'_stream_.[[state]] is `"errored"`'),void 0!==stream._closeRequest&&(assert(void 0===stream._inFlightCloseRequest),stream._closeRequest._reject(stream._storedError),stream._closeRequest=void 0);var writer=stream._writer;void 0!==writer&&(defaultWriterClosedPromiseReject(writer,stream._storedError),writer._closedPromise.catch((function(){})))}function WritableStreamUpdateBackpressure(stream,backpressure){assert("writable"===stream._state),assert(!1===WritableStreamCloseQueuedOrInFlight(stream));var writer=stream._writer;void 0!==writer&&backpressure!==stream._backpressure&&(!0===backpressure?function defaultWriterReadyPromiseReset(writer){assert(void 0===writer._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),assert(void 0===writer._readyPromise_reject,"writer._readyPromise_reject === undefined"),writer._readyPromise=new Promise((function(resolve,reject){writer._readyPromise_resolve=resolve,writer._readyPromise_reject=reject})),writer._readyPromiseState="pending"}(writer):(assert(!1===backpressure),defaultWriterReadyPromiseResolve(writer))),stream._backpressure=backpressure}module.exports={AcquireWritableStreamDefaultWriter:AcquireWritableStreamDefaultWriter,IsWritableStream:IsWritableStream,IsWritableStreamLocked:IsWritableStreamLocked,WritableStream:WritableStream,WritableStreamAbort:WritableStreamAbort,WritableStreamDefaultControllerError:WritableStreamDefaultControllerError,WritableStreamDefaultWriterCloseWithErrorPropagation:function WritableStreamDefaultWriterCloseWithErrorPropagation(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream);var state=stream._state;if(!0===WritableStreamCloseQueuedOrInFlight(stream)||"closed"===state)return Promise.resolve();if("errored"===state)return Promise.reject(stream._storedError);return assert("writable"===state||"erroring"===state),WritableStreamDefaultWriterClose(writer)},WritableStreamDefaultWriterRelease:WritableStreamDefaultWriterRelease,WritableStreamDefaultWriterWrite:WritableStreamDefaultWriterWrite,WritableStreamCloseQueuedOrInFlight:WritableStreamCloseQueuedOrInFlight};var WritableStreamDefaultWriter=function(){function WritableStreamDefaultWriter(stream){if(_classCallCheck(this,WritableStreamDefaultWriter),!1===IsWritableStream(stream))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===IsWritableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=stream,stream._writer=this;var state=stream._state;if("writable"===state)!1===WritableStreamCloseQueuedOrInFlight(stream)&&!0===stream._backpressure?function defaultWriterReadyPromiseInitialize(writer){writer._readyPromise=new Promise((function(resolve,reject){writer._readyPromise_resolve=resolve,writer._readyPromise_reject=reject})),writer._readyPromiseState="pending"}(this):defaultWriterReadyPromiseInitializeAsResolved(this),defaultWriterClosedPromiseInitialize(this);else if("erroring"===state)defaultWriterReadyPromiseInitializeAsRejected(this,stream._storedError),this._readyPromise.catch((function(){})),defaultWriterClosedPromiseInitialize(this);else if("closed"===state)defaultWriterReadyPromiseInitializeAsResolved(this),function defaultWriterClosedPromiseInitializeAsResolved(writer){writer._closedPromise=Promise.resolve(void 0),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="resolved"}(this);else{assert("errored"===state,"state must be errored");var storedError=stream._storedError;defaultWriterReadyPromiseInitializeAsRejected(this,storedError),this._readyPromise.catch((function(){})),function defaultWriterClosedPromiseInitializeAsRejected(writer,reason){writer._closedPromise=Promise.reject(reason),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="rejected"}(this,storedError),this._closedPromise.catch((function(){}))}}return _createClass(WritableStreamDefaultWriter,[{key:"abort",value:function abort(reason){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("abort")):void 0===this._ownerWritableStream?Promise.reject(defaultWriterLockException("abort")):function WritableStreamDefaultWriterAbort(writer,reason){var stream=writer._ownerWritableStream;return assert(void 0!==stream),WritableStreamAbort(stream,reason)}(this,reason)}},{key:"close",value:function close(){if(!1===IsWritableStreamDefaultWriter(this))return Promise.reject(defaultWriterBrandCheckException("close"));var stream=this._ownerWritableStream;return void 0===stream?Promise.reject(defaultWriterLockException("close")):!0===WritableStreamCloseQueuedOrInFlight(stream)?Promise.reject(new TypeError("cannot close an already-closing stream")):WritableStreamDefaultWriterClose(this)}},{key:"releaseLock",value:function releaseLock(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("releaseLock");var stream=this._ownerWritableStream;void 0!==stream&&(assert(void 0!==stream._writer),WritableStreamDefaultWriterRelease(this))}},{key:"write",value:function write(chunk){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("write")):void 0===this._ownerWritableStream?Promise.reject(defaultWriterLockException("write to")):WritableStreamDefaultWriterWrite(this,chunk)}},{key:"closed",get:function get(){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("closed")):this._closedPromise}},{key:"desiredSize",get:function get(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("desiredSize");if(void 0===this._ownerWritableStream)throw defaultWriterLockException("desiredSize");return function WritableStreamDefaultWriterGetDesiredSize(writer){var stream=writer._ownerWritableStream,state=stream._state;if("errored"===state||"erroring"===state)return null;if("closed"===state)return 0;return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController)}(this)}},{key:"ready",get:function get(){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("ready")):this._readyPromise}}]),WritableStreamDefaultWriter}();function IsWritableStreamDefaultWriter(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_ownerWritableStream")}function WritableStreamDefaultWriterClose(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream);var state=stream._state;if("closed"===state||"errored"===state)return Promise.reject(new TypeError("The stream (in "+state+" state) is not in the writable state and cannot be closed"));assert("writable"===state||"erroring"===state),assert(!1===WritableStreamCloseQueuedOrInFlight(stream));var promise=new Promise((function(resolve,reject){var closeRequest={_resolve:resolve,_reject:reject};stream._closeRequest=closeRequest}));return!0===stream._backpressure&&"writable"===state&&defaultWriterReadyPromiseResolve(writer),function WritableStreamDefaultControllerClose(controller){EnqueueValueWithSize(controller,"close",0),WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}(stream._writableStreamController),promise}function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer,error){"pending"===writer._closedPromiseState?defaultWriterClosedPromiseReject(writer,error):function defaultWriterClosedPromiseResetToRejected(writer,reason){assert(void 0===writer._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),assert(void 0===writer._closedPromise_reject,"writer._closedPromise_reject === undefined"),assert("pending"!==writer._closedPromiseState,"writer._closedPromiseState is not pending"),writer._closedPromise=Promise.reject(reason),writer._closedPromiseState="rejected"}(writer,error),writer._closedPromise.catch((function(){}))}function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,error){"pending"===writer._readyPromiseState?function defaultWriterReadyPromiseReject(writer,reason){assert(void 0!==writer._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),assert(void 0!==writer._readyPromise_reject,"writer._readyPromise_reject !== undefined"),writer._readyPromise_reject(reason),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="rejected"}(writer,error):function defaultWriterReadyPromiseResetToRejected(writer,reason){assert(void 0===writer._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),assert(void 0===writer._readyPromise_reject,"writer._readyPromise_reject === undefined"),writer._readyPromise=Promise.reject(reason),writer._readyPromiseState="rejected"}(writer,error),writer._readyPromise.catch((function(){}))}function WritableStreamDefaultWriterRelease(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream),assert(stream._writer===writer);var releasedError=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,releasedError),WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer,releasedError),stream._writer=void 0,writer._ownerWritableStream=void 0}function WritableStreamDefaultWriterWrite(writer,chunk){var stream=writer._ownerWritableStream;assert(void 0!==stream);var controller=stream._writableStreamController,chunkSize=function WritableStreamDefaultControllerGetChunkSize(controller,chunk){var strategySize=controller._strategySize;if(void 0===strategySize)return 1;try{return strategySize(chunk)}catch(chunkSizeE){return WritableStreamDefaultControllerErrorIfNeeded(controller,chunkSizeE),1}}(controller,chunk);if(stream!==writer._ownerWritableStream)return Promise.reject(defaultWriterLockException("write to"));var state=stream._state;if("errored"===state)return Promise.reject(stream._storedError);if(!0===WritableStreamCloseQueuedOrInFlight(stream)||"closed"===state)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===state)return Promise.reject(stream._storedError);assert("writable"===state);var promise=function WritableStreamAddWriteRequest(stream){return assert(!0===IsWritableStreamLocked(stream)),assert("writable"===stream._state),new Promise((function(resolve,reject){var writeRequest={_resolve:resolve,_reject:reject};stream._writeRequests.push(writeRequest)}))}(stream);return function WritableStreamDefaultControllerWrite(controller,chunk,chunkSize){var writeRecord={chunk:chunk};try{EnqueueValueWithSize(controller,writeRecord,chunkSize)}catch(enqueueE){return void WritableStreamDefaultControllerErrorIfNeeded(controller,enqueueE)}var stream=controller._controlledWritableStream;if(!1===WritableStreamCloseQueuedOrInFlight(stream)&&"writable"===stream._state){WritableStreamUpdateBackpressure(stream,WritableStreamDefaultControllerGetBackpressure(controller))}WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}(controller,chunk,chunkSize),promise}var WritableStreamDefaultController=function(){function WritableStreamDefaultController(stream,underlyingSink,size,highWaterMark){if(_classCallCheck(this,WritableStreamDefaultController),!1===IsWritableStream(stream))throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==stream._writableStreamController)throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=stream,this._underlyingSink=underlyingSink,this._queue=void 0,this._queueTotalSize=void 0,ResetQueue(this),this._started=!1;var normalizedStrategy=ValidateAndNormalizeQueuingStrategy(size,highWaterMark);this._strategySize=normalizedStrategy.size,this._strategyHWM=normalizedStrategy.highWaterMark,WritableStreamUpdateBackpressure(stream,WritableStreamDefaultControllerGetBackpressure(this))}return _createClass(WritableStreamDefaultController,[{key:"error",value:function error(e){if(!1===function IsWritableStreamDefaultController(x){if(!typeIsObject(x))return!1;if(!Object.prototype.hasOwnProperty.call(x,"_underlyingSink"))return!1;return!0}(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&WritableStreamDefaultControllerError(this,e)}},{key:"__abortSteps",value:function __abortSteps(reason){return PromiseInvokeOrNoop(this._underlyingSink,"abort",[reason])}},{key:"__errorSteps",value:function __errorSteps(){ResetQueue(this)}},{key:"__startSteps",value:function __startSteps(){var _this=this,startResult=InvokeOrNoop(this._underlyingSink,"start",[this]),stream=this._controlledWritableStream;Promise.resolve(startResult).then((function(){assert("writable"===stream._state||"erroring"===stream._state),_this._started=!0,WritableStreamDefaultControllerAdvanceQueueIfNeeded(_this)}),(function(r){assert("writable"===stream._state||"erroring"===stream._state),_this._started=!0,WritableStreamDealWithRejection(stream,r)})).catch(rethrowAssertionErrorRejection)}}]),WritableStreamDefaultController}();function WritableStreamDefaultControllerGetDesiredSize(controller){return controller._strategyHWM-controller._queueTotalSize}function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller){var stream=controller._controlledWritableStream;if(!1!==controller._started&&void 0===stream._inFlightWriteRequest){var state=stream._state;if("closed"!==state&&"errored"!==state)if("erroring"!==state){if(0!==controller._queue.length){var writeRecord=PeekQueueValue(controller);"close"===writeRecord?function WritableStreamDefaultControllerProcessClose(controller){var stream=controller._controlledWritableStream;(function WritableStreamMarkCloseRequestInFlight(stream){assert(void 0===stream._inFlightCloseRequest),assert(void 0!==stream._closeRequest),stream._inFlightCloseRequest=stream._closeRequest,stream._closeRequest=void 0})(stream),DequeueValue(controller),assert(0===controller._queue.length,"queue must be empty once the final write record is dequeued"),PromiseInvokeOrNoop(controller._underlyingSink,"close",[]).then((function(){WritableStreamFinishInFlightClose(stream)}),(function(reason){!function WritableStreamFinishInFlightCloseWithError(stream,error){assert(void 0!==stream._inFlightCloseRequest),stream._inFlightCloseRequest._reject(error),stream._inFlightCloseRequest=void 0,assert("writable"===stream._state||"erroring"===stream._state),void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._reject(error),stream._pendingAbortRequest=void 0),WritableStreamDealWithRejection(stream,error)}(stream,reason)})).catch(rethrowAssertionErrorRejection)}(controller):function WritableStreamDefaultControllerProcessWrite(controller,chunk){var stream=controller._controlledWritableStream;(function WritableStreamMarkFirstWriteRequestInFlight(stream){assert(void 0===stream._inFlightWriteRequest,"there must be no pending write request"),assert(0!==stream._writeRequests.length,"writeRequests must not be empty"),stream._inFlightWriteRequest=stream._writeRequests.shift()})(stream),PromiseInvokeOrNoop(controller._underlyingSink,"write",[chunk,controller]).then((function(){!function WritableStreamFinishInFlightWrite(stream){assert(void 0!==stream._inFlightWriteRequest),stream._inFlightWriteRequest._resolve(void 0),stream._inFlightWriteRequest=void 0}(stream);var state=stream._state;if(assert("writable"===state||"erroring"===state),DequeueValue(controller),!1===WritableStreamCloseQueuedOrInFlight(stream)&&"writable"===state){var backpressure=WritableStreamDefaultControllerGetBackpressure(controller);WritableStreamUpdateBackpressure(stream,backpressure)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}),(function(reason){!function WritableStreamFinishInFlightWriteWithError(stream,error){assert(void 0!==stream._inFlightWriteRequest),stream._inFlightWriteRequest._reject(error),stream._inFlightWriteRequest=void 0,assert("writable"===stream._state||"erroring"===stream._state),WritableStreamDealWithRejection(stream,error)}(stream,reason)})).catch(rethrowAssertionErrorRejection)}(controller,writeRecord.chunk)}}else WritableStreamFinishErroring(stream)}}function WritableStreamDefaultControllerErrorIfNeeded(controller,error){"writable"===controller._controlledWritableStream._state&&WritableStreamDefaultControllerError(controller,error)}function WritableStreamDefaultControllerGetBackpressure(controller){return WritableStreamDefaultControllerGetDesiredSize(controller)<=0}function WritableStreamDefaultControllerError(controller,error){var stream=controller._controlledWritableStream;assert("writable"===stream._state),WritableStreamStartErroring(stream,error)}function streamBrandCheckException(name){return new TypeError("WritableStream.prototype."+name+" can only be used on a WritableStream")}function defaultWriterBrandCheckException(name){return new TypeError("WritableStreamDefaultWriter.prototype."+name+" can only be used on a WritableStreamDefaultWriter")}function defaultWriterLockException(name){return new TypeError("Cannot "+name+" a stream using a released writer")}function defaultWriterClosedPromiseInitialize(writer){writer._closedPromise=new Promise((function(resolve,reject){writer._closedPromise_resolve=resolve,writer._closedPromise_reject=reject,writer._closedPromiseState="pending"}))}function defaultWriterClosedPromiseReject(writer,reason){assert(void 0!==writer._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),assert(void 0!==writer._closedPromise_reject,"writer._closedPromise_reject !== undefined"),assert("pending"===writer._closedPromiseState,"writer._closedPromiseState is pending"),writer._closedPromise_reject(reason),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="rejected"}function defaultWriterReadyPromiseInitializeAsRejected(writer,reason){writer._readyPromise=Promise.reject(reason),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="rejected"}function defaultWriterReadyPromiseInitializeAsResolved(writer){writer._readyPromise=Promise.resolve(void 0),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="fulfilled"}function defaultWriterReadyPromiseResolve(writer){assert(void 0!==writer._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),assert(void 0!==writer._readyPromise_reject,"writer._readyPromise_reject !== undefined"),writer._readyPromise_resolve(void 0),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="fulfilled"}},function(module,exports,__w_pdfjs_require__){var IsFiniteNonNegativeNumber=__w_pdfjs_require__(0).IsFiniteNonNegativeNumber,assert=__w_pdfjs_require__(1).assert;exports.DequeueValue=function(container){assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),assert(container._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var pair=container._queue.shift();return container._queueTotalSize-=pair.size,container._queueTotalSize<0&&(container._queueTotalSize=0),pair.value},exports.EnqueueValueWithSize=function(container,value,size){if(assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),size=Number(size),!IsFiniteNonNegativeNumber(size))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");container._queue.push({value:value,size:size}),container._queueTotalSize+=size},exports.PeekQueueValue=function(container){return assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),assert(container._queue.length>0,"Spec-level failure: should never peek at an empty queue."),container._queue[0].value},exports.ResetQueue=function(container){assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),container._queue=[],container._queueTotalSize=0}},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__w_pdfjs_require__(0),ArrayBufferCopy=_require.ArrayBufferCopy,CreateIterResultObject=_require.CreateIterResultObject,IsFiniteNonNegativeNumber=_require.IsFiniteNonNegativeNumber,InvokeOrNoop=_require.InvokeOrNoop,PromiseInvokeOrNoop=_require.PromiseInvokeOrNoop,TransferArrayBuffer=_require.TransferArrayBuffer,ValidateAndNormalizeQueuingStrategy=_require.ValidateAndNormalizeQueuingStrategy,ValidateAndNormalizeHighWaterMark=_require.ValidateAndNormalizeHighWaterMark,_require2=__w_pdfjs_require__(0),createArrayFromList=_require2.createArrayFromList,createDataProperty=_require2.createDataProperty,typeIsObject=_require2.typeIsObject,_require3=__w_pdfjs_require__(1),assert=_require3.assert,rethrowAssertionErrorRejection=_require3.rethrowAssertionErrorRejection,_require4=__w_pdfjs_require__(3),DequeueValue=_require4.DequeueValue,EnqueueValueWithSize=_require4.EnqueueValueWithSize,ResetQueue=_require4.ResetQueue,_require5=__w_pdfjs_require__(2),AcquireWritableStreamDefaultWriter=_require5.AcquireWritableStreamDefaultWriter,IsWritableStream=_require5.IsWritableStream,IsWritableStreamLocked=_require5.IsWritableStreamLocked,WritableStreamAbort=_require5.WritableStreamAbort,WritableStreamDefaultWriterCloseWithErrorPropagation=_require5.WritableStreamDefaultWriterCloseWithErrorPropagation,WritableStreamDefaultWriterRelease=_require5.WritableStreamDefaultWriterRelease,WritableStreamDefaultWriterWrite=_require5.WritableStreamDefaultWriterWrite,WritableStreamCloseQueuedOrInFlight=_require5.WritableStreamCloseQueuedOrInFlight,ReadableStream=function(){function ReadableStream(){var underlyingSource=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},size=_ref.size,highWaterMark=_ref.highWaterMark;_classCallCheck(this,ReadableStream),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var type=underlyingSource.type,typeString=String(type);if("bytes"===typeString)void 0===highWaterMark&&(highWaterMark=0),this._readableStreamController=new ReadableByteStreamController(this,underlyingSource,highWaterMark);else{if(void 0!==type)throw new RangeError("Invalid type is specified");void 0===highWaterMark&&(highWaterMark=1),this._readableStreamController=new ReadableStreamDefaultController(this,underlyingSource,size,highWaterMark)}}return _createClass(ReadableStream,[{key:"cancel",value:function cancel(reason){return!1===IsReadableStream(this)?Promise.reject(streamBrandCheckException("cancel")):!0===IsReadableStreamLocked(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):ReadableStreamCancel(this,reason)}},{key:"getReader",value:function getReader(){var _ref2=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},mode=_ref2.mode;if(!1===IsReadableStream(this))throw streamBrandCheckException("getReader");if(void 0===mode)return AcquireReadableStreamDefaultReader(this);if("byob"===(mode=String(mode)))return AcquireReadableStreamBYOBReader(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function pipeThrough(_ref3,options){var writable=_ref3.writable,readable=_ref3.readable;return function ifIsObjectAndHasAPromiseIsHandledInternalSlotSetPromiseIsHandledToTrue(promise){try{Promise.prototype.then.call(promise,void 0,(function(){}))}catch(e){}}(this.pipeTo(writable,options)),readable}},{key:"pipeTo",value:function pipeTo(dest){var _this=this,_ref4=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},preventClose=_ref4.preventClose,preventAbort=_ref4.preventAbort,preventCancel=_ref4.preventCancel;if(!1===IsReadableStream(this))return Promise.reject(streamBrandCheckException("pipeTo"));if(!1===IsWritableStream(dest))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(preventClose=Boolean(preventClose),preventAbort=Boolean(preventAbort),preventCancel=Boolean(preventCancel),!0===IsReadableStreamLocked(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===IsWritableStreamLocked(dest))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var reader=AcquireReadableStreamDefaultReader(this),writer=AcquireWritableStreamDefaultWriter(dest),shuttingDown=!1,currentWrite=Promise.resolve();return new Promise((function(resolve,reject){if(isOrBecomesErrored(_this,reader._closedPromise,(function(storedError){!1===preventAbort?shutdownWithAction((function(){return WritableStreamAbort(dest,storedError)}),!0,storedError):shutdown(!0,storedError)})),isOrBecomesErrored(dest,writer._closedPromise,(function(storedError){!1===preventCancel?shutdownWithAction((function(){return ReadableStreamCancel(_this,storedError)}),!0,storedError):shutdown(!0,storedError)})),function isOrBecomesClosed(stream,promise,action){"closed"===stream._state?action():promise.then(action).catch(rethrowAssertionErrorRejection)}(_this,reader._closedPromise,(function(){!1===preventClose?shutdownWithAction((function(){return WritableStreamDefaultWriterCloseWithErrorPropagation(writer)})):shutdown()})),!0===WritableStreamCloseQueuedOrInFlight(dest)||"closed"===dest._state){var destClosed=new TypeError("the destination writable stream closed before all data could be piped to it");!1===preventCancel?shutdownWithAction((function(){return ReadableStreamCancel(_this,destClosed)}),!0,destClosed):shutdown(!0,destClosed)}function waitForWritesToFinish(){var oldCurrentWrite=currentWrite;return currentWrite.then((function(){return oldCurrentWrite!==currentWrite?waitForWritesToFinish():void 0}))}function isOrBecomesErrored(stream,promise,action){"errored"===stream._state?action(stream._storedError):promise.catch(action).catch(rethrowAssertionErrorRejection)}function shutdownWithAction(action,originalIsError,originalError){function doTheRest(){action().then((function(){return finalize(originalIsError,originalError)}),(function(newError){return finalize(!0,newError)})).catch(rethrowAssertionErrorRejection)}!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===WritableStreamCloseQueuedOrInFlight(dest)?waitForWritesToFinish().then(doTheRest):doTheRest())}function shutdown(isError,error){!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===WritableStreamCloseQueuedOrInFlight(dest)?waitForWritesToFinish().then((function(){return finalize(isError,error)})).catch(rethrowAssertionErrorRejection):finalize(isError,error))}function finalize(isError,error){WritableStreamDefaultWriterRelease(writer),ReadableStreamReaderGenericRelease(reader),isError?reject(error):resolve(void 0)}(function pipeLoop(){return currentWrite=Promise.resolve(),!0===shuttingDown?Promise.resolve():writer._readyPromise.then((function(){return ReadableStreamDefaultReaderRead(reader).then((function(_ref5){var value=_ref5.value;!0!==_ref5.done&&(currentWrite=WritableStreamDefaultWriterWrite(writer,value).catch((function(){})))}))})).then(pipeLoop)})().catch((function(err){currentWrite=Promise.resolve(),rethrowAssertionErrorRejection(err)}))}))}},{key:"tee",value:function tee(){if(!1===IsReadableStream(this))throw streamBrandCheckException("tee");var branches=ReadableStreamTee(this,!1);return createArrayFromList(branches)}},{key:"locked",get:function get(){if(!1===IsReadableStream(this))throw streamBrandCheckException("locked");return IsReadableStreamLocked(this)}}]),ReadableStream}();function AcquireReadableStreamBYOBReader(stream){return new ReadableStreamBYOBReader(stream)}function AcquireReadableStreamDefaultReader(stream){return new ReadableStreamDefaultReader(stream)}function IsReadableStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readableStreamController")}function IsReadableStreamLocked(stream){return assert(!0===IsReadableStream(stream),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==stream._reader}function ReadableStreamTee(stream,cloneForBranch2){assert(!0===IsReadableStream(stream)),assert("boolean"==typeof cloneForBranch2);var reader=AcquireReadableStreamDefaultReader(stream),teeState={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0};teeState.promise=new Promise((function(resolve){teeState._resolve=resolve}));var pull=function create_ReadableStreamTeePullFunction(){function f(){var reader=f._reader,branch1=f._branch1,branch2=f._branch2,teeState=f._teeState;return ReadableStreamDefaultReaderRead(reader).then((function(result){assert(typeIsObject(result));var value=result.value,done=result.done;if(assert("boolean"==typeof done),!0===done&&!1===teeState.closedOrErrored&&(!1===teeState.canceled1&&ReadableStreamDefaultControllerClose(branch1),!1===teeState.canceled2&&ReadableStreamDefaultControllerClose(branch2),teeState.closedOrErrored=!0),!0!==teeState.closedOrErrored){var value1=value,value2=value;!1===teeState.canceled1&&ReadableStreamDefaultControllerEnqueue(branch1,value1),!1===teeState.canceled2&&ReadableStreamDefaultControllerEnqueue(branch2,value2)}}))}return f}();pull._reader=reader,pull._teeState=teeState,pull._cloneForBranch2=cloneForBranch2;var cancel1=function create_ReadableStreamTeeBranch1CancelFunction(){function f(reason){var stream=f._stream,teeState=f._teeState;if(teeState.canceled1=!0,teeState.reason1=reason,!0===teeState.canceled2){var cancelResult=ReadableStreamCancel(stream,createArrayFromList([teeState.reason1,teeState.reason2]));teeState._resolve(cancelResult)}return teeState.promise}return f}();cancel1._stream=stream,cancel1._teeState=teeState;var cancel2=function create_ReadableStreamTeeBranch2CancelFunction(){function f(reason){var stream=f._stream,teeState=f._teeState;if(teeState.canceled2=!0,teeState.reason2=reason,!0===teeState.canceled1){var cancelResult=ReadableStreamCancel(stream,createArrayFromList([teeState.reason1,teeState.reason2]));teeState._resolve(cancelResult)}return teeState.promise}return f}();cancel2._stream=stream,cancel2._teeState=teeState;var underlyingSource1=Object.create(Object.prototype);createDataProperty(underlyingSource1,"pull",pull),createDataProperty(underlyingSource1,"cancel",cancel1);var branch1Stream=new ReadableStream(underlyingSource1),underlyingSource2=Object.create(Object.prototype);createDataProperty(underlyingSource2,"pull",pull),createDataProperty(underlyingSource2,"cancel",cancel2);var branch2Stream=new ReadableStream(underlyingSource2);return pull._branch1=branch1Stream._readableStreamController,pull._branch2=branch2Stream._readableStreamController,reader._closedPromise.catch((function(r){!0!==teeState.closedOrErrored&&(ReadableStreamDefaultControllerError(pull._branch1,r),ReadableStreamDefaultControllerError(pull._branch2,r),teeState.closedOrErrored=!0)})),[branch1Stream,branch2Stream]}function ReadableStreamAddReadIntoRequest(stream){return assert(!0===IsReadableStreamBYOBReader(stream._reader)),assert("readable"===stream._state||"closed"===stream._state),new Promise((function(resolve,reject){var readIntoRequest={_resolve:resolve,_reject:reject};stream._reader._readIntoRequests.push(readIntoRequest)}))}function ReadableStreamAddReadRequest(stream){return assert(!0===IsReadableStreamDefaultReader(stream._reader)),assert("readable"===stream._state),new Promise((function(resolve,reject){var readRequest={_resolve:resolve,_reject:reject};stream._reader._readRequests.push(readRequest)}))}function ReadableStreamCancel(stream,reason){return stream._disturbed=!0,"closed"===stream._state?Promise.resolve(void 0):"errored"===stream._state?Promise.reject(stream._storedError):(ReadableStreamClose(stream),stream._readableStreamController.__cancelSteps(reason).then((function(){})))}function ReadableStreamClose(stream){assert("readable"===stream._state),stream._state="closed";var reader=stream._reader;if(void 0!==reader){if(!0===IsReadableStreamDefaultReader(reader)){for(var i=0;i<reader._readRequests.length;i++){(0,reader._readRequests[i]._resolve)(CreateIterResultObject(void 0,!0))}reader._readRequests=[]}!function defaultReaderClosedPromiseResolve(reader){assert(void 0!==reader._closedPromise_resolve),assert(void 0!==reader._closedPromise_reject),reader._closedPromise_resolve(void 0),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader)}}function ReadableStreamError(stream,e){assert(!0===IsReadableStream(stream),"stream must be ReadableStream"),assert("readable"===stream._state,"state must be readable"),stream._state="errored",stream._storedError=e;var reader=stream._reader;if(void 0!==reader){if(!0===IsReadableStreamDefaultReader(reader)){for(var i=0;i<reader._readRequests.length;i++){reader._readRequests[i]._reject(e)}reader._readRequests=[]}else{assert(IsReadableStreamBYOBReader(reader),"reader must be ReadableStreamBYOBReader");for(var _i=0;_i<reader._readIntoRequests.length;_i++){reader._readIntoRequests[_i]._reject(e)}reader._readIntoRequests=[]}defaultReaderClosedPromiseReject(reader,e),reader._closedPromise.catch((function(){}))}}function ReadableStreamFulfillReadRequest(stream,chunk,done){var reader=stream._reader;assert(reader._readRequests.length>0),reader._readRequests.shift()._resolve(CreateIterResultObject(chunk,done))}function ReadableStreamGetNumReadIntoRequests(stream){return stream._reader._readIntoRequests.length}function ReadableStreamGetNumReadRequests(stream){return stream._reader._readRequests.length}function ReadableStreamHasBYOBReader(stream){var reader=stream._reader;return void 0!==reader&&!1!==IsReadableStreamBYOBReader(reader)}function ReadableStreamHasDefaultReader(stream){var reader=stream._reader;return void 0!==reader&&!1!==IsReadableStreamDefaultReader(reader)}module.exports={ReadableStream:ReadableStream,IsReadableStreamDisturbed:function IsReadableStreamDisturbed(stream){return assert(!0===IsReadableStream(stream),"IsReadableStreamDisturbed should only be used on known readable streams"),stream._disturbed},ReadableStreamDefaultControllerClose:ReadableStreamDefaultControllerClose,ReadableStreamDefaultControllerEnqueue:ReadableStreamDefaultControllerEnqueue,ReadableStreamDefaultControllerError:ReadableStreamDefaultControllerError,ReadableStreamDefaultControllerGetDesiredSize:ReadableStreamDefaultControllerGetDesiredSize};var ReadableStreamDefaultReader=function(){function ReadableStreamDefaultReader(stream){if(_classCallCheck(this,ReadableStreamDefaultReader),!1===IsReadableStream(stream))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ReadableStreamReaderGenericInitialize(this,stream),this._readRequests=[]}return _createClass(ReadableStreamDefaultReader,[{key:"cancel",value:function cancel(reason){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("cancel")):void 0===this._ownerReadableStream?Promise.reject(readerLockException("cancel")):ReadableStreamReaderGenericCancel(this,reason)}},{key:"read",value:function read(){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("read")):void 0===this._ownerReadableStream?Promise.reject(readerLockException("read from")):ReadableStreamDefaultReaderRead(this)}},{key:"releaseLock",value:function releaseLock(){if(!1===IsReadableStreamDefaultReader(this))throw defaultReaderBrandCheckException("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ReadableStreamReaderGenericRelease(this)}}},{key:"closed",get:function get(){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("closed")):this._closedPromise}}]),ReadableStreamDefaultReader}(),ReadableStreamBYOBReader=function(){function ReadableStreamBYOBReader(stream){if(_classCallCheck(this,ReadableStreamBYOBReader),!IsReadableStream(stream))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===IsReadableByteStreamController(stream._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ReadableStreamReaderGenericInitialize(this,stream),this._readIntoRequests=[]}return _createClass(ReadableStreamBYOBReader,[{key:"cancel",value:function cancel(reason){return IsReadableStreamBYOBReader(this)?void 0===this._ownerReadableStream?Promise.reject(readerLockException("cancel")):ReadableStreamReaderGenericCancel(this,reason):Promise.reject(byobReaderBrandCheckException("cancel"))}},{key:"read",value:function read(view){return IsReadableStreamBYOBReader(this)?void 0===this._ownerReadableStream?Promise.reject(readerLockException("read from")):ArrayBuffer.isView(view)?0===view.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):function ReadableStreamBYOBReaderRead(reader,view){var stream=reader._ownerReadableStream;if(assert(void 0!==stream),stream._disturbed=!0,"errored"===stream._state)return Promise.reject(stream._storedError);return function ReadableByteStreamControllerPullInto(controller,view){var stream=controller._controlledReadableStream,elementSize=1;view.constructor!==DataView&&(elementSize=view.constructor.BYTES_PER_ELEMENT);var ctor=view.constructor,pullIntoDescriptor={buffer:view.buffer,byteOffset:view.byteOffset,byteLength:view.byteLength,bytesFilled:0,elementSize:elementSize,ctor:ctor,readerType:"byob"};if(controller._pendingPullIntos.length>0)return pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),controller._pendingPullIntos.push(pullIntoDescriptor),ReadableStreamAddReadIntoRequest(stream);if("closed"===stream._state){var emptyView=new view.constructor(pullIntoDescriptor.buffer,pullIntoDescriptor.byteOffset,0);return Promise.resolve(CreateIterResultObject(emptyView,!0))}if(controller._queueTotalSize>0){if(!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor)){var filledView=ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);return ReadableByteStreamControllerHandleQueueDrain(controller),Promise.resolve(CreateIterResultObject(filledView,!1))}if(!0===controller._closeRequested){var e=new TypeError("Insufficient bytes to fill elements in the given buffer");return ReadableByteStreamControllerError(controller,e),Promise.reject(e)}}pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),controller._pendingPullIntos.push(pullIntoDescriptor);var promise=ReadableStreamAddReadIntoRequest(stream);return ReadableByteStreamControllerCallPullIfNeeded(controller),promise}(stream._readableStreamController,view)}(this,view):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(byobReaderBrandCheckException("read"))}},{key:"releaseLock",value:function releaseLock(){if(!IsReadableStreamBYOBReader(this))throw byobReaderBrandCheckException("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ReadableStreamReaderGenericRelease(this)}}},{key:"closed",get:function get(){return IsReadableStreamBYOBReader(this)?this._closedPromise:Promise.reject(byobReaderBrandCheckException("closed"))}}]),ReadableStreamBYOBReader}();function IsReadableStreamBYOBReader(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readIntoRequests")}function IsReadableStreamDefaultReader(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readRequests")}function ReadableStreamReaderGenericInitialize(reader,stream){reader._ownerReadableStream=stream,stream._reader=reader,"readable"===stream._state?function defaultReaderClosedPromiseInitialize(reader){reader._closedPromise=new Promise((function(resolve,reject){reader._closedPromise_resolve=resolve,reader._closedPromise_reject=reject}))}(reader):"closed"===stream._state?function defaultReaderClosedPromiseInitializeAsResolved(reader){reader._closedPromise=Promise.resolve(void 0),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader):(assert("errored"===stream._state,"state must be errored"),function defaultReaderClosedPromiseInitializeAsRejected(reader,reason){reader._closedPromise=Promise.reject(reason),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader,stream._storedError),reader._closedPromise.catch((function(){})))}function ReadableStreamReaderGenericCancel(reader,reason){var stream=reader._ownerReadableStream;return assert(void 0!==stream),ReadableStreamCancel(stream,reason)}function ReadableStreamReaderGenericRelease(reader){assert(void 0!==reader._ownerReadableStream),assert(reader._ownerReadableStream._reader===reader),"readable"===reader._ownerReadableStream._state?defaultReaderClosedPromiseReject(reader,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function defaultReaderClosedPromiseResetToRejected(reader,reason){assert(void 0===reader._closedPromise_resolve),assert(void 0===reader._closedPromise_reject),reader._closedPromise=Promise.reject(reason)}(reader,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),reader._closedPromise.catch((function(){})),reader._ownerReadableStream._reader=void 0,reader._ownerReadableStream=void 0}function ReadableStreamDefaultReaderRead(reader){var stream=reader._ownerReadableStream;return assert(void 0!==stream),stream._disturbed=!0,"closed"===stream._state?Promise.resolve(CreateIterResultObject(void 0,!0)):"errored"===stream._state?Promise.reject(stream._storedError):(assert("readable"===stream._state),stream._readableStreamController.__pullSteps())}var ReadableStreamDefaultController=function(){function ReadableStreamDefaultController(stream,underlyingSource,size,highWaterMark){if(_classCallCheck(this,ReadableStreamDefaultController),!1===IsReadableStream(stream))throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==stream._readableStreamController)throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=stream,this._underlyingSource=underlyingSource,this._queue=void 0,this._queueTotalSize=void 0,ResetQueue(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var normalizedStrategy=ValidateAndNormalizeQueuingStrategy(size,highWaterMark);this._strategySize=normalizedStrategy.size,this._strategyHWM=normalizedStrategy.highWaterMark;var controller=this,startResult=InvokeOrNoop(underlyingSource,"start",[this]);Promise.resolve(startResult).then((function(){controller._started=!0,assert(!1===controller._pulling),assert(!1===controller._pullAgain),ReadableStreamDefaultControllerCallPullIfNeeded(controller)}),(function(r){ReadableStreamDefaultControllerErrorIfNeeded(controller,r)})).catch(rethrowAssertionErrorRejection)}return _createClass(ReadableStreamDefaultController,[{key:"close",value:function close(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be closed");ReadableStreamDefaultControllerClose(this)}},{key:"enqueue",value:function enqueue(chunk){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be enqueued to");return ReadableStreamDefaultControllerEnqueue(this,chunk)}},{key:"error",value:function error(e){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("error");var stream=this._controlledReadableStream;if("readable"!==stream._state)throw new TypeError("The stream is "+stream._state+" and so cannot be errored");ReadableStreamDefaultControllerError(this,e)}},{key:"__cancelSteps",value:function __cancelSteps(reason){return ResetQueue(this),PromiseInvokeOrNoop(this._underlyingSource,"cancel",[reason])}},{key:"__pullSteps",value:function __pullSteps(){var stream=this._controlledReadableStream;if(this._queue.length>0){var chunk=DequeueValue(this);return!0===this._closeRequested&&0===this._queue.length?ReadableStreamClose(stream):ReadableStreamDefaultControllerCallPullIfNeeded(this),Promise.resolve(CreateIterResultObject(chunk,!1))}var pendingPromise=ReadableStreamAddReadRequest(stream);return ReadableStreamDefaultControllerCallPullIfNeeded(this),pendingPromise}},{key:"desiredSize",get:function get(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("desiredSize");return ReadableStreamDefaultControllerGetDesiredSize(this)}}]),ReadableStreamDefaultController}();function IsReadableStreamDefaultController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_underlyingSource")}function ReadableStreamDefaultControllerCallPullIfNeeded(controller){!1!==function ReadableStreamDefaultControllerShouldCallPull(controller){var stream=controller._controlledReadableStream;if("closed"===stream._state||"errored"===stream._state)return!1;if(!0===controller._closeRequested)return!1;if(!1===controller._started)return!1;if(!0===IsReadableStreamLocked(stream)&&ReadableStreamGetNumReadRequests(stream)>0)return!0;if(ReadableStreamDefaultControllerGetDesiredSize(controller)>0)return!0;return!1}(controller)&&(!0!==controller._pulling?(assert(!1===controller._pullAgain),controller._pulling=!0,PromiseInvokeOrNoop(controller._underlyingSource,"pull",[controller]).then((function(){if(controller._pulling=!1,!0===controller._pullAgain)return controller._pullAgain=!1,ReadableStreamDefaultControllerCallPullIfNeeded(controller)}),(function(e){ReadableStreamDefaultControllerErrorIfNeeded(controller,e)})).catch(rethrowAssertionErrorRejection)):controller._pullAgain=!0)}function ReadableStreamDefaultControllerClose(controller){var stream=controller._controlledReadableStream;assert(!1===controller._closeRequested),assert("readable"===stream._state),controller._closeRequested=!0,0===controller._queue.length&&ReadableStreamClose(stream)}function ReadableStreamDefaultControllerEnqueue(controller,chunk){var stream=controller._controlledReadableStream;if(assert(!1===controller._closeRequested),assert("readable"===stream._state),!0===IsReadableStreamLocked(stream)&&ReadableStreamGetNumReadRequests(stream)>0)ReadableStreamFulfillReadRequest(stream,chunk,!1);else{var chunkSize=1;if(void 0!==controller._strategySize){var strategySize=controller._strategySize;try{chunkSize=strategySize(chunk)}catch(chunkSizeE){throw ReadableStreamDefaultControllerErrorIfNeeded(controller,chunkSizeE),chunkSizeE}}try{EnqueueValueWithSize(controller,chunk,chunkSize)}catch(enqueueE){throw ReadableStreamDefaultControllerErrorIfNeeded(controller,enqueueE),enqueueE}}ReadableStreamDefaultControllerCallPullIfNeeded(controller)}function ReadableStreamDefaultControllerError(controller,e){var stream=controller._controlledReadableStream;assert("readable"===stream._state),ResetQueue(controller),ReadableStreamError(stream,e)}function ReadableStreamDefaultControllerErrorIfNeeded(controller,e){"readable"===controller._controlledReadableStream._state&&ReadableStreamDefaultControllerError(controller,e)}function ReadableStreamDefaultControllerGetDesiredSize(controller){var state=controller._controlledReadableStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}var ReadableStreamBYOBRequest=function(){function ReadableStreamBYOBRequest(controller,view){_classCallCheck(this,ReadableStreamBYOBRequest),this._associatedReadableByteStreamController=controller,this._view=view}return _createClass(ReadableStreamBYOBRequest,[{key:"respond",value:function respond(bytesWritten){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function ReadableByteStreamControllerRespond(controller,bytesWritten){if(bytesWritten=Number(bytesWritten),!1===IsFiniteNonNegativeNumber(bytesWritten))throw new RangeError("bytesWritten must be a finite");assert(controller._pendingPullIntos.length>0),ReadableByteStreamControllerRespondInternal(controller,bytesWritten)}(this._associatedReadableByteStreamController,bytesWritten)}},{key:"respondWithNewView",value:function respondWithNewView(view){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(view))throw new TypeError("You can only respond with array buffer views");!function ReadableByteStreamControllerRespondWithNewView(controller,view){assert(controller._pendingPullIntos.length>0);var firstDescriptor=controller._pendingPullIntos[0];if(firstDescriptor.byteOffset+firstDescriptor.bytesFilled!==view.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(firstDescriptor.byteLength!==view.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");firstDescriptor.buffer=view.buffer,ReadableByteStreamControllerRespondInternal(controller,view.byteLength)}(this._associatedReadableByteStreamController,view)}},{key:"view",get:function get(){return this._view}}]),ReadableStreamBYOBRequest}(),ReadableByteStreamController=function(){function ReadableByteStreamController(stream,underlyingByteSource,highWaterMark){if(_classCallCheck(this,ReadableByteStreamController),!1===IsReadableStream(stream))throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==stream._readableStreamController)throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=stream,this._underlyingByteSource=underlyingByteSource,this._pullAgain=!1,this._pulling=!1,ReadableByteStreamControllerClearPendingPullIntos(this),this._queue=this._queueTotalSize=void 0,ResetQueue(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=ValidateAndNormalizeHighWaterMark(highWaterMark);var autoAllocateChunkSize=underlyingByteSource.autoAllocateChunkSize;if(void 0!==autoAllocateChunkSize&&(!1===Number.isInteger(autoAllocateChunkSize)||autoAllocateChunkSize<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=autoAllocateChunkSize,this._pendingPullIntos=[];var controller=this,startResult=InvokeOrNoop(underlyingByteSource,"start",[this]);Promise.resolve(startResult).then((function(){controller._started=!0,assert(!1===controller._pulling),assert(!1===controller._pullAgain),ReadableByteStreamControllerCallPullIfNeeded(controller)}),(function(r){"readable"===stream._state&&ReadableByteStreamControllerError(controller,r)})).catch(rethrowAssertionErrorRejection)}return _createClass(ReadableByteStreamController,[{key:"close",value:function close(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be closed");!function ReadableByteStreamControllerClose(controller){var stream=controller._controlledReadableStream;if(assert(!1===controller._closeRequested),assert("readable"===stream._state),controller._queueTotalSize>0)return void(controller._closeRequested=!0);if(controller._pendingPullIntos.length>0){if(controller._pendingPullIntos[0].bytesFilled>0){var e=new TypeError("Insufficient bytes to fill elements in the given buffer");throw ReadableByteStreamControllerError(controller,e),e}}ReadableStreamClose(stream)}(this)}},{key:"enqueue",value:function enqueue(chunk){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(chunk))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function ReadableByteStreamControllerEnqueue(controller,chunk){var stream=controller._controlledReadableStream;assert(!1===controller._closeRequested),assert("readable"===stream._state);var buffer=chunk.buffer,byteOffset=chunk.byteOffset,byteLength=chunk.byteLength,transferredBuffer=TransferArrayBuffer(buffer);if(!0===ReadableStreamHasDefaultReader(stream)){if(0===ReadableStreamGetNumReadRequests(stream))ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength);else assert(0===controller._queue.length),ReadableStreamFulfillReadRequest(stream,new Uint8Array(transferredBuffer,byteOffset,byteLength),!1)}else!0===ReadableStreamHasBYOBReader(stream)?(ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength),ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller)):(assert(!1===IsReadableStreamLocked(stream),"stream must not be locked"),ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength))}(this,chunk)}},{key:"error",value:function error(e){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("error");var stream=this._controlledReadableStream;if("readable"!==stream._state)throw new TypeError("The stream is "+stream._state+" and so cannot be errored");ReadableByteStreamControllerError(this,e)}},{key:"__cancelSteps",value:function __cancelSteps(reason){this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0);return ResetQueue(this),PromiseInvokeOrNoop(this._underlyingByteSource,"cancel",[reason])}},{key:"__pullSteps",value:function __pullSteps(){var stream=this._controlledReadableStream;if(assert(!0===ReadableStreamHasDefaultReader(stream)),this._queueTotalSize>0){assert(0===ReadableStreamGetNumReadRequests(stream));var entry=this._queue.shift();this._queueTotalSize-=entry.byteLength,ReadableByteStreamControllerHandleQueueDrain(this);var view=void 0;try{view=new Uint8Array(entry.buffer,entry.byteOffset,entry.byteLength)}catch(viewE){return Promise.reject(viewE)}return Promise.resolve(CreateIterResultObject(view,!1))}var autoAllocateChunkSize=this._autoAllocateChunkSize;if(void 0!==autoAllocateChunkSize){var buffer=void 0;try{buffer=new ArrayBuffer(autoAllocateChunkSize)}catch(bufferE){return Promise.reject(bufferE)}var pullIntoDescriptor={buffer:buffer,byteOffset:0,byteLength:autoAllocateChunkSize,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(pullIntoDescriptor)}var promise=ReadableStreamAddReadRequest(stream);return ReadableByteStreamControllerCallPullIfNeeded(this),promise}},{key:"byobRequest",get:function get(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var firstDescriptor=this._pendingPullIntos[0],view=new Uint8Array(firstDescriptor.buffer,firstDescriptor.byteOffset+firstDescriptor.bytesFilled,firstDescriptor.byteLength-firstDescriptor.bytesFilled);this._byobRequest=new ReadableStreamBYOBRequest(this,view)}return this._byobRequest}},{key:"desiredSize",get:function get(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("desiredSize");return ReadableByteStreamControllerGetDesiredSize(this)}}]),ReadableByteStreamController}();function IsReadableByteStreamController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_underlyingByteSource")}function IsReadableStreamBYOBRequest(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_associatedReadableByteStreamController")}function ReadableByteStreamControllerCallPullIfNeeded(controller){!1!==function ReadableByteStreamControllerShouldCallPull(controller){var stream=controller._controlledReadableStream;if("readable"!==stream._state)return!1;if(!0===controller._closeRequested)return!1;if(!1===controller._started)return!1;if(!0===ReadableStreamHasDefaultReader(stream)&&ReadableStreamGetNumReadRequests(stream)>0)return!0;if(!0===ReadableStreamHasBYOBReader(stream)&&ReadableStreamGetNumReadIntoRequests(stream)>0)return!0;if(ReadableByteStreamControllerGetDesiredSize(controller)>0)return!0;return!1}(controller)&&(!0!==controller._pulling?(assert(!1===controller._pullAgain),controller._pulling=!0,PromiseInvokeOrNoop(controller._underlyingByteSource,"pull",[controller]).then((function(){controller._pulling=!1,!0===controller._pullAgain&&(controller._pullAgain=!1,ReadableByteStreamControllerCallPullIfNeeded(controller))}),(function(e){"readable"===controller._controlledReadableStream._state&&ReadableByteStreamControllerError(controller,e)})).catch(rethrowAssertionErrorRejection)):controller._pullAgain=!0)}function ReadableByteStreamControllerClearPendingPullIntos(controller){ReadableByteStreamControllerInvalidateBYOBRequest(controller),controller._pendingPullIntos=[]}function ReadableByteStreamControllerCommitPullIntoDescriptor(stream,pullIntoDescriptor){assert("errored"!==stream._state,"state must not be errored");var done=!1;"closed"===stream._state&&(assert(0===pullIntoDescriptor.bytesFilled),done=!0);var filledView=ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);"default"===pullIntoDescriptor.readerType?ReadableStreamFulfillReadRequest(stream,filledView,done):(assert("byob"===pullIntoDescriptor.readerType),function ReadableStreamFulfillReadIntoRequest(stream,chunk,done){var reader=stream._reader;assert(reader._readIntoRequests.length>0),reader._readIntoRequests.shift()._resolve(CreateIterResultObject(chunk,done))}(stream,filledView,done))}function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor){var bytesFilled=pullIntoDescriptor.bytesFilled,elementSize=pullIntoDescriptor.elementSize;return assert(bytesFilled<=pullIntoDescriptor.byteLength),assert(bytesFilled%elementSize==0),new pullIntoDescriptor.ctor(pullIntoDescriptor.buffer,pullIntoDescriptor.byteOffset,bytesFilled/elementSize)}function ReadableByteStreamControllerEnqueueChunkToQueue(controller,buffer,byteOffset,byteLength){controller._queue.push({buffer:buffer,byteOffset:byteOffset,byteLength:byteLength}),controller._queueTotalSize+=byteLength}function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor){var elementSize=pullIntoDescriptor.elementSize,currentAlignedBytes=pullIntoDescriptor.bytesFilled-pullIntoDescriptor.bytesFilled%elementSize,maxBytesToCopy=Math.min(controller._queueTotalSize,pullIntoDescriptor.byteLength-pullIntoDescriptor.bytesFilled),maxBytesFilled=pullIntoDescriptor.bytesFilled+maxBytesToCopy,maxAlignedBytes=maxBytesFilled-maxBytesFilled%elementSize,totalBytesToCopyRemaining=maxBytesToCopy,ready=!1;maxAlignedBytes>currentAlignedBytes&&(totalBytesToCopyRemaining=maxAlignedBytes-pullIntoDescriptor.bytesFilled,ready=!0);for(var queue=controller._queue;totalBytesToCopyRemaining>0;){var headOfQueue=queue[0],bytesToCopy=Math.min(totalBytesToCopyRemaining,headOfQueue.byteLength),destStart=pullIntoDescriptor.byteOffset+pullIntoDescriptor.bytesFilled;ArrayBufferCopy(pullIntoDescriptor.buffer,destStart,headOfQueue.buffer,headOfQueue.byteOffset,bytesToCopy),headOfQueue.byteLength===bytesToCopy?queue.shift():(headOfQueue.byteOffset+=bytesToCopy,headOfQueue.byteLength-=bytesToCopy),controller._queueTotalSize-=bytesToCopy,ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,bytesToCopy,pullIntoDescriptor),totalBytesToCopyRemaining-=bytesToCopy}return!1===ready&&(assert(0===controller._queueTotalSize,"queue must be empty"),assert(pullIntoDescriptor.bytesFilled>0),assert(pullIntoDescriptor.bytesFilled<pullIntoDescriptor.elementSize)),ready}function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,size,pullIntoDescriptor){assert(0===controller._pendingPullIntos.length||controller._pendingPullIntos[0]===pullIntoDescriptor),ReadableByteStreamControllerInvalidateBYOBRequest(controller),pullIntoDescriptor.bytesFilled+=size}function ReadableByteStreamControllerHandleQueueDrain(controller){assert("readable"===controller._controlledReadableStream._state),0===controller._queueTotalSize&&!0===controller._closeRequested?ReadableStreamClose(controller._controlledReadableStream):ReadableByteStreamControllerCallPullIfNeeded(controller)}function ReadableByteStreamControllerInvalidateBYOBRequest(controller){void 0!==controller._byobRequest&&(controller._byobRequest._associatedReadableByteStreamController=void 0,controller._byobRequest._view=void 0,controller._byobRequest=void 0)}function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller){for(assert(!1===controller._closeRequested);controller._pendingPullIntos.length>0;){if(0===controller._queueTotalSize)return;var pullIntoDescriptor=controller._pendingPullIntos[0];!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor)&&(ReadableByteStreamControllerShiftPendingPullInto(controller),ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableStream,pullIntoDescriptor))}}function ReadableByteStreamControllerRespondInternal(controller,bytesWritten){var firstDescriptor=controller._pendingPullIntos[0],stream=controller._controlledReadableStream;if("closed"===stream._state){if(0!==bytesWritten)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function ReadableByteStreamControllerRespondInClosedState(controller,firstDescriptor){firstDescriptor.buffer=TransferArrayBuffer(firstDescriptor.buffer),assert(0===firstDescriptor.bytesFilled,"bytesFilled must be 0");var stream=controller._controlledReadableStream;if(!0===ReadableStreamHasBYOBReader(stream))for(;ReadableStreamGetNumReadIntoRequests(stream)>0;)ReadableByteStreamControllerCommitPullIntoDescriptor(stream,ReadableByteStreamControllerShiftPendingPullInto(controller))}(controller,firstDescriptor)}else assert("readable"===stream._state),function ReadableByteStreamControllerRespondInReadableState(controller,bytesWritten,pullIntoDescriptor){if(pullIntoDescriptor.bytesFilled+bytesWritten>pullIntoDescriptor.byteLength)throw new RangeError("bytesWritten out of range");if(ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,bytesWritten,pullIntoDescriptor),!(pullIntoDescriptor.bytesFilled<pullIntoDescriptor.elementSize)){ReadableByteStreamControllerShiftPendingPullInto(controller);var remainderSize=pullIntoDescriptor.bytesFilled%pullIntoDescriptor.elementSize;if(remainderSize>0){var end=pullIntoDescriptor.byteOffset+pullIntoDescriptor.bytesFilled,remainder=pullIntoDescriptor.buffer.slice(end-remainderSize,end);ReadableByteStreamControllerEnqueueChunkToQueue(controller,remainder,0,remainder.byteLength)}pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),pullIntoDescriptor.bytesFilled-=remainderSize,ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableStream,pullIntoDescriptor),ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller)}}(controller,bytesWritten,firstDescriptor)}function ReadableByteStreamControllerShiftPendingPullInto(controller){var descriptor=controller._pendingPullIntos.shift();return ReadableByteStreamControllerInvalidateBYOBRequest(controller),descriptor}function ReadableByteStreamControllerError(controller,e){var stream=controller._controlledReadableStream;assert("readable"===stream._state),ReadableByteStreamControllerClearPendingPullIntos(controller),ResetQueue(controller),ReadableStreamError(stream,e)}function ReadableByteStreamControllerGetDesiredSize(controller){var state=controller._controlledReadableStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}function streamBrandCheckException(name){return new TypeError("ReadableStream.prototype."+name+" can only be used on a ReadableStream")}function readerLockException(name){return new TypeError("Cannot "+name+" a stream using a released reader")}function defaultReaderBrandCheckException(name){return new TypeError("ReadableStreamDefaultReader.prototype."+name+" can only be used on a ReadableStreamDefaultReader")}function defaultReaderClosedPromiseReject(reader,reason){assert(void 0!==reader._closedPromise_resolve),assert(void 0!==reader._closedPromise_reject),reader._closedPromise_reject(reason),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}function byobReaderBrandCheckException(name){return new TypeError("ReadableStreamBYOBReader.prototype."+name+" can only be used on a ReadableStreamBYOBReader")}function defaultControllerBrandCheckException(name){return new TypeError("ReadableStreamDefaultController.prototype."+name+" can only be used on a ReadableStreamDefaultController")}function byobRequestBrandCheckException(name){return new TypeError("ReadableStreamBYOBRequest.prototype."+name+" can only be used on a ReadableStreamBYOBRequest")}function byteStreamControllerBrandCheckException(name){return new TypeError("ReadableByteStreamController.prototype."+name+" can only be used on a ReadableByteStreamController")}},function(module,exports,__w_pdfjs_require__){var transformStream=__w_pdfjs_require__(6),readableStream=__w_pdfjs_require__(4),writableStream=__w_pdfjs_require__(2);exports.TransformStream=transformStream.TransformStream,exports.ReadableStream=readableStream.ReadableStream,exports.IsReadableStreamDisturbed=readableStream.IsReadableStreamDisturbed,exports.ReadableStreamDefaultControllerClose=readableStream.ReadableStreamDefaultControllerClose,exports.ReadableStreamDefaultControllerEnqueue=readableStream.ReadableStreamDefaultControllerEnqueue,exports.ReadableStreamDefaultControllerError=readableStream.ReadableStreamDefaultControllerError,exports.ReadableStreamDefaultControllerGetDesiredSize=readableStream.ReadableStreamDefaultControllerGetDesiredSize,exports.AcquireWritableStreamDefaultWriter=writableStream.AcquireWritableStreamDefaultWriter,exports.IsWritableStream=writableStream.IsWritableStream,exports.IsWritableStreamLocked=writableStream.IsWritableStreamLocked,exports.WritableStream=writableStream.WritableStream,exports.WritableStreamAbort=writableStream.WritableStreamAbort,exports.WritableStreamDefaultControllerError=writableStream.WritableStreamDefaultControllerError,exports.WritableStreamDefaultWriterCloseWithErrorPropagation=writableStream.WritableStreamDefaultWriterCloseWithErrorPropagation,exports.WritableStreamDefaultWriterRelease=writableStream.WritableStreamDefaultWriterRelease,exports.WritableStreamDefaultWriterWrite=writableStream.WritableStreamDefaultWriterWrite},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var assert=__w_pdfjs_require__(1).assert,_require2=__w_pdfjs_require__(0),InvokeOrNoop=_require2.InvokeOrNoop,PromiseInvokeOrPerformFallback=_require2.PromiseInvokeOrPerformFallback,PromiseInvokeOrNoop=_require2.PromiseInvokeOrNoop,typeIsObject=_require2.typeIsObject,_require3=__w_pdfjs_require__(4),ReadableStream=_require3.ReadableStream,ReadableStreamDefaultControllerClose=_require3.ReadableStreamDefaultControllerClose,ReadableStreamDefaultControllerEnqueue=_require3.ReadableStreamDefaultControllerEnqueue,ReadableStreamDefaultControllerError=_require3.ReadableStreamDefaultControllerError,ReadableStreamDefaultControllerGetDesiredSize=_require3.ReadableStreamDefaultControllerGetDesiredSize,_require4=__w_pdfjs_require__(2),WritableStream=_require4.WritableStream,WritableStreamDefaultControllerError=_require4.WritableStreamDefaultControllerError;function TransformStreamEnqueueToReadable(transformStream,chunk){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");if(!0===transformStream._readableClosed)throw new TypeError("Readable side is already closed");var controller=transformStream._readableController;try{ReadableStreamDefaultControllerEnqueue(controller,chunk)}catch(e){throw transformStream._readableClosed=!0,TransformStreamErrorIfNeeded(transformStream,e),transformStream._storedError}!0===ReadableStreamDefaultControllerGetDesiredSize(controller)<=0&&!1===transformStream._backpressure&&TransformStreamSetBackpressure(transformStream,!0)}function TransformStreamCloseReadableInternal(transformStream){assert(!1===transformStream._errored),assert(!1===transformStream._readableClosed);try{ReadableStreamDefaultControllerClose(transformStream._readableController)}catch(e){assert(!1)}transformStream._readableClosed=!0}function TransformStreamErrorIfNeeded(transformStream,e){!1===transformStream._errored&&TransformStreamErrorInternal(transformStream,e)}function TransformStreamErrorInternal(transformStream,e){assert(!1===transformStream._errored),transformStream._errored=!0,transformStream._storedError=e,!1===transformStream._writableDone&&WritableStreamDefaultControllerError(transformStream._writableController,e),!1===transformStream._readableClosed&&ReadableStreamDefaultControllerError(transformStream._readableController,e)}function TransformStreamReadableReadyPromise(transformStream){return assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===transformStream._backpressure?Promise.resolve():(assert(!0===transformStream._backpressure,"_backpressure should have been initialized"),transformStream._backpressureChangePromise)}function TransformStreamSetBackpressure(transformStream,backpressure){assert(transformStream._backpressure!==backpressure,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==transformStream._backpressureChangePromise&&transformStream._backpressureChangePromise_resolve(backpressure),transformStream._backpressureChangePromise=new Promise((function(resolve){transformStream._backpressureChangePromise_resolve=resolve})),transformStream._backpressureChangePromise.then((function(resolution){assert(resolution!==backpressure,"_backpressureChangePromise should be fulfilled only when backpressure is changed")})),transformStream._backpressure=backpressure}function TransformStreamDefaultTransform(chunk,transformStreamController){return TransformStreamEnqueueToReadable(transformStreamController._controlledTransformStream,chunk),Promise.resolve()}function IsTransformStreamDefaultController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_controlledTransformStream")}function IsTransformStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_transformStreamController")}var TransformStreamSink=function(){function TransformStreamSink(transformStream,startPromise){_classCallCheck(this,TransformStreamSink),this._transformStream=transformStream,this._startPromise=startPromise}return _createClass(TransformStreamSink,[{key:"start",value:function start(c){var transformStream=this._transformStream;return transformStream._writableController=c,this._startPromise.then((function(){return TransformStreamReadableReadyPromise(transformStream)}))}},{key:"write",value:function write(chunk){return function TransformStreamTransform(transformStream,chunk){assert(!1===transformStream._errored),assert(!1===transformStream._transforming),assert(!1===transformStream._backpressure),transformStream._transforming=!0;var transformer=transformStream._transformer,controller=transformStream._transformStreamController;return PromiseInvokeOrPerformFallback(transformer,"transform",[chunk,controller],TransformStreamDefaultTransform,[chunk,controller]).then((function(){return transformStream._transforming=!1,TransformStreamReadableReadyPromise(transformStream)}),(function(e){return TransformStreamErrorIfNeeded(transformStream,e),Promise.reject(e)}))}(this._transformStream,chunk)}},{key:"abort",value:function abort(){var transformStream=this._transformStream;transformStream._writableDone=!0,TransformStreamErrorInternal(transformStream,new TypeError("Writable side aborted"))}},{key:"close",value:function close(){var transformStream=this._transformStream;return assert(!1===transformStream._transforming),transformStream._writableDone=!0,PromiseInvokeOrNoop(transformStream._transformer,"flush",[transformStream._transformStreamController]).then((function(){return!0===transformStream._errored?Promise.reject(transformStream._storedError):(!1===transformStream._readableClosed&&TransformStreamCloseReadableInternal(transformStream),Promise.resolve())})).catch((function(r){return TransformStreamErrorIfNeeded(transformStream,r),Promise.reject(transformStream._storedError)}))}}]),TransformStreamSink}(),TransformStreamSource=function(){function TransformStreamSource(transformStream,startPromise){_classCallCheck(this,TransformStreamSource),this._transformStream=transformStream,this._startPromise=startPromise}return _createClass(TransformStreamSource,[{key:"start",value:function start(c){var transformStream=this._transformStream;return transformStream._readableController=c,this._startPromise.then((function(){return assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===transformStream._backpressure?Promise.resolve():(assert(!1===transformStream._backpressure,"_backpressure should have been initialized"),transformStream._backpressureChangePromise)}))}},{key:"pull",value:function pull(){var transformStream=this._transformStream;return assert(!0===transformStream._backpressure,"pull() should be never called while _backpressure is false"),assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),TransformStreamSetBackpressure(transformStream,!1),transformStream._backpressureChangePromise}},{key:"cancel",value:function cancel(){var transformStream=this._transformStream;transformStream._readableClosed=!0,TransformStreamErrorInternal(transformStream,new TypeError("Readable side canceled"))}}]),TransformStreamSource}(),TransformStreamDefaultController=function(){function TransformStreamDefaultController(transformStream){if(_classCallCheck(this,TransformStreamDefaultController),!1===IsTransformStream(transformStream))throw new TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==transformStream._transformStreamController)throw new TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=transformStream}return _createClass(TransformStreamDefaultController,[{key:"enqueue",value:function enqueue(chunk){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("enqueue");TransformStreamEnqueueToReadable(this._controlledTransformStream,chunk)}},{key:"close",value:function close(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("close");!function TransformStreamCloseReadable(transformStream){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");if(!0===transformStream._readableClosed)throw new TypeError("Readable side is already closed");TransformStreamCloseReadableInternal(transformStream)}(this._controlledTransformStream)}},{key:"error",value:function error(reason){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("error");!function TransformStreamError(transformStream,e){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");TransformStreamErrorInternal(transformStream,e)}(this._controlledTransformStream,reason)}},{key:"desiredSize",get:function get(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("desiredSize");var readableController=this._controlledTransformStream._readableController;return ReadableStreamDefaultControllerGetDesiredSize(readableController)}}]),TransformStreamDefaultController}(),TransformStream=function(){function TransformStream(){var transformer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,TransformStream),this._transformer=transformer;var readableStrategy=transformer.readableStrategy,writableStrategy=transformer.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new TransformStreamDefaultController(this);var startPromise_resolve=void 0,startPromise=new Promise((function(resolve){startPromise_resolve=resolve})),source=new TransformStreamSource(this,startPromise);this._readable=new ReadableStream(source,readableStrategy);var sink=new TransformStreamSink(this,startPromise);this._writable=new WritableStream(sink,writableStrategy),assert(void 0!==this._writableController),assert(void 0!==this._readableController);var desiredSize=ReadableStreamDefaultControllerGetDesiredSize(this._readableController);TransformStreamSetBackpressure(this,desiredSize<=0);var transformStream=this,startResult=InvokeOrNoop(transformer,"start",[transformStream._transformStreamController]);startPromise_resolve(startResult),startPromise.catch((function(e){!1===transformStream._errored&&(transformStream._errored=!0,transformStream._storedError=e)}))}return _createClass(TransformStream,[{key:"readable",get:function get(){if(!1===IsTransformStream(this))throw streamBrandCheckException("readable");return this._readable}},{key:"writable",get:function get(){if(!1===IsTransformStream(this))throw streamBrandCheckException("writable");return this._writable}}]),TransformStream}();function defaultControllerBrandCheckException(name){return new TypeError("TransformStreamDefaultController.prototype."+name+" can only be used on a TransformStreamDefaultController")}function streamBrandCheckException(name){return new TypeError("TransformStream.prototype."+name+" can only be used on a TransformStream")}module.exports={TransformStream:TransformStream}},function(module,exports,__w_pdfjs_require__){module.exports=__w_pdfjs_require__(5)}]))},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NetworkPdfManager=exports.LocalPdfManager=void 0;var _util=__w_pdfjs_require__(0),_chunked_stream=__w_pdfjs_require__(72),_document=__w_pdfjs_require__(128),_stream=__w_pdfjs_require__(5),BasePdfManager=function BasePdfManagerClosure(){function BasePdfManager(){throw new Error("Cannot initialize BaseManagerManager")}return BasePdfManager.prototype={get docId(){return this._docId},get password(){return this._password},get docBaseUrl(){var docBaseUrl=null;if(this._docBaseUrl){var absoluteUrl=(0,_util.createValidAbsoluteUrl)(this._docBaseUrl);absoluteUrl?docBaseUrl=absoluteUrl.href:(0,_util.warn)('Invalid absolute docBaseUrl: "'+this._docBaseUrl+'".')}return(0,_util.shadow)(this,"docBaseUrl",docBaseUrl)},onLoadedStream:function BasePdfManager_onLoadedStream(){throw new _util.NotImplementedException},ensureDoc:function BasePdfManager_ensureDoc(prop,args){return this.ensure(this.pdfDocument,prop,args)},ensureXRef:function BasePdfManager_ensureXRef(prop,args){return this.ensure(this.pdfDocument.xref,prop,args)},ensureCatalog:function BasePdfManager_ensureCatalog(prop,args){return this.ensure(this.pdfDocument.catalog,prop,args)},getPage:function BasePdfManager_getPage(pageIndex){return this.pdfDocument.getPage(pageIndex)},cleanup:function BasePdfManager_cleanup(){return this.pdfDocument.cleanup()},ensure:function BasePdfManager_ensure(obj,prop,args){return new _util.NotImplementedException},requestRange:function BasePdfManager_requestRange(begin,end){return new _util.NotImplementedException},requestLoadedStream:function BasePdfManager_requestLoadedStream(){return new _util.NotImplementedException},sendProgressiveData:function BasePdfManager_sendProgressiveData(chunk){return new _util.NotImplementedException},updatePassword:function BasePdfManager_updatePassword(password){this._password=password},terminate:function BasePdfManager_terminate(){return new _util.NotImplementedException}},BasePdfManager}(),LocalPdfManager=function LocalPdfManagerClosure(){function LocalPdfManager(docId,data,password,evaluatorOptions,docBaseUrl){this._docId=docId,this._password=password,this._docBaseUrl=docBaseUrl,this.evaluatorOptions=evaluatorOptions;var stream=new _stream.Stream(data);this.pdfDocument=new _document.PDFDocument(this,stream),this._loadedStreamCapability=(0,_util.createPromiseCapability)(),this._loadedStreamCapability.resolve(stream)}return _util.Util.inherit(LocalPdfManager,BasePdfManager,{ensure:function LocalPdfManager_ensure(obj,prop,args){return new Promise((function(resolve,reject){try{var value=obj[prop];resolve("function"==typeof value?value.apply(obj,args):value)}catch(e){reject(e)}}))},requestRange:function LocalPdfManager_requestRange(begin,end){return Promise.resolve()},requestLoadedStream:function LocalPdfManager_requestLoadedStream(){},onLoadedStream:function LocalPdfManager_onLoadedStream(){return this._loadedStreamCapability.promise},terminate:function LocalPdfManager_terminate(){}}),LocalPdfManager}(),NetworkPdfManager=function NetworkPdfManagerClosure(){function NetworkPdfManager(docId,pdfNetworkStream,args,evaluatorOptions,docBaseUrl){this._docId=docId,this._password=args.password,this._docBaseUrl=docBaseUrl,this.msgHandler=args.msgHandler,this.evaluatorOptions=evaluatorOptions;var params={msgHandler:args.msgHandler,url:args.url,length:args.length,disableAutoFetch:args.disableAutoFetch,rangeChunkSize:args.rangeChunkSize};this.streamManager=new _chunked_stream.ChunkedStreamManager(pdfNetworkStream,params),this.pdfDocument=new _document.PDFDocument(this,this.streamManager.getStream())}return _util.Util.inherit(NetworkPdfManager,BasePdfManager,{ensure:function NetworkPdfManager_ensure(obj,prop,args){var pdfManager=this;return new Promise((function(resolve,reject){!function ensureHelper(){try{var result,value=obj[prop];result="function"==typeof value?value.apply(obj,args):value,resolve(result)}catch(e){if(!(e instanceof _util.MissingDataException))return void reject(e);pdfManager.streamManager.requestRange(e.begin,e.end).then(ensureHelper,reject)}}()}))},requestRange:function NetworkPdfManager_requestRange(begin,end){return this.streamManager.requestRange(begin,end)},requestLoadedStream:function NetworkPdfManager_requestLoadedStream(){this.streamManager.requestAllChunks()},sendProgressiveData:function NetworkPdfManager_sendProgressiveData(chunk){this.streamManager.onReceiveData({chunk:chunk})},onLoadedStream:function NetworkPdfManager_onLoadedStream(){return this.streamManager.onLoadedStream()},terminate:function NetworkPdfManager_terminate(){this.streamManager.abort()}}),NetworkPdfManager}();exports.LocalPdfManager=LocalPdfManager,exports.NetworkPdfManager=NetworkPdfManager},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFDocument=exports.Page=void 0;var _slicedToArray=function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},_obj=__w_pdfjs_require__(73),_primitives=__w_pdfjs_require__(2),_util=__w_pdfjs_require__(0),_stream=__w_pdfjs_require__(5),_evaluator=__w_pdfjs_require__(77),_annotation=__w_pdfjs_require__(145),_crypto=__w_pdfjs_require__(76),_parser=__w_pdfjs_require__(34),_function=__w_pdfjs_require__(81),Page=function PageClosure(){var LETTER_SIZE_MEDIABOX=[0,0,612,792];function isAnnotationRenderable(annotation,intent){return"display"===intent&&annotation.viewable||"print"===intent&&annotation.printable}function Page(_ref){var pdfManager=_ref.pdfManager,xref=_ref.xref,pageIndex=_ref.pageIndex,pageDict=_ref.pageDict,ref=_ref.ref,fontCache=_ref.fontCache,builtInCMapCache=_ref.builtInCMapCache,pdfFunctionFactory=_ref.pdfFunctionFactory;this.pdfManager=pdfManager,this.pageIndex=pageIndex,this.pageDict=pageDict,this.xref=xref,this.ref=ref,this.fontCache=fontCache,this.builtInCMapCache=builtInCMapCache,this.pdfFunctionFactory=pdfFunctionFactory,this.evaluatorOptions=pdfManager.evaluatorOptions,this.resourcesPromise=null;var uniquePrefix="p"+this.pageIndex+"_",idCounters={obj:0};this.idFactory={createObjId:function createObjId(){return uniquePrefix+ ++idCounters.obj}}}return Page.prototype={getPageProp:function Page_getPageProp(key){return this.pageDict.get(key)},getInheritedPageProp:function Page_getInheritedPageProp(key,getArray){var dict=this.pageDict,valueArray=null,loopCount=0;for(getArray=getArray||!1;dict;){var value=getArray?dict.getArray(key):dict.get(key);if(void 0!==value&&(valueArray||(valueArray=[]),valueArray.push(value)),++loopCount>100)return(0,_util.warn)("getInheritedPageProp: maximum loop count exceeded for "+key),valueArray?valueArray[0]:void 0;dict=dict.get("Parent")}if(valueArray)return 1!==valueArray.length&&(0,_primitives.isDict)(valueArray[0])?_primitives.Dict.merge(this.xref,valueArray):valueArray[0]},get content(){return this.getPageProp("Contents")},get resources(){return(0,_util.shadow)(this,"resources",this.getInheritedPageProp("Resources")||_primitives.Dict.empty)},get mediaBox(){var mediaBox=this.getInheritedPageProp("MediaBox",!0);return Array.isArray(mediaBox)&&4===mediaBox.length?(0,_util.shadow)(this,"mediaBox",mediaBox):(0,_util.shadow)(this,"mediaBox",LETTER_SIZE_MEDIABOX)},get cropBox(){var cropBox=this.getInheritedPageProp("CropBox",!0);return Array.isArray(cropBox)&&4===cropBox.length?(0,_util.shadow)(this,"cropBox",cropBox):(0,_util.shadow)(this,"cropBox",this.mediaBox)},get userUnit(){var obj=this.getPageProp("UserUnit");return(!(0,_util.isNum)(obj)||obj<=0)&&(obj=1),(0,_util.shadow)(this,"userUnit",obj)},get view(){var mediaBox=this.mediaBox,cropBox=this.cropBox;if(mediaBox===cropBox)return(0,_util.shadow)(this,"view",mediaBox);var intersection=_util.Util.intersect(cropBox,mediaBox);return(0,_util.shadow)(this,"view",intersection||mediaBox)},get rotate(){var rotate=this.getInheritedPageProp("Rotate")||0;return rotate%90!=0?rotate=0:rotate>=360?rotate%=360:rotate<0&&(rotate=(rotate%360+360)%360),(0,_util.shadow)(this,"rotate",rotate)},getContentStream:function Page_getContentStream(){var stream,content=this.content;if(Array.isArray(content)){var i,xref=this.xref,n=content.length,streams=[];for(i=0;i<n;++i)streams.push(xref.fetchIfRef(content[i]));stream=new _stream.StreamsSequenceStream(streams)}else stream=(0,_primitives.isStream)(content)?content:new _stream.NullStream;return stream},loadResources:function Page_loadResources(keys){var _this=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new _obj.ObjectLoader(_this.resources,keys,_this.xref).load()}))},getOperatorList:function getOperatorList(_ref2){var _this2=this,handler=_ref2.handler,task=_ref2.task,intent=_ref2.intent,renderInteractiveForms=_ref2.renderInteractiveForms,contentStreamPromise=this.pdfManager.ensure(this,"getContentStream"),resourcesPromise=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),partialEvaluator=new _evaluator.PartialEvaluator({pdfManager:this.pdfManager,xref:this.xref,handler:handler,pageIndex:this.pageIndex,idFactory:this.idFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,options:this.evaluatorOptions,pdfFunctionFactory:this.pdfFunctionFactory}),pageListPromise=Promise.all([contentStreamPromise,resourcesPromise]).then((function(_ref3){var contentStream=_slicedToArray(_ref3,1)[0],opList=new _evaluator.OperatorList(intent,handler,_this2.pageIndex);return handler.send("StartRenderPage",{transparency:partialEvaluator.hasBlendModes(_this2.resources),pageIndex:_this2.pageIndex,intent:intent}),partialEvaluator.getOperatorList({stream:contentStream,task:task,resources:_this2.resources,operatorList:opList}).then((function(){return opList}))})),annotationsPromise=this.pdfManager.ensure(this,"annotations");return Promise.all([pageListPromise,annotationsPromise]).then((function(_ref5){var _ref6=_slicedToArray(_ref5,2),pageOpList=_ref6[0],annotations=_ref6[1];if(0===annotations.length)return pageOpList.flush(!0),pageOpList;var i,ii,opListPromises=[];for(i=0,ii=annotations.length;i<ii;i++)isAnnotationRenderable(annotations[i],intent)&&opListPromises.push(annotations[i].getOperatorList(partialEvaluator,task,renderInteractiveForms));return Promise.all(opListPromises).then((function(opLists){for(pageOpList.addOp(_util.OPS.beginAnnotations,[]),i=0,ii=opLists.length;i<ii;i++)pageOpList.addOpList(opLists[i]);return pageOpList.addOp(_util.OPS.endAnnotations,[]),pageOpList.flush(!0),pageOpList}))}))},extractTextContent:function extractTextContent(_ref7){var _this3=this,handler=_ref7.handler,task=_ref7.task,normalizeWhitespace=_ref7.normalizeWhitespace,sink=_ref7.sink,combineTextItems=_ref7.combineTextItems,contentStreamPromise=this.pdfManager.ensure(this,"getContentStream"),resourcesPromise=this.loadResources(["ExtGState","XObject","Font"]);return Promise.all([contentStreamPromise,resourcesPromise]).then((function(_ref8){var contentStream=_slicedToArray(_ref8,1)[0];return new _evaluator.PartialEvaluator({pdfManager:_this3.pdfManager,xref:_this3.xref,handler:handler,pageIndex:_this3.pageIndex,idFactory:_this3.idFactory,fontCache:_this3.fontCache,builtInCMapCache:_this3.builtInCMapCache,options:_this3.evaluatorOptions,pdfFunctionFactory:_this3.pdfFunctionFactory}).getTextContent({stream:contentStream,task:task,resources:_this3.resources,normalizeWhitespace:normalizeWhitespace,combineTextItems:combineTextItems,sink:sink})}))},getAnnotationsData:function Page_getAnnotationsData(intent){for(var annotations=this.annotations,annotationsData=[],i=0,n=annotations.length;i<n;++i)intent&&!isAnnotationRenderable(annotations[i],intent)||annotationsData.push(annotations[i].data);return annotationsData},get annotations(){for(var annotations=[],annotationRefs=this.getInheritedPageProp("Annots")||[],i=0,n=annotationRefs.length;i<n;++i){var annotationRef=annotationRefs[i],annotation=_annotation.AnnotationFactory.create(this.xref,annotationRef,this.pdfManager,this.idFactory);annotation&&annotations.push(annotation)}return(0,_util.shadow)(this,"annotations",annotations)}},Page}(),PDFDocument=function PDFDocumentClosure(){function PDFDocument(pdfManager,arg){var stream;if((0,_primitives.isStream)(arg))stream=arg;else{if(!(0,_util.isArrayBuffer)(arg))throw new Error("PDFDocument: Unknown argument type");stream=new _stream.Stream(arg)}if(stream.length<=0)throw new Error("PDFDocument: stream must have data");this.pdfManager=pdfManager,this.stream=stream,this.xref=new _obj.XRef(stream,pdfManager);var evaluatorOptions=pdfManager.evaluatorOptions;this.pdfFunctionFactory=new _function.PDFFunctionFactory({xref:this.xref,isEvalSupported:evaluatorOptions.isEvalSupported})}function find(stream,needle,limit,backwards){var pos=stream.pos,end=stream.end,strBuf=[];pos+limit>end&&(limit=end-pos);for(var n=0;n<limit;++n)strBuf.push(String.fromCharCode(stream.getByte()));var str=strBuf.join("");stream.pos=pos;var index=backwards?str.lastIndexOf(needle):str.indexOf(needle);return-1!==index&&(stream.pos+=index,!0)}var DocumentInfoValidators={get entries(){return(0,_util.shadow)(this,"entries",{Title:_util.isString,Author:_util.isString,Subject:_util.isString,Keywords:_util.isString,Creator:_util.isString,Producer:_util.isString,CreationDate:_util.isString,ModDate:_util.isString,Trapped:_primitives.isName})}};return PDFDocument.prototype={parse:function PDFDocument_parse(recoveryMode){this.setup(recoveryMode);var version=this.catalog.catDict.get("Version");(0,_primitives.isName)(version)&&(this.pdfFormatVersion=version.name);try{if(this.acroForm=this.catalog.catDict.get("AcroForm"),this.acroForm){this.xfa=this.acroForm.get("XFA");var fields=this.acroForm.get("Fields");fields&&Array.isArray(fields)&&0!==fields.length||this.xfa||(this.acroForm=null)}}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;(0,_util.info)("Something wrong with AcroForm entry"),this.acroForm=null}},get linearization(){var linearization=null;if(this.stream.length)try{linearization=_parser.Linearization.create(this.stream)}catch(err){if(err instanceof _util.MissingDataException)throw err;(0,_util.info)(err)}return(0,_util.shadow)(this,"linearization",linearization)},get startXRef(){var stream=this.stream,startXRef=0;if(this.linearization)stream.reset(),find(stream,"endobj",1024)&&(startXRef=stream.pos+6);else{for(var found=!1,pos=stream.end;!found&&pos>0;)(pos-=1024-"startxref".length)<0&&(pos=0),stream.pos=pos,found=find(stream,"startxref",1024,!0);if(found){var ch;stream.skip(9);do{ch=stream.getByte()}while((0,_util.isSpace)(ch));for(var str="";ch>=32&&ch<=57;)str+=String.fromCharCode(ch),ch=stream.getByte();startXRef=parseInt(str,10),isNaN(startXRef)&&(startXRef=0)}}return(0,_util.shadow)(this,"startXRef",startXRef)},get mainXRefEntriesOffset(){var mainXRefEntriesOffset=0,linearization=this.linearization;return linearization&&(mainXRefEntriesOffset=linearization.mainXRefEntriesOffset),(0,_util.shadow)(this,"mainXRefEntriesOffset",mainXRefEntriesOffset)},checkHeader:function PDFDocument_checkHeader(){var stream=this.stream;if(stream.reset(),find(stream,"%PDF-",1024)){stream.moveStart();for(var ch,version="";(ch=stream.getByte())>32&&!(version.length>=12);)version+=String.fromCharCode(ch);this.pdfFormatVersion||(this.pdfFormatVersion=version.substring(5))}else;},parseStartXRef:function PDFDocument_parseStartXRef(){var startXRef=this.startXRef;this.xref.setStartXRef(startXRef)},setup:function PDFDocument_setup(recoveryMode){var _this4=this;this.xref.parse(recoveryMode);var pageFactory={createPage:function createPage(pageIndex,dict,ref,fontCache,builtInCMapCache){return new Page({pdfManager:_this4.pdfManager,xref:_this4.xref,pageIndex:pageIndex,pageDict:dict,ref:ref,fontCache:fontCache,builtInCMapCache:builtInCMapCache,pdfFunctionFactory:_this4.pdfFunctionFactory})}};this.catalog=new _obj.Catalog(this.pdfManager,this.xref,pageFactory)},get numPages(){var linearization=this.linearization,num=linearization?linearization.numPages:this.catalog.numPages;return(0,_util.shadow)(this,"numPages",num)},get documentInfo(){var infoDict,docInfo={PDFFormatVersion:this.pdfFormatVersion,IsAcroFormPresent:!!this.acroForm,IsXFAPresent:!!this.xfa};try{infoDict=this.xref.trailer.get("Info")}catch(err){if(err instanceof _util.MissingDataException)throw err;(0,_util.info)("The document information dictionary is invalid.")}if(infoDict){var validEntries=DocumentInfoValidators.entries;for(var key in validEntries)if(infoDict.has(key)){var value=infoDict.get(key);validEntries[key](value)?docInfo[key]="string"!=typeof value?value:(0,_util.stringToPDFString)(value):(0,_util.info)('Bad value in document info for "'+key+'"')}}return(0,_util.shadow)(this,"documentInfo",docInfo)},get fingerprint(){var hash,fileID="",idArray=this.xref.trailer.get("ID");Array.isArray(idArray)&&idArray[0]&&(0,_util.isString)(idArray[0])&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==idArray[0]?hash=(0,_util.stringToBytes)(idArray[0]):(this.stream.ensureRange&&this.stream.ensureRange(0,Math.min(1024,this.stream.end)),hash=(0,_crypto.calculateMD5)(this.stream.bytes.subarray(0,1024),0,1024));for(var i=0,n=hash.length;i<n;i++){var hex=hash[i].toString(16);fileID+=1===hex.length?"0"+hex:hex}return(0,_util.shadow)(this,"fingerprint",fileID)},getPage:function PDFDocument_getPage(pageIndex){return this.catalog.getPage(pageIndex)},cleanup:function PDFDocument_cleanup(){return this.catalog.cleanup()}},PDFDocument}();exports.Page=Page,exports.PDFDocument=PDFDocument},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.JpegImage=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_util=__w_pdfjs_require__(0),JpegError=function JpegErrorClosure(){function JpegError(msg){this.message="JPEG error: "+msg}return JpegError.prototype=new Error,JpegError.prototype.name="JpegError",JpegError.constructor=JpegError,JpegError}(),JpegImage=function JpegImageClosure(){var dctZigZag=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function JpegImage(){this.decodeTransform=null,this.colorTransform=-1}function buildHuffmanTable(codeLengths,values){for(var i,j,k=0,code=[],length=16;length>0&&!codeLengths[length-1];)length--;code.push({children:[],index:0});var q,p=code[0];for(i=0;i<length;i++){for(j=0;j<codeLengths[i];j++){for((p=code.pop()).children[p.index]=values[k];p.index>0;)p=code.pop();for(p.index++,code.push(p);code.length<=i;)code.push(q={children:[],index:0}),p.children[p.index]=q.children,p=q;k++}i+1<length&&(code.push(q={children:[],index:0}),p.children[p.index]=q.children,p=q)}return code[0].children}function getBlockBufferOffset(component,row,col){return 64*((component.blocksPerLine+1)*row+col)}function decodeScan(data,offset,frame,components,resetInterval,spectralStart,spectralEnd,successivePrev,successive){var mcusPerLine=frame.mcusPerLine,progressive=frame.progressive,startOffset=offset,bitsData=0,bitsCount=0;function readBit(){if(bitsCount>0)return bitsCount--,bitsData>>bitsCount&1;if(255===(bitsData=data[offset++])){var nextByte=data[offset++];if(nextByte)throw new JpegError("unexpected marker "+(bitsData<<8|nextByte).toString(16))}return bitsCount=7,bitsData>>>7}function decodeHuffman(tree){for(var node=tree;;){if("number"==typeof(node=node[readBit()]))return node;if("object"!==(void 0===node?"undefined":_typeof(node)))throw new JpegError("invalid huffman sequence")}}function receive(length){for(var n=0;length>0;)n=n<<1|readBit(),length--;return n}function receiveAndExtend(length){if(1===length)return 1===readBit()?1:-1;var n=receive(length);return n>=1<<length-1?n:n+(-1<<length)+1}var eobrun=0;var successiveACNextValue,successiveACState=0;function decodeMcu(component,decode,mcu,row,col){var mcuCol=mcu%mcusPerLine;decode(component,getBlockBufferOffset(component,(mcu/mcusPerLine|0)*component.v+row,mcuCol*component.h+col))}function decodeBlock(component,decode,mcu){decode(component,getBlockBufferOffset(component,mcu/component.blocksPerLine|0,mcu%component.blocksPerLine))}var component,i,j,k,n,decodeFn,componentsLength=components.length;decodeFn=progressive?0===spectralStart?0===successivePrev?function decodeDCFirst(component,offset){var t=decodeHuffman(component.huffmanTableDC),diff=0===t?0:receiveAndExtend(t)<<successive;component.blockData[offset]=component.pred+=diff}:function decodeDCSuccessive(component,offset){component.blockData[offset]|=readBit()<<successive}:0===successivePrev?function decodeACFirst(component,offset){if(eobrun>0)eobrun--;else for(var k=spectralStart,e=spectralEnd;k<=e;){var rs=decodeHuffman(component.huffmanTableAC),s=15&rs,r=rs>>4;if(0!==s){var z=dctZigZag[k+=r];component.blockData[offset+z]=receiveAndExtend(s)*(1<<successive),k++}else{if(r<15){eobrun=receive(r)+(1<<r)-1;break}k+=16}}}:function decodeACSuccessive(component,offset){for(var s,rs,k=spectralStart,e=spectralEnd,r=0;k<=e;){var z=dctZigZag[k];switch(successiveACState){case 0:if(r=(rs=decodeHuffman(component.huffmanTableAC))>>4,0==(s=15&rs))r<15?(eobrun=receive(r)+(1<<r),successiveACState=4):(r=16,successiveACState=1);else{if(1!==s)throw new JpegError("invalid ACn encoding");successiveACNextValue=receiveAndExtend(s),successiveACState=r?2:3}continue;case 1:case 2:component.blockData[offset+z]?component.blockData[offset+z]+=readBit()<<successive:0==--r&&(successiveACState=2===successiveACState?3:0);break;case 3:component.blockData[offset+z]?component.blockData[offset+z]+=readBit()<<successive:(component.blockData[offset+z]=successiveACNextValue<<successive,successiveACState=0);break;case 4:component.blockData[offset+z]&&(component.blockData[offset+z]+=readBit()<<successive)}k++}4===successiveACState&&0==--eobrun&&(successiveACState=0)}:function decodeBaseline(component,offset){var t=decodeHuffman(component.huffmanTableDC),diff=0===t?0:receiveAndExtend(t);component.blockData[offset]=component.pred+=diff;for(var k=1;k<64;){var rs=decodeHuffman(component.huffmanTableAC),s=15&rs,r=rs>>4;if(0!==s){var z=dctZigZag[k+=r];component.blockData[offset+z]=receiveAndExtend(s),k++}else{if(r<15)break;k+=16}}};var fileMarker,mcuExpected,h,v,mcu=0;for(mcuExpected=1===componentsLength?components[0].blocksPerLine*components[0].blocksPerColumn:mcusPerLine*frame.mcusPerColumn;mcu<mcuExpected;){var mcuToRead=resetInterval?Math.min(mcuExpected-mcu,resetInterval):mcuExpected;for(i=0;i<componentsLength;i++)components[i].pred=0;if(eobrun=0,1===componentsLength)for(component=components[0],n=0;n<mcuToRead;n++)decodeBlock(component,decodeFn,mcu),mcu++;else for(n=0;n<mcuToRead;n++){for(i=0;i<componentsLength;i++)for(h=(component=components[i]).h,v=component.v,j=0;j<v;j++)for(k=0;k<h;k++)decodeMcu(component,decodeFn,mcu,j,k);mcu++}bitsCount=0,(fileMarker=findNextFileMarker(data,offset))&&fileMarker.invalid&&((0,_util.warn)("decodeScan - unexpected MCU data, next marker is: "+fileMarker.invalid),offset=fileMarker.offset);var marker=fileMarker&&fileMarker.marker;if(!marker||marker<=65280)throw new JpegError("marker was not found");if(!(marker>=65488&&marker<=65495))break;offset+=2}return(fileMarker=findNextFileMarker(data,offset))&&fileMarker.invalid&&((0,_util.warn)("decodeScan - unexpected Scan data, next marker is: "+fileMarker.invalid),offset=fileMarker.offset),offset-startOffset}function quantizeAndInverse(component,blockBufferOffset,p){var v0,v1,v2,v3,v4,v5,v6,v7,p0,p1,p2,p3,p4,p5,p6,p7,t,qt=component.quantizationTable,blockData=component.blockData;if(!qt)throw new JpegError("missing required Quantization Table.");for(var row=0;row<64;row+=8)p0=blockData[blockBufferOffset+row],p1=blockData[blockBufferOffset+row+1],p2=blockData[blockBufferOffset+row+2],p3=blockData[blockBufferOffset+row+3],p4=blockData[blockBufferOffset+row+4],p5=blockData[blockBufferOffset+row+5],p6=blockData[blockBufferOffset+row+6],p7=blockData[blockBufferOffset+row+7],p0*=qt[row],0!=(p1|p2|p3|p4|p5|p6|p7)?(p1*=qt[row+1],p2*=qt[row+2],p3*=qt[row+3],p4*=qt[row+4],p5*=qt[row+5],v1=(v0=(v0=5793*p0+128>>8)+(v1=5793*p4+128>>8)+1>>1)-v1,t=3784*(v2=p2)+1567*(v3=p6*=qt[row+6])+128>>8,v2=1567*v2-3784*v3+128>>8,v6=(v4=(v4=2896*(p1-(p7*=qt[row+7]))+128>>8)+(v6=p5<<4)+1>>1)-v6,v5=(v7=(v7=2896*(p1+p7)+128>>8)+(v5=p3<<4)+1>>1)-v5,v3=(v0=v0+(v3=t)+1>>1)-v3,v2=(v1=v1+v2+1>>1)-v2,t=2276*v4+3406*v7+2048>>12,v4=3406*v4-2276*v7+2048>>12,v7=t,t=799*v5+4017*v6+2048>>12,v5=4017*v5-799*v6+2048>>12,v6=t,p[row]=v0+v7,p[row+7]=v0-v7,p[row+1]=v1+v6,p[row+6]=v1-v6,p[row+2]=v2+v5,p[row+5]=v2-v5,p[row+3]=v3+v4,p[row+4]=v3-v4):(t=5793*p0+512>>10,p[row]=t,p[row+1]=t,p[row+2]=t,p[row+3]=t,p[row+4]=t,p[row+5]=t,p[row+6]=t,p[row+7]=t);for(var col=0;col<8;++col)p0=p[col],0!=((p1=p[col+8])|(p2=p[col+16])|(p3=p[col+24])|(p4=p[col+32])|(p5=p[col+40])|(p6=p[col+48])|(p7=p[col+56]))?(v1=(v0=4112+((v0=5793*p0+2048>>12)+(v1=5793*p4+2048>>12)+1>>1))-v1,t=3784*(v2=p2)+1567*(v3=p6)+2048>>12,v2=1567*v2-3784*v3+2048>>12,v3=t,v6=(v4=(v4=2896*(p1-p7)+2048>>12)+(v6=p5)+1>>1)-v6,v5=(v7=(v7=2896*(p1+p7)+2048>>12)+(v5=p3)+1>>1)-v5,t=2276*v4+3406*v7+2048>>12,v4=3406*v4-2276*v7+2048>>12,v7=t,t=799*v5+4017*v6+2048>>12,v5=4017*v5-799*v6+2048>>12,p0=(p0=(v0=v0+v3+1>>1)+v7)<16?0:p0>=4080?255:p0>>4,p1=(p1=(v1=v1+v2+1>>1)+(v6=t))<16?0:p1>=4080?255:p1>>4,p2=(p2=(v2=v1-v2)+v5)<16?0:p2>=4080?255:p2>>4,p3=(p3=(v3=v0-v3)+v4)<16?0:p3>=4080?255:p3>>4,p4=(p4=v3-v4)<16?0:p4>=4080?255:p4>>4,p5=(p5=v2-v5)<16?0:p5>=4080?255:p5>>4,p6=(p6=v1-v6)<16?0:p6>=4080?255:p6>>4,p7=(p7=v0-v7)<16?0:p7>=4080?255:p7>>4,blockData[blockBufferOffset+col]=p0,blockData[blockBufferOffset+col+8]=p1,blockData[blockBufferOffset+col+16]=p2,blockData[blockBufferOffset+col+24]=p3,blockData[blockBufferOffset+col+32]=p4,blockData[blockBufferOffset+col+40]=p5,blockData[blockBufferOffset+col+48]=p6,blockData[blockBufferOffset+col+56]=p7):(t=(t=5793*p0+8192>>14)<-2040?0:t>=2024?255:t+2056>>4,blockData[blockBufferOffset+col]=t,blockData[blockBufferOffset+col+8]=t,blockData[blockBufferOffset+col+16]=t,blockData[blockBufferOffset+col+24]=t,blockData[blockBufferOffset+col+32]=t,blockData[blockBufferOffset+col+40]=t,blockData[blockBufferOffset+col+48]=t,blockData[blockBufferOffset+col+56]=t)}function buildComponentData(frame,component){for(var blocksPerLine=component.blocksPerLine,blocksPerColumn=component.blocksPerColumn,computationBuffer=new Int16Array(64),blockRow=0;blockRow<blocksPerColumn;blockRow++)for(var blockCol=0;blockCol<blocksPerLine;blockCol++){quantizeAndInverse(component,getBlockBufferOffset(component,blockRow,blockCol),computationBuffer)}return component.blockData}function findNextFileMarker(data,currentPos,startPos){function peekUint16(pos){return data[pos]<<8|data[pos+1]}var maxPos=data.length-1,newPos=startPos<currentPos?startPos:currentPos;if(currentPos>=maxPos)return null;var currentMarker=peekUint16(currentPos);if(currentMarker>=65472&&currentMarker<=65534)return{invalid:null,marker:currentMarker,offset:currentPos};for(var newMarker=peekUint16(newPos);!(newMarker>=65472&&newMarker<=65534);){if(++newPos>=maxPos)return null;newMarker=peekUint16(newPos)}return{invalid:currentMarker.toString(16),marker:newMarker,offset:newPos}}return JpegImage.prototype={parse:function parse(data){function readUint16(){var value=data[offset]<<8|data[offset+1];return offset+=2,value}function readDataBlock(){var length=readUint16(),endOffset=offset+length-2,fileMarker=findNextFileMarker(data,endOffset,offset);fileMarker&&fileMarker.invalid&&((0,_util.warn)("readDataBlock - incorrect length, next marker is: "+fileMarker.invalid),endOffset=fileMarker.offset);var array=data.subarray(offset,endOffset);return offset+=array.length,array}function prepareComponents(frame){for(var mcusPerLine=Math.ceil(frame.samplesPerLine/8/frame.maxH),mcusPerColumn=Math.ceil(frame.scanLines/8/frame.maxV),i=0;i<frame.components.length;i++){component=frame.components[i];var blocksPerLine=Math.ceil(Math.ceil(frame.samplesPerLine/8)*component.h/frame.maxH),blocksPerColumn=Math.ceil(Math.ceil(frame.scanLines/8)*component.v/frame.maxV),blocksPerLineForMcu=mcusPerLine*component.h,blocksBufferSize=64*(mcusPerColumn*component.v)*(blocksPerLineForMcu+1);component.blockData=new Int16Array(blocksBufferSize),component.blocksPerLine=blocksPerLine,component.blocksPerColumn=blocksPerColumn}frame.mcusPerLine=mcusPerLine,frame.mcusPerColumn=mcusPerColumn}var frame,resetInterval,offset=0,jfif=null,adobe=null,quantizationTables=[],huffmanTablesAC=[],huffmanTablesDC=[],fileMarker=readUint16();if(65496!==fileMarker)throw new JpegError("SOI not found");for(fileMarker=readUint16();65497!==fileMarker;){var i,j,l;switch(fileMarker){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var appData=readDataBlock();65504===fileMarker&&74===appData[0]&&70===appData[1]&&73===appData[2]&&70===appData[3]&&0===appData[4]&&(jfif={version:{major:appData[5],minor:appData[6]},densityUnits:appData[7],xDensity:appData[8]<<8|appData[9],yDensity:appData[10]<<8|appData[11],thumbWidth:appData[12],thumbHeight:appData[13],thumbData:appData.subarray(14,14+3*appData[12]*appData[13])}),65518===fileMarker&&65===appData[0]&&100===appData[1]&&111===appData[2]&&98===appData[3]&&101===appData[4]&&(adobe={version:appData[5]<<8|appData[6],flags0:appData[7]<<8|appData[8],flags1:appData[9]<<8|appData[10],transformCode:appData[11]});break;case 65499:for(var quantizationTablesEnd=readUint16()+offset-2;offset<quantizationTablesEnd;){var quantizationTableSpec=data[offset++],tableData=new Uint16Array(64);if(quantizationTableSpec>>4==0)for(j=0;j<64;j++)tableData[dctZigZag[j]]=data[offset++];else{if(quantizationTableSpec>>4!=1)throw new JpegError("DQT - invalid table spec");for(j=0;j<64;j++)tableData[dctZigZag[j]]=readUint16()}quantizationTables[15&quantizationTableSpec]=tableData}break;case 65472:case 65473:case 65474:if(frame)throw new JpegError("Only single frame JPEGs supported");readUint16(),(frame={}).extended=65473===fileMarker,frame.progressive=65474===fileMarker,frame.precision=data[offset++],frame.scanLines=readUint16(),frame.samplesPerLine=readUint16(),frame.components=[],frame.componentIds={};var componentId,componentsCount=data[offset++],maxH=0,maxV=0;for(i=0;i<componentsCount;i++){componentId=data[offset];var h=data[offset+1]>>4,v=15&data[offset+1];maxH<h&&(maxH=h),maxV<v&&(maxV=v);var qId=data[offset+2];l=frame.components.push({h:h,v:v,quantizationId:qId,quantizationTable:null}),frame.componentIds[componentId]=l-1,offset+=3}frame.maxH=maxH,frame.maxV=maxV,prepareComponents(frame);break;case 65476:var huffmanLength=readUint16();for(i=2;i<huffmanLength;){var huffmanTableSpec=data[offset++],codeLengths=new Uint8Array(16),codeLengthSum=0;for(j=0;j<16;j++,offset++)codeLengthSum+=codeLengths[j]=data[offset];var huffmanValues=new Uint8Array(codeLengthSum);for(j=0;j<codeLengthSum;j++,offset++)huffmanValues[j]=data[offset];i+=17+codeLengthSum,(huffmanTableSpec>>4==0?huffmanTablesDC:huffmanTablesAC)[15&huffmanTableSpec]=buildHuffmanTable(codeLengths,huffmanValues)}break;case 65501:readUint16(),resetInterval=readUint16();break;case 65498:readUint16();var component,selectorsCount=data[offset++],components=[];for(i=0;i<selectorsCount;i++){var componentIndex=frame.componentIds[data[offset++]];component=frame.components[componentIndex];var tableSpec=data[offset++];component.huffmanTableDC=huffmanTablesDC[tableSpec>>4],component.huffmanTableAC=huffmanTablesAC[15&tableSpec],components.push(component)}var spectralStart=data[offset++],spectralEnd=data[offset++],successiveApproximation=data[offset++],processed=decodeScan(data,offset,frame,components,resetInterval,spectralStart,spectralEnd,successiveApproximation>>4,15&successiveApproximation);offset+=processed;break;case 65535:255!==data[offset]&&offset--;break;default:if(255===data[offset-3]&&data[offset-2]>=192&&data[offset-2]<=254){offset-=3;break}throw new JpegError("unknown marker "+fileMarker.toString(16))}fileMarker=readUint16()}for(this.width=frame.samplesPerLine,this.height=frame.scanLines,this.jfif=jfif,this.adobe=adobe,this.components=[],i=0;i<frame.components.length;i++){var quantizationTable=quantizationTables[(component=frame.components[i]).quantizationId];quantizationTable&&(component.quantizationTable=quantizationTable),this.components.push({output:buildComponentData(0,component),scaleX:component.h/frame.maxH,scaleY:component.v/frame.maxV,blocksPerLine:component.blocksPerLine,blocksPerColumn:component.blocksPerColumn})}this.numComponents=this.components.length},_getLinearizedBlockData:function getLinearizedBlockData(width,height){var component,componentScaleX,componentScaleY,blocksPerScanline,x,y,i,j,k,index,output,scaleX=this.width/width,scaleY=this.height/height,offset=0,numComponents=this.components.length,dataLength=width*height*numComponents,data=new Uint8ClampedArray(dataLength),xScaleBlockOffset=new Uint32Array(width);for(i=0;i<numComponents;i++){for(componentScaleX=(component=this.components[i]).scaleX*scaleX,componentScaleY=component.scaleY*scaleY,offset=i,output=component.output,blocksPerScanline=component.blocksPerLine+1<<3,x=0;x<width;x++)j=0|x*componentScaleX,xScaleBlockOffset[x]=(4294967288&j)<<3|7&j;for(y=0;y<height;y++)for(index=blocksPerScanline*(4294967288&(j=0|y*componentScaleY))|(7&j)<<3,x=0;x<width;x++)data[offset]=output[index+xScaleBlockOffset[x]],offset+=numComponents}var transform=this.decodeTransform;if(transform)for(i=0;i<dataLength;)for(j=0,k=0;j<numComponents;j++,i++,k+=2)data[i]=(data[i]*transform[k]>>8)+transform[k+1];return data},_isColorConversionNeeded:function _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this.colorTransform:1===this.colorTransform},_convertYccToRgb:function convertYccToRgb(data){for(var Y,Cb,Cr,i=0,length=data.length;i<length;i+=3)Y=data[i],Cb=data[i+1],Cr=data[i+2],data[i]=Y-179.456+1.402*Cr,data[i+1]=Y+135.459-.344*Cb-.714*Cr,data[i+2]=Y-226.816+1.772*Cb;return data},_convertYcckToRgb:function convertYcckToRgb(data){for(var Y,Cb,Cr,k,offset=0,i=0,length=data.length;i<length;i+=4)Y=data[i],Cb=data[i+1],Cr=data[i+2],k=data[i+3],data[offset++]=Cb*(-660635669420364e-19*Cb+.000437130475926232*Cr-54080610064599e-18*Y+.00048449797120281*k-.154362151871126)-122.67195406894+Cr*(-.000957964378445773*Cr+.000817076911346625*Y-.00477271405408747*k+1.53380253221734)+Y*(.000961250184130688*Y-.00266257332283933*k+.48357088451265)+k*(-.000336197177618394*k+.484791561490776),data[offset++]=107.268039397724+Cb*(219927104525741e-19*Cb-.000640992018297945*Cr+.000659397001245577*Y+.000426105652938837*k-.176491792462875)+Cr*(-.000778269941513683*Cr+.00130872261408275*Y+.000770482631801132*k-.151051492775562)+Y*(.00126935368114843*Y-.00265090189010898*k+.25802910206845)+k*(-.000318913117588328*k-.213742400323665),data[offset++]=Cb*(-.000570115196973677*Cb-263409051004589e-19*Cr+.0020741088115012*Y-.00288260236853442*k+.814272968359295)-20.810012546947+Cr*(-153496057440975e-19*Cr-.000132689043961446*Y+.000560833691242812*k-.195152027534049)+Y*(.00174418132927582*Y-.00255243321439347*k+.116935020465145)+k*(-.000343531996510555*k+.24165260232407);return data},_convertYcckToCmyk:function convertYcckToCmyk(data){for(var Y,Cb,Cr,i=0,length=data.length;i<length;i+=4)Y=data[i],Cb=data[i+1],Cr=data[i+2],data[i]=434.456-Y-1.402*Cr,data[i+1]=119.541-Y+.344*Cb+.714*Cr,data[i+2]=481.816-Y-1.772*Cb;return data},_convertCmykToRgb:function convertCmykToRgb(data){for(var c,m,y,k,offset=0,scale=1/255,i=0,length=data.length;i<length;i+=4)c=data[i]*scale,m=data[i+1]*scale,y=data[i+2]*scale,k=data[i+3]*scale,data[offset++]=255+c*(-4.387332384609988*c+54.48615194189176*m+18.82290502165302*y+212.25662451639585*k-285.2331026137004)+m*(1.7149763477362134*m-5.6096736904047315*y-17.873870861415444*k-5.497006427196366)+y*(-2.5217340131683033*y-21.248923337353073*k+17.5119270841813)-k*(21.86122147463605*k+189.48180835922747),data[offset++]=255+c*(8.841041422036149*c+60.118027045597366*m+6.871425592049007*y+31.159100130055922*k-79.2970844816548)+m*(-15.310361306967817*m+17.575251261109482*y+131.35250912493976*k-190.9453302588951)+y*(4.444339102852739*y+9.8632861493405*k-24.86741582555878)-k*(20.737325471181034*k+187.80453709719578),data[offset++]=255+c*(.8842522430003296*c+8.078677503112928*m+30.89978309703729*y-.23883238689178934*k-14.183576799673286)+m*(10.49593273432072*m+63.02378494754052*y+50.606957656360734*k-112.23884253719248)+y*(.03296041114873217*y+115.60384449646641*k-193.58209356861505)-k*(22.33816807309886*k+180.12613974708367);return data},getData:function getData(width,height,forceRGBoutput){if(this.numComponents>4)throw new JpegError("Unsupported color mode");var data=this._getLinearizedBlockData(width,height);if(1===this.numComponents&&forceRGBoutput){for(var dataLength=data.length,rgbData=new Uint8ClampedArray(3*dataLength),offset=0,i=0;i<dataLength;i++){var grayColor=data[i];rgbData[offset++]=grayColor,rgbData[offset++]=grayColor,rgbData[offset++]=grayColor}return rgbData}if(3===this.numComponents&&this._isColorConversionNeeded())return this._convertYccToRgb(data);if(4===this.numComponents){if(this._isColorConversionNeeded())return forceRGBoutput?this._convertYcckToRgb(data):this._convertYcckToCmyk(data);if(forceRGBoutput)return this._convertCmykToRgb(data)}return data}},JpegImage}();exports.JpegImage=JpegImage},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CCITTFaxStream=void 0;var _primitives=__w_pdfjs_require__(2),_ccitt=__w_pdfjs_require__(131),_stream=__w_pdfjs_require__(5),CCITTFaxStream=function CCITTFaxStreamClosure(){function CCITTFaxStream(str,maybeLength,params){this.str=str,this.dict=str.dict,(0,_primitives.isDict)(params)||(params=_primitives.Dict.empty);var source={next:function next(){return str.getByte()}};this.ccittFaxDecoder=new _ccitt.CCITTFaxDecoder(source,{K:params.get("K"),EndOfLine:params.get("EndOfLine"),EncodedByteAlign:params.get("EncodedByteAlign"),Columns:params.get("Columns"),Rows:params.get("Rows"),EndOfBlock:params.get("EndOfBlock"),BlackIs1:params.get("BlackIs1")}),_stream.DecodeStream.call(this,maybeLength)}return CCITTFaxStream.prototype=Object.create(_stream.DecodeStream.prototype),CCITTFaxStream.prototype.readBlock=function(){for(;!this.eof;){var c=this.ccittFaxDecoder.readNextChar();if(-1===c)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=c}},CCITTFaxStream}();exports.CCITTFaxStream=CCITTFaxStream},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CCITTFaxDecoder=void 0;var _util=__w_pdfjs_require__(0),CCITTFaxDecoder=function CCITTFaxDecoder(){var twoDimTable=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],whiteTable1=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],whiteTable2=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],blackTable1=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],blackTable2=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],blackTable3=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];function CCITTFaxDecoder(source){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!source||"function"!=typeof source.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=source,this.eof=!1,this.encoding=options.K||0,this.eoline=options.EndOfLine||!1,this.byteAlign=options.EncodedByteAlign||!1,this.columns=options.Columns||1728,this.rows=options.Rows||0;var eoblock=options.EndOfBlock;null==eoblock&&(eoblock=!0),this.eoblock=eoblock,this.black=options.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;for(var code1=void 0;0===(code1=this._lookBits(12));)this._eatBits(1);1===code1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}return CCITTFaxDecoder.prototype={readNextChar:function readNextChar(){if(this.eof)return-1;var refLine=this.refLine,codingLine=this.codingLine,columns=this.columns,refPos=void 0,blackPixels=void 0,bits=void 0,i=void 0;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;var code1=void 0,code2=void 0,code3=void 0;if(this.nextLine2D){for(i=0;codingLine[i]<columns;++i)refLine[i]=codingLine[i];for(refLine[i++]=columns,refLine[i]=columns,codingLine[0]=0,this.codingPos=0,refPos=0,blackPixels=0;codingLine[this.codingPos]<columns;)switch(code1=this._getTwoDimCode()){case 0:this._addPixels(refLine[refPos+1],blackPixels),refLine[refPos+1]<columns&&(refPos+=2);break;case 1:if(code1=code2=0,blackPixels){do{code1+=code3=this._getBlackCode()}while(code3>=64);do{code2+=code3=this._getWhiteCode()}while(code3>=64)}else{do{code1+=code3=this._getWhiteCode()}while(code3>=64);do{code2+=code3=this._getBlackCode()}while(code3>=64)}for(this._addPixels(codingLine[this.codingPos]+code1,blackPixels),codingLine[this.codingPos]<columns&&this._addPixels(codingLine[this.codingPos]+code2,1^blackPixels);refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 7:if(this._addPixels(refLine[refPos]+3,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 5:if(this._addPixels(refLine[refPos]+2,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 3:if(this._addPixels(refLine[refPos]+1,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 2:if(this._addPixels(refLine[refPos],blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 8:if(this._addPixelsNeg(refLine[refPos]-3,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(refPos>0?--refPos:++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 6:if(this._addPixelsNeg(refLine[refPos]-2,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(refPos>0?--refPos:++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case 4:if(this._addPixelsNeg(refLine[refPos]-1,blackPixels),blackPixels^=1,codingLine[this.codingPos]<columns)for(refPos>0?--refPos:++refPos;refLine[refPos]<=codingLine[this.codingPos]&&refLine[refPos]<columns;)refPos+=2;break;case-1:this._addPixels(columns,0),this.eof=!0;break;default:(0,_util.info)("bad 2d code"),this._addPixels(columns,0),this.err=!0}}else for(codingLine[0]=0,this.codingPos=0,blackPixels=0;codingLine[this.codingPos]<columns;){if(code1=0,blackPixels)do{code1+=code3=this._getBlackCode()}while(code3>=64);else do{code1+=code3=this._getWhiteCode()}while(code3>=64);this._addPixels(codingLine[this.codingPos]+code1,blackPixels),blackPixels^=1}var gotEOL=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(code1=this._lookBits(12),this.eoline)for(;-1!==code1&&1!==code1;)this._eatBits(1),code1=this._lookBits(12);else for(;0===code1;)this._eatBits(1),code1=this._lookBits(12);1===code1?(this._eatBits(12),gotEOL=!0):-1===code1&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&gotEOL&&this.byteAlign){if(1===(code1=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(i=0;i<4;++i)1!==(code1=this._lookBits(12))&&(0,_util.info)("bad rtc code: "+code1),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(-1===(code1=this._lookBits(13)))return this.eof=!0,-1;if(code1>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&code1))}codingLine[0]>0?this.outputBits=codingLine[this.codingPos=0]:this.outputBits=codingLine[this.codingPos=1],this.row++}var c=void 0;if(this.outputBits>=8)c=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&codingLine[this.codingPos]<columns&&(this.codingPos++,this.outputBits=codingLine[this.codingPos]-codingLine[this.codingPos-1]);else{bits=8,c=0;do{this.outputBits>bits?(c<<=bits,1&this.codingPos||(c|=255>>8-bits),this.outputBits-=bits,bits=0):(c<<=this.outputBits,1&this.codingPos||(c|=255>>8-this.outputBits),bits-=this.outputBits,this.outputBits=0,codingLine[this.codingPos]<columns?(this.codingPos++,this.outputBits=codingLine[this.codingPos]-codingLine[this.codingPos-1]):bits>0&&(c<<=bits,bits=0))}while(bits)}return this.black&&(c^=255),c},_addPixels:function _addPixels(a1,blackPixels){var codingLine=this.codingLine,codingPos=this.codingPos;a1>codingLine[codingPos]&&(a1>this.columns&&((0,_util.info)("row is wrong length"),this.err=!0,a1=this.columns),1&codingPos^blackPixels&&++codingPos,codingLine[codingPos]=a1),this.codingPos=codingPos},_addPixelsNeg:function _addPixelsNeg(a1,blackPixels){var codingLine=this.codingLine,codingPos=this.codingPos;if(a1>codingLine[codingPos])a1>this.columns&&((0,_util.info)("row is wrong length"),this.err=!0,a1=this.columns),1&codingPos^blackPixels&&++codingPos,codingLine[codingPos]=a1;else if(a1<codingLine[codingPos]){for(a1<0&&((0,_util.info)("invalid code"),this.err=!0,a1=0);codingPos>0&&a1<codingLine[codingPos-1];)--codingPos;codingLine[codingPos]=a1}this.codingPos=codingPos},_findTableCode:function _findTableCode(start,end,table,limit){for(var limitValue=limit||0,i=start;i<=end;++i){var code=this._lookBits(i);if(-1===code)return[!0,1,!1];if(i<end&&(code<<=end-i),!limitValue||code>=limitValue){var p=table[code-limitValue];if(p[0]===i)return this._eatBits(i),[!0,p[1],!0]}}return[!1,0,!1]},_getTwoDimCode:function _getTwoDimCode(){var code=0,p=void 0;if(this.eoblock){if(code=this._lookBits(7),(p=twoDimTable[code])&&p[0]>0)return this._eatBits(p[0]),p[1]}else{var result=this._findTableCode(1,7,twoDimTable);if(result[0]&&result[2])return result[1]}return(0,_util.info)("Bad two dim code"),-1},_getWhiteCode:function _getWhiteCode(){var code=0,p=void 0;if(this.eoblock){if(-1===(code=this._lookBits(12)))return 1;if((p=code>>5==0?whiteTable1[code]:whiteTable2[code>>3])[0]>0)return this._eatBits(p[0]),p[1]}else{var result=this._findTableCode(1,9,whiteTable2);if(result[0])return result[1];if((result=this._findTableCode(11,12,whiteTable1))[0])return result[1]}return(0,_util.info)("bad white code"),this._eatBits(1),1},_getBlackCode:function _getBlackCode(){var code=void 0,p=void 0;if(this.eoblock){if(-1===(code=this._lookBits(13)))return 1;if((p=code>>7==0?blackTable1[code]:code>>9==0&&code>>7!=0?blackTable2[(code>>1)-64]:blackTable3[code>>7])[0]>0)return this._eatBits(p[0]),p[1]}else{var result=this._findTableCode(2,6,blackTable3);if(result[0])return result[1];if((result=this._findTableCode(7,12,blackTable2,64))[0])return result[1];if((result=this._findTableCode(10,13,blackTable1))[0])return result[1]}return(0,_util.info)("bad black code"),this._eatBits(1),1},_lookBits:function _lookBits(n){for(var c=void 0;this.inputBits<n;){if(-1===(c=this.source.next()))return 0===this.inputBits?-1:this.inputBuf<<n-this.inputBits&65535>>16-n;this.inputBuf=this.inputBuf<<8|c,this.inputBits+=8}return this.inputBuf>>this.inputBits-n&65535>>16-n},_eatBits:function _eatBits(n){(this.inputBits-=n)<0&&(this.inputBits=0)}},CCITTFaxDecoder}();exports.CCITTFaxDecoder=CCITTFaxDecoder},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Jbig2Stream=void 0;var _primitives=__w_pdfjs_require__(2),_stream=__w_pdfjs_require__(5),_jbig=__w_pdfjs_require__(133),_util=__w_pdfjs_require__(0),Jbig2Stream=function Jbig2StreamClosure(){function Jbig2Stream(stream,maybeLength,dict,params){this.stream=stream,this.maybeLength=maybeLength,this.dict=dict,this.params=params,_stream.DecodeStream.call(this,maybeLength)}return Jbig2Stream.prototype=Object.create(_stream.DecodeStream.prototype),Object.defineProperty(Jbig2Stream.prototype,"bytes",{get:function get(){return(0,_util.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0}),Jbig2Stream.prototype.ensureBuffer=function(req){if(!this.bufferLength){var jbig2Image=new _jbig.Jbig2Image,chunks=[];if((0,_primitives.isDict)(this.params)){var globalsStream=this.params.get("JBIG2Globals");if((0,_primitives.isStream)(globalsStream)){var globals=globalsStream.getBytes();chunks.push({data:globals,start:0,end:globals.length})}}chunks.push({data:this.bytes,start:0,end:this.bytes.length});for(var data=jbig2Image.parseChunks(chunks),dataLength=data.length,i=0;i<dataLength;i++)data[i]^=255;this.buffer=data,this.bufferLength=dataLength,this.eof=!0}},Jbig2Stream}();exports.Jbig2Stream=Jbig2Stream},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Jbig2Image=void 0;var _util=__w_pdfjs_require__(0),_arithmetic_decoder=__w_pdfjs_require__(75),Jbig2Error=function Jbig2ErrorClosure(){function Jbig2Error(msg){this.message="JBIG2 error: "+msg}return Jbig2Error.prototype=new Error,Jbig2Error.prototype.name="Jbig2Error",Jbig2Error.constructor=Jbig2Error,Jbig2Error}(),Jbig2Image=function Jbig2ImageClosure(){function ContextCache(){}function DecodingContext(data,start,end){this.data=data,this.start=start,this.end=end}function decodeInteger(contextCache,procedure,decoder){var contexts=contextCache.getContexts(procedure),prev=1;function readBits(length){for(var v=0,i=0;i<length;i++){var bit=decoder.readBit(contexts,prev);prev=prev<256?prev<<1|bit:511&(prev<<1|bit)|256,v=v<<1|bit}return v>>>0}var sign=readBits(1),value=readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(1)?readBits(32)+4436:readBits(12)+340:readBits(8)+84:readBits(6)+20:readBits(4)+4:readBits(2);return 0===sign?value:value>0?-value:null}function decodeIAID(contextCache,decoder,codeLength){for(var contexts=contextCache.getContexts("IAID"),prev=1,i=0;i<codeLength;i++){prev=prev<<1|decoder.readBit(contexts,prev)}return codeLength<31?prev&(1<<codeLength)-1:2147483647&prev}ContextCache.prototype={getContexts:function getContexts(id){return id in this?this[id]:this[id]=new Int8Array(65536)}},DecodingContext.prototype={get decoder(){var decoder=new _arithmetic_decoder.ArithmeticDecoder(this.data,this.start,this.end);return(0,_util.shadow)(this,"decoder",decoder)},get contextCache(){var cache=new ContextCache;return(0,_util.shadow)(this,"contextCache",cache)}};var SegmentTypes=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],CodingTemplates=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],RefinementTemplates=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],ReusedContexts=[39717,1941,229,405],RefinementReusedContexts=[32,8];function decodeBitmap(mmr,width,height,templateIndex,prediction,skip,at,decodingContext){if(mmr)throw new Jbig2Error("MMR encoding is not supported");if(0===templateIndex&&!skip&&!prediction&&4===at.length&&3===at[0].x&&-1===at[0].y&&-3===at[1].x&&-1===at[1].y&&2===at[2].x&&-2===at[2].y&&-2===at[3].x&&-2===at[3].y)return function decodeBitmapTemplate0(width,height,decodingContext){var contextLabel,i,j,pixel,row,row1,row2,decoder=decodingContext.decoder,contexts=decodingContext.contextCache.getContexts("GB"),bitmap=[];for(i=0;i<height;i++)for(row=bitmap[i]=new Uint8Array(width),row1=i<1?row:bitmap[i-1],contextLabel=(row2=i<2?row:bitmap[i-2])[0]<<13|row2[1]<<12|row2[2]<<11|row1[0]<<7|row1[1]<<6|row1[2]<<5|row1[3]<<4,j=0;j<width;j++)row[j]=pixel=decoder.readBit(contexts,contextLabel),contextLabel=(31735&contextLabel)<<1|(j+3<width?row2[j+3]<<11:0)|(j+4<width?row1[j+4]<<4:0)|pixel;return bitmap}(width,height,decodingContext);var useskip=!!skip,template=CodingTemplates[templateIndex].concat(at);template.sort((function(a,b){return a.y-b.y||a.x-b.x}));var c,k,templateLength=template.length,templateX=new Int8Array(templateLength),templateY=new Int8Array(templateLength),changingTemplateEntries=[],reuseMask=0,minX=0,maxX=0,minY=0;for(k=0;k<templateLength;k++)templateX[k]=template[k].x,templateY[k]=template[k].y,minX=Math.min(minX,template[k].x),maxX=Math.max(maxX,template[k].x),minY=Math.min(minY,template[k].y),k<templateLength-1&&template[k].y===template[k+1].y&&template[k].x===template[k+1].x-1?reuseMask|=1<<templateLength-1-k:changingTemplateEntries.push(k);var changingEntriesLength=changingTemplateEntries.length,changingTemplateX=new Int8Array(changingEntriesLength),changingTemplateY=new Int8Array(changingEntriesLength),changingTemplateBit=new Uint16Array(changingEntriesLength);for(c=0;c<changingEntriesLength;c++)k=changingTemplateEntries[c],changingTemplateX[c]=template[k].x,changingTemplateY[c]=template[k].y,changingTemplateBit[c]=1<<templateLength-1-k;for(var j,i0,j0,bit,shift,sbb_left=-minX,sbb_top=-minY,sbb_right=width-maxX,pseudoPixelContext=ReusedContexts[templateIndex],row=new Uint8Array(width),bitmap=[],decoder=decodingContext.decoder,contexts=decodingContext.contextCache.getContexts("GB"),ltp=0,contextLabel=0,i=0;i<height;i++){if(prediction)if(ltp^=decoder.readBit(contexts,pseudoPixelContext)){bitmap.push(row);continue}for(row=new Uint8Array(row),bitmap.push(row),j=0;j<width;j++)if(useskip&&skip[i][j])row[j]=0;else{if(j>=sbb_left&&j<sbb_right&&i>=sbb_top)for(contextLabel=contextLabel<<1&reuseMask,k=0;k<changingEntriesLength;k++)i0=i+changingTemplateY[k],j0=j+changingTemplateX[k],(bit=bitmap[i0][j0])&&(contextLabel|=bit=changingTemplateBit[k]);else for(contextLabel=0,shift=templateLength-1,k=0;k<templateLength;k++,shift--)(j0=j+templateX[k])>=0&&j0<width&&(i0=i+templateY[k])>=0&&(bit=bitmap[i0][j0])&&(contextLabel|=bit<<shift);var pixel=decoder.readBit(contexts,contextLabel);row[j]=pixel}}return bitmap}function decodeRefinement(width,height,templateIndex,referenceBitmap,offsetX,offsetY,prediction,at,decodingContext){var codingTemplate=RefinementTemplates[templateIndex].coding;0===templateIndex&&(codingTemplate=codingTemplate.concat([at[0]]));var k,codingTemplateLength=codingTemplate.length,codingTemplateX=new Int32Array(codingTemplateLength),codingTemplateY=new Int32Array(codingTemplateLength);for(k=0;k<codingTemplateLength;k++)codingTemplateX[k]=codingTemplate[k].x,codingTemplateY[k]=codingTemplate[k].y;var referenceTemplate=RefinementTemplates[templateIndex].reference;0===templateIndex&&(referenceTemplate=referenceTemplate.concat([at[1]]));var referenceTemplateLength=referenceTemplate.length,referenceTemplateX=new Int32Array(referenceTemplateLength),referenceTemplateY=new Int32Array(referenceTemplateLength);for(k=0;k<referenceTemplateLength;k++)referenceTemplateX[k]=referenceTemplate[k].x,referenceTemplateY[k]=referenceTemplate[k].y;for(var referenceWidth=referenceBitmap[0].length,referenceHeight=referenceBitmap.length,pseudoPixelContext=RefinementReusedContexts[templateIndex],bitmap=[],decoder=decodingContext.decoder,contexts=decodingContext.contextCache.getContexts("GR"),ltp=0,i=0;i<height;i++){if(prediction)if(ltp^=decoder.readBit(contexts,pseudoPixelContext))throw new Jbig2Error("prediction is not supported");var row=new Uint8Array(width);bitmap.push(row);for(var j=0;j<width;j++){var i0,j0,contextLabel=0;for(k=0;k<codingTemplateLength;k++)i0=i+codingTemplateY[k],j0=j+codingTemplateX[k],i0<0||j0<0||j0>=width?contextLabel<<=1:contextLabel=contextLabel<<1|bitmap[i0][j0];for(k=0;k<referenceTemplateLength;k++)i0=i+referenceTemplateY[k]-offsetY,j0=j+referenceTemplateX[k]-offsetX,i0<0||i0>=referenceHeight||j0<0||j0>=referenceWidth?contextLabel<<=1:contextLabel=contextLabel<<1|referenceBitmap[i0][j0];var pixel=decoder.readBit(contexts,contextLabel);row[j]=pixel}}return bitmap}function decodeTextRegion(huffman,refinement,width,height,defaultPixelValue,numberOfSymbolInstances,stripSize,inputSymbols,symbolCodeLength,transposed,dsOffset,referenceCorner,combinationOperator,huffmanTables,refinementTemplateIndex,refinementAt,decodingContext){if(huffman)throw new Jbig2Error("huffman is not supported");var i,row,bitmap=[];for(i=0;i<height;i++){if(row=new Uint8Array(width),defaultPixelValue)for(var j=0;j<width;j++)row[j]=defaultPixelValue;bitmap.push(row)}var decoder=decodingContext.decoder,contextCache=decodingContext.contextCache,stripT=-decodeInteger(contextCache,"IADT",decoder),firstS=0;for(i=0;i<numberOfSymbolInstances;){stripT+=decodeInteger(contextCache,"IADT",decoder);for(var currentS=firstS+=decodeInteger(contextCache,"IAFS",decoder);;){var t=stripSize*stripT+(1===stripSize?0:decodeInteger(contextCache,"IAIT",decoder)),symbolId=decodeIAID(contextCache,decoder,symbolCodeLength),applyRefinement=refinement&&decodeInteger(contextCache,"IARI",decoder),symbolBitmap=inputSymbols[symbolId],symbolWidth=symbolBitmap[0].length,symbolHeight=symbolBitmap.length;if(applyRefinement){var rdw=decodeInteger(contextCache,"IARDW",decoder),rdh=decodeInteger(contextCache,"IARDH",decoder);symbolBitmap=decodeRefinement(symbolWidth+=rdw,symbolHeight+=rdh,refinementTemplateIndex,symbolBitmap,(rdw>>1)+decodeInteger(contextCache,"IARDX",decoder),(rdh>>1)+decodeInteger(contextCache,"IARDY",decoder),!1,refinementAt,decodingContext)}var s2,t2,symbolRow,offsetT=t-(1&referenceCorner?0:symbolHeight-1),offsetS=currentS-(2&referenceCorner?symbolWidth-1:0);if(transposed){for(s2=0;s2<symbolHeight;s2++)if(row=bitmap[offsetS+s2]){symbolRow=symbolBitmap[s2];var maxWidth=Math.min(width-offsetT,symbolWidth);switch(combinationOperator){case 0:for(t2=0;t2<maxWidth;t2++)row[offsetT+t2]|=symbolRow[t2];break;case 2:for(t2=0;t2<maxWidth;t2++)row[offsetT+t2]^=symbolRow[t2];break;default:throw new Jbig2Error("operator "+combinationOperator+" is not supported")}}currentS+=symbolHeight-1}else{for(t2=0;t2<symbolHeight;t2++)if(row=bitmap[offsetT+t2])switch(symbolRow=symbolBitmap[t2],combinationOperator){case 0:for(s2=0;s2<symbolWidth;s2++)row[offsetS+s2]|=symbolRow[s2];break;case 2:for(s2=0;s2<symbolWidth;s2++)row[offsetS+s2]^=symbolRow[s2];break;default:throw new Jbig2Error("operator "+combinationOperator+" is not supported")}currentS+=symbolWidth-1}i++;var deltaS=decodeInteger(contextCache,"IADS",decoder);if(null===deltaS)break;currentS+=deltaS+dsOffset}}return bitmap}function readSegmentHeader(data,start){var segmentHeader={};segmentHeader.number=(0,_util.readUint32)(data,start);var flags=data[start+4],segmentType=63&flags;if(!SegmentTypes[segmentType])throw new Jbig2Error("invalid segment type: "+segmentType);segmentHeader.type=segmentType,segmentHeader.typeName=SegmentTypes[segmentType],segmentHeader.deferredNonRetain=!!(128&flags);var pageAssociationFieldSize=!!(64&flags),referredFlags=data[start+5],referredToCount=referredFlags>>5&7,retainBits=[31&referredFlags],position=start+6;if(7===referredFlags){referredToCount=536870911&(0,_util.readUint32)(data,position-1),position+=3;var bytes=referredToCount+7>>3;for(retainBits[0]=data[position++];--bytes>0;)retainBits.push(data[position++])}else if(5===referredFlags||6===referredFlags)throw new Jbig2Error("invalid referred-to flags");segmentHeader.retainBits=retainBits;var i,ii,referredToSegmentNumberSize=segmentHeader.number<=256?1:segmentHeader.number<=65536?2:4,referredTo=[];for(i=0;i<referredToCount;i++){var number=1===referredToSegmentNumberSize?data[position]:2===referredToSegmentNumberSize?(0,_util.readUint16)(data,position):(0,_util.readUint32)(data,position);referredTo.push(number),position+=referredToSegmentNumberSize}if(segmentHeader.referredTo=referredTo,pageAssociationFieldSize?(segmentHeader.pageAssociation=(0,_util.readUint32)(data,position),position+=4):segmentHeader.pageAssociation=data[position++],segmentHeader.length=(0,_util.readUint32)(data,position),position+=4,4294967295===segmentHeader.length){if(38!==segmentType)throw new Jbig2Error("invalid unknown segment length");var genericRegionInfo=readRegionSegmentInformation(data,position),genericRegionMmr=!!(1&data[position+RegionSegmentInformationFieldLength]),searchPattern=new Uint8Array(6);for(genericRegionMmr||(searchPattern[0]=255,searchPattern[1]=172),searchPattern[2]=genericRegionInfo.height>>>24&255,searchPattern[3]=genericRegionInfo.height>>16&255,searchPattern[4]=genericRegionInfo.height>>8&255,searchPattern[5]=255&genericRegionInfo.height,i=position,ii=data.length;i<ii;i++){for(var j=0;j<6&&searchPattern[j]===data[i+j];)j++;if(6===j){segmentHeader.length=i+6;break}}if(4294967295===segmentHeader.length)throw new Jbig2Error("segment end was not found")}return segmentHeader.headerEnd=position,segmentHeader}function readSegments(header,data,start,end){for(var segments=[],position=start;position<end;){var segmentHeader=readSegmentHeader(data,position);position=segmentHeader.headerEnd;var segment={header:segmentHeader,data:data};if(header.randomAccess||(segment.start=position,position+=segmentHeader.length,segment.end=position),segments.push(segment),51===segmentHeader.type)break}if(header.randomAccess)for(var i=0,ii=segments.length;i<ii;i++)segments[i].start=position,position+=segments[i].header.length,segments[i].end=position;return segments}function readRegionSegmentInformation(data,start){return{width:(0,_util.readUint32)(data,start),height:(0,_util.readUint32)(data,start+4),x:(0,_util.readUint32)(data,start+8),y:(0,_util.readUint32)(data,start+12),combinationOperator:7&data[start+16]}}var RegionSegmentInformationFieldLength=17;function processSegment(segment,visitor){var args,at,i,atLength,header=segment.header,data=segment.data,position=segment.start,end=segment.end;switch(header.type){case 0:var dictionary={},dictionaryFlags=(0,_util.readUint16)(data,position);if(dictionary.huffman=!!(1&dictionaryFlags),dictionary.refinement=!!(2&dictionaryFlags),dictionary.huffmanDHSelector=dictionaryFlags>>2&3,dictionary.huffmanDWSelector=dictionaryFlags>>4&3,dictionary.bitmapSizeSelector=dictionaryFlags>>6&1,dictionary.aggregationInstancesSelector=dictionaryFlags>>7&1,dictionary.bitmapCodingContextUsed=!!(256&dictionaryFlags),dictionary.bitmapCodingContextRetained=!!(512&dictionaryFlags),dictionary.template=dictionaryFlags>>10&3,dictionary.refinementTemplate=dictionaryFlags>>12&1,position+=2,!dictionary.huffman){for(atLength=0===dictionary.template?4:1,at=[],i=0;i<atLength;i++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;dictionary.at=at}if(dictionary.refinement&&!dictionary.refinementTemplate){for(at=[],i=0;i<2;i++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;dictionary.refinementAt=at}dictionary.numberOfExportedSymbols=(0,_util.readUint32)(data,position),position+=4,dictionary.numberOfNewSymbols=(0,_util.readUint32)(data,position),position+=4,args=[dictionary,header.number,header.referredTo,data,position,end];break;case 6:case 7:var textRegion={};textRegion.info=readRegionSegmentInformation(data,position),position+=RegionSegmentInformationFieldLength;var textRegionSegmentFlags=(0,_util.readUint16)(data,position);if(position+=2,textRegion.huffman=!!(1&textRegionSegmentFlags),textRegion.refinement=!!(2&textRegionSegmentFlags),textRegion.stripSize=1<<(textRegionSegmentFlags>>2&3),textRegion.referenceCorner=textRegionSegmentFlags>>4&3,textRegion.transposed=!!(64&textRegionSegmentFlags),textRegion.combinationOperator=textRegionSegmentFlags>>7&3,textRegion.defaultPixelValue=textRegionSegmentFlags>>9&1,textRegion.dsOffset=textRegionSegmentFlags<<17>>27,textRegion.refinementTemplate=textRegionSegmentFlags>>15&1,textRegion.huffman){var textRegionHuffmanFlags=(0,_util.readUint16)(data,position);position+=2,textRegion.huffmanFS=3&textRegionHuffmanFlags,textRegion.huffmanDS=textRegionHuffmanFlags>>2&3,textRegion.huffmanDT=textRegionHuffmanFlags>>4&3,textRegion.huffmanRefinementDW=textRegionHuffmanFlags>>6&3,textRegion.huffmanRefinementDH=textRegionHuffmanFlags>>8&3,textRegion.huffmanRefinementDX=textRegionHuffmanFlags>>10&3,textRegion.huffmanRefinementDY=textRegionHuffmanFlags>>12&3,textRegion.huffmanRefinementSizeSelector=!!(14&textRegionHuffmanFlags)}if(textRegion.refinement&&!textRegion.refinementTemplate){for(at=[],i=0;i<2;i++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;textRegion.refinementAt=at}if(textRegion.numberOfSymbolInstances=(0,_util.readUint32)(data,position),position+=4,textRegion.huffman)throw new Jbig2Error("huffman is not supported");args=[textRegion,header.referredTo,data,position,end];break;case 16:var patternDictionary={},patternDictionaryFlags=data[position++];patternDictionary.mmr=!!(1&patternDictionaryFlags),patternDictionary.template=patternDictionaryFlags>>1&3,patternDictionary.patternWidth=data[position++],patternDictionary.patternHeight=data[position++],patternDictionary.maxPatternIndex=(0,_util.readUint32)(data,position),position+=4,args=[patternDictionary,header.number,data,position,end];break;case 22:case 23:var halftoneRegion={};halftoneRegion.info=readRegionSegmentInformation(data,position),position+=RegionSegmentInformationFieldLength;var halftoneRegionFlags=data[position++];halftoneRegion.mmr=!!(1&halftoneRegionFlags),halftoneRegion.template=halftoneRegionFlags>>1&3,halftoneRegion.enableSkip=!!(8&halftoneRegionFlags),halftoneRegion.combinationOperator=halftoneRegionFlags>>4&7,halftoneRegion.defaultPixelValue=halftoneRegionFlags>>7&1,halftoneRegion.gridWidth=(0,_util.readUint32)(data,position),position+=4,halftoneRegion.gridHeight=(0,_util.readUint32)(data,position),position+=4,halftoneRegion.gridOffsetX=4294967295&(0,_util.readUint32)(data,position),position+=4,halftoneRegion.gridOffsetY=4294967295&(0,_util.readUint32)(data,position),position+=4,halftoneRegion.gridVectorX=(0,_util.readUint16)(data,position),position+=2,halftoneRegion.gridVectorY=(0,_util.readUint16)(data,position),position+=2,args=[halftoneRegion,header.referredTo,data,position,end];break;case 38:case 39:var genericRegion={};genericRegion.info=readRegionSegmentInformation(data,position),position+=RegionSegmentInformationFieldLength;var genericRegionSegmentFlags=data[position++];if(genericRegion.mmr=!!(1&genericRegionSegmentFlags),genericRegion.template=genericRegionSegmentFlags>>1&3,genericRegion.prediction=!!(8&genericRegionSegmentFlags),!genericRegion.mmr){for(atLength=0===genericRegion.template?4:1,at=[],i=0;i<atLength;i++)at.push({x:(0,_util.readInt8)(data,position),y:(0,_util.readInt8)(data,position+1)}),position+=2;genericRegion.at=at}args=[genericRegion,data,position,end];break;case 48:var pageInfo={width:(0,_util.readUint32)(data,position),height:(0,_util.readUint32)(data,position+4),resolutionX:(0,_util.readUint32)(data,position+8),resolutionY:(0,_util.readUint32)(data,position+12)};4294967295===pageInfo.height&&delete pageInfo.height;var pageSegmentFlags=data[position+16];(0,_util.readUint16)(data,position+17),pageInfo.lossless=!!(1&pageSegmentFlags),pageInfo.refinement=!!(2&pageSegmentFlags),pageInfo.defaultPixelValue=pageSegmentFlags>>2&1,pageInfo.combinationOperator=pageSegmentFlags>>3&3,pageInfo.requiresBuffer=!!(32&pageSegmentFlags),pageInfo.combinationOperatorOverride=!!(64&pageSegmentFlags),args=[pageInfo];break;case 49:case 50:case 51:case 62:break;default:throw new Jbig2Error("segment type "+header.typeName+"("+header.type+") is not implemented")}var callbackName="on"+header.typeName;callbackName in visitor&&visitor[callbackName].apply(visitor,args)}function processSegments(segments,visitor){for(var i=0,ii=segments.length;i<ii;i++)processSegment(segments[i],visitor)}function SimpleSegmentVisitor(){}function Jbig2Image(){}return SimpleSegmentVisitor.prototype={onPageInformation:function SimpleSegmentVisitor_onPageInformation(info){this.currentPageInfo=info;var rowSize=info.width+7>>3,buffer=new Uint8ClampedArray(rowSize*info.height);if(info.defaultPixelValue)for(var i=0,ii=buffer.length;i<ii;i++)buffer[i]=255;this.buffer=buffer},drawBitmap:function SimpleSegmentVisitor_drawBitmap(regionInfo,bitmap){var i,j,mask,offset,pageInfo=this.currentPageInfo,width=regionInfo.width,height=regionInfo.height,rowSize=pageInfo.width+7>>3,combinationOperator=pageInfo.combinationOperatorOverride?regionInfo.combinationOperator:pageInfo.combinationOperator,buffer=this.buffer,mask0=128>>(7&regionInfo.x),offset0=regionInfo.y*rowSize+(regionInfo.x>>3);switch(combinationOperator){case 0:for(i=0;i<height;i++){for(mask=mask0,offset=offset0,j=0;j<width;j++)bitmap[i][j]&&(buffer[offset]|=mask),(mask>>=1)||(mask=128,offset++);offset0+=rowSize}break;case 2:for(i=0;i<height;i++){for(mask=mask0,offset=offset0,j=0;j<width;j++)bitmap[i][j]&&(buffer[offset]^=mask),(mask>>=1)||(mask=128,offset++);offset0+=rowSize}break;default:throw new Jbig2Error("operator "+combinationOperator+" is not supported")}},onImmediateGenericRegion:function SimpleSegmentVisitor_onImmediateGenericRegion(region,data,start,end){var regionInfo=region.info,decodingContext=new DecodingContext(data,start,end),bitmap=decodeBitmap(region.mmr,regionInfo.width,regionInfo.height,region.template,region.prediction,null,region.at,decodingContext);this.drawBitmap(regionInfo,bitmap)},onImmediateLosslessGenericRegion:function SimpleSegmentVisitor_onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function SimpleSegmentVisitor_onSymbolDictionary(dictionary,currentSegment,referredSegments,data,start,end){if(dictionary.huffman)throw new Jbig2Error("huffman is not supported");var symbols=this.symbols;symbols||(this.symbols=symbols={});for(var inputSymbols=[],i=0,ii=referredSegments.length;i<ii;i++)inputSymbols=inputSymbols.concat(symbols[referredSegments[i]]);var decodingContext=new DecodingContext(data,start,end);symbols[currentSegment]=function decodeSymbolDictionary(huffman,refinement,symbols,numberOfNewSymbols,numberOfExportedSymbols,huffmanTables,templateIndex,at,refinementTemplateIndex,refinementAt,decodingContext){if(huffman)throw new Jbig2Error("huffman is not supported");for(var newSymbols=[],currentHeight=0,symbolCodeLength=(0,_util.log2)(symbols.length+numberOfNewSymbols),decoder=decodingContext.decoder,contextCache=decodingContext.contextCache;newSymbols.length<numberOfNewSymbols;){currentHeight+=decodeInteger(contextCache,"IADH",decoder);for(var currentWidth=0;;){var bitmap,deltaWidth=decodeInteger(contextCache,"IADW",decoder);if(null===deltaWidth)break;if(currentWidth+=deltaWidth,refinement){var numberOfInstances=decodeInteger(contextCache,"IAAI",decoder);if(numberOfInstances>1)bitmap=decodeTextRegion(huffman,refinement,currentWidth,currentHeight,0,numberOfInstances,1,symbols.concat(newSymbols),symbolCodeLength,0,0,1,0,0,refinementTemplateIndex,refinementAt,decodingContext);else{var symbolId=decodeIAID(contextCache,decoder,symbolCodeLength),rdx=decodeInteger(contextCache,"IARDX",decoder),rdy=decodeInteger(contextCache,"IARDY",decoder);bitmap=decodeRefinement(currentWidth,currentHeight,refinementTemplateIndex,symbolId<symbols.length?symbols[symbolId]:newSymbols[symbolId-symbols.length],rdx,rdy,!1,refinementAt,decodingContext)}}else bitmap=decodeBitmap(!1,currentWidth,currentHeight,templateIndex,!1,null,at,decodingContext);newSymbols.push(bitmap)}}for(var exportedSymbols=[],flags=[],currentFlag=!1,totalSymbolsLength=symbols.length+numberOfNewSymbols;flags.length<totalSymbolsLength;){for(var runLength=decodeInteger(contextCache,"IAEX",decoder);runLength--;)flags.push(currentFlag);currentFlag=!currentFlag}for(var i=0,ii=symbols.length;i<ii;i++)flags[i]&&exportedSymbols.push(symbols[i]);for(var j=0;j<numberOfNewSymbols;i++,j++)flags[i]&&exportedSymbols.push(newSymbols[j]);return exportedSymbols}(dictionary.huffman,dictionary.refinement,inputSymbols,dictionary.numberOfNewSymbols,dictionary.numberOfExportedSymbols,0,dictionary.template,dictionary.at,dictionary.refinementTemplate,dictionary.refinementAt,decodingContext)},onImmediateTextRegion:function SimpleSegmentVisitor_onImmediateTextRegion(region,referredSegments,data,start,end){for(var regionInfo=region.info,symbols=this.symbols,inputSymbols=[],i=0,ii=referredSegments.length;i<ii;i++)inputSymbols=inputSymbols.concat(symbols[referredSegments[i]]);var symbolCodeLength=(0,_util.log2)(inputSymbols.length),decodingContext=new DecodingContext(data,start,end),bitmap=decodeTextRegion(region.huffman,region.refinement,regionInfo.width,regionInfo.height,region.defaultPixelValue,region.numberOfSymbolInstances,region.stripSize,inputSymbols,symbolCodeLength,region.transposed,region.dsOffset,region.referenceCorner,region.combinationOperator,0,region.refinementTemplate,region.refinementAt,decodingContext);this.drawBitmap(regionInfo,bitmap)},onImmediateLosslessTextRegion:function SimpleSegmentVisitor_onImmediateLosslessTextRegion(){this.onImmediateTextRegion.apply(this,arguments)},onPatternDictionary:function onPatternDictionary(dictionary,currentSegment,data,start,end){var patterns=this.patterns;patterns||(this.patterns=patterns={});var decodingContext=new DecodingContext(data,start,end);patterns[currentSegment]=function decodePatternDictionary(mmr,patternWidth,patternHeight,maxPatternIndex,template,decodingContext){var at=[];at.push({x:-patternWidth,y:0}),0===template&&(at.push({x:-3,y:-1}),at.push({x:2,y:-2}),at.push({x:-2,y:-2}));for(var collectiveBitmap=decodeBitmap(mmr,(maxPatternIndex+1)*patternWidth,patternHeight,template,!1,null,at,decodingContext),patterns=[],i=0,patternBitmap=void 0,xMin=void 0,xMax=void 0,y=void 0;i<=maxPatternIndex;){for(patternBitmap=[],xMax=(xMin=patternWidth*i)+patternWidth,y=0;y<patternHeight;y++)patternBitmap.push(collectiveBitmap[y].subarray(xMin,xMax));patterns.push(patternBitmap),i++}return patterns}(dictionary.mmr,dictionary.patternWidth,dictionary.patternHeight,dictionary.maxPatternIndex,dictionary.template,decodingContext)},onImmediateHalftoneRegion:function onImmediateHalftoneRegion(region,referredSegments,data,start,end){var patterns=this.patterns[referredSegments[0]],regionInfo=region.info,decodingContext=new DecodingContext(data,start,end),bitmap=function decodeHalftoneRegion(mmr,patterns,template,regionWidth,regionHeight,defaultPixelValue,enableSkip,combinationOperator,gridWidth,gridHeight,gridOffsetX,gridOffsetY,gridVectorX,gridVectorY,decodingContext){if(enableSkip)throw new Jbig2Error("skip is not supported");if(0!==combinationOperator)throw new Jbig2Error("operator "+combinationOperator+" is not supported in halftone region");var regionBitmap=[],i=void 0,j=void 0,row=void 0;for(i=0;i<regionHeight;i++){if(row=new Uint8Array(regionWidth),defaultPixelValue)for(j=0;j<regionWidth;j++)row[j]=defaultPixelValue;regionBitmap.push(row)}var numberOfPatterns=patterns.length,pattern0=patterns[0],patternWidth=pattern0[0].length,patternHeight=pattern0.length,bitsPerValue=(0,_util.log2)(numberOfPatterns),at=[];at.push({x:template<=1?3:2,y:-1}),0===template&&(at.push({x:-3,y:-1}),at.push({x:2,y:-2}),at.push({x:-2,y:-2}));var grayScaleBitPlanes=[];for(i=bitsPerValue-1;i>=0;i--)grayScaleBitPlanes[i]=decodeBitmap(mmr,gridWidth,gridHeight,template,!1,null,at,decodingContext);var mg=void 0,ng=void 0,bit=void 0,patternIndex=void 0,patternBitmap=void 0,x=void 0,y=void 0,patternRow=void 0,regionRow=void 0;for(mg=0;mg<gridHeight;mg++)for(ng=0;ng<gridWidth;ng++){for(bit=0,patternIndex=0,j=bitsPerValue-1;j>=0;j--)patternIndex|=(bit=grayScaleBitPlanes[j][mg][ng]^bit)<<j;if(patternBitmap=patterns[patternIndex],y=gridOffsetY+mg*gridVectorX-ng*gridVectorY>>8,(x=gridOffsetX+mg*gridVectorY+ng*gridVectorX>>8)>=0&&x+patternWidth<=regionWidth&&y>=0&&y+patternHeight<=regionHeight)for(i=0;i<patternHeight;i++)for(regionRow=regionBitmap[y+i],patternRow=patternBitmap[i],j=0;j<patternWidth;j++)regionRow[x+j]|=patternRow[j];else{var regionX=void 0,regionY=void 0;for(i=0;i<patternHeight;i++)if(!((regionY=y+i)<0||regionY>=regionHeight))for(regionRow=regionBitmap[regionY],patternRow=patternBitmap[i],j=0;j<patternWidth;j++)(regionX=x+j)>=0&&regionX<regionWidth&&(regionRow[regionX]|=patternRow[j])}}return regionBitmap}(region.mmr,patterns,region.template,regionInfo.width,regionInfo.height,region.defaultPixelValue,region.enableSkip,region.combinationOperator,region.gridWidth,region.gridHeight,region.gridOffsetX,region.gridOffsetY,region.gridVectorX,region.gridVectorY,decodingContext);this.drawBitmap(regionInfo,bitmap)},onImmediateLosslessHalftoneRegion:function onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion.apply(this,arguments)}},Jbig2Image.prototype={parseChunks:function Jbig2Image_parseChunks(chunks){return function parseJbig2Chunks(chunks){for(var visitor=new SimpleSegmentVisitor,i=0,ii=chunks.length;i<ii;i++){var chunk=chunks[i];processSegments(readSegments({},chunk.data,chunk.start,chunk.end),visitor)}return visitor.buffer}(chunks)}},Jbig2Image}();exports.Jbig2Image=Jbig2Image},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CMapFactory=exports.IdentityCMap=exports.CMap=void 0;var _util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),_parser=__w_pdfjs_require__(34),_stream=__w_pdfjs_require__(5),BUILT_IN_CMAPS=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],CMap=function CMapClosure(){function CMap(builtInCMap){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=builtInCMap}return CMap.prototype={addCodespaceRange:function addCodespaceRange(n,low,high){this.codespaceRanges[n-1].push(low,high),this.numCodespaceRanges++},mapCidRange:function mapCidRange(low,high,dstLow){for(;low<=high;)this._map[low++]=dstLow++},mapBfRange:function mapBfRange(low,high,dstLow){for(var lastByte=dstLow.length-1;low<=high;)this._map[low++]=dstLow,dstLow=dstLow.substr(0,lastByte)+String.fromCharCode(dstLow.charCodeAt(lastByte)+1)},mapBfRangeToArray:function mapBfRangeToArray(low,high,array){for(var i=0,ii=array.length;low<=high&&i<ii;)this._map[low]=array[i++],++low},mapOne:function mapOne(src,dst){this._map[src]=dst},lookup:function lookup(code){return this._map[code]},contains:function contains(code){return void 0!==this._map[code]},forEach:function forEach(callback){var map=this._map,length=map.length;if(length<=65536)for(var i=0;i<length;i++)void 0!==map[i]&&callback(i,map[i]);else for(var _i in map)callback(_i,map[_i])},charCodeOf:function charCodeOf(value){var map=this._map;if(map.length<=65536)return map.indexOf(value);for(var charCode in map)if(map[charCode]===value)return 0|charCode;return-1},getMap:function getMap(){return this._map},readCharCode:function readCharCode(str,offset,out){for(var c=0,codespaceRanges=this.codespaceRanges,codespaceRangesLen=this.codespaceRanges.length,n=0;n<codespaceRangesLen;n++){c=(c<<8|str.charCodeAt(offset+n))>>>0;for(var codespaceRange=codespaceRanges[n],k=0,kk=codespaceRange.length;k<kk;){var low=codespaceRange[k++],high=codespaceRange[k++];if(c>=low&&c<=high)return out.charcode=c,void(out.length=n+1)}}out.charcode=0,out.length=1},get length(){return this._map.length},get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var i=0;i<65536;i++)if(this._map[i]!==i)return!1;return!0}},CMap}(),IdentityCMap=function IdentityCMapClosure(){function IdentityCMap(vertical,n){CMap.call(this),this.vertical=vertical,this.addCodespaceRange(n,0,65535)}return _util.Util.inherit(IdentityCMap,CMap,{}),IdentityCMap.prototype={addCodespaceRange:CMap.prototype.addCodespaceRange,mapCidRange:function mapCidRange(low,high,dstLow){throw new Error("should not call mapCidRange")},mapBfRange:function mapBfRange(low,high,dstLow){throw new Error("should not call mapBfRange")},mapBfRangeToArray:function mapBfRangeToArray(low,high,array){throw new Error("should not call mapBfRangeToArray")},mapOne:function mapOne(src,dst){throw new Error("should not call mapCidOne")},lookup:function lookup(code){return Number.isInteger(code)&&code<=65535?code:void 0},contains:function contains(code){return Number.isInteger(code)&&code<=65535},forEach:function forEach(callback){for(var i=0;i<=65535;i++)callback(i,i)},charCodeOf:function charCodeOf(value){return Number.isInteger(value)&&value<=65535?value:-1},getMap:function getMap(){for(var map=new Array(65536),i=0;i<=65535;i++)map[i]=i;return map},readCharCode:CMap.prototype.readCharCode,get length(){return 65536},get isIdentityCMap(){throw new Error("should not access .isIdentityCMap")}},IdentityCMap}(),BinaryCMapReader=function BinaryCMapReaderClosure(){function hexToInt(a,size){for(var n=0,i=0;i<=size;i++)n=n<<8|a[i];return n>>>0}function hexToStr(a,size){return 1===size?String.fromCharCode(a[0],a[1]):3===size?String.fromCharCode(a[0],a[1],a[2],a[3]):String.fromCharCode.apply(null,a.subarray(0,size+1))}function addHex(a,b,size){for(var c=0,i=size;i>=0;i--)c+=a[i]+b[i],a[i]=255&c,c>>=8}function incHex(a,size){for(var c=1,i=size;i>=0&&c>0;i--)c+=a[i],a[i]=255&c,c>>=8}function BinaryCMapStream(data){this.buffer=data,this.pos=0,this.end=data.length,this.tmpBuf=new Uint8Array(19)}function BinaryCMapReader(){}return BinaryCMapStream.prototype={readByte:function readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]},readNumber:function readNumber(){var last,n=0;do{var b=this.readByte();if(b<0)throw new _util.FormatError("unexpected EOF in bcmap");last=!(128&b),n=n<<7|127&b}while(!last);return n},readSigned:function readSigned(){var n=this.readNumber();return 1&n?~(n>>>1):n>>>1},readHex:function readHex(num,size){num.set(this.buffer.subarray(this.pos,this.pos+size+1)),this.pos+=size+1},readHexNumber:function readHexNumber(num,size){var last,stack=this.tmpBuf,sp=0;do{var b=this.readByte();if(b<0)throw new _util.FormatError("unexpected EOF in bcmap");last=!(128&b),stack[sp++]=127&b}while(!last);for(var i=size,buffer=0,bufferSize=0;i>=0;){for(;bufferSize<8&&stack.length>0;)buffer=stack[--sp]<<bufferSize|buffer,bufferSize+=7;num[i]=255&buffer,i--,buffer>>=8,bufferSize-=8}},readHexSigned:function readHexSigned(num,size){this.readHexNumber(num,size);for(var sign=1&num[size]?255:0,c=0,i=0;i<=size;i++)c=(1&c)<<8|num[i],num[i]=c>>1^sign},readString:function readString(){for(var len=this.readNumber(),s="",i=0;i<len;i++)s+=String.fromCharCode(this.readNumber());return s}},BinaryCMapReader.prototype={process:function processBinaryCMap(data,cMap,extend){return new Promise((function(resolve,reject){var stream=new BinaryCMapStream(data),header=stream.readByte();cMap.vertical=!!(1&header);for(var code,b,useCMap=null,start=new Uint8Array(16),end=new Uint8Array(16),char=new Uint8Array(16),charCode=new Uint8Array(16),tmp=new Uint8Array(16);(b=stream.readByte())>=0;){var type=b>>5;if(7!==type){var sequence=!!(16&b),dataSize=15&b;if(dataSize+1>16)throw new Error("processBinaryCMap: Invalid dataSize.");var i,subitemsCount=stream.readNumber();switch(type){case 0:for(stream.readHex(start,dataSize),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),cMap.addCodespaceRange(dataSize+1,hexToInt(start,dataSize),hexToInt(end,dataSize)),i=1;i<subitemsCount;i++)incHex(end,dataSize),stream.readHexNumber(start,dataSize),addHex(start,end,dataSize),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),cMap.addCodespaceRange(dataSize+1,hexToInt(start,dataSize),hexToInt(end,dataSize));break;case 1:for(stream.readHex(start,dataSize),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),code=stream.readNumber(),i=1;i<subitemsCount;i++)incHex(end,dataSize),stream.readHexNumber(start,dataSize),addHex(start,end,dataSize),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),code=stream.readNumber();break;case 2:for(stream.readHex(char,dataSize),code=stream.readNumber(),cMap.mapOne(hexToInt(char,dataSize),code),i=1;i<subitemsCount;i++)incHex(char,dataSize),sequence||(stream.readHexNumber(tmp,dataSize),addHex(char,tmp,dataSize)),code=stream.readSigned()+(code+1),cMap.mapOne(hexToInt(char,dataSize),code);break;case 3:for(stream.readHex(start,dataSize),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),code=stream.readNumber(),cMap.mapCidRange(hexToInt(start,dataSize),hexToInt(end,dataSize),code),i=1;i<subitemsCount;i++)incHex(end,dataSize),sequence?start.set(end):(stream.readHexNumber(start,dataSize),addHex(start,end,dataSize)),stream.readHexNumber(end,dataSize),addHex(end,start,dataSize),code=stream.readNumber(),cMap.mapCidRange(hexToInt(start,dataSize),hexToInt(end,dataSize),code);break;case 4:for(stream.readHex(char,1),stream.readHex(charCode,dataSize),cMap.mapOne(hexToInt(char,1),hexToStr(charCode,dataSize)),i=1;i<subitemsCount;i++)incHex(char,1),sequence||(stream.readHexNumber(tmp,1),addHex(char,tmp,1)),incHex(charCode,dataSize),stream.readHexSigned(tmp,dataSize),addHex(charCode,tmp,dataSize),cMap.mapOne(hexToInt(char,1),hexToStr(charCode,dataSize));break;case 5:for(stream.readHex(start,1),stream.readHexNumber(end,1),addHex(end,start,1),stream.readHex(charCode,dataSize),cMap.mapBfRange(hexToInt(start,1),hexToInt(end,1),hexToStr(charCode,dataSize)),i=1;i<subitemsCount;i++)incHex(end,1),sequence?start.set(end):(stream.readHexNumber(start,1),addHex(start,end,1)),stream.readHexNumber(end,1),addHex(end,start,1),stream.readHex(charCode,dataSize),cMap.mapBfRange(hexToInt(start,1),hexToInt(end,1),hexToStr(charCode,dataSize));break;default:return void reject(new Error("processBinaryCMap: Unknown type: "+type))}}else switch(31&b){case 0:stream.readString();break;case 1:useCMap=stream.readString()}}resolve(useCMap?extend(useCMap):cMap)}))}},BinaryCMapReader}(),CMapFactory=function CMapFactoryClosure(){function strToInt(str){for(var a=0,i=0;i<str.length;i++)a=a<<8|str.charCodeAt(i);return a>>>0}function expectString(obj){if(!(0,_util.isString)(obj))throw new _util.FormatError("Malformed CMap: expected string.")}function expectInt(obj){if(!Number.isInteger(obj))throw new _util.FormatError("Malformed CMap: expected int.")}function parseBfChar(cMap,lexer){for(;;){var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isCmd)(obj,"endbfchar"))return;expectString(obj);var src=strToInt(obj);expectString(obj=lexer.getObj());var dst=obj;cMap.mapOne(src,dst)}}function parseBfRange(cMap,lexer){for(;;){var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isCmd)(obj,"endbfrange"))return;expectString(obj);var low=strToInt(obj);expectString(obj=lexer.getObj());var high=strToInt(obj);if(obj=lexer.getObj(),Number.isInteger(obj)||(0,_util.isString)(obj)){var dstLow=Number.isInteger(obj)?String.fromCharCode(obj):obj;cMap.mapBfRange(low,high,dstLow)}else{if(!(0,_primitives.isCmd)(obj,"["))break;obj=lexer.getObj();for(var array=[];!(0,_primitives.isCmd)(obj,"]")&&!(0,_primitives.isEOF)(obj);)array.push(obj),obj=lexer.getObj();cMap.mapBfRangeToArray(low,high,array)}}throw new _util.FormatError("Invalid bf range.")}function parseCidChar(cMap,lexer){for(;;){var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isCmd)(obj,"endcidchar"))return;expectString(obj);var src=strToInt(obj);expectInt(obj=lexer.getObj());var dst=obj;cMap.mapOne(src,dst)}}function parseCidRange(cMap,lexer){for(;;){var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isCmd)(obj,"endcidrange"))return;expectString(obj);var low=strToInt(obj);expectString(obj=lexer.getObj());var high=strToInt(obj);expectInt(obj=lexer.getObj());var dstLow=obj;cMap.mapCidRange(low,high,dstLow)}}function parseCodespaceRange(cMap,lexer){for(;;){var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isCmd)(obj,"endcodespacerange"))return;if(!(0,_util.isString)(obj))break;var low=strToInt(obj);if(obj=lexer.getObj(),!(0,_util.isString)(obj))break;var high=strToInt(obj);cMap.addCodespaceRange(obj.length,low,high)}throw new _util.FormatError("Invalid codespace range.")}function parseWMode(cMap,lexer){var obj=lexer.getObj();Number.isInteger(obj)&&(cMap.vertical=!!obj)}function parseCMapName(cMap,lexer){var obj=lexer.getObj();(0,_primitives.isName)(obj)&&(0,_util.isString)(obj.name)&&(cMap.name=obj.name)}function parseCMap(cMap,lexer,fetchBuiltInCMap,useCMap){var previous,embededUseCMap;objLoop:for(;;)try{var obj=lexer.getObj();if((0,_primitives.isEOF)(obj))break;if((0,_primitives.isName)(obj))"WMode"===obj.name?parseWMode(cMap,lexer):"CMapName"===obj.name&&parseCMapName(cMap,lexer),previous=obj;else if((0,_primitives.isCmd)(obj))switch(obj.cmd){case"endcmap":break objLoop;case"usecmap":(0,_primitives.isName)(previous)&&(embededUseCMap=previous.name);break;case"begincodespacerange":parseCodespaceRange(cMap,lexer);break;case"beginbfchar":parseBfChar(cMap,lexer);break;case"begincidchar":parseCidChar(cMap,lexer);break;case"beginbfrange":parseBfRange(cMap,lexer);break;case"begincidrange":parseCidRange(cMap,lexer)}}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;(0,_util.warn)("Invalid cMap data: "+ex);continue}return!useCMap&&embededUseCMap&&(useCMap=embededUseCMap),useCMap?extendCMap(cMap,fetchBuiltInCMap,useCMap):Promise.resolve(cMap)}function extendCMap(cMap,fetchBuiltInCMap,useCMap){return createBuiltInCMap(useCMap,fetchBuiltInCMap).then((function(newCMap){if(cMap.useCMap=newCMap,0===cMap.numCodespaceRanges){for(var useCodespaceRanges=cMap.useCMap.codespaceRanges,i=0;i<useCodespaceRanges.length;i++)cMap.codespaceRanges[i]=useCodespaceRanges[i].slice();cMap.numCodespaceRanges=cMap.useCMap.numCodespaceRanges}return cMap.useCMap.forEach((function(key,value){cMap.contains(key)||cMap.mapOne(key,cMap.useCMap.lookup(key))})),cMap}))}function createBuiltInCMap(name,fetchBuiltInCMap){return"Identity-H"===name?Promise.resolve(new IdentityCMap(!1,2)):"Identity-V"===name?Promise.resolve(new IdentityCMap(!0,2)):-1===BUILT_IN_CMAPS.indexOf(name)?Promise.reject(new Error("Unknown CMap name: "+name)):fetchBuiltInCMap?fetchBuiltInCMap(name).then((function(data){var cMapData=data.cMapData,compressionType=data.compressionType,cMap=new CMap(!0);if(compressionType===_util.CMapCompressionType.BINARY)return(new BinaryCMapReader).process(cMapData,cMap,(function(useCMap){return extendCMap(cMap,fetchBuiltInCMap,useCMap)}));if(compressionType===_util.CMapCompressionType.NONE){var lexer=new _parser.Lexer(new _stream.Stream(cMapData));return parseCMap(cMap,lexer,fetchBuiltInCMap,null)}return Promise.reject(new Error("TODO: Only BINARY/NONE CMap compression is currently supported."))})):Promise.reject(new Error("Built-in CMap parameters are not provided."))}return{create:function create(params){var encoding=params.encoding,fetchBuiltInCMap=params.fetchBuiltInCMap,useCMap=params.useCMap;return(0,_primitives.isName)(encoding)?createBuiltInCMap(encoding.name,fetchBuiltInCMap):(0,_primitives.isStream)(encoding)?parseCMap(new CMap,new _parser.Lexer(encoding),fetchBuiltInCMap,useCMap).then((function(parsedCMap){return parsedCMap.isIdentityCMap?createBuiltInCMap(parsedCMap.name,fetchBuiltInCMap):parsedCMap})):Promise.reject(new Error("Encoding required."))}}}();exports.CMap=CMap,exports.IdentityCMap=IdentityCMap,exports.CMapFactory=CMapFactory},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getFontType=exports.ProblematicCharRanges=exports.IdentityToUnicodeMap=exports.ToUnicodeMap=exports.FontFlags=exports.Font=exports.ErrorFont=exports.PRIVATE_USE_OFFSET_END=exports.PRIVATE_USE_OFFSET_START=exports.SEAC_ANALYSIS_ENABLED=void 0;var _util=__w_pdfjs_require__(0),_cff_parser=__w_pdfjs_require__(78),_glyphlist=__w_pdfjs_require__(47),_encodings=__w_pdfjs_require__(28),_standard_fonts=__w_pdfjs_require__(79),_unicode=__w_pdfjs_require__(80),_font_renderer=__w_pdfjs_require__(137),_stream=__w_pdfjs_require__(5),_type1_parser=__w_pdfjs_require__(138),SKIP_PRIVATE_USE_RANGE_F000_TO_F01F=!1,SEAC_ANALYSIS_ENABLED=!1,FontFlags={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144},MacStandardGlyphOrdering=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function adjustWidths(properties){if(properties.fontMatrix&&properties.fontMatrix[0]!==_util.FONT_IDENTITY_MATRIX[0]){var scale=.001/properties.fontMatrix[0],glyphsWidths=properties.widths;for(var glyph in glyphsWidths)glyphsWidths[glyph]*=scale;properties.defaultWidth*=scale}}function getFontType(type,subtype){switch(type){case"Type1":return"Type1C"===subtype?_util.FontType.TYPE1C:_util.FontType.TYPE1;case"CIDFontType0":return"CIDFontType0C"===subtype?_util.FontType.CIDFONTTYPE0C:_util.FontType.CIDFONTTYPE0;case"OpenType":return _util.FontType.OPENTYPE;case"TrueType":return _util.FontType.TRUETYPE;case"CIDFontType2":return _util.FontType.CIDFONTTYPE2;case"MMType1":return _util.FontType.MMTYPE1;case"Type0":return _util.FontType.TYPE0;default:return _util.FontType.UNKNOWN}}function recoverGlyphName(name,glyphsUnicodeMap){if(void 0!==glyphsUnicodeMap[name])return name;var unicode=(0,_unicode.getUnicodeForGlyph)(name,glyphsUnicodeMap);if(-1!==unicode)for(var key in glyphsUnicodeMap)if(glyphsUnicodeMap[key]===unicode)return key;return(0,_util.info)("Unable to recover a standard glyph name for: "+name),name}var Glyph=function GlyphClosure(){function Glyph(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont){this.fontChar=fontChar,this.unicode=unicode,this.accent=accent,this.width=width,this.vmetric=vmetric,this.operatorListId=operatorListId,this.isSpace=isSpace,this.isInFont=isInFont}return Glyph.prototype.matchesForCache=function(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont){return this.fontChar===fontChar&&this.unicode===unicode&&this.accent===accent&&this.width===width&&this.vmetric===vmetric&&this.operatorListId===operatorListId&&this.isSpace===isSpace&&this.isInFont===isInFont},Glyph}(),ToUnicodeMap=function ToUnicodeMapClosure(){function ToUnicodeMap(cmap){this._map=cmap}return ToUnicodeMap.prototype={get length(){return this._map.length},forEach:function forEach(callback){for(var charCode in this._map)callback(charCode,this._map[charCode].charCodeAt(0))},has:function has(i){return void 0!==this._map[i]},get:function get(i){return this._map[i]},charCodeOf:function charCodeOf(value){var map=this._map;if(map.length<=65536)return map.indexOf(value);for(var charCode in map)if(map[charCode]===value)return 0|charCode;return-1},amend:function amend(map){for(var charCode in map)this._map[charCode]=map[charCode]}},ToUnicodeMap}(),IdentityToUnicodeMap=function IdentityToUnicodeMapClosure(){function IdentityToUnicodeMap(firstChar,lastChar){this.firstChar=firstChar,this.lastChar=lastChar}return IdentityToUnicodeMap.prototype={get length(){return this.lastChar+1-this.firstChar},forEach:function forEach(callback){for(var i=this.firstChar,ii=this.lastChar;i<=ii;i++)callback(i,i)},has:function has(i){return this.firstChar<=i&&i<=this.lastChar},get:function get(i){if(this.firstChar<=i&&i<=this.lastChar)return String.fromCharCode(i)},charCodeOf:function charCodeOf(v){return Number.isInteger(v)&&v>=this.firstChar&&v<=this.lastChar?v:-1},amend:function amend(map){throw new Error("Should not call amend()")}},IdentityToUnicodeMap}(),OpenTypeFileBuilder=function OpenTypeFileBuilderClosure(){function writeInt16(dest,offset,num){dest[offset]=num>>8&255,dest[offset+1]=255&num}function writeInt32(dest,offset,num){dest[offset]=num>>24&255,dest[offset+1]=num>>16&255,dest[offset+2]=num>>8&255,dest[offset+3]=255&num}function writeData(dest,offset,data){var i,ii;if(data instanceof Uint8Array)dest.set(data,offset);else if("string"==typeof data)for(i=0,ii=data.length;i<ii;i++)dest[offset++]=255&data.charCodeAt(i);else for(i=0,ii=data.length;i<ii;i++)dest[offset++]=255&data[i]}function OpenTypeFileBuilder(sfnt){this.sfnt=sfnt,this.tables=Object.create(null)}OpenTypeFileBuilder.getSearchParams=function OpenTypeFileBuilder_getSearchParams(entriesCount,entrySize){for(var maxPower2=1,log2=0;(maxPower2^entriesCount)>maxPower2;)maxPower2<<=1,log2++;var searchRange=maxPower2*entrySize;return{range:searchRange,entry:log2,rangeShift:entrySize*entriesCount-searchRange}};return OpenTypeFileBuilder.prototype={toArray:function OpenTypeFileBuilder_toArray(){var sfnt=this.sfnt,tables=this.tables,tablesNames=Object.keys(tables);tablesNames.sort();var i,j,jj,table,tableName,numTables=tablesNames.length,offset=12+16*numTables,tableOffsets=[offset];for(i=0;i<numTables;i++){offset+=((table=tables[tablesNames[i]]).length+3&-4)>>>0,tableOffsets.push(offset)}var file=new Uint8Array(offset);for(i=0;i<numTables;i++)table=tables[tablesNames[i]],writeData(file,tableOffsets[i],table);"true"===sfnt&&(sfnt=(0,_util.string32)(65536)),file[0]=255&sfnt.charCodeAt(0),file[1]=255&sfnt.charCodeAt(1),file[2]=255&sfnt.charCodeAt(2),file[3]=255&sfnt.charCodeAt(3),writeInt16(file,4,numTables);var searchParams=OpenTypeFileBuilder.getSearchParams(numTables,16);for(writeInt16(file,6,searchParams.range),writeInt16(file,8,searchParams.entry),writeInt16(file,10,searchParams.rangeShift),offset=12,i=0;i<numTables;i++){tableName=tablesNames[i],file[offset]=255&tableName.charCodeAt(0),file[offset+1]=255&tableName.charCodeAt(1),file[offset+2]=255&tableName.charCodeAt(2),file[offset+3]=255&tableName.charCodeAt(3);var checksum=0;for(j=tableOffsets[i],jj=tableOffsets[i+1];j<jj;j+=4){checksum=checksum+(0,_util.readUint32)(file,j)>>>0}writeInt32(file,offset+4,checksum),writeInt32(file,offset+8,tableOffsets[i]),writeInt32(file,offset+12,tables[tableName].length),offset+=16}return file},addTable:function OpenTypeFileBuilder_addTable(tag,data){if(tag in this.tables)throw new Error("Table "+tag+" already exists");this.tables[tag]=data}},OpenTypeFileBuilder}(),ProblematicCharRanges=new Int32Array([0,32,127,161,173,174,1536,1920,2208,4256,6016,6144,7168,7248,8192,8208,8209,8210,8232,8240,8287,8304,9676,9677,12288,12289,12644,12645,43616,43648,65520,65536]),Font=function FontClosure(){function Font(name,file,properties){var charCode;this.name=name,this.loadedName=properties.loadedName,this.isType3Font=properties.isType3Font,this.sizes=[],this.missingFile=!1,this.glyphCache=Object.create(null),this.isSerifFont=!!(properties.flags&FontFlags.Serif),this.isSymbolicFont=!!(properties.flags&FontFlags.Symbolic),this.isMonospace=!!(properties.flags&FontFlags.FixedPitch);var type=properties.type,subtype=properties.subtype;if(this.type=type,this.subtype=subtype,this.fallbackName=this.isMonospace?"monospace":this.isSerifFont?"serif":"sans-serif",this.differences=properties.differences,this.widths=properties.widths,this.defaultWidth=properties.defaultWidth,this.composite=properties.composite,this.wideChars=properties.wideChars,this.cMap=properties.cMap,this.ascent=properties.ascent/1e3,this.descent=properties.descent/1e3,this.fontMatrix=properties.fontMatrix,this.bbox=properties.bbox,this.defaultEncoding=properties.defaultEncoding,this.toUnicode=properties.toUnicode,this.toFontChar=[],"Type3"!==properties.type){if(this.cidEncoding=properties.cidEncoding,this.vertical=properties.vertical,this.vertical&&(this.vmetrics=properties.vmetrics,this.defaultVMetrics=properties.defaultVMetrics),!file||file.isEmpty)return file&&(0,_util.warn)('Font file is empty in "'+name+'" ('+this.loadedName+")"),void this.fallbackToSystemFont();"Type1C"===subtype&&("Type1"!==type&&"MMType1"!==type?!function isTrueTypeFile(file){var header=file.peekBytes(4);return 65536===(0,_util.readUint32)(header,0)}(file)?type="Type1":subtype="TrueType":isOpenTypeFile(file)&&(subtype="OpenType")),"CIDFontType0C"===subtype&&"CIDFontType0"!==type&&(type="CIDFontType0"),"CIDFontType0"===type&&(subtype=function isType1File(file){var header=file.peekBytes(2);if(37===header[0]&&33===header[1])return!0;if(128===header[0]&&1===header[1])return!0;return!1}(file)?"CIDFontType0":isOpenTypeFile(file)?"OpenType":"CIDFontType0C"),"OpenType"===subtype&&"OpenType"!==type&&(type="OpenType");try{var data;switch(type){case"MMType1":(0,_util.info)("MMType1 font ("+name+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var cff="Type1C"===subtype||"CIDFontType0C"===subtype?new CFFFont(file,properties):new Type1Font(name,file,properties);adjustWidths(properties),data=this.convert(name,cff,properties);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",data=this.checkAndRepair(name,file,properties),this.isOpenType&&(adjustWidths(properties),type="OpenType");break;default:throw new _util.FormatError("Font "+type+" is not supported")}}catch(e){if(!(e instanceof _util.FormatError))throw e;return(0,_util.warn)(e),void this.fallbackToSystemFont()}this.data=data,this.fontType=getFontType(type,subtype),this.fontMatrix=properties.fontMatrix,this.widths=properties.widths,this.defaultWidth=properties.defaultWidth,this.toUnicode=properties.toUnicode,this.encoding=properties.baseEncoding,this.seacMap=properties.seacMap,this.loading=!0}else{for(charCode=0;charCode<256;charCode++)this.toFontChar[charCode]=this.differences[charCode]||properties.defaultEncoding[charCode];this.fontType=_util.FontType.TYPE3}}var ID;function int16(b0,b1){return(b0<<8)+b1}function signedInt16(b0,b1){var value=(b0<<8)+b1;return 32768&value?value-65536:value}function string16(value){return String.fromCharCode(value>>8&255,255&value)}function safeString16(value){return value=value>32767?32767:value<-32768?-32768:value,String.fromCharCode(value>>8&255,255&value)}function isOpenTypeFile(file){var header=file.peekBytes(4);return"OTTO"===(0,_util.bytesToString)(header)}function buildToFontChar(encoding,glyphsUnicodeMap,differences){for(var unicode,toFontChar=[],i=0,ii=encoding.length;i<ii;i++)-1!==(unicode=(0,_unicode.getUnicodeForGlyph)(encoding[i],glyphsUnicodeMap))&&(toFontChar[i]=unicode);for(var charCode in differences)-1!==(unicode=(0,_unicode.getUnicodeForGlyph)(differences[charCode],glyphsUnicodeMap))&&(toFontChar[+charCode]=unicode);return toFontChar}function isProblematicUnicodeLocation(code){for(var i=0,j=ProblematicCharRanges.length-1;i<j;){var c=i+j+1>>1;code<ProblematicCharRanges[c]?j=c-1:i=c}return!(1&i)}function adjustMapping(charCodeToGlyphId,properties,missingGlyphs){var toUnicode=properties.toUnicode,isSymbolic=!!(properties.flags&FontFlags.Symbolic),isIdentityUnicode=properties.toUnicode instanceof IdentityToUnicodeMap,newMap=Object.create(null),toFontChar=[],usedFontCharCodes=[],nextAvailableFontCharCode=57344;for(var originalCharCode in charCodeToGlyphId){var glyphId=charCodeToGlyphId[originalCharCode|=0];if(!missingGlyphs[glyphId]){var fontCharCode=originalCharCode,hasUnicodeValue=!1;if(!isIdentityUnicode&&toUnicode.has(originalCharCode)){hasUnicodeValue=!0;var unicode=toUnicode.get(fontCharCode);1===unicode.length&&(fontCharCode=unicode.charCodeAt(0))}if(void 0!==usedFontCharCodes[fontCharCode]||isProblematicUnicodeLocation(fontCharCode)||isSymbolic&&!hasUnicodeValue)do{if(nextAvailableFontCharCode>63743){(0,_util.warn)("Ran out of space in font private use area.");break}fontCharCode=nextAvailableFontCharCode++,SKIP_PRIVATE_USE_RANGE_F000_TO_F01F&&61440===fontCharCode&&(nextAvailableFontCharCode=(fontCharCode=61472)+1)}while(void 0!==usedFontCharCodes[fontCharCode]);newMap[fontCharCode]=glyphId,toFontChar[originalCharCode]=fontCharCode,usedFontCharCodes[fontCharCode]=!0}}return{toFontChar:toFontChar,charCodeToGlyphId:newMap,nextAvailableFontCharCode:nextAvailableFontCharCode}}function createCmapTable(glyphs,numGlyphs){var i,ii,j,jj,ranges=function getRanges(glyphs,numGlyphs){var codes=[];for(var charCode in glyphs)glyphs[charCode]>=numGlyphs||codes.push({fontCharCode:0|charCode,glyphId:glyphs[charCode]});0===codes.length&&codes.push({fontCharCode:0,glyphId:0}),codes.sort((function fontGetRangesSort(a,b){return a.fontCharCode-b.fontCharCode}));for(var ranges=[],length=codes.length,n=0;n<length;){var start=codes[n].fontCharCode,codeIndices=[codes[n].glyphId];++n;for(var end=start;n<length&&end+1===codes[n].fontCharCode&&(codeIndices.push(codes[n].glyphId),++n,65535!=++end););ranges.push([start,end,codeIndices])}return ranges}(glyphs,numGlyphs),numTables=ranges[ranges.length-1][1]>65535?2:1,cmap="\0\0"+string16(numTables)+"\0\0"+(0,_util.string32)(4+8*numTables);for(i=ranges.length-1;i>=0&&!(ranges[i][0]<=65535);--i);var bmpLength=i+1;ranges[i][0]<65535&&65535===ranges[i][1]&&(ranges[i][1]=65534);var range,start,end,codes,trailingRangesCount=ranges[i][1]<65535?1:0,segCount=bmpLength+trailingRangesCount,searchParams=OpenTypeFileBuilder.getSearchParams(segCount,2),startCount="",endCount="",idDeltas="",idRangeOffsets="",glyphsIds="",bias=0;for(i=0,ii=bmpLength;i<ii;i++){start=(range=ranges[i])[0],end=range[1],startCount+=string16(start),endCount+=string16(end);var contiguous=!0;for(j=1,jj=(codes=range[2]).length;j<jj;++j)if(codes[j]!==codes[j-1]+1){contiguous=!1;break}if(contiguous){idDeltas+=string16(codes[0]-start&65535),idRangeOffsets+=string16(0)}else{var offset=2*(segCount-i)+2*bias;for(bias+=end-start+1,idDeltas+=string16(0),idRangeOffsets+=string16(offset),j=0,jj=codes.length;j<jj;++j)glyphsIds+=string16(codes[j])}}trailingRangesCount>0&&(endCount+="ÿÿ",startCount+="ÿÿ",idDeltas+="\0",idRangeOffsets+="\0\0");var format314="\0\0"+string16(2*segCount)+string16(searchParams.range)+string16(searchParams.entry)+string16(searchParams.rangeShift)+endCount+"\0\0"+startCount+idDeltas+idRangeOffsets+glyphsIds,format31012="",header31012="";if(numTables>1){for(cmap+="\0\0\n"+(0,_util.string32)(4+8*numTables+4+format314.length),format31012="",i=0,ii=ranges.length;i<ii;i++){start=(range=ranges[i])[0];var code=(codes=range[2])[0];for(j=1,jj=codes.length;j<jj;++j)codes[j]!==codes[j-1]+1&&(end=range[0]+j-1,format31012+=(0,_util.string32)(start)+(0,_util.string32)(end)+(0,_util.string32)(code),start=end+1,code=codes[j]);format31012+=(0,_util.string32)(start)+(0,_util.string32)(range[1])+(0,_util.string32)(code)}header31012="\0\f\0\0"+(0,_util.string32)(format31012.length+16)+"\0\0\0\0"+(0,_util.string32)(format31012.length/12)}return cmap+"\0"+string16(format314.length+4)+format314+header31012+format31012}function createOS2Table(properties,charstrings,override){override=override||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var ulUnicodeRange1=0,ulUnicodeRange2=0,ulUnicodeRange3=0,ulUnicodeRange4=0,firstCharIndex=null,lastCharIndex=0;if(charstrings)for(var code in charstrings){(firstCharIndex>(code|=0)||!firstCharIndex)&&(firstCharIndex=code),lastCharIndex<code&&(lastCharIndex=code);var position=(0,_unicode.getUnicodeRangeFor)(code);if(position<32)ulUnicodeRange1|=1<<position;else if(position<64)ulUnicodeRange2|=1<<position-32;else if(position<96)ulUnicodeRange3|=1<<position-64;else{if(!(position<123))throw new _util.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");ulUnicodeRange4|=1<<position-96}}else firstCharIndex=0,lastCharIndex=255;var bbox=properties.bbox||[0,0,0,0],unitsPerEm=override.unitsPerEm||1/(properties.fontMatrix||_util.FONT_IDENTITY_MATRIX)[0],scale=properties.ascentScaled?1:unitsPerEm/1e3,typoAscent=override.ascent||Math.round(scale*(properties.ascent||bbox[3])),typoDescent=override.descent||Math.round(scale*(properties.descent||bbox[1]));typoDescent>0&&properties.descent>0&&bbox[1]<0&&(typoDescent=-typoDescent);var winAscent=override.yMax||typoAscent,winDescent=-override.yMin||-typoDescent;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(properties.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,_util.string32)(ulUnicodeRange1)+(0,_util.string32)(ulUnicodeRange2)+(0,_util.string32)(ulUnicodeRange3)+(0,_util.string32)(ulUnicodeRange4)+"*21*"+string16(properties.italicAngle?1:0)+string16(firstCharIndex||properties.firstChar)+string16(lastCharIndex||properties.lastChar)+string16(typoAscent)+string16(typoDescent)+"\0d"+string16(winAscent)+string16(winDescent)+"\0\0\0\0\0\0\0\0"+string16(properties.xHeight)+string16(properties.capHeight)+string16(0)+string16(firstCharIndex||properties.firstChar)+"\0"}function createPostTable(properties){var angle=Math.floor(properties.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,_util.string32)(angle)+"\0\0\0\0"+(0,_util.string32)(properties.fixedPitch)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function createNameTable(name,proto){proto||(proto=[[],[]]);var i,ii,j,jj,str,strings=[proto[0][0]||"Original licence",proto[0][1]||name,proto[0][2]||"Unknown",proto[0][3]||"uniqueID",proto[0][4]||name,proto[0][5]||"Version 0.11",proto[0][6]||"",proto[0][7]||"Unknown",proto[0][8]||"Unknown",proto[0][9]||"Unknown"],stringsUnicode=[];for(i=0,ii=strings.length;i<ii;i++){var strBufUnicode=[];for(j=0,jj=(str=proto[1][i]||strings[i]).length;j<jj;j++)strBufUnicode.push(string16(str.charCodeAt(j)));stringsUnicode.push(strBufUnicode.join(""))}var names=[strings,stringsUnicode],platforms=["\0","\0"],encodings=["\0\0","\0"],languages=["\0\0","\t"],namesRecordCount=strings.length*platforms.length,nameTable="\0\0"+string16(namesRecordCount)+string16(12*namesRecordCount+6),strOffset=0;for(i=0,ii=platforms.length;i<ii;i++){var strs=names[i];for(j=0,jj=strs.length;j<jj;j++){str=strs[j],nameTable+=platforms[i]+encodings[i]+languages[i]+string16(j)+string16(str.length)+string16(strOffset),strOffset+=str.length}}return nameTable+=strings.join("")+stringsUnicode.join("")}return Font.getFontID=(ID=1,function Font_getFontID(){return String(ID++)}),Font.prototype={name:null,font:null,mimetype:null,encoding:null,get renderer(){var renderer=_font_renderer.FontRendererFactory.create(this,SEAC_ANALYSIS_ENABLED);return(0,_util.shadow)(this,"renderer",renderer)},exportData:function Font_exportData(){var data={};for(var i in this)this.hasOwnProperty(i)&&(data[i]=this[i]);return data},fallbackToSystemFont:function Font_fallbackToSystemFont(){var charCode,unicode,_this=this;this.missingFile=!0;var name=this.name,type=this.type,subtype=this.subtype,fontName=name.replace(/[,_]/g,"-"),stdFontMap=(0,_standard_fonts.getStdFontMap)(),nonStdFontMap=(0,_standard_fonts.getNonStdFontMap)(),isStandardFont=!!stdFontMap[fontName]||!(!nonStdFontMap[fontName]||!stdFontMap[nonStdFontMap[fontName]]);if(fontName=stdFontMap[fontName]||nonStdFontMap[fontName]||fontName,this.bold=-1!==fontName.search(/bold/gi),this.italic=-1!==fontName.search(/oblique/gi)||-1!==fontName.search(/italic/gi),this.black=-1!==name.search(/Black/g),this.remeasure=Object.keys(this.widths).length>0,isStandardFont&&"CIDFontType2"===type&&0===this.cidEncoding.indexOf("Identity-")){var GlyphMapForStandardFonts=(0,_standard_fonts.getGlyphMapForStandardFonts)(),map=[];for(charCode in GlyphMapForStandardFonts)map[+charCode]=GlyphMapForStandardFonts[charCode];if(/Arial-?Black/i.test(name)){var SupplementalGlyphMapForArialBlack=(0,_standard_fonts.getSupplementalGlyphMapForArialBlack)();for(charCode in SupplementalGlyphMapForArialBlack)map[+charCode]=SupplementalGlyphMapForArialBlack[charCode]}this.toUnicode instanceof IdentityToUnicodeMap||this.toUnicode.forEach((function(charCode,unicodeCharCode){map[+charCode]=unicodeCharCode})),this.toFontChar=map,this.toUnicode=new ToUnicodeMap(map)}else if(/Symbol/i.test(fontName))this.toFontChar=buildToFontChar(_encodings.SymbolSetEncoding,(0,_glyphlist.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(fontName))/Wingdings/i.test(name)&&(0,_util.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=buildToFontChar(_encodings.ZapfDingbatsEncoding,(0,_glyphlist.getDingbatsGlyphsUnicode)(),this.differences);else if(isStandardFont)this.toFontChar=buildToFontChar(this.defaultEncoding,(0,_glyphlist.getGlyphsUnicode)(),this.differences);else{var glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)();this.toUnicode.forEach((function(charCode,unicodeCharCode){if(!_this.composite){var glyphName=_this.differences[charCode]||_this.defaultEncoding[charCode];-1!==(unicode=(0,_unicode.getUnicodeForGlyph)(glyphName,glyphsUnicodeMap))&&(unicodeCharCode=unicode)}_this.toFontChar[charCode]=unicodeCharCode}))}this.loadedName=fontName.split("-")[0],this.loading=!1,this.fontType=getFontType(type,subtype)},checkAndRepair:function Font_checkAndRepair(name,font,properties){function readTableEntry(file){var tag=(0,_util.bytesToString)(file.getBytes(4)),checksum=file.getInt32()>>>0,offset=file.getInt32()>>>0,length=file.getInt32()>>>0,previousPosition=file.pos;file.pos=file.start?file.start:0,file.skip(offset);var data=file.getBytes(length);return file.pos=previousPosition,"head"===tag&&(data[8]=data[9]=data[10]=data[11]=0,data[17]|=32),{tag:tag,checksum:checksum,length:length,offset:offset,data:data}}function sanitizeGlyph(source,sourceStart,sourceEnd,dest,destStart,hintsValid){var glyphProfile={length:0,sizeOfInstructions:0};if(sourceEnd-sourceStart<=12)return glyphProfile;var glyf=source.subarray(sourceStart,sourceEnd),contoursCount=signedInt16(glyf[0],glyf[1]);if(contoursCount<0)return function writeSignedInt16(bytes,index,value){bytes[index+1]=value,bytes[index]=value>>>8}(glyf,0,contoursCount=-1),dest.set(glyf,destStart),glyphProfile.length=glyf.length,glyphProfile;var i,j=10,flagsCount=0;for(i=0;i<contoursCount;i++){flagsCount=(glyf[j]<<8|glyf[j+1])+1,j+=2}var instructionsStart=j,instructionsLength=glyf[j]<<8|glyf[j+1];glyphProfile.sizeOfInstructions=instructionsLength;var instructionsEnd=j+=2+instructionsLength,coordinatesLength=0;for(i=0;i<flagsCount;i++){var flag=glyf[j++];192&flag&&(glyf[j-1]=63&flag);var xyLength=(2&flag?1:16&flag?0:2)+(4&flag?1:32&flag?0:2);if(coordinatesLength+=xyLength,8&flag){var repeat=glyf[j++];i+=repeat,coordinatesLength+=repeat*xyLength}}if(0===coordinatesLength)return glyphProfile;var glyphDataLength=j+coordinatesLength;return glyphDataLength>glyf.length?glyphProfile:!hintsValid&&instructionsLength>0?(dest.set(glyf.subarray(0,instructionsStart),destStart),dest.set([0,0],destStart+instructionsStart),dest.set(glyf.subarray(instructionsEnd,glyphDataLength),destStart+instructionsStart+2),glyphDataLength-=instructionsLength,glyf.length-glyphDataLength>3&&(glyphDataLength=glyphDataLength+3&-4),glyphProfile.length=glyphDataLength,glyphProfile):glyf.length-glyphDataLength>3?(glyphDataLength=glyphDataLength+3&-4,dest.set(glyf.subarray(0,glyphDataLength),destStart),glyphProfile.length=glyphDataLength,glyphProfile):(dest.set(glyf,destStart),glyphProfile.length=glyf.length,glyphProfile)}var TTOpsStackDeltas=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function sanitizeTTProgram(table,ttContext){for(var j,n,b,funcId,pc,data=table.data,i=0,lastEndf=0,lastDeff=0,stack=[],callstack=[],functionsCalled=[],tooComplexToFollowFunctions=ttContext.tooComplexToFollowFunctions,inFDEF=!1,ifLevel=0,inELSE=0,ii=data.length;i<ii;){var op=data[i++];if(64===op)if(n=data[i++],inFDEF||inELSE)i+=n;else for(j=0;j<n;j++)stack.push(data[i++]);else if(65===op)if(n=data[i++],inFDEF||inELSE)i+=2*n;else for(j=0;j<n;j++)b=data[i++],stack.push(b<<8|data[i++]);else if(176==(248&op))if(n=op-176+1,inFDEF||inELSE)i+=n;else for(j=0;j<n;j++)stack.push(data[i++]);else if(184==(248&op))if(n=op-184+1,inFDEF||inELSE)i+=2*n;else for(j=0;j<n;j++)b=data[i++],stack.push(b<<8|data[i++]);else if(43!==op||tooComplexToFollowFunctions)if(44!==op||tooComplexToFollowFunctions){if(45===op)if(inFDEF)inFDEF=!1,lastEndf=i;else{if(!(pc=callstack.pop()))return(0,_util.warn)("TT: ENDF bad stack"),void(ttContext.hintsValid=!1);funcId=functionsCalled.pop(),data=pc.data,i=pc.i,ttContext.functionsStackDeltas[funcId]=stack.length-pc.stackTop}else if(137===op)(inFDEF||inELSE)&&((0,_util.warn)("TT: nested IDEFs not allowed"),tooComplexToFollowFunctions=!0),inFDEF=!0,lastDeff=i;else if(88===op)++ifLevel;else if(27===op)inELSE=ifLevel;else if(89===op)inELSE===ifLevel&&(inELSE=0),--ifLevel;else if(28===op&&!inFDEF&&!inELSE){var offset=stack[stack.length-1];offset>0&&(i+=offset-1)}}else(inFDEF||inELSE)&&((0,_util.warn)("TT: nested FDEFs not allowed"),tooComplexToFollowFunctions=!0),inFDEF=!0,lastDeff=i,funcId=stack.pop(),ttContext.functionsDefined[funcId]={data:data,i:i};else if(!inFDEF&&!inELSE)if(funcId=stack[stack.length-1],ttContext.functionsUsed[funcId]=!0,funcId in ttContext.functionsStackDeltas)stack.length+=ttContext.functionsStackDeltas[funcId];else if(funcId in ttContext.functionsDefined&&functionsCalled.indexOf(funcId)<0){if(callstack.push({data:data,i:i,stackTop:stack.length-1}),functionsCalled.push(funcId),!(pc=ttContext.functionsDefined[funcId]))return(0,_util.warn)("TT: CALL non-existent function"),void(ttContext.hintsValid=!1);data=pc.data,i=pc.i}if(!inFDEF&&!inELSE){var stackDelta=op<=142?TTOpsStackDeltas[op]:op>=192&&op<=223?-1:op>=224?-2:0;for(op>=113&&op<=117&&(n=stack.pop(),isNaN(n)||(stackDelta=2*-n));stackDelta<0&&stack.length>0;)stack.pop(),stackDelta++;for(;stackDelta>0;)stack.push(NaN),stackDelta--}}ttContext.tooComplexToFollowFunctions=tooComplexToFollowFunctions;var content=[data];i>data.length&&content.push(new Uint8Array(i-data.length)),lastDeff>lastEndf&&((0,_util.warn)("TT: complementing a missing function tail"),content.push(new Uint8Array([34,45]))),function foldTTTable(table,content){if(content.length>1){var j,jj,newLength=0;for(j=0,jj=content.length;j<jj;j++)newLength+=content[j].length;newLength=newLength+3&-4;var result=new Uint8Array(newLength),pos=0;for(j=0,jj=content.length;j<jj;j++)result.set(content[j],pos),pos+=content[j].length;table.data=result,table.length=newLength}}(table,content)}var cff,cffFile,table,VALID_TABLES=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "],header=function readOpenTypeHeader(ttf){return{version:(0,_util.bytesToString)(ttf.getBytes(4)),numTables:ttf.getUint16(),searchRange:ttf.getUint16(),entrySelector:ttf.getUint16(),rangeShift:ttf.getUint16()}}(font=new _stream.Stream(new Uint8Array(font.getBytes()))),numTables=header.numTables,tables=Object.create(null);tables["OS/2"]=null,tables.cmap=null,tables.head=null,tables.hhea=null,tables.hmtx=null,tables.maxp=null,tables.name=null,tables.post=null;for(var i=0;i<numTables;i++)table=readTableEntry(font),VALID_TABLES.indexOf(table.tag)<0||0!==table.length&&(tables[table.tag]=table);var isTrueType=!tables["CFF "];if(isTrueType){if(!tables.loca)throw new _util.FormatError('Required "loca" table is not found');tables.glyf||((0,_util.warn)('Required "glyf" table is not found -- trying to recover.'),tables.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{if(!(("OTTO"!==header.version||properties.composite&&properties.cidToGidMap)&&tables.head&&tables.hhea&&tables.maxp&&tables.post))return cffFile=new _stream.Stream(tables["CFF "].data),cff=new CFFFont(cffFile,properties),adjustWidths(properties),this.convert(name,cff,properties);delete tables.glyf,delete tables.loca,delete tables.fpgm,delete tables.prep,delete tables["cvt "],this.isOpenType=!0}if(!tables.maxp)throw new _util.FormatError('Required "maxp" table is not found');font.pos=(font.start||0)+tables.maxp.offset;var version=font.getInt32(),numGlyphs=font.getUint16(),maxFunctionDefs=0,maxSizeOfInstructions=0;version>=65536&&tables.maxp.length>=22&&(font.pos+=8,font.getUint16()>2&&(tables.maxp.data[14]=0,tables.maxp.data[15]=2),font.pos+=4,maxFunctionDefs=font.getUint16(),font.pos+=6,maxSizeOfInstructions=font.getUint16());var dupFirstEntry=!1;"CIDFontType2"===properties.type&&properties.toUnicode&&properties.toUnicode.get(0)>"\0"&&(dupFirstEntry=!0,numGlyphs++,tables.maxp.data[4]=numGlyphs>>8,tables.maxp.data[5]=255&numGlyphs);var hintsValid=function sanitizeTTPrograms(fpgm,prep,cvt,maxFunctionDefs){var ttContext={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(fpgm&&sanitizeTTProgram(fpgm,ttContext),prep&&sanitizeTTProgram(prep,ttContext),fpgm&&function checkInvalidFunctions(ttContext,maxFunctionDefs){if(!ttContext.tooComplexToFollowFunctions){if(ttContext.functionsDefined.length>maxFunctionDefs)return(0,_util.warn)("TT: more functions defined than expected"),void(ttContext.hintsValid=!1);for(var j=0,jj=ttContext.functionsUsed.length;j<jj;j++){if(j>maxFunctionDefs)return(0,_util.warn)("TT: invalid function id: "+j),void(ttContext.hintsValid=!1);if(ttContext.functionsUsed[j]&&!ttContext.functionsDefined[j])return(0,_util.warn)("TT: undefined function: "+j),void(ttContext.hintsValid=!1)}}}(ttContext,maxFunctionDefs),cvt&&1&cvt.length){var cvtData=new Uint8Array(cvt.length+1);cvtData.set(cvt.data),cvt.data=cvtData}return ttContext.hintsValid}(tables.fpgm,tables.prep,tables["cvt "],maxFunctionDefs);if(hintsValid||(delete tables.fpgm,delete tables.prep,delete tables["cvt "]),function sanitizeMetrics(font,header,metrics,numGlyphs){if(header){font.pos=(font.start?font.start:0)+header.offset,font.pos+=header.length-2;var numOfMetrics=font.getUint16();numOfMetrics>numGlyphs&&((0,_util.info)("The numOfMetrics ("+numOfMetrics+") should not be greater than the numGlyphs ("+numGlyphs+")"),numOfMetrics=numGlyphs,header.data[34]=(65280&numOfMetrics)>>8,header.data[35]=255&numOfMetrics);var numMissing=numGlyphs-numOfMetrics-(metrics.length-4*numOfMetrics>>1);if(numMissing>0){var entries=new Uint8Array(metrics.length+2*numMissing);entries.set(metrics.data),metrics.data=entries}}else metrics&&(metrics.data=null)}(font,tables.hhea,tables.hmtx,numGlyphs),!tables.head)throw new _util.FormatError('Required "head" table is not found');!function sanitizeHead(head,numGlyphs,locaLength){var data=head.data,version=function int32(b0,b1,b2,b3){return(b0<<24)+(b1<<16)+(b2<<8)+b3}(data[0],data[1],data[2],data[3]);version>>16!=1&&((0,_util.info)("Attempting to fix invalid version in head table: "+version),data[0]=0,data[1]=1,data[2]=0,data[3]=0);var indexToLocFormat=int16(data[50],data[51]);if(indexToLocFormat<0||indexToLocFormat>1){(0,_util.info)("Attempting to fix invalid indexToLocFormat in head table: "+indexToLocFormat);var numGlyphsPlusOne=numGlyphs+1;if(locaLength===numGlyphsPlusOne<<1)data[50]=0,data[51]=0;else{if(locaLength!==numGlyphsPlusOne<<2)throw new _util.FormatError("Could not fix indexToLocFormat: "+indexToLocFormat);data[50]=0,data[51]=1}}}(tables.head,numGlyphs,isTrueType?tables.loca.length:0);var missingGlyphs=Object.create(null);if(isTrueType){var isGlyphLocationsLong=int16(tables.head.data[50],tables.head.data[51]),glyphsInfo=function sanitizeGlyphLocations(loca,glyf,numGlyphs,isGlyphLocationsLong,hintsValid,dupFirstEntry,maxSizeOfInstructions){var itemSize,itemDecode,itemEncode;isGlyphLocationsLong?(itemSize=4,itemDecode=function fontItemDecodeLong(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3]},itemEncode=function fontItemEncodeLong(data,offset,value){data[offset]=value>>>24&255,data[offset+1]=value>>16&255,data[offset+2]=value>>8&255,data[offset+3]=255&value}):(itemSize=2,itemDecode=function fontItemDecode(data,offset){return data[offset]<<9|data[offset+1]<<1},itemEncode=function fontItemEncode(data,offset,value){data[offset]=value>>9&255,data[offset+1]=value>>1&255});var locaData=loca.data,locaDataSize=itemSize*(1+numGlyphs);locaData.length!==locaDataSize&&((locaData=new Uint8Array(locaDataSize)).set(loca.data.subarray(0,locaDataSize)),loca.data=locaData);var i,j,oldGlyfData=glyf.data,oldGlyfDataLength=oldGlyfData.length,newGlyfData=new Uint8Array(oldGlyfDataLength),startOffset=itemDecode(locaData,0),writeOffset=0,missingGlyphs=Object.create(null);itemEncode(locaData,0,writeOffset);var locaCount=dupFirstEntry?numGlyphs-1:numGlyphs;for(i=0,j=itemSize;i<locaCount;i++,j+=itemSize){var endOffset=itemDecode(locaData,j);endOffset>oldGlyfDataLength&&(oldGlyfDataLength+3&-4)===endOffset&&(endOffset=oldGlyfDataLength),endOffset>oldGlyfDataLength&&(startOffset=endOffset);var glyphProfile=sanitizeGlyph(oldGlyfData,startOffset,endOffset,newGlyfData,writeOffset,hintsValid),newLength=glyphProfile.length;0===newLength&&(missingGlyphs[i]=!0),glyphProfile.sizeOfInstructions>maxSizeOfInstructions&&(maxSizeOfInstructions=glyphProfile.sizeOfInstructions),itemEncode(locaData,j,writeOffset+=newLength),startOffset=endOffset}if(0===writeOffset){var simpleGlyph=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(i=0,j=itemSize;i<numGlyphs;i++,j+=itemSize)itemEncode(locaData,j,simpleGlyph.length);glyf.data=simpleGlyph}else if(dupFirstEntry){var firstEntryLength=itemDecode(locaData,itemSize);newGlyfData.length>firstEntryLength+writeOffset?glyf.data=newGlyfData.subarray(0,firstEntryLength+writeOffset):(glyf.data=new Uint8Array(firstEntryLength+writeOffset),glyf.data.set(newGlyfData.subarray(0,writeOffset))),glyf.data.set(newGlyfData.subarray(0,firstEntryLength),writeOffset),itemEncode(loca.data,locaData.length-itemSize,writeOffset+firstEntryLength)}else glyf.data=newGlyfData.subarray(0,writeOffset);return{missingGlyphs:missingGlyphs,maxSizeOfInstructions:maxSizeOfInstructions}}(tables.loca,tables.glyf,numGlyphs,isGlyphLocationsLong,hintsValid,dupFirstEntry,maxSizeOfInstructions);missingGlyphs=glyphsInfo.missingGlyphs,version>=65536&&tables.maxp.length>=22&&(tables.maxp.data[26]=glyphsInfo.maxSizeOfInstructions>>8,tables.maxp.data[27]=255&glyphsInfo.maxSizeOfInstructions)}if(!tables.hhea)throw new _util.FormatError('Required "hhea" table is not found');0===tables.hhea.data[10]&&0===tables.hhea.data[11]&&(tables.hhea.data[10]=255,tables.hhea.data[11]=255);var metricsOverride={unitsPerEm:int16(tables.head.data[18],tables.head.data[19]),yMax:int16(tables.head.data[42],tables.head.data[43]),yMin:signedInt16(tables.head.data[38],tables.head.data[39]),ascent:int16(tables.hhea.data[4],tables.hhea.data[5]),descent:signedInt16(tables.hhea.data[6],tables.hhea.data[7])};(this.ascent=metricsOverride.ascent/metricsOverride.unitsPerEm,this.descent=metricsOverride.descent/metricsOverride.unitsPerEm,tables.post)&&(function readPostScriptTable(post,properties,maxpNumGlyphs){var start=(font.start?font.start:0)+post.offset;font.pos=start;var glyphNames,end=start+post.length,version=font.getInt32();font.getBytes(28);var i,valid=!0;switch(version){case 65536:glyphNames=MacStandardGlyphOrdering;break;case 131072:var numGlyphs=font.getUint16();if(numGlyphs!==maxpNumGlyphs){valid=!1;break}var glyphNameIndexes=[];for(i=0;i<numGlyphs;++i){var index=font.getUint16();if(index>=32768){valid=!1;break}glyphNameIndexes.push(index)}if(!valid)break;for(var customNames=[],strBuf=[];font.pos<end;){var stringLength=font.getByte();for(strBuf.length=stringLength,i=0;i<stringLength;++i)strBuf[i]=String.fromCharCode(font.getByte());customNames.push(strBuf.join(""))}for(glyphNames=[],i=0;i<numGlyphs;++i){var j=glyphNameIndexes[i];j<258?glyphNames.push(MacStandardGlyphOrdering[j]):glyphNames.push(customNames[j-258])}break;case 196608:break;default:(0,_util.warn)("Unknown/unsupported post table version "+version),valid=!1,properties.defaultEncoding&&(glyphNames=properties.defaultEncoding)}return properties.glyphNames=glyphNames,valid}(tables.post,properties,numGlyphs)||(tables.post=null));var charCode,charCodeToGlyphId=[];function hasGlyph(glyphId){return!missingGlyphs[glyphId]}if(properties.composite){var cidToGidMap=properties.cidToGidMap||[],isCidToGidMapEmpty=0===cidToGidMap.length;properties.cMap.forEach((function(charCode,cid){if(cid>65535)throw new _util.FormatError("Max size of CID is 65,535");var glyphId=-1;isCidToGidMapEmpty?glyphId=cid:void 0!==cidToGidMap[cid]&&(glyphId=cidToGidMap[cid]),glyphId>=0&&glyphId<numGlyphs&&hasGlyph(glyphId)&&(charCodeToGlyphId[charCode]=glyphId)})),!dupFirstEntry||!isCidToGidMapEmpty&&charCodeToGlyphId[0]||(charCodeToGlyphId[0]=numGlyphs-1)}else{var cmapTable=function readCmapTable(cmap,font,isSymbolicFont,hasEncoding){if(!cmap)return(0,_util.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var segment,start=(font.start?font.start:0)+cmap.offset;font.pos=start,font.getUint16();for(var potentialTable,numTables=font.getUint16(),canBreak=!1,i=0;i<numTables;i++){var platformId=font.getUint16(),encodingId=font.getUint16(),offset=font.getInt32()>>>0,useTable=!1;if((!potentialTable||potentialTable.platformId!==platformId||potentialTable.encodingId!==encodingId)&&(0===platformId&&0===encodingId||1===platformId&&0===encodingId?useTable=!0:3!==platformId||1!==encodingId||!hasEncoding&&potentialTable?isSymbolicFont&&3===platformId&&0===encodingId&&(useTable=!0,canBreak=!0):(useTable=!0,isSymbolicFont||(canBreak=!0)),useTable&&(potentialTable={platformId:platformId,encodingId:encodingId,offset:offset}),canBreak))break}if(potentialTable&&(font.pos=start+potentialTable.offset),!potentialTable||-1===font.peekByte())return(0,_util.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var format=font.getUint16();font.getUint16(),font.getUint16();var j,glyphId,hasShortCmap=!1,mappings=[];if(0===format){for(j=0;j<256;j++){var index=font.getByte();index&&mappings.push({charCode:j,glyphId:index})}hasShortCmap=!0}else if(4===format){var segCount=font.getUint16()>>1;font.getBytes(6);var segIndex,segments=[];for(segIndex=0;segIndex<segCount;segIndex++)segments.push({end:font.getUint16()});for(font.getUint16(),segIndex=0;segIndex<segCount;segIndex++)segments[segIndex].start=font.getUint16();for(segIndex=0;segIndex<segCount;segIndex++)segments[segIndex].delta=font.getUint16();var offsetsCount=0;for(segIndex=0;segIndex<segCount;segIndex++){segment=segments[segIndex];var rangeOffset=font.getUint16();if(rangeOffset){var offsetIndex=(rangeOffset>>1)-(segCount-segIndex);segment.offsetIndex=offsetIndex,offsetsCount=Math.max(offsetsCount,offsetIndex+segment.end-segment.start+1)}else segment.offsetIndex=-1}var offsets=[];for(j=0;j<offsetsCount;j++)offsets.push(font.getUint16());for(segIndex=0;segIndex<segCount;segIndex++){start=(segment=segments[segIndex]).start;var end=segment.end,delta=segment.delta;for(offsetIndex=segment.offsetIndex,j=start;j<=end;j++)65535!==j&&(glyphId=(glyphId=offsetIndex<0?j:offsets[offsetIndex+j-start])+delta&65535,mappings.push({charCode:j,glyphId:glyphId}))}}else{if(6!==format)return(0,_util.warn)("cmap table has unsupported format: "+format),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var firstCode=font.getUint16(),entryCount=font.getUint16();for(j=0;j<entryCount;j++){glyphId=font.getUint16();var charCode=firstCode+j;mappings.push({charCode:charCode,glyphId:glyphId})}}for(mappings.sort((function(a,b){return a.charCode-b.charCode})),i=1;i<mappings.length;i++)mappings[i-1].charCode===mappings[i].charCode&&(mappings.splice(i,1),i--);return{platformId:potentialTable.platformId,encodingId:potentialTable.encodingId,mappings:mappings,hasShortCmap:hasShortCmap}}(tables.cmap,font,this.isSymbolicFont,properties.hasEncoding),cmapPlatformId=cmapTable.platformId,cmapEncodingId=cmapTable.encodingId,cmapMappings=cmapTable.mappings,cmapMappingsLength=cmapMappings.length;if(properties.hasEncoding&&(3===cmapPlatformId&&1===cmapEncodingId||1===cmapPlatformId&&0===cmapEncodingId)||-1===cmapPlatformId&&-1===cmapEncodingId&&(0,_encodings.getEncoding)(properties.baseEncodingName)){var baseEncoding=[];"MacRomanEncoding"!==properties.baseEncodingName&&"WinAnsiEncoding"!==properties.baseEncodingName||(baseEncoding=(0,_encodings.getEncoding)(properties.baseEncodingName));var glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)();for(charCode=0;charCode<256;charCode++){var glyphName,standardGlyphName;if(glyphName=this.differences&&charCode in this.differences?this.differences[charCode]:charCode in baseEncoding&&""!==baseEncoding[charCode]?baseEncoding[charCode]:_encodings.StandardEncoding[charCode]){var unicodeOrCharCode;standardGlyphName=recoverGlyphName(glyphName,glyphsUnicodeMap),3===cmapPlatformId&&1===cmapEncodingId?unicodeOrCharCode=glyphsUnicodeMap[standardGlyphName]:1===cmapPlatformId&&0===cmapEncodingId&&(unicodeOrCharCode=_encodings.MacRomanEncoding.indexOf(standardGlyphName));var found=!1;for(i=0;i<cmapMappingsLength;++i)if(cmapMappings[i].charCode===unicodeOrCharCode){charCodeToGlyphId[charCode]=cmapMappings[i].glyphId,found=!0;break}if(!found&&properties.glyphNames){var glyphId=properties.glyphNames.indexOf(glyphName);-1===glyphId&&standardGlyphName!==glyphName&&(glyphId=properties.glyphNames.indexOf(standardGlyphName)),glyphId>0&&hasGlyph(glyphId)&&(charCodeToGlyphId[charCode]=glyphId,found=!0)}}}}else if(0===cmapPlatformId&&0===cmapEncodingId)for(i=0;i<cmapMappingsLength;++i)charCodeToGlyphId[cmapMappings[i].charCode]=cmapMappings[i].glyphId;else for(i=0;i<cmapMappingsLength;++i)charCode=cmapMappings[i].charCode,3===cmapPlatformId&&charCode>=61440&&charCode<=61695&&(charCode&=255),charCodeToGlyphId[charCode]=cmapMappings[i].glyphId}0===charCodeToGlyphId.length&&(charCodeToGlyphId[0]=0);var newMapping=adjustMapping(charCodeToGlyphId,properties,missingGlyphs);if(this.toFontChar=newMapping.toFontChar,tables.cmap={tag:"cmap",data:createCmapTable(newMapping.charCodeToGlyphId,numGlyphs)},tables["OS/2"]&&function validateOS2Table(os2){var stream=new _stream.Stream(os2.data),version=stream.getUint16();stream.getBytes(60);var selection=stream.getUint16();return!(version<4&&768&selection||stream.getUint16()>stream.getUint16()||(stream.getBytes(6),0===stream.getUint16()||(os2.data[8]=os2.data[9]=0,0)))}(tables["OS/2"])||(tables["OS/2"]={tag:"OS/2",data:createOS2Table(properties,newMapping.charCodeToGlyphId,metricsOverride)}),tables.post||(tables.post={tag:"post",data:createPostTable(properties)}),!isTrueType)try{cffFile=new _stream.Stream(tables["CFF "].data),cff=new _cff_parser.CFFParser(cffFile,properties,SEAC_ANALYSIS_ENABLED).parse();var compiler=new _cff_parser.CFFCompiler(cff);tables["CFF "].data=compiler.compile()}catch(e){(0,_util.warn)("Failed to compile font "+properties.loadedName)}if(tables.name){var namePrototype=function readNameTable(nameTable){var start=(font.start?font.start:0)+nameTable.offset;font.pos=start;var names=[[],[]],length=nameTable.length,end=start+length;if(0!==font.getUint16()||length<6)return names;var i,ii,numRecords=font.getUint16(),stringsStart=font.getUint16(),records=[];for(i=0;i<numRecords&&font.pos+12<=end;i++){var r={platform:font.getUint16(),encoding:font.getUint16(),language:font.getUint16(),name:font.getUint16(),length:font.getUint16(),offset:font.getUint16()};(1===r.platform&&0===r.encoding&&0===r.language||3===r.platform&&1===r.encoding&&1033===r.language)&&records.push(r)}for(i=0,ii=records.length;i<ii;i++){var record=records[i];if(!(record.length<=0)){var pos=start+stringsStart+record.offset;if(!(pos+record.length>end)){font.pos=pos;var nameIndex=record.name;if(record.encoding){for(var str="",j=0,jj=record.length;j<jj;j+=2)str+=String.fromCharCode(font.getUint16());names[1][nameIndex]=str}else names[0][nameIndex]=(0,_util.bytesToString)(font.getBytes(record.length))}}}return names}(tables.name);tables.name.data=createNameTable(name,namePrototype)}else tables.name={tag:"name",data:createNameTable(this.name)};var builder=new OpenTypeFileBuilder(header.version);for(var tableTag in tables)builder.addTable(tableTag,tables[tableTag].data);return builder.toArray()},convert:function Font_convert(fontName,font,properties){properties.fixedPitch=!1,properties.builtInEncoding&&function adjustToUnicode(properties,builtInEncoding){if(!properties.hasIncludedToUnicodeMap&&!(properties.hasEncoding||builtInEncoding===properties.defaultEncoding||properties.toUnicode instanceof IdentityToUnicodeMap)){var toUnicode=[],glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)();for(var charCode in builtInEncoding){var glyphName=builtInEncoding[charCode],unicode=(0,_unicode.getUnicodeForGlyph)(glyphName,glyphsUnicodeMap);-1!==unicode&&(toUnicode[charCode]=String.fromCharCode(unicode))}properties.toUnicode.amend(toUnicode)}}(properties,properties.builtInEncoding);var mapping=font.getGlyphMapping(properties),newMapping=adjustMapping(mapping,properties,Object.create(null));this.toFontChar=newMapping.toFontChar;var numGlyphs=font.numGlyphs;function getCharCodes(charCodeToGlyphId,glyphId){var charCodes=null;for(var charCode in charCodeToGlyphId)glyphId===charCodeToGlyphId[charCode]&&(charCodes||(charCodes=[]),charCodes.push(0|charCode));return charCodes}function createCharCode(charCodeToGlyphId,glyphId){for(var charCode in charCodeToGlyphId)if(glyphId===charCodeToGlyphId[charCode])return 0|charCode;return newMapping.charCodeToGlyphId[newMapping.nextAvailableFontCharCode]=glyphId,newMapping.nextAvailableFontCharCode++}var seacs=font.seacs;if(SEAC_ANALYSIS_ENABLED&&seacs&&seacs.length){var matrix=properties.fontMatrix||_util.FONT_IDENTITY_MATRIX,charset=font.getCharset(),seacMap=Object.create(null);for(var glyphId in seacs){var seac=seacs[glyphId|=0],baseGlyphName=_encodings.StandardEncoding[seac[2]],accentGlyphName=_encodings.StandardEncoding[seac[3]],baseGlyphId=charset.indexOf(baseGlyphName),accentGlyphId=charset.indexOf(accentGlyphName);if(!(baseGlyphId<0||accentGlyphId<0)){var accentOffset={x:seac[0]*matrix[0]+seac[1]*matrix[2]+matrix[4],y:seac[0]*matrix[1]+seac[1]*matrix[3]+matrix[5]},charCodes=getCharCodes(mapping,glyphId);if(charCodes)for(var i=0,ii=charCodes.length;i<ii;i++){var charCode=charCodes[i],charCodeToGlyphId=newMapping.charCodeToGlyphId,baseFontCharCode=createCharCode(charCodeToGlyphId,baseGlyphId),accentFontCharCode=createCharCode(charCodeToGlyphId,accentGlyphId);seacMap[charCode]={baseFontCharCode:baseFontCharCode,accentFontCharCode:accentFontCharCode,accentOffset:accentOffset}}}}properties.seacMap=seacMap}var unitsPerEm=1/(properties.fontMatrix||_util.FONT_IDENTITY_MATRIX)[0],builder=new OpenTypeFileBuilder("OTTO");return builder.addTable("CFF ",font.data),builder.addTable("OS/2",createOS2Table(properties,newMapping.charCodeToGlyphId)),builder.addTable("cmap",createCmapTable(newMapping.charCodeToGlyphId,numGlyphs)),builder.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+safeString16(unitsPerEm)+"\0\0\0\0ž\v~'\0\0\0\0ž\v~'\0\0"+safeString16(properties.descent)+"ÿ"+safeString16(properties.ascent)+string16(properties.italicAngle?2:0)+"\0\0\0\0\0\0\0"),builder.addTable("hhea","\0\0\0"+safeString16(properties.ascent)+safeString16(properties.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+safeString16(properties.capHeight)+safeString16(Math.tan(properties.italicAngle)*properties.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+string16(numGlyphs)),builder.addTable("hmtx",function fontFieldsHmtx(){for(var charstrings=font.charstrings,cffWidths=font.cff?font.cff.widths:null,hmtx="\0\0\0\0",i=1,ii=numGlyphs;i<ii;i++){var width=0;if(charstrings){var charstring=charstrings[i-1];width="width"in charstring?charstring.width:0}else cffWidths&&(width=Math.ceil(cffWidths[i]||0));hmtx+=string16(width)+string16(0)}return hmtx}()),builder.addTable("maxp","\0\0P\0"+string16(numGlyphs)),builder.addTable("name",createNameTable(fontName)),builder.addTable("post",createPostTable(properties)),builder.toArray()},get spaceWidth(){if("_shadowWidth"in this)return this._shadowWidth;for(var width,possibleSpaceReplacements=["space","minus","one","i","I"],i=0,ii=possibleSpaceReplacements.length;i<ii;i++){var glyphName=possibleSpaceReplacements[i];if(glyphName in this.widths){width=this.widths[glyphName];break}var glyphUnicode=(0,_glyphlist.getGlyphsUnicode)()[glyphName],charcode=0;if(this.composite&&this.cMap.contains(glyphUnicode)&&(charcode=this.cMap.lookup(glyphUnicode)),!charcode&&this.toUnicode&&(charcode=this.toUnicode.charCodeOf(glyphUnicode)),charcode<=0&&(charcode=glyphUnicode),width=this.widths[charcode])break}return width=width||this.defaultWidth,this._shadowWidth=width,width},charToGlyph:function Font_charToGlyph(charcode,isSpace){var fontCharCode,width,operatorListId,widthCode=charcode;this.cMap&&this.cMap.contains(charcode)&&(widthCode=this.cMap.lookup(charcode)),width=this.widths[widthCode],width=(0,_util.isNum)(width)?width:this.defaultWidth;var vmetric=this.vmetrics&&this.vmetrics[widthCode],unicode=this.toUnicode.get(charcode)||charcode;"number"==typeof unicode&&(unicode=String.fromCharCode(unicode));var isInFont=charcode in this.toFontChar;fontCharCode=this.toFontChar[charcode]||charcode,this.missingFile&&(fontCharCode=(0,_unicode.mapSpecialUnicodeValues)(fontCharCode)),this.isType3Font&&(operatorListId=fontCharCode);var accent=null;if(this.seacMap&&this.seacMap[charcode]){isInFont=!0;var seac=this.seacMap[charcode];fontCharCode=seac.baseFontCharCode,accent={fontChar:String.fromCharCode(seac.accentFontCharCode),offset:seac.accentOffset}}var fontChar=String.fromCharCode(fontCharCode),glyph=this.glyphCache[charcode];return glyph&&glyph.matchesForCache(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont)||(glyph=new Glyph(fontChar,unicode,accent,width,vmetric,operatorListId,isSpace,isInFont),this.glyphCache[charcode]=glyph),glyph},charsToGlyphs:function Font_charsToGlyphs(chars){var glyphs,glyph,charcode,charsCache=this.charsCache;if(charsCache&&(glyphs=charsCache[chars]))return glyphs;charsCache||(charsCache=this.charsCache=Object.create(null)),glyphs=[];var ii,charsCacheKey=chars,i=0;if(this.cMap)for(var c=Object.create(null);i<chars.length;){this.cMap.readCharCode(chars,i,c),charcode=c.charcode;var length=c.length;i+=length;var isSpace=1===length&&32===chars.charCodeAt(i-1);glyph=this.charToGlyph(charcode,isSpace),glyphs.push(glyph)}else for(i=0,ii=chars.length;i<ii;++i)charcode=chars.charCodeAt(i),glyph=this.charToGlyph(charcode,32===charcode),glyphs.push(glyph);return charsCache[charsCacheKey]=glyphs}},Font}(),ErrorFont=function ErrorFontClosure(){function ErrorFont(error){this.error=error,this.loadedName="g_font_error",this.loading=!1}return ErrorFont.prototype={charsToGlyphs:function ErrorFont_charsToGlyphs(){return[]},exportData:function ErrorFont_exportData(){return{error:this.error}}},ErrorFont}();function type1FontGlyphMapping(properties,builtInEncoding,glyphNames){var glyphId,charCode,baseEncoding,charCodeToGlyphId=Object.create(null),isSymbolicFont=!!(properties.flags&FontFlags.Symbolic);if(properties.baseEncodingName)for(baseEncoding=(0,_encodings.getEncoding)(properties.baseEncodingName),charCode=0;charCode<baseEncoding.length;charCode++)glyphId=glyphNames.indexOf(baseEncoding[charCode]),charCodeToGlyphId[charCode]=glyphId>=0?glyphId:0;else if(isSymbolicFont)for(charCode in builtInEncoding)charCodeToGlyphId[charCode]=builtInEncoding[charCode];else for(baseEncoding=_encodings.StandardEncoding,charCode=0;charCode<baseEncoding.length;charCode++)glyphId=glyphNames.indexOf(baseEncoding[charCode]),charCodeToGlyphId[charCode]=glyphId>=0?glyphId:0;var glyphsUnicodeMap,differences=properties.differences;if(differences)for(charCode in differences){var glyphName=differences[charCode];if(-1===(glyphId=glyphNames.indexOf(glyphName))){glyphsUnicodeMap||(glyphsUnicodeMap=(0,_glyphlist.getGlyphsUnicode)());var standardGlyphName=recoverGlyphName(glyphName,glyphsUnicodeMap);standardGlyphName!==glyphName&&(glyphId=glyphNames.indexOf(standardGlyphName))}charCodeToGlyphId[charCode]=glyphId>=0?glyphId:0}return charCodeToGlyphId}var Type1Font=function Type1FontClosure(){function findBlock(streamBytes,signature,startIndex){for(var j,streamBytesLength=streamBytes.length,signatureLength=signature.length,scanLength=streamBytesLength-signatureLength,i=startIndex,found=!1;i<scanLength;){for(j=0;j<signatureLength&&streamBytes[i+j]===signature[j];)j++;if(j>=signatureLength){for(i+=j;i<streamBytesLength&&(0,_util.isSpace)(streamBytes[i]);)i++;found=!0;break}i++}return{found:found,length:i}}function Type1Font(name,file,properties){var headerBlockLength=properties.length1,pfbHeader=(properties.length2,file.peekBytes(6)),pfbHeaderPresent=128===pfbHeader[0]&&1===pfbHeader[1];pfbHeaderPresent&&(file.skip(6),headerBlockLength=pfbHeader[5]<<24|pfbHeader[4]<<16|pfbHeader[3]<<8|pfbHeader[2]);var headerBlock=function getHeaderBlock(stream,suggestedLength){var headerBytes,headerBytesLength,block,actualLength,EEXEC_SIGNATURE=[101,101,120,101,99],streamStartPos=stream.pos;try{headerBytesLength=(headerBytes=stream.getBytes(suggestedLength)).length}catch(ex){if(ex instanceof _util.MissingDataException)throw ex}if(headerBytesLength===suggestedLength&&(block=findBlock(headerBytes,EEXEC_SIGNATURE,suggestedLength-2*EEXEC_SIGNATURE.length)).found&&block.length===suggestedLength)return{stream:new _stream.Stream(headerBytes),length:suggestedLength};for((0,_util.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'),stream.pos=streamStartPos;0!==(block=findBlock(stream.peekBytes(2048),EEXEC_SIGNATURE,0)).length;)if(stream.pos+=block.length,block.found){actualLength=stream.pos-streamStartPos;break}return stream.pos=streamStartPos,actualLength?{stream:new _stream.Stream(stream.getBytes(actualLength)),length:actualLength}:((0,_util.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new _stream.Stream(stream.getBytes(suggestedLength)),length:suggestedLength})}(file,headerBlockLength);headerBlockLength=headerBlock.length,new _type1_parser.Type1Parser(headerBlock.stream,!1,SEAC_ANALYSIS_ENABLED).extractFontHeader(properties),pfbHeaderPresent&&((pfbHeader=file.getBytes(6))[5],pfbHeader[4],pfbHeader[3],pfbHeader[2]);var eexecBlock=function getEexecBlock(stream,suggestedLength){var eexecBytes=stream.getBytes();return{stream:new _stream.Stream(eexecBytes),length:eexecBytes.length}}(file);eexecBlock.length;var data=new _type1_parser.Type1Parser(eexecBlock.stream,!0,SEAC_ANALYSIS_ENABLED).extractFontProgram();for(var info in data.properties)properties[info]=data.properties[info];var charstrings=data.charstrings,type2Charstrings=this.getType2Charstrings(charstrings),subrs=this.getType2Subrs(data.subrs);this.charstrings=charstrings,this.data=this.wrap(name,type2Charstrings,this.charstrings,subrs,properties),this.seacs=this.getSeacs(data.charstrings)}return Type1Font.prototype={get numGlyphs(){return this.charstrings.length+1},getCharset:function Type1Font_getCharset(){for(var charset=[".notdef"],charstrings=this.charstrings,glyphId=0;glyphId<charstrings.length;glyphId++)charset.push(charstrings[glyphId].glyphName);return charset},getGlyphMapping:function Type1Font_getGlyphMapping(properties){var glyphId,charstrings=this.charstrings,glyphNames=[".notdef"];for(glyphId=0;glyphId<charstrings.length;glyphId++)glyphNames.push(charstrings[glyphId].glyphName);var encoding=properties.builtInEncoding;if(encoding){var builtInEncoding=Object.create(null);for(var charCode in encoding)(glyphId=glyphNames.indexOf(encoding[charCode]))>=0&&(builtInEncoding[charCode]=glyphId)}return type1FontGlyphMapping(properties,builtInEncoding,glyphNames)},getSeacs:function Type1Font_getSeacs(charstrings){var i,ii,seacMap=[];for(i=0,ii=charstrings.length;i<ii;i++){var charstring=charstrings[i];charstring.seac&&(seacMap[i+1]=charstring.seac)}return seacMap},getType2Charstrings:function Type1Font_getType2Charstrings(type1Charstrings){for(var type2Charstrings=[],i=0,ii=type1Charstrings.length;i<ii;i++)type2Charstrings.push(type1Charstrings[i].charstring);return type2Charstrings},getType2Subrs:function Type1Font_getType2Subrs(type1Subrs){var bias=0,count=type1Subrs.length;bias=count<1133?107:count<33769?1131:32768;var i,type2Subrs=[];for(i=0;i<bias;i++)type2Subrs.push([11]);for(i=0;i<count;i++)type2Subrs.push(type1Subrs[i]);return type2Subrs},wrap:function Type1Font_wrap(name,glyphs,charstrings,subrs,properties){var cff=new _cff_parser.CFF;cff.header=new _cff_parser.CFFHeader(1,0,4,4),cff.names=[name];var topDict=new _cff_parser.CFFTopDict;topDict.setByName("version",391),topDict.setByName("Notice",392),topDict.setByName("FullName",393),topDict.setByName("FamilyName",394),topDict.setByName("Weight",395),topDict.setByName("Encoding",null),topDict.setByName("FontMatrix",properties.fontMatrix),topDict.setByName("FontBBox",properties.bbox),topDict.setByName("charset",null),topDict.setByName("CharStrings",null),topDict.setByName("Private",null),cff.topDict=topDict;var strings=new _cff_parser.CFFStrings;strings.add("Version 0.11"),strings.add("See original notice"),strings.add(name),strings.add(name),strings.add("Medium"),cff.strings=strings,cff.globalSubrIndex=new _cff_parser.CFFIndex;var i,ii,count=glyphs.length,charsetArray=[0];for(i=0;i<count;i++){var index=_cff_parser.CFFStandardStrings.indexOf(charstrings[i].glyphName);-1===index&&(index=0),charsetArray.push(index>>8&255,255&index)}cff.charset=new _cff_parser.CFFCharset(!1,0,[],charsetArray);var charStringsIndex=new _cff_parser.CFFIndex;for(charStringsIndex.add([139,14]),i=0;i<count;i++){var glyph=glyphs[i];0!==glyph.length?charStringsIndex.add(glyph):charStringsIndex.add([139,14])}cff.charStrings=charStringsIndex;var privateDict=new _cff_parser.CFFPrivateDict;privateDict.setByName("Subrs",null);var fields=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(i=0,ii=fields.length;i<ii;i++){var field=fields[i];if(field in properties.privateData){var value=properties.privateData[field];if(Array.isArray(value))for(var j=value.length-1;j>0;j--)value[j]-=value[j-1];privateDict.setByName(field,value)}}cff.topDict.privateDict=privateDict;var subrIndex=new _cff_parser.CFFIndex;for(i=0,ii=subrs.length;i<ii;i++)subrIndex.add(subrs[i]);return privateDict.subrsIndex=subrIndex,new _cff_parser.CFFCompiler(cff).compile()}},Type1Font}(),CFFFont=function CFFFontClosure(){function CFFFont(file,properties){this.properties=properties;var parser=new _cff_parser.CFFParser(file,properties,SEAC_ANALYSIS_ENABLED);this.cff=parser.parse();var compiler=new _cff_parser.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=compiler.compile()}catch(e){(0,_util.warn)("Failed to compile font "+properties.loadedName),this.data=file}}return CFFFont.prototype={get numGlyphs(){return this.cff.charStrings.count},getCharset:function CFFFont_getCharset(){return this.cff.charset.charset},getGlyphMapping:function CFFFont_getGlyphMapping(){var charCodeToGlyphId,glyphId,cff=this.cff,properties=this.properties,charsets=cff.charset.charset;if(properties.composite){if(charCodeToGlyphId=Object.create(null),cff.isCIDFont)for(glyphId=0;glyphId<charsets.length;glyphId++){var cid=charsets[glyphId];charCodeToGlyphId[properties.cMap.charCodeOf(cid)]=glyphId}else for(glyphId=0;glyphId<cff.charStrings.count;glyphId++)charCodeToGlyphId[glyphId]=glyphId;return charCodeToGlyphId}return charCodeToGlyphId=type1FontGlyphMapping(properties,cff.encoding?cff.encoding.encoding:null,charsets)}},CFFFont}();!function checkSeacSupport(){"undefined"!=typeof navigator&&/Windows/.test(navigator.userAgent)&&(exports.SEAC_ANALYSIS_ENABLED=SEAC_ANALYSIS_ENABLED=!0)}(),function checkChromeWindows(){"undefined"!=typeof navigator&&/Windows.*Chrome/.test(navigator.userAgent)&&(SKIP_PRIVATE_USE_RANGE_F000_TO_F01F=!0)}(),exports.SEAC_ANALYSIS_ENABLED=SEAC_ANALYSIS_ENABLED,exports.PRIVATE_USE_OFFSET_START=57344,exports.PRIVATE_USE_OFFSET_END=63743,exports.ErrorFont=ErrorFont,exports.Font=Font,exports.FontFlags=FontFlags,exports.ToUnicodeMap=ToUnicodeMap,exports.IdentityToUnicodeMap=IdentityToUnicodeMap,exports.ProblematicCharRanges=ProblematicCharRanges,exports.getFontType=getFontType},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.ISOAdobeCharset=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],exports.ExpertCharset=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],exports.ExpertSubsetCharset=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FontRendererFactory=void 0;var _util=__w_pdfjs_require__(0),_cff_parser=__w_pdfjs_require__(78),_glyphlist=__w_pdfjs_require__(47),_encodings=__w_pdfjs_require__(28),_stream=__w_pdfjs_require__(5),FontRendererFactory=function FontRendererFactoryClosure(){function getLong(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3]}function getUshort(data,offset){return data[offset]<<8|data[offset+1]}function parseCmap(data,start,end){var ranges,p,i,offset=1===getUshort(data,start+2)?getLong(data,start+8):getLong(data,start+16),format=getUshort(data,start+offset);if(4===format){getUshort(data,start+offset+2);var segCount=getUshort(data,start+offset+6)>>1;for(p=start+offset+14,ranges=[],i=0;i<segCount;i++,p+=2)ranges[i]={end:getUshort(data,p)};for(p+=2,i=0;i<segCount;i++,p+=2)ranges[i].start=getUshort(data,p);for(i=0;i<segCount;i++,p+=2)ranges[i].idDelta=getUshort(data,p);for(i=0;i<segCount;i++,p+=2){var idOffset=getUshort(data,p);if(0!==idOffset){ranges[i].ids=[];for(var j=0,jj=ranges[i].end-ranges[i].start+1;j<jj;j++)ranges[i].ids[j]=getUshort(data,p+idOffset),idOffset+=2}}return ranges}if(12===format){getLong(data,start+offset+4);var groups=getLong(data,start+offset+12);for(p=start+offset+16,ranges=[],i=0;i<groups;i++)ranges.push({start:getLong(data,p),end:getLong(data,p+4),idDelta:getLong(data,p+8)-getLong(data,p)}),p+=12;return ranges}throw new _util.FormatError("unsupported cmap: "+format)}function parseCff(data,start,end,seacAnalysisEnabled){var cff=new _cff_parser.CFFParser(new _stream.Stream(data,start,end-start),{},seacAnalysisEnabled).parse();return{glyphs:cff.charStrings.objects,subrs:cff.topDict.privateDict&&cff.topDict.privateDict.subrsIndex&&cff.topDict.privateDict.subrsIndex.objects,gsubrs:cff.globalSubrIndex&&cff.globalSubrIndex.objects}}function lookupCmap(ranges,unicode){for(var code=unicode.charCodeAt(0),gid=0,l=0,r=ranges.length-1;l<r;){var c=l+r+1>>1;code<ranges[c].start?r=c-1:l=c}return ranges[l].start<=code&&code<=ranges[l].end&&(gid=ranges[l].idDelta+(ranges[l].ids?ranges[l].ids[code-ranges[l].start]:code)&65535),{charCode:code,glyphId:gid}}function compileGlyf(code,cmds,font){function moveTo(x,y){cmds.push({cmd:"moveTo",args:[x,y]})}function lineTo(x,y){cmds.push({cmd:"lineTo",args:[x,y]})}function quadraticCurveTo(xa,ya,x,y){cmds.push({cmd:"quadraticCurveTo",args:[xa,ya,x,y]})}var flags,i=0,numberOfContours=(code[i]<<24|code[i+1]<<16)>>16,x=0,y=0;if(i+=10,numberOfContours<0)do{flags=code[i]<<8|code[i+1];var arg1,arg2,glyphIndex=code[i+2]<<8|code[i+3];i+=4,1&flags?(arg1=(code[i]<<24|code[i+1]<<16)>>16,arg2=(code[i+2]<<24|code[i+3]<<16)>>16,i+=4):(arg1=code[i++],arg2=code[i++]),2&flags?(x=arg1,y=arg2):(x=0,y=0);var scaleX=1,scaleY=1,scale01=0,scale10=0;8&flags?(scaleX=scaleY=(code[i]<<24|code[i+1]<<16)/1073741824,i+=2):64&flags?(scaleX=(code[i]<<24|code[i+1]<<16)/1073741824,scaleY=(code[i+2]<<24|code[i+3]<<16)/1073741824,i+=4):128&flags&&(scaleX=(code[i]<<24|code[i+1]<<16)/1073741824,scale01=(code[i+2]<<24|code[i+3]<<16)/1073741824,scale10=(code[i+4]<<24|code[i+5]<<16)/1073741824,scaleY=(code[i+6]<<24|code[i+7]<<16)/1073741824,i+=8);var subglyph=font.glyphs[glyphIndex];subglyph&&(cmds.push({cmd:"save"}),cmds.push({cmd:"transform",args:[scaleX,scale01,scale10,scaleY,x,y]}),compileGlyf(subglyph,cmds,font),cmds.push({cmd:"restore"}))}while(32&flags);else{var j,jj,endPtsOfContours=[];for(j=0;j<numberOfContours;j++)endPtsOfContours.push(code[i]<<8|code[i+1]),i+=2;i+=2+(code[i]<<8|code[i+1]);for(var numberOfPoints=endPtsOfContours[endPtsOfContours.length-1]+1,points=[];points.length<numberOfPoints;){var repeat=1;for(8&(flags=code[i++])&&(repeat+=code[i++]);repeat-- >0;)points.push({flags:flags})}for(j=0;j<numberOfPoints;j++){switch(18&points[j].flags){case 0:x+=(code[i]<<24|code[i+1]<<16)>>16,i+=2;break;case 2:x-=code[i++];break;case 18:x+=code[i++]}points[j].x=x}for(j=0;j<numberOfPoints;j++){switch(36&points[j].flags){case 0:y+=(code[i]<<24|code[i+1]<<16)>>16,i+=2;break;case 4:y-=code[i++];break;case 36:y+=code[i++]}points[j].y=y}var startPoint=0;for(i=0;i<numberOfContours;i++){var endPoint=endPtsOfContours[i],contour=points.slice(startPoint,endPoint+1);if(1&contour[0].flags)contour.push(contour[0]);else if(1&contour[contour.length-1].flags)contour.unshift(contour[contour.length-1]);else{var p={flags:1,x:(contour[0].x+contour[contour.length-1].x)/2,y:(contour[0].y+contour[contour.length-1].y)/2};contour.unshift(p),contour.push(p)}for(moveTo(contour[0].x,contour[0].y),j=1,jj=contour.length;j<jj;j++)1&contour[j].flags?lineTo(contour[j].x,contour[j].y):1&contour[j+1].flags?(quadraticCurveTo(contour[j].x,contour[j].y,contour[j+1].x,contour[j+1].y),j++):quadraticCurveTo(contour[j].x,contour[j].y,(contour[j].x+contour[j+1].x)/2,(contour[j].y+contour[j+1].y)/2);startPoint=endPoint+1}}}function compileCharString(code,cmds,font){var stack=[],x=0,y=0,stems=0;function moveTo(x,y){cmds.push({cmd:"moveTo",args:[x,y]})}function lineTo(x,y){cmds.push({cmd:"lineTo",args:[x,y]})}function bezierCurveTo(x1,y1,x2,y2,x,y){cmds.push({cmd:"bezierCurveTo",args:[x1,y1,x2,y2,x,y]})}!function parse(code){for(var i=0;i<code.length;){var xa,xb,ya,yb,y1,y2,n,subrCode,stackClean=!1,v=code[i++];switch(v){case 1:case 3:stems+=stack.length>>1,stackClean=!0;break;case 4:y+=stack.pop(),moveTo(x,y),stackClean=!0;break;case 5:for(;stack.length>0;)x+=stack.shift(),y+=stack.shift(),lineTo(x,y);break;case 6:for(;stack.length>0&&(lineTo(x+=stack.shift(),y),0!==stack.length);)y+=stack.shift(),lineTo(x,y);break;case 7:for(;stack.length>0&&(y+=stack.shift(),lineTo(x,y),0!==stack.length);)lineTo(x+=stack.shift(),y);break;case 8:for(;stack.length>0;)xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y);break;case 10:n=stack.pop()+font.subrsBias,(subrCode=font.subrs[n])&&parse(subrCode);break;case 11:return;case 12:switch(v=code[i++]){case 34:xb=(xa=x+stack.shift())+stack.shift(),y1=y+stack.shift(),x=xb+stack.shift(),bezierCurveTo(xa,y,xb,y1,x,y1),xb=(xa=x+stack.shift())+stack.shift(),x=xb+stack.shift(),bezierCurveTo(xa,y1,xb,y,x,y);break;case 35:xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y),xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y),stack.pop();break;case 36:bezierCurveTo(xa=x+stack.shift(),y1=y+stack.shift(),xb=xa+stack.shift(),y2=y1+stack.shift(),x=xb+stack.shift(),y2),bezierCurveTo(xa=x+stack.shift(),y2,xb=xa+stack.shift(),y2+stack.shift(),x=xb+stack.shift(),y);break;case 37:var x0=x,y0=y;xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y),xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb,y=yb,Math.abs(x-x0)>Math.abs(y-y0)?x+=stack.shift():y+=stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y);break;default:throw new _util.FormatError("unknown operator: 12 "+v)}break;case 14:if(stack.length>=4){var achar=stack.pop(),bchar=stack.pop();y=stack.pop(),x=stack.pop(),cmds.push({cmd:"save"}),cmds.push({cmd:"translate",args:[x,y]});var cmap=lookupCmap(font.cmap,String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[achar]]));compileCharString(font.glyphs[cmap.glyphId],cmds,font),cmds.push({cmd:"restore"}),cmap=lookupCmap(font.cmap,String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[bchar]])),compileCharString(font.glyphs[cmap.glyphId],cmds,font)}return;case 18:stems+=stack.length>>1,stackClean=!0;break;case 19:case 20:i+=(stems+=stack.length>>1)+7>>3,stackClean=!0;break;case 21:y+=stack.pop(),moveTo(x+=stack.pop(),y),stackClean=!0;break;case 22:moveTo(x+=stack.pop(),y),stackClean=!0;break;case 23:stems+=stack.length>>1,stackClean=!0;break;case 24:for(;stack.length>2;)xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y);x+=stack.shift(),y+=stack.shift(),lineTo(x,y);break;case 25:for(;stack.length>6;)x+=stack.shift(),y+=stack.shift(),lineTo(x,y);xa=x+stack.shift(),ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y);break;case 26:for(stack.length%2&&(x+=stack.shift());stack.length>0;)xa=x,ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb,y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x,y);break;case 27:for(stack.length%2&&(y+=stack.shift());stack.length>0;)bezierCurveTo(xa=x+stack.shift(),ya=y,xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb);break;case 28:stack.push((code[i]<<24|code[i+1]<<16)>>16),i+=2;break;case 29:n=stack.pop()+font.gsubrsBias,(subrCode=font.gsubrs[n])&&parse(subrCode);break;case 30:for(;stack.length>0&&(xa=x,ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+(1===stack.length?stack.shift():0),bezierCurveTo(xa,ya,xb,yb,x,y),0!==stack.length);)xa=x+stack.shift(),ya=y,xb=xa+stack.shift(),yb=ya+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x=xb+(1===stack.length?stack.shift():0),y);break;case 31:for(;stack.length>0&&(xa=x+stack.shift(),ya=y,xb=xa+stack.shift(),yb=ya+stack.shift(),y=yb+stack.shift(),bezierCurveTo(xa,ya,xb,yb,x=xb+(1===stack.length?stack.shift():0),y),0!==stack.length);)xa=x,ya=y+stack.shift(),xb=xa+stack.shift(),yb=ya+stack.shift(),x=xb+stack.shift(),y=yb+(1===stack.length?stack.shift():0),bezierCurveTo(xa,ya,xb,yb,x,y);break;default:if(v<32)throw new _util.FormatError("unknown operator: "+v);v<247?stack.push(v-139):v<251?stack.push(256*(v-247)+code[i++]+108):v<255?stack.push(256*-(v-251)-code[i++]-108):(stack.push((code[i]<<24|code[i+1]<<16|code[i+2]<<8|code[i+3])/65536),i+=4)}stackClean&&(stack.length=0)}}(code)}function CompiledFont(fontMatrix){this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null),this.fontMatrix=fontMatrix}function TrueTypeCompiled(glyphs,cmap,fontMatrix){fontMatrix=fontMatrix||[488e-6,0,0,488e-6,0,0],CompiledFont.call(this,fontMatrix),this.glyphs=glyphs,this.cmap=cmap}function Type2Compiled(cffInfo,cmap,fontMatrix,glyphNameMap){fontMatrix=fontMatrix||[.001,0,0,.001,0,0],CompiledFont.call(this,fontMatrix),this.glyphs=cffInfo.glyphs,this.gsubrs=cffInfo.gsubrs||[],this.subrs=cffInfo.subrs||[],this.cmap=cmap,this.glyphNameMap=glyphNameMap||(0,_glyphlist.getGlyphsUnicode)(),this.gsubrsBias=this.gsubrs.length<1240?107:this.gsubrs.length<33900?1131:32768,this.subrsBias=this.subrs.length<1240?107:this.subrs.length<33900?1131:32768}return CompiledFont.prototype={getPathJs:function getPathJs(unicode){var cmap=lookupCmap(this.cmap,unicode),fn=this.compiledGlyphs[cmap.glyphId];return fn||(fn=this.compileGlyph(this.glyphs[cmap.glyphId]),this.compiledGlyphs[cmap.glyphId]=fn),void 0===this.compiledCharCodeToGlyphId[cmap.charCode]&&(this.compiledCharCodeToGlyphId[cmap.charCode]=cmap.glyphId),fn},compileGlyph:function compileGlyph(code){if(!code||0===code.length||14===code[0])return"";var cmds=[];return cmds.push({cmd:"save"}),cmds.push({cmd:"transform",args:this.fontMatrix.slice()}),cmds.push({cmd:"scale",args:["size","-size"]}),this.compileGlyphImpl(code,cmds),cmds.push({cmd:"restore"}),cmds},compileGlyphImpl:function compileGlyphImpl(){throw new Error("Children classes should implement this.")},hasBuiltPath:function hasBuiltPath(unicode){var cmap=lookupCmap(this.cmap,unicode);return void 0!==this.compiledGlyphs[cmap.glyphId]&&void 0!==this.compiledCharCodeToGlyphId[cmap.charCode]}},_util.Util.inherit(TrueTypeCompiled,CompiledFont,{compileGlyphImpl:function compileGlyphImpl(code,cmds){compileGlyf(code,cmds,this)}}),_util.Util.inherit(Type2Compiled,CompiledFont,{compileGlyphImpl:function compileGlyphImpl(code,cmds){compileCharString(code,cmds,this)}}),{create:function FontRendererFactory_create(font,seacAnalysisEnabled){for(var cmap,glyf,loca,cff,indexToLocFormat,unitsPerEm,data=new Uint8Array(font.data),numTables=getUshort(data,4),i=0,p=12;i<numTables;i++,p+=16){var tag=(0,_util.bytesToString)(data.subarray(p,p+4)),offset=getLong(data,p+8),length=getLong(data,p+12);switch(tag){case"cmap":cmap=parseCmap(data,offset);break;case"glyf":glyf=data.subarray(offset,offset+length);break;case"loca":loca=data.subarray(offset,offset+length);break;case"head":unitsPerEm=getUshort(data,offset+18),indexToLocFormat=getUshort(data,offset+50);break;case"CFF ":cff=parseCff(data,offset,offset+length,seacAnalysisEnabled)}}if(glyf){var fontMatrix=unitsPerEm?[1/unitsPerEm,0,0,1/unitsPerEm,0,0]:font.fontMatrix;return new TrueTypeCompiled(function parseGlyfTable(glyf,loca,isGlyphLocationsLong){var itemSize,itemDecode;isGlyphLocationsLong?(itemSize=4,itemDecode=function fontItemDecodeLong(data,offset){return data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3]}):(itemSize=2,itemDecode=function fontItemDecode(data,offset){return data[offset]<<9|data[offset+1]<<1});for(var glyphs=[],startOffset=itemDecode(loca,0),j=itemSize;j<loca.length;j+=itemSize){var endOffset=itemDecode(loca,j);glyphs.push(glyf.subarray(startOffset,endOffset)),startOffset=endOffset}return glyphs}(glyf,loca,indexToLocFormat),cmap,fontMatrix)}return new Type2Compiled(cff,cmap,font.fontMatrix,font.glyphNameMap)}}}();exports.FontRendererFactory=FontRendererFactory},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Type1Parser=void 0;var _util=__w_pdfjs_require__(0),_encodings=__w_pdfjs_require__(28),_stream=__w_pdfjs_require__(5),Type1CharString=function Type1CharStringClosure(){var COMMAND_MAP_vmoveto=[4],COMMAND_MAP_rlineto=[5],COMMAND_MAP_hlineto=[6],COMMAND_MAP_vlineto=[7],COMMAND_MAP_rrcurveto=[8],COMMAND_MAP_flex=[12,35],COMMAND_MAP_endchar=[14],COMMAND_MAP_rmoveto=[21],COMMAND_MAP_hmoveto=[22],COMMAND_MAP_vhcurveto=[30],COMMAND_MAP_hvcurveto=[31];function Type1CharString(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}return Type1CharString.prototype={convert:function Type1CharString_convert(encoded,subrs,seacAnalysisEnabled){for(var wx,sbx,subrNumber,count=encoded.length,error=!1,i=0;i<count;i++){var value=encoded[i];if(value<32){switch(12===value&&(value=(value<<8)+encoded[++i]),value){case 1:case 3:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){error=!0;break}var dy=this.stack.pop();this.stack.push(0,dy);break}error=this.executeCommand(1,COMMAND_MAP_vmoveto);break;case 5:error=this.executeCommand(2,COMMAND_MAP_rlineto);break;case 6:error=this.executeCommand(1,COMMAND_MAP_hlineto);break;case 7:error=this.executeCommand(1,COMMAND_MAP_vlineto);break;case 8:error=this.executeCommand(6,COMMAND_MAP_rrcurveto);break;case 9:this.stack=[];break;case 10:if(this.stack.length<1){error=!0;break}if(!subrs[subrNumber=this.stack.pop()]){error=!0;break}error=this.convert(subrs[subrNumber],subrs,seacAnalysisEnabled);break;case 11:return error;case 13:if(this.stack.length<2){error=!0;break}wx=this.stack.pop(),sbx=this.stack.pop(),this.lsb=sbx,this.width=wx,this.stack.push(wx,sbx),error=this.executeCommand(2,COMMAND_MAP_hmoveto);break;case 14:this.output.push(COMMAND_MAP_endchar[0]);break;case 21:if(this.flexing)break;error=this.executeCommand(2,COMMAND_MAP_rmoveto);break;case 22:if(this.flexing){this.stack.push(0);break}error=this.executeCommand(1,COMMAND_MAP_hmoveto);break;case 30:error=this.executeCommand(4,COMMAND_MAP_vhcurveto);break;case 31:error=this.executeCommand(4,COMMAND_MAP_hvcurveto);break;case 3072:case 3073:case 3074:this.stack=[];break;case 3078:seacAnalysisEnabled?(this.seac=this.stack.splice(-4,4),error=this.executeCommand(0,COMMAND_MAP_endchar)):error=this.executeCommand(4,COMMAND_MAP_endchar);break;case 3079:if(this.stack.length<4){error=!0;break}this.stack.pop(),wx=this.stack.pop();var sby=this.stack.pop();sbx=this.stack.pop(),this.lsb=sbx,this.width=wx,this.stack.push(wx,sbx,sby),error=this.executeCommand(3,COMMAND_MAP_rmoveto);break;case 3084:if(this.stack.length<2){error=!0;break}var num2=this.stack.pop(),num1=this.stack.pop();this.stack.push(num1/num2);break;case 3088:if(this.stack.length<2){error=!0;break}subrNumber=this.stack.pop();var numArgs=this.stack.pop();if(0===subrNumber&&3===numArgs){var flexArgs=this.stack.splice(this.stack.length-17,17);this.stack.push(flexArgs[2]+flexArgs[0],flexArgs[3]+flexArgs[1],flexArgs[4],flexArgs[5],flexArgs[6],flexArgs[7],flexArgs[8],flexArgs[9],flexArgs[10],flexArgs[11],flexArgs[12],flexArgs[13],flexArgs[14]),error=this.executeCommand(13,COMMAND_MAP_flex,!0),this.flexing=!1,this.stack.push(flexArgs[15],flexArgs[16])}else 1===subrNumber&&0===numArgs&&(this.flexing=!0);break;case 3089:break;case 3105:this.stack=[];break;default:(0,_util.warn)('Unknown type 1 charstring command of "'+value+'"')}if(error)break}else value<=246?value-=139:value=value<=250?256*(value-247)+encoded[++i]+108:value<=254?-256*(value-251)-encoded[++i]-108:(255&encoded[++i])<<24|(255&encoded[++i])<<16|(255&encoded[++i])<<8|(255&encoded[++i])<<0,this.stack.push(value)}return error},executeCommand:function executeCommand(howManyArgs,command,keepStack){var stackLength=this.stack.length;if(howManyArgs>stackLength)return!0;for(var start=stackLength-howManyArgs,i=start;i<stackLength;i++){var value=this.stack[i];Number.isInteger(value)?this.output.push(28,value>>8&255,255&value):(value=65536*value|0,this.output.push(255,value>>24&255,value>>16&255,value>>8&255,255&value))}return this.output.push.apply(this.output,command),keepStack?this.stack.splice(start,howManyArgs):this.stack.length=0,!1}},Type1CharString}(),Type1Parser=function Type1ParserClosure(){function isHexDigit(code){return code>=48&&code<=57||code>=65&&code<=70||code>=97&&code<=102}function decrypt(data,key,discardNumber){if(discardNumber>=data.length)return new Uint8Array(0);var i,j,r=0|key;for(i=0;i<discardNumber;i++)r=52845*(data[i]+r)+22719&65535;var count=data.length-discardNumber,decrypted=new Uint8Array(count);for(i=discardNumber,j=0;j<count;i++,j++){var value=data[i];decrypted[j]=value^r>>8,r=52845*(value+r)+22719&65535}return decrypted}function isSpecial(c){return 47===c||91===c||93===c||123===c||125===c||40===c||41===c}function Type1Parser(stream,encrypted,seacAnalysisEnabled){if(encrypted){var data=stream.getBytes(),isBinary=!(isHexDigit(data[0])&&isHexDigit(data[1])&&isHexDigit(data[2])&&isHexDigit(data[3]));stream=new _stream.Stream(isBinary?decrypt(data,55665,4):function decryptAscii(data,key,discardNumber){var i,j,r=0|key,count=data.length,decrypted=new Uint8Array(count>>>1);for(i=0,j=0;i<count;i++){var digit1=data[i];if(isHexDigit(digit1)){var digit2;for(i++;i<count&&!isHexDigit(digit2=data[i]);)i++;if(i<count){var value=parseInt(String.fromCharCode(digit1,digit2),16);decrypted[j++]=value^r>>8,r=52845*(value+r)+22719&65535}}}return Array.prototype.slice.call(decrypted,discardNumber,j)}(data,55665,4))}this.seacAnalysisEnabled=!!seacAnalysisEnabled,this.stream=stream,this.nextChar()}return Type1Parser.prototype={readNumberArray:function Type1Parser_readNumberArray(){this.getToken();for(var array=[];;){var token=this.getToken();if(null===token||"]"===token||"}"===token)break;array.push(parseFloat(token||0))}return array},readNumber:function Type1Parser_readNumber(){var token=this.getToken();return parseFloat(token||0)},readInt:function Type1Parser_readInt(){var token=this.getToken();return 0|parseInt(token||0,10)},readBoolean:function Type1Parser_readBoolean(){return"true"===this.getToken()?1:0},nextChar:function Type1_nextChar(){return this.currentChar=this.stream.getByte()},getToken:function Type1Parser_getToken(){for(var comment=!1,ch=this.currentChar;;){if(-1===ch)return null;if(comment)10!==ch&&13!==ch||(comment=!1);else if(37===ch)comment=!0;else if(!(0,_util.isSpace)(ch))break;ch=this.nextChar()}if(isSpecial(ch))return this.nextChar(),String.fromCharCode(ch);var token="";do{token+=String.fromCharCode(ch),ch=this.nextChar()}while(ch>=0&&!(0,_util.isSpace)(ch)&&!isSpecial(ch));return token},readCharStrings:function Type1Parser_readCharStrings(bytes,lenIV){return-1===lenIV?bytes:decrypt(bytes,4330,lenIV)},extractFontProgram:function Type1Parser_extractFontProgram(){var stream=this.stream,subrs=[],charstrings=[],privateData=Object.create(null);privateData.lenIV=4;for(var token,length,data,lenIV,encoded,program={subrs:[],charstrings:[],properties:{privateData:privateData}};null!==(token=this.getToken());)if("/"===token)switch(token=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(token=this.getToken())&&"end"!==token;)if("/"===token){var glyph=this.getToken();length=this.readInt(),this.getToken(),data=stream.makeSubStream(stream.pos,length),lenIV=program.properties.privateData.lenIV,encoded=this.readCharStrings(data.getBytes(),lenIV),stream.skip(length),this.nextChar(),"noaccess"===(token=this.getToken())&&this.getToken(),charstrings.push({glyph:glyph,encoded:encoded})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===(token=this.getToken());){var index=this.readInt();length=this.readInt(),this.getToken(),data=stream.makeSubStream(stream.pos,length),lenIV=program.properties.privateData.lenIV,encoded=this.readCharStrings(data.getBytes(),lenIV),stream.skip(length),this.nextChar(),"noaccess"===(token=this.getToken())&&this.getToken(),subrs[index]=encoded}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var blueArray=this.readNumberArray();blueArray.length>0&&blueArray.length,0;break;case"StemSnapH":case"StemSnapV":program.properties.privateData[token]=this.readNumberArray();break;case"StdHW":case"StdVW":program.properties.privateData[token]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":program.properties.privateData[token]=this.readNumber();break;case"ForceBold":program.properties.privateData[token]=this.readBoolean()}for(var i=0;i<charstrings.length;i++){glyph=charstrings[i].glyph,encoded=charstrings[i].encoded;var charString=new Type1CharString,error=charString.convert(encoded,subrs,this.seacAnalysisEnabled),output=charString.output;error&&(output=[14]),program.charstrings.push({glyphName:glyph,charstring:output,width:charString.width,lsb:charString.lsb,seac:charString.seac})}return program},extractFontHeader:function Type1Parser_extractFontHeader(properties){for(var token;null!==(token=this.getToken());)if("/"===token)switch(token=this.getToken()){case"FontMatrix":var matrix=this.readNumberArray();properties.fontMatrix=matrix;break;case"Encoding":var encoding,encodingArg=this.getToken();if(/^\d+$/.test(encodingArg)){encoding=[];var size=0|parseInt(encodingArg,10);this.getToken();for(var j=0;j<size;j++){for(token=this.getToken();"dup"!==token&&"def"!==token;)if(null===(token=this.getToken()))return;if("def"===token)break;var index=this.readInt();this.getToken();var glyph=this.getToken();encoding[index]=glyph,this.getToken()}}else encoding=(0,_encodings.getEncoding)(encodingArg);properties.builtInEncoding=encoding;break;case"FontBBox":var fontBBox=this.readNumberArray();properties.ascent=Math.max(fontBBox[3],fontBBox[1]),properties.descent=Math.min(fontBBox[1],fontBBox[3]),properties.ascentScaled=!0}}},Type1Parser}();exports.Type1Parser=Type1Parser},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTilingPatternIR=exports.Pattern=void 0;var _util=__w_pdfjs_require__(0),_colorspace=__w_pdfjs_require__(27),_primitives=__w_pdfjs_require__(2),ShadingType_AXIAL=2,ShadingType_RADIAL=3,ShadingType_FREE_FORM_MESH=4,ShadingType_LATTICE_FORM_MESH=5,ShadingType_COONS_PATCH_MESH=6,ShadingType_TENSOR_PATCH_MESH=7,Pattern=function PatternClosure(){function Pattern(){throw new Error("should not call Pattern constructor")}return Pattern.prototype={getPattern:function Pattern_getPattern(ctx){throw new Error("Should not call Pattern.getStyle: "+ctx)}},Pattern.parseShading=function(shading,matrix,xref,res,handler,pdfFunctionFactory){var dict=(0,_primitives.isStream)(shading)?shading.dict:shading,type=dict.get("ShadingType");try{switch(type){case ShadingType_AXIAL:case ShadingType_RADIAL:return new Shadings.RadialAxial(dict,matrix,xref,res,pdfFunctionFactory);case ShadingType_FREE_FORM_MESH:case ShadingType_LATTICE_FORM_MESH:case ShadingType_COONS_PATCH_MESH:case ShadingType_TENSOR_PATCH_MESH:return new Shadings.Mesh(shading,matrix,xref,res,pdfFunctionFactory);default:throw new _util.FormatError("Unsupported ShadingType: "+type)}}catch(ex){if(ex instanceof _util.MissingDataException)throw ex;return handler.send("UnsupportedFeature",{featureId:_util.UNSUPPORTED_FEATURES.shadingPattern}),(0,_util.warn)(ex),new Shadings.Dummy}},Pattern}(),Shadings={};Shadings.SMALL_NUMBER=1e-6,Shadings.RadialAxial=function RadialAxialClosure(){function RadialAxial(dict,matrix,xref,res,pdfFunctionFactory){this.matrix=matrix,this.coordsArr=dict.getArray("Coords"),this.shadingType=dict.get("ShadingType"),this.type="Pattern";var cs=dict.get("ColorSpace","CS");cs=_colorspace.ColorSpace.parse(cs,xref,res,pdfFunctionFactory),this.cs=cs;var t0=0,t1=1;if(dict.has("Domain")){var domainArr=dict.getArray("Domain");t0=domainArr[0],t1=domainArr[1]}var extendStart=!1,extendEnd=!1;if(dict.has("Extend")){var extendArr=dict.getArray("Extend");extendStart=extendArr[0],extendEnd=extendArr[1]}if(!(this.shadingType!==ShadingType_RADIAL||extendStart&&extendEnd)){var x1=this.coordsArr[0],y1=this.coordsArr[1],r1=this.coordsArr[2],x2=this.coordsArr[3],y2=this.coordsArr[4],r2=this.coordsArr[5],distance=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));r1<=r2+distance&&r2<=r1+distance&&(0,_util.warn)("Unsupported radial gradient.")}this.extendStart=extendStart,this.extendEnd=extendEnd;var fnObj=dict.get("Function"),fn=pdfFunctionFactory.createFromArray(fnObj),diff=t1-t0,step=diff/10,colorStops=this.colorStops=[];if(t0>=t1||step<=0)(0,_util.info)("Bad shading domain.");else{for(var rgbColor,color=new Float32Array(cs.numComps),ratio=new Float32Array(1),i=t0;i<=t1;i+=step){ratio[0]=i,fn(ratio,0,color,0),rgbColor=cs.getRgb(color,0);var cssColor=_util.Util.makeCssRgb(rgbColor[0],rgbColor[1],rgbColor[2]);colorStops.push([(i-t0)/diff,cssColor])}var background="transparent";dict.has("Background")&&(rgbColor=cs.getRgb(dict.get("Background"),0),background=_util.Util.makeCssRgb(rgbColor[0],rgbColor[1],rgbColor[2])),extendStart||(colorStops.unshift([0,background]),colorStops[1][0]+=Shadings.SMALL_NUMBER),extendEnd||(colorStops[colorStops.length-1][0]-=Shadings.SMALL_NUMBER,colorStops.push([1,background])),this.colorStops=colorStops}}return RadialAxial.prototype={getIR:function RadialAxial_getIR(){var type,p0,p1,r0,r1,coordsArr=this.coordsArr,shadingType=this.shadingType;shadingType===ShadingType_AXIAL?(p0=[coordsArr[0],coordsArr[1]],p1=[coordsArr[2],coordsArr[3]],r0=null,r1=null,type="axial"):shadingType===ShadingType_RADIAL?(p0=[coordsArr[0],coordsArr[1]],p1=[coordsArr[3],coordsArr[4]],r0=coordsArr[2],r1=coordsArr[5],type="radial"):(0,_util.unreachable)("getPattern type unknown: "+shadingType);var matrix=this.matrix;if(matrix&&(p0=_util.Util.applyTransform(p0,matrix),p1=_util.Util.applyTransform(p1,matrix),shadingType===ShadingType_RADIAL)){var scale=_util.Util.singularValueDecompose2dScale(matrix);r0*=scale[0],r1*=scale[1]}return["RadialAxial",type,this.colorStops,p0,p1,r0,r1]}},RadialAxial}(),Shadings.Mesh=function MeshClosure(){function MeshStreamReader(stream,context){this.stream=stream,this.context=context,this.buffer=0,this.bufferLength=0;var numComps=context.numComps;this.tmpCompsBuf=new Float32Array(numComps);var csNumComps=context.colorSpace.numComps;this.tmpCsCompsBuf=context.colorFn?new Float32Array(csNumComps):this.tmpCompsBuf}MeshStreamReader.prototype={get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var nextByte=this.stream.getByte();return!(nextByte<0)&&(this.buffer=nextByte,this.bufferLength=8,!0)},readBits:function MeshStreamReader_readBits(n){var buffer=this.buffer,bufferLength=this.bufferLength;if(32===n){if(0===bufferLength)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;buffer=buffer<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var nextByte=this.stream.getByte();return this.buffer=nextByte&(1<<bufferLength)-1,(buffer<<8-bufferLength|(255&nextByte)>>bufferLength)>>>0}if(8===n&&0===bufferLength)return this.stream.getByte();for(;bufferLength<n;)buffer=buffer<<8|this.stream.getByte(),bufferLength+=8;return bufferLength-=n,this.bufferLength=bufferLength,this.buffer=buffer&(1<<bufferLength)-1,buffer>>bufferLength},align:function MeshStreamReader_align(){this.buffer=0,this.bufferLength=0},readFlag:function MeshStreamReader_readFlag(){return this.readBits(this.context.bitsPerFlag)},readCoordinate:function MeshStreamReader_readCoordinate(){var bitsPerCoordinate=this.context.bitsPerCoordinate,xi=this.readBits(bitsPerCoordinate),yi=this.readBits(bitsPerCoordinate),decode=this.context.decode,scale=bitsPerCoordinate<32?1/((1<<bitsPerCoordinate)-1):2.3283064365386963e-10;return[xi*scale*(decode[1]-decode[0])+decode[0],yi*scale*(decode[3]-decode[2])+decode[2]]},readComponents:function MeshStreamReader_readComponents(){for(var numComps=this.context.numComps,bitsPerComponent=this.context.bitsPerComponent,scale=bitsPerComponent<32?1/((1<<bitsPerComponent)-1):2.3283064365386963e-10,decode=this.context.decode,components=this.tmpCompsBuf,i=0,j=4;i<numComps;i++,j+=2){var ci=this.readBits(bitsPerComponent);components[i]=ci*scale*(decode[j+1]-decode[j])+decode[j]}var color=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(components,0,color,0),this.context.colorSpace.getRgb(color,0)}};var getB=function getBClosure(){var cache=[];return function getB(count){return cache[count]||(cache[count]=function buildB(count){for(var lut=[],i=0;i<=count;i++){var t=i/count,t_=1-t;lut.push(new Float32Array([t_*t_*t_,3*t*t_*t_,3*t*t*t_,t*t*t]))}return lut}(count)),cache[count]}}();function buildFigureFromPatch(mesh,index){var figure=mesh.figures[index];(0,_util.assert)("patch"===figure.type,"Unexpected patch mesh figure");var coords=mesh.coords,colors=mesh.colors,pi=figure.coords,ci=figure.colors,figureMinX=Math.min(coords[pi[0]][0],coords[pi[3]][0],coords[pi[12]][0],coords[pi[15]][0]),figureMinY=Math.min(coords[pi[0]][1],coords[pi[3]][1],coords[pi[12]][1],coords[pi[15]][1]),figureMaxX=Math.max(coords[pi[0]][0],coords[pi[3]][0],coords[pi[12]][0],coords[pi[15]][0]),figureMaxY=Math.max(coords[pi[0]][1],coords[pi[3]][1],coords[pi[12]][1],coords[pi[15]][1]),splitXBy=Math.ceil(20*(figureMaxX-figureMinX)/(mesh.bounds[2]-mesh.bounds[0]));splitXBy=Math.max(3,Math.min(20,splitXBy));var splitYBy=Math.ceil(20*(figureMaxY-figureMinY)/(mesh.bounds[3]-mesh.bounds[1]));splitYBy=Math.max(3,Math.min(20,splitYBy));for(var verticesPerRow=splitXBy+1,figureCoords=new Int32Array((splitYBy+1)*verticesPerRow),figureColors=new Int32Array((splitYBy+1)*verticesPerRow),k=0,cl=new Uint8Array(3),cr=new Uint8Array(3),c0=colors[ci[0]],c1=colors[ci[1]],c2=colors[ci[2]],c3=colors[ci[3]],bRow=getB(splitYBy),bCol=getB(splitXBy),row=0;row<=splitYBy;row++){cl[0]=(c0[0]*(splitYBy-row)+c2[0]*row)/splitYBy|0,cl[1]=(c0[1]*(splitYBy-row)+c2[1]*row)/splitYBy|0,cl[2]=(c0[2]*(splitYBy-row)+c2[2]*row)/splitYBy|0,cr[0]=(c1[0]*(splitYBy-row)+c3[0]*row)/splitYBy|0,cr[1]=(c1[1]*(splitYBy-row)+c3[1]*row)/splitYBy|0,cr[2]=(c1[2]*(splitYBy-row)+c3[2]*row)/splitYBy|0;for(var col=0;col<=splitXBy;col++,k++)if(0!==row&&row!==splitYBy||0!==col&&col!==splitXBy){for(var x=0,y=0,q=0,i=0;i<=3;i++)for(var j=0;j<=3;j++,q++){var m=bRow[row][i]*bCol[col][j];x+=coords[pi[q]][0]*m,y+=coords[pi[q]][1]*m}figureCoords[k]=coords.length,coords.push([x,y]),figureColors[k]=colors.length;var newColor=new Uint8Array(3);newColor[0]=(cl[0]*(splitXBy-col)+cr[0]*col)/splitXBy|0,newColor[1]=(cl[1]*(splitXBy-col)+cr[1]*col)/splitXBy|0,newColor[2]=(cl[2]*(splitXBy-col)+cr[2]*col)/splitXBy|0,colors.push(newColor)}}figureCoords[0]=pi[0],figureColors[0]=ci[0],figureCoords[splitXBy]=pi[3],figureColors[splitXBy]=ci[1],figureCoords[verticesPerRow*splitYBy]=pi[12],figureColors[verticesPerRow*splitYBy]=ci[2],figureCoords[verticesPerRow*splitYBy+splitXBy]=pi[15],figureColors[verticesPerRow*splitYBy+splitXBy]=ci[3],mesh.figures[index]={type:"lattice",coords:figureCoords,colors:figureColors,verticesPerRow:verticesPerRow}}function updateBounds(mesh){for(var minX=mesh.coords[0][0],minY=mesh.coords[0][1],maxX=minX,maxY=minY,i=1,ii=mesh.coords.length;i<ii;i++){var x=mesh.coords[i][0],y=mesh.coords[i][1];minX=minX>x?x:minX,minY=minY>y?y:minY,maxX=maxX<x?x:maxX,maxY=maxY<y?y:maxY}mesh.bounds=[minX,minY,maxX,maxY]}function Mesh(stream,matrix,xref,res,pdfFunctionFactory){if(!(0,_primitives.isStream)(stream))throw new _util.FormatError("Mesh data is not a stream");var dict=stream.dict;this.matrix=matrix,this.shadingType=dict.get("ShadingType"),this.type="Pattern",this.bbox=dict.getArray("BBox");var cs=dict.get("ColorSpace","CS");cs=_colorspace.ColorSpace.parse(cs,xref,res,pdfFunctionFactory),this.cs=cs,this.background=dict.has("Background")?cs.getRgb(dict.get("Background"),0):null;var fnObj=dict.get("Function"),fn=fnObj?pdfFunctionFactory.createFromArray(fnObj):null;this.coords=[],this.colors=[],this.figures=[];var reader=new MeshStreamReader(stream,{bitsPerCoordinate:dict.get("BitsPerCoordinate"),bitsPerComponent:dict.get("BitsPerComponent"),bitsPerFlag:dict.get("BitsPerFlag"),decode:dict.getArray("Decode"),colorFn:fn,colorSpace:cs,numComps:fn?1:cs.numComps}),patchMesh=!1;switch(this.shadingType){case ShadingType_FREE_FORM_MESH:!function decodeType4Shading(mesh,reader){for(var coords=mesh.coords,colors=mesh.colors,operators=[],ps=[],verticesLeft=0;reader.hasData;){var f=reader.readFlag(),coord=reader.readCoordinate(),color=reader.readComponents();if(0===verticesLeft){if(!(0<=f&&f<=2))throw new _util.FormatError("Unknown type4 flag");switch(f){case 0:verticesLeft=3;break;case 1:ps.push(ps[ps.length-2],ps[ps.length-1]),verticesLeft=1;break;case 2:ps.push(ps[ps.length-3],ps[ps.length-1]),verticesLeft=1}operators.push(f)}ps.push(coords.length),coords.push(coord),colors.push(color),verticesLeft--,reader.align()}mesh.figures.push({type:"triangles",coords:new Int32Array(ps),colors:new Int32Array(ps)})}(this,reader);break;case ShadingType_LATTICE_FORM_MESH:var verticesPerRow=0|dict.get("VerticesPerRow");if(verticesPerRow<2)throw new _util.FormatError("Invalid VerticesPerRow");!function decodeType5Shading(mesh,reader,verticesPerRow){for(var coords=mesh.coords,colors=mesh.colors,ps=[];reader.hasData;){var coord=reader.readCoordinate(),color=reader.readComponents();ps.push(coords.length),coords.push(coord),colors.push(color)}mesh.figures.push({type:"lattice",coords:new Int32Array(ps),colors:new Int32Array(ps),verticesPerRow:verticesPerRow})}(this,reader,verticesPerRow);break;case ShadingType_COONS_PATCH_MESH:!function decodeType6Shading(mesh,reader){for(var coords=mesh.coords,colors=mesh.colors,ps=new Int32Array(16),cs=new Int32Array(4);reader.hasData;){var i,ii,f=reader.readFlag();if(!(0<=f&&f<=3))throw new _util.FormatError("Unknown type6 flag");var pi=coords.length;for(i=0,ii=0!==f?8:12;i<ii;i++)coords.push(reader.readCoordinate());var tmp1,tmp2,tmp3,tmp4,ci=colors.length;for(i=0,ii=0!==f?2:4;i<ii;i++)colors.push(reader.readComponents());switch(f){case 0:ps[12]=pi+3,ps[13]=pi+4,ps[14]=pi+5,ps[15]=pi+6,ps[8]=pi+2,ps[11]=pi+7,ps[4]=pi+1,ps[7]=pi+8,ps[0]=pi,ps[1]=pi+11,ps[2]=pi+10,ps[3]=pi+9,cs[2]=ci+1,cs[3]=ci+2,cs[0]=ci,cs[1]=ci+3;break;case 1:tmp1=ps[12],tmp2=ps[13],tmp3=ps[14],tmp4=ps[15],ps[12]=tmp4,ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=tmp3,ps[11]=pi+3,ps[4]=tmp2,ps[7]=pi+4,ps[0]=tmp1,ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,tmp1=cs[2],tmp2=cs[3],cs[2]=tmp2,cs[3]=ci,cs[0]=tmp1,cs[1]=ci+1;break;case 2:tmp1=ps[15],tmp2=ps[11],ps[12]=ps[3],ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=ps[7],ps[11]=pi+3,ps[4]=tmp2,ps[7]=pi+4,ps[0]=tmp1,ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,tmp1=cs[3],cs[2]=cs[1],cs[3]=ci,cs[0]=tmp1,cs[1]=ci+1;break;case 3:ps[12]=ps[0],ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=ps[1],ps[11]=pi+3,ps[4]=ps[2],ps[7]=pi+4,ps[0]=ps[3],ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,cs[2]=cs[0],cs[3]=ci,cs[0]=cs[1],cs[1]=ci+1}ps[5]=coords.length,coords.push([(-4*coords[ps[0]][0]-coords[ps[15]][0]+6*(coords[ps[4]][0]+coords[ps[1]][0])-2*(coords[ps[12]][0]+coords[ps[3]][0])+3*(coords[ps[13]][0]+coords[ps[7]][0]))/9,(-4*coords[ps[0]][1]-coords[ps[15]][1]+6*(coords[ps[4]][1]+coords[ps[1]][1])-2*(coords[ps[12]][1]+coords[ps[3]][1])+3*(coords[ps[13]][1]+coords[ps[7]][1]))/9]),ps[6]=coords.length,coords.push([(-4*coords[ps[3]][0]-coords[ps[12]][0]+6*(coords[ps[2]][0]+coords[ps[7]][0])-2*(coords[ps[0]][0]+coords[ps[15]][0])+3*(coords[ps[4]][0]+coords[ps[14]][0]))/9,(-4*coords[ps[3]][1]-coords[ps[12]][1]+6*(coords[ps[2]][1]+coords[ps[7]][1])-2*(coords[ps[0]][1]+coords[ps[15]][1])+3*(coords[ps[4]][1]+coords[ps[14]][1]))/9]),ps[9]=coords.length,coords.push([(-4*coords[ps[12]][0]-coords[ps[3]][0]+6*(coords[ps[8]][0]+coords[ps[13]][0])-2*(coords[ps[0]][0]+coords[ps[15]][0])+3*(coords[ps[11]][0]+coords[ps[1]][0]))/9,(-4*coords[ps[12]][1]-coords[ps[3]][1]+6*(coords[ps[8]][1]+coords[ps[13]][1])-2*(coords[ps[0]][1]+coords[ps[15]][1])+3*(coords[ps[11]][1]+coords[ps[1]][1]))/9]),ps[10]=coords.length,coords.push([(-4*coords[ps[15]][0]-coords[ps[0]][0]+6*(coords[ps[11]][0]+coords[ps[14]][0])-2*(coords[ps[12]][0]+coords[ps[3]][0])+3*(coords[ps[2]][0]+coords[ps[8]][0]))/9,(-4*coords[ps[15]][1]-coords[ps[0]][1]+6*(coords[ps[11]][1]+coords[ps[14]][1])-2*(coords[ps[12]][1]+coords[ps[3]][1])+3*(coords[ps[2]][1]+coords[ps[8]][1]))/9]),mesh.figures.push({type:"patch",coords:new Int32Array(ps),colors:new Int32Array(cs)})}}(this,reader),patchMesh=!0;break;case ShadingType_TENSOR_PATCH_MESH:!function decodeType7Shading(mesh,reader){for(var coords=mesh.coords,colors=mesh.colors,ps=new Int32Array(16),cs=new Int32Array(4);reader.hasData;){var i,ii,f=reader.readFlag();if(!(0<=f&&f<=3))throw new _util.FormatError("Unknown type7 flag");var pi=coords.length;for(i=0,ii=0!==f?12:16;i<ii;i++)coords.push(reader.readCoordinate());var tmp1,tmp2,tmp3,tmp4,ci=colors.length;for(i=0,ii=0!==f?2:4;i<ii;i++)colors.push(reader.readComponents());switch(f){case 0:ps[12]=pi+3,ps[13]=pi+4,ps[14]=pi+5,ps[15]=pi+6,ps[8]=pi+2,ps[9]=pi+13,ps[10]=pi+14,ps[11]=pi+7,ps[4]=pi+1,ps[5]=pi+12,ps[6]=pi+15,ps[7]=pi+8,ps[0]=pi,ps[1]=pi+11,ps[2]=pi+10,ps[3]=pi+9,cs[2]=ci+1,cs[3]=ci+2,cs[0]=ci,cs[1]=ci+3;break;case 1:tmp1=ps[12],tmp2=ps[13],tmp3=ps[14],tmp4=ps[15],ps[12]=tmp4,ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=tmp3,ps[9]=pi+9,ps[10]=pi+10,ps[11]=pi+3,ps[4]=tmp2,ps[5]=pi+8,ps[6]=pi+11,ps[7]=pi+4,ps[0]=tmp1,ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,tmp1=cs[2],tmp2=cs[3],cs[2]=tmp2,cs[3]=ci,cs[0]=tmp1,cs[1]=ci+1;break;case 2:tmp1=ps[15],tmp2=ps[11],ps[12]=ps[3],ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=ps[7],ps[9]=pi+9,ps[10]=pi+10,ps[11]=pi+3,ps[4]=tmp2,ps[5]=pi+8,ps[6]=pi+11,ps[7]=pi+4,ps[0]=tmp1,ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,tmp1=cs[3],cs[2]=cs[1],cs[3]=ci,cs[0]=tmp1,cs[1]=ci+1;break;case 3:ps[12]=ps[0],ps[13]=pi+0,ps[14]=pi+1,ps[15]=pi+2,ps[8]=ps[1],ps[9]=pi+9,ps[10]=pi+10,ps[11]=pi+3,ps[4]=ps[2],ps[5]=pi+8,ps[6]=pi+11,ps[7]=pi+4,ps[0]=ps[3],ps[1]=pi+7,ps[2]=pi+6,ps[3]=pi+5,cs[2]=cs[0],cs[3]=ci,cs[0]=cs[1],cs[1]=ci+1}mesh.figures.push({type:"patch",coords:new Int32Array(ps),colors:new Int32Array(cs)})}}(this,reader),patchMesh=!0;break;default:(0,_util.unreachable)("Unsupported mesh type.")}if(patchMesh){updateBounds(this);for(var i=0,ii=this.figures.length;i<ii;i++)buildFigureFromPatch(this,i)}updateBounds(this),function packData(mesh){var i,ii,j,jj,coords=mesh.coords,coordsPacked=new Float32Array(2*coords.length);for(i=0,j=0,ii=coords.length;i<ii;i++){var xy=coords[i];coordsPacked[j++]=xy[0],coordsPacked[j++]=xy[1]}mesh.coords=coordsPacked;var colors=mesh.colors,colorsPacked=new Uint8Array(3*colors.length);for(i=0,j=0,ii=colors.length;i<ii;i++){var c=colors[i];colorsPacked[j++]=c[0],colorsPacked[j++]=c[1],colorsPacked[j++]=c[2]}mesh.colors=colorsPacked;var figures=mesh.figures;for(i=0,ii=figures.length;i<ii;i++){var figure=figures[i],ps=figure.coords,cs=figure.colors;for(j=0,jj=ps.length;j<jj;j++)ps[j]*=2,cs[j]*=3}}(this)}return Mesh.prototype={getIR:function Mesh_getIR(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}},Mesh}(),Shadings.Dummy=function DummyClosure(){function Dummy(){this.type="Pattern"}return Dummy.prototype={getIR:function Dummy_getIR(){return["Dummy"]}},Dummy}(),exports.Pattern=Pattern,exports.getTilingPatternIR=function getTilingPatternIR(operatorList,dict,args){var matrix=dict.getArray("Matrix"),bbox=_util.Util.normalizeRect(dict.getArray("BBox")),xstep=dict.get("XStep"),ystep=dict.get("YStep"),paintType=dict.get("PaintType"),tilingType=dict.get("TilingType");if(bbox[2]-bbox[0]==0||bbox[3]-bbox[1]==0)throw new _util.FormatError("Invalid getTilingPatternIR /BBox array: ["+bbox+"].");return["TilingPattern",args,operatorList,matrix,bbox,xstep,ystep,paintType,tilingType]}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.bidi=void 0;var _util=__w_pdfjs_require__(0),baseTypes=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],arabicTypes=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function isOdd(i){return 0!=(1&i)}function isEven(i){return 0==(1&i)}function findUnequal(arr,start,value){for(var j=start,jj=arr.length;j<jj;++j)if(arr[j]!==value)return j;return j}function setValues(arr,start,end,value){for(var j=start;j<end;++j)arr[j]=value}function reverseValues(arr,start,end){for(var i=start,j=end-1;i<j;++i,--j){var temp=arr[i];arr[i]=arr[j],arr[j]=temp}}function createBidiText(str,isLTR,vertical){return{str:str,dir:vertical?"ttb":isLTR?"ltr":"rtl"}}var chars=[],types=[];exports.bidi=function bidi(str,startLevel,vertical){var isLTR=!0,strLength=str.length;if(0===strLength||vertical)return createBidiText(str,isLTR,vertical);chars.length=strLength,types.length=strLength;var i,ii,numBidi=0;for(i=0;i<strLength;++i){chars[i]=str.charAt(i);var charCode=str.charCodeAt(i),charType="L";charCode<=255?charType=baseTypes[charCode]:1424<=charCode&&charCode<=1524?charType="R":1536<=charCode&&charCode<=1791?(charType=arabicTypes[255&charCode])||(0,_util.warn)("Bidi: invalid Unicode character "+charCode.toString(16)):1792<=charCode&&charCode<=2220&&(charType="AL"),"R"!==charType&&"AL"!==charType&&"AN"!==charType||numBidi++,types[i]=charType}if(0===numBidi)return createBidiText(str,isLTR=!0);-1===startLevel&&(numBidi/strLength<.3?(isLTR=!0,startLevel=0):(isLTR=!1,startLevel=1));var levels=[];for(i=0;i<strLength;++i)levels[i]=startLevel;var t,e=isOdd(startLevel)?"R":"L",sor=e,eor=sor,lastType=sor;for(i=0;i<strLength;++i)"NSM"===types[i]?types[i]=lastType:lastType=types[i];for(lastType=sor,i=0;i<strLength;++i)"EN"===(t=types[i])?types[i]="AL"===lastType?"AN":"EN":"R"!==t&&"L"!==t&&"AL"!==t||(lastType=t);for(i=0;i<strLength;++i)"AL"===(t=types[i])&&(types[i]="R");for(i=1;i<strLength-1;++i)"ES"===types[i]&&"EN"===types[i-1]&&"EN"===types[i+1]&&(types[i]="EN"),"CS"!==types[i]||"EN"!==types[i-1]&&"AN"!==types[i-1]||types[i+1]!==types[i-1]||(types[i]=types[i-1]);for(i=0;i<strLength;++i)if("EN"===types[i]){var j;for(j=i-1;j>=0&&"ET"===types[j];--j)types[j]="EN";for(j=i+1;j<strLength&&"ET"===types[j];++j)types[j]="EN"}for(i=0;i<strLength;++i)"WS"!==(t=types[i])&&"ES"!==t&&"ET"!==t&&"CS"!==t||(types[i]="ON");for(lastType=sor,i=0;i<strLength;++i)"EN"===(t=types[i])?types[i]="L"===lastType?"L":"EN":"R"!==t&&"L"!==t||(lastType=t);for(i=0;i<strLength;++i)if("ON"===types[i]){var end=findUnequal(types,i+1,"ON"),before=sor;i>0&&(before=types[i-1]);var after=eor;end+1<strLength&&(after=types[end+1]),"L"!==before&&(before="R"),"L"!==after&&(after="R"),before===after&&setValues(types,i,end,before),i=end-1}for(i=0;i<strLength;++i)"ON"===types[i]&&(types[i]=e);for(i=0;i<strLength;++i)t=types[i],isEven(levels[i])?"R"===t?levels[i]+=1:"AN"!==t&&"EN"!==t||(levels[i]+=2):"L"!==t&&"AN"!==t&&"EN"!==t||(levels[i]+=1);var level,highestLevel=-1,lowestOddLevel=99;for(i=0,ii=levels.length;i<ii;++i)highestLevel<(level=levels[i])&&(highestLevel=level),lowestOddLevel>level&&isOdd(level)&&(lowestOddLevel=level);for(level=highestLevel;level>=lowestOddLevel;--level){var start=-1;for(i=0,ii=levels.length;i<ii;++i)levels[i]<level?start>=0&&(reverseValues(chars,start,i),start=-1):start<0&&(start=i);start>=0&&reverseValues(chars,start,levels.length)}for(i=0,ii=chars.length;i<ii;++i){var ch=chars[i];"<"!==ch&&">"!==ch||(chars[i]="")}return createBidiText(chars.join(""),isLTR)}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getMetrics=void 0;var _util=__w_pdfjs_require__(0),getMetrics=(0,_util.getLookupTableFactory)((function(t){t.Courier=600,t["Courier-Bold"]=600,t["Courier-BoldOblique"]=600,t["Courier-Oblique"]=600,t.Helvetica=(0,_util.getLookupTableFactory)((function(t){t.space=278,t.exclam=278,t.quotedbl=355,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=667,t.quoteright=222,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=278,t.semicolon=278,t.less=584,t.equal=584,t.greater=584,t.question=556,t.at=1015,t.A=667,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=500,t.K=667,t.L=556,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=278,t.backslash=278,t.bracketright=278,t.asciicircum=469,t.underscore=556,t.quoteleft=222,t.a=556,t.b=556,t.c=500,t.d=556,t.e=556,t.f=278,t.g=556,t.h=556,t.i=222,t.j=222,t.k=500,t.l=222,t.m=833,t.n=556,t.o=556,t.p=556,t.q=556,t.r=333,t.s=500,t.t=278,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=500,t.braceleft=334,t.bar=260,t.braceright=334,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=191,t.quotedblleft=333,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=537,t.bullet=350,t.quotesinglbase=222,t.quotedblbase=333,t.quotedblright=333,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=556,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=222,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=556,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=667,t.aacute=556,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=500,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=500,t.aring=556,t.Ncommaaccent=722,t.lacute=222,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=500,t.scedilla=500,t.iacute=278,t.lozenge=471,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=556,t.Amacron=667,t.rcaron=333,t.ccedilla=500,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=643,t.Umacron=722,t.uring=556,t.threesuperior=333,t.Ograve=778,t.Agrave=667,t.Abreve=667,t.multiply=584,t.uacute=556,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=500,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=260,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=333,t.omacron=556,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=222,t.tcaron=317,t.eogonek=556,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=556,t.zacute=500,t.iogonek=222,t.Oacute=778,t.oacute=556,t.amacron=556,t.sacute=500,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=333,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=556,t.Eogonek=667,t.dcroat=556,t.threequarters=834,t.Scedilla=667,t.lcaron=299,t.Kcommaaccent=667,t.Lacute=556,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=556,t.onehalf=834,t.lessequal=549,t.ocircumflex=556,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=556,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=556,t.Ccaron=722,t.ugrave=556,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=556,t.Rcommaaccent=722,t.Lcommaaccent=556,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=500,t.minus=584,t.Icircumflex=278,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=584,t.odieresis=556,t.udieresis=556,t.notequal=549,t.gcommaaccent=556,t.eth=556,t.zcaron=500,t.ncommaaccent=556,t.onesuperior=333,t.imacron=278,t.Euro=556})),t["Helvetica-Bold"]=(0,_util.getLookupTableFactory)((function(t){t.space=278,t.exclam=333,t.quotedbl=474,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=722,t.quoteright=278,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=333,t.semicolon=333,t.less=584,t.equal=584,t.greater=584,t.question=611,t.at=975,t.A=722,t.B=722,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=556,t.K=722,t.L=611,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=584,t.underscore=556,t.quoteleft=278,t.a=556,t.b=611,t.c=556,t.d=611,t.e=556,t.f=333,t.g=611,t.h=611,t.i=278,t.j=278,t.k=556,t.l=278,t.m=889,t.n=611,t.o=611,t.p=611,t.q=611,t.r=389,t.s=556,t.t=333,t.u=611,t.v=556,t.w=778,t.x=556,t.y=556,t.z=500,t.braceleft=389,t.bar=280,t.braceright=389,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=238,t.quotedblleft=500,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=611,t.fl=611,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=556,t.bullet=350,t.quotesinglbase=278,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=611,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=278,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=611,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=722,t.aacute=556,t.Ucircumflex=722,t.yacute=556,t.scommaaccent=556,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=611,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=556,t.aring=556,t.Ncommaaccent=722,t.lacute=278,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=556,t.scedilla=556,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=611,t.acircumflex=556,t.Amacron=722,t.rcaron=389,t.ccedilla=556,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=743,t.Umacron=722,t.uring=611,t.threesuperior=333,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=584,t.uacute=611,t.Tcaron=611,t.partialdiff=494,t.ydieresis=556,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=556,t.nacute=611,t.umacron=611,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=280,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=611,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=389,t.eogonek=556,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=556,t.zacute=500,t.iogonek=278,t.Oacute=778,t.oacute=611,t.amacron=556,t.sacute=556,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=611,t.twosuperior=333,t.Odieresis=778,t.mu=611,t.igrave=278,t.ohungarumlaut=611,t.Eogonek=667,t.dcroat=611,t.threequarters=834,t.Scedilla=667,t.lcaron=400,t.Kcommaaccent=722,t.Lacute=611,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=611,t.onehalf=834,t.lessequal=549,t.ocircumflex=611,t.ntilde=611,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=611,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=611,t.Ccaron=722,t.ugrave=611,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=611,t.Rcommaaccent=722,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=556,t.minus=584,t.Icircumflex=278,t.ncaron=611,t.tcommaaccent=333,t.logicalnot=584,t.odieresis=611,t.udieresis=611,t.notequal=549,t.gcommaaccent=611,t.eth=611,t.zcaron=500,t.ncommaaccent=611,t.onesuperior=333,t.imacron=278,t.Euro=556})),t["Helvetica-BoldOblique"]=(0,_util.getLookupTableFactory)((function(t){t.space=278,t.exclam=333,t.quotedbl=474,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=722,t.quoteright=278,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=333,t.semicolon=333,t.less=584,t.equal=584,t.greater=584,t.question=611,t.at=975,t.A=722,t.B=722,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=556,t.K=722,t.L=611,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=584,t.underscore=556,t.quoteleft=278,t.a=556,t.b=611,t.c=556,t.d=611,t.e=556,t.f=333,t.g=611,t.h=611,t.i=278,t.j=278,t.k=556,t.l=278,t.m=889,t.n=611,t.o=611,t.p=611,t.q=611,t.r=389,t.s=556,t.t=333,t.u=611,t.v=556,t.w=778,t.x=556,t.y=556,t.z=500,t.braceleft=389,t.bar=280,t.braceright=389,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=238,t.quotedblleft=500,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=611,t.fl=611,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=556,t.bullet=350,t.quotesinglbase=278,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=611,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=278,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=611,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=722,t.aacute=556,t.Ucircumflex=722,t.yacute=556,t.scommaaccent=556,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=611,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=556,t.aring=556,t.Ncommaaccent=722,t.lacute=278,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=556,t.scedilla=556,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=611,t.acircumflex=556,t.Amacron=722,t.rcaron=389,t.ccedilla=556,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=743,t.Umacron=722,t.uring=611,t.threesuperior=333,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=584,t.uacute=611,t.Tcaron=611,t.partialdiff=494,t.ydieresis=556,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=556,t.nacute=611,t.umacron=611,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=280,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=611,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=389,t.eogonek=556,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=556,t.zacute=500,t.iogonek=278,t.Oacute=778,t.oacute=611,t.amacron=556,t.sacute=556,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=611,t.twosuperior=333,t.Odieresis=778,t.mu=611,t.igrave=278,t.ohungarumlaut=611,t.Eogonek=667,t.dcroat=611,t.threequarters=834,t.Scedilla=667,t.lcaron=400,t.Kcommaaccent=722,t.Lacute=611,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=611,t.onehalf=834,t.lessequal=549,t.ocircumflex=611,t.ntilde=611,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=611,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=611,t.Ccaron=722,t.ugrave=611,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=611,t.Rcommaaccent=722,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=556,t.minus=584,t.Icircumflex=278,t.ncaron=611,t.tcommaaccent=333,t.logicalnot=584,t.odieresis=611,t.udieresis=611,t.notequal=549,t.gcommaaccent=611,t.eth=611,t.zcaron=500,t.ncommaaccent=611,t.onesuperior=333,t.imacron=278,t.Euro=556})),t["Helvetica-Oblique"]=(0,_util.getLookupTableFactory)((function(t){t.space=278,t.exclam=278,t.quotedbl=355,t.numbersign=556,t.dollar=556,t.percent=889,t.ampersand=667,t.quoteright=222,t.parenleft=333,t.parenright=333,t.asterisk=389,t.plus=584,t.comma=278,t.hyphen=333,t.period=278,t.slash=278,t.zero=556,t.one=556,t.two=556,t.three=556,t.four=556,t.five=556,t.six=556,t.seven=556,t.eight=556,t.nine=556,t.colon=278,t.semicolon=278,t.less=584,t.equal=584,t.greater=584,t.question=556,t.at=1015,t.A=667,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=722,t.I=278,t.J=500,t.K=667,t.L=556,t.M=833,t.N=722,t.O=778,t.P=667,t.Q=778,t.R=722,t.S=667,t.T=611,t.U=722,t.V=667,t.W=944,t.X=667,t.Y=667,t.Z=611,t.bracketleft=278,t.backslash=278,t.bracketright=278,t.asciicircum=469,t.underscore=556,t.quoteleft=222,t.a=556,t.b=556,t.c=500,t.d=556,t.e=556,t.f=278,t.g=556,t.h=556,t.i=222,t.j=222,t.k=500,t.l=222,t.m=833,t.n=556,t.o=556,t.p=556,t.q=556,t.r=333,t.s=500,t.t=278,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=500,t.braceleft=334,t.bar=260,t.braceright=334,t.asciitilde=584,t.exclamdown=333,t.cent=556,t.sterling=556,t.fraction=167,t.yen=556,t.florin=556,t.section=556,t.currency=556,t.quotesingle=191,t.quotedblleft=333,t.guillemotleft=556,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=556,t.dagger=556,t.daggerdbl=556,t.periodcentered=278,t.paragraph=537,t.bullet=350,t.quotesinglbase=222,t.quotedblbase=333,t.quotedblright=333,t.guillemotright=556,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=611,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=370,t.Lslash=556,t.Oslash=778,t.OE=1e3,t.ordmasculine=365,t.ae=889,t.dotlessi=278,t.lslash=222,t.oslash=611,t.oe=944,t.germandbls=611,t.Idieresis=278,t.eacute=556,t.abreve=556,t.uhungarumlaut=556,t.ecaron=556,t.Ydieresis=667,t.divide=584,t.Yacute=667,t.Acircumflex=667,t.aacute=556,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=500,t.ecircumflex=556,t.Uring=722,t.Udieresis=722,t.aogonek=556,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=737,t.Emacron=667,t.ccaron=500,t.aring=556,t.Ncommaaccent=722,t.lacute=222,t.agrave=556,t.Tcommaaccent=611,t.Cacute=722,t.atilde=556,t.Edotaccent=667,t.scaron=500,t.scedilla=500,t.iacute=278,t.lozenge=471,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=556,t.Amacron=667,t.rcaron=333,t.ccedilla=500,t.Zdotaccent=611,t.Thorn=667,t.Omacron=778,t.Racute=722,t.Sacute=667,t.dcaron=643,t.Umacron=722,t.uring=556,t.threesuperior=333,t.Ograve=778,t.Agrave=667,t.Abreve=667,t.multiply=584,t.uacute=556,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=556,t.edieresis=556,t.cacute=500,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=278,t.plusminus=584,t.brokenbar=260,t.registered=737,t.Gbreve=778,t.Idotaccent=278,t.summation=600,t.Egrave=667,t.racute=333,t.omacron=556,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=222,t.tcaron=317,t.eogonek=556,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=556,t.zacute=500,t.iogonek=222,t.Oacute=778,t.oacute=556,t.amacron=556,t.sacute=500,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=333,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=556,t.Eogonek=667,t.dcroat=556,t.threequarters=834,t.Scedilla=667,t.lcaron=299,t.Kcommaaccent=667,t.Lacute=556,t.trademark=1e3,t.edotaccent=556,t.Igrave=278,t.Imacron=278,t.Lcaron=556,t.onehalf=834,t.lessequal=549,t.ocircumflex=556,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=556,t.gbreve=556,t.onequarter=834,t.Scaron=667,t.Scommaaccent=667,t.Ohungarumlaut=778,t.degree=400,t.ograve=556,t.Ccaron=722,t.ugrave=556,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=556,t.Rcommaaccent=722,t.Lcommaaccent=556,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=778,t.zdotaccent=500,t.Ecaron=667,t.Iogonek=278,t.kcommaaccent=500,t.minus=584,t.Icircumflex=278,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=584,t.odieresis=556,t.udieresis=556,t.notequal=549,t.gcommaaccent=556,t.eth=556,t.zcaron=500,t.ncommaaccent=556,t.onesuperior=333,t.imacron=278,t.Euro=556})),t.Symbol=(0,_util.getLookupTableFactory)((function(t){t.space=250,t.exclam=333,t.universal=713,t.numbersign=500,t.existential=549,t.percent=833,t.ampersand=778,t.suchthat=439,t.parenleft=333,t.parenright=333,t.asteriskmath=500,t.plus=549,t.comma=250,t.minus=549,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=278,t.semicolon=278,t.less=549,t.equal=549,t.greater=549,t.question=444,t.congruent=549,t.Alpha=722,t.Beta=667,t.Chi=722,t.Delta=612,t.Epsilon=611,t.Phi=763,t.Gamma=603,t.Eta=722,t.Iota=333,t.theta1=631,t.Kappa=722,t.Lambda=686,t.Mu=889,t.Nu=722,t.Omicron=722,t.Pi=768,t.Theta=741,t.Rho=556,t.Sigma=592,t.Tau=611,t.Upsilon=690,t.sigma1=439,t.Omega=768,t.Xi=645,t.Psi=795,t.Zeta=611,t.bracketleft=333,t.therefore=863,t.bracketright=333,t.perpendicular=658,t.underscore=500,t.radicalex=500,t.alpha=631,t.beta=549,t.chi=549,t.delta=494,t.epsilon=439,t.phi=521,t.gamma=411,t.eta=603,t.iota=329,t.phi1=603,t.kappa=549,t.lambda=549,t.mu=576,t.nu=521,t.omicron=549,t.pi=549,t.theta=521,t.rho=549,t.sigma=603,t.tau=439,t.upsilon=576,t.omega1=713,t.omega=686,t.xi=493,t.psi=686,t.zeta=494,t.braceleft=480,t.bar=200,t.braceright=480,t.similar=549,t.Euro=750,t.Upsilon1=620,t.minute=247,t.lessequal=549,t.fraction=167,t.infinity=713,t.florin=500,t.club=753,t.diamond=753,t.heart=753,t.spade=753,t.arrowboth=1042,t.arrowleft=987,t.arrowup=603,t.arrowright=987,t.arrowdown=603,t.degree=400,t.plusminus=549,t.second=411,t.greaterequal=549,t.multiply=549,t.proportional=713,t.partialdiff=494,t.bullet=460,t.divide=549,t.notequal=549,t.equivalence=549,t.approxequal=549,t.ellipsis=1e3,t.arrowvertex=603,t.arrowhorizex=1e3,t.carriagereturn=658,t.aleph=823,t.Ifraktur=686,t.Rfraktur=795,t.weierstrass=987,t.circlemultiply=768,t.circleplus=768,t.emptyset=823,t.intersection=768,t.union=768,t.propersuperset=713,t.reflexsuperset=713,t.notsubset=713,t.propersubset=713,t.reflexsubset=713,t.element=713,t.notelement=713,t.angle=768,t.gradient=713,t.registerserif=790,t.copyrightserif=790,t.trademarkserif=890,t.product=823,t.radical=549,t.dotmath=250,t.logicalnot=713,t.logicaland=603,t.logicalor=603,t.arrowdblboth=1042,t.arrowdblleft=987,t.arrowdblup=603,t.arrowdblright=987,t.arrowdbldown=603,t.lozenge=494,t.angleleft=329,t.registersans=790,t.copyrightsans=790,t.trademarksans=786,t.summation=713,t.parenlefttp=384,t.parenleftex=384,t.parenleftbt=384,t.bracketlefttp=384,t.bracketleftex=384,t.bracketleftbt=384,t.bracelefttp=494,t.braceleftmid=494,t.braceleftbt=494,t.braceex=494,t.angleright=329,t.integral=274,t.integraltp=686,t.integralex=686,t.integralbt=686,t.parenrighttp=384,t.parenrightex=384,t.parenrightbt=384,t.bracketrighttp=384,t.bracketrightex=384,t.bracketrightbt=384,t.bracerighttp=494,t.bracerightmid=494,t.bracerightbt=494,t.apple=790})),t["Times-Roman"]=(0,_util.getLookupTableFactory)((function(t){t.space=250,t.exclam=333,t.quotedbl=408,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=564,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=278,t.semicolon=278,t.less=564,t.equal=564,t.greater=564,t.question=444,t.at=921,t.A=722,t.B=667,t.C=667,t.D=722,t.E=611,t.F=556,t.G=722,t.H=722,t.I=333,t.J=389,t.K=722,t.L=611,t.M=889,t.N=722,t.O=722,t.P=556,t.Q=722,t.R=667,t.S=556,t.T=611,t.U=722,t.V=722,t.W=944,t.X=722,t.Y=722,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=469,t.underscore=500,t.quoteleft=333,t.a=444,t.b=500,t.c=444,t.d=500,t.e=444,t.f=333,t.g=500,t.h=500,t.i=278,t.j=278,t.k=500,t.l=278,t.m=778,t.n=500,t.o=500,t.p=500,t.q=500,t.r=333,t.s=389,t.t=278,t.u=500,t.v=500,t.w=722,t.x=500,t.y=500,t.z=444,t.braceleft=480,t.bar=200,t.braceright=480,t.asciitilde=541,t.exclamdown=333,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=180,t.quotedblleft=444,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=453,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=444,t.quotedblright=444,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=444,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=889,t.ordfeminine=276,t.Lslash=611,t.Oslash=722,t.OE=889,t.ordmasculine=310,t.ae=667,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=500,t.Idieresis=333,t.eacute=444,t.abreve=444,t.uhungarumlaut=500,t.ecaron=444,t.Ydieresis=722,t.divide=564,t.Yacute=722,t.Acircumflex=722,t.aacute=444,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=444,t.Uacute=722,t.uogonek=500,t.Edieresis=611,t.Dcroat=722,t.commaaccent=250,t.copyright=760,t.Emacron=611,t.ccaron=444,t.aring=444,t.Ncommaaccent=722,t.lacute=278,t.agrave=444,t.Tcommaaccent=611,t.Cacute=667,t.atilde=444,t.Edotaccent=611,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=471,t.Rcaron=667,t.Gcommaaccent=722,t.ucircumflex=500,t.acircumflex=444,t.Amacron=722,t.rcaron=333,t.ccedilla=444,t.Zdotaccent=611,t.Thorn=556,t.Omacron=722,t.Racute=667,t.Sacute=556,t.dcaron=588,t.Umacron=722,t.uring=500,t.threesuperior=300,t.Ograve=722,t.Agrave=722,t.Abreve=722,t.multiply=564,t.uacute=500,t.Tcaron=611,t.partialdiff=476,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=611,t.adieresis=444,t.edieresis=444,t.cacute=444,t.nacute=500,t.umacron=500,t.Ncaron=722,t.Iacute=333,t.plusminus=564,t.brokenbar=200,t.registered=760,t.Gbreve=722,t.Idotaccent=333,t.summation=600,t.Egrave=611,t.racute=333,t.omacron=500,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=326,t.eogonek=444,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=444,t.zacute=444,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=444,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=500,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=611,t.dcroat=500,t.threequarters=750,t.Scedilla=556,t.lcaron=344,t.Kcommaaccent=722,t.Lacute=611,t.trademark=980,t.edotaccent=444,t.Igrave=333,t.Imacron=333,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=500,t.Uhungarumlaut=722,t.Eacute=611,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=500,t.radical=453,t.Dcaron=722,t.rcommaaccent=333,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=667,t.Lcommaaccent=611,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=722,t.zdotaccent=444,t.Ecaron=611,t.Iogonek=333,t.kcommaaccent=500,t.minus=564,t.Icircumflex=333,t.ncaron=500,t.tcommaaccent=278,t.logicalnot=564,t.odieresis=500,t.udieresis=500,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=444,t.ncommaaccent=500,t.onesuperior=300,t.imacron=278,t.Euro=500})),t["Times-Bold"]=(0,_util.getLookupTableFactory)((function(t){t.space=250,t.exclam=333,t.quotedbl=555,t.numbersign=500,t.dollar=500,t.percent=1e3,t.ampersand=833,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=570,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=570,t.equal=570,t.greater=570,t.question=500,t.at=930,t.A=722,t.B=667,t.C=722,t.D=722,t.E=667,t.F=611,t.G=778,t.H=778,t.I=389,t.J=500,t.K=778,t.L=667,t.M=944,t.N=722,t.O=778,t.P=611,t.Q=778,t.R=722,t.S=556,t.T=667,t.U=722,t.V=722,t.W=1e3,t.X=722,t.Y=722,t.Z=667,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=581,t.underscore=500,t.quoteleft=333,t.a=500,t.b=556,t.c=444,t.d=556,t.e=444,t.f=333,t.g=500,t.h=556,t.i=278,t.j=333,t.k=556,t.l=278,t.m=833,t.n=556,t.o=500,t.p=556,t.q=556,t.r=444,t.s=389,t.t=333,t.u=556,t.v=500,t.w=722,t.x=500,t.y=500,t.z=444,t.braceleft=394,t.bar=220,t.braceright=394,t.asciitilde=520,t.exclamdown=333,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=278,t.quotedblleft=500,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=540,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=1e3,t.ordfeminine=300,t.Lslash=667,t.Oslash=778,t.OE=1e3,t.ordmasculine=330,t.ae=722,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=556,t.Idieresis=389,t.eacute=444,t.abreve=500,t.uhungarumlaut=556,t.ecaron=444,t.Ydieresis=722,t.divide=570,t.Yacute=722,t.Acircumflex=722,t.aacute=500,t.Ucircumflex=722,t.yacute=500,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=747,t.Emacron=667,t.ccaron=444,t.aring=500,t.Ncommaaccent=722,t.lacute=278,t.agrave=500,t.Tcommaaccent=667,t.Cacute=722,t.atilde=500,t.Edotaccent=667,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=494,t.Rcaron=722,t.Gcommaaccent=778,t.ucircumflex=556,t.acircumflex=500,t.Amacron=722,t.rcaron=444,t.ccedilla=444,t.Zdotaccent=667,t.Thorn=611,t.Omacron=778,t.Racute=722,t.Sacute=556,t.dcaron=672,t.Umacron=722,t.uring=556,t.threesuperior=300,t.Ograve=778,t.Agrave=722,t.Abreve=722,t.multiply=570,t.uacute=556,t.Tcaron=667,t.partialdiff=494,t.ydieresis=500,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=389,t.plusminus=570,t.brokenbar=220,t.registered=747,t.Gbreve=778,t.Idotaccent=389,t.summation=600,t.Egrave=667,t.racute=444,t.omacron=500,t.Zacute=667,t.Zcaron=667,t.greaterequal=549,t.Eth=722,t.Ccedilla=722,t.lcommaaccent=278,t.tcaron=416,t.eogonek=444,t.Uogonek=722,t.Aacute=722,t.Adieresis=722,t.egrave=444,t.zacute=444,t.iogonek=278,t.Oacute=778,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=778,t.Ugrave=722,t.Delta=612,t.thorn=556,t.twosuperior=300,t.Odieresis=778,t.mu=556,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=667,t.dcroat=556,t.threequarters=750,t.Scedilla=556,t.lcaron=394,t.Kcommaaccent=778,t.Lacute=667,t.trademark=1e3,t.edotaccent=444,t.Igrave=389,t.Imacron=389,t.Lcaron=667,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=778,t.degree=400,t.ograve=500,t.Ccaron=722,t.ugrave=556,t.radical=549,t.Dcaron=722,t.rcommaaccent=444,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=722,t.Lcommaaccent=667,t.Atilde=722,t.Aogonek=722,t.Aring=722,t.Otilde=778,t.zdotaccent=444,t.Ecaron=667,t.Iogonek=389,t.kcommaaccent=556,t.minus=570,t.Icircumflex=389,t.ncaron=556,t.tcommaaccent=333,t.logicalnot=570,t.odieresis=500,t.udieresis=556,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=444,t.ncommaaccent=556,t.onesuperior=300,t.imacron=278,t.Euro=500})),t["Times-BoldItalic"]=(0,_util.getLookupTableFactory)((function(t){t.space=250,t.exclam=389,t.quotedbl=555,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=570,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=570,t.equal=570,t.greater=570,t.question=500,t.at=832,t.A=667,t.B=667,t.C=667,t.D=722,t.E=667,t.F=667,t.G=722,t.H=778,t.I=389,t.J=500,t.K=667,t.L=611,t.M=889,t.N=722,t.O=722,t.P=611,t.Q=722,t.R=667,t.S=556,t.T=611,t.U=722,t.V=667,t.W=889,t.X=667,t.Y=611,t.Z=611,t.bracketleft=333,t.backslash=278,t.bracketright=333,t.asciicircum=570,t.underscore=500,t.quoteleft=333,t.a=500,t.b=500,t.c=444,t.d=500,t.e=444,t.f=333,t.g=500,t.h=556,t.i=278,t.j=278,t.k=500,t.l=278,t.m=778,t.n=556,t.o=500,t.p=500,t.q=500,t.r=389,t.s=389,t.t=278,t.u=556,t.v=444,t.w=667,t.x=500,t.y=444,t.z=389,t.braceleft=348,t.bar=220,t.braceright=348,t.asciitilde=570,t.exclamdown=389,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=278,t.quotedblleft=500,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=556,t.fl=556,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=500,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=500,t.quotedblright=500,t.guillemotright=500,t.ellipsis=1e3,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=1e3,t.AE=944,t.ordfeminine=266,t.Lslash=611,t.Oslash=722,t.OE=944,t.ordmasculine=300,t.ae=722,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=722,t.germandbls=500,t.Idieresis=389,t.eacute=444,t.abreve=500,t.uhungarumlaut=556,t.ecaron=444,t.Ydieresis=611,t.divide=570,t.Yacute=611,t.Acircumflex=667,t.aacute=500,t.Ucircumflex=722,t.yacute=444,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=556,t.Edieresis=667,t.Dcroat=722,t.commaaccent=250,t.copyright=747,t.Emacron=667,t.ccaron=444,t.aring=500,t.Ncommaaccent=722,t.lacute=278,t.agrave=500,t.Tcommaaccent=611,t.Cacute=667,t.atilde=500,t.Edotaccent=667,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=494,t.Rcaron=667,t.Gcommaaccent=722,t.ucircumflex=556,t.acircumflex=500,t.Amacron=667,t.rcaron=389,t.ccedilla=444,t.Zdotaccent=611,t.Thorn=611,t.Omacron=722,t.Racute=667,t.Sacute=556,t.dcaron=608,t.Umacron=722,t.uring=556,t.threesuperior=300,t.Ograve=722,t.Agrave=667,t.Abreve=667,t.multiply=570,t.uacute=556,t.Tcaron=611,t.partialdiff=494,t.ydieresis=444,t.Nacute=722,t.icircumflex=278,t.Ecircumflex=667,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=556,t.umacron=556,t.Ncaron=722,t.Iacute=389,t.plusminus=570,t.brokenbar=220,t.registered=747,t.Gbreve=722,t.Idotaccent=389,t.summation=600,t.Egrave=667,t.racute=389,t.omacron=500,t.Zacute=611,t.Zcaron=611,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=366,t.eogonek=444,t.Uogonek=722,t.Aacute=667,t.Adieresis=667,t.egrave=444,t.zacute=389,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=576,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=667,t.dcroat=500,t.threequarters=750,t.Scedilla=556,t.lcaron=382,t.Kcommaaccent=667,t.Lacute=611,t.trademark=1e3,t.edotaccent=444,t.Igrave=389,t.Imacron=389,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=556,t.Uhungarumlaut=722,t.Eacute=667,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=556,t.Scommaaccent=556,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=556,t.radical=549,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=722,t.otilde=500,t.Rcommaaccent=667,t.Lcommaaccent=611,t.Atilde=667,t.Aogonek=667,t.Aring=667,t.Otilde=722,t.zdotaccent=389,t.Ecaron=667,t.Iogonek=389,t.kcommaaccent=500,t.minus=606,t.Icircumflex=389,t.ncaron=556,t.tcommaaccent=278,t.logicalnot=606,t.odieresis=500,t.udieresis=556,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=389,t.ncommaaccent=556,t.onesuperior=300,t.imacron=278,t.Euro=500})),t["Times-Italic"]=(0,_util.getLookupTableFactory)((function(t){t.space=250,t.exclam=333,t.quotedbl=420,t.numbersign=500,t.dollar=500,t.percent=833,t.ampersand=778,t.quoteright=333,t.parenleft=333,t.parenright=333,t.asterisk=500,t.plus=675,t.comma=250,t.hyphen=333,t.period=250,t.slash=278,t.zero=500,t.one=500,t.two=500,t.three=500,t.four=500,t.five=500,t.six=500,t.seven=500,t.eight=500,t.nine=500,t.colon=333,t.semicolon=333,t.less=675,t.equal=675,t.greater=675,t.question=500,t.at=920,t.A=611,t.B=611,t.C=667,t.D=722,t.E=611,t.F=611,t.G=722,t.H=722,t.I=333,t.J=444,t.K=667,t.L=556,t.M=833,t.N=667,t.O=722,t.P=611,t.Q=722,t.R=611,t.S=500,t.T=556,t.U=722,t.V=611,t.W=833,t.X=611,t.Y=556,t.Z=556,t.bracketleft=389,t.backslash=278,t.bracketright=389,t.asciicircum=422,t.underscore=500,t.quoteleft=333,t.a=500,t.b=500,t.c=444,t.d=500,t.e=444,t.f=278,t.g=500,t.h=500,t.i=278,t.j=278,t.k=444,t.l=278,t.m=722,t.n=500,t.o=500,t.p=500,t.q=500,t.r=389,t.s=389,t.t=278,t.u=500,t.v=444,t.w=667,t.x=444,t.y=444,t.z=389,t.braceleft=400,t.bar=275,t.braceright=400,t.asciitilde=541,t.exclamdown=389,t.cent=500,t.sterling=500,t.fraction=167,t.yen=500,t.florin=500,t.section=500,t.currency=500,t.quotesingle=214,t.quotedblleft=556,t.guillemotleft=500,t.guilsinglleft=333,t.guilsinglright=333,t.fi=500,t.fl=500,t.endash=500,t.dagger=500,t.daggerdbl=500,t.periodcentered=250,t.paragraph=523,t.bullet=350,t.quotesinglbase=333,t.quotedblbase=556,t.quotedblright=556,t.guillemotright=500,t.ellipsis=889,t.perthousand=1e3,t.questiondown=500,t.grave=333,t.acute=333,t.circumflex=333,t.tilde=333,t.macron=333,t.breve=333,t.dotaccent=333,t.dieresis=333,t.ring=333,t.cedilla=333,t.hungarumlaut=333,t.ogonek=333,t.caron=333,t.emdash=889,t.AE=889,t.ordfeminine=276,t.Lslash=556,t.Oslash=722,t.OE=944,t.ordmasculine=310,t.ae=667,t.dotlessi=278,t.lslash=278,t.oslash=500,t.oe=667,t.germandbls=500,t.Idieresis=333,t.eacute=444,t.abreve=500,t.uhungarumlaut=500,t.ecaron=444,t.Ydieresis=556,t.divide=675,t.Yacute=556,t.Acircumflex=611,t.aacute=500,t.Ucircumflex=722,t.yacute=444,t.scommaaccent=389,t.ecircumflex=444,t.Uring=722,t.Udieresis=722,t.aogonek=500,t.Uacute=722,t.uogonek=500,t.Edieresis=611,t.Dcroat=722,t.commaaccent=250,t.copyright=760,t.Emacron=611,t.ccaron=444,t.aring=500,t.Ncommaaccent=667,t.lacute=278,t.agrave=500,t.Tcommaaccent=556,t.Cacute=667,t.atilde=500,t.Edotaccent=611,t.scaron=389,t.scedilla=389,t.iacute=278,t.lozenge=471,t.Rcaron=611,t.Gcommaaccent=722,t.ucircumflex=500,t.acircumflex=500,t.Amacron=611,t.rcaron=389,t.ccedilla=444,t.Zdotaccent=556,t.Thorn=611,t.Omacron=722,t.Racute=611,t.Sacute=500,t.dcaron=544,t.Umacron=722,t.uring=500,t.threesuperior=300,t.Ograve=722,t.Agrave=611,t.Abreve=611,t.multiply=675,t.uacute=500,t.Tcaron=556,t.partialdiff=476,t.ydieresis=444,t.Nacute=667,t.icircumflex=278,t.Ecircumflex=611,t.adieresis=500,t.edieresis=444,t.cacute=444,t.nacute=500,t.umacron=500,t.Ncaron=667,t.Iacute=333,t.plusminus=675,t.brokenbar=275,t.registered=760,t.Gbreve=722,t.Idotaccent=333,t.summation=600,t.Egrave=611,t.racute=389,t.omacron=500,t.Zacute=556,t.Zcaron=556,t.greaterequal=549,t.Eth=722,t.Ccedilla=667,t.lcommaaccent=278,t.tcaron=300,t.eogonek=444,t.Uogonek=722,t.Aacute=611,t.Adieresis=611,t.egrave=444,t.zacute=389,t.iogonek=278,t.Oacute=722,t.oacute=500,t.amacron=500,t.sacute=389,t.idieresis=278,t.Ocircumflex=722,t.Ugrave=722,t.Delta=612,t.thorn=500,t.twosuperior=300,t.Odieresis=722,t.mu=500,t.igrave=278,t.ohungarumlaut=500,t.Eogonek=611,t.dcroat=500,t.threequarters=750,t.Scedilla=500,t.lcaron=300,t.Kcommaaccent=667,t.Lacute=556,t.trademark=980,t.edotaccent=444,t.Igrave=333,t.Imacron=333,t.Lcaron=611,t.onehalf=750,t.lessequal=549,t.ocircumflex=500,t.ntilde=500,t.Uhungarumlaut=722,t.Eacute=611,t.emacron=444,t.gbreve=500,t.onequarter=750,t.Scaron=500,t.Scommaaccent=500,t.Ohungarumlaut=722,t.degree=400,t.ograve=500,t.Ccaron=667,t.ugrave=500,t.radical=453,t.Dcaron=722,t.rcommaaccent=389,t.Ntilde=667,t.otilde=500,t.Rcommaaccent=611,t.Lcommaaccent=556,t.Atilde=611,t.Aogonek=611,t.Aring=611,t.Otilde=722,t.zdotaccent=389,t.Ecaron=611,t.Iogonek=333,t.kcommaaccent=444,t.minus=675,t.Icircumflex=333,t.ncaron=500,t.tcommaaccent=278,t.logicalnot=675,t.odieresis=500,t.udieresis=500,t.notequal=549,t.gcommaaccent=500,t.eth=500,t.zcaron=389,t.ncommaaccent=500,t.onesuperior=300,t.imacron=278,t.Euro=500})),t.ZapfDingbats=(0,_util.getLookupTableFactory)((function(t){t.space=278,t.a1=974,t.a2=961,t.a202=974,t.a3=980,t.a4=719,t.a5=789,t.a119=790,t.a118=791,t.a117=690,t.a11=960,t.a12=939,t.a13=549,t.a14=855,t.a15=911,t.a16=933,t.a105=911,t.a17=945,t.a18=974,t.a19=755,t.a20=846,t.a21=762,t.a22=761,t.a23=571,t.a24=677,t.a25=763,t.a26=760,t.a27=759,t.a28=754,t.a6=494,t.a7=552,t.a8=537,t.a9=577,t.a10=692,t.a29=786,t.a30=788,t.a31=788,t.a32=790,t.a33=793,t.a34=794,t.a35=816,t.a36=823,t.a37=789,t.a38=841,t.a39=823,t.a40=833,t.a41=816,t.a42=831,t.a43=923,t.a44=744,t.a45=723,t.a46=749,t.a47=790,t.a48=792,t.a49=695,t.a50=776,t.a51=768,t.a52=792,t.a53=759,t.a54=707,t.a55=708,t.a56=682,t.a57=701,t.a58=826,t.a59=815,t.a60=789,t.a61=789,t.a62=707,t.a63=687,t.a64=696,t.a65=689,t.a66=786,t.a67=787,t.a68=713,t.a69=791,t.a70=785,t.a71=791,t.a72=873,t.a73=761,t.a74=762,t.a203=762,t.a75=759,t.a204=759,t.a76=892,t.a77=892,t.a78=788,t.a79=784,t.a81=438,t.a82=138,t.a83=277,t.a84=415,t.a97=392,t.a98=392,t.a99=668,t.a100=668,t.a89=390,t.a90=390,t.a93=317,t.a94=317,t.a91=276,t.a92=276,t.a205=509,t.a85=509,t.a206=410,t.a86=410,t.a87=234,t.a88=234,t.a95=334,t.a96=334,t.a101=732,t.a102=544,t.a103=544,t.a104=910,t.a106=667,t.a107=760,t.a108=760,t.a112=776,t.a111=595,t.a110=694,t.a109=626,t.a120=788,t.a121=788,t.a122=788,t.a123=788,t.a124=788,t.a125=788,t.a126=788,t.a127=788,t.a128=788,t.a129=788,t.a130=788,t.a131=788,t.a132=788,t.a133=788,t.a134=788,t.a135=788,t.a136=788,t.a137=788,t.a138=788,t.a139=788,t.a140=788,t.a141=788,t.a142=788,t.a143=788,t.a144=788,t.a145=788,t.a146=788,t.a147=788,t.a148=788,t.a149=788,t.a150=788,t.a151=788,t.a152=788,t.a153=788,t.a154=788,t.a155=788,t.a156=788,t.a157=788,t.a158=788,t.a159=788,t.a160=894,t.a161=838,t.a163=1016,t.a164=458,t.a196=748,t.a165=924,t.a192=748,t.a166=918,t.a167=927,t.a168=928,t.a169=928,t.a170=834,t.a171=873,t.a172=828,t.a173=924,t.a162=924,t.a174=917,t.a175=930,t.a176=931,t.a177=463,t.a178=883,t.a179=836,t.a193=836,t.a180=867,t.a199=867,t.a181=696,t.a200=696,t.a182=874,t.a201=874,t.a183=760,t.a184=946,t.a197=771,t.a185=865,t.a194=771,t.a198=888,t.a186=967,t.a195=888,t.a187=831,t.a188=873,t.a189=927,t.a190=970,t.a191=918}))}));exports.getMetrics=getMetrics},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PostScriptParser=exports.PostScriptLexer=void 0;var _util=__w_pdfjs_require__(0),_primitives=__w_pdfjs_require__(2),PostScriptParser=function PostScriptParserClosure(){function PostScriptParser(lexer){this.lexer=lexer,this.operators=[],this.token=null,this.prev=null}return PostScriptParser.prototype={nextToken:function PostScriptParser_nextToken(){this.prev=this.token,this.token=this.lexer.getToken()},accept:function PostScriptParser_accept(type){return this.token.type===type&&(this.nextToken(),!0)},expect:function PostScriptParser_expect(type){if(this.accept(type))return!0;throw new _util.FormatError("Unexpected symbol: found "+this.token.type+" expected "+type+".")},parse:function PostScriptParser_parse(){return this.nextToken(),this.expect(PostScriptTokenTypes.LBRACE),this.parseBlock(),this.expect(PostScriptTokenTypes.RBRACE),this.operators},parseBlock:function PostScriptParser_parseBlock(){for(;;)if(this.accept(PostScriptTokenTypes.NUMBER))this.operators.push(this.prev.value);else if(this.accept(PostScriptTokenTypes.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(PostScriptTokenTypes.LBRACE))return;this.parseCondition()}},parseCondition:function PostScriptParser_parseCondition(){var conditionLocation=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(PostScriptTokenTypes.RBRACE),this.accept(PostScriptTokenTypes.IF))this.operators[conditionLocation]=this.operators.length,this.operators[conditionLocation+1]="jz";else{if(!this.accept(PostScriptTokenTypes.LBRACE))throw new _util.FormatError("PS Function: error parsing conditional.");var jumpLocation=this.operators.length;this.operators.push(null,null);var endOfTrue=this.operators.length;this.parseBlock(),this.expect(PostScriptTokenTypes.RBRACE),this.expect(PostScriptTokenTypes.IFELSE),this.operators[jumpLocation]=this.operators.length,this.operators[jumpLocation+1]="j",this.operators[conditionLocation]=endOfTrue,this.operators[conditionLocation+1]="jz"}}},PostScriptParser}(),PostScriptTokenTypes={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},PostScriptToken=function PostScriptTokenClosure(){function PostScriptToken(type,value){this.type=type,this.value=value}var opCache=Object.create(null);return PostScriptToken.getOperator=function PostScriptToken_getOperator(op){var opValue=opCache[op];return opValue||(opCache[op]=new PostScriptToken(PostScriptTokenTypes.OPERATOR,op))},PostScriptToken.LBRACE=new PostScriptToken(PostScriptTokenTypes.LBRACE,"{"),PostScriptToken.RBRACE=new PostScriptToken(PostScriptTokenTypes.RBRACE,"}"),PostScriptToken.IF=new PostScriptToken(PostScriptTokenTypes.IF,"IF"),PostScriptToken.IFELSE=new PostScriptToken(PostScriptTokenTypes.IFELSE,"IFELSE"),PostScriptToken}(),PostScriptLexer=function PostScriptLexerClosure(){function PostScriptLexer(stream){this.stream=stream,this.nextChar(),this.strBuf=[]}return PostScriptLexer.prototype={nextChar:function PostScriptLexer_nextChar(){return this.currentChar=this.stream.getByte()},getToken:function PostScriptLexer_getToken(){for(var comment=!1,ch=this.currentChar;;){if(ch<0)return _primitives.EOF;if(comment)10!==ch&&13!==ch||(comment=!1);else if(37===ch)comment=!0;else if(!(0,_util.isSpace)(ch))break;ch=this.nextChar()}switch(0|ch){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new PostScriptToken(PostScriptTokenTypes.NUMBER,this.getNumber());case 123:return this.nextChar(),PostScriptToken.LBRACE;case 125:return this.nextChar(),PostScriptToken.RBRACE}var strBuf=this.strBuf;for(strBuf.length=0,strBuf[0]=String.fromCharCode(ch);(ch=this.nextChar())>=0&&(ch>=65&&ch<=90||ch>=97&&ch<=122);)strBuf.push(String.fromCharCode(ch));var str=strBuf.join("");switch(str.toLowerCase()){case"if":return PostScriptToken.IF;case"ifelse":return PostScriptToken.IFELSE;default:return PostScriptToken.getOperator(str)}},getNumber:function PostScriptLexer_getNumber(){var ch=this.currentChar,strBuf=this.strBuf;for(strBuf.length=0,strBuf[0]=String.fromCharCode(ch);(ch=this.nextChar())>=0&&(ch>=48&&ch<=57||45===ch||46===ch);)strBuf.push(String.fromCharCode(ch));var value=parseFloat(strBuf.join(""));if(isNaN(value))throw new _util.FormatError("Invalid floating point number: "+value);return value}},PostScriptLexer}();exports.PostScriptLexer=PostScriptLexer,exports.PostScriptParser=PostScriptParser},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},MurmurHash3_64=function MurmurHash3_64Closure(seed){function MurmurHash3_64(seed){this.h1=seed?4294967295&seed:3285377520,this.h2=seed?4294967295&seed:3285377520}return MurmurHash3_64.prototype={update:function MurmurHash3_64_update(input){var i;if("string"==typeof input){var data=new Uint8Array(2*input.length),length=0;for(i=0;i<input.length;i++){var code=input.charCodeAt(i);code<=255?data[length++]=code:(data[length++]=code>>>8,data[length++]=255&code)}}else{if("object"!==(void 0===input?"undefined":_typeof(input))||!("byteLength"in input))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");length=(data=input).byteLength}var blockCounts=length>>2,tailLength=length-4*blockCounts,dataUint32=new Uint32Array(data.buffer,0,blockCounts),k1=0,k2=0,h1=this.h1,h2=this.h2,C1=3432918353,C2=461845907;for(i=0;i<blockCounts;i++)1&i?h1=5*(h1=(h1^=k1=(k1=(k1=(k1=dataUint32[i])*C1&4294901760|11601*k1&65535)<<15|k1>>>17)*C2&4294901760|13715*k1&65535)<<13|h1>>>19)+3864292196:h2=5*(h2=(h2^=k2=(k2=(k2=(k2=dataUint32[i])*C1&4294901760|11601*k2&65535)<<15|k2>>>17)*C2&4294901760|13715*k2&65535)<<13|h2>>>19)+3864292196;switch(k1=0,tailLength){case 3:k1^=data[4*blockCounts+2]<<16;case 2:k1^=data[4*blockCounts+1]<<8;case 1:k1=(k1=(k1=(k1^=data[4*blockCounts])*C1&4294901760|11601*k1&65535)<<15|k1>>>17)*C2&4294901760|13715*k1&65535,1&blockCounts?h1^=k1:h2^=k1}return this.h1=h1,this.h2=h2,this},hexdigest:function MurmurHash3_64_hexdigest(){var h1=this.h1,h2=this.h2;h1=3981806797*(h1^=h2>>>1)&4294901760|36045*h1&65535,h1=444984403*(h1^=(h2=4283543511*h2&4294901760|(2950163797*(h2<<16|h1>>>16)&4294901760)>>>16)>>>1)&4294901760|60499*h1&65535;for(var i=0,arr=[h1^=(h2=3301882366*h2&4294901760|(3120437893*(h2<<16|h1>>>16)&4294901760)>>>16)>>>1,h2],str="";i<arr.length;i++){for(var hex=(arr[i]>>>0).toString(16);hex.length<8;)hex="0"+hex;str+=hex}return str}},MurmurHash3_64}();exports.MurmurHash3_64=MurmurHash3_64},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFImage=void 0;var _slicedToArray=function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},_util=__w_pdfjs_require__(0),_stream=__w_pdfjs_require__(5),_primitives=__w_pdfjs_require__(2),_colorspace=__w_pdfjs_require__(27),_jpx=__w_pdfjs_require__(74),PDFImage=function PDFImageClosure(){function handleImageData(image,nativeDecoder){return nativeDecoder&&nativeDecoder.canDecode(image)?nativeDecoder.decode(image):Promise.resolve(image)}function decodeAndClamp(value,addend,coefficient,max){return(value=addend+value*coefficient)<0?0:value>max?max:value}function resizeImageMask(src,bpc,w1,h1,w2,h2){var i,j,py,oldIndex,length=w2*h2,dest=bpc<=8?new Uint8Array(length):bpc<=16?new Uint16Array(length):new Uint32Array(length),xRatio=w1/w2,yRatio=h1/h2,newIndex=0,xScaled=new Uint16Array(w2),w1Scanline=w1;for(i=0;i<w2;i++)xScaled[i]=Math.floor(i*xRatio);for(i=0;i<h2;i++)for(py=Math.floor(i*yRatio)*w1Scanline,j=0;j<w2;j++)oldIndex=py+xScaled[j],dest[newIndex++]=src[oldIndex];return dest}function PDFImage(_ref){var xref=_ref.xref,res=_ref.res,image=_ref.image,_ref$smask=_ref.smask,smask=void 0===_ref$smask?null:_ref$smask,_ref$mask=_ref.mask,mask=void 0===_ref$mask?null:_ref$mask,_ref$isMask=_ref.isMask,isMask=void 0!==_ref$isMask&&_ref$isMask,pdfFunctionFactory=_ref.pdfFunctionFactory;this.image=image;var dict=image.dict;if(dict.has("Filter")){var filter=dict.get("Filter").name;if("JPXDecode"===filter){var jpxImage=new _jpx.JpxImage;jpxImage.parseImageProperties(image.stream),image.stream.reset(),image.bitsPerComponent=jpxImage.bitsPerComponent,image.numComps=jpxImage.componentsCount}else"JBIG2Decode"===filter&&(image.bitsPerComponent=1,image.numComps=1)}if(this.width=dict.get("Width","W"),this.height=dict.get("Height","H"),this.width<1||this.height<1)throw new _util.FormatError("Invalid image width: "+this.width+" or height: "+this.height);this.interpolate=dict.get("Interpolate","I")||!1,this.imageMask=dict.get("ImageMask","IM")||!1,this.matte=dict.get("Matte")||!1;var bitsPerComponent=image.bitsPerComponent;if(!bitsPerComponent&&!(bitsPerComponent=dict.get("BitsPerComponent","BPC"))){if(!this.imageMask)throw new _util.FormatError("Bits per component missing in image: "+this.imageMask);bitsPerComponent=1}if(this.bpc=bitsPerComponent,!this.imageMask){var colorSpace=dict.get("ColorSpace","CS");if(!colorSpace)switch((0,_util.info)("JPX images (which do not require color spaces)"),image.numComps){case 1:colorSpace=_primitives.Name.get("DeviceGray");break;case 3:colorSpace=_primitives.Name.get("DeviceRGB");break;case 4:colorSpace=_primitives.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with "+this.numComps+" color components not supported.")}this.colorSpace=_colorspace.ColorSpace.parse(colorSpace,xref,res,pdfFunctionFactory),this.numComps=this.colorSpace.numComps}if(this.decode=dict.getArray("Decode","D"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode)||isMask&&!_colorspace.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;var max=(1<<bitsPerComponent)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var i=0,j=0;i<this.decode.length;i+=2,++j){var dmin=this.decode[i],dmax=this.decode[i+1];this.decodeCoefficients[j]=dmax-dmin,this.decodeAddends[j]=max*dmin}}if(smask)this.smask=new PDFImage({xref:xref,res:res,image:smask,pdfFunctionFactory:pdfFunctionFactory});else if(mask){if((0,_primitives.isStream)(mask))mask.dict.get("ImageMask","IM")?this.mask=new PDFImage({xref:xref,res:res,image:mask,isMask:!0,pdfFunctionFactory:pdfFunctionFactory}):(0,_util.warn)("Ignoring /Mask in image without /ImageMask.");else this.mask=mask}}return PDFImage.buildImage=function(_ref2){_ref2.handler;var smaskPromise,maskPromise,xref=_ref2.xref,res=_ref2.res,image=_ref2.image,_ref2$nativeDecoder=_ref2.nativeDecoder,nativeDecoder=void 0===_ref2$nativeDecoder?null:_ref2$nativeDecoder,pdfFunctionFactory=_ref2.pdfFunctionFactory,imagePromise=handleImageData(image,nativeDecoder),smask=image.dict.get("SMask"),mask=image.dict.get("Mask");return smask?(smaskPromise=handleImageData(smask,nativeDecoder),maskPromise=Promise.resolve(null)):(smaskPromise=Promise.resolve(null),mask?(0,_primitives.isStream)(mask)?maskPromise=handleImageData(mask,nativeDecoder):Array.isArray(mask)?maskPromise=Promise.resolve(mask):((0,_util.warn)("Unsupported mask format."),maskPromise=Promise.resolve(null)):maskPromise=Promise.resolve(null)),Promise.all([imagePromise,smaskPromise,maskPromise]).then((function(_ref3){var _ref4=_slicedToArray(_ref3,3),imageData=_ref4[0],smaskData=_ref4[1],maskData=_ref4[2];return new PDFImage({xref:xref,res:res,image:imageData,smask:smaskData,mask:maskData,pdfFunctionFactory:pdfFunctionFactory})}))},PDFImage.createMask=function(_ref5){var data,i,imgArray=_ref5.imgArray,width=_ref5.width,height=_ref5.height,imageIsFromDecodeStream=_ref5.imageIsFromDecodeStream,inverseDecode=_ref5.inverseDecode,computedLength=(width+7>>3)*height,actualLength=imgArray.byteLength;if(!imageIsFromDecodeStream||inverseDecode&&!(computedLength===actualLength))if(inverseDecode)for((data=new Uint8Array(computedLength)).set(imgArray),i=actualLength;i<computedLength;i++)data[i]=255;else(data=new Uint8Array(actualLength)).set(imgArray);else data=imgArray;if(inverseDecode)for(i=0;i<actualLength;i++)data[i]^=255;return{data:data,width:width,height:height}},PDFImage.prototype={get drawWidth(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)},get drawHeight(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)},decodeBuffer:function decodeBuffer(buffer){var i,ii,bpc=this.bpc,numComps=this.numComps,decodeAddends=this.decodeAddends,decodeCoefficients=this.decodeCoefficients,max=(1<<bpc)-1;if(1!==bpc){var index=0;for(i=0,ii=this.width*this.height;i<ii;i++)for(var j=0;j<numComps;j++)buffer[index]=decodeAndClamp(buffer[index],decodeAddends[j],decodeCoefficients[j],max),index++}else for(i=0,ii=buffer.length;i<ii;i++)buffer[i]=+!buffer[i]},getComponents:function getComponents(buffer){var bpc=this.bpc;if(8===bpc)return buffer;var ii,buf,width=this.width,height=this.height,numComps=this.numComps,length=width*height*numComps,bufferPos=0,output=bpc<=8?new Uint8Array(length):bpc<=16?new Uint16Array(length):new Uint32Array(length),rowComps=width*numComps,max=(1<<bpc)-1,i=0;if(1===bpc)for(var mask,loop1End,loop2End,j=0;j<height;j++){for(loop1End=i+(-8&rowComps),loop2End=i+rowComps;i<loop1End;)buf=buffer[bufferPos++],output[i]=buf>>7&1,output[i+1]=buf>>6&1,output[i+2]=buf>>5&1,output[i+3]=buf>>4&1,output[i+4]=buf>>3&1,output[i+5]=buf>>2&1,output[i+6]=buf>>1&1,output[i+7]=1&buf,i+=8;if(i<loop2End)for(buf=buffer[bufferPos++],mask=128;i<loop2End;)output[i++]=+!!(buf&mask),mask>>=1}else{var bits=0;for(buf=0,i=0,ii=length;i<ii;++i){for(i%rowComps==0&&(buf=0,bits=0);bits<bpc;)buf=buf<<8|buffer[bufferPos++],bits+=8;var remainingBits=bits-bpc,value=buf>>remainingBits;output[i]=value<0?0:value>max?max:value,buf&=(1<<remainingBits)-1,bits=remainingBits}}return output},fillOpacity:function fillOpacity(rgbaBuf,width,height,actualHeight,image){var alphaBuf,sw,sh,i,ii,j,smask=this.smask,mask=this.mask;if(smask)sw=smask.width,sh=smask.height,alphaBuf=new Uint8Array(sw*sh),smask.fillGrayBuffer(alphaBuf),sw===width&&sh===height||(alphaBuf=resizeImageMask(alphaBuf,smask.bpc,sw,sh,width,height));else if(mask)if(mask instanceof PDFImage){for(sw=mask.width,sh=mask.height,alphaBuf=new Uint8Array(sw*sh),mask.numComps=1,mask.fillGrayBuffer(alphaBuf),i=0,ii=sw*sh;i<ii;++i)alphaBuf[i]=255-alphaBuf[i];sw===width&&sh===height||(alphaBuf=resizeImageMask(alphaBuf,mask.bpc,sw,sh,width,height))}else{if(!Array.isArray(mask))throw new _util.FormatError("Unknown mask format.");alphaBuf=new Uint8Array(width*height);var numComps=this.numComps;for(i=0,ii=width*height;i<ii;++i){var opacity=0,imageOffset=i*numComps;for(j=0;j<numComps;++j){var color=image[imageOffset+j],maskOffset=2*j;if(color<mask[maskOffset]||color>mask[maskOffset+1]){opacity=255;break}}alphaBuf[i]=opacity}}if(alphaBuf)for(i=0,j=3,ii=width*actualHeight;i<ii;++i,j+=4)rgbaBuf[j]=alphaBuf[i];else for(i=0,j=3,ii=width*actualHeight;i<ii;++i,j+=4)rgbaBuf[j]=255},undoPreblend:function undoPreblend(buffer,width,height){var matte=this.smask&&this.smask.matte;if(matte)for(var r,g,b,matteRgb=this.colorSpace.getRgb(matte,0),matteR=matteRgb[0],matteG=matteRgb[1],matteB=matteRgb[2],length=width*height*4,i=0;i<length;i+=4){var alpha=buffer[i+3];if(0!==alpha){var k=255/alpha;r=(buffer[i]-matteR)*k+matteR,g=(buffer[i+1]-matteG)*k+matteG,b=(buffer[i+2]-matteB)*k+matteB,buffer[i]=r<=0?0:r>=255?255:0|r,buffer[i+1]=g<=0?0:g>=255?255:0|g,buffer[i+2]=b<=0?0:b>=255?255:0|b}else buffer[i]=255,buffer[i+1]=255,buffer[i+2]=255}},createImageData:function createImageData(){var imgArray,forceRGBA=arguments.length>0&&void 0!==arguments[0]&&arguments[0],drawWidth=this.drawWidth,drawHeight=this.drawHeight,imgData={width:drawWidth,height:drawHeight},numComps=this.numComps,originalWidth=this.width,originalHeight=this.height,bpc=this.bpc,rowBytes=originalWidth*numComps*bpc+7>>3;if(!forceRGBA){var kind;if("DeviceGray"===this.colorSpace.name&&1===bpc?kind=_util.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==bpc||this.needsDecode||(kind=_util.ImageKind.RGB_24BPP),kind&&!this.smask&&!this.mask&&drawWidth===originalWidth&&drawHeight===originalHeight){if(imgData.kind=kind,imgArray=this.getImageBytes(originalHeight*rowBytes),this.image instanceof _stream.DecodeStream)imgData.data=imgArray;else{var newArray=new Uint8Array(imgArray.length);newArray.set(imgArray),imgData.data=newArray}if(this.needsDecode){(0,_util.assert)(kind===_util.ImageKind.GRAYSCALE_1BPP);for(var buffer=imgData.data,i=0,ii=buffer.length;i<ii;i++)buffer[i]^=255}return imgData}if(this.image instanceof _stream.JpegStream&&!this.smask&&!this.mask&&("DeviceGray"===this.colorSpace.name||"DeviceRGB"===this.colorSpace.name||"DeviceCMYK"===this.colorSpace.name))return imgData.kind=_util.ImageKind.RGB_24BPP,imgData.data=this.getImageBytes(originalHeight*rowBytes,drawWidth,drawHeight,!0),imgData}var alpha01,maybeUndoPreblend,actualHeight=0|(imgArray=this.getImageBytes(originalHeight*rowBytes)).length/rowBytes*drawHeight/originalHeight,comps=this.getComponents(imgArray);return forceRGBA||this.smask||this.mask?(imgData.kind=_util.ImageKind.RGBA_32BPP,imgData.data=new Uint8Array(drawWidth*drawHeight*4),alpha01=1,maybeUndoPreblend=!0,this.fillOpacity(imgData.data,drawWidth,drawHeight,actualHeight,comps)):(imgData.kind=_util.ImageKind.RGB_24BPP,imgData.data=new Uint8Array(drawWidth*drawHeight*3),alpha01=0,maybeUndoPreblend=!1),this.needsDecode&&this.decodeBuffer(comps),this.colorSpace.fillRgb(imgData.data,originalWidth,originalHeight,drawWidth,drawHeight,actualHeight,bpc,comps,alpha01),maybeUndoPreblend&&this.undoPreblend(imgData.data,drawWidth,actualHeight),imgData},fillGrayBuffer:function fillGrayBuffer(buffer){var numComps=this.numComps;if(1!==numComps)throw new _util.FormatError("Reading gray scale from a color image: "+numComps);var i,length,width=this.width,height=this.height,bpc=this.bpc,rowBytes=width*numComps*bpc+7>>3,imgArray=this.getImageBytes(height*rowBytes),comps=this.getComponents(imgArray);if(1!==bpc){this.needsDecode&&this.decodeBuffer(comps),length=width*height;var scale=255/((1<<bpc)-1);for(i=0;i<length;++i)buffer[i]=scale*comps[i]|0}else if(length=width*height,this.needsDecode)for(i=0;i<length;++i)buffer[i]=comps[i]-1&255;else for(i=0;i<length;++i)buffer[i]=255&-comps[i]},getImageBytes:function getImageBytes(length,drawWidth,drawHeight){var forceRGB=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.image.reset(),this.image.drawWidth=drawWidth||this.width,this.image.drawHeight=drawHeight||this.height,this.image.forceRGB=!!forceRGB,this.image.getBytes(length)}},PDFImage}();exports.PDFImage=PDFImage},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AnnotationFactory=exports.AnnotationBorderStyle=exports.Annotation=void 0;var _get=function get(object,property,receiver){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,property);if(void 0===desc){var parent=Object.getPrototypeOf(object);return null===parent?void 0:get(parent,property,receiver)}if("value"in desc)return desc.value;var getter=desc.get;return void 0!==getter?getter.call(receiver):void 0},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_obj=__w_pdfjs_require__(73),_primitives=__w_pdfjs_require__(2),_colorspace=__w_pdfjs_require__(27),_evaluator=__w_pdfjs_require__(77),_stream=__w_pdfjs_require__(5);function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var AnnotationFactory=function(){function AnnotationFactory(){_classCallCheck(this,AnnotationFactory)}return _createClass(AnnotationFactory,null,[{key:"create",value:function create(xref,ref,pdfManager,idFactory){var dict=xref.fetchIfRef(ref);if((0,_primitives.isDict)(dict)){var id=(0,_primitives.isRef)(ref)?ref.toString():"annot_"+idFactory.createObjId(),subtype=dict.get("Subtype");subtype=(0,_primitives.isName)(subtype)?subtype.name:null;var parameters={xref:xref,dict:dict,ref:(0,_primitives.isRef)(ref)?ref:null,subtype:subtype,id:id,pdfManager:pdfManager};switch(subtype){case"Link":return new LinkAnnotation(parameters);case"Text":return new TextAnnotation(parameters);case"Widget":var fieldType=_util.Util.getInheritableProperty(dict,"FT");switch(fieldType=(0,_primitives.isName)(fieldType)?fieldType.name:null){case"Tx":return new TextWidgetAnnotation(parameters);case"Btn":return new ButtonWidgetAnnotation(parameters);case"Ch":return new ChoiceWidgetAnnotation(parameters)}return(0,_util.warn)('Unimplemented widget field type "'+fieldType+'", falling back to base field type.'),new WidgetAnnotation(parameters);case"Popup":return new PopupAnnotation(parameters);case"Line":return new LineAnnotation(parameters);case"Square":return new SquareAnnotation(parameters);case"Circle":return new CircleAnnotation(parameters);case"PolyLine":return new PolylineAnnotation(parameters);case"Polygon":return new PolygonAnnotation(parameters);case"Highlight":return new HighlightAnnotation(parameters);case"Underline":return new UnderlineAnnotation(parameters);case"Squiggly":return new SquigglyAnnotation(parameters);case"StrikeOut":return new StrikeOutAnnotation(parameters);case"Stamp":return new StampAnnotation(parameters);case"FileAttachment":return new FileAttachmentAnnotation(parameters);default:return subtype?(0,_util.warn)('Unimplemented annotation type "'+subtype+'", falling back to base annotation.'):(0,_util.warn)("Annotation is missing the required /Subtype."),new Annotation(parameters)}}}}]),AnnotationFactory}();var Annotation=function(){function Annotation(params){_classCallCheck(this,Annotation);var dict=params.dict;this.setFlags(dict.get("F")),this.setRectangle(dict.getArray("Rect")),this.setColor(dict.getArray("C")),this.setBorderStyle(dict),this.setAppearance(dict),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,hasAppearance:!!this.appearance,id:params.id,rect:this.rectangle,subtype:params.subtype}}return _createClass(Annotation,[{key:"_hasFlag",value:function _hasFlag(flags,flag){return!!(flags&flag)}},{key:"_isViewable",value:function _isViewable(flags){return!this._hasFlag(flags,_util.AnnotationFlag.INVISIBLE)&&!this._hasFlag(flags,_util.AnnotationFlag.HIDDEN)&&!this._hasFlag(flags,_util.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function _isPrintable(flags){return this._hasFlag(flags,_util.AnnotationFlag.PRINT)&&!this._hasFlag(flags,_util.AnnotationFlag.INVISIBLE)&&!this._hasFlag(flags,_util.AnnotationFlag.HIDDEN)}},{key:"setFlags",value:function setFlags(flags){this.flags=Number.isInteger(flags)&&flags>0?flags:0}},{key:"hasFlag",value:function hasFlag(flag){return this._hasFlag(this.flags,flag)}},{key:"setRectangle",value:function setRectangle(rectangle){Array.isArray(rectangle)&&4===rectangle.length?this.rectangle=_util.Util.normalizeRect(rectangle):this.rectangle=[0,0,0,0]}},{key:"setColor",value:function setColor(color){var rgbColor=new Uint8Array(3);if(Array.isArray(color))switch(color.length){case 0:this.color=null;break;case 1:_colorspace.ColorSpace.singletons.gray.getRgbItem(color,0,rgbColor,0),this.color=rgbColor;break;case 3:_colorspace.ColorSpace.singletons.rgb.getRgbItem(color,0,rgbColor,0),this.color=rgbColor;break;case 4:_colorspace.ColorSpace.singletons.cmyk.getRgbItem(color,0,rgbColor,0),this.color=rgbColor;break;default:this.color=rgbColor}else this.color=rgbColor}},{key:"setBorderStyle",value:function setBorderStyle(borderStyle){if(this.borderStyle=new AnnotationBorderStyle,(0,_primitives.isDict)(borderStyle))if(borderStyle.has("BS")){var dict=borderStyle.get("BS"),dictType=dict.get("Type");dictType&&!(0,_primitives.isName)(dictType,"Border")||(this.borderStyle.setWidth(dict.get("W")),this.borderStyle.setStyle(dict.get("S")),this.borderStyle.setDashArray(dict.getArray("D")))}else if(borderStyle.has("Border")){var array=borderStyle.getArray("Border");Array.isArray(array)&&array.length>=3&&(this.borderStyle.setHorizontalCornerRadius(array[0]),this.borderStyle.setVerticalCornerRadius(array[1]),this.borderStyle.setWidth(array[2]),4===array.length&&this.borderStyle.setDashArray(array[3]))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function setAppearance(dict){this.appearance=null;var appearanceStates=dict.get("AP");if((0,_primitives.isDict)(appearanceStates)){var normalAppearanceState=appearanceStates.get("N");if((0,_primitives.isStream)(normalAppearanceState))this.appearance=normalAppearanceState;else if((0,_primitives.isDict)(normalAppearanceState)){var as=dict.get("AS");(0,_primitives.isName)(as)&&normalAppearanceState.has(as.name)&&(this.appearance=normalAppearanceState.get(as.name))}}}},{key:"_preparePopup",value:function _preparePopup(dict){dict.has("C")||(this.data.color=null),this.data.hasPopup=dict.has("Popup"),this.data.title=(0,_util.stringToPDFString)(dict.get("T")||""),this.data.contents=(0,_util.stringToPDFString)(dict.get("Contents")||"")}},{key:"loadResources",value:function loadResources(keys){return this.appearance.dict.getAsync("Resources").then((function(resources){if(resources)return new _obj.ObjectLoader(resources,keys,resources.xref).load().then((function(){return resources}))}))}},{key:"getOperatorList",value:function getOperatorList(evaluator,task,renderForms){var _this=this;if(!this.appearance)return Promise.resolve(new _evaluator.OperatorList);var data=this.data,appearanceDict=this.appearance.dict,resourcesPromise=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),bbox=appearanceDict.getArray("BBox")||[0,0,1,1],matrix=appearanceDict.getArray("Matrix")||[1,0,0,1,0,0],transform=function getTransformMatrix(rect,bbox,matrix){var bounds=_util.Util.getAxialAlignedBoundingBox(bbox,matrix),minX=bounds[0],minY=bounds[1],maxX=bounds[2],maxY=bounds[3];if(minX===maxX||minY===maxY)return[1,0,0,1,rect[0],rect[1]];var xRatio=(rect[2]-rect[0])/(maxX-minX),yRatio=(rect[3]-rect[1])/(maxY-minY);return[xRatio,0,0,yRatio,rect[0]-minX*xRatio,rect[1]-minY*yRatio]}(data.rect,bbox,matrix);return resourcesPromise.then((function(resources){var opList=new _evaluator.OperatorList;return opList.addOp(_util.OPS.beginAnnotation,[data.rect,transform,matrix]),evaluator.getOperatorList({stream:_this.appearance,task:task,resources:resources,operatorList:opList}).then((function(){return opList.addOp(_util.OPS.endAnnotation,[]),_this.appearance.reset(),opList}))}))}},{key:"viewable",get:function get(){return 0===this.flags||this._isViewable(this.flags)}},{key:"printable",get:function get(){return 0!==this.flags&&this._isPrintable(this.flags)}}]),Annotation}(),AnnotationBorderStyle=function(){function AnnotationBorderStyle(){_classCallCheck(this,AnnotationBorderStyle),this.width=1,this.style=_util.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}return _createClass(AnnotationBorderStyle,[{key:"setWidth",value:function setWidth(width){Number.isInteger(width)&&(this.width=width)}},{key:"setStyle",value:function setStyle(style){if(style)switch(style.name){case"S":this.style=_util.AnnotationBorderStyleType.SOLID;break;case"D":this.style=_util.AnnotationBorderStyleType.DASHED;break;case"B":this.style=_util.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=_util.AnnotationBorderStyleType.INSET;break;case"U":this.style=_util.AnnotationBorderStyleType.UNDERLINE}}},{key:"setDashArray",value:function setDashArray(dashArray){if(Array.isArray(dashArray)&&dashArray.length>0){for(var isValid=!0,allZeros=!0,i=0,len=dashArray.length;i<len;i++){var element=dashArray[i];if(!(+element>=0)){isValid=!1;break}element>0&&(allZeros=!1)}isValid&&!allZeros?this.dashArray=dashArray:this.width=0}else dashArray&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function setHorizontalCornerRadius(radius){Number.isInteger(radius)&&(this.horizontalCornerRadius=radius)}},{key:"setVerticalCornerRadius",value:function setVerticalCornerRadius(radius){Number.isInteger(radius)&&(this.verticalCornerRadius=radius)}}]),AnnotationBorderStyle}(),WidgetAnnotation=function(_Annotation){function WidgetAnnotation(params){_classCallCheck(this,WidgetAnnotation);var _this2=_possibleConstructorReturn(this,(WidgetAnnotation.__proto__||Object.getPrototypeOf(WidgetAnnotation)).call(this,params)),dict=params.dict,data=_this2.data;data.annotationType=_util.AnnotationType.WIDGET,data.fieldName=_this2._constructFieldName(dict),data.fieldValue=_util.Util.getInheritableProperty(dict,"V",!0),data.alternativeText=(0,_util.stringToPDFString)(dict.get("TU")||""),data.defaultAppearance=_util.Util.getInheritableProperty(dict,"DA")||"";var fieldType=_util.Util.getInheritableProperty(dict,"FT");return data.fieldType=(0,_primitives.isName)(fieldType)?fieldType.name:null,_this2.fieldResources=_util.Util.getInheritableProperty(dict,"DR")||_primitives.Dict.empty,data.fieldFlags=_util.Util.getInheritableProperty(dict,"Ff"),(!Number.isInteger(data.fieldFlags)||data.fieldFlags<0)&&(data.fieldFlags=0),data.readOnly=_this2.hasFieldFlag(_util.AnnotationFieldFlag.READONLY),"Sig"===data.fieldType&&_this2.setFlags(_util.AnnotationFlag.HIDDEN),_this2}return _inherits(WidgetAnnotation,_Annotation),_createClass(WidgetAnnotation,[{key:"_constructFieldName",value:function _constructFieldName(dict){if(!dict.has("T")&&!dict.has("Parent"))return(0,_util.warn)("Unknown field name, falling back to empty field name."),"";if(!dict.has("Parent"))return(0,_util.stringToPDFString)(dict.get("T"));var fieldName=[];dict.has("T")&&fieldName.unshift((0,_util.stringToPDFString)(dict.get("T")));for(var loopDict=dict;loopDict.has("Parent")&&(loopDict=loopDict.get("Parent"),(0,_primitives.isDict)(loopDict));)loopDict.has("T")&&fieldName.unshift((0,_util.stringToPDFString)(loopDict.get("T")));return fieldName.join(".")}},{key:"hasFieldFlag",value:function hasFieldFlag(flag){return!!(this.data.fieldFlags&flag)}},{key:"getOperatorList",value:function getOperatorList(evaluator,task,renderForms){return renderForms?Promise.resolve(new _evaluator.OperatorList):_get(WidgetAnnotation.prototype.__proto__||Object.getPrototypeOf(WidgetAnnotation.prototype),"getOperatorList",this).call(this,evaluator,task,renderForms)}}]),WidgetAnnotation}(Annotation),TextWidgetAnnotation=function(_WidgetAnnotation){function TextWidgetAnnotation(params){_classCallCheck(this,TextWidgetAnnotation);var _this3=_possibleConstructorReturn(this,(TextWidgetAnnotation.__proto__||Object.getPrototypeOf(TextWidgetAnnotation)).call(this,params));_this3.data.fieldValue=(0,_util.stringToPDFString)(_this3.data.fieldValue||"");var alignment=_util.Util.getInheritableProperty(params.dict,"Q");(!Number.isInteger(alignment)||alignment<0||alignment>2)&&(alignment=null),_this3.data.textAlignment=alignment;var maximumLength=_util.Util.getInheritableProperty(params.dict,"MaxLen");return(!Number.isInteger(maximumLength)||maximumLength<0)&&(maximumLength=null),_this3.data.maxLen=maximumLength,_this3.data.multiLine=_this3.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE),_this3.data.comb=_this3.hasFieldFlag(_util.AnnotationFieldFlag.COMB)&&!_this3.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE)&&!_this3.hasFieldFlag(_util.AnnotationFieldFlag.PASSWORD)&&!_this3.hasFieldFlag(_util.AnnotationFieldFlag.FILESELECT)&&null!==_this3.data.maxLen,_this3}return _inherits(TextWidgetAnnotation,_WidgetAnnotation),_createClass(TextWidgetAnnotation,[{key:"getOperatorList",value:function getOperatorList(evaluator,task,renderForms){if(renderForms||this.appearance)return _get(TextWidgetAnnotation.prototype.__proto__||Object.getPrototypeOf(TextWidgetAnnotation.prototype),"getOperatorList",this).call(this,evaluator,task,renderForms);var operatorList=new _evaluator.OperatorList;if(!this.data.defaultAppearance)return Promise.resolve(operatorList);var stream=new _stream.Stream((0,_util.stringToBytes)(this.data.defaultAppearance));return evaluator.getOperatorList({stream:stream,task:task,resources:this.fieldResources,operatorList:operatorList}).then((function(){return operatorList}))}}]),TextWidgetAnnotation}(WidgetAnnotation),ButtonWidgetAnnotation=function(_WidgetAnnotation2){function ButtonWidgetAnnotation(params){_classCallCheck(this,ButtonWidgetAnnotation);var _this4=_possibleConstructorReturn(this,(ButtonWidgetAnnotation.__proto__||Object.getPrototypeOf(ButtonWidgetAnnotation)).call(this,params));if(_this4.data.checkBox=!_this4.hasFieldFlag(_util.AnnotationFieldFlag.RADIO)&&!_this4.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON),_this4.data.checkBox){if(!(0,_primitives.isName)(_this4.data.fieldValue))return _possibleConstructorReturn(_this4);_this4.data.fieldValue=_this4.data.fieldValue.name}if(_this4.data.radioButton=_this4.hasFieldFlag(_util.AnnotationFieldFlag.RADIO)&&!_this4.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON),_this4.data.radioButton){_this4.data.fieldValue=_this4.data.buttonValue=null;var fieldParent=params.dict.get("Parent");if((0,_primitives.isDict)(fieldParent)&&fieldParent.has("V")){var fieldParentValue=fieldParent.get("V");(0,_primitives.isName)(fieldParentValue)&&(_this4.data.fieldValue=fieldParentValue.name)}var appearanceStates=params.dict.get("AP");if(!(0,_primitives.isDict)(appearanceStates))return _possibleConstructorReturn(_this4);var normalAppearanceState=appearanceStates.get("N");if(!(0,_primitives.isDict)(normalAppearanceState))return _possibleConstructorReturn(_this4);for(var keys=normalAppearanceState.getKeys(),i=0,ii=keys.length;i<ii;i++)if("Off"!==keys[i]){_this4.data.buttonValue=keys[i];break}}return _this4}return _inherits(ButtonWidgetAnnotation,_WidgetAnnotation2),ButtonWidgetAnnotation}(WidgetAnnotation),ChoiceWidgetAnnotation=function(_WidgetAnnotation3){function ChoiceWidgetAnnotation(params){_classCallCheck(this,ChoiceWidgetAnnotation);var _this5=_possibleConstructorReturn(this,(ChoiceWidgetAnnotation.__proto__||Object.getPrototypeOf(ChoiceWidgetAnnotation)).call(this,params));_this5.data.options=[];var options=_util.Util.getInheritableProperty(params.dict,"Opt");if(Array.isArray(options))for(var xref=params.xref,i=0,ii=options.length;i<ii;i++){var option=xref.fetchIfRef(options[i]),isOptionArray=Array.isArray(option);_this5.data.options[i]={exportValue:isOptionArray?xref.fetchIfRef(option[0]):option,displayValue:isOptionArray?xref.fetchIfRef(option[1]):option}}return Array.isArray(_this5.data.fieldValue)||(_this5.data.fieldValue=[_this5.data.fieldValue]),_this5.data.combo=_this5.hasFieldFlag(_util.AnnotationFieldFlag.COMBO),_this5.data.multiSelect=_this5.hasFieldFlag(_util.AnnotationFieldFlag.MULTISELECT),_this5}return _inherits(ChoiceWidgetAnnotation,_WidgetAnnotation3),ChoiceWidgetAnnotation}(WidgetAnnotation),TextAnnotation=function(_Annotation2){function TextAnnotation(parameters){_classCallCheck(this,TextAnnotation);var _this6=_possibleConstructorReturn(this,(TextAnnotation.__proto__||Object.getPrototypeOf(TextAnnotation)).call(this,parameters));return _this6.data.annotationType=_util.AnnotationType.TEXT,_this6.data.hasAppearance?_this6.data.name="NoIcon":(_this6.data.rect[1]=_this6.data.rect[3]-22,_this6.data.rect[2]=_this6.data.rect[0]+22,_this6.data.name=parameters.dict.has("Name")?parameters.dict.get("Name").name:"Note"),_this6._preparePopup(parameters.dict),_this6}return _inherits(TextAnnotation,_Annotation2),TextAnnotation}(Annotation),LinkAnnotation=function(_Annotation3){function LinkAnnotation(params){_classCallCheck(this,LinkAnnotation);var _this7=_possibleConstructorReturn(this,(LinkAnnotation.__proto__||Object.getPrototypeOf(LinkAnnotation)).call(this,params));return _this7.data.annotationType=_util.AnnotationType.LINK,_obj.Catalog.parseDestDictionary({destDict:params.dict,resultObj:_this7.data,docBaseUrl:params.pdfManager.docBaseUrl}),_this7}return _inherits(LinkAnnotation,_Annotation3),LinkAnnotation}(Annotation),PopupAnnotation=function(_Annotation4){function PopupAnnotation(parameters){_classCallCheck(this,PopupAnnotation);var _this8=_possibleConstructorReturn(this,(PopupAnnotation.__proto__||Object.getPrototypeOf(PopupAnnotation)).call(this,parameters));_this8.data.annotationType=_util.AnnotationType.POPUP;var dict=parameters.dict,parentItem=dict.get("Parent");if(!parentItem)return(0,_util.warn)("Popup annotation has a missing or invalid parent annotation."),_possibleConstructorReturn(_this8);var parentSubtype=parentItem.get("Subtype");if(_this8.data.parentType=(0,_primitives.isName)(parentSubtype)?parentSubtype.name:null,_this8.data.parentId=dict.getRaw("Parent").toString(),_this8.data.title=(0,_util.stringToPDFString)(parentItem.get("T")||""),_this8.data.contents=(0,_util.stringToPDFString)(parentItem.get("Contents")||""),parentItem.has("C")?(_this8.setColor(parentItem.getArray("C")),_this8.data.color=_this8.color):_this8.data.color=null,!_this8.viewable){var parentFlags=parentItem.get("F");_this8._isViewable(parentFlags)&&_this8.setFlags(parentFlags)}return _this8}return _inherits(PopupAnnotation,_Annotation4),PopupAnnotation}(Annotation),LineAnnotation=function(_Annotation5){function LineAnnotation(parameters){_classCallCheck(this,LineAnnotation);var _this9=_possibleConstructorReturn(this,(LineAnnotation.__proto__||Object.getPrototypeOf(LineAnnotation)).call(this,parameters));_this9.data.annotationType=_util.AnnotationType.LINE;var dict=parameters.dict;return _this9.data.lineCoordinates=_util.Util.normalizeRect(dict.getArray("L")),_this9._preparePopup(dict),_this9}return _inherits(LineAnnotation,_Annotation5),LineAnnotation}(Annotation),SquareAnnotation=function(_Annotation6){function SquareAnnotation(parameters){_classCallCheck(this,SquareAnnotation);var _this10=_possibleConstructorReturn(this,(SquareAnnotation.__proto__||Object.getPrototypeOf(SquareAnnotation)).call(this,parameters));return _this10.data.annotationType=_util.AnnotationType.SQUARE,_this10._preparePopup(parameters.dict),_this10}return _inherits(SquareAnnotation,_Annotation6),SquareAnnotation}(Annotation),CircleAnnotation=function(_Annotation7){function CircleAnnotation(parameters){_classCallCheck(this,CircleAnnotation);var _this11=_possibleConstructorReturn(this,(CircleAnnotation.__proto__||Object.getPrototypeOf(CircleAnnotation)).call(this,parameters));return _this11.data.annotationType=_util.AnnotationType.CIRCLE,_this11._preparePopup(parameters.dict),_this11}return _inherits(CircleAnnotation,_Annotation7),CircleAnnotation}(Annotation),PolylineAnnotation=function(_Annotation8){function PolylineAnnotation(parameters){_classCallCheck(this,PolylineAnnotation);var _this12=_possibleConstructorReturn(this,(PolylineAnnotation.__proto__||Object.getPrototypeOf(PolylineAnnotation)).call(this,parameters));_this12.data.annotationType=_util.AnnotationType.POLYLINE;var dict=parameters.dict,rawVertices=dict.getArray("Vertices");_this12.data.vertices=[];for(var i=0,ii=rawVertices.length;i<ii;i+=2)_this12.data.vertices.push({x:rawVertices[i],y:rawVertices[i+1]});return _this12._preparePopup(dict),_this12}return _inherits(PolylineAnnotation,_Annotation8),PolylineAnnotation}(Annotation),PolygonAnnotation=function(_PolylineAnnotation){function PolygonAnnotation(parameters){_classCallCheck(this,PolygonAnnotation);var _this13=_possibleConstructorReturn(this,(PolygonAnnotation.__proto__||Object.getPrototypeOf(PolygonAnnotation)).call(this,parameters));return _this13.data.annotationType=_util.AnnotationType.POLYGON,_this13}return _inherits(PolygonAnnotation,_PolylineAnnotation),PolygonAnnotation}(PolylineAnnotation),HighlightAnnotation=function(_Annotation9){function HighlightAnnotation(parameters){_classCallCheck(this,HighlightAnnotation);var _this14=_possibleConstructorReturn(this,(HighlightAnnotation.__proto__||Object.getPrototypeOf(HighlightAnnotation)).call(this,parameters));return _this14.data.annotationType=_util.AnnotationType.HIGHLIGHT,_this14._preparePopup(parameters.dict),_this14}return _inherits(HighlightAnnotation,_Annotation9),HighlightAnnotation}(Annotation),UnderlineAnnotation=function(_Annotation10){function UnderlineAnnotation(parameters){_classCallCheck(this,UnderlineAnnotation);var _this15=_possibleConstructorReturn(this,(UnderlineAnnotation.__proto__||Object.getPrototypeOf(UnderlineAnnotation)).call(this,parameters));return _this15.data.annotationType=_util.AnnotationType.UNDERLINE,_this15._preparePopup(parameters.dict),_this15}return _inherits(UnderlineAnnotation,_Annotation10),UnderlineAnnotation}(Annotation),SquigglyAnnotation=function(_Annotation11){function SquigglyAnnotation(parameters){_classCallCheck(this,SquigglyAnnotation);var _this16=_possibleConstructorReturn(this,(SquigglyAnnotation.__proto__||Object.getPrototypeOf(SquigglyAnnotation)).call(this,parameters));return _this16.data.annotationType=_util.AnnotationType.SQUIGGLY,_this16._preparePopup(parameters.dict),_this16}return _inherits(SquigglyAnnotation,_Annotation11),SquigglyAnnotation}(Annotation),StrikeOutAnnotation=function(_Annotation12){function StrikeOutAnnotation(parameters){_classCallCheck(this,StrikeOutAnnotation);var _this17=_possibleConstructorReturn(this,(StrikeOutAnnotation.__proto__||Object.getPrototypeOf(StrikeOutAnnotation)).call(this,parameters));return _this17.data.annotationType=_util.AnnotationType.STRIKEOUT,_this17._preparePopup(parameters.dict),_this17}return _inherits(StrikeOutAnnotation,_Annotation12),StrikeOutAnnotation}(Annotation),StampAnnotation=function(_Annotation13){function StampAnnotation(parameters){_classCallCheck(this,StampAnnotation);var _this18=_possibleConstructorReturn(this,(StampAnnotation.__proto__||Object.getPrototypeOf(StampAnnotation)).call(this,parameters));return _this18.data.annotationType=_util.AnnotationType.STAMP,_this18._preparePopup(parameters.dict),_this18}return _inherits(StampAnnotation,_Annotation13),StampAnnotation}(Annotation),FileAttachmentAnnotation=function(_Annotation14){function FileAttachmentAnnotation(parameters){_classCallCheck(this,FileAttachmentAnnotation);var _this19=_possibleConstructorReturn(this,(FileAttachmentAnnotation.__proto__||Object.getPrototypeOf(FileAttachmentAnnotation)).call(this,parameters)),file=new _obj.FileSpec(parameters.dict.get("FS"),parameters.xref);return _this19.data.annotationType=_util.AnnotationType.FILEATTACHMENT,_this19.data.file=file.serializable,_this19._preparePopup(parameters.dict),_this19}return _inherits(FileAttachmentAnnotation,_Annotation14),FileAttachmentAnnotation}(Annotation);exports.Annotation=Annotation,exports.AnnotationBorderStyle=AnnotationBorderStyle,exports.AnnotationFactory=AnnotationFactory}])}))}).call(this,__webpack_require__("8oxB"),__webpack_require__("yLpj"))},VpUO:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),toAbsoluteIndex=__webpack_require__("d/Gc"),fromCharCode=String.fromCharCode,$fromCodePoint=String.fromCodePoint;$export($export.S+$export.F*(!!$fromCodePoint&&1!=$fromCodePoint.length),"String",{fromCodePoint:function fromCodePoint(x){for(var code,res=[],aLen=arguments.length,i=0;aLen>i;){if(code=+arguments[i++],toAbsoluteIndex(code,1114111)!==code)throw RangeError(code+" is not a valid code point");res.push(code<65536?fromCharCode(code):fromCharCode(55296+((code-=65536)>>10),code%1024+56320))}return res.join("")}})},WFqU:function(module,exports,__webpack_require__){(function(global){var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,__webpack_require__("yLpj"))},WLL4:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S+$export.F*!__webpack_require__("nh4g"),"Object",{defineProperties:__webpack_require__("FJW5")})},WbBG:function(module,exports,__webpack_require__){"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},XKFU:function(module,exports,__webpack_require__){var global=__webpack_require__("dyZX"),core=__webpack_require__("g3g5"),hide=__webpack_require__("Mukb"),redefine=__webpack_require__("KroJ"),ctx=__webpack_require__("m0Pp"),$export=function(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_STATIC=type&$export.S,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:IS_STATIC?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});for(key in IS_GLOBAL&&(source=name),source)out=((own=!IS_FORCED&&target&&void 0!==target[key])?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},XMVh:function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__("K0xU")("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,(function(){throw 2}))}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},XOOG:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$re=__webpack_require__("q9eg")(/[&<>"']/g,{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"});$export($export.P+$export.F,"String",{escapeHTML:function escapeHTML(){return $re(this)}})},XUCW:function(module,exports,__webpack_require__){__webpack_require__("KOQb")("WeakMap")},Xbzi:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),setPrototypeOf=__webpack_require__("i5dc").set;module.exports=function(that,target,C){var P,S=target.constructor;return S!==C&&"function"==typeof S&&(P=S.prototype)!==C.prototype&&isObject(P)&&setPrototypeOf&&setPrototypeOf(that,P),that}},XfKG:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),$parseFloat=__webpack_require__("11IZ");$export($export.S+$export.F*(Number.parseFloat!=$parseFloat),"Number",{parseFloat:$parseFloat})},XfO3:function(module,exports,__webpack_require__){"use strict";var $at=__webpack_require__("AvRE")(!0);__webpack_require__("Afnz")(String,"String",(function(iterated){this._t=String(iterated),this._i=0}),(function(){var point,O=this._t,index=this._i;return index>=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})}))},Xhqo:function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__("hwdV").Buffer,util=__webpack_require__(235);module.exports=function(){function BufferList(){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,BufferList),this.head=null,this.tail=null,this.length=0}return BufferList.prototype.push=function push(v){var entry={data:v,next:null};this.length>0?this.tail.next=entry:this.head=entry,this.tail=entry,++this.length},BufferList.prototype.unshift=function unshift(v){var entry={data:v,next:this.head};0===this.length&&(this.tail=entry),this.head=entry,++this.length},BufferList.prototype.shift=function shift(){if(0!==this.length){var ret=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,ret}},BufferList.prototype.clear=function clear(){this.head=this.tail=null,this.length=0},BufferList.prototype.join=function join(s){if(0===this.length)return"";for(var p=this.head,ret=""+p.data;p=p.next;)ret+=s+p.data;return ret},BufferList.prototype.concat=function concat(n){if(0===this.length)return Buffer.alloc(0);if(1===this.length)return this.head.data;for(var src,target,offset,ret=Buffer.allocUnsafe(n>>>0),p=this.head,i=0;p;)src=p.data,target=ret,offset=i,src.copy(target,offset),i+=p.data.length,p=p.next;return ret},BufferList}(),util&&util.inspect&&util.inspect.custom&&(module.exports.prototype[util.inspect.custom]=function(){var obj=util.inspect({length:this.length});return this.constructor.name+" "+obj})},Xi7e:function(module,exports,__webpack_require__){var listCacheClear=__webpack_require__("KMkd"),listCacheDelete=__webpack_require__("adU4"),listCacheGet=__webpack_require__("tMB7"),listCacheHas=__webpack_require__("+6XX"),listCacheSet=__webpack_require__("Z8oC");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet,module.exports=ListCache},XipM:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="add-to-basket-failed"},Xtr8:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),core=__webpack_require__("g3g5"),fails=__webpack_require__("eeVq");module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn),$export($export.S+$export.F*fails((function(){fn(1)})),"Object",exp)}},YESw:function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__("Cwc5")(Object,"create");module.exports=nativeCreate},YJVH:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$every=__webpack_require__("CkkT")(4);$export($export.P+$export.F*!__webpack_require__("LyE8")([].every,!0),"Array",{every:function every(callbackfn){return $every(this,callbackfn,arguments[1])}})},YS4V:function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty,Object.getOwnPropertyDescriptor},YTvA:function(module,exports,__webpack_require__){var shared=__webpack_require__("VTer")("keys"),uid=__webpack_require__("ylqs");module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},Ybsr:function(module,exports,__webpack_require__){"use strict";(function(){var validateFormat,React=__webpack_require__("q1tI"),_assign=__webpack_require__("MgzW"),checkPropTypes=__webpack_require__("oVyQ"),scheduler=__webpack_require__("JhMR"),tracing=__webpack_require__("n5s9");function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error=void 0;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})))).name="Invariant Violation"}throw error.framesToPop=1,error}}validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")},React||invariant(!1,"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error){this.onError(error)}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var fakeNode=document.createElement("react");invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){"undefined"==typeof document&&invariant(!1,"The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var evt=document.createEvent("Event"),didError=!0,windowEvent=window.event,windowEventDescriptor=Object.getOwnPropertyDescriptor(window,"event"),funcArgs=Array.prototype.slice.call(arguments,3);function callCallback(){fakeNode.removeEventListener(evtType,callCallback,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=windowEvent),func.apply(context,funcArgs),didError=!1}var error=void 0,didSetError=!1,isCrossOriginError=!1;function handleWindowError(event){if(error=event.error,didSetError=!0,null===error&&0===event.colno&&0===event.lineno&&(isCrossOriginError=!0),event.defaultPrevented&&null!=error&&"object"==typeof error)try{error._suppressLogging=!0}catch(inner){}}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",handleWindowError),fakeNode.addEventListener(evtType,callCallback,!1),evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),windowEventDescriptor&&Object.defineProperty(window,"event",windowEventDescriptor),didError&&(didSetError?isCrossOriginError&&(error=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(error)),window.removeEventListener("error",handleWindowError)}}var invokeGuardedCallbackImpl$1=invokeGuardedCallbackImpl,hasError=!1,caughtError=null,hasRethrowError=!1,rethrowError=null,reporter={onError:function(error){hasError=!0,caughtError=error}};function invokeGuardedCallback(name,func,context,a,b,c,d,e,f){hasError=!1,caughtError=null,invokeGuardedCallbackImpl$1.apply(reporter,arguments)}function hasCaughtError(){return hasError}function clearCaughtError(){if(hasError){var error=caughtError;return hasError=!1,caughtError=null,error}invariant(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var eventPluginOrder=null,namesToPlugins={};function recomputePluginOrdering(){if(eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(pluginIndex>-1||invariant(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",pluginName),!plugins[pluginIndex]){pluginModule.extractEvents||invariant(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",pluginName),plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName)||invariant(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",eventName,pluginName)}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){eventNameDispatchConfigs.hasOwnProperty(eventName)&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",eventName),eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames){if(phasedRegistrationNames.hasOwnProperty(phaseName))publishRegistrationName(phasedRegistrationNames[phaseName],pluginModule,eventName)}return!0}return!!dispatchConfig.registrationName&&(publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0)}function publishRegistrationName(registrationName,pluginModule,eventName){registrationNameModules[registrationName]&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",registrationName),registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,"onDoubleClick"===registrationName&&(possibleRegistrationNames.ondblclick=registrationName)}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};var warningWithoutStack$1=function(condition,format){for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];if(void 0===format)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(args.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!condition){if("undefined"!=typeof console){var argsWithFormat=args.map((function(item){return""+item}));argsWithFormat.unshift("Warning: "+format),Function.prototype.apply.call(console.error,console,argsWithFormat)}try{var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));throw new Error(message)}catch(x){}}},getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null;var validateEventDispatches;function executeDispatch(event,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),function invokeGuardedCallbackAndCatchFirstError(name,func,context,a,b,c,d,e,f){if(invokeGuardedCallback.apply(this,arguments),hasError){var error=clearCaughtError();hasRethrowError||(hasRethrowError=!0,rethrowError=error)}}(type,listener,void 0,event),event.currentTarget=null}function accumulateInto(current,next){return null==next&&invariant(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==current?next:Array.isArray(current)?Array.isArray(next)?(current.push.apply(current,next),current):(current.push(next),current):Array.isArray(next)?[current].concat(next):[current,next]}function forEachAccumulated(arr,cb,scope){Array.isArray(arr)?arr.forEach(cb,scope):arr&&cb.call(scope,arr)}validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;(instancesIsArr!==listenersIsArr||instancesLen!==listenersLen)&&warningWithoutStack$1(!1,"EventPluginUtils: Invalid `event`.")};var eventQueue=null,executeDispatchesAndRelease=function(event){event&&(!function executeDispatchesInOrder(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i<dispatchListeners.length&&!event.isPropagationStopped();i++)executeDispatch(event,dispatchListeners[i],dispatchInstances[i]);else dispatchListeners&&executeDispatch(event,dispatchListeners,dispatchInstances);event._dispatchListeners=null,event._dispatchInstances=null}(event),event.isPersistent()||event.constructor.release(event))},executeDispatchesAndReleaseTopLevel=function(e){return executeDispatchesAndRelease(e)};var injection={injectEventPluginOrder:function injectEventPluginOrder(injectedEventPluginOrder){eventPluginOrder&&invariant(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()},injectEventPluginsByName:function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];namesToPlugins.hasOwnProperty(pluginName)&&namesToPlugins[pluginName]===pluginModule||(namesToPlugins[pluginName]&&invariant(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",pluginName),namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0)}isOrderingDirty&&recomputePluginOrdering()}};function getListener(inst,registrationName){var listener,stateNode=inst.stateNode;if(!stateNode)return null;var props=getFiberCurrentPropsFromNode(stateNode);return props?(listener=props[registrationName],function shouldPreventMouseEvent(name,type,props){switch(name){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!props.disabled||!function isInteractive(tag){return"button"===tag||"input"===tag||"select"===tag||"textarea"===tag}(type));default:return!1}}(registrationName,inst.type,props)?null:(listener&&"function"!=typeof listener&&invariant(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener),listener)):null}function runEventsInBatch(events){null!==events&&(eventQueue=accumulateInto(eventQueue,events));var processingEventQueue=eventQueue;eventQueue=null,processingEventQueue&&(forEachAccumulated(processingEventQueue,executeDispatchesAndReleaseTopLevel),eventQueue&&invariant(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),function rethrowCaughtError(){if(hasRethrowError){var error=rethrowError;throw hasRethrowError=!1,rethrowError=null,error}}())}function runExtractedEventsInBatch(topLevelType,targetInst,nativeEvent,nativeEventTarget){runEventsInBatch(function extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget){for(var events=null,i=0;i<plugins.length;i++){var possiblePlugin=plugins[i];if(possiblePlugin){var extractedEvents=possiblePlugin.extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget);extractedEvents&&(events=accumulateInto(events,extractedEvents))}}return events}(topLevelType,targetInst,nativeEvent,nativeEventTarget))}var randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactInternalInstance$"+randomKey,internalEventHandlersKey="__reactEventHandlers$"+randomKey;function precacheFiberNode(hostInst,node){node[internalInstanceKey]=hostInst}function getClosestInstanceFromNode(node){if(node[internalInstanceKey])return node[internalInstanceKey];for(;!node[internalInstanceKey];){if(!node.parentNode)return null;node=node.parentNode}var inst=node[internalInstanceKey];return 5===inst.tag||6===inst.tag?inst:null}function getInstanceFromNode$1(node){var inst=node[internalInstanceKey];return inst&&(5===inst.tag||6===inst.tag)?inst:null}function getNodeFromInstance$1(inst){if(5===inst.tag||6===inst.tag)return inst.stateNode;invariant(!1,"getNodeFromInstance: Invalid argument.")}function getFiberCurrentPropsFromNode$1(node){return node[internalEventHandlersKey]||null}function updateFiberProps(node,props){node[internalEventHandlersKey]=props}function getParent(inst){do{inst=inst.return}while(inst&&5!==inst.tag);return inst||null}function traverseEnterLeave(from,to,fn,argFrom,argTo){for(var common=from&&to?function getLowestCommonAncestor(instA,instB){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;for(var depthB=0,tempB=instB;tempB;tempB=getParent(tempB))depthB++;for(;depthA-depthB>0;)instA=getParent(instA),depthA--;for(;depthB-depthA>0;)instB=getParent(instB),depthB--;for(var depth=depthA;depth--;){if(instA===instB||instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}(from,to):null,pathFrom=[];from&&from!==common;){var alternate=from.alternate;if(null!==alternate&&alternate===common)break;pathFrom.push(from),from=getParent(from)}for(var pathTo=[];to&&to!==common;){var _alternate=to.alternate;if(null!==_alternate&&_alternate===common)break;pathTo.push(to),to=getParent(to)}for(var i=0;i<pathFrom.length;i++)fn(pathFrom[i],"bubbled",argFrom);for(var _i=pathTo.length;_i-- >0;)fn(pathTo[_i],"captured",argTo)}function accumulateDirectionalDispatches(inst,phase,event){inst||warningWithoutStack$1(!1,"Dispatching inst must not be null");var listener=function listenerAtPhase(inst,event,propagationPhase){return getListener(inst,event.dispatchConfig.phasedRegistrationNames[propagationPhase])}(inst,event,phase);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}function accumulateTwoPhaseDispatchesSingle(event){event&&event.dispatchConfig.phasedRegistrationNames&&function traverseTwoPhase(inst,fn,arg){for(var path=[];inst;)path.push(inst),inst=getParent(inst);var i=void 0;for(i=path.length;i-- >0;)fn(path[i],"captured",arg);for(i=0;i<path.length;i++)fn(path[i],"bubbled",arg)}(event._targetInst,accumulateDirectionalDispatches,event)}function accumulateDispatches(inst,ignoredDirection,event){if(inst&&event&&event.dispatchConfig.registrationName){var listener=getListener(inst,event.dispatchConfig.registrationName);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}}function accumulateDirectDispatchesSingle(event){event&&event.dispatchConfig.registrationName&&accumulateDispatches(event._targetInst,0,event)}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle)}var canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement);function makePrefixMap(styleProp,eventName){var prefixes={};return prefixes[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes["Webkit"+styleProp]="webkit"+eventName,prefixes["Moz"+styleProp]="moz"+eventName,prefixes}var vendorPrefixes={animationend:makePrefixMap("Animation","AnimationEnd"),animationiteration:makePrefixMap("Animation","AnimationIteration"),animationstart:makePrefixMap("Animation","AnimationStart"),transitionend:makePrefixMap("Transition","TransitionEnd")},prefixedEventNames={},style={};function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];if(!vendorPrefixes[eventName])return eventName;var prefixMap=vendorPrefixes[eventName];for(var styleProp in prefixMap)if(prefixMap.hasOwnProperty(styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp];return eventName}canUseDOM&&(style=document.createElement("div").style,"AnimationEvent"in window||(delete vendorPrefixes.animationend.animation,delete vendorPrefixes.animationiteration.animation,delete vendorPrefixes.animationstart.animation),"TransitionEvent"in window||delete vendorPrefixes.transitionend.transition);var TOP_ANIMATION_END=getVendorPrefixedEventName("animationend"),TOP_ANIMATION_ITERATION=getVendorPrefixedEventName("animationiteration"),TOP_ANIMATION_START=getVendorPrefixedEventName("animationstart"),TOP_TRANSITION_END=getVendorPrefixedEventName("transitionend"),mediaEventTypes=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"];var root=null,startText=null,fallbackText=null;function getData(){if(fallbackText)return fallbackText;var start=void 0,startValue=startText,startLength=startValue.length,end=void 0,endValue=getText(),endLength=endValue.length;for(start=0;start<startLength&&startValue[start]===endValue[start];start++);var minEnd=startLength-start;for(end=1;end<=minEnd&&startValue[startLength-end]===endValue[endLength-end];end++);var sliceTail=end>1?1-end:void 0;return fallbackText=endValue.slice(start,sliceTail)}function getText(){return"value"in root?root.value:root.textContent}var EventInterface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function functionThatReturnsTrue(){return!0}function functionThatReturnsFalse(){return!1}function SyntheticEvent(dispatchConfig,targetInst,nativeEvent,nativeEventTarget){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=dispatchConfig,this._targetInst=targetInst,this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface)if(Interface.hasOwnProperty(propName)){delete this[propName];var normalize=Interface[propName];normalize?this[propName]=normalize(nativeEvent):"target"===propName?this.target=nativeEventTarget:this[propName]=nativeEvent[propName]}var defaultPrevented=null!=nativeEvent.defaultPrevented?nativeEvent.defaultPrevented:!1===nativeEvent.returnValue;return this.isDefaultPrevented=defaultPrevented?functionThatReturnsTrue:functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this}function getPooledWarningPropertyDefinition(propName,getVal){var isFunction="function"==typeof getVal;return{configurable:!0,set:function set(val){return warn(isFunction?"setting the method":"setting the property","This is effectively a no-op"),val},get:function get(){return warn(isFunction?"accessing the method":"accessing the property",isFunction?"This is a no-op function":"This is set to null"),getVal}};function warn(action,result){warningWithoutStack$1(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",action,propName,result)}}function getPooledEvent(dispatchConfig,targetInst,nativeEvent,nativeInst){if(this.eventPool.length){var instance=this.eventPool.pop();return this.call(instance,dispatchConfig,targetInst,nativeEvent,nativeInst),instance}return new this(dispatchConfig,targetInst,nativeEvent,nativeInst)}function releasePooledEvent(event){event instanceof this||invariant(!1,"Trying to release an event instance into a pool of a different type."),event.destructor(),this.eventPool.length<10&&this.eventPool.push(event)}function addEventPoolingTo(EventConstructor){EventConstructor.eventPool=[],EventConstructor.getPooled=getPooledEvent,EventConstructor.release=releasePooledEvent}_assign(SyntheticEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;event&&(event.preventDefault?event.preventDefault():"unknown"!=typeof event.returnValue&&(event.returnValue=!1),this.isDefaultPrevented=functionThatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;event&&(event.stopPropagation?event.stopPropagation():"unknown"!=typeof event.cancelBubble&&(event.cancelBubble=!0),this.isPropagationStopped=functionThatReturnsTrue)},persist:function(){this.isPersistent=functionThatReturnsTrue},isPersistent:functionThatReturnsFalse,destructor:function(){var Interface=this.constructor.Interface;for(var propName in Interface)Object.defineProperty(this,propName,getPooledWarningPropertyDefinition(propName,Interface[propName]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=functionThatReturnsFalse,this.isPropagationStopped=functionThatReturnsFalse,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",getPooledWarningPropertyDefinition("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",getPooledWarningPropertyDefinition("isDefaultPrevented",functionThatReturnsFalse)),Object.defineProperty(this,"isPropagationStopped",getPooledWarningPropertyDefinition("isPropagationStopped",functionThatReturnsFalse)),Object.defineProperty(this,"preventDefault",getPooledWarningPropertyDefinition("preventDefault",(function(){}))),Object.defineProperty(this,"stopPropagation",getPooledWarningPropertyDefinition("stopPropagation",(function(){})))}}),SyntheticEvent.Interface=EventInterface,SyntheticEvent.extend=function(Interface){var Super=this,E=function(){};E.prototype=Super.prototype;var prototype=new E;function Class(){return Super.apply(this,arguments)}return _assign(prototype,Class.prototype),Class.prototype=prototype,Class.prototype.constructor=Class,Class.Interface=_assign({},Super.Interface,Interface),Class.extend=Super.extend,addEventPoolingTo(Class),Class},addEventPoolingTo(SyntheticEvent);var SyntheticCompositionEvent=SyntheticEvent.extend({data:null}),SyntheticInputEvent=SyntheticEvent.extend({data:null}),END_KEYCODES=[9,13,27,32],canUseCompositionEvent=canUseDOM&&"CompositionEvent"in window,documentMode=null;canUseDOM&&"documentMode"in document&&(documentMode=document.documentMode);var canUseTextInputEvent=canUseDOM&&"TextEvent"in window&&!documentMode,useFallbackCompositionData=canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11),SPACEBAR_CHAR=String.fromCharCode(32),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["blur","compositionend","keydown","keypress","keyup","mousedown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["blur","compositionstart","keydown","keypress","keyup","mousedown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["blur","compositionupdate","keydown","keypress","keyup","mousedown"]}},hasSpaceKeypress=!1;function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case"keyup":return-1!==END_KEYCODES.indexOf(nativeEvent.keyCode);case"keydown":return 229!==nativeEvent.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;return"object"==typeof detail&&"data"in detail?detail.data:null}function isUsingKoreanIME(nativeEvent){return"ko"===nativeEvent.locale}var isComposing=!1;function extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var eventType=void 0,fallbackData=void 0;if(canUseCompositionEvent?eventType=function getCompositionEventType(topLevelType){switch(topLevelType){case"compositionstart":return eventTypes.compositionStart;case"compositionend":return eventTypes.compositionEnd;case"compositionupdate":return eventTypes.compositionUpdate}}(topLevelType):isComposing?isFallbackCompositionEnd(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionEnd):function isFallbackCompositionStart(topLevelType,nativeEvent){return"keydown"===topLevelType&&229===nativeEvent.keyCode}(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionStart),!eventType)return null;useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)&&(isComposing||eventType!==eventTypes.compositionStart?eventType===eventTypes.compositionEnd&&isComposing&&(fallbackData=getData()):isComposing=function initialize(nativeEventTarget){return root=nativeEventTarget,startText=getText(),!0}(nativeEventTarget));var event=SyntheticCompositionEvent.getPooled(eventType,targetInst,nativeEvent,nativeEventTarget);if(fallbackData)event.data=fallbackData;else{var customData=getDataFromCustomEvent(nativeEvent);null!==customData&&(event.data=customData)}return accumulateTwoPhaseDispatches(event),event}function getFallbackBeforeInputChars(topLevelType,nativeEvent){if(isComposing){if("compositionend"===topLevelType||!canUseCompositionEvent&&isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=getData();return function reset(){root=null,startText=null,fallbackText=null}(),isComposing=!1,chars}return null}switch(topLevelType){case"paste":return null;case"keypress":if(!function isKeypressCommand(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&!(nativeEvent.ctrlKey&&nativeEvent.altKey)}(nativeEvent)){if(nativeEvent.char&&nativeEvent.char.length>1)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case"compositionend":return useFallbackCompositionData&&!isUsingKoreanIME(nativeEvent)?null:nativeEvent.data;default:return null}}function extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var chars=void 0;if(!(chars=canUseTextInputEvent?function getNativeBeforeInputChars(topLevelType,nativeEvent){switch(topLevelType){case"compositionend":return getDataFromCustomEvent(nativeEvent);case"keypress":return 32!==nativeEvent.which?null:(hasSpaceKeypress=!0,SPACEBAR_CHAR);case"textInput":var chars=nativeEvent.data;return chars===SPACEBAR_CHAR&&hasSpaceKeypress?null:chars;default:return null}}(topLevelType,nativeEvent):getFallbackBeforeInputChars(topLevelType,nativeEvent)))return null;var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,targetInst,nativeEvent,nativeEventTarget);return event.data=chars,accumulateTwoPhaseDispatches(event),event}var BeforeInputEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var composition=extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),beforeInput=extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget);return null===composition?beforeInput:null===beforeInput?composition:[composition,beforeInput]}},restoreImpl=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance){"function"!=typeof restoreImpl&&invariant(!1,"setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var props=getFiberCurrentPropsFromNode(internalInstance.stateNode);restoreImpl(internalInstance.stateNode,internalInstance.type,props)}}function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function restoreStateIfNeeded(){if(restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i<queuedTargets.length;i++)restoreStateOfTarget(queuedTargets[i])}}var _batchedUpdatesImpl=function(fn,bookkeeping){return fn(bookkeeping)},_interactiveUpdatesImpl=function(fn,a,b){return fn(a,b)},_flushInteractiveUpdatesImpl=function(){},isBatching=!1;function batchedUpdates(fn,bookkeeping){if(isBatching)return fn(bookkeeping);isBatching=!0;try{return _batchedUpdatesImpl(fn,bookkeeping)}finally{isBatching=!1,function needsStateRestore(){return null!==restoreTarget||null!==restoreQueue}()&&(_flushInteractiveUpdatesImpl(),restoreStateIfNeeded())}}var supportedInputTypes={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return"input"===nodeName?!!supportedInputTypes[elem.type]:"textarea"===nodeName}function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;return target.correspondingUseElement&&(target=target.correspondingUseElement),3===target.nodeType?target.parentNode:target}function isEventSupported(eventNameSuffix){if(!canUseDOM)return!1;var eventName="on"+eventNameSuffix,isSupported=eventName in document;if(!isSupported){var element=document.createElement("div");element.setAttribute(eventName,"return;"),isSupported="function"==typeof element[eventName]}return isSupported}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===type||"radio"===type)}function getTracker(node){return node._valueTracker}function track(node){getTracker(node)||(node._valueTracker=function trackValueOnNode(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!node.hasOwnProperty(valueField)&&void 0!==descriptor&&"function"==typeof descriptor.get&&"function"==typeof descriptor.set){var get=descriptor.get,set=descriptor.set;return Object.defineProperty(node,valueField,{configurable:!0,get:function(){return get.call(this)},set:function(value){currentValue=""+value,set.call(this,value)}}),Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable}),{getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){!function detachTracker(node){node._valueTracker=null}(node),delete node[valueField]}}}}(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=getTracker(node);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=function getValueFromNode(node){var value="";return node?value=isCheckable(node)?node.checked?"true":"false":node.value:value}(node);return nextValue!==lastValue&&(tracker.setValue(nextValue),!0)}var ReactSharedInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,BEFORE_SLASH_RE=/^(.*)[\\\/]/,hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator;function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!=typeof maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"];return"function"==typeof maybeIterator?maybeIterator:null}function getComponentName(type){if(null==type)return null;if("number"==typeof type.tag&&warningWithoutStack$1(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof type)return type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_CONCURRENT_MODE_TYPE:return"ConcurrentMode";case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense"}if("object"==typeof type)switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(""!==functionName?wrapperName+"("+functionName+")":wrapperName)}(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_LAZY_TYPE:var resolvedThenable=function refineResolvedLazyComponent(lazyComponent){return 1===lazyComponent._status?lazyComponent._result:null}(type);if(resolvedThenable)return getComponentName(resolvedThenable)}return null}var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame;function describeFiber(fiber){switch(fiber.tag){case 2:case 16:case 0:case 1:case 5:case 8:case 13:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber.type),ownerName=null;return owner&&(ownerName=getComponentName(owner.type)),function(name,source,ownerName){var sourceInfo="";if(source){var path=source.fileName,fileName=path.replace(BEFORE_SLASH_RE,"");if(/^index\./.test(fileName)){var match=path.match(BEFORE_SLASH_RE);if(match){var pathBeforeSlash=match[1];pathBeforeSlash&&(fileName=pathBeforeSlash.replace(BEFORE_SLASH_RE,"")+"/"+fileName)}}sourceInfo=" (at "+fileName+":"+source.lineNumber+")"}else ownerName&&(sourceInfo=" (created by "+ownerName+")");return"\n    in "+(name||"Unknown")+sourceInfo}(name,source,ownerName);default:return""}}function getStackByFiberInDevAndProd(workInProgress){var info="",node=workInProgress;do{info+=describeFiber(node),node=node.return}while(node);return info}var current=null,phase=null;function getCurrentFiberOwnerNameInDevOrNull(){if(null===current)return null;var owner=current._debugOwner;return null!=owner?getComponentName(owner.type):null}function getCurrentFiberStackInDev(){return null===current?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame.getCurrentStack=null,current=null,phase=null}function setCurrentFiber(fiber){ReactDebugCurrentFrame.getCurrentStack=getCurrentFiberStackInDev,current=fiber,phase=null}function setCurrentPhase(lifeCyclePhase){phase=lifeCyclePhase}var warning$1=function(condition,format){if(!condition){for(var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame.getStackAddendum(),_len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];warningWithoutStack$1.apply(void 0,[!1,format+"%s"].concat(args,[stack]))}},ATTRIBUTE_NAME_START_CHAR=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ATTRIBUTE_NAME_CHAR=ATTRIBUTE_NAME_START_CHAR+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",VALID_ATTRIBUTE_NAME_REGEX=new RegExp("^["+ATTRIBUTE_NAME_START_CHAR+"]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty=Object.prototype.hasOwnProperty,illegalAttributeNameCache={},validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){return!!hasOwnProperty.call(validatedAttributeNameCache,attributeName)||!hasOwnProperty.call(illegalAttributeNameCache,attributeName)&&(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?(validatedAttributeNameCache[attributeName]=!0,!0):(illegalAttributeNameCache[attributeName]=!0,warning$1(!1,"Invalid attribute name: `%s`",attributeName),!1))}function shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag){return null!==propertyInfo?0===propertyInfo.type:!isCustomComponentTag&&(name.length>2&&("o"===name[0]||"O"===name[0])&&("n"===name[1]||"N"===name[1]))}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(null!==propertyInfo&&0===propertyInfo.type)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":if(isCustomComponentTag)return!1;if(null!==propertyInfo)return!propertyInfo.acceptsBooleans;var prefix=name.toLowerCase().slice(0,5);return"data-"!==prefix&&"aria-"!==prefix;default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(null==value)return!0;if(shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(null!==propertyInfo)switch(propertyInfo.type){case 3:return!value;case 4:return!1===value;case 5:return isNaN(value);case 6:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace){this.acceptsBooleans=2===type||3===type||4===type,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type}var properties={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,0,!1,name,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,1,!1,attributeName,null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,2,!1,name.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,2,!1,name,null)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,3,!1,name.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,3,!0,name,null)})),["capture","download"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,4,!1,name,null)})),["cols","rows","size","span"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,6,!1,name,null)})),["rowSpan","start"].forEach((function(name){properties[name]=new PropertyInfoRecord(name,5,!1,name.toLowerCase(),null)}));var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token){return token[1].toUpperCase()};function getValueForProperty(node,name,expected,propertyInfo){if(propertyInfo.mustUseProperty)return node[propertyInfo.propertyName];var attributeName=propertyInfo.attributeName,stringValue=null;if(4===propertyInfo.type){if(node.hasAttribute(attributeName)){var value=node.getAttribute(attributeName);return""===value||(shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value)}}else if(node.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node.getAttribute(attributeName);if(3===propertyInfo.type)return expected;stringValue=node.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?null===stringValue?expected:stringValue:stringValue===""+expected?expected:stringValue}function getValueForAttribute(node,name,expected){if(isAttributeNameSafe(name)){if(!node.hasAttribute(name))return void 0===expected?void 0:null;var value=node.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag))if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||null===propertyInfo){if(isAttributeNameSafe(name)){var _attributeName=name;null===value?node.removeAttribute(_attributeName):node.setAttribute(_attributeName,""+value)}}else if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;if(null===value){var type=propertyInfo.type;node[propertyName]=3!==type&&""}else node[propertyName]=value}else{var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(null===value)node.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue=void 0;attributeValue=3===_type||4===_type&&!0===value?"":""+value,attributeNamespace?node.setAttributeNS(attributeNamespace,attributeName,attributeValue):node.setAttribute(attributeName,attributeValue)}}}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"object":case"string":case"undefined":return value;default:return""}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,1,!1,attributeName,null)})),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,1,!1,attributeName,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,1,!1,attributeName,"http://www.w3.org/XML/1998/namespace")})),properties.tabIndex=new PropertyInfoRecord("tabIndex",1,!1,"tabindex",null);var ReactDebugCurrentFrame$1,ReactControlledValuePropTypes={checkPropTypes:null};ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled||null==props[propName]?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return props.onChange||props.readOnly||props.disabled||null==props[propName]?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props){checkPropTypes(propTypes,props,"prop",tagName,ReactDebugCurrentFrame$1.getStackAddendum)};var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){return"checkbox"===props.type||"radio"===props.type?null!=props.checked:null!=props.value}function getHostProps(element,props){var node=element,checked=props.checked;return _assign({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=checked?checked:node._wrapperState.initialChecked})}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props),void 0===props.checked||void 0===props.defaultChecked||didWarnCheckedDefaultChecked||(warning$1(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue||(warning$1(!1,"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node=element,defaultValue=null==props.defaultValue?"":props.defaultValue;node._wrapperState={initialChecked:null!=props.checked?props.checked:props.defaultChecked,initialValue:getToStringValue(null!=props.value?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node=element,checked=props.checked;null!=checked&&setValueForProperty(node,"checked",checked,!1)}function updateWrapper(element,props){var node=element,_controlled=isControlled(props);node._wrapperState.controlled||!_controlled||didWarnUncontrolledToControlled||(warning$1(!1,"A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnUncontrolledToControlled=!0),!node._wrapperState.controlled||_controlled||didWarnControlledToUncontrolled||(warning$1(!1,"A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnControlledToUncontrolled=!0),updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(null!=value)"number"===type?(0===value&&""===node.value||node.value!=value)&&(node.value=toString(value)):node.value!==toString(value)&&(node.value=toString(value));else if("submit"===type||"reset"===type)return void node.removeAttribute("value");props.hasOwnProperty("value")?setDefaultValue(node,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node,props.type,getToStringValue(props.defaultValue)),null==props.checked&&null!=props.defaultChecked&&(node.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating){var node=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton="submit"===type||"reset"===type;if(isButton&&(void 0===props.value||null===props.value))return;var _initialValue=toString(node._wrapperState.initialValue);if(!isHydrating)_initialValue!==node.value&&(node.value=_initialValue);node.defaultValue=_initialValue}var name=node.name;""!==name&&(node.name=""),node.defaultChecked=!node.defaultChecked,node.defaultChecked=!!node._wrapperState.initialChecked,""!==name&&(node.name=name)}function restoreControlledState(element,props){var node=element;updateWrapper(node,props),function updateNamedCousins(rootNode,props){var name=props.name;if("radio"===props.type&&null!=name){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i<group.length;i++){var otherNode=group[i];if(otherNode!==rootNode&&otherNode.form===rootNode.form){var otherProps=getFiberCurrentPropsFromNode$1(otherNode);otherProps||invariant(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),updateValueIfChanged(otherNode),updateWrapper(otherNode,otherProps)}}}}(node,props)}function setDefaultValue(node,type,value){"number"===type&&node.ownerDocument.activeElement===node||(null==value?node.defaultValue=toString(node._wrapperState.initialValue):node.defaultValue!==toString(value)&&(node.defaultValue=toString(value)))}var eventTypes$1={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["blur","change","click","focus","input","keydown","keyup","selectionchange"]}};function createAndAccumulateChangeEvent(inst,nativeEvent,target){var event=SyntheticEvent.getPooled(eventTypes$1.change,inst,nativeEvent,target);return event.type="change",enqueueStateRestore(target),accumulateTwoPhaseDispatches(event),event}var activeElement=null,activeElementInst=null;function runEventInBatch(event){runEventsInBatch(event)}function getInstIfValueChanged(targetInst){if(updateValueIfChanged(getNodeFromInstance$1(targetInst)))return targetInst}function getTargetInstForChangeEvent(topLevelType,targetInst){if("change"===topLevelType)return targetInst}var isInputEventSupported=!1;function stopWatchingForValueChange(){activeElement&&(activeElement.detachEvent("onpropertychange",handlePropertyChange),activeElement=null,activeElementInst=null)}function handlePropertyChange(nativeEvent){"value"===nativeEvent.propertyName&&getInstIfValueChanged(activeElementInst)&&function manualDispatchChangeEvent(nativeEvent){batchedUpdates(runEventInBatch,createAndAccumulateChangeEvent(activeElementInst,nativeEvent,getEventTarget(nativeEvent)))}(nativeEvent)}function handleEventsForInputEventPolyfill(topLevelType,target,targetInst){"focus"===topLevelType?(stopWatchingForValueChange(),function startWatchingForValueChange(target,targetInst){activeElementInst=targetInst,(activeElement=target).attachEvent("onpropertychange",handlePropertyChange)}(target,targetInst)):"blur"===topLevelType&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(topLevelType,targetInst){if("selectionchange"===topLevelType||"keyup"===topLevelType||"keydown"===topLevelType)return getInstIfValueChanged(activeElementInst)}function getTargetInstForClickEvent(topLevelType,targetInst){if("click"===topLevelType)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(topLevelType,targetInst){if("input"===topLevelType||"change"===topLevelType)return getInstIfValueChanged(targetInst)}canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>9));var ChangeEventPlugin={eventTypes:eventTypes$1,_isInputEventSupported:isInputEventSupported,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var targetNode=targetInst?getNodeFromInstance$1(targetInst):window,getTargetInstFunc=void 0,handleEventFunc=void 0;if(!function shouldUseChangeEvent(elem){var nodeName=elem.nodeName&&elem.nodeName.toLowerCase();return"select"===nodeName||"input"===nodeName&&"file"===elem.type}(targetNode)?isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputOrChangeEvent:(getTargetInstFunc=getTargetInstForInputEventPolyfill,handleEventFunc=handleEventsForInputEventPolyfill):function shouldUseClickEvent(elem){var nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===elem.type||"radio"===elem.type)}(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent):getTargetInstFunc=getTargetInstForChangeEvent,getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst)return createAndAccumulateChangeEvent(inst,nativeEvent,nativeEventTarget)}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst),"blur"===topLevelType&&function handleControlledInputBlur(node){var state=node._wrapperState;state&&state.controlled&&"number"===node.type&&setDefaultValue(node,"number",node.value)}(targetNode)}},SyntheticUIEvent=SyntheticEvent.extend({view:null,detail:null}),modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var nativeEvent=this.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return!!keyProp&&!!nativeEvent[keyProp]}function getEventModifierState(nativeEvent){return modifierStateGetter}var previousScreenX=0,previousScreenY=0,isMovementXSet=!1,isMovementYSet=!1,SyntheticMouseEvent=SyntheticUIEvent.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:null,buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement)},movementX:function(event){if("movementX"in event)return event.movementX;var screenX=previousScreenX;return previousScreenX=event.screenX,isMovementXSet?"mousemove"===event.type?event.screenX-screenX:0:(isMovementXSet=!0,0)},movementY:function(event){if("movementY"in event)return event.movementY;var screenY=previousScreenY;return previousScreenY=event.screenY,isMovementYSet?"mousemove"===event.type?event.screenY-screenY:0:(isMovementYSet=!0,0)}}),SyntheticPointerEvent=SyntheticMouseEvent.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),eventTypes$2={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},EnterLeaveEventPlugin={eventTypes:eventTypes$2,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var isOverEvent="mouseover"===topLevelType||"pointerover"===topLevelType,isOutEvent="mouseout"===topLevelType||"pointerout"===topLevelType;if(isOverEvent&&(nativeEvent.relatedTarget||nativeEvent.fromElement))return null;if(!isOutEvent&&!isOverEvent)return null;var win=void 0;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;win=doc?doc.defaultView||doc.parentWindow:window}var from=void 0,to=void 0;if(isOutEvent){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;to=related?getClosestInstanceFromNode(related):null}else from=null,to=targetInst;if(from===to)return null;var eventInterface=void 0,leaveEventType=void 0,enterEventType=void 0,eventTypePrefix=void 0;"mouseout"===topLevelType||"mouseover"===topLevelType?(eventInterface=SyntheticMouseEvent,leaveEventType=eventTypes$2.mouseLeave,enterEventType=eventTypes$2.mouseEnter,eventTypePrefix="mouse"):"pointerout"!==topLevelType&&"pointerover"!==topLevelType||(eventInterface=SyntheticPointerEvent,leaveEventType=eventTypes$2.pointerLeave,enterEventType=eventTypes$2.pointerEnter,eventTypePrefix="pointer");var fromNode=null==from?win:getNodeFromInstance$1(from),toNode=null==to?win:getNodeFromInstance$1(to),leave=eventInterface.getPooled(leaveEventType,from,nativeEvent,nativeEventTarget);leave.type=eventTypePrefix+"leave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=eventInterface.getPooled(enterEventType,to,nativeEvent,nativeEventTarget);return enter.type=eventTypePrefix+"enter",enter.target=toNode,enter.relatedTarget=fromNode,function accumulateEnterLeaveDispatches(leave,enter,from,to){traverseEnterLeave(from,to,accumulateDispatches,leave,enter)}(leave,enter,from,to),[leave,enter]}},hasOwnProperty$1=Object.prototype.hasOwnProperty;function is(x,y){return x===y?0!==x||0!==y||1/x==1/y:x!=x&&y!=y}function shallowEqual(objA,objB){if(is(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty$1.call(objB,keysA[i])||!is(objA[keysA[i]],objB[keysA[i]]))return!1;return!0}function get(key){return key._reactInternalFiber}var ReactCurrentOwner$1=ReactSharedInternals.ReactCurrentOwner;function isFiberMountedImpl(fiber){var node=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{if(0!=(2&node.effectTag))return 1;for(;node.return;)if(0!=(2&(node=node.return).effectTag))return 1}return 3===node.tag?2:3}function isFiberMounted(fiber){return 2===isFiberMountedImpl(fiber)}function assertIsMounted(fiber){2!==isFiberMountedImpl(fiber)&&invariant(!1,"Unable to find node on an unmounted component.")}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){var state=isFiberMountedImpl(fiber);return 3===state&&invariant(!1,"Unable to find node on an unmounted component."),1===state?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return,parentB=parentA?parentA.alternate:null;if(!parentA||!parentB)break;if(parentA.child===parentB.child){for(var child=parentA.child;child;){if(child===a)return assertIsMounted(parentA),fiber;if(child===b)return assertIsMounted(parentA),alternate;child=child.sibling}invariant(!1,"Unable to find node on an unmounted component.")}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,_child=parentA.child;_child;){if(_child===a){didFindChild=!0,a=parentA,b=parentB;break}if(_child===b){didFindChild=!0,b=parentA,a=parentB;break}_child=_child.sibling}if(!didFindChild){for(_child=parentB.child;_child;){if(_child===a){didFindChild=!0,a=parentB,b=parentA;break}if(_child===b){didFindChild=!0,b=parentB,a=parentA;break}_child=_child.sibling}didFindChild||invariant(!1,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a.alternate!==b&&invariant(!1,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return 3!==a.tag&&invariant(!1,"Unable to find node on an unmounted component."),a.stateNode.current===a?fiber:alternate}function findCurrentHostFiber(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(5===node.tag||6===node.tag)return node;if(node.child)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}var SyntheticAnimationEvent=SyntheticEvent.extend({animationName:null,elapsedTime:null,pseudoElement:null}),SyntheticClipboardEvent=SyntheticEvent.extend({clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}}),SyntheticFocusEvent=SyntheticUIEvent.extend({relatedTarget:null});function getEventCharCode(nativeEvent){var charCode=void 0,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?0===(charCode=nativeEvent.charCode)&&13===keyCode&&(charCode=13):charCode=keyCode,10===charCode&&(charCode=13),charCode>=32||13===charCode?charCode:0}var normalizeKey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},translateToKey={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var SyntheticKeyboardEvent=SyntheticUIEvent.extend({key:function getEventKey(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if("Unidentified"!==key)return key}if("keypress"===nativeEvent.type){var charCode=getEventCharCode(nativeEvent);return 13===charCode?"Enter":String.fromCharCode(charCode)}return"keydown"===nativeEvent.type||"keyup"===nativeEvent.type?translateToKey[nativeEvent.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,charCode:function(event){return"keypress"===event.type?getEventCharCode(event):0},keyCode:function(event){return"keydown"===event.type||"keyup"===event.type?event.keyCode:0},which:function(event){return"keypress"===event.type?getEventCharCode(event):"keydown"===event.type||"keyup"===event.type?event.keyCode:0}}),SyntheticDragEvent=SyntheticMouseEvent.extend({dataTransfer:null}),SyntheticTouchEvent=SyntheticUIEvent.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState}),SyntheticTransitionEvent=SyntheticEvent.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),SyntheticWheelEvent=SyntheticMouseEvent.extend({deltaX:function(event){return"deltaX"in event?event.deltaX:"wheelDeltaX"in event?-event.wheelDeltaX:0},deltaY:function(event){return"deltaY"in event?event.deltaY:"wheelDeltaY"in event?-event.wheelDeltaY:"wheelDelta"in event?-event.wheelDelta:0},deltaZ:null,deltaMode:null}),nonInteractiveEventTypeNames=[["abort","abort"],[TOP_ANIMATION_END,"animationEnd"],[TOP_ANIMATION_ITERATION,"animationIteration"],[TOP_ANIMATION_START,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[TOP_TRANSITION_END,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],eventTypes$4={},topLevelEventsToDispatchConfig={};function addEventTypeNameToConfig(_ref,isInteractive){var topEvent=_ref[0],event=_ref[1],onEvent="on"+(event[0].toUpperCase()+event.slice(1)),type={phasedRegistrationNames:{bubbled:onEvent,captured:onEvent+"Capture"},dependencies:[topEvent],isInteractive:isInteractive};eventTypes$4[event]=type,topLevelEventsToDispatchConfig[topEvent]=type}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(eventTuple){addEventTypeNameToConfig(eventTuple,!0)})),nonInteractiveEventTypeNames.forEach((function(eventTuple){addEventTypeNameToConfig(eventTuple,!1)}));var knownHTMLTopLevelTypes=["abort","cancel","canplay","canplaythrough","close","durationchange","emptied","encrypted","ended","error","input","invalid","load","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","reset","seeked","seeking","stalled","submit","suspend","timeupdate","toggle","volumechange","waiting"],SimpleEventPlugin={eventTypes:eventTypes$4,isInteractiveTopLevelEventType:function(topLevelType){var config=topLevelEventsToDispatchConfig[topLevelType];return void 0!==config&&!0===config.isInteractive},extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var dispatchConfig=topLevelEventsToDispatchConfig[topLevelType];if(!dispatchConfig)return null;var EventConstructor=void 0;switch(topLevelType){case"keypress":if(0===getEventCharCode(nativeEvent))return null;case"keydown":case"keyup":EventConstructor=SyntheticKeyboardEvent;break;case"blur":case"focus":EventConstructor=SyntheticFocusEvent;break;case"click":if(2===nativeEvent.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":EventConstructor=SyntheticMouseEvent;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":EventConstructor=SyntheticDragEvent;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":EventConstructor=SyntheticTouchEvent;break;case TOP_ANIMATION_END:case TOP_ANIMATION_ITERATION:case TOP_ANIMATION_START:EventConstructor=SyntheticAnimationEvent;break;case TOP_TRANSITION_END:EventConstructor=SyntheticTransitionEvent;break;case"scroll":EventConstructor=SyntheticUIEvent;break;case"wheel":EventConstructor=SyntheticWheelEvent;break;case"copy":case"cut":case"paste":EventConstructor=SyntheticClipboardEvent;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":EventConstructor=SyntheticPointerEvent;break;default:-1===knownHTMLTopLevelTypes.indexOf(topLevelType)&&warningWithoutStack$1(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",topLevelType),EventConstructor=SyntheticEvent}var event=EventConstructor.getPooled(dispatchConfig,targetInst,nativeEvent,nativeEventTarget);return accumulateTwoPhaseDispatches(event),event}},isInteractiveTopLevelEventType=SimpleEventPlugin.isInteractiveTopLevelEventType,callbackBookkeepingPool=[];function findRootContainerNode(inst){for(;inst.return;)inst=inst.return;return 3!==inst.tag?null:inst.stateNode.containerInfo}function handleTopLevel(bookKeeping){var targetInst=bookKeeping.targetInst,ancestor=targetInst;do{if(!ancestor){bookKeeping.ancestors.push(ancestor);break}var root=findRootContainerNode(ancestor);if(!root)break;bookKeeping.ancestors.push(ancestor),ancestor=getClosestInstanceFromNode(root)}while(ancestor);for(var i=0;i<bookKeeping.ancestors.length;i++)targetInst=bookKeeping.ancestors[i],runExtractedEventsInBatch(bookKeeping.topLevelType,targetInst,bookKeeping.nativeEvent,getEventTarget(bookKeeping.nativeEvent))}var _enabled=!0;function setEnabled(enabled){_enabled=!!enabled}function trapBubbledEvent(topLevelType,element){if(!element)return null;!function addEventBubbleListener(element,eventType,listener){element.addEventListener(eventType,listener,!1)}(element,topLevelType,(isInteractiveTopLevelEventType(topLevelType)?dispatchInteractiveEvent:dispatchEvent).bind(null,topLevelType))}function trapCapturedEvent(topLevelType,element){if(!element)return null;!function addEventCaptureListener(element,eventType,listener){element.addEventListener(eventType,listener,!0)}(element,topLevelType,(isInteractiveTopLevelEventType(topLevelType)?dispatchInteractiveEvent:dispatchEvent).bind(null,topLevelType))}function dispatchInteractiveEvent(topLevelType,nativeEvent){!function interactiveUpdates(fn,a,b){return _interactiveUpdatesImpl(fn,a,b)}(dispatchEvent,topLevelType,nativeEvent)}function dispatchEvent(topLevelType,nativeEvent){if(_enabled){var targetInst=getClosestInstanceFromNode(getEventTarget(nativeEvent));null===targetInst||"number"!=typeof targetInst.tag||isFiberMounted(targetInst)||(targetInst=null);var bookKeeping=function getTopLevelCallbackBookKeeping(topLevelType,nativeEvent,targetInst){if(callbackBookkeepingPool.length){var instance=callbackBookkeepingPool.pop();return instance.topLevelType=topLevelType,instance.nativeEvent=nativeEvent,instance.targetInst=targetInst,instance}return{topLevelType:topLevelType,nativeEvent:nativeEvent,targetInst:targetInst,ancestors:[]}}(topLevelType,nativeEvent,targetInst);try{batchedUpdates(handleTopLevel,bookKeeping)}finally{!function releaseTopLevelCallbackBookKeeping(instance){instance.topLevelType=null,instance.nativeEvent=null,instance.targetInst=null,instance.ancestors.length=0,callbackBookkeepingPool.length<10&&callbackBookkeepingPool.push(instance)}(bookKeeping)}}}var alreadyListeningTo={},reactTopListenersCounter=0,topListenersIDKey="_reactListenersID"+(""+Math.random()).slice(2);function getListeningForDocument(mountAt){return Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)||(mountAt[topListenersIDKey]=reactTopListenersCounter++,alreadyListeningTo[mountAt[topListenersIDKey]]={}),alreadyListeningTo[mountAt[topListenersIDKey]]}function getActiveElement(doc){if(void 0===(doc=doc||("undefined"!=typeof document?document:void 0)))return null;try{return doc.activeElement||doc.body}catch(e){return doc.body}}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getSiblingNode(node){for(;node;){if(node.nextSibling)return node.nextSibling;node=node.parentNode}}function getNodeForCharacterOffset(root,offset){for(var node=getLeafNode(root),nodeStart=0,nodeEnd=0;node;){if(3===node.nodeType){if(nodeEnd=nodeStart+node.textContent.length,nodeStart<=offset&&nodeEnd>=offset)return{node:node,offset:offset-nodeStart};nodeStart=nodeEnd}node=getLeafNode(getSiblingNode(node))}}function getOffsets(outerNode){var ownerDocument=outerNode.ownerDocument,win=ownerDocument&&ownerDocument.defaultView||window,selection=win.getSelection&&win.getSelection();if(!selection||0===selection.rangeCount)return null;var anchorNode=selection.anchorNode,anchorOffset=selection.anchorOffset,focusNode=selection.focusNode,focusOffset=selection.focusOffset;try{anchorNode.nodeType,focusNode.nodeType}catch(e){return null}return function getModernOffsetsFromPoints(outerNode,anchorNode,anchorOffset,focusNode,focusOffset){var length=0,start=-1,end=-1,indexWithinAnchor=0,indexWithinFocus=0,node=outerNode,parentNode=null;outer:for(;;){for(var next=null;node!==anchorNode||0!==anchorOffset&&3!==node.nodeType||(start=length+anchorOffset),node!==focusNode||0!==focusOffset&&3!==node.nodeType||(end=length+focusOffset),3===node.nodeType&&(length+=node.nodeValue.length),null!==(next=node.firstChild);)parentNode=node,node=next;for(;;){if(node===outerNode)break outer;if(parentNode===anchorNode&&++indexWithinAnchor===anchorOffset&&(start=length),parentNode===focusNode&&++indexWithinFocus===focusOffset&&(end=length),null!==(next=node.nextSibling))break;parentNode=(node=parentNode).parentNode}node=next}if(-1===start||-1===end)return null;return{start:start,end:end}}(outerNode,anchorNode,anchorOffset,focusNode,focusOffset)}function isTextNode(node){return node&&3===node.nodeType}function containsNode(outerNode,innerNode){return!(!outerNode||!innerNode)&&(outerNode===innerNode||!isTextNode(outerNode)&&(isTextNode(innerNode)?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):!!outerNode.compareDocumentPosition&&!!(16&outerNode.compareDocumentPosition(innerNode))))}function isInDocument(node){return node&&node.ownerDocument&&containsNode(node.ownerDocument.documentElement,node)}function getActiveElementDeep(){for(var win=window,element=getActiveElement();element instanceof win.HTMLIFrameElement;){try{win=element.contentDocument.defaultView}catch(e){return element}element=getActiveElement(win.document)}return element}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&("input"===nodeName&&("text"===elem.type||"search"===elem.type||"tel"===elem.type||"url"===elem.type||"password"===elem.type)||"textarea"===nodeName||"true"===elem.contentEditable)}function restoreSelection(priorSelectionInformation){var curFocusedElem=getActiveElementDeep(),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&isInDocument(priorFocusedElem)){null!==priorSelectionRange&&hasSelectionCapabilities(priorFocusedElem)&&function setSelection(input,offsets){var start=offsets.start,end=offsets.end;void 0===end&&(end=start);"selectionStart"in input?(input.selectionStart=start,input.selectionEnd=Math.min(end,input.value.length)):function setOffsets(node,offsets){var doc=node.ownerDocument||document,win=doc&&doc.defaultView||window;if(win.getSelection){var selection=win.getSelection(),length=node.textContent.length,start=Math.min(offsets.start,length),end=void 0===offsets.end?start:Math.min(offsets.end,length);if(!selection.extend&&start>end){var temp=end;end=start,start=temp}var startMarker=getNodeForCharacterOffset(node,start),endMarker=getNodeForCharacterOffset(node,end);if(startMarker&&endMarker){if(1===selection.rangeCount&&selection.anchorNode===startMarker.node&&selection.anchorOffset===startMarker.offset&&selection.focusNode===endMarker.node&&selection.focusOffset===endMarker.offset)return;var range=doc.createRange();range.setStart(startMarker.node,startMarker.offset),selection.removeAllRanges(),start>end?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}(input,offsets)}(priorFocusedElem,priorSelectionRange);for(var ancestors=[],ancestor=priorFocusedElem;ancestor=ancestor.parentNode;)1===ancestor.nodeType&&ancestors.push({element:ancestor,left:ancestor.scrollLeft,top:ancestor.scrollTop});"function"==typeof priorFocusedElem.focus&&priorFocusedElem.focus();for(var i=0;i<ancestors.length;i++){var info=ancestors[i];info.element.scrollLeft=info.left,info.element.scrollTop=info.top}}}function getSelection$1(input){return("selectionStart"in input?{start:input.selectionStart,end:input.selectionEnd}:getOffsets(input))||{start:0,end:0}}var skipSelectionChangeEvent=canUseDOM&&"documentMode"in document&&document.documentMode<=11,eventTypes$3={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["blur","contextmenu","dragend","focus","keydown","keyup","mousedown","mouseup","selectionchange"]}},activeElement$1=null,activeElementInst$1=null,lastSelection=null,mouseDown=!1;function getEventTargetDocument(eventTarget){return eventTarget.window===eventTarget?eventTarget.document:9===eventTarget.nodeType?eventTarget:eventTarget.ownerDocument}function constructSelectEvent(nativeEvent,nativeEventTarget){var doc=getEventTargetDocument(nativeEventTarget);if(mouseDown||null==activeElement$1||activeElement$1!==getActiveElement(doc))return null;var currentSelection=function getSelection(node){if("selectionStart"in node&&hasSelectionCapabilities(node))return{start:node.selectionStart,end:node.selectionEnd};var selection=(node.ownerDocument&&node.ownerDocument.defaultView||window).getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset}}(activeElement$1);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent.getPooled(eventTypes$3.select,activeElementInst$1,nativeEvent,nativeEventTarget);return syntheticEvent.type="select",syntheticEvent.target=activeElement$1,accumulateTwoPhaseDispatches(syntheticEvent),syntheticEvent}return null}var SelectEventPlugin={eventTypes:eventTypes$3,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var doc=getEventTargetDocument(nativeEventTarget);if(!doc||!function isListeningToAllDependencies(registrationName,mountAt){for(var isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!isListening.hasOwnProperty(dependency)||!isListening[dependency])return!1}return!0}("onSelect",doc))return null;var targetNode=targetInst?getNodeFromInstance$1(targetInst):window;switch(topLevelType){case"focus":(isTextInputElement(targetNode)||"true"===targetNode.contentEditable)&&(activeElement$1=targetNode,activeElementInst$1=targetInst,lastSelection=null);break;case"blur":activeElement$1=null,activeElementInst$1=null,lastSelection=null;break;case"mousedown":mouseDown=!0;break;case"contextmenu":case"mouseup":case"dragend":return mouseDown=!1,constructSelectEvent(nativeEvent,nativeEventTarget);case"selectionchange":if(skipSelectionChangeEvent)break;case"keydown":case"keyup":return constructSelectEvent(nativeEvent,nativeEventTarget)}return null}};injection.injectEventPluginOrder(["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),function setComponentTree(getFiberCurrentPropsFromNodeImpl,getInstanceFromNodeImpl,getNodeFromInstanceImpl){getFiberCurrentPropsFromNode=getFiberCurrentPropsFromNodeImpl,getInstanceFromNode=getInstanceFromNodeImpl,(getNodeFromInstance=getNodeFromInstanceImpl)&&getInstanceFromNode||warningWithoutStack$1(!1,"EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}(getFiberCurrentPropsFromNode$1,getInstanceFromNode$1,getNodeFromInstance$1),injection.injectEventPluginsByName({SimpleEventPlugin:SimpleEventPlugin,EnterLeaveEventPlugin:EnterLeaveEventPlugin,ChangeEventPlugin:ChangeEventPlugin,SelectEventPlugin:SelectEventPlugin,BeforeInputEventPlugin:BeforeInputEventPlugin});var didWarnSelectedSetOnOption=!1,didWarnInvalidChild=!1;function validateProps(element,props){"object"==typeof props.children&&null!==props.children&&React.Children.forEach(props.children,(function(child){null!=child&&"string"!=typeof child&&"number"!=typeof child&&"string"==typeof child.type&&(didWarnInvalidChild||(didWarnInvalidChild=!0,warning$1(!1,"Only strings and numbers are supported as <option> children.")))})),null==props.selected||didWarnSelectedSetOnOption||(warning$1(!1,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),didWarnSelectedSetOnOption=!0)}function getHostProps$1(element,props){var hostProps=_assign({children:void 0},props),content=function flattenChildren(children){var content="";return React.Children.forEach(children,(function(child){null!=child&&(content+=child)})),content}(props.children);return content&&(hostProps.children=content),hostProps}var didWarnValueDefaultValue$1=void 0;function getDeclarationErrorAddendum(){var ownerName=getCurrentFiberOwnerNameInDevOrNull();return ownerName?"\n\nCheck the render method of `"+ownerName+"`.":""}didWarnValueDefaultValue$1=!1;var valuePropNames=["value","defaultValue"];function updateOptions(node,multiple,propValue,setDefaultSelected){var options=node.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i<selectedValues.length;i++)selectedValue["$"+selectedValues[i]]=!0;for(var _i=0;_i<options.length;_i++){var selected=selectedValue.hasOwnProperty("$"+options[_i].value);options[_i].selected!==selected&&(options[_i].selected=selected),selected&&setDefaultSelected&&(options[_i].defaultSelected=!0)}}else{for(var _selectedValue=toString(getToStringValue(propValue)),defaultSelected=null,_i2=0;_i2<options.length;_i2++){if(options[_i2].value===_selectedValue)return options[_i2].selected=!0,void(setDefaultSelected&&(options[_i2].defaultSelected=!0));null!==defaultSelected||options[_i2].disabled||(defaultSelected=options[_i2])}null!==defaultSelected&&(defaultSelected.selected=!0)}}function getHostProps$2(element,props){return _assign({},props,{value:void 0})}function initWrapperState$1(element,props){var node=element;!function checkSelectPropTypes(props){ReactControlledValuePropTypes.checkPropTypes("select",props);for(var i=0;i<valuePropNames.length;i++){var propName=valuePropNames[i];if(null!=props[propName]){var isArray=Array.isArray(props[propName]);props.multiple&&!isArray?warning$1(!1,"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum()):!props.multiple&&isArray&&warning$1(!1,"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}(props),node._wrapperState={wasMultiple:!!props.multiple},void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue$1||(warning$1(!1,"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValueDefaultValue$1=!0)}var didWarnValDefaultVal=!1;function getHostProps$3(element,props){var node=element;return null!=props.dangerouslySetInnerHTML&&invariant(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),_assign({},props,{value:void 0,defaultValue:void 0,children:toString(node._wrapperState.initialValue)})}function initWrapperState$2(element,props){var node=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props),void 0===props.value||void 0===props.defaultValue||didWarnValDefaultVal||(warning$1(!1,"%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(null==initialValue){var defaultValue=props.defaultValue,children=props.children;null!=children&&(warning$1(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=defaultValue&&invariant(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(children)&&(children.length<=1||invariant(!1,"<textarea> can only have at most one child."),children=children[0]),defaultValue=children),null==defaultValue&&(defaultValue=""),initialValue=defaultValue}node._wrapperState={initialValue:getToStringValue(initialValue)}}function updateWrapper$1(element,props){var node=element,value=getToStringValue(props.value),defaultValue=getToStringValue(props.defaultValue);if(null!=value){var newValue=toString(value);newValue!==node.value&&(node.value=newValue),null==props.defaultValue&&node.defaultValue!==newValue&&(node.defaultValue=newValue)}null!=defaultValue&&(node.defaultValue=toString(defaultValue))}function postMountWrapper$3(element,props){var node=element,textContent=node.textContent;textContent===node._wrapperState.initialValue&&(node.value=textContent)}var HTML_NAMESPACE$1="http://www.w3.org/1999/xhtml",SVG_NAMESPACE="http://www.w3.org/2000/svg",Namespaces_html=HTML_NAMESPACE$1,Namespaces_svg=SVG_NAMESPACE;function getIntrinsicNamespace(type){switch(type){case"svg":return SVG_NAMESPACE;case"math":return"http://www.w3.org/1998/Math/MathML";default:return HTML_NAMESPACE$1}}function getChildNamespace(parentNamespace,type){return null==parentNamespace||parentNamespace===HTML_NAMESPACE$1?getIntrinsicNamespace(type):parentNamespace===SVG_NAMESPACE&&"foreignObject"===type?HTML_NAMESPACE$1:parentNamespace}var func,reusableSVGContainer=void 0,setInnerHTML=(func=function(node,html){if(node.namespaceURI!==Namespaces_svg||"innerHTML"in node)node.innerHTML=html;else{(reusableSVGContainer=reusableSVGContainer||document.createElement("div")).innerHTML="<svg>"+html+"</svg>";for(var svgNode=reusableSVGContainer.firstChild;node.firstChild;)node.removeChild(node.firstChild);for(;svgNode.firstChild;)node.appendChild(svgNode.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(arg0,arg1,arg2,arg3){MSApp.execUnsafeLocalFunction((function(){return func(arg0,arg1,arg2,arg3)}))}:func),setTextContent=function(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&3===firstChild.nodeType)return void(firstChild.nodeValue=text)}node.textContent=text},isUnitlessNumber={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var prefixes=["Webkit","ms","Moz","O"];function dangerousStyleValue(name,value,isCustomProperty){return null==value||"boolean"==typeof value||""===value?"":isCustomProperty||"number"!=typeof value||0===value||isUnitlessNumber.hasOwnProperty(name)&&isUnitlessNumber[name]?(""+value).trim():value+"px"}Object.keys(isUnitlessNumber).forEach((function(prop){prefixes.forEach((function(prefix){isUnitlessNumber[function prefixKey(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1)}(prefix,prop)]=isUnitlessNumber[prop]}))}));var uppercasePattern=/([A-Z])/g,msPattern=/^ms-/;var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,msPattern$1=/^-ms-/,hyphenPattern=/-(.)/g,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnedForInfinityValue=!1,warnHyphenatedStyleName=function(name){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning$1(!1,"Unsupported style property %s. Did you mean %s?",name,name.replace(msPattern$1,"ms-").replace(hyphenPattern,(function(_,character){return character.toUpperCase()}))))},warnValidStyle$1=function(name,value){name.indexOf("-")>-1?warnHyphenatedStyleName(name):badVendoredStyleNamePattern.test(name)?function(name){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning$1(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",name,name.charAt(0).toUpperCase()+name.slice(1)))}(name):badStyleValueWithSemicolonPattern.test(value)&&function(name,value){warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]||(warnedStyleValues[value]=!0,warning$1(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',name,value.replace(badStyleValueWithSemicolonPattern,"")))}(name,value),"number"==typeof value&&(isNaN(value)?function(name,value){warnedForNaNValue||(warnedForNaNValue=!0,warning$1(!1,"`NaN` is an invalid value for the `%s` css style property.",name))}(name):isFinite(value)||function(name,value){warnedForInfinityValue||(warnedForInfinityValue=!0,warning$1(!1,"`Infinity` is an invalid value for the `%s` css style property.",name))}(name))};function createDangerousStringForStyles(styles){var serialized="",delimiter="";for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var styleValue=styles[styleName];if(null!=styleValue){var isCustomProperty=0===styleName.indexOf("--");serialized+=delimiter+styleName.replace(uppercasePattern,"-$1").toLowerCase().replace(msPattern,"-ms-")+":",serialized+=dangerousStyleValue(styleName,styleValue,isCustomProperty),delimiter=";"}}return serialized||null}function setValueForStyles(node,styles){var style=node.style;for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var isCustomProperty=0===styleName.indexOf("--");isCustomProperty||warnValidStyle$1(styleName,styles[styleName]);var styleValue=dangerousStyleValue(styleName,styles[styleName],isCustomProperty);"float"===styleName&&(styleName="cssFloat"),isCustomProperty?style.setProperty(styleName,styleValue):style[styleName]=styleValue}}var voidElementTags=_assign({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ReactDebugCurrentFrame$2=null;function assertValidProps(tag,props){props&&(voidElementTags[tag]&&(null!=props.children||null!=props.dangerouslySetInnerHTML)&&invariant(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",tag,ReactDebugCurrentFrame$2.getStackAddendum()),null!=props.dangerouslySetInnerHTML&&(null!=props.children&&invariant(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof props.dangerouslySetInnerHTML&&"__html"in props.dangerouslySetInnerHTML||invariant(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),!props.suppressContentEditableWarning&&props.contentEditable&&null!=props.children&&warning$1(!1,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=props.style&&"object"!=typeof props.style&&invariant(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",ReactDebugCurrentFrame$2.getStackAddendum()))}function isCustomComponent(tagName,props){if(-1===tagName.indexOf("-"))return"string"==typeof props.is;switch(tagName){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}ReactDebugCurrentFrame$2=ReactSharedInternals.ReactDebugCurrentFrame;var possibleStandardNames={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},ariaProperties={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},warnedProperties={},rARIA=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty$2=Object.prototype.hasOwnProperty;function validateProperty(tagName,name){if(hasOwnProperty$2.call(warnedProperties,name)&&warnedProperties[name])return!0;if(rARIACamel.test(name)){var ariaName="aria-"+name.slice(4).toLowerCase(),correctName=ariaProperties.hasOwnProperty(ariaName)?ariaName:null;if(null==correctName)return warning$1(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",name),warnedProperties[name]=!0,!0;if(name!==correctName)return warning$1(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?",name,correctName),warnedProperties[name]=!0,!0}if(rARIA.test(name)){var lowerCasedName=name.toLowerCase(),standardName=ariaProperties.hasOwnProperty(lowerCasedName)?lowerCasedName:null;if(null==standardName)return warnedProperties[name]=!0,!1;if(name!==standardName)return warning$1(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?",name,standardName),warnedProperties[name]=!0,!0}return!0}function validateProperties(type,props){isCustomComponent(type,props)||function warnInvalidARIAProps(type,props){var invalidProps=[];for(var key in props)validateProperty(0,key)||invalidProps.push(key);var unknownPropString=invalidProps.map((function(prop){return"`"+prop+"`"})).join(", ");1===invalidProps.length?warning$1(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",unknownPropString,type):invalidProps.length>1&&warning$1(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",unknownPropString,type)}(type,props)}var didWarnValueNull=!1;var validateProperty$1,warnedProperties$1={},_hasOwnProperty=Object.prototype.hasOwnProperty,EVENT_NAME_REGEX=/^on./,INVALID_EVENT_NAME_REGEX=/^on[^A-Z]/,rARIA$1=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel$1=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$");validateProperty$1=function(tagName,name,value,canUseEventSystem){if(_hasOwnProperty.call(warnedProperties$1,name)&&warnedProperties$1[name])return!0;var lowerCasedName=name.toLowerCase();if("onfocusin"===lowerCasedName||"onfocusout"===lowerCasedName)return warning$1(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),warnedProperties$1[name]=!0,!0;if(canUseEventSystem){if(registrationNameModules.hasOwnProperty(name))return!0;var registrationName=possibleRegistrationNames.hasOwnProperty(lowerCasedName)?possibleRegistrationNames[lowerCasedName]:null;if(null!=registrationName)return warning$1(!1,"Invalid event handler property `%s`. Did you mean `%s`?",name,registrationName),warnedProperties$1[name]=!0,!0;if(EVENT_NAME_REGEX.test(name))return warning$1(!1,"Unknown event handler property `%s`. It will be ignored.",name),warnedProperties$1[name]=!0,!0}else if(EVENT_NAME_REGEX.test(name))return INVALID_EVENT_NAME_REGEX.test(name)&&warning$1(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",name),warnedProperties$1[name]=!0,!0;if(rARIA$1.test(name)||rARIACamel$1.test(name))return!0;if("innerhtml"===lowerCasedName)return warning$1(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),warnedProperties$1[name]=!0,!0;if("aria"===lowerCasedName)return warning$1(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),warnedProperties$1[name]=!0,!0;if("is"===lowerCasedName&&null!=value&&"string"!=typeof value)return warning$1(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof value),warnedProperties$1[name]=!0,!0;if("number"==typeof value&&isNaN(value))return warning$1(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",name),warnedProperties$1[name]=!0,!0;var propertyInfo=getPropertyInfo(name),isReserved=null!==propertyInfo&&0===propertyInfo.type;if(possibleStandardNames.hasOwnProperty(lowerCasedName)){var standardName=possibleStandardNames[lowerCasedName];if(standardName!==name)return warning$1(!1,"Invalid DOM property `%s`. Did you mean `%s`?",name,standardName),warnedProperties$1[name]=!0,!0}else if(!isReserved&&name!==lowerCasedName)return warning$1(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",name,lowerCasedName),warnedProperties$1[name]=!0,!0;return"boolean"==typeof value&&shouldRemoveAttributeWithWarning(name,value,propertyInfo,!1)?(value?warning$1(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',value,name,name,value,name):warning$1(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',value,name,name,value,name,name,name),warnedProperties$1[name]=!0,!0):!!isReserved||(shouldRemoveAttributeWithWarning(name,value,propertyInfo,!1)?(warnedProperties$1[name]=!0,!1):("false"!==value&&"true"!==value||null===propertyInfo||3!==propertyInfo.type||(warning$1(!1,"Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",value,name,"false"===value?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',name,value),warnedProperties$1[name]=!0),!0))};function validateProperties$2(type,props,canUseEventSystem){isCustomComponent(type,props)||function(type,props,canUseEventSystem){var unknownProps=[];for(var key in props)validateProperty$1(0,key,props[key],canUseEventSystem)||unknownProps.push(key);var unknownPropString=unknownProps.map((function(prop){return"`"+prop+"`"})).join(", ");1===unknownProps.length?warning$1(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",unknownPropString,type):unknownProps.length>1&&warning$1(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",unknownPropString,type)}(type,props,canUseEventSystem)}var validatePropertiesInDevelopment,warnForTextDifference,warnForPropDifference,warnForExtraAttributes,warnForInvalidEventListener,canDiffStyleForHydrationWarning,normalizeMarkupForTextOrAttribute,normalizeHTML,didWarnInvalidHydration=!1,didWarnShadyDOM=!1,HTML="__html",HTML_NAMESPACE=Namespaces_html,warnedUnknownTags=void 0,suppressHydrationWarning=void 0;warnedUnknownTags={time:!0,dialog:!0,webview:!0},validatePropertiesInDevelopment=function(type,props){validateProperties(type,props),function validateProperties$1(type,props){"input"!==type&&"textarea"!==type&&"select"!==type||null==props||null!==props.value||didWarnValueNull||(didWarnValueNull=!0,"select"===type&&props.multiple?warning$1(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",type):warning$1(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",type))}(type,props),validateProperties$2(type,props,!0)},canDiffStyleForHydrationWarning=canUseDOM&&!document.documentMode;var NORMALIZE_NEWLINES_REGEX=/\r\n?/g,NORMALIZE_NULL_AND_REPLACEMENT_REGEX=/\u0000|\uFFFD/g;function ensureListeningTo(rootContainerElement,registrationName){!function listenTo(registrationName,mountAt){for(var isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!isListening.hasOwnProperty(dependency)||!isListening[dependency]){switch(dependency){case"scroll":trapCapturedEvent("scroll",mountAt);break;case"focus":case"blur":trapCapturedEvent("focus",mountAt),trapCapturedEvent("blur",mountAt),isListening.blur=!0,isListening.focus=!0;break;case"cancel":case"close":isEventSupported(dependency)&&trapCapturedEvent(dependency,mountAt);break;case"invalid":case"submit":case"reset":break;default:-1!==mediaEventTypes.indexOf(dependency)||trapBubbledEvent(dependency,mountAt)}isListening[dependency]=!0}}}(registrationName,9===rootContainerElement.nodeType||11===rootContainerElement.nodeType?rootContainerElement:rootContainerElement.ownerDocument)}function getOwnerDocumentFromRootContainer(rootContainerElement){return 9===rootContainerElement.nodeType?rootContainerElement:rootContainerElement.ownerDocument}function noop(){}function trapClickOnNonInteractiveElement(node){node.onclick=noop}function setInitialProperties(domElement,tag,rawProps,rootContainerElement){var isCustomComponentTag=isCustomComponent(tag,rawProps);validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning$1(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnShadyDOM=!0);var props=void 0;switch(tag){case"iframe":case"object":trapBubbledEvent("load",domElement),props=rawProps;break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);props=rawProps;break;case"source":trapBubbledEvent("error",domElement),props=rawProps;break;case"img":case"image":case"link":trapBubbledEvent("error",domElement),trapBubbledEvent("load",domElement),props=rawProps;break;case"form":trapBubbledEvent("reset",domElement),trapBubbledEvent("submit",domElement),props=rawProps;break;case"details":trapBubbledEvent("toggle",domElement),props=rawProps;break;case"input":initWrapperState(domElement,rawProps),props=getHostProps(domElement,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps),props=getHostProps$1(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),props=getHostProps$2(0,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),props=getHostProps$3(domElement,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;default:props=rawProps}switch(assertValidProps(tag,props),function setInitialDOMProperties(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if("style"===propKey)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp);else if("dangerouslySetInnerHTML"===propKey){var nextHtml=nextProp?nextProp[HTML]:void 0;null!=nextHtml&&setInnerHTML(domElement,nextHtml)}else"children"===propKey?"string"==typeof nextProp?("textarea"!==tag||""!==nextProp)&&setTextContent(domElement,nextProp):"number"==typeof nextProp&&setTextContent(domElement,""+nextProp):"suppressContentEditableWarning"===propKey||"suppressHydrationWarning"===propKey||"autoFocus"===propKey||(registrationNameModules.hasOwnProperty(propKey)?null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):null!=nextProp&&setValueForProperty(domElement,propKey,nextProp,isCustomComponentTag))}}(tag,domElement,rootContainerElement,props,isCustomComponentTag),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!1);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"option":!function postMountWrapper$1(element,props){null!=props.value&&element.setAttribute("value",toString(getToStringValue(props.value)))}(domElement,rawProps);break;case"select":!function postMountWrapper$2(element,props){var node=element;node.multiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):null!=props.defaultValue&&updateOptions(node,!!props.multiple,props.defaultValue,!0)}(domElement,rawProps);break;default:"function"==typeof props.onClick&&trapClickOnNonInteractiveElement(domElement)}}function updateProperties(domElement,updatePayload,tag,lastRawProps,nextRawProps){"input"===tag&&"radio"===nextRawProps.type&&null!=nextRawProps.name&&updateChecked(domElement,nextRawProps);isCustomComponent(tag,lastRawProps);switch(function updateDOMProperties(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];"style"===propKey?setValueForStyles(domElement,propValue):"dangerouslySetInnerHTML"===propKey?setInnerHTML(domElement,propValue):"children"===propKey?setTextContent(domElement,propValue):setValueForProperty(domElement,propKey,propValue,isCustomComponentTag)}}(domElement,updatePayload,0,isCustomComponent(tag,nextRawProps)),tag){case"input":updateWrapper(domElement,nextRawProps);break;case"textarea":updateWrapper$1(domElement,nextRawProps);break;case"select":!function postUpdateWrapper(element,props){var node=element,wasMultiple=node._wrapperState.wasMultiple;node._wrapperState.wasMultiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):wasMultiple!==!!props.multiple&&(null!=props.defaultValue?updateOptions(node,!!props.multiple,props.defaultValue,!0):updateOptions(node,!!props.multiple,props.multiple?[]:"",!1))}(domElement,nextRawProps)}}function warnForUnmatchedText(textNode,text){warnForTextDifference(textNode.nodeValue,text)}function warnForDeletedHydratableElement(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,"Did not expect server HTML to contain a <%s> in <%s>.",child.nodeName.toLowerCase(),parentNode.nodeName.toLowerCase()))}function warnForDeletedHydratableText(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,'Did not expect server HTML to contain the text node "%s" in <%s>.',child.nodeValue,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedElement(parentNode,tag,props){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,"Expected server HTML to contain a matching <%s> in <%s>.",tag,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedText(parentNode,text){""!==text&&(didWarnInvalidHydration||(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,'Expected server HTML to contain a matching text node for "%s" in <%s>.',text,parentNode.nodeName.toLowerCase())))}normalizeMarkupForTextOrAttribute=function(markup){return("string"==typeof markup?markup:""+markup).replace(NORMALIZE_NEWLINES_REGEX,"\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,'Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,warningWithoutStack$1(!1,"Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach((function(name){names.push(name)})),warningWithoutStack$1(!1,"Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){!1===listener?warning$1(!1,"Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",registrationName,registrationName,registrationName):warning$1(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener)},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML};var validateDOMNesting,updatedAncestorInfo,specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};updatedAncestorInfo=function(oldInfo,tag){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag:tag};return-1!==inScopeTags.indexOf(tag)&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),-1!==buttonScopeTags.indexOf(tag)&&(ancestorInfo.pTagInButtonScope=null),-1!==specialTags.indexOf(tag)&&"address"!==tag&&"div"!==tag&&"p"!==tag&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,"form"===tag&&(ancestorInfo.formTag=info),"a"===tag&&(ancestorInfo.aTagInScope=info),"button"===tag&&(ancestorInfo.buttonTagInScope=info),"nobr"===tag&&(ancestorInfo.nobrTagInScope=info),"p"===tag&&(ancestorInfo.pTagInButtonScope=info),"li"===tag&&(ancestorInfo.listItemTagAutoclosing=info),"dd"!==tag&&"dt"!==tag||(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo};var didWarn={};validateDOMNesting=function(childTag,childText,ancestorInfo){var parentInfo=(ancestorInfo=ancestorInfo||emptyAncestorInfo).current,parentTag=parentInfo&&parentInfo.tag;null!=childText&&(null!=childTag&&warningWithoutStack$1(!1,"validateDOMNesting: when childText is passed, childTag should be null"),childTag="#text");var invalidParent=function(tag,parentTag){switch(parentTag){case"select":return"option"===tag||"optgroup"===tag||"#text"===tag;case"optgroup":return"option"===tag||"#text"===tag;case"option":return"#text"===tag;case"tr":return"th"===tag||"td"===tag||"style"===tag||"script"===tag||"template"===tag;case"tbody":case"thead":case"tfoot":return"tr"===tag||"style"===tag||"script"===tag||"template"===tag;case"colgroup":return"col"===tag||"template"===tag;case"table":return"caption"===tag||"colgroup"===tag||"tbody"===tag||"tfoot"===tag||"thead"===tag||"style"===tag||"script"===tag||"template"===tag;case"head":return"base"===tag||"basefont"===tag||"bgsound"===tag||"link"===tag||"meta"===tag||"title"===tag||"noscript"===tag||"noframes"===tag||"style"===tag||"script"===tag||"template"===tag;case"html":return"head"===tag||"body"===tag;case"#document":return"html"===tag}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==parentTag&&"h2"!==parentTag&&"h3"!==parentTag&&"h4"!==parentTag&&"h5"!==parentTag&&"h6"!==parentTag;case"rp":case"rt":return-1===impliedEndTags.indexOf(parentTag);case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==parentTag}return!0}(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null}(childTag,ancestorInfo),invalidParentOrAncestor=invalidParent||invalidAncestor;if(invalidParentOrAncestor){var ancestorTag=invalidParentOrAncestor.tag,addendum=getCurrentFiberStackInDev(),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+addendum;if(!didWarn[warnKey]){didWarn[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if("#text"===childTag?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";"table"===ancestorTag&&"tr"===childTag&&(info+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),warningWithoutStack$1(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s",tagDisplayName,ancestorTag,whitespaceInfo,info,addendum)}else warningWithoutStack$1(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s",tagDisplayName,ancestorTag,addendum)}}};var eventsEnabled=null,selectionInformation=null;function shouldAutoFocusHostComponent(type,props){switch(type){case"button":case"input":case"select":case"textarea":return!!props.autoFocus}return!1}function prepareForCommit(containerInfo){eventsEnabled=function isEnabled(){return _enabled}(),selectionInformation=function getSelectionInformation(){var focusedElem=getActiveElementDeep();return{focusedElem:focusedElem,selectionRange:hasSelectionCapabilities(focusedElem)?getSelection$1(focusedElem):null}}(),setEnabled(!1)}function createInstance(type,props,rootContainerInstance,hostContext,internalInstanceHandle){var hostContextDev=hostContext;if(validateDOMNesting(type,null,hostContextDev.ancestorInfo),"string"==typeof props.children||"number"==typeof props.children){var string=""+props.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}var domElement=function createElement(type,props,rootContainerElement,parentNamespace){var isCustomComponentTag=void 0,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerElement),domElement=void 0,namespaceURI=parentNamespace;if(namespaceURI===HTML_NAMESPACE&&(namespaceURI=getIntrinsicNamespace(type)),namespaceURI===HTML_NAMESPACE)if((isCustomComponentTag=isCustomComponent(type,props))||type===type.toLowerCase()||warning$1(!1,"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",type),"script"===type){var div=ownerDocument.createElement("div");div.innerHTML="<script><\/script>";var firstChild=div.firstChild;domElement=div.removeChild(firstChild)}else"string"==typeof props.is?domElement=ownerDocument.createElement(type,{is:props.is}):(domElement=ownerDocument.createElement(type),"select"===type&&props.multiple&&(domElement.multiple=!0));else domElement=ownerDocument.createElementNS(namespaceURI,type);return namespaceURI===HTML_NAMESPACE&&(isCustomComponentTag||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(domElement)||Object.prototype.hasOwnProperty.call(warnedUnknownTags,type)||(warnedUnknownTags[type]=!0,warning$1(!1,"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",type))),domElement}(type,props,rootContainerInstance,hostContextDev.namespace);return precacheFiberNode(internalInstanceHandle,domElement),updateFiberProps(domElement,props),domElement}function appendInitialChild(parentInstance,child){parentInstance.appendChild(child)}function finalizeInitialChildren(domElement,type,props,rootContainerInstance,hostContext){return setInitialProperties(domElement,type,props,rootContainerInstance),shouldAutoFocusHostComponent(type,props)}function prepareUpdate(domElement,type,oldProps,newProps,rootContainerInstance,hostContext){var hostContextDev=hostContext;if(typeof newProps.children!=typeof oldProps.children&&("string"==typeof newProps.children||"number"==typeof newProps.children)){var string=""+newProps.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type);validateDOMNesting(null,string,ownAncestorInfo)}return function diffProperties(domElement,tag,lastRawProps,nextRawProps,rootContainerElement){validatePropertiesInDevelopment(tag,nextRawProps);var updatePayload=null,lastProps=void 0,nextProps=void 0;switch(tag){case"input":lastProps=getHostProps(domElement,lastRawProps),nextProps=getHostProps(domElement,nextRawProps),updatePayload=[];break;case"option":lastProps=getHostProps$1(0,lastRawProps),nextProps=getHostProps$1(0,nextRawProps),updatePayload=[];break;case"select":lastProps=getHostProps$2(0,lastRawProps),nextProps=getHostProps$2(0,nextRawProps),updatePayload=[];break;case"textarea":lastProps=getHostProps$3(domElement,lastRawProps),nextProps=getHostProps$3(domElement,nextRawProps),updatePayload=[];break;default:nextProps=nextRawProps,"function"!=typeof(lastProps=lastRawProps).onClick&&"function"==typeof nextProps.onClick&&trapClickOnNonInteractiveElement(domElement)}assertValidProps(tag,nextProps);var propKey=void 0,styleName=void 0,styleUpdates=null;for(propKey in lastProps)if(!nextProps.hasOwnProperty(propKey)&&lastProps.hasOwnProperty(propKey)&&null!=lastProps[propKey])if("style"===propKey){var lastStyle=lastProps[propKey];for(styleName in lastStyle)lastStyle.hasOwnProperty(styleName)&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="")}else"dangerouslySetInnerHTML"===propKey||"children"===propKey||"suppressContentEditableWarning"===propKey||"suppressHydrationWarning"===propKey||"autoFocus"===propKey||(registrationNameModules.hasOwnProperty(propKey)?updatePayload||(updatePayload=[]):(updatePayload=updatePayload||[]).push(propKey,null));for(propKey in nextProps){var nextProp=nextProps[propKey],lastProp=null!=lastProps?lastProps[propKey]:void 0;if(nextProps.hasOwnProperty(propKey)&&nextProp!==lastProp&&(null!=nextProp||null!=lastProp))if("style"===propKey)if(nextProp&&Object.freeze(nextProp),lastProp){for(styleName in lastProp)!lastProp.hasOwnProperty(styleName)||nextProp&&nextProp.hasOwnProperty(styleName)||(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="");for(styleName in nextProp)nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]=nextProp[styleName])}else styleUpdates||(updatePayload||(updatePayload=[]),updatePayload.push(propKey,styleUpdates)),styleUpdates=nextProp;else if("dangerouslySetInnerHTML"===propKey){var nextHtml=nextProp?nextProp[HTML]:void 0,lastHtml=lastProp?lastProp[HTML]:void 0;null!=nextHtml&&lastHtml!==nextHtml&&(updatePayload=updatePayload||[]).push(propKey,""+nextHtml)}else"children"===propKey?lastProp===nextProp||"string"!=typeof nextProp&&"number"!=typeof nextProp||(updatePayload=updatePayload||[]).push(propKey,""+nextProp):"suppressContentEditableWarning"===propKey||"suppressHydrationWarning"===propKey||(registrationNameModules.hasOwnProperty(propKey)?(null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)),updatePayload||lastProp===nextProp||(updatePayload=[])):(updatePayload=updatePayload||[]).push(propKey,nextProp))}return styleUpdates&&(updatePayload=updatePayload||[]).push("style",styleUpdates),updatePayload}(domElement,type,oldProps,newProps,rootContainerInstance)}function shouldSetTextContent(type,props){return"textarea"===type||"option"===type||"noscript"===type||"string"==typeof props.children||"number"==typeof props.children||"object"==typeof props.dangerouslySetInnerHTML&&null!==props.dangerouslySetInnerHTML&&null!=props.dangerouslySetInnerHTML.__html}function createTextInstance(text,rootContainerInstance,hostContext,internalInstanceHandle){validateDOMNesting(null,text,hostContext.ancestorInfo);var textNode=function createTextNode(text,rootContainerElement){return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text)}(text,rootContainerInstance);return precacheFiberNode(internalInstanceHandle,textNode),textNode}var scheduleTimeout="function"==typeof setTimeout?setTimeout:void 0,cancelTimeout="function"==typeof clearTimeout?clearTimeout:void 0;function resetTextContent(domElement){setTextContent(domElement,"")}function appendChild(parentInstance,child){parentInstance.appendChild(child)}function appendChildToContainer(container,child){var parentNode=void 0;8===container.nodeType?(parentNode=container.parentNode).insertBefore(child,container):(parentNode=container).appendChild(child);var reactRootContainer=container._reactRootContainer;null==reactRootContainer&&null===parentNode.onclick&&trapClickOnNonInteractiveElement(parentNode)}function insertBefore(parentInstance,child,beforeChild){parentInstance.insertBefore(child,beforeChild)}function removeChild(parentInstance,child){parentInstance.removeChild(child)}function hideInstance(instance){(instance=instance).style.display="none"}function unhideInstance(instance,props){instance=instance;var styleProp=props.style,display=null!=styleProp&&styleProp.hasOwnProperty("display")?styleProp.display:null;instance.style.display=dangerousStyleValue("display",display)}function unhideTextInstance(textInstance,text){textInstance.nodeValue=text}function getNextHydratableSibling(instance){for(var node=instance.nextSibling;node&&1!==node.nodeType&&3!==node.nodeType;)node=node.nextSibling;return node}function getFirstHydratableChild(parentInstance){for(var next=parentInstance.firstChild;next&&1!==next.nodeType&&3!==next.nodeType;)next=next.nextSibling;return next}function hydrateInstance(instance,type,props,rootContainerInstance,hostContext,internalInstanceHandle){precacheFiberNode(internalInstanceHandle,instance),updateFiberProps(instance,props);return function diffHydratedProperties(domElement,tag,rawProps,parentNamespace,rootContainerElement){var isCustomComponentTag,extraAttributeNames=void 0;switch(suppressHydrationWarning=!0===rawProps.suppressHydrationWarning,isCustomComponentTag=isCustomComponent(tag,rawProps),validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning$1(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnShadyDOM=!0),tag){case"iframe":case"object":trapBubbledEvent("load",domElement);break;case"video":case"audio":for(var i=0;i<mediaEventTypes.length;i++)trapBubbledEvent(mediaEventTypes[i],domElement);break;case"source":trapBubbledEvent("error",domElement);break;case"img":case"image":case"link":trapBubbledEvent("error",domElement),trapBubbledEvent("load",domElement);break;case"form":trapBubbledEvent("reset",domElement),trapBubbledEvent("submit",domElement);break;case"details":trapBubbledEvent("toggle",domElement);break;case"input":initWrapperState(domElement,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),trapBubbledEvent("invalid",domElement),ensureListeningTo(rootContainerElement,"onChange")}assertValidProps(tag,rawProps),extraAttributeNames=new Set;for(var attributes=domElement.attributes,_i=0;_i<attributes.length;_i++)switch(attributes[_i].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:extraAttributeNames.add(attributes[_i].name)}var lowerCasedName,updatePayload=null;for(var propKey in rawProps)if(rawProps.hasOwnProperty(propKey)){var nextProp=rawProps[propKey];if("children"===propKey)"string"==typeof nextProp?domElement.textContent!==nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=["children",nextProp]):"number"==typeof nextProp&&domElement.textContent!==""+nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=["children",""+nextProp]);else if(registrationNameModules.hasOwnProperty(propKey))null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey));else if("boolean"==typeof isCustomComponentTag){var serverValue=void 0,propertyInfo=getPropertyInfo(propKey);if(suppressHydrationWarning);else if("suppressContentEditableWarning"===propKey||"suppressHydrationWarning"===propKey||"value"===propKey||"checked"===propKey||"selected"===propKey);else if("dangerouslySetInnerHTML"===propKey){var serverHTML=domElement.innerHTML,nextHtml=nextProp?nextProp[HTML]:void 0,expectedHTML=normalizeHTML(domElement,null!=nextHtml?nextHtml:"");expectedHTML!==serverHTML&&warnForPropDifference(propKey,serverHTML,expectedHTML)}else if("style"===propKey){if(extraAttributeNames.delete(propKey),canDiffStyleForHydrationWarning){var expectedStyle=createDangerousStringForStyles(nextProp);expectedStyle!==(serverValue=domElement.getAttribute("style"))&&warnForPropDifference(propKey,serverValue,expectedStyle)}}else if(isCustomComponentTag)extraAttributeNames.delete(propKey.toLowerCase()),nextProp!==(serverValue=getValueForAttribute(domElement,propKey,nextProp))&&warnForPropDifference(propKey,serverValue,nextProp);else if(!shouldIgnoreAttribute(propKey,propertyInfo,isCustomComponentTag)&&!shouldRemoveAttribute(propKey,nextProp,propertyInfo,isCustomComponentTag)){var isMismatchDueToBadCasing=!1;if(null!==propertyInfo)extraAttributeNames.delete(propertyInfo.attributeName),serverValue=getValueForProperty(domElement,propKey,nextProp,propertyInfo);else{var ownNamespace=parentNamespace;if(ownNamespace===HTML_NAMESPACE&&(ownNamespace=getIntrinsicNamespace(tag)),ownNamespace===HTML_NAMESPACE)extraAttributeNames.delete(propKey.toLowerCase());else{var standardName=(lowerCasedName=void 0,lowerCasedName=propKey.toLowerCase(),possibleStandardNames.hasOwnProperty(lowerCasedName)&&possibleStandardNames[lowerCasedName]||null);null!==standardName&&standardName!==propKey&&(isMismatchDueToBadCasing=!0,extraAttributeNames.delete(standardName)),extraAttributeNames.delete(propKey)}serverValue=getValueForAttribute(domElement,propKey,nextProp)}nextProp===serverValue||isMismatchDueToBadCasing||warnForPropDifference(propKey,serverValue,nextProp)}}}switch(extraAttributeNames.size>0&&!suppressHydrationWarning&&warnForExtraAttributes(extraAttributeNames),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps,!0);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"select":case"option":break;default:"function"==typeof rawProps.onClick&&trapClickOnNonInteractiveElement(domElement)}return updatePayload}(instance,type,props,hostContext.namespace,rootContainerInstance)}var supportsUserTiming="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,currentFiber=null,currentPhase=null,currentPhaseFiber=null,isCommitting=!1,hasScheduledUpdateInCurrentCommit=!1,hasScheduledUpdateInCurrentPhase=!1,commitCountInCurrentWorkLoop=0,effectCountInCurrentCommit=0,isWaitingForCallback=!1,labelsInCurrentCommit=new Set,formatMarkName=function(markName){return"⚛ "+markName},beginMark=function(markName){performance.mark(formatMarkName(markName))},endMark=function(label,markName,warning){var formattedMarkName=formatMarkName(markName),formattedLabel=function(label,warning){return(warning?"⛔ ":"⚛ ")+label+(warning?" Warning: "+warning:"")}(label,warning);try{performance.measure(formattedLabel,formattedMarkName)}catch(err){}performance.clearMarks(formattedMarkName),performance.clearMeasures(formattedLabel)},getFiberMarkName=function(label,debugID){return label+" (#"+debugID+")"},getFiberLabel=function(componentName,isMounted,phase){return null===phase?componentName+" ["+(isMounted?"update":"mount")+"]":componentName+"."+phase},beginFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);if(isCommitting&&labelsInCurrentCommit.has(label))return!1;labelsInCurrentCommit.add(label);var markName=getFiberMarkName(label,debugID);return beginMark(markName),!0},clearFiberMark=function(fiber,phase){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);!function(markName){performance.clearMarks(formatMarkName(markName))}(getFiberMarkName(label,debugID))},endFiberMark=function(fiber,phase,warning){var componentName=getComponentName(fiber.type)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase),markName=getFiberMarkName(label,debugID);endMark(label,markName,warning)},shouldIgnoreFiber=function(fiber){switch(fiber.tag){case 3:case 5:case 6:case 4:case 7:case 10:case 9:case 8:return!0;default:return!1}},resumeTimersRecursively=function(fiber){null!==fiber.return&&resumeTimersRecursively(fiber.return),fiber._debugIsCurrentlyTiming&&beginFiberMark(fiber,null)};function recordEffect(){effectCountInCurrentCommit++}function startWorkTimer(fiber){supportsUserTiming&&!shouldIgnoreFiber(fiber)&&(currentFiber=fiber,beginFiberMark(fiber,null)&&(fiber._debugIsCurrentlyTiming=!0))}function cancelWorkTimer(fiber){supportsUserTiming&&!shouldIgnoreFiber(fiber)&&(fiber._debugIsCurrentlyTiming=!1,clearFiberMark(fiber,null))}function stopWorkTimer(fiber){supportsUserTiming&&!shouldIgnoreFiber(fiber)&&(currentFiber=fiber.return,fiber._debugIsCurrentlyTiming&&(fiber._debugIsCurrentlyTiming=!1,endFiberMark(fiber,null,null)))}function stopFailedWorkTimer(fiber){if(supportsUserTiming&&!shouldIgnoreFiber(fiber)&&(currentFiber=fiber.return,fiber._debugIsCurrentlyTiming)){fiber._debugIsCurrentlyTiming=!1;var warning=13===fiber.tag?"Rendering was suspended":"An error was thrown inside this error boundary";endFiberMark(fiber,null,warning)}}function startPhaseTimer(fiber,phase){supportsUserTiming&&(null!==currentPhase&&null!==currentPhaseFiber&&clearFiberMark(currentPhaseFiber,currentPhase),currentPhaseFiber=null,currentPhase=null,hasScheduledUpdateInCurrentPhase=!1,beginFiberMark(fiber,phase)&&(currentPhaseFiber=fiber,currentPhase=phase))}function stopPhaseTimer(){supportsUserTiming&&(null!==currentPhase&&null!==currentPhaseFiber&&endFiberMark(currentPhaseFiber,currentPhase,hasScheduledUpdateInCurrentPhase?"Scheduled a cascading update":null),currentPhase=null,currentPhaseFiber=null)}function startWorkLoopTimer(nextUnitOfWork){currentFiber=nextUnitOfWork,supportsUserTiming&&(commitCountInCurrentWorkLoop=0,beginMark("(React Tree Reconciliation)"),null!==currentFiber&&resumeTimersRecursively(currentFiber))}function stopWorkLoopTimer(interruptedBy,didCompleteRoot){if(supportsUserTiming){var warning=null;null!==interruptedBy?warning=3===interruptedBy.tag?"A top-level update interrupted the previous render":"An update to "+(getComponentName(interruptedBy.type)||"Unknown")+" interrupted the previous render":commitCountInCurrentWorkLoop>1&&(warning="There were cascading updates"),commitCountInCurrentWorkLoop=0;var label=didCompleteRoot?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";!function(){for(var fiber=currentFiber;fiber;)fiber._debugIsCurrentlyTiming&&endFiberMark(fiber,null,null),fiber=fiber.return}(),endMark(label,"(React Tree Reconciliation)",warning)}}var valueStack=[],fiberStack=void 0;fiberStack=[];var index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor,fiber){index<0?warningWithoutStack$1(!1,"Unexpected pop."):(fiber!==fiberStack[index]&&warningWithoutStack$1(!1,"Unexpected Fiber popped."),cursor.current=valueStack[index],valueStack[index]=null,fiberStack[index]=null,index--)}function push(cursor,value,fiber){index++,valueStack[index]=cursor.current,fiberStack[index]=fiber,cursor.current=value}var warnedAboutMissingGetChildContext=void 0;warnedAboutMissingGetChildContext={};var emptyContextObject={};Object.freeze(emptyContextObject);var contextStackCursor=createCursor(emptyContextObject),didPerformWorkStackCursor=createCursor(!1),previousContext=emptyContextObject;function getUnmaskedContext(workInProgress,Component,didPushOwnContextIfProvider){return didPushOwnContextIfProvider&&isContextProvider(Component)?previousContext:contextStackCursor.current}function cacheContext(workInProgress,unmaskedContext,maskedContext){var instance=workInProgress.stateNode;instance.__reactInternalMemoizedUnmaskedChildContext=unmaskedContext,instance.__reactInternalMemoizedMaskedChildContext=maskedContext}function getMaskedContext(workInProgress,unmaskedContext){var type=workInProgress.type,contextTypes=type.contextTypes;if(!contextTypes)return emptyContextObject;var instance=workInProgress.stateNode;if(instance&&instance.__reactInternalMemoizedUnmaskedChildContext===unmaskedContext)return instance.__reactInternalMemoizedMaskedChildContext;var context={};for(var key in contextTypes)context[key]=unmaskedContext[key];var name=getComponentName(type)||"Unknown";return checkPropTypes(contextTypes,context,"context",name,getCurrentFiberStackInDev),instance&&cacheContext(workInProgress,unmaskedContext,context),context}function hasContextChanged(){return didPerformWorkStackCursor.current}function isContextProvider(type){var childContextTypes=type.childContextTypes;return null!=childContextTypes}function popContext(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function popTopLevelContextObject(fiber){pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber)}function pushTopLevelContextObject(fiber,context,didChange){contextStackCursor.current!==emptyContextObject&&invariant(!1,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),push(contextStackCursor,context,fiber),push(didPerformWorkStackCursor,didChange,fiber)}function processChildContext(fiber,type,parentContext){var instance=fiber.stateNode,childContextTypes=type.childContextTypes;if("function"!=typeof instance.getChildContext){var componentName=getComponentName(type)||"Unknown";return warnedAboutMissingGetChildContext[componentName]||(warnedAboutMissingGetChildContext[componentName]=!0,warningWithoutStack$1(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",componentName,componentName)),parentContext}var childContext;for(var contextKey in setCurrentPhase("getChildContext"),startPhaseTimer(fiber,"getChildContext"),childContext=instance.getChildContext(),stopPhaseTimer(),setCurrentPhase(null),childContext)contextKey in childContextTypes||invariant(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',getComponentName(type)||"Unknown",contextKey);var name=getComponentName(type)||"Unknown";return checkPropTypes(childContextTypes,childContext,"child context",name,getCurrentFiberStackInDev),_assign({},parentContext,childContext)}function pushContextProvider(workInProgress){var instance=workInProgress.stateNode,memoizedMergedChildContext=instance&&instance.__reactInternalMemoizedMergedChildContext||emptyContextObject;return previousContext=contextStackCursor.current,push(contextStackCursor,memoizedMergedChildContext,workInProgress),push(didPerformWorkStackCursor,didPerformWorkStackCursor.current,workInProgress),!0}function invalidateContextProvider(workInProgress,type,didChange){var instance=workInProgress.stateNode;if(instance||invariant(!1,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),didChange){var mergedContext=processChildContext(workInProgress,type,previousContext);instance.__reactInternalMemoizedMergedChildContext=mergedContext,pop(didPerformWorkStackCursor,workInProgress),pop(contextStackCursor,workInProgress),push(contextStackCursor,mergedContext,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}else pop(didPerformWorkStackCursor,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}var onCommitFiberRoot=null,onCommitFiberUnmount=null,hasLoggedError=!1;function catchErrors(fn){return function(arg){try{return fn(arg)}catch(err){hasLoggedError||(hasLoggedError=!0,warningWithoutStack$1(!1,"React DevTools encountered an error: %s",err))}}}var isDevToolsPresent="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;var Sync=1073741823;function msToExpirationTime(ms){return 1073741822-(ms/10|0)}function expirationTimeToMs(expirationTime){return 10*(1073741822-expirationTime)}function computeExpirationBucket(currentTime,expirationInMs,bucketSizeMs){return 1073741822-function ceiling(num,precision){return(1+(num/precision|0))*precision}(1073741822-currentTime+expirationInMs/10,bucketSizeMs/10)}function computeAsyncExpiration(currentTime){return computeExpirationBucket(currentTime,5e3,250)}var hasBadMapPolyfill=void 0;hasBadMapPolyfill=!1;try{var nonExtensibleObject=Object.preventExtensions({}),testMap=new Map([[nonExtensibleObject,null]]),testSet=new Set([nonExtensibleObject]);testMap.set(0,0),testSet.add(0)}catch(e){hasBadMapPolyfill=!0}var debugCounter=void 0;function FiberNode(tag,pendingProps,key,mode){this.tag=tag,this.key=key,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=pendingProps,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.firstContextDependency=null,this.mode=mode,this.effectTag=0,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=0,this.childExpirationTime=0,this.alternate=null,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=debugCounter++,this._debugSource=null,this._debugOwner=null,this._debugIsCurrentlyTiming=!1,hasBadMapPolyfill||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}debugCounter=1;var createFiber=function(tag,pendingProps,key,mode){return new FiberNode(tag,pendingProps,key,mode)};function shouldConstruct(Component){var prototype=Component.prototype;return!(!prototype||!prototype.isReactComponent)}function createWorkInProgress(current,pendingProps,expirationTime){var workInProgress=current.alternate;return null===workInProgress?((workInProgress=createFiber(current.tag,pendingProps,current.key,current.mode)).elementType=current.elementType,workInProgress.type=current.type,workInProgress.stateNode=current.stateNode,workInProgress._debugID=current._debugID,workInProgress._debugSource=current._debugSource,workInProgress._debugOwner=current._debugOwner,workInProgress.alternate=current,current.alternate=workInProgress):(workInProgress.pendingProps=pendingProps,workInProgress.effectTag=0,workInProgress.nextEffect=null,workInProgress.firstEffect=null,workInProgress.lastEffect=null,workInProgress.actualDuration=0,workInProgress.actualStartTime=-1),workInProgress.childExpirationTime=current.childExpirationTime,workInProgress.expirationTime=current.expirationTime,workInProgress.child=current.child,workInProgress.memoizedProps=current.memoizedProps,workInProgress.memoizedState=current.memoizedState,workInProgress.updateQueue=current.updateQueue,workInProgress.firstContextDependency=current.firstContextDependency,workInProgress.sibling=current.sibling,workInProgress.index=current.index,workInProgress.ref=current.ref,workInProgress.selfBaseDuration=current.selfBaseDuration,workInProgress.treeBaseDuration=current.treeBaseDuration,workInProgress}function createFiberFromTypeAndProps(type,key,pendingProps,owner,mode,expirationTime){var fiber=void 0,fiberTag=2,resolvedType=type;if("function"==typeof type)shouldConstruct(type)&&(fiberTag=1);else if("string"==typeof type)fiberTag=5;else getTag:switch(type){case REACT_FRAGMENT_TYPE:return createFiberFromFragment(pendingProps.children,mode,expirationTime,key);case REACT_CONCURRENT_MODE_TYPE:return createFiberFromMode(pendingProps,3|mode,expirationTime,key);case REACT_STRICT_MODE_TYPE:return createFiberFromMode(pendingProps,2|mode,expirationTime,key);case REACT_PROFILER_TYPE:return function createFiberFromProfiler(pendingProps,mode,expirationTime,key){"string"==typeof pendingProps.id&&"function"==typeof pendingProps.onRender||warningWithoutStack$1(!1,'Profiler must specify an "id" string and "onRender" function as props');var fiber=createFiber(12,pendingProps,key,4|mode);return fiber.elementType=REACT_PROFILER_TYPE,fiber.type=REACT_PROFILER_TYPE,fiber.expirationTime=expirationTime,fiber}(pendingProps,mode,expirationTime,key);case REACT_SUSPENSE_TYPE:return function createFiberFromSuspense(pendingProps,mode,expirationTime,key){var fiber=createFiber(13,pendingProps,key,mode),type=REACT_SUSPENSE_TYPE;return fiber.elementType=type,fiber.type=type,fiber.expirationTime=expirationTime,fiber}(pendingProps,mode,expirationTime,key);default:if("object"==typeof type&&null!==type)switch(type.$$typeof){case REACT_PROVIDER_TYPE:fiberTag=10;break getTag;case REACT_CONTEXT_TYPE:fiberTag=9;break getTag;case REACT_FORWARD_REF_TYPE:fiberTag=11;break getTag;case REACT_MEMO_TYPE:fiberTag=14;break getTag;case REACT_LAZY_TYPE:fiberTag=16,resolvedType=null;break getTag}var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ownerName=owner?getComponentName(owner.type):null;ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`."),invariant(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==type?type:typeof type,info)}return(fiber=createFiber(fiberTag,pendingProps,key,mode)).elementType=type,fiber.type=resolvedType,fiber.expirationTime=expirationTime,fiber}function createFiberFromElement(element,mode,expirationTime){var owner;owner=element._owner;var fiber=createFiberFromTypeAndProps(element.type,element.key,element.props,owner,mode,expirationTime);return fiber._debugSource=element._source,fiber._debugOwner=element._owner,fiber}function createFiberFromFragment(elements,mode,expirationTime,key){var fiber=createFiber(7,elements,key,mode);return fiber.expirationTime=expirationTime,fiber}function createFiberFromMode(pendingProps,mode,expirationTime,key){var fiber=createFiber(8,pendingProps,key,mode),type=0==(1&mode)?REACT_STRICT_MODE_TYPE:REACT_CONCURRENT_MODE_TYPE;return fiber.elementType=type,fiber.type=type,fiber.expirationTime=expirationTime,fiber}function createFiberFromText(content,mode,expirationTime){var fiber=createFiber(6,content,null,mode);return fiber.expirationTime=expirationTime,fiber}function createFiberFromPortal(portal,mode,expirationTime){var pendingProps=null!==portal.children?portal.children:[],fiber=createFiber(4,pendingProps,portal.key,mode);return fiber.expirationTime=expirationTime,fiber.stateNode={containerInfo:portal.containerInfo,pendingChildren:null,implementation:portal.implementation},fiber}function assignFiberPropertiesInDEV(target,source){return null===target&&(target=createFiber(2,null,null,0)),target.tag=source.tag,target.key=source.key,target.elementType=source.elementType,target.type=source.type,target.stateNode=source.stateNode,target.return=source.return,target.child=source.child,target.sibling=source.sibling,target.index=source.index,target.ref=source.ref,target.pendingProps=source.pendingProps,target.memoizedProps=source.memoizedProps,target.updateQueue=source.updateQueue,target.memoizedState=source.memoizedState,target.firstContextDependency=source.firstContextDependency,target.mode=source.mode,target.effectTag=source.effectTag,target.nextEffect=source.nextEffect,target.firstEffect=source.firstEffect,target.lastEffect=source.lastEffect,target.expirationTime=source.expirationTime,target.childExpirationTime=source.childExpirationTime,target.alternate=source.alternate,target.actualDuration=source.actualDuration,target.actualStartTime=source.actualStartTime,target.selfBaseDuration=source.selfBaseDuration,target.treeBaseDuration=source.treeBaseDuration,target._debugID=source._debugID,target._debugSource=source._debugSource,target._debugOwner=source._debugOwner,target._debugIsCurrentlyTiming=source._debugIsCurrentlyTiming,target}function createFiberRoot(containerInfo,isConcurrent,hydrate){var uninitializedFiber=function createHostRootFiber(isConcurrent){var mode=isConcurrent?3:0;return isDevToolsPresent&&(mode|=4),createFiber(3,null,null,mode)}(isConcurrent),root=void 0;return root={current:uninitializedFiber,containerInfo:containerInfo,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:hydrate,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null,interactionThreadID:tracing.unstable_getThreadID(),memoizedInteractions:new Set,pendingInteractionMap:new Map},uninitializedFiber.stateNode=root,root}var printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}},lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}},ReactStrictModeWarnings={discardPendingWarnings:function(){},flushPendingDeprecationWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordDeprecationWarnings:function(fiber,instance){},recordUnsafeLifecycleWarnings:function(fiber,instance){},recordLegacyContextWarning:function(fiber,instance){},flushLegacyContextWarning:function(){}},LIFECYCLE_SUGGESTIONS={UNSAFE_componentWillMount:"componentDidMount",UNSAFE_componentWillReceiveProps:"static getDerivedStateFromProps",UNSAFE_componentWillUpdate:"componentDidUpdate"},pendingComponentWillMountWarnings=[],pendingComponentWillReceivePropsWarnings=[],pendingComponentWillUpdateWarnings=[],pendingUnsafeLifecycleWarnings=new Map,pendingLegacyContextWarning=new Map,didWarnAboutDeprecatedLifecycles=new Set,didWarnAboutUnsafeLifecycles=new Set,didWarnAboutLegacyContext=new Set,setToSortedString=function(set){var array=[];return set.forEach((function(value){array.push(value)})),array.sort().join(", ")};ReactStrictModeWarnings.discardPendingWarnings=function(){pendingComponentWillMountWarnings=[],pendingComponentWillReceivePropsWarnings=[],pendingComponentWillUpdateWarnings=[],pendingUnsafeLifecycleWarnings=new Map,pendingLegacyContextWarning=new Map},ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings=function(){pendingUnsafeLifecycleWarnings.forEach((function(lifecycleWarningsMap,strictRoot){var lifecyclesWarningMesages=[];if(Object.keys(lifecycleWarningsMap).forEach((function(lifecycle){var lifecycleWarnings=lifecycleWarningsMap[lifecycle];if(lifecycleWarnings.length>0){var componentNames=new Set;lifecycleWarnings.forEach((function(fiber){componentNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutUnsafeLifecycles.add(fiber.type)}));var formatted=lifecycle.replace("UNSAFE_",""),suggestion=LIFECYCLE_SUGGESTIONS[lifecycle],sortedComponentNames=setToSortedString(componentNames);lifecyclesWarningMesages.push(formatted+": Please update the following components to use "+suggestion+" instead: "+sortedComponentNames)}})),lifecyclesWarningMesages.length>0){var strictRootComponentStack=getStackByFiberInDevAndProd(strictRoot);warningWithoutStack$1(!1,"Unsafe lifecycle methods were found within a strict-mode tree:%s\n\n%s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",strictRootComponentStack,lifecyclesWarningMesages.join("\n\n"))}})),pendingUnsafeLifecycleWarnings=new Map};var findStrictRoot=function(fiber){for(var maybeStrictRoot=null,node=fiber;null!==node;)2&node.mode&&(maybeStrictRoot=node),node=node.return;return maybeStrictRoot};ReactStrictModeWarnings.flushPendingDeprecationWarnings=function(){if(pendingComponentWillMountWarnings.length>0){var uniqueNames=new Set;pendingComponentWillMountWarnings.forEach((function(fiber){uniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutDeprecatedLifecycles.add(fiber.type)}));var sortedNames=setToSortedString(uniqueNames);lowPriorityWarning$1(!1,"componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",sortedNames),pendingComponentWillMountWarnings=[]}if(pendingComponentWillReceivePropsWarnings.length>0){var _uniqueNames=new Set;pendingComponentWillReceivePropsWarnings.forEach((function(fiber){_uniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutDeprecatedLifecycles.add(fiber.type)}));var _sortedNames=setToSortedString(_uniqueNames);lowPriorityWarning$1(!1,"componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",_sortedNames),pendingComponentWillReceivePropsWarnings=[]}if(pendingComponentWillUpdateWarnings.length>0){var _uniqueNames2=new Set;pendingComponentWillUpdateWarnings.forEach((function(fiber){_uniqueNames2.add(getComponentName(fiber.type)||"Component"),didWarnAboutDeprecatedLifecycles.add(fiber.type)}));var _sortedNames2=setToSortedString(_uniqueNames2);lowPriorityWarning$1(!1,"componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",_sortedNames2),pendingComponentWillUpdateWarnings=[]}},ReactStrictModeWarnings.recordDeprecationWarnings=function(fiber,instance){didWarnAboutDeprecatedLifecycles.has(fiber.type)||("function"==typeof instance.componentWillMount&&!0!==instance.componentWillMount.__suppressDeprecationWarning&&pendingComponentWillMountWarnings.push(fiber),"function"==typeof instance.componentWillReceiveProps&&!0!==instance.componentWillReceiveProps.__suppressDeprecationWarning&&pendingComponentWillReceivePropsWarnings.push(fiber),"function"==typeof instance.componentWillUpdate&&!0!==instance.componentWillUpdate.__suppressDeprecationWarning&&pendingComponentWillUpdateWarnings.push(fiber))},ReactStrictModeWarnings.recordUnsafeLifecycleWarnings=function(fiber,instance){var strictRoot=findStrictRoot(fiber);if(null!==strictRoot){if(!didWarnAboutUnsafeLifecycles.has(fiber.type)){var warningsForRoot=void 0;pendingUnsafeLifecycleWarnings.has(strictRoot)?warningsForRoot=pendingUnsafeLifecycleWarnings.get(strictRoot):(warningsForRoot={UNSAFE_componentWillMount:[],UNSAFE_componentWillReceiveProps:[],UNSAFE_componentWillUpdate:[]},pendingUnsafeLifecycleWarnings.set(strictRoot,warningsForRoot));var unsafeLifecycles=[];("function"==typeof instance.componentWillMount&&!0!==instance.componentWillMount.__suppressDeprecationWarning||"function"==typeof instance.UNSAFE_componentWillMount)&&unsafeLifecycles.push("UNSAFE_componentWillMount"),("function"==typeof instance.componentWillReceiveProps&&!0!==instance.componentWillReceiveProps.__suppressDeprecationWarning||"function"==typeof instance.UNSAFE_componentWillReceiveProps)&&unsafeLifecycles.push("UNSAFE_componentWillReceiveProps"),("function"==typeof instance.componentWillUpdate&&!0!==instance.componentWillUpdate.__suppressDeprecationWarning||"function"==typeof instance.UNSAFE_componentWillUpdate)&&unsafeLifecycles.push("UNSAFE_componentWillUpdate"),unsafeLifecycles.length>0&&unsafeLifecycles.forEach((function(lifecycle){warningsForRoot[lifecycle].push(fiber)}))}}else warningWithoutStack$1(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},ReactStrictModeWarnings.recordLegacyContextWarning=function(fiber,instance){var strictRoot=findStrictRoot(fiber);if(null!==strictRoot){if(!didWarnAboutLegacyContext.has(fiber.type)){var warningsForRoot=pendingLegacyContextWarning.get(strictRoot);(null!=fiber.type.contextTypes||null!=fiber.type.childContextTypes||null!==instance&&"function"==typeof instance.getChildContext)&&(void 0===warningsForRoot&&(warningsForRoot=[],pendingLegacyContextWarning.set(strictRoot,warningsForRoot)),warningsForRoot.push(fiber))}}else warningWithoutStack$1(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},ReactStrictModeWarnings.flushLegacyContextWarning=function(){pendingLegacyContextWarning.forEach((function(fiberArray,strictRoot){var uniqueNames=new Set;fiberArray.forEach((function(fiber){uniqueNames.add(getComponentName(fiber.type)||"Component"),didWarnAboutLegacyContext.add(fiber.type)}));var sortedNames=setToSortedString(uniqueNames),strictRootComponentStack=getStackByFiberInDevAndProd(strictRoot);warningWithoutStack$1(!1,"Legacy context API has been detected within a strict-mode tree: %s\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",strictRootComponentStack,sortedNames)}))};var ReactFiberInstrumentation_1={debugTool:null};function markPendingPriorityLevel(root,expirationTime){root.didError=!1;var earliestPendingTime=root.earliestPendingTime;0===earliestPendingTime?root.earliestPendingTime=root.latestPendingTime=expirationTime:earliestPendingTime<expirationTime?root.earliestPendingTime=expirationTime:root.latestPendingTime>expirationTime&&(root.latestPendingTime=expirationTime);findNextExpirationTimeToWorkOn(expirationTime,root)}function markSuspendedPriorityLevel(root,suspendedTime){root.didError=!1,function clearPing(root,completedTime){var latestPingedTime=root.latestPingedTime;0!==latestPingedTime&&latestPingedTime>=completedTime&&(root.latestPingedTime=0)}(root,suspendedTime);var earliestPendingTime=root.earliestPendingTime,latestPendingTime=root.latestPendingTime;earliestPendingTime===suspendedTime?root.earliestPendingTime=latestPendingTime===suspendedTime?root.latestPendingTime=0:latestPendingTime:latestPendingTime===suspendedTime&&(root.latestPendingTime=earliestPendingTime);var earliestSuspendedTime=root.earliestSuspendedTime,latestSuspendedTime=root.latestSuspendedTime;0===earliestSuspendedTime?root.earliestSuspendedTime=root.latestSuspendedTime=suspendedTime:earliestSuspendedTime<suspendedTime?root.earliestSuspendedTime=suspendedTime:latestSuspendedTime>suspendedTime&&(root.latestSuspendedTime=suspendedTime),findNextExpirationTimeToWorkOn(suspendedTime,root)}function findEarliestOutstandingPriorityLevel(root,renderExpirationTime){var earliestExpirationTime=renderExpirationTime,earliestPendingTime=root.earliestPendingTime,earliestSuspendedTime=root.earliestSuspendedTime;return earliestPendingTime>earliestExpirationTime&&(earliestExpirationTime=earliestPendingTime),earliestSuspendedTime>earliestExpirationTime&&(earliestExpirationTime=earliestSuspendedTime),earliestExpirationTime}function didExpireAtExpirationTime(root,currentTime){var expirationTime=root.expirationTime;0!==expirationTime&&currentTime<=expirationTime&&(root.nextExpirationTimeToWorkOn=currentTime)}function findNextExpirationTimeToWorkOn(completedExpirationTime,root){var earliestSuspendedTime=root.earliestSuspendedTime,latestSuspendedTime=root.latestSuspendedTime,earliestPendingTime=root.earliestPendingTime,latestPingedTime=root.latestPingedTime,nextExpirationTimeToWorkOn=0!==earliestPendingTime?earliestPendingTime:latestPingedTime;0===nextExpirationTimeToWorkOn&&(0===completedExpirationTime||latestSuspendedTime<completedExpirationTime)&&(nextExpirationTimeToWorkOn=latestSuspendedTime);var expirationTime=nextExpirationTimeToWorkOn;0!==expirationTime&&earliestSuspendedTime>expirationTime&&(expirationTime=earliestSuspendedTime),root.nextExpirationTimeToWorkOn=nextExpirationTimeToWorkOn,root.expirationTime=expirationTime}var resetCurrentlyProcessingQueue,hasForceUpdate=!1,didWarnUpdateInsideUpdate=void 0,currentlyProcessingQueue=void 0;function createUpdateQueue(baseState){return{baseState:baseState,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function cloneUpdateQueue(currentQueue){return{baseState:currentQueue.baseState,firstUpdate:currentQueue.firstUpdate,lastUpdate:currentQueue.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function createUpdate(expirationTime){return{expirationTime:expirationTime,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function appendUpdateToQueue(queue,update){null===queue.lastUpdate?queue.firstUpdate=queue.lastUpdate=update:(queue.lastUpdate.next=update,queue.lastUpdate=update)}function enqueueUpdate(fiber,update){var alternate=fiber.alternate,queue1=void 0,queue2=void 0;null===alternate?(queue2=null,null===(queue1=fiber.updateQueue)&&(queue1=fiber.updateQueue=createUpdateQueue(fiber.memoizedState))):(queue1=fiber.updateQueue,queue2=alternate.updateQueue,null===queue1?null===queue2?(queue1=fiber.updateQueue=createUpdateQueue(fiber.memoizedState),queue2=alternate.updateQueue=createUpdateQueue(alternate.memoizedState)):queue1=fiber.updateQueue=cloneUpdateQueue(queue2):null===queue2&&(queue2=alternate.updateQueue=cloneUpdateQueue(queue1))),null===queue2||queue1===queue2?appendUpdateToQueue(queue1,update):null===queue1.lastUpdate||null===queue2.lastUpdate?(appendUpdateToQueue(queue1,update),appendUpdateToQueue(queue2,update)):(appendUpdateToQueue(queue1,update),queue2.lastUpdate=update),1!==fiber.tag||currentlyProcessingQueue!==queue1&&(null===queue2||currentlyProcessingQueue!==queue2)||didWarnUpdateInsideUpdate||(warningWithoutStack$1(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),didWarnUpdateInsideUpdate=!0)}function enqueueCapturedUpdate(workInProgress,update){var workInProgressQueue=workInProgress.updateQueue;null===(workInProgressQueue=null===workInProgressQueue?workInProgress.updateQueue=createUpdateQueue(workInProgress.memoizedState):ensureWorkInProgressQueueIsAClone(workInProgress,workInProgressQueue)).lastCapturedUpdate?workInProgressQueue.firstCapturedUpdate=workInProgressQueue.lastCapturedUpdate=update:(workInProgressQueue.lastCapturedUpdate.next=update,workInProgressQueue.lastCapturedUpdate=update)}function ensureWorkInProgressQueueIsAClone(workInProgress,queue){var current=workInProgress.alternate;return null!==current&&queue===current.updateQueue&&(queue=workInProgress.updateQueue=cloneUpdateQueue(queue)),queue}function getStateFromUpdate(workInProgress,queue,update,prevState,nextProps,instance){switch(update.tag){case 1:var _payload=update.payload;return"function"==typeof _payload?(2&workInProgress.mode&&_payload.call(instance,prevState,nextProps),_payload.call(instance,prevState,nextProps)):_payload;case 3:workInProgress.effectTag=-2049&workInProgress.effectTag|64;case 0:var _payload2=update.payload,partialState=void 0;return"function"==typeof _payload2?(2&workInProgress.mode&&_payload2.call(instance,prevState,nextProps),partialState=_payload2.call(instance,prevState,nextProps)):partialState=_payload2,null==partialState?prevState:_assign({},prevState,partialState);case 2:return hasForceUpdate=!0,prevState}return prevState}function processUpdateQueue(workInProgress,queue,props,instance,renderExpirationTime){hasForceUpdate=!1,queue=ensureWorkInProgressQueueIsAClone(workInProgress,queue),currentlyProcessingQueue=queue;for(var newBaseState=queue.baseState,newFirstUpdate=null,newExpirationTime=0,update=queue.firstUpdate,resultState=newBaseState;null!==update;){var updateExpirationTime=update.expirationTime;if(updateExpirationTime<renderExpirationTime)null===newFirstUpdate&&(newFirstUpdate=update,newBaseState=resultState),newExpirationTime<updateExpirationTime&&(newExpirationTime=updateExpirationTime);else resultState=getStateFromUpdate(workInProgress,0,update,resultState,props,instance),null!==update.callback&&(workInProgress.effectTag|=32,update.nextEffect=null,null===queue.lastEffect?queue.firstEffect=queue.lastEffect=update:(queue.lastEffect.nextEffect=update,queue.lastEffect=update));update=update.next}var newFirstCapturedUpdate=null;for(update=queue.firstCapturedUpdate;null!==update;){var _updateExpirationTime=update.expirationTime;if(_updateExpirationTime<renderExpirationTime)null===newFirstCapturedUpdate&&(newFirstCapturedUpdate=update,null===newFirstUpdate&&(newBaseState=resultState)),newExpirationTime<_updateExpirationTime&&(newExpirationTime=_updateExpirationTime);else resultState=getStateFromUpdate(workInProgress,0,update,resultState,props,instance),null!==update.callback&&(workInProgress.effectTag|=32,update.nextEffect=null,null===queue.lastCapturedEffect?queue.firstCapturedEffect=queue.lastCapturedEffect=update:(queue.lastCapturedEffect.nextEffect=update,queue.lastCapturedEffect=update));update=update.next}null===newFirstUpdate&&(queue.lastUpdate=null),null===newFirstCapturedUpdate?queue.lastCapturedUpdate=null:workInProgress.effectTag|=32,null===newFirstUpdate&&null===newFirstCapturedUpdate&&(newBaseState=resultState),queue.baseState=newBaseState,queue.firstUpdate=newFirstUpdate,queue.firstCapturedUpdate=newFirstCapturedUpdate,workInProgress.expirationTime=newExpirationTime,workInProgress.memoizedState=resultState,currentlyProcessingQueue=null}function resetHasForceUpdateBeforeProcessing(){hasForceUpdate=!1}function checkHasForceUpdateAfterProcessing(){return hasForceUpdate}function commitUpdateQueue(finishedWork,finishedQueue,instance,renderExpirationTime){null!==finishedQueue.firstCapturedUpdate&&(null!==finishedQueue.lastUpdate&&(finishedQueue.lastUpdate.next=finishedQueue.firstCapturedUpdate,finishedQueue.lastUpdate=finishedQueue.lastCapturedUpdate),finishedQueue.firstCapturedUpdate=finishedQueue.lastCapturedUpdate=null),commitUpdateEffects(finishedQueue.firstEffect,instance),finishedQueue.firstEffect=finishedQueue.lastEffect=null,commitUpdateEffects(finishedQueue.firstCapturedEffect,instance),finishedQueue.firstCapturedEffect=finishedQueue.lastCapturedEffect=null}function commitUpdateEffects(effect,instance){for(;null!==effect;){var _callback3=effect.callback;null!==_callback3&&(effect.callback=null,context=instance,"function"!=typeof(callback=_callback3)&&invariant(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",callback),callback.call(context)),effect=effect.nextEffect}var callback,context}function createCapturedValue(value,source){return{value:value,source:source,stack:getStackByFiberInDevAndProd(source)}}didWarnUpdateInsideUpdate=!1,currentlyProcessingQueue=null,resetCurrentlyProcessingQueue=function(){currentlyProcessingQueue=null};var rendererSigil,valueCursor=createCursor(null);rendererSigil={};var currentlyRenderingFiber=null,lastContextDependency=null,lastContextWithAllBitsObserved=null;function resetContextDependences(){currentlyRenderingFiber=null,lastContextDependency=null,lastContextWithAllBitsObserved=null}function pushProvider(providerFiber,nextValue){var context=providerFiber.type._context;push(valueCursor,context._currentValue,providerFiber),context._currentValue=nextValue,void 0!==context._currentRenderer&&null!==context._currentRenderer&&context._currentRenderer!==rendererSigil&&warningWithoutStack$1(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),context._currentRenderer=rendererSigil}function popProvider(providerFiber){var currentValue=valueCursor.current;pop(valueCursor,providerFiber);var context=providerFiber.type._context;context._currentValue=currentValue}function prepareToReadContext(workInProgress,renderExpirationTime){currentlyRenderingFiber=workInProgress,lastContextDependency=null,lastContextWithAllBitsObserved=null,workInProgress.firstContextDependency=null}function readContext(context,observedBits){if(lastContextWithAllBitsObserved===context);else if(!1===observedBits||0===observedBits);else{var resolvedObservedBits=void 0;"number"!=typeof observedBits||1073741823===observedBits?(lastContextWithAllBitsObserved=context,resolvedObservedBits=1073741823):resolvedObservedBits=observedBits;var contextItem={context:context,observedBits:resolvedObservedBits,next:null};null===lastContextDependency?(null===currentlyRenderingFiber&&invariant(!1,"Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps."),currentlyRenderingFiber.firstContextDependency=lastContextDependency=contextItem):lastContextDependency=lastContextDependency.next=contextItem}return context._currentValue}function finishHooks(Component,props,children,refOrContext){return children}var NO_CONTEXT={},contextStackCursor$1=createCursor(NO_CONTEXT),contextFiberStackCursor=createCursor(NO_CONTEXT),rootInstanceStackCursor=createCursor(NO_CONTEXT);function requiredContext(c){return c===NO_CONTEXT&&invariant(!1,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),c}function getRootHostContainer(){return requiredContext(rootInstanceStackCursor.current)}function pushHostContainer(fiber,nextRootInstance){push(rootInstanceStackCursor,nextRootInstance,fiber),push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor$1,NO_CONTEXT,fiber);var nextRootContext=function getRootHostContext(rootContainerInstance){var type=void 0,namespace=void 0,nodeType=rootContainerInstance.nodeType;switch(nodeType){case 9:case 11:type=9===nodeType?"#document":"#fragment";var root=rootContainerInstance.documentElement;namespace=root?root.namespaceURI:getChildNamespace(null,"");break;default:var container=8===nodeType?rootContainerInstance.parentNode:rootContainerInstance;namespace=getChildNamespace(container.namespaceURI||null,type=container.tagName)}var validatedTag=type.toLowerCase();return{namespace:namespace,ancestorInfo:updatedAncestorInfo(null,validatedTag)}}(nextRootInstance);pop(contextStackCursor$1,fiber),push(contextStackCursor$1,nextRootContext,fiber)}function popHostContainer(fiber){pop(contextStackCursor$1,fiber),pop(contextFiberStackCursor,fiber),pop(rootInstanceStackCursor,fiber)}function getHostContext(){return requiredContext(contextStackCursor$1.current)}function pushHostContext(fiber){requiredContext(rootInstanceStackCursor.current);var context=requiredContext(contextStackCursor$1.current),nextContext=function getChildHostContext(parentHostContext,type,rootContainerInstance){var parentHostContextDev=parentHostContext;return{namespace:getChildNamespace(parentHostContextDev.namespace,type),ancestorInfo:updatedAncestorInfo(parentHostContextDev.ancestorInfo,type)}}(context,fiber.type);context!==nextContext&&(push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor$1,nextContext,fiber))}function popHostContext(fiber){contextFiberStackCursor.current===fiber&&(pop(contextStackCursor$1,fiber),pop(contextFiberStackCursor,fiber))}var commitTime=0,profilerStartTime=-1;function getCommitTime(){return commitTime}function startProfilerTimer(fiber){profilerStartTime=scheduler.unstable_now(),fiber.actualStartTime<0&&(fiber.actualStartTime=scheduler.unstable_now())}function stopProfilerTimerIfRunning(fiber){profilerStartTime=-1}function stopProfilerTimerIfRunningAndRecordDelta(fiber,overrideBaseTime){if(profilerStartTime>=0){var elapsedTime=scheduler.unstable_now()-profilerStartTime;fiber.actualDuration+=elapsedTime,overrideBaseTime&&(fiber.selfBaseDuration=elapsedTime),profilerStartTime=-1}}function resolveDefaultProps(Component,baseProps){if(Component&&Component.defaultProps){var props=_assign({},baseProps),defaultProps=Component.defaultProps;for(var propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName]);return props}return baseProps}var ReactCurrentOwner$4=ReactSharedInternals.ReactCurrentOwner;function readContext$1(contextType){return ReactCurrentOwner$4.currentDispatcher.readContext(contextType)}var warnOnUndefinedDerivedState,warnOnInvalidCallback$1,fakeInternalInstance={},isArray$1=Array.isArray,emptyRefsObject=(new React.Component).refs,didWarnAboutStateAssignmentForComponent=void 0,didWarnAboutUninitializedState=void 0,didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate=void 0,didWarnAboutLegacyLifecyclesAndDerivedState=void 0,didWarnAboutUndefinedDerivedState=void 0,didWarnAboutDirectlyAssigningPropsToState=void 0,didWarnAboutContextTypeAndContextTypes=void 0,didWarnAboutInvalidateContextType=void 0;didWarnAboutStateAssignmentForComponent=new Set,didWarnAboutUninitializedState=new Set,didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate=new Set,didWarnAboutLegacyLifecyclesAndDerivedState=new Set,didWarnAboutDirectlyAssigningPropsToState=new Set,didWarnAboutUndefinedDerivedState=new Set,didWarnAboutContextTypeAndContextTypes=new Set,didWarnAboutInvalidateContextType=new Set;var didWarnOnInvalidCallback=new Set;function applyDerivedStateFromProps(workInProgress,ctor,getDerivedStateFromProps,nextProps){var prevState=workInProgress.memoizedState;2&workInProgress.mode&&getDerivedStateFromProps(nextProps,prevState);var partialState=getDerivedStateFromProps(nextProps,prevState);warnOnUndefinedDerivedState(ctor,partialState);var memoizedState=null==partialState?prevState:_assign({},prevState,partialState);workInProgress.memoizedState=memoizedState;var updateQueue=workInProgress.updateQueue;null!==updateQueue&&0===workInProgress.expirationTime&&(updateQueue.baseState=memoizedState)}warnOnInvalidCallback$1=function(callback,callerName){if(null!==callback&&"function"!=typeof callback){var key=callerName+"_"+callback;didWarnOnInvalidCallback.has(key)||(didWarnOnInvalidCallback.add(key),warningWithoutStack$1(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callerName,callback))}},warnOnUndefinedDerivedState=function(type,partialState){if(void 0===partialState){var componentName=getComponentName(type)||"Component";didWarnAboutUndefinedDerivedState.has(componentName)||(didWarnAboutUndefinedDerivedState.add(componentName),warningWithoutStack$1(!1,"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",componentName))}},Object.defineProperty(fakeInternalInstance,"_processChildContext",{enumerable:!1,value:function(){invariant(!1,"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fakeInternalInstance);var classComponentUpdater={isMounted:function isMounted(component){var owner=ReactCurrentOwner$1.current;if(null!==owner&&1===owner.tag){var ownerFiber=owner,instance=ownerFiber.stateNode;instance._warnedAboutRefsInRender||warningWithoutStack$1(!1,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(ownerFiber.type)||"A component"),instance._warnedAboutRefsInRender=!0}var fiber=get(component);return!!fiber&&2===isFiberMountedImpl(fiber)},enqueueSetState:function(inst,payload,callback){var fiber=get(inst),expirationTime=computeExpirationForFiber(requestCurrentTime(),fiber),update=createUpdate(expirationTime);update.payload=payload,null!=callback&&(warnOnInvalidCallback$1(callback,"setState"),update.callback=callback),flushPassiveEffects(),enqueueUpdate(fiber,update),scheduleWork(fiber,expirationTime)},enqueueReplaceState:function(inst,payload,callback){var fiber=get(inst),expirationTime=computeExpirationForFiber(requestCurrentTime(),fiber),update=createUpdate(expirationTime);update.tag=1,update.payload=payload,null!=callback&&(warnOnInvalidCallback$1(callback,"replaceState"),update.callback=callback),flushPassiveEffects(),enqueueUpdate(fiber,update),scheduleWork(fiber,expirationTime)},enqueueForceUpdate:function(inst,callback){var fiber=get(inst),expirationTime=computeExpirationForFiber(requestCurrentTime(),fiber),update=createUpdate(expirationTime);update.tag=2,null!=callback&&(warnOnInvalidCallback$1(callback,"forceUpdate"),update.callback=callback),flushPassiveEffects(),enqueueUpdate(fiber,update),scheduleWork(fiber,expirationTime)}};function checkShouldComponentUpdate(workInProgress,ctor,oldProps,newProps,oldState,newState,nextContext){var instance=workInProgress.stateNode;if("function"==typeof instance.shouldComponentUpdate){startPhaseTimer(workInProgress,"shouldComponentUpdate");var shouldUpdate=instance.shouldComponentUpdate(newProps,newState,nextContext);return stopPhaseTimer(),void 0===shouldUpdate&&warningWithoutStack$1(!1,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",getComponentName(ctor)||"Component"),shouldUpdate}return!ctor.prototype||!ctor.prototype.isPureReactComponent||(!shallowEqual(oldProps,newProps)||!shallowEqual(oldState,newState))}function adoptClassInstance(workInProgress,instance){instance.updater=classComponentUpdater,workInProgress.stateNode=instance,function set(key,value){key._reactInternalFiber=value}(instance,workInProgress),instance._reactInternalInstance=fakeInternalInstance}function constructClassInstance(workInProgress,ctor,props,renderExpirationTime){var isLegacyContextConsumer=!1,unmaskedContext=emptyContextObject,context=null,contextType=ctor.contextType;if("object"==typeof contextType&&null!==contextType)contextType.$$typeof===REACT_CONTEXT_TYPE||didWarnAboutInvalidateContextType.has(ctor)||(didWarnAboutInvalidateContextType.add(ctor),warningWithoutStack$1(!1,"%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext(). Did you accidentally pass the Context.Provider instead?",getComponentName(ctor)||"Component")),context=readContext$1(contextType);else{unmaskedContext=getUnmaskedContext(0,ctor,!0);var contextTypes=ctor.contextTypes;context=(isLegacyContextConsumer=null!=contextTypes)?getMaskedContext(workInProgress,unmaskedContext):emptyContextObject}2&workInProgress.mode&&new ctor(props,context);var instance=new ctor(props,context),state=workInProgress.memoizedState=null!==instance.state&&void 0!==instance.state?instance.state:null;if(adoptClassInstance(workInProgress,instance),"function"==typeof ctor.getDerivedStateFromProps&&null===state){var componentName=getComponentName(ctor)||"Component";didWarnAboutUninitializedState.has(componentName)||(didWarnAboutUninitializedState.add(componentName),warningWithoutStack$1(!1,"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",componentName,null===instance.state?"null":"undefined",componentName))}if("function"==typeof ctor.getDerivedStateFromProps||"function"==typeof instance.getSnapshotBeforeUpdate){var foundWillMountName=null,foundWillReceivePropsName=null,foundWillUpdateName=null;if("function"==typeof instance.componentWillMount&&!0!==instance.componentWillMount.__suppressDeprecationWarning?foundWillMountName="componentWillMount":"function"==typeof instance.UNSAFE_componentWillMount&&(foundWillMountName="UNSAFE_componentWillMount"),"function"==typeof instance.componentWillReceiveProps&&!0!==instance.componentWillReceiveProps.__suppressDeprecationWarning?foundWillReceivePropsName="componentWillReceiveProps":"function"==typeof instance.UNSAFE_componentWillReceiveProps&&(foundWillReceivePropsName="UNSAFE_componentWillReceiveProps"),"function"==typeof instance.componentWillUpdate&&!0!==instance.componentWillUpdate.__suppressDeprecationWarning?foundWillUpdateName="componentWillUpdate":"function"==typeof instance.UNSAFE_componentWillUpdate&&(foundWillUpdateName="UNSAFE_componentWillUpdate"),null!==foundWillMountName||null!==foundWillReceivePropsName||null!==foundWillUpdateName){var _componentName=getComponentName(ctor)||"Component",newApiName="function"==typeof ctor.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName)||(didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName),warningWithoutStack$1(!1,"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",_componentName,newApiName,null!==foundWillMountName?"\n  "+foundWillMountName:"",null!==foundWillReceivePropsName?"\n  "+foundWillReceivePropsName:"",null!==foundWillUpdateName?"\n  "+foundWillUpdateName:""))}}return isLegacyContextConsumer&&cacheContext(workInProgress,unmaskedContext,context),instance}function callComponentWillReceiveProps(workInProgress,instance,newProps,nextContext){var oldState=instance.state;if(startPhaseTimer(workInProgress,"componentWillReceiveProps"),"function"==typeof instance.componentWillReceiveProps&&instance.componentWillReceiveProps(newProps,nextContext),"function"==typeof instance.UNSAFE_componentWillReceiveProps&&instance.UNSAFE_componentWillReceiveProps(newProps,nextContext),stopPhaseTimer(),instance.state!==oldState){var componentName=getComponentName(workInProgress.type)||"Component";didWarnAboutStateAssignmentForComponent.has(componentName)||(didWarnAboutStateAssignmentForComponent.add(componentName),warningWithoutStack$1(!1,"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",componentName)),classComponentUpdater.enqueueReplaceState(instance,instance.state,null)}}function mountClassInstance(workInProgress,ctor,newProps,renderExpirationTime){!function checkClassInstance(workInProgress,ctor,newProps){var instance=workInProgress.stateNode,name=getComponentName(ctor)||"Component";instance.render||(ctor.prototype&&"function"==typeof ctor.prototype.render?warningWithoutStack$1(!1,"%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",name):warningWithoutStack$1(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",name)),!instance.getInitialState||instance.getInitialState.isReactClassApproved||instance.state||warningWithoutStack$1(!1,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",name),!instance.getDefaultProps||instance.getDefaultProps.isReactClassApproved||warningWithoutStack$1(!1,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",name),!instance.propTypes||warningWithoutStack$1(!1,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",name),!instance.contextType||warningWithoutStack$1(!1,"contextType was defined as an instance property on %s. Use a static property to define contextType instead.",name),!instance.contextTypes||warningWithoutStack$1(!1,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",name),ctor.contextType&&ctor.contextTypes&&!didWarnAboutContextTypeAndContextTypes.has(ctor)&&(didWarnAboutContextTypeAndContextTypes.add(ctor),warningWithoutStack$1(!1,"%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",name)),"function"!=typeof instance.componentShouldUpdate||warningWithoutStack$1(!1,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",name),ctor.prototype&&ctor.prototype.isPureReactComponent&&void 0!==instance.shouldComponentUpdate&&warningWithoutStack$1(!1,"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",getComponentName(ctor)||"A pure component"),"function"!=typeof instance.componentDidUnmount||warningWithoutStack$1(!1,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",name),"function"!=typeof instance.componentDidReceiveProps||warningWithoutStack$1(!1,"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",name),"function"!=typeof instance.componentWillRecieveProps||warningWithoutStack$1(!1,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",name),"function"!=typeof instance.UNSAFE_componentWillRecieveProps||warningWithoutStack$1(!1,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",name);var hasMutatedProps=instance.props!==newProps;void 0!==instance.props&&hasMutatedProps&&warningWithoutStack$1(!1,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",name,name),!instance.defaultProps||warningWithoutStack$1(!1,"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",name,name),"function"!=typeof instance.getSnapshotBeforeUpdate||"function"==typeof instance.componentDidUpdate||didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(ctor)||(didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(ctor),warningWithoutStack$1(!1,"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",getComponentName(ctor))),"function"!=typeof instance.getDerivedStateFromProps||warningWithoutStack$1(!1,"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",name),"function"!=typeof instance.getDerivedStateFromError||warningWithoutStack$1(!1,"%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",name),"function"!=typeof ctor.getSnapshotBeforeUpdate||warningWithoutStack$1(!1,"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",name);var _state=instance.state;_state&&("object"!=typeof _state||isArray$1(_state))&&warningWithoutStack$1(!1,"%s.state: must be set to an object or null",name),"function"==typeof instance.getChildContext&&"object"!=typeof ctor.childContextTypes&&warningWithoutStack$1(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",name)}(workInProgress,ctor,newProps);var instance=workInProgress.stateNode;instance.props=newProps,instance.state=workInProgress.memoizedState,instance.refs=emptyRefsObject;var contextType=ctor.contextType;if("object"==typeof contextType&&null!==contextType)instance.context=readContext$1(contextType);else{var unmaskedContext=getUnmaskedContext(0,ctor,!0);instance.context=getMaskedContext(workInProgress,unmaskedContext)}if(instance.state===newProps){var componentName=getComponentName(ctor)||"Component";didWarnAboutDirectlyAssigningPropsToState.has(componentName)||(didWarnAboutDirectlyAssigningPropsToState.add(componentName),warningWithoutStack$1(!1,"%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",componentName))}2&workInProgress.mode&&(ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress,instance),ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress,instance));var updateQueue=workInProgress.updateQueue;null!==updateQueue&&(processUpdateQueue(workInProgress,updateQueue,newProps,instance,renderExpirationTime),instance.state=workInProgress.memoizedState);var getDerivedStateFromProps=ctor.getDerivedStateFromProps;"function"==typeof getDerivedStateFromProps&&(applyDerivedStateFromProps(workInProgress,ctor,getDerivedStateFromProps,newProps),instance.state=workInProgress.memoizedState),"function"==typeof ctor.getDerivedStateFromProps||"function"==typeof instance.getSnapshotBeforeUpdate||"function"!=typeof instance.UNSAFE_componentWillMount&&"function"!=typeof instance.componentWillMount||(!function callComponentWillMount(workInProgress,instance){startPhaseTimer(workInProgress,"componentWillMount");var oldState=instance.state;"function"==typeof instance.componentWillMount&&instance.componentWillMount(),"function"==typeof instance.UNSAFE_componentWillMount&&instance.UNSAFE_componentWillMount(),stopPhaseTimer(),oldState!==instance.state&&(warningWithoutStack$1(!1,"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",getComponentName(workInProgress.type)||"Component"),classComponentUpdater.enqueueReplaceState(instance,instance.state,null))}(workInProgress,instance),null!==(updateQueue=workInProgress.updateQueue)&&(processUpdateQueue(workInProgress,updateQueue,newProps,instance,renderExpirationTime),instance.state=workInProgress.memoizedState)),"function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=4)}var warnForMissingKey,didWarnAboutMaps=void 0,didWarnAboutGenerators=void 0,didWarnAboutStringRefInStrictMode=void 0,ownerHasKeyUseWarning=void 0,ownerHasFunctionTypeWarning=void 0;didWarnAboutMaps=!1,didWarnAboutGenerators=!1,didWarnAboutStringRefInStrictMode={},ownerHasKeyUseWarning={},ownerHasFunctionTypeWarning={},warnForMissingKey=function(child){if(null!==child&&"object"==typeof child&&child._store&&!child._store.validated&&null==child.key){"object"!=typeof child._store&&invariant(!1,"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."),child._store.validated=!0;var currentComponentErrorInfo='Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+getCurrentFiberStackInDev();ownerHasKeyUseWarning[currentComponentErrorInfo]||(ownerHasKeyUseWarning[currentComponentErrorInfo]=!0,warning$1(!1,'Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'))}};var isArray=Array.isArray;function coerceRef(returnFiber,current$$1,element){var mixedRef=element.ref;if(null!==mixedRef&&"function"!=typeof mixedRef&&"object"!=typeof mixedRef){if(2&returnFiber.mode){var componentName=getComponentName(returnFiber.type)||"Component";didWarnAboutStringRefInStrictMode[componentName]||(warningWithoutStack$1(!1,'A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using createRef() instead.\n%s\n\nLearn more about using refs safely here:\nhttps://fb.me/react-strict-mode-string-ref',mixedRef,getStackByFiberInDevAndProd(returnFiber)),didWarnAboutStringRefInStrictMode[componentName]=!0)}if(element._owner){var owner=element._owner,inst=void 0;if(owner){var ownerFiber=owner;1!==ownerFiber.tag&&invariant(!1,"Function components cannot have refs."),inst=ownerFiber.stateNode}inst||invariant(!1,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",mixedRef);var stringRef=""+mixedRef;if(null!==current$$1&&null!==current$$1.ref&&"function"==typeof current$$1.ref&&current$$1.ref._stringRef===stringRef)return current$$1.ref;var ref=function(value){var refs=inst.refs;refs===emptyRefsObject&&(refs=inst.refs={}),null===value?delete refs[stringRef]:refs[stringRef]=value};return ref._stringRef=stringRef,ref}"string"!=typeof mixedRef&&invariant(!1,"Expected ref to be a function, a string, an object returned by React.createRef(), or null."),element._owner||invariant(!1,"Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.",mixedRef)}return mixedRef}function throwOnInvalidObjectType(returnFiber,newChild){if("textarea"!==returnFiber.type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+getCurrentFiberStackInDev(),invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(newChild)?"object with keys {"+Object.keys(newChild).join(", ")+"}":newChild,addendum)}}function warnOnFunctionType(){var currentComponentErrorInfo="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+getCurrentFiberStackInDev();ownerHasFunctionTypeWarning[currentComponentErrorInfo]||(ownerHasFunctionTypeWarning[currentComponentErrorInfo]=!0,warning$1(!1,"Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function ChildReconciler(shouldTrackSideEffects){function deleteChild(returnFiber,childToDelete){if(shouldTrackSideEffects){var last=returnFiber.lastEffect;null!==last?(last.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete,childToDelete.nextEffect=null,childToDelete.effectTag=8}}function deleteRemainingChildren(returnFiber,currentFirstChild){if(!shouldTrackSideEffects)return null;for(var childToDelete=currentFirstChild;null!==childToDelete;)deleteChild(returnFiber,childToDelete),childToDelete=childToDelete.sibling;return null}function mapRemainingChildren(returnFiber,currentFirstChild){for(var existingChildren=new Map,existingChild=currentFirstChild;null!==existingChild;)null!==existingChild.key?existingChildren.set(existingChild.key,existingChild):existingChildren.set(existingChild.index,existingChild),existingChild=existingChild.sibling;return existingChildren}function useFiber(fiber,pendingProps,expirationTime){var clone=createWorkInProgress(fiber,pendingProps);return clone.index=0,clone.sibling=null,clone}function placeChild(newFiber,lastPlacedIndex,newIndex){if(newFiber.index=newIndex,!shouldTrackSideEffects)return lastPlacedIndex;var current$$1=newFiber.alternate;if(null!==current$$1){var oldIndex=current$$1.index;return oldIndex<lastPlacedIndex?(newFiber.effectTag=2,lastPlacedIndex):oldIndex}return newFiber.effectTag=2,lastPlacedIndex}function placeSingleChild(newFiber){return shouldTrackSideEffects&&null===newFiber.alternate&&(newFiber.effectTag=2),newFiber}function updateTextNode(returnFiber,current$$1,textContent,expirationTime){if(null===current$$1||6!==current$$1.tag){var created=createFiberFromText(textContent,returnFiber.mode,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current$$1,textContent);return existing.return=returnFiber,existing}function updateElement(returnFiber,current$$1,element,expirationTime){if(null!==current$$1&&current$$1.elementType===element.type){var existing=useFiber(current$$1,element.props);return existing.ref=coerceRef(returnFiber,current$$1,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}var created=createFiberFromElement(element,returnFiber.mode,expirationTime);return created.ref=coerceRef(returnFiber,current$$1,element),created.return=returnFiber,created}function updatePortal(returnFiber,current$$1,portal,expirationTime){if(null===current$$1||4!==current$$1.tag||current$$1.stateNode.containerInfo!==portal.containerInfo||current$$1.stateNode.implementation!==portal.implementation){var created=createFiberFromPortal(portal,returnFiber.mode,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current$$1,portal.children||[]);return existing.return=returnFiber,existing}function updateFragment(returnFiber,current$$1,fragment,expirationTime,key){if(null===current$$1||7!==current$$1.tag){var created=createFiberFromFragment(fragment,returnFiber.mode,expirationTime,key);return created.return=returnFiber,created}var existing=useFiber(current$$1,fragment);return existing.return=returnFiber,existing}function createChild(returnFiber,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild){var created=createFiberFromText(""+newChild,returnFiber.mode,expirationTime);return created.return=returnFiber,created}if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:var _created=createFiberFromElement(newChild,returnFiber.mode,expirationTime);return _created.ref=coerceRef(returnFiber,null,newChild),_created.return=returnFiber,_created;case REACT_PORTAL_TYPE:var _created2=createFiberFromPortal(newChild,returnFiber.mode,expirationTime);return _created2.return=returnFiber,_created2}if(isArray(newChild)||getIteratorFn(newChild)){var _created3=createFiberFromFragment(newChild,returnFiber.mode,expirationTime,null);return _created3.return=returnFiber,_created3}throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateSlot(returnFiber,oldFiber,newChild,expirationTime){var key=null!==oldFiber?oldFiber.key:null;if("string"==typeof newChild||"number"==typeof newChild)return null!==key?null:updateTextNode(returnFiber,oldFiber,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return newChild.key===key?newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,oldFiber,newChild.props.children,expirationTime,key):updateElement(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_PORTAL_TYPE:return newChild.key===key?updatePortal(returnFiber,oldFiber,newChild,expirationTime):null}if(isArray(newChild)||getIteratorFn(newChild))return null!==key?null:updateFragment(returnFiber,oldFiber,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateFromMap(existingChildren,returnFiber,newIdx,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild)return updateTextNode(returnFiber,existingChildren.get(newIdx)||null,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:var _matchedFiber=existingChildren.get(null===newChild.key?newIdx:newChild.key)||null;return newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,_matchedFiber,newChild.props.children,expirationTime,newChild.key):updateElement(returnFiber,_matchedFiber,newChild,expirationTime);case REACT_PORTAL_TYPE:return updatePortal(returnFiber,existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,newChild,expirationTime)}if(isArray(newChild)||getIteratorFn(newChild))return updateFragment(returnFiber,existingChildren.get(newIdx)||null,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function warnOnInvalidKey(child,knownKeys){if("object"!=typeof child||null===child)return knownKeys;switch(child.$$typeof){case REACT_ELEMENT_TYPE:case REACT_PORTAL_TYPE:warnForMissingKey(child);var key=child.key;if("string"!=typeof key)break;if(null===knownKeys){(knownKeys=new Set).add(key);break}if(!knownKeys.has(key)){knownKeys.add(key);break}warning$1(!1,"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",key)}return knownKeys}return function reconcileChildFibers(returnFiber,currentFirstChild,newChild,expirationTime){var isUnkeyedTopLevelFragment="object"==typeof newChild&&null!==newChild&&newChild.type===REACT_FRAGMENT_TYPE&&null===newChild.key;isUnkeyedTopLevelFragment&&(newChild=newChild.props.children);var isObject="object"==typeof newChild&&null!==newChild;if(isObject)switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return placeSingleChild(function reconcileSingleElement(returnFiber,currentFirstChild,element,expirationTime){for(var key=element.key,child=currentFirstChild;null!==child;){if(child.key===key){if(7===child.tag?element.type===REACT_FRAGMENT_TYPE:child.elementType===element.type){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,element.type===REACT_FRAGMENT_TYPE?element.props.children:element.props);return existing.ref=coerceRef(returnFiber,child,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}if(element.type===REACT_FRAGMENT_TYPE){var created=createFiberFromFragment(element.props.children,returnFiber.mode,expirationTime,element.key);return created.return=returnFiber,created}var _created4=createFiberFromElement(element,returnFiber.mode,expirationTime);return _created4.ref=coerceRef(returnFiber,currentFirstChild,element),_created4.return=returnFiber,_created4}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_PORTAL_TYPE:return placeSingleChild(function reconcileSinglePortal(returnFiber,currentFirstChild,portal,expirationTime){for(var key=portal.key,child=currentFirstChild;null!==child;){if(child.key===key){if(4===child.tag&&child.stateNode.containerInfo===portal.containerInfo&&child.stateNode.implementation===portal.implementation){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,portal.children||[]);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}var created=createFiberFromPortal(portal,returnFiber.mode,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime))}if("string"==typeof newChild||"number"==typeof newChild)return placeSingleChild(function reconcileSingleTextNode(returnFiber,currentFirstChild,textContent,expirationTime){if(null!==currentFirstChild&&6===currentFirstChild.tag){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);var existing=useFiber(currentFirstChild,textContent);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,currentFirstChild);var created=createFiberFromText(textContent,returnFiber.mode,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,""+newChild,expirationTime));if(isArray(newChild))return function reconcileChildrenArray(returnFiber,currentFirstChild,newChildren,expirationTime){for(var knownKeys=null,i=0;i<newChildren.length;i++)knownKeys=warnOnInvalidKey(newChildren[i],knownKeys);for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null;null!==oldFiber&&newIdx<newChildren.length;newIdx++){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,newChildren[newIdx],expirationTime);if(null===newFiber){null===oldFiber&&(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(newIdx===newChildren.length)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;newIdx<newChildren.length;newIdx++){var _newFiber=createChild(returnFiber,newChildren[newIdx],expirationTime);_newFiber&&(lastPlacedIndex=placeChild(_newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber:previousNewFiber.sibling=_newFiber,previousNewFiber=_newFiber)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);newIdx<newChildren.length;newIdx++){var _newFiber2=updateFromMap(existingChildren,returnFiber,newIdx,newChildren[newIdx],expirationTime);_newFiber2&&(shouldTrackSideEffects&&null!==_newFiber2.alternate&&existingChildren.delete(null===_newFiber2.key?newIdx:_newFiber2.key),lastPlacedIndex=placeChild(_newFiber2,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber2:previousNewFiber.sibling=_newFiber2,previousNewFiber=_newFiber2)}return shouldTrackSideEffects&&existingChildren.forEach((function(child){return deleteChild(returnFiber,child)})),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(getIteratorFn(newChild))return function reconcileChildrenIterator(returnFiber,currentFirstChild,newChildrenIterable,expirationTime){var iteratorFn=getIteratorFn(newChildrenIterable);"function"!=typeof iteratorFn&&invariant(!1,"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."),"function"==typeof Symbol&&"Generator"===newChildrenIterable[Symbol.toStringTag]&&(didWarnAboutGenerators||warning$1(!1,"Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),didWarnAboutGenerators=!0),newChildrenIterable.entries===iteratorFn&&(didWarnAboutMaps||warning$1(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),didWarnAboutMaps=!0);var _newChildren=iteratorFn.call(newChildrenIterable);if(_newChildren)for(var knownKeys=null,_step=_newChildren.next();!_step.done;_step=_newChildren.next())knownKeys=warnOnInvalidKey(_step.value,knownKeys);var newChildren=iteratorFn.call(newChildrenIterable);null==newChildren&&invariant(!1,"An iterable object provided no iterator.");for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null,step=newChildren.next();null!==oldFiber&&!step.done;newIdx++,step=newChildren.next()){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,step.value,expirationTime);if(null===newFiber){oldFiber||(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(step.done)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;!step.done;newIdx++,step=newChildren.next()){var _newFiber3=createChild(returnFiber,step.value,expirationTime);null!==_newFiber3&&(lastPlacedIndex=placeChild(_newFiber3,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber3:previousNewFiber.sibling=_newFiber3,previousNewFiber=_newFiber3)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);!step.done;newIdx++,step=newChildren.next()){var _newFiber4=updateFromMap(existingChildren,returnFiber,newIdx,step.value,expirationTime);null!==_newFiber4&&(shouldTrackSideEffects&&null!==_newFiber4.alternate&&existingChildren.delete(null===_newFiber4.key?newIdx:_newFiber4.key),lastPlacedIndex=placeChild(_newFiber4,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber4:previousNewFiber.sibling=_newFiber4,previousNewFiber=_newFiber4)}return shouldTrackSideEffects&&existingChildren.forEach((function(child){return deleteChild(returnFiber,child)})),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(isObject&&throwOnInvalidObjectType(returnFiber,newChild),"function"==typeof newChild&&warnOnFunctionType(),void 0===newChild&&!isUnkeyedTopLevelFragment)switch(returnFiber.tag){case 1:if(returnFiber.stateNode.render._isMockFunction)break;case 0:var Component=returnFiber.type;invariant(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",Component.displayName||Component.name||"Component")}return deleteRemainingChildren(returnFiber,currentFirstChild)}}var reconcileChildFibers=ChildReconciler(!0),mountChildFibers=ChildReconciler(!1);var hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1;function deleteHydratableInstance(returnFiber,instance){switch(returnFiber.tag){case 3:!function didNotHydrateContainerInstance(parentContainer,instance){1===instance.nodeType?warnForDeletedHydratableElement(parentContainer,instance):warnForDeletedHydratableText(parentContainer,instance)}(returnFiber.stateNode.containerInfo,instance);break;case 5:!function didNotHydrateInstance(parentType,parentProps,parentInstance,instance){!0!==parentProps.suppressHydrationWarning&&(1===instance.nodeType?warnForDeletedHydratableElement(parentInstance,instance):warnForDeletedHydratableText(parentInstance,instance))}(returnFiber.type,returnFiber.memoizedProps,returnFiber.stateNode,instance)}var childToDelete=function createFiberFromHostInstanceForDeletion(){var fiber=createFiber(5,null,null,0);return fiber.elementType="DELETED",fiber.type="DELETED",fiber}();childToDelete.stateNode=instance,childToDelete.return=returnFiber,childToDelete.effectTag=8,null!==returnFiber.lastEffect?(returnFiber.lastEffect.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete}function insertNonHydratedInstance(returnFiber,fiber){switch(fiber.effectTag|=2,returnFiber.tag){case 3:var parentContainer=returnFiber.stateNode.containerInfo;switch(fiber.tag){case 5:var type=fiber.type;fiber.pendingProps;!function didNotFindHydratableContainerInstance(parentContainer,type,props){warnForInsertedHydratedElement(parentContainer,type)}(parentContainer,type);break;case 6:!function didNotFindHydratableContainerTextInstance(parentContainer,text){warnForInsertedHydratedText(parentContainer,text)}(parentContainer,fiber.pendingProps)}break;case 5:returnFiber.type;var parentProps=returnFiber.memoizedProps,parentInstance=returnFiber.stateNode;switch(fiber.tag){case 5:var _type=fiber.type;fiber.pendingProps;!function didNotFindHydratableInstance(parentType,parentProps,parentInstance,type,props){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedElement(parentInstance,type)}(0,parentProps,parentInstance,_type);break;case 6:!function didNotFindHydratableTextInstance(parentType,parentProps,parentInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedText(parentInstance,text)}(0,parentProps,parentInstance,fiber.pendingProps)}break;default:return}}function tryHydrate(fiber,nextInstance){switch(fiber.tag){case 5:var type=fiber.type,instance=(fiber.pendingProps,function canHydrateInstance(instance,type,props){return 1!==instance.nodeType||type.toLowerCase()!==instance.nodeName.toLowerCase()?null:instance}(nextInstance,type));return null!==instance&&(fiber.stateNode=instance,!0);case 6:var textInstance=function canHydrateTextInstance(instance,text){return""===text||3!==instance.nodeType?null:instance}(nextInstance,fiber.pendingProps);return null!==textInstance&&(fiber.stateNode=textInstance,!0);default:return!1}}function tryToClaimNextHydratableInstance(fiber){if(isHydrating){var nextInstance=nextHydratableInstance;if(!nextInstance)return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);var firstAttemptedInstance=nextInstance;if(!tryHydrate(fiber,nextInstance)){if(!(nextInstance=getNextHydratableSibling(firstAttemptedInstance))||!tryHydrate(fiber,nextInstance))return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);deleteHydratableInstance(hydrationParentFiber,firstAttemptedInstance)}hydrationParentFiber=fiber,nextHydratableInstance=getFirstHydratableChild(nextInstance)}}function prepareToHydrateHostTextInstance(fiber){var textInstance=fiber.stateNode,textContent=fiber.memoizedProps,shouldUpdate=function hydrateTextInstance(textInstance,text,internalInstanceHandle){return precacheFiberNode(internalInstanceHandle,textInstance),function diffHydratedText(textNode,text){return textNode.nodeValue!==text}(textInstance,text)}(textInstance,textContent,fiber);if(shouldUpdate){var returnFiber=hydrationParentFiber;if(null!==returnFiber)switch(returnFiber.tag){case 3:returnFiber.stateNode.containerInfo;!function didNotMatchHydratedContainerTextInstance(parentContainer,textInstance,text){warnForUnmatchedText(textInstance,text)}(0,textInstance,textContent);break;case 5:returnFiber.type;var parentProps=returnFiber.memoizedProps;returnFiber.stateNode;!function didNotMatchHydratedTextInstance(parentType,parentProps,parentInstance,textInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForUnmatchedText(textInstance,text)}(0,parentProps,0,textInstance,textContent)}}return shouldUpdate}function popToNextHostParent(fiber){for(var parent=fiber.return;null!==parent&&5!==parent.tag&&3!==parent.tag;)parent=parent.return;hydrationParentFiber=parent}function popHydrationState(fiber){if(fiber!==hydrationParentFiber)return!1;if(!isHydrating)return popToNextHostParent(fiber),isHydrating=!0,!1;var type=fiber.type;if(5!==fiber.tag||"head"!==type&&"body"!==type&&!shouldSetTextContent(type,fiber.memoizedProps))for(var nextInstance=nextHydratableInstance;nextInstance;)deleteHydratableInstance(fiber,nextInstance),nextInstance=getNextHydratableSibling(nextInstance);return popToNextHostParent(fiber),nextHydratableInstance=hydrationParentFiber?getNextHydratableSibling(fiber.stateNode):null,!0}function resetHydrationState(){hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1}var ReactCurrentOwner$3=ReactSharedInternals.ReactCurrentOwner,didWarnAboutBadClass=void 0,didWarnAboutContextTypeOnFunctionComponent=void 0,didWarnAboutGetDerivedStateOnFunctionComponent=void 0,didWarnAboutFunctionRefs=void 0;function reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime){workInProgress.child=null===current$$1?mountChildFibers(workInProgress,null,nextChildren,renderExpirationTime):reconcileChildFibers(workInProgress,current$$1.child,nextChildren,renderExpirationTime)}function updateForwardRef(current$$1,workInProgress,Component,nextProps,renderExpirationTime){var render=Component.render,ref=workInProgress.ref,nextChildren=void 0;return prepareToReadContext(workInProgress),ReactCurrentOwner$3.current=workInProgress,setCurrentPhase("render"),nextChildren=render(nextProps,ref),setCurrentPhase(null),nextChildren=finishHooks(0,0,nextChildren),workInProgress.effectTag|=1,reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),workInProgress.child}function updateMemoComponent(current$$1,workInProgress,Component,nextProps,updateExpirationTime,renderExpirationTime){if(null===current$$1){var type=Component.type;if(function isSimpleFunctionComponent(type){return"function"==typeof type&&!shouldConstruct(type)&&void 0===type.defaultProps}(type)&&null===Component.compare)return workInProgress.tag=15,workInProgress.type=type,updateSimpleMemoComponent(current$$1,workInProgress,type,nextProps,updateExpirationTime,renderExpirationTime);var child=createFiberFromTypeAndProps(Component.type,null,nextProps,null,workInProgress.mode,renderExpirationTime);return child.ref=workInProgress.ref,child.return=workInProgress,workInProgress.child=child,child}var currentChild=current$$1.child;if(updateExpirationTime<renderExpirationTime){var prevProps=currentChild.memoizedProps,compare=Component.compare;if((compare=null!==compare?compare:shallowEqual)(prevProps,nextProps)&&current$$1.ref===workInProgress.ref)return bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime)}workInProgress.effectTag|=1;var newChild=createWorkInProgress(currentChild,nextProps);return newChild.ref=workInProgress.ref,newChild.return=workInProgress,workInProgress.child=newChild,newChild}function updateSimpleMemoComponent(current$$1,workInProgress,Component,nextProps,updateExpirationTime,renderExpirationTime){if(null!==current$$1&&updateExpirationTime<renderExpirationTime&&(shallowEqual(current$$1.memoizedProps,nextProps)&&current$$1.ref===workInProgress.ref))return bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime);return updateFunctionComponent(current$$1,workInProgress,Component,nextProps,renderExpirationTime)}function markRef(current$$1,workInProgress){var ref=workInProgress.ref;(null===current$$1&&null!==ref||null!==current$$1&&current$$1.ref!==ref)&&(workInProgress.effectTag|=128)}function updateFunctionComponent(current$$1,workInProgress,Component,nextProps,renderExpirationTime){var context=getMaskedContext(workInProgress,getUnmaskedContext(0,Component,!0)),nextChildren=void 0;return prepareToReadContext(workInProgress),ReactCurrentOwner$3.current=workInProgress,setCurrentPhase("render"),nextChildren=Component(nextProps,context),setCurrentPhase(null),nextChildren=finishHooks(0,0,nextChildren),workInProgress.effectTag|=1,reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),workInProgress.child}function updateClassComponent(current$$1,workInProgress,Component,nextProps,renderExpirationTime){var hasContext=void 0;isContextProvider(Component)?(hasContext=!0,pushContextProvider(workInProgress)):hasContext=!1,prepareToReadContext(workInProgress);var shouldUpdate=void 0;return null===workInProgress.stateNode?(null!==current$$1&&(current$$1.alternate=null,workInProgress.alternate=null,workInProgress.effectTag|=2),constructClassInstance(workInProgress,Component,nextProps),mountClassInstance(workInProgress,Component,nextProps,renderExpirationTime),shouldUpdate=!0):shouldUpdate=null===current$$1?function resumeMountClassInstance(workInProgress,ctor,newProps,renderExpirationTime){var instance=workInProgress.stateNode,oldProps=workInProgress.memoizedProps;instance.props=oldProps;var oldContext=instance.context,contextType=ctor.contextType,nextContext=void 0;nextContext="object"==typeof contextType&&null!==contextType?readContext$1(contextType):getMaskedContext(workInProgress,getUnmaskedContext(0,ctor,!0));var getDerivedStateFromProps=ctor.getDerivedStateFromProps,hasNewLifecycles="function"==typeof getDerivedStateFromProps||"function"==typeof instance.getSnapshotBeforeUpdate;hasNewLifecycles||"function"!=typeof instance.UNSAFE_componentWillReceiveProps&&"function"!=typeof instance.componentWillReceiveProps||oldProps===newProps&&oldContext===nextContext||callComponentWillReceiveProps(workInProgress,instance,newProps,nextContext),resetHasForceUpdateBeforeProcessing();var oldState=workInProgress.memoizedState,newState=instance.state=oldState,updateQueue=workInProgress.updateQueue;if(null!==updateQueue&&(processUpdateQueue(workInProgress,updateQueue,newProps,instance,renderExpirationTime),newState=workInProgress.memoizedState),oldProps===newProps&&oldState===newState&&!hasContextChanged()&&!checkHasForceUpdateAfterProcessing())return"function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=4),!1;"function"==typeof getDerivedStateFromProps&&(applyDerivedStateFromProps(workInProgress,ctor,getDerivedStateFromProps,newProps),newState=workInProgress.memoizedState);var shouldUpdate=checkHasForceUpdateAfterProcessing()||checkShouldComponentUpdate(workInProgress,ctor,oldProps,newProps,oldState,newState,nextContext);return shouldUpdate?(hasNewLifecycles||"function"!=typeof instance.UNSAFE_componentWillMount&&"function"!=typeof instance.componentWillMount||(startPhaseTimer(workInProgress,"componentWillMount"),"function"==typeof instance.componentWillMount&&instance.componentWillMount(),"function"==typeof instance.UNSAFE_componentWillMount&&instance.UNSAFE_componentWillMount(),stopPhaseTimer()),"function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=4)):("function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=4),workInProgress.memoizedProps=newProps,workInProgress.memoizedState=newState),instance.props=newProps,instance.state=newState,instance.context=nextContext,shouldUpdate}(workInProgress,Component,nextProps,renderExpirationTime):function updateClassInstance(current,workInProgress,ctor,newProps,renderExpirationTime){var instance=workInProgress.stateNode,oldProps=workInProgress.memoizedProps;instance.props=workInProgress.type===workInProgress.elementType?oldProps:resolveDefaultProps(workInProgress.type,oldProps);var oldContext=instance.context,contextType=ctor.contextType,nextContext=void 0;nextContext="object"==typeof contextType&&null!==contextType?readContext$1(contextType):getMaskedContext(workInProgress,getUnmaskedContext(0,ctor,!0));var getDerivedStateFromProps=ctor.getDerivedStateFromProps,hasNewLifecycles="function"==typeof getDerivedStateFromProps||"function"==typeof instance.getSnapshotBeforeUpdate;hasNewLifecycles||"function"!=typeof instance.UNSAFE_componentWillReceiveProps&&"function"!=typeof instance.componentWillReceiveProps||oldProps===newProps&&oldContext===nextContext||callComponentWillReceiveProps(workInProgress,instance,newProps,nextContext),resetHasForceUpdateBeforeProcessing();var oldState=workInProgress.memoizedState,newState=instance.state=oldState,updateQueue=workInProgress.updateQueue;if(null!==updateQueue&&(processUpdateQueue(workInProgress,updateQueue,newProps,instance,renderExpirationTime),newState=workInProgress.memoizedState),oldProps===newProps&&oldState===newState&&!hasContextChanged()&&!checkHasForceUpdateAfterProcessing())return"function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=4)),"function"==typeof instance.getSnapshotBeforeUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=256)),!1;"function"==typeof getDerivedStateFromProps&&(applyDerivedStateFromProps(workInProgress,ctor,getDerivedStateFromProps,newProps),newState=workInProgress.memoizedState);var shouldUpdate=checkHasForceUpdateAfterProcessing()||checkShouldComponentUpdate(workInProgress,ctor,oldProps,newProps,oldState,newState,nextContext);return shouldUpdate?(hasNewLifecycles||"function"!=typeof instance.UNSAFE_componentWillUpdate&&"function"!=typeof instance.componentWillUpdate||(startPhaseTimer(workInProgress,"componentWillUpdate"),"function"==typeof instance.componentWillUpdate&&instance.componentWillUpdate(newProps,newState,nextContext),"function"==typeof instance.UNSAFE_componentWillUpdate&&instance.UNSAFE_componentWillUpdate(newProps,newState,nextContext),stopPhaseTimer()),"function"==typeof instance.componentDidUpdate&&(workInProgress.effectTag|=4),"function"==typeof instance.getSnapshotBeforeUpdate&&(workInProgress.effectTag|=256)):("function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=4)),"function"==typeof instance.getSnapshotBeforeUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=256)),workInProgress.memoizedProps=newProps,workInProgress.memoizedState=newState),instance.props=newProps,instance.state=newState,instance.context=nextContext,shouldUpdate}(current$$1,workInProgress,Component,nextProps,renderExpirationTime),finishClassComponent(current$$1,workInProgress,Component,shouldUpdate,hasContext,renderExpirationTime)}function finishClassComponent(current$$1,workInProgress,Component,shouldUpdate,hasContext,renderExpirationTime){markRef(current$$1,workInProgress);var didCaptureError=0!=(64&workInProgress.effectTag);if(!shouldUpdate&&!didCaptureError)return hasContext&&invalidateContextProvider(workInProgress,Component,!1),bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime);var instance=workInProgress.stateNode;ReactCurrentOwner$3.current=workInProgress;var nextChildren=void 0;return didCaptureError&&"function"!=typeof Component.getDerivedStateFromError?(nextChildren=null,stopProfilerTimerIfRunning()):(setCurrentPhase("render"),nextChildren=instance.render(),2&workInProgress.mode&&instance.render(),setCurrentPhase(null)),workInProgress.effectTag|=1,null!==current$$1&&didCaptureError?function forceUnmountCurrentAndReconcile(current$$1,workInProgress,nextChildren,renderExpirationTime){workInProgress.child=reconcileChildFibers(workInProgress,current$$1.child,null,renderExpirationTime),workInProgress.child=reconcileChildFibers(workInProgress,null,nextChildren,renderExpirationTime)}(current$$1,workInProgress,nextChildren,renderExpirationTime):reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),workInProgress.memoizedState=instance.state,hasContext&&invalidateContextProvider(workInProgress,Component,!0),workInProgress.child}function pushHostRootContext(workInProgress){var root=workInProgress.stateNode;root.pendingContext?pushTopLevelContextObject(workInProgress,root.pendingContext,root.pendingContext!==root.context):root.context&&pushTopLevelContextObject(workInProgress,root.context,!1),pushHostContainer(workInProgress,root.containerInfo)}function updateHostRoot(current$$1,workInProgress,renderExpirationTime){pushHostRootContext(workInProgress);var updateQueue=workInProgress.updateQueue;null===updateQueue&&invariant(!1,"If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var nextProps=workInProgress.pendingProps,prevState=workInProgress.memoizedState,prevChildren=null!==prevState?prevState.element:null;processUpdateQueue(workInProgress,updateQueue,nextProps,null,renderExpirationTime);var nextChildren=workInProgress.memoizedState.element;if(nextChildren===prevChildren)return resetHydrationState(),bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime);var root=workInProgress.stateNode;return(null===current$$1||null===current$$1.child)&&root.hydrate&&function enterHydrationState(fiber){var parentInstance=fiber.stateNode.containerInfo;return nextHydratableInstance=getFirstHydratableChild(parentInstance),hydrationParentFiber=fiber,isHydrating=!0,!0}(workInProgress)?(workInProgress.effectTag|=2,workInProgress.child=mountChildFibers(workInProgress,null,nextChildren,renderExpirationTime)):(reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),resetHydrationState()),workInProgress.child}function mountLazyComponent(_current,workInProgress,elementType,updateExpirationTime,renderExpirationTime){null!==_current&&(_current.alternate=null,workInProgress.alternate=null,workInProgress.effectTag|=2);var props=workInProgress.pendingProps;cancelWorkTimer(workInProgress);var Component=function readLazyComponentType(lazyComponent){var status=lazyComponent._status,result=lazyComponent._result;switch(status){case 1:return result;case 2:case 0:throw result;default:lazyComponent._status=0;var _thenable=(0,lazyComponent._ctor)();throw _thenable.then((function(moduleObject){if(0===lazyComponent._status){var defaultExport=moduleObject.default;void 0===defaultExport&&warning$1(!1,"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))",moduleObject),lazyComponent._status=1,lazyComponent._result=defaultExport}}),(function(error){0===lazyComponent._status&&(lazyComponent._status=2,lazyComponent._result=error)})),lazyComponent._result=_thenable,_thenable}}(elementType);workInProgress.type=Component;var resolvedTag=workInProgress.tag=function resolveLazyComponentTag(Component){if("function"==typeof Component)return shouldConstruct(Component)?1:0;if(null!=Component){var $$typeof=Component.$$typeof;if($$typeof===REACT_FORWARD_REF_TYPE)return 11;if($$typeof===REACT_MEMO_TYPE)return 14}return 2}(Component);startWorkTimer(workInProgress);var resolvedProps=resolveDefaultProps(Component,props),child=void 0;switch(resolvedTag){case 0:child=updateFunctionComponent(null,workInProgress,Component,resolvedProps,renderExpirationTime);break;case 1:child=updateClassComponent(null,workInProgress,Component,resolvedProps,renderExpirationTime);break;case 11:child=updateForwardRef(null,workInProgress,Component,resolvedProps,renderExpirationTime);break;case 14:child=updateMemoComponent(null,workInProgress,Component,resolveDefaultProps(Component.type,resolvedProps),updateExpirationTime,renderExpirationTime);break;default:invariant(!1,"Element type is invalid. Received a promise that resolves to: %s. Promise elements must resolve to a class or function.",Component)}return child}function updateSuspenseComponent(current$$1,workInProgress,renderExpirationTime){var mode=workInProgress.mode,nextProps=workInProgress.pendingProps,nextState=workInProgress.memoizedState,nextDidTimeout=void 0;0==(64&workInProgress.effectTag)?(nextState=null,nextDidTimeout=!1):(nextState={timedOutAt:null!==nextState?nextState.timedOutAt:0},nextDidTimeout=!0,workInProgress.effectTag&=-65);var child=void 0,next=void 0;if(null===current$$1)if(nextDidTimeout){var nextFallbackChildren=nextProps.fallback,primaryChildFragment=createFiberFromFragment(null,mode,0,null);if(0==(1&workInProgress.mode)){var progressedPrimaryChild=null!==workInProgress.memoizedState?workInProgress.child.child:workInProgress.child;primaryChildFragment.child=progressedPrimaryChild}var fallbackChildFragment=createFiberFromFragment(nextFallbackChildren,mode,renderExpirationTime,null);primaryChildFragment.sibling=fallbackChildFragment,next=fallbackChildFragment,(child=primaryChildFragment).return=next.return=workInProgress}else{var nextPrimaryChildren=nextProps.children;child=next=mountChildFibers(workInProgress,null,nextPrimaryChildren,renderExpirationTime)}else if(null!==current$$1.memoizedState){var currentPrimaryChildFragment=current$$1.child,currentFallbackChildFragment=currentPrimaryChildFragment.sibling;if(nextDidTimeout){var _nextFallbackChildren=nextProps.fallback,_primaryChildFragment=createWorkInProgress(currentPrimaryChildFragment,currentPrimaryChildFragment.pendingProps);if(0==(1&workInProgress.mode)){var _progressedPrimaryChild=null!==workInProgress.memoizedState?workInProgress.child.child:workInProgress.child;_progressedPrimaryChild!==currentPrimaryChildFragment.child&&(_primaryChildFragment.child=_progressedPrimaryChild)}if(4&workInProgress.mode){for(var treeBaseDuration=0,hiddenChild=_primaryChildFragment.child;null!==hiddenChild;)treeBaseDuration+=hiddenChild.treeBaseDuration,hiddenChild=hiddenChild.sibling;_primaryChildFragment.treeBaseDuration=treeBaseDuration}var _fallbackChildFragment=_primaryChildFragment.sibling=createWorkInProgress(currentFallbackChildFragment,_nextFallbackChildren,currentFallbackChildFragment.expirationTime);child=_primaryChildFragment,_primaryChildFragment.childExpirationTime=0,next=_fallbackChildFragment,child.return=next.return=workInProgress}else{var _nextPrimaryChildren=nextProps.children,currentPrimaryChild=currentPrimaryChildFragment.child;child=next=reconcileChildFibers(workInProgress,currentPrimaryChild,_nextPrimaryChildren,renderExpirationTime)}}else{var _currentPrimaryChild=current$$1.child;if(nextDidTimeout){var _nextFallbackChildren2=nextProps.fallback,_primaryChildFragment2=createFiberFromFragment(null,mode,0,null);if(_primaryChildFragment2.child=_currentPrimaryChild,0==(1&workInProgress.mode)){var _progressedPrimaryChild2=null!==workInProgress.memoizedState?workInProgress.child.child:workInProgress.child;_primaryChildFragment2.child=_progressedPrimaryChild2}if(4&workInProgress.mode){for(var _treeBaseDuration=0,_hiddenChild=_primaryChildFragment2.child;null!==_hiddenChild;)_treeBaseDuration+=_hiddenChild.treeBaseDuration,_hiddenChild=_hiddenChild.sibling;_primaryChildFragment2.treeBaseDuration=_treeBaseDuration}var _fallbackChildFragment2=_primaryChildFragment2.sibling=createFiberFromFragment(_nextFallbackChildren2,mode,renderExpirationTime,null);_fallbackChildFragment2.effectTag|=2,child=_primaryChildFragment2,_primaryChildFragment2.childExpirationTime=0,next=_fallbackChildFragment2,child.return=next.return=workInProgress}else{var _nextPrimaryChildren2=nextProps.children;next=child=reconcileChildFibers(workInProgress,_currentPrimaryChild,_nextPrimaryChildren2,renderExpirationTime)}}return workInProgress.memoizedState=nextState,workInProgress.child=child,next}function updateContextProvider(current$$1,workInProgress,renderExpirationTime){var context=workInProgress.type._context,newProps=workInProgress.pendingProps,oldProps=workInProgress.memoizedProps,newValue=newProps.value,providerPropTypes=workInProgress.type.propTypes;if(providerPropTypes&&checkPropTypes(providerPropTypes,newProps,"prop","Context.Provider",getCurrentFiberStackInDev),pushProvider(workInProgress,newValue),null!==oldProps){var changedBits=function calculateChangedBits(context,newValue,oldValue){if(oldValue===newValue&&(0!==oldValue||1/oldValue==1/newValue)||oldValue!=oldValue&&newValue!=newValue)return 0;var changedBits="function"==typeof context._calculateChangedBits?context._calculateChangedBits(oldValue,newValue):1073741823;return(1073741823&changedBits)!==changedBits&&warning$1(!1,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",changedBits),0|changedBits}(context,newValue,oldProps.value);if(0===changedBits){if(oldProps.children===newProps.children&&!hasContextChanged())return bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime)}else!function propagateContextChange(workInProgress,context,changedBits,renderExpirationTime){var fiber=workInProgress.child;for(null!==fiber&&(fiber.return=workInProgress);null!==fiber;){var nextFiber=void 0,dependency=fiber.firstContextDependency;if(null!==dependency)do{if(dependency.context===context&&0!=(dependency.observedBits&changedBits)){if(1===fiber.tag){var update=createUpdate(renderExpirationTime);update.tag=2,enqueueUpdate(fiber,update)}fiber.expirationTime<renderExpirationTime&&(fiber.expirationTime=renderExpirationTime);var alternate=fiber.alternate;null!==alternate&&alternate.expirationTime<renderExpirationTime&&(alternate.expirationTime=renderExpirationTime);for(var node=fiber.return;null!==node;){if(alternate=node.alternate,node.childExpirationTime<renderExpirationTime)node.childExpirationTime=renderExpirationTime,null!==alternate&&alternate.childExpirationTime<renderExpirationTime&&(alternate.childExpirationTime=renderExpirationTime);else{if(!(null!==alternate&&alternate.childExpirationTime<renderExpirationTime))break;alternate.childExpirationTime=renderExpirationTime}node=node.return}}nextFiber=fiber.child,dependency=dependency.next}while(null!==dependency);else nextFiber=10===fiber.tag&&fiber.type===workInProgress.type?null:fiber.child;if(null!==nextFiber)nextFiber.return=fiber;else for(nextFiber=fiber;null!==nextFiber;){if(nextFiber===workInProgress){nextFiber=null;break}var sibling=nextFiber.sibling;if(null!==sibling){sibling.return=nextFiber.return,nextFiber=sibling;break}nextFiber=nextFiber.return}fiber=nextFiber}}(workInProgress,context,changedBits,renderExpirationTime)}return reconcileChildren(current$$1,workInProgress,newProps.children,renderExpirationTime),workInProgress.child}didWarnAboutBadClass={},didWarnAboutContextTypeOnFunctionComponent={},didWarnAboutGetDerivedStateOnFunctionComponent={},didWarnAboutFunctionRefs={};var hasWarnedAboutUsingContextAsConsumer=!1;function bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime){return cancelWorkTimer(workInProgress),null!==current$$1&&(workInProgress.firstContextDependency=current$$1.firstContextDependency),stopProfilerTimerIfRunning(),workInProgress.childExpirationTime<renderExpirationTime?null:(function cloneChildFibers(current$$1,workInProgress){if(null!==current$$1&&workInProgress.child!==current$$1.child&&invariant(!1,"Resuming work not yet implemented."),null!==workInProgress.child){var currentChild=workInProgress.child,newChild=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime);for(workInProgress.child=newChild,newChild.return=workInProgress;null!==currentChild.sibling;)currentChild=currentChild.sibling,(newChild=newChild.sibling=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime)).return=workInProgress;newChild.sibling=null}}(current$$1,workInProgress),workInProgress.child)}function beginWork(current$$1,workInProgress,renderExpirationTime){var updateExpirationTime=workInProgress.expirationTime;if(null!==current$$1&&(current$$1.memoizedProps===workInProgress.pendingProps&&!hasContextChanged()&&updateExpirationTime<renderExpirationTime)){switch(workInProgress.tag){case 3:pushHostRootContext(workInProgress),resetHydrationState();break;case 5:pushHostContext(workInProgress);break;case 1:isContextProvider(workInProgress.type)&&pushContextProvider(workInProgress);break;case 4:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);break;case 10:pushProvider(workInProgress,workInProgress.memoizedProps.value);break;case 12:workInProgress.effectTag|=4;break;case 13:if(null!==workInProgress.memoizedState){var primaryChildExpirationTime=workInProgress.child.childExpirationTime;if(0!==primaryChildExpirationTime&&primaryChildExpirationTime>=renderExpirationTime)return updateSuspenseComponent(current$$1,workInProgress,renderExpirationTime);var child=bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime);return null!==child?child.sibling:null}}return bailoutOnAlreadyFinishedWork(current$$1,workInProgress,renderExpirationTime)}switch(workInProgress.expirationTime=0,workInProgress.tag){case 2:return function mountIndeterminateComponent(_current,workInProgress,Component,renderExpirationTime){null!==_current&&(_current.alternate=null,workInProgress.alternate=null,workInProgress.effectTag|=2);var props=workInProgress.pendingProps,context=getMaskedContext(workInProgress,getUnmaskedContext(0,Component,!1));prepareToReadContext(workInProgress);var value=void 0;if(Component.prototype&&"function"==typeof Component.prototype.render){var componentName=getComponentName(Component)||"Unknown";didWarnAboutBadClass[componentName]||(warningWithoutStack$1(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",componentName,componentName),didWarnAboutBadClass[componentName]=!0)}if(2&workInProgress.mode&&ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress,null),ReactCurrentOwner$3.current=workInProgress,value=Component(props,context),workInProgress.effectTag|=1,"object"==typeof value&&null!==value&&"function"==typeof value.render&&void 0===value.$$typeof){workInProgress.tag=1;var hasContext=!1;isContextProvider(Component)?(hasContext=!0,pushContextProvider(workInProgress)):hasContext=!1,workInProgress.memoizedState=null!==value.state&&void 0!==value.state?value.state:null;var getDerivedStateFromProps=Component.getDerivedStateFromProps;return"function"==typeof getDerivedStateFromProps&&applyDerivedStateFromProps(workInProgress,Component,getDerivedStateFromProps,props),adoptClassInstance(workInProgress,value),mountClassInstance(workInProgress,Component,props,renderExpirationTime),finishClassComponent(null,workInProgress,Component,!0,hasContext,renderExpirationTime)}if(workInProgress.tag=0,value=finishHooks(0,0,value),Component&&Component.childContextTypes&&warningWithoutStack$1(!1,"%s(...): childContextTypes cannot be defined on a function component.",Component.displayName||Component.name||"Component"),null!==workInProgress.ref){var info="",ownerName=getCurrentFiberOwnerNameInDevOrNull();ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`.");var warningKey=ownerName||workInProgress._debugID||"",debugSource=workInProgress._debugSource;debugSource&&(warningKey=debugSource.fileName+":"+debugSource.lineNumber),didWarnAboutFunctionRefs[warningKey]||(didWarnAboutFunctionRefs[warningKey]=!0,warning$1(!1,"Function components cannot be given refs. Attempts to access this ref will fail.%s",info))}if("function"==typeof Component.getDerivedStateFromProps){var _componentName=getComponentName(Component)||"Unknown";didWarnAboutGetDerivedStateOnFunctionComponent[_componentName]||(warningWithoutStack$1(!1,"%s: Function components do not support getDerivedStateFromProps.",_componentName),didWarnAboutGetDerivedStateOnFunctionComponent[_componentName]=!0)}if("object"==typeof Component.contextType&&null!==Component.contextType){var _componentName2=getComponentName(Component)||"Unknown";didWarnAboutContextTypeOnFunctionComponent[_componentName2]||(warningWithoutStack$1(!1,"%s: Function components do not support contextType.",_componentName2),didWarnAboutContextTypeOnFunctionComponent[_componentName2]=!0)}return reconcileChildren(null,workInProgress,value,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,workInProgress.elementType,renderExpirationTime);case 16:return mountLazyComponent(current$$1,workInProgress,workInProgress.elementType,updateExpirationTime,renderExpirationTime);case 0:var _Component=workInProgress.type,unresolvedProps=workInProgress.pendingProps;return updateFunctionComponent(current$$1,workInProgress,_Component,workInProgress.elementType===_Component?unresolvedProps:resolveDefaultProps(_Component,unresolvedProps),renderExpirationTime);case 1:var _Component2=workInProgress.type,_unresolvedProps=workInProgress.pendingProps;return updateClassComponent(current$$1,workInProgress,_Component2,workInProgress.elementType===_Component2?_unresolvedProps:resolveDefaultProps(_Component2,_unresolvedProps),renderExpirationTime);case 3:return updateHostRoot(current$$1,workInProgress,renderExpirationTime);case 5:return function updateHostComponent(current$$1,workInProgress,renderExpirationTime){pushHostContext(workInProgress),null===current$$1&&tryToClaimNextHydratableInstance(workInProgress);var type=workInProgress.type,nextProps=workInProgress.pendingProps,prevProps=null!==current$$1?current$$1.memoizedProps:null,nextChildren=nextProps.children;return shouldSetTextContent(type,nextProps)?nextChildren=null:null!==prevProps&&shouldSetTextContent(type,prevProps)&&(workInProgress.effectTag|=16),markRef(current$$1,workInProgress),1!==renderExpirationTime&&1&workInProgress.mode&&function shouldDeprioritizeSubtree(type,props){return!!props.hidden}(0,nextProps)?(workInProgress.expirationTime=1,null):(reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),workInProgress.child)}(current$$1,workInProgress,renderExpirationTime);case 6:return function updateHostText(current$$1,workInProgress){return null===current$$1&&tryToClaimNextHydratableInstance(workInProgress),null}(current$$1,workInProgress);case 13:return updateSuspenseComponent(current$$1,workInProgress,renderExpirationTime);case 4:return function updatePortalComponent(current$$1,workInProgress,renderExpirationTime){pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);var nextChildren=workInProgress.pendingProps;return null===current$$1?workInProgress.child=reconcileChildFibers(workInProgress,null,nextChildren,renderExpirationTime):reconcileChildren(current$$1,workInProgress,nextChildren,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,renderExpirationTime);case 11:var type=workInProgress.type,_unresolvedProps2=workInProgress.pendingProps;return updateForwardRef(current$$1,workInProgress,type,workInProgress.elementType===type?_unresolvedProps2:resolveDefaultProps(type,_unresolvedProps2),renderExpirationTime);case 7:return function updateFragment(current$$1,workInProgress,renderExpirationTime){return reconcileChildren(current$$1,workInProgress,workInProgress.pendingProps,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,renderExpirationTime);case 8:return function updateMode(current$$1,workInProgress,renderExpirationTime){return reconcileChildren(current$$1,workInProgress,workInProgress.pendingProps.children,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,renderExpirationTime);case 12:return function updateProfiler(current$$1,workInProgress,renderExpirationTime){return workInProgress.effectTag|=4,reconcileChildren(current$$1,workInProgress,workInProgress.pendingProps.children,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,renderExpirationTime);case 10:return updateContextProvider(current$$1,workInProgress,renderExpirationTime);case 9:return function updateContextConsumer(current$$1,workInProgress,renderExpirationTime){var context=workInProgress.type;void 0===context._context?context!==context.Consumer&&(hasWarnedAboutUsingContextAsConsumer||(hasWarnedAboutUsingContextAsConsumer=!0,warning$1(!1,"Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):context=context._context;var newProps=workInProgress.pendingProps,render=newProps.children;"function"!=typeof render&&warningWithoutStack$1(!1,"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),prepareToReadContext(workInProgress);var newChildren,newValue=readContext(context,newProps.unstable_observedBits);return ReactCurrentOwner$3.current=workInProgress,setCurrentPhase("render"),newChildren=render(newValue),setCurrentPhase(null),workInProgress.effectTag|=1,reconcileChildren(current$$1,workInProgress,newChildren,renderExpirationTime),workInProgress.child}(current$$1,workInProgress,renderExpirationTime);case 14:var _type=workInProgress.type,_unresolvedProps3=workInProgress.pendingProps;return updateMemoComponent(current$$1,workInProgress,_type,resolveDefaultProps(_type.type,_unresolvedProps3),updateExpirationTime,renderExpirationTime);case 15:return updateSimpleMemoComponent(current$$1,workInProgress,workInProgress.type,workInProgress.pendingProps,updateExpirationTime,renderExpirationTime);case 17:var _Component3=workInProgress.type,_unresolvedProps4=workInProgress.pendingProps;return function mountIncompleteClassComponent(_current,workInProgress,Component,nextProps,renderExpirationTime){null!==_current&&(_current.alternate=null,workInProgress.alternate=null,workInProgress.effectTag|=2),workInProgress.tag=1;var hasContext=void 0;return isContextProvider(Component)?(hasContext=!0,pushContextProvider(workInProgress)):hasContext=!1,prepareToReadContext(workInProgress),constructClassInstance(workInProgress,Component,nextProps),mountClassInstance(workInProgress,Component,nextProps,renderExpirationTime),finishClassComponent(null,workInProgress,Component,!0,hasContext,renderExpirationTime)}(current$$1,workInProgress,_Component3,workInProgress.elementType===_Component3?_unresolvedProps4:resolveDefaultProps(_Component3,_unresolvedProps4),renderExpirationTime);default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function markUpdate(workInProgress){workInProgress.effectTag|=4}function markRef$1(workInProgress){workInProgress.effectTag|=128}var appendAllChildren=void 0,updateHostContainer=void 0,updateHostComponent$1=void 0,updateHostText$1=void 0;function completeWork(current,workInProgress,renderExpirationTime){var newProps=workInProgress.pendingProps;switch(workInProgress.tag){case 2:case 16:break;case 15:case 0:break;case 1:isContextProvider(workInProgress.type)&&popContext(workInProgress);break;case 3:popHostContainer(workInProgress),popTopLevelContextObject(workInProgress);var fiberRoot=workInProgress.stateNode;fiberRoot.pendingContext&&(fiberRoot.context=fiberRoot.pendingContext,fiberRoot.pendingContext=null),null!==current&&null!==current.child||(popHydrationState(workInProgress),workInProgress.effectTag&=-3),updateHostContainer(workInProgress);break;case 5:popHostContext(workInProgress);var rootContainerInstance=getRootHostContainer(),type=workInProgress.type;if(null!==current&&null!=workInProgress.stateNode)updateHostComponent$1(current,workInProgress,type,newProps,rootContainerInstance),current.ref!==workInProgress.ref&&markRef$1(workInProgress);else{if(!newProps){null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");break}var currentHostContext=getHostContext();if(popHydrationState(workInProgress))(function prepareToHydrateHostInstance(fiber,rootContainerInstance,hostContext){var updatePayload=hydrateInstance(fiber.stateNode,fiber.type,fiber.memoizedProps,rootContainerInstance,hostContext,fiber);return fiber.updateQueue=updatePayload,null!==updatePayload})(workInProgress,rootContainerInstance,currentHostContext)&&markUpdate(workInProgress);else{var instance=createInstance(type,newProps,rootContainerInstance,currentHostContext,workInProgress);appendAllChildren(instance,workInProgress,!1,!1),finalizeInitialChildren(instance,type,newProps,rootContainerInstance)&&markUpdate(workInProgress),workInProgress.stateNode=instance}null!==workInProgress.ref&&markRef$1(workInProgress)}break;case 6:var newText=newProps;if(current&&null!=workInProgress.stateNode){var oldText=current.memoizedProps;updateHostText$1(current,workInProgress,oldText,newText)}else{"string"!=typeof newText&&null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _rootContainerInstance=getRootHostContainer(),_currentHostContext=getHostContext();popHydrationState(workInProgress)?prepareToHydrateHostTextInstance(workInProgress)&&markUpdate(workInProgress):workInProgress.stateNode=createTextInstance(newText,_rootContainerInstance,_currentHostContext,workInProgress)}break;case 11:break;case 13:var nextState=workInProgress.memoizedState;if(0!=(64&workInProgress.effectTag))return workInProgress.expirationTime=renderExpirationTime,workInProgress;var nextDidTimeout=null!==nextState,prevDidTimeout=null!==current&&null!==current.memoizedState;if(null!==current&&!nextDidTimeout&&prevDidTimeout){var currentFallbackChild=current.child.sibling;if(null!==currentFallbackChild){var first=workInProgress.firstEffect;null!==first?(workInProgress.firstEffect=currentFallbackChild,currentFallbackChild.nextEffect=first):(workInProgress.firstEffect=workInProgress.lastEffect=currentFallbackChild,currentFallbackChild.nextEffect=null),currentFallbackChild.effectTag=8}}(nextDidTimeout!==prevDidTimeout||0==(1&workInProgress.effectTag)&&nextDidTimeout)&&(workInProgress.effectTag|=4);break;case 7:case 8:case 12:break;case 4:popHostContainer(workInProgress),updateHostContainer(workInProgress);break;case 10:popProvider(workInProgress);break;case 9:case 14:break;case 17:isContextProvider(workInProgress.type)&&popContext(workInProgress);break;default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}return null}function shouldCaptureSuspense(current,workInProgress){return void 0!==workInProgress.memoizedProps.fallback&&null===workInProgress.memoizedState}appendAllChildren=function(parent,workInProgress,needsVisibilityToggle,isHidden){for(var node=workInProgress.child;null!==node;){if(5===node.tag||6===node.tag)appendInitialChild(parent,node.stateNode);else if(4===node.tag);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===workInProgress)return;for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}},updateHostContainer=function(workInProgress){},updateHostComponent$1=function(current,workInProgress,type,newProps,rootContainerInstance){var oldProps=current.memoizedProps;if(oldProps!==newProps){var updatePayload=prepareUpdate(workInProgress.stateNode,type,oldProps,newProps,rootContainerInstance,getHostContext());workInProgress.updateQueue=updatePayload,updatePayload&&markUpdate(workInProgress)}},updateHostText$1=function(current,workInProgress,oldText,newText){oldText!==newText&&markUpdate(workInProgress)};var didWarnAboutUndefinedSnapshotBeforeUpdate;function logError(boundary,errorInfo){var source=errorInfo.source,stack=errorInfo.stack;null===stack&&null!==source&&(stack=getStackByFiberInDevAndProd(source));var capturedError={componentName:null!==source?getComponentName(source.type):null,componentStack:null!==stack?stack:"",error:errorInfo.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==boundary&&1===boundary.tag&&(capturedError.errorBoundary=boundary.stateNode,capturedError.errorBoundaryName=getComponentName(boundary.type),capturedError.errorBoundaryFound=!0,capturedError.willRetry=!0);try{!function logCapturedError(capturedError){var error=capturedError.error,componentName=capturedError.componentName,componentStack=capturedError.componentStack,errorBoundaryName=capturedError.errorBoundaryName,errorBoundaryFound=capturedError.errorBoundaryFound,willRetry=capturedError.willRetry;if(null!=error&&error._suppressLogging){if(errorBoundaryFound&&willRetry)return;console.error(error)}var combinedMessage=(componentName?"The above error occurred in the <"+componentName+"> component:":"The above error occurred in one of your React components:")+componentStack+"\n\n"+(errorBoundaryFound&&errorBoundaryName?willRetry?"React will try to recreate this component tree from scratch using the error boundary you provided, "+errorBoundaryName+".":"This error was initially handled by the error boundary "+errorBoundaryName+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(combinedMessage)}(capturedError)}catch(e){setTimeout((function(){throw e}))}}didWarnAboutUndefinedSnapshotBeforeUpdate=new Set;var callComponentWillUnmountWithTimer=function(current$$1,instance){startPhaseTimer(current$$1,"componentWillUnmount"),instance.props=current$$1.memoizedProps,instance.state=current$$1.memoizedState,instance.componentWillUnmount(),stopPhaseTimer()};function safelyDetachRef(current$$1){var ref=current$$1.ref;null!==ref&&("function"==typeof ref?(invokeGuardedCallback(null,ref,null,null),hasCaughtError()&&captureCommitPhaseError(current$$1,clearCaughtError())):ref.current=null)}function safelyCallDestroy(current$$1,destroy){(invokeGuardedCallback(null,destroy,null),hasCaughtError())&&captureCommitPhaseError(current$$1,clearCaughtError())}function commitBeforeMutationLifeCycles(current$$1,finishedWork){switch(finishedWork.tag){case 0:case 11:case 15:return void commitHookEffectList(2,0,finishedWork);case 1:if(256&finishedWork.effectTag&&null!==current$$1){var prevProps=current$$1.memoizedProps,prevState=current$$1.memoizedState;startPhaseTimer(finishedWork,"getSnapshotBeforeUpdate");var instance=finishedWork.stateNode;finishedWork.type===finishedWork.elementType&&(instance.props!==finishedWork.memoizedProps&&warning$1(!1,"Expected instance props to match memoized props before getSnapshotBeforeUpdate. This is likely due to a bug in React. Please file an issue."),instance.state!==finishedWork.memoizedState&&warning$1(!1,"Expected instance state to match memoized state before getSnapshotBeforeUpdate. This is likely due to a bug in React. Please file an issue."));var snapshot=instance.getSnapshotBeforeUpdate(finishedWork.elementType===finishedWork.type?prevProps:resolveDefaultProps(finishedWork.type,prevProps),prevState),didWarnSet=didWarnAboutUndefinedSnapshotBeforeUpdate;void 0!==snapshot||didWarnSet.has(finishedWork.type)||(didWarnSet.add(finishedWork.type),warningWithoutStack$1(!1,"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",getComponentName(finishedWork.type))),instance.__reactInternalSnapshotBeforeUpdate=snapshot,stopPhaseTimer()}return;case 3:case 5:case 6:case 4:case 17:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function commitHookEffectList(unmountTag,mountTag,finishedWork){}function commitLifeCycles(finishedRoot,current$$1,finishedWork,committedExpirationTime){switch(finishedWork.tag){case 0:case 11:case 15:break;case 1:var instance=finishedWork.stateNode;if(4&finishedWork.effectTag)if(null===current$$1)startPhaseTimer(finishedWork,"componentDidMount"),finishedWork.type===finishedWork.elementType&&(instance.props!==finishedWork.memoizedProps&&warning$1(!1,"Expected instance props to match memoized props before componentDidMount. This is likely due to a bug in React. Please file an issue."),instance.state!==finishedWork.memoizedState&&warning$1(!1,"Expected instance state to match memoized state before componentDidMount. This is likely due to a bug in React. Please file an issue.")),instance.componentDidMount(),stopPhaseTimer();else{var prevProps=finishedWork.elementType===finishedWork.type?current$$1.memoizedProps:resolveDefaultProps(finishedWork.type,current$$1.memoizedProps),prevState=current$$1.memoizedState;startPhaseTimer(finishedWork,"componentDidUpdate"),finishedWork.type===finishedWork.elementType&&(instance.props!==finishedWork.memoizedProps&&warning$1(!1,"Expected instance props to match memoized props before componentDidUpdate. This is likely due to a bug in React. Please file an issue."),instance.state!==finishedWork.memoizedState&&warning$1(!1,"Expected instance state to match memoized state before componentDidUpdate. This is likely due to a bug in React. Please file an issue.")),instance.componentDidUpdate(prevProps,prevState,instance.__reactInternalSnapshotBeforeUpdate),stopPhaseTimer()}var updateQueue=finishedWork.updateQueue;return void(null!==updateQueue&&(finishedWork.type===finishedWork.elementType&&(instance.props!==finishedWork.memoizedProps&&warning$1(!1,"Expected instance props to match memoized props before processing the update queue. This is likely due to a bug in React. Please file an issue."),instance.state!==finishedWork.memoizedState&&warning$1(!1,"Expected instance state to match memoized state before processing the update queue. This is likely due to a bug in React. Please file an issue.")),commitUpdateQueue(0,updateQueue,instance)));case 3:var _updateQueue=finishedWork.updateQueue;if(null!==_updateQueue){var _instance=null;if(null!==finishedWork.child)switch(finishedWork.child.tag){case 5:case 1:_instance=finishedWork.child.stateNode}commitUpdateQueue(0,_updateQueue,_instance)}return;case 5:var _instance2=finishedWork.stateNode;if(null===current$$1&&4&finishedWork.effectTag)!function commitMount(domElement,type,newProps,internalInstanceHandle){shouldAutoFocusHostComponent(type,newProps)&&domElement.focus()}(_instance2,finishedWork.type,finishedWork.memoizedProps);return;case 6:case 4:return;case 12:var onRender=finishedWork.memoizedProps.onRender;return void onRender(finishedWork.memoizedProps.id,null===current$$1?"mount":"update",finishedWork.actualDuration,finishedWork.treeBaseDuration,finishedWork.actualStartTime,getCommitTime(),finishedRoot.memoizedInteractions);case 13:case 17:break;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function commitAttachRef(finishedWork){var ref=finishedWork.ref;if(null!==ref){var instance=finishedWork.stateNode,instanceToUse=void 0;switch(finishedWork.tag){case 5:instanceToUse=instance;break;default:instanceToUse=instance}"function"==typeof ref?ref(instanceToUse):(ref.hasOwnProperty("current")||warningWithoutStack$1(!1,"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",getComponentName(finishedWork.type),getStackByFiberInDevAndProd(finishedWork)),ref.current=instanceToUse)}}function commitDetachRef(current$$1){var currentRef=current$$1.ref;null!==currentRef&&("function"==typeof currentRef?currentRef(null):currentRef.current=null)}function commitUnmount(current$$1){switch(function onCommitUnmount(fiber){"function"==typeof onCommitFiberUnmount&&onCommitFiberUnmount(fiber)}(current$$1),current$$1.tag){case 0:case 11:case 14:case 15:var updateQueue=current$$1.updateQueue;if(null!==updateQueue){var lastEffect=updateQueue.lastEffect;if(null!==lastEffect){var firstEffect=lastEffect.next,effect=firstEffect;do{var destroy=effect.destroy;null!==destroy&&safelyCallDestroy(current$$1,destroy),effect=effect.next}while(effect!==firstEffect)}}break;case 1:safelyDetachRef(current$$1);var instance=current$$1.stateNode;return void("function"==typeof instance.componentWillUnmount&&function safelyCallComponentWillUnmount(current$$1,instance){invokeGuardedCallback(null,callComponentWillUnmountWithTimer,null,current$$1,instance),hasCaughtError()&&captureCommitPhaseError(current$$1,clearCaughtError())}(current$$1,instance));case 5:return void safelyDetachRef(current$$1);case 4:return void unmountHostComponents(current$$1)}}function commitNestedUnmounts(root){for(var node=root;;)if(commitUnmount(node),null===node.child||4===node.tag){if(node===root)return;for(;null===node.sibling;){if(null===node.return||node.return===root)return;node=node.return}node.sibling.return=node.return,node=node.sibling}else node.child.return=node,node=node.child}function isHostParent(fiber){return 5===fiber.tag||3===fiber.tag||4===fiber.tag}function commitPlacement(finishedWork){var parentFiber=function getHostParentFiber(fiber){for(var parent=fiber.return;null!==parent;){if(isHostParent(parent))return parent;parent=parent.return}invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(finishedWork),parent=void 0,isContainer=void 0;switch(parentFiber.tag){case 5:parent=parentFiber.stateNode,isContainer=!1;break;case 3:case 4:parent=parentFiber.stateNode.containerInfo,isContainer=!0;break;default:invariant(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}16&parentFiber.effectTag&&(resetTextContent(parent),parentFiber.effectTag&=-17);for(var container,child,beforeChild,before=function getHostSibling(fiber){var node=fiber;siblings:for(;;){for(;null===node.sibling;){if(null===node.return||isHostParent(node.return))return null;node=node.return}for(node.sibling.return=node.return,node=node.sibling;5!==node.tag&&6!==node.tag;){if(2&node.effectTag)continue siblings;if(null===node.child||4===node.tag)continue siblings;node.child.return=node,node=node.child}if(!(2&node.effectTag))return node.stateNode}}(finishedWork),node=finishedWork;;){if(5===node.tag||6===node.tag)before?isContainer?(container=parent,child=node.stateNode,beforeChild=before,8===container.nodeType?container.parentNode.insertBefore(child,beforeChild):container.insertBefore(child,beforeChild)):insertBefore(parent,node.stateNode,before):isContainer?appendChildToContainer(parent,node.stateNode):appendChild(parent,node.stateNode);else if(4===node.tag);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===finishedWork)return;for(;null===node.sibling;){if(null===node.return||node.return===finishedWork)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}function unmountHostComponents(current$$1){for(var container,child,node=current$$1,currentParentIsValid=!1,currentParent=void 0,currentParentIsContainer=void 0;;){if(!currentParentIsValid){var parent=node.return;findParent:for(;;){switch(null===parent&&invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),parent.tag){case 5:currentParent=parent.stateNode,currentParentIsContainer=!1;break findParent;case 3:case 4:currentParent=parent.stateNode.containerInfo,currentParentIsContainer=!0;break findParent}parent=parent.return}currentParentIsValid=!0}if(5===node.tag||6===node.tag)commitNestedUnmounts(node),currentParentIsContainer?(container=currentParent,child=node.stateNode,8===container.nodeType?container.parentNode.removeChild(child):container.removeChild(child)):removeChild(currentParent,node.stateNode);else if(4===node.tag){if(currentParent=node.stateNode.containerInfo,currentParentIsContainer=!0,null!==node.child){node.child.return=node,node=node.child;continue}}else if(commitUnmount(node),null!==node.child){node.child.return=node,node=node.child;continue}if(node===current$$1)return;for(;null===node.sibling;){if(null===node.return||node.return===current$$1)return;4===(node=node.return).tag&&(currentParentIsValid=!1)}node.sibling.return=node.return,node=node.sibling}}function commitDeletion(current$$1){unmountHostComponents(current$$1),function detachFiber(current$$1){current$$1.return=null,current$$1.child=null,current$$1.alternate&&(current$$1.alternate.child=null,current$$1.alternate.return=null)}(current$$1)}function commitWork(current$$1,finishedWork){switch(finishedWork.tag){case 0:case 11:case 14:case 15:case 1:return;case 5:var instance=finishedWork.stateNode;if(null!=instance){var newProps=finishedWork.memoizedProps,oldProps=null!==current$$1?current$$1.memoizedProps:newProps,type=finishedWork.type,updatePayload=finishedWork.updateQueue;finishedWork.updateQueue=null,null!==updatePayload&&function commitUpdate(domElement,updatePayload,type,oldProps,newProps,internalInstanceHandle){updateFiberProps(domElement,newProps),updateProperties(domElement,updatePayload,type,oldProps,newProps)}(instance,updatePayload,type,oldProps,newProps)}return;case 6:null===finishedWork.stateNode&&invariant(!1,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var textInstance=finishedWork.stateNode,newText=finishedWork.memoizedProps;null!==current$$1&&current$$1.memoizedProps;return void function commitTextUpdate(textInstance,oldText,newText){textInstance.nodeValue=newText}(textInstance,0,newText);case 3:case 12:return;case 13:var newState=finishedWork.memoizedState,newDidTimeout=void 0,primaryChildParent=finishedWork;return null===newState?newDidTimeout=!1:(newDidTimeout=!0,primaryChildParent=finishedWork.child,0===newState.timedOutAt&&(newState.timedOutAt=requestCurrentTime())),void(null!==primaryChildParent&&function hideOrUnhideAllChildren(finishedWork,isHidden){for(var node=finishedWork;;){if(5===node.tag){var instance=node.stateNode;isHidden?hideInstance(instance):unhideInstance(node.stateNode,node.memoizedProps)}else if(6===node.tag){var _instance3=node.stateNode;isHidden?_instance3.nodeValue="":unhideTextInstance(_instance3,node.memoizedProps)}else{if(13===node.tag&&null!==node.memoizedState){var fallbackChildFragment=node.child.sibling;fallbackChildFragment.return=node,node=fallbackChildFragment;continue}if(null!==node.child){node.child.return=node,node=node.child;continue}}if(node===finishedWork)return;for(;null===node.sibling;){if(null===node.return||node.return===finishedWork)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}(primaryChildParent,newDidTimeout));case 17:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function commitResetTextContent(current$$1){resetTextContent(current$$1.stateNode)}function createRootErrorUpdate(fiber,errorInfo,expirationTime){var update=createUpdate(expirationTime);update.tag=3,update.payload={element:null};var error=errorInfo.value;return update.callback=function(){onUncaughtError(error),logError(fiber,errorInfo)},update}function createClassErrorUpdate(fiber,errorInfo,expirationTime){var update=createUpdate(expirationTime);update.tag=3;var getDerivedStateFromError=fiber.type.getDerivedStateFromError;if("function"==typeof getDerivedStateFromError){var error=errorInfo.value;update.payload=function(){return getDerivedStateFromError(error)}}var inst=fiber.stateNode;return null!==inst&&"function"==typeof inst.componentDidCatch&&(update.callback=function callback(){"function"!=typeof getDerivedStateFromError&&function markLegacyErrorBoundaryAsFailed(instance){null===legacyErrorBoundariesThatAlreadyFailed?legacyErrorBoundariesThatAlreadyFailed=new Set([instance]):legacyErrorBoundariesThatAlreadyFailed.add(instance)}(this);var error=errorInfo.value,stack=errorInfo.stack;logError(fiber,errorInfo),this.componentDidCatch(error,{componentStack:null!==stack?stack:""}),"function"!=typeof getDerivedStateFromError&&fiber.expirationTime!==Sync&&warningWithoutStack$1(!1,"%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",getComponentName(fiber.type)||"Unknown")}),update}function throwException(root,returnFiber,sourceFiber,value,renderExpirationTime){if(sourceFiber.effectTag|=1024,sourceFiber.firstEffect=sourceFiber.lastEffect=null,null!==value&&"object"==typeof value&&"function"==typeof value.then){var thenable=value,_workInProgress=returnFiber,earliestTimeoutMs=-1,startTimeMs=-1;do{if(13===_workInProgress.tag){var current$$1=_workInProgress.alternate;if(null!==current$$1){var currentState=current$$1.memoizedState;if(null!==currentState){startTimeMs=expirationTimeToMs(currentState.timedOutAt);break}}var timeoutPropMs=_workInProgress.pendingProps.maxDuration;"number"==typeof timeoutPropMs&&(timeoutPropMs<=0?earliestTimeoutMs=0:(-1===earliestTimeoutMs||timeoutPropMs<earliestTimeoutMs)&&(earliestTimeoutMs=timeoutPropMs))}_workInProgress=_workInProgress.return}while(null!==_workInProgress);_workInProgress=returnFiber;do{if(13===_workInProgress.tag&&shouldCaptureSuspense(_workInProgress.alternate,_workInProgress)){var pingTime=0==(1&_workInProgress.mode)?Sync:renderExpirationTime,onResolveOrReject=retrySuspendedRoot.bind(null,root,_workInProgress,sourceFiber,pingTime);if(onResolveOrReject=tracing.unstable_wrap(onResolveOrReject),thenable.then(onResolveOrReject,onResolveOrReject),0==(1&_workInProgress.mode)){if(_workInProgress.effectTag|=64,sourceFiber.effectTag&=-1957,1===sourceFiber.tag)null===sourceFiber.alternate&&(sourceFiber.tag=17);return void(sourceFiber.expirationTime=renderExpirationTime)}var absoluteTimeoutMs=void 0;if(-1===earliestTimeoutMs)absoluteTimeoutMs=1073741823;else{if(-1===startTimeMs)startTimeMs=expirationTimeToMs(findEarliestOutstandingPriorityLevel(root,renderExpirationTime))-5e3;absoluteTimeoutMs=startTimeMs+earliestTimeoutMs}return renderDidSuspend(root,absoluteTimeoutMs,renderExpirationTime),_workInProgress.effectTag|=2048,void(_workInProgress.expirationTime=renderExpirationTime)}_workInProgress=_workInProgress.return}while(null!==_workInProgress);value=new Error((getComponentName(sourceFiber.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+getStackByFiberInDevAndProd(sourceFiber))}!function renderDidError(){nextRenderDidError=!0}(),value=createCapturedValue(value,sourceFiber);var workInProgress=returnFiber;do{switch(workInProgress.tag){case 3:var _errorInfo=value;return workInProgress.effectTag|=2048,workInProgress.expirationTime=renderExpirationTime,void enqueueCapturedUpdate(workInProgress,createRootErrorUpdate(workInProgress,_errorInfo,renderExpirationTime));case 1:var errorInfo=value,ctor=workInProgress.type,instance=workInProgress.stateNode;if(0==(64&workInProgress.effectTag)&&("function"==typeof ctor.getDerivedStateFromError||null!==instance&&"function"==typeof instance.componentDidCatch&&!isAlreadyFailedLegacyErrorBoundary(instance)))return workInProgress.effectTag|=2048,workInProgress.expirationTime=renderExpirationTime,void enqueueCapturedUpdate(workInProgress,createClassErrorUpdate(workInProgress,errorInfo,renderExpirationTime))}workInProgress=workInProgress.return}while(null!==workInProgress)}function unwindWork(workInProgress,renderExpirationTime){switch(workInProgress.tag){case 1:isContextProvider(workInProgress.type)&&popContext(workInProgress);var effectTag=workInProgress.effectTag;return 2048&effectTag?(workInProgress.effectTag=-2049&effectTag|64,workInProgress):null;case 3:popHostContainer(workInProgress),popTopLevelContextObject(workInProgress);var _effectTag=workInProgress.effectTag;return 0!=(64&_effectTag)&&invariant(!1,"The root failed to unmount after an error. This is likely a bug in React. Please file an issue."),workInProgress.effectTag=-2049&_effectTag|64,workInProgress;case 5:return popHostContext(workInProgress),null;case 13:var _effectTag2=workInProgress.effectTag;return 2048&_effectTag2?(workInProgress.effectTag=-2049&_effectTag2|64,workInProgress):null;case 4:return popHostContainer(workInProgress),null;case 10:return popProvider(workInProgress),null;default:return null}}function unwindInterruptedWork(interruptedWork){switch(interruptedWork.tag){case 1:var childContextTypes=interruptedWork.type.childContextTypes;null!=childContextTypes&&popContext(interruptedWork);break;case 3:popHostContainer(interruptedWork),popTopLevelContextObject(interruptedWork);break;case 5:popHostContext(interruptedWork);break;case 4:popHostContainer(interruptedWork);break;case 10:popProvider(interruptedWork)}}var warnAboutUpdateOnUnmounted,warnAboutInvalidUpdates,DispatcherWithoutHooks={readContext:readContext},ReactCurrentOwner$2=ReactSharedInternals.ReactCurrentOwner,didWarnAboutStateTransition=void 0,didWarnSetStateChildContext=void 0;(null==tracing.__interactionsRef||null==tracing.__interactionsRef.current)&&invariant(!1,"It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling"),didWarnAboutStateTransition=!1,didWarnSetStateChildContext=!1;var didWarnStateUpdateForUnmountedComponent={};warnAboutUpdateOnUnmounted=function(fiber,isClass){var componentName=getComponentName(fiber.type)||"ReactComponent";didWarnStateUpdateForUnmountedComponent[componentName]||(warningWithoutStack$1(!1,"Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",isClass?"the componentWillUnmount method":"a useEffect cleanup function",getStackByFiberInDevAndProd(fiber)),didWarnStateUpdateForUnmountedComponent[componentName]=!0)},warnAboutInvalidUpdates=function(instance){switch(phase){case"getChildContext":if(didWarnSetStateChildContext)return;warningWithoutStack$1(!1,"setState(...): Cannot call setState() inside getChildContext()"),didWarnSetStateChildContext=!0;break;case"render":if(didWarnAboutStateTransition)return;warningWithoutStack$1(!1,"Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),didWarnAboutStateTransition=!0}};var lastUniqueAsyncExpiration=Sync-1,expirationContext=0,isWorking=!1,nextUnitOfWork=null,nextRoot=null,nextRenderExpirationTime=0,nextLatestAbsoluteTimeoutMs=-1,nextRenderDidError=!1,nextEffect=null,isCommitting$1=!1,passiveEffectCallbackHandle=null,passiveEffectCallback=null,legacyErrorBoundariesThatAlreadyFailed=null,interruptedBy=null,stashedWorkInProgressProperties=void 0,replayUnitOfWork=void 0,mayReplayFailedUnitOfWork=void 0,isReplayingFailedUnitOfWork=void 0,originalReplayError=void 0,rethrowOriginalError=void 0;function resetStack(){if(null!==nextUnitOfWork)for(var interruptedWork=nextUnitOfWork.return;null!==interruptedWork;)unwindInterruptedWork(interruptedWork),interruptedWork=interruptedWork.return;ReactStrictModeWarnings.discardPendingWarnings(),function checkThatStackIsEmpty(){-1!==index&&warningWithoutStack$1(!1,"Expected an empty stack. Something was not reset properly.")}(),nextRoot=null,nextRenderExpirationTime=0,nextLatestAbsoluteTimeoutMs=-1,nextRenderDidError=!1,nextUnitOfWork=null}function commitAllHostEffects(){for(;null!==nextEffect;){setCurrentFiber(nextEffect),recordEffect();var effectTag=nextEffect.effectTag;if(16&effectTag&&commitResetTextContent(nextEffect),128&effectTag){var current$$1=nextEffect.alternate;null!==current$$1&&commitDetachRef(current$$1)}switch(14&effectTag){case 2:commitPlacement(nextEffect),nextEffect.effectTag&=-3;break;case 6:commitPlacement(nextEffect),nextEffect.effectTag&=-3,commitWork(nextEffect.alternate,nextEffect);break;case 4:commitWork(nextEffect.alternate,nextEffect);break;case 8:commitDeletion(nextEffect)}nextEffect=nextEffect.nextEffect}resetCurrentFiber()}function commitBeforeMutationLifecycles(){for(;null!==nextEffect;){if(setCurrentFiber(nextEffect),256&nextEffect.effectTag)recordEffect(),commitBeforeMutationLifeCycles(nextEffect.alternate,nextEffect);nextEffect=nextEffect.nextEffect}resetCurrentFiber()}function commitAllLifeCycles(finishedRoot,committedExpirationTime){for(ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings(),ReactStrictModeWarnings.flushLegacyContextWarning();null!==nextEffect;){var effectTag=nextEffect.effectTag;if(36&effectTag)recordEffect(),commitLifeCycles(finishedRoot,nextEffect.alternate,nextEffect);128&effectTag&&(recordEffect(),commitAttachRef(nextEffect)),nextEffect=nextEffect.nextEffect}}function isAlreadyFailedLegacyErrorBoundary(instance){return null!==legacyErrorBoundariesThatAlreadyFailed&&legacyErrorBoundariesThatAlreadyFailed.has(instance)}function flushPassiveEffects(){null!==passiveEffectCallback&&(scheduler.unstable_cancelCallback(passiveEffectCallbackHandle),passiveEffectCallback())}function commitRoot(root,finishedWork){isWorking=!0,isCommitting$1=!0,function startCommitTimer(){supportsUserTiming&&(isCommitting=!0,hasScheduledUpdateInCurrentCommit=!1,labelsInCurrentCommit.clear(),beginMark("(Committing Changes)"))}(),root.current===finishedWork&&invariant(!1,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.");var committedExpirationTime=root.pendingCommitExpirationTime;0===committedExpirationTime&&invariant(!1,"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue."),root.pendingCommitExpirationTime=0;var updateExpirationTimeBeforeCommit=finishedWork.expirationTime,childExpirationTimeBeforeCommit=finishedWork.childExpirationTime;!function markCommittedPriorityLevels(root,earliestRemainingTime){if(root.didError=!1,0===earliestRemainingTime)return root.earliestPendingTime=0,root.latestPendingTime=0,root.earliestSuspendedTime=0,root.latestSuspendedTime=0,root.latestPingedTime=0,void findNextExpirationTimeToWorkOn(0,root);var latestPendingTime=root.latestPendingTime;0!==latestPendingTime&&(latestPendingTime>earliestRemainingTime?root.earliestPendingTime=root.latestPendingTime=0:root.earliestPendingTime>earliestRemainingTime&&(root.earliestPendingTime=root.latestPendingTime));var earliestSuspendedTime=root.earliestSuspendedTime;return 0===earliestSuspendedTime?(markPendingPriorityLevel(root,earliestRemainingTime),void findNextExpirationTimeToWorkOn(0,root)):earliestRemainingTime<root.latestSuspendedTime?(root.earliestSuspendedTime=0,root.latestSuspendedTime=0,root.latestPingedTime=0,markPendingPriorityLevel(root,earliestRemainingTime),void findNextExpirationTimeToWorkOn(0,root)):earliestRemainingTime>earliestSuspendedTime?(markPendingPriorityLevel(root,earliestRemainingTime),void findNextExpirationTimeToWorkOn(0,root)):void findNextExpirationTimeToWorkOn(0,root)}(root,childExpirationTimeBeforeCommit>updateExpirationTimeBeforeCommit?childExpirationTimeBeforeCommit:updateExpirationTimeBeforeCommit);var prevInteractions=null;prevInteractions=tracing.__interactionsRef.current,tracing.__interactionsRef.current=root.memoizedInteractions,ReactCurrentOwner$2.current=null;var firstEffect=void 0;for(finishedWork.effectTag>1?null!==finishedWork.lastEffect?(finishedWork.lastEffect.nextEffect=finishedWork,firstEffect=finishedWork.firstEffect):firstEffect=finishedWork:firstEffect=finishedWork.firstEffect,prepareForCommit(root.containerInfo),nextEffect=firstEffect,function startCommitSnapshotEffectsTimer(){supportsUserTiming&&(effectCountInCurrentCommit=0,beginMark("(Committing Snapshot Effects)"))}();null!==nextEffect;){var didError=!1,error=void 0;invokeGuardedCallback(null,commitBeforeMutationLifecycles,null),hasCaughtError()&&(didError=!0,error=clearCaughtError()),didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureCommitPhaseError(nextEffect,error),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}for(!function stopCommitSnapshotEffectsTimer(){if(supportsUserTiming){var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Snapshot Effects: "+count+" Total)","(Committing Snapshot Effects)",null)}}(),function recordCommitTime(){commitTime=scheduler.unstable_now()}(),nextEffect=firstEffect,function startCommitHostEffectsTimer(){supportsUserTiming&&(effectCountInCurrentCommit=0,beginMark("(Committing Host Effects)"))}();null!==nextEffect;){var _didError=!1,_error=void 0;invokeGuardedCallback(null,commitAllHostEffects,null),hasCaughtError()&&(_didError=!0,_error=clearCaughtError()),_didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureCommitPhaseError(nextEffect,_error),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}for(!function stopCommitHostEffectsTimer(){if(supportsUserTiming){var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Host Effects: "+count+" Total)","(Committing Host Effects)",null)}}(),function resetAfterCommit(containerInfo){restoreSelection(selectionInformation),selectionInformation=null,setEnabled(eventsEnabled),eventsEnabled=null}(root.containerInfo),root.current=finishedWork,nextEffect=firstEffect,function startCommitLifeCyclesTimer(){supportsUserTiming&&(effectCountInCurrentCommit=0,beginMark("(Calling Lifecycle Methods)"))}();null!==nextEffect;){var _didError2=!1,_error2=void 0;invokeGuardedCallback(null,commitAllLifeCycles,null,root,committedExpirationTime),hasCaughtError()&&(_didError2=!0,_error2=clearCaughtError()),_didError2&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureCommitPhaseError(nextEffect,_error2),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}isCommitting$1=!1,isWorking=!1,function stopCommitLifeCyclesTimer(){if(supportsUserTiming){var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Calling Lifecycle Methods: "+count+" Total)","(Calling Lifecycle Methods)",null)}}(),function stopCommitTimer(){if(supportsUserTiming){var warning=null;hasScheduledUpdateInCurrentCommit?warning="Lifecycle hook scheduled a cascading update":commitCountInCurrentWorkLoop>0&&(warning="Caused by a cascading update in earlier commit"),hasScheduledUpdateInCurrentCommit=!1,commitCountInCurrentWorkLoop++,isCommitting=!1,labelsInCurrentCommit.clear(),endMark("(Committing Changes)","(Committing Changes)",warning)}}(),function onCommitRoot(root){"function"==typeof onCommitFiberRoot&&onCommitFiberRoot(root)}(finishedWork.stateNode),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCommitWork(finishedWork);var updateExpirationTimeAfterCommit=finishedWork.expirationTime,childExpirationTimeAfterCommit=finishedWork.childExpirationTime,earliestRemainingTimeAfterCommit=childExpirationTimeAfterCommit>updateExpirationTimeAfterCommit?childExpirationTimeAfterCommit:updateExpirationTimeAfterCommit;0===earliestRemainingTimeAfterCommit&&(legacyErrorBoundariesThatAlreadyFailed=null),function onCommit(root,expirationTime){root.expirationTime=expirationTime,root.finishedWork=null}(root,earliestRemainingTimeAfterCommit),tracing.__interactionsRef.current=prevInteractions;var subscriber=void 0;try{if(null!==(subscriber=tracing.__subscriberRef.current)&&root.memoizedInteractions.size>0){var threadID=computeThreadID(committedExpirationTime,root.interactionThreadID);subscriber.onWorkStopped(root.memoizedInteractions,threadID)}}catch(error){hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}finally{var pendingInteractionMap=root.pendingInteractionMap;pendingInteractionMap.forEach((function(scheduledInteractions,scheduledExpirationTime){scheduledExpirationTime>earliestRemainingTimeAfterCommit&&(pendingInteractionMap.delete(scheduledExpirationTime),scheduledInteractions.forEach((function(interaction){if(interaction.__count--,null!==subscriber&&0===interaction.__count)try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}})))}))}}function resetChildExpirationTime(workInProgress,renderTime){if(1===renderTime||1!==workInProgress.childExpirationTime){var newChildExpirationTime=0;if(4&workInProgress.mode){for(var actualDuration=workInProgress.actualDuration,treeBaseDuration=workInProgress.selfBaseDuration,shouldBubbleActualDurations=null===workInProgress.alternate||workInProgress.child!==workInProgress.alternate.child,child=workInProgress.child;null!==child;){var childUpdateExpirationTime=child.expirationTime,childChildExpirationTime=child.childExpirationTime;childUpdateExpirationTime>newChildExpirationTime&&(newChildExpirationTime=childUpdateExpirationTime),childChildExpirationTime>newChildExpirationTime&&(newChildExpirationTime=childChildExpirationTime),shouldBubbleActualDurations&&(actualDuration+=child.actualDuration),treeBaseDuration+=child.treeBaseDuration,child=child.sibling}workInProgress.actualDuration=actualDuration,workInProgress.treeBaseDuration=treeBaseDuration}else for(var _child=workInProgress.child;null!==_child;){var _childUpdateExpirationTime=_child.expirationTime,_childChildExpirationTime=_child.childExpirationTime;_childUpdateExpirationTime>newChildExpirationTime&&(newChildExpirationTime=_childUpdateExpirationTime),_childChildExpirationTime>newChildExpirationTime&&(newChildExpirationTime=_childChildExpirationTime),_child=_child.sibling}workInProgress.childExpirationTime=newChildExpirationTime}}function completeUnitOfWork(workInProgress){for(;;){var current$$1=workInProgress.alternate;setCurrentFiber(workInProgress);var returnFiber=workInProgress.return,siblingFiber=workInProgress.sibling;if(0==(1024&workInProgress.effectTag)){if(mayReplayFailedUnitOfWork=!1,nextUnitOfWork=workInProgress,4&workInProgress.mode&&startProfilerTimer(workInProgress),nextUnitOfWork=completeWork(current$$1,workInProgress,nextRenderExpirationTime),4&workInProgress.mode&&stopProfilerTimerIfRunningAndRecordDelta(workInProgress,!1),mayReplayFailedUnitOfWork=!0,stopWorkTimer(workInProgress),resetChildExpirationTime(workInProgress,nextRenderExpirationTime),resetCurrentFiber(),null!==nextUnitOfWork)return nextUnitOfWork;if(null!==returnFiber&&0==(1024&returnFiber.effectTag))null===returnFiber.firstEffect&&(returnFiber.firstEffect=workInProgress.firstEffect),null!==workInProgress.lastEffect&&(null!==returnFiber.lastEffect&&(returnFiber.lastEffect.nextEffect=workInProgress.firstEffect),returnFiber.lastEffect=workInProgress.lastEffect),workInProgress.effectTag>1&&(null!==returnFiber.lastEffect?returnFiber.lastEffect.nextEffect=workInProgress:returnFiber.firstEffect=workInProgress,returnFiber.lastEffect=workInProgress);if(ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),null!==siblingFiber)return siblingFiber;if(null!==returnFiber){workInProgress=returnFiber;continue}return null}if(4&workInProgress.mode){stopProfilerTimerIfRunningAndRecordDelta(workInProgress,!1);for(var actualDuration=workInProgress.actualDuration,child=workInProgress.child;null!==child;)actualDuration+=child.actualDuration,child=child.sibling;workInProgress.actualDuration=actualDuration}var next=unwindWork(workInProgress);if(64&workInProgress.effectTag?stopFailedWorkTimer(workInProgress):stopWorkTimer(workInProgress),resetCurrentFiber(),null!==next)return stopWorkTimer(workInProgress),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),next.effectTag&=1023,next;if(null!==returnFiber&&(returnFiber.firstEffect=returnFiber.lastEffect=null,returnFiber.effectTag|=1024),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),null!==siblingFiber)return siblingFiber;if(null===returnFiber)return null;workInProgress=returnFiber}return null}function performUnitOfWork(workInProgress){var current$$1=workInProgress.alternate;startWorkTimer(workInProgress),setCurrentFiber(workInProgress),stashedWorkInProgressProperties=assignFiberPropertiesInDEV(stashedWorkInProgressProperties,workInProgress);var next=void 0;return 4&workInProgress.mode&&startProfilerTimer(workInProgress),next=beginWork(current$$1,workInProgress,nextRenderExpirationTime),workInProgress.memoizedProps=workInProgress.pendingProps,4&workInProgress.mode&&stopProfilerTimerIfRunningAndRecordDelta(workInProgress,!0),resetCurrentFiber(),isReplayingFailedUnitOfWork&&rethrowOriginalError(),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress),null===next&&(next=completeUnitOfWork(workInProgress)),ReactCurrentOwner$2.current=null,next}function workLoop(isYieldy){if(isYieldy)for(;null!==nextUnitOfWork&&!shouldYieldToRenderer();)nextUnitOfWork=performUnitOfWork(nextUnitOfWork);else for(;null!==nextUnitOfWork;)nextUnitOfWork=performUnitOfWork(nextUnitOfWork)}function renderRoot(root,isYieldy){isWorking&&invariant(!1,"renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),flushPassiveEffects(),isWorking=!0,ReactCurrentOwner$2.currentDispatcher=DispatcherWithoutHooks;var expirationTime=root.nextExpirationTimeToWorkOn;if(expirationTime!==nextRenderExpirationTime||root!==nextRoot||null===nextUnitOfWork){resetStack(),nextRenderExpirationTime=expirationTime,nextUnitOfWork=createWorkInProgress((nextRoot=root).current,null),root.pendingCommitExpirationTime=0;var interactions=new Set;if(root.pendingInteractionMap.forEach((function(scheduledInteractions,scheduledExpirationTime){scheduledExpirationTime>=expirationTime&&scheduledInteractions.forEach((function(interaction){return interactions.add(interaction)}))})),root.memoizedInteractions=interactions,interactions.size>0){var subscriber=tracing.__subscriberRef.current;if(null!==subscriber){var threadID=computeThreadID(expirationTime,root.interactionThreadID);try{subscriber.onWorkStarted(interactions,threadID)}catch(error){hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}}}}var prevInteractions=null;prevInteractions=tracing.__interactionsRef.current,tracing.__interactionsRef.current=root.memoizedInteractions;var didFatal=!1;for(startWorkLoopTimer(nextUnitOfWork);;){try{workLoop(isYieldy)}catch(thrownValue){resetContextDependences();var mayReplay=void 0;if(mayReplay=mayReplayFailedUnitOfWork,mayReplayFailedUnitOfWork=!0,null===nextUnitOfWork)didFatal=!0,onUncaughtError(thrownValue);else{4&nextUnitOfWork.mode&&stopProfilerTimerIfRunningAndRecordDelta(nextUnitOfWork,!0),resetCurrentlyProcessingQueue(),mayReplay&&replayUnitOfWork(nextUnitOfWork,thrownValue,isYieldy),null===nextUnitOfWork&&invariant(!1,"Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help us find it.");var sourceFiber=nextUnitOfWork,returnFiber=sourceFiber.return;if(null!==returnFiber){throwException(root,returnFiber,sourceFiber,thrownValue,nextRenderExpirationTime),nextUnitOfWork=completeUnitOfWork(sourceFiber);continue}didFatal=!0,onUncaughtError(thrownValue)}}break}if(tracing.__interactionsRef.current=prevInteractions,isWorking=!1,ReactCurrentOwner$2.currentDispatcher=null,resetContextDependences(),didFatal){return stopWorkLoopTimer(interruptedBy,!1),interruptedBy=null,function resetStackAfterFatalErrorInDev(){index=-1,valueStack.length=0,fiberStack.length=0}(),nextRoot=null,void function onFatal(root){root.finishedWork=null}(root)}if(null!==nextUnitOfWork){return stopWorkLoopTimer(interruptedBy,!1),interruptedBy=null,void function onYield(root){root.finishedWork=null}(root)}stopWorkLoopTimer(interruptedBy,!0);var rootWorkInProgress=root.current.alternate;if(null===rootWorkInProgress&&invariant(!1,"Finished root should have a work-in-progress. This error is likely caused by a bug in React. Please file an issue."),nextRoot=null,interruptedBy=null,nextRenderDidError){if(function hasLowerPriorityWork(root,erroredExpirationTime){var latestPendingTime=root.latestPendingTime,latestSuspendedTime=root.latestSuspendedTime,latestPingedTime=root.latestPingedTime;return 0!==latestPendingTime&&latestPendingTime<erroredExpirationTime||0!==latestSuspendedTime&&latestSuspendedTime<erroredExpirationTime||0!==latestPingedTime&&latestPingedTime<erroredExpirationTime}(root,expirationTime))return markSuspendedPriorityLevel(root,expirationTime),void onSuspend(root,rootWorkInProgress,expirationTime,root.expirationTime,-1);if(!root.didError&&isYieldy){root.didError=!0;var _suspendedExpirationTime=root.nextExpirationTimeToWorkOn=expirationTime,_rootExpirationTime=root.expirationTime=Sync;return void onSuspend(root,rootWorkInProgress,_suspendedExpirationTime,_rootExpirationTime,-1)}}if(isYieldy&&-1!==nextLatestAbsoluteTimeoutMs){var _suspendedExpirationTime2=expirationTime;markSuspendedPriorityLevel(root,_suspendedExpirationTime2);var earliestExpirationTimeMs=expirationTimeToMs(findEarliestOutstandingPriorityLevel(root,expirationTime));earliestExpirationTimeMs<nextLatestAbsoluteTimeoutMs&&(nextLatestAbsoluteTimeoutMs=earliestExpirationTimeMs);var currentTimeMs=expirationTimeToMs(requestCurrentTime()),msUntilTimeout=nextLatestAbsoluteTimeoutMs-currentTimeMs;return msUntilTimeout=msUntilTimeout<0?0:msUntilTimeout,void onSuspend(root,rootWorkInProgress,_suspendedExpirationTime2,root.expirationTime,msUntilTimeout)}!function onComplete(root,finishedWork,expirationTime){root.pendingCommitExpirationTime=expirationTime,root.finishedWork=finishedWork}(root,rootWorkInProgress,expirationTime)}function captureCommitPhaseError(sourceFiber,value){for(var fiber=sourceFiber.return;null!==fiber;){switch(fiber.tag){case 1:var ctor=fiber.type,instance=fiber.stateNode;if("function"==typeof ctor.getDerivedStateFromError||"function"==typeof instance.componentDidCatch&&!isAlreadyFailedLegacyErrorBoundary(instance))return enqueueUpdate(fiber,createClassErrorUpdate(fiber,createCapturedValue(value,sourceFiber),1073741823)),void scheduleWork(fiber,1073741823);break;case 3:return enqueueUpdate(fiber,createRootErrorUpdate(fiber,createCapturedValue(value,sourceFiber),1073741823)),void scheduleWork(fiber,1073741823)}fiber=fiber.return}if(3===sourceFiber.tag){var rootFiber=sourceFiber;enqueueUpdate(rootFiber,createRootErrorUpdate(rootFiber,createCapturedValue(value,rootFiber),1073741823)),scheduleWork(rootFiber,1073741823)}}function computeThreadID(expirationTime,interactionThreadID){return 1e3*expirationTime+interactionThreadID}function computeExpirationForFiber(currentTime,fiber){var expirationTime=void 0;return 0!==expirationContext?expirationTime=expirationContext:isWorking?expirationTime=isCommitting$1?Sync:nextRenderExpirationTime:1&fiber.mode?(expirationTime=isBatchingInteractiveUpdates?function computeInteractiveExpiration(currentTime){return computeExpirationBucket(currentTime,500,100)}(currentTime):computeAsyncExpiration(currentTime),null!==nextRoot&&expirationTime===nextRenderExpirationTime&&(expirationTime-=1)):expirationTime=Sync,isBatchingInteractiveUpdates&&(0===lowestPriorityPendingInteractiveExpirationTime||expirationTime<lowestPriorityPendingInteractiveExpirationTime)&&(lowestPriorityPendingInteractiveExpirationTime=expirationTime),expirationTime}function renderDidSuspend(root,absoluteTimeoutMs,suspendedTime){absoluteTimeoutMs>=0&&nextLatestAbsoluteTimeoutMs<absoluteTimeoutMs&&(nextLatestAbsoluteTimeoutMs=absoluteTimeoutMs)}function retrySuspendedRoot(root,boundaryFiber,sourceFiber,suspendedTime){var retryTime=void 0;(function isPriorityLevelSuspended(root,expirationTime){var earliestSuspendedTime=root.earliestSuspendedTime,latestSuspendedTime=root.latestSuspendedTime;return 0!==earliestSuspendedTime&&expirationTime<=earliestSuspendedTime&&expirationTime>=latestSuspendedTime})(root,suspendedTime)?function markPingedPriorityLevel(root,pingedTime){root.didError=!1;var latestPingedTime=root.latestPingedTime;(0===latestPingedTime||latestPingedTime>pingedTime)&&(root.latestPingedTime=pingedTime),findNextExpirationTimeToWorkOn(pingedTime,root)}(root,retryTime=suspendedTime):markPendingPriorityLevel(root,retryTime=computeExpirationForFiber(requestCurrentTime(),boundaryFiber));if((0!=(1&boundaryFiber.mode)&&root===nextRoot&&nextRenderExpirationTime===suspendedTime&&(nextRoot=null),scheduleWorkToRoot(boundaryFiber,retryTime),0==(1&boundaryFiber.mode))&&(scheduleWorkToRoot(sourceFiber,retryTime),1===sourceFiber.tag&&null!==sourceFiber.stateNode)){var update=createUpdate(retryTime);update.tag=2,enqueueUpdate(sourceFiber,update)}var rootExpirationTime=root.expirationTime;0!==rootExpirationTime&&requestWork(root,rootExpirationTime)}function scheduleWorkToRoot(fiber,expirationTime){if(function recordScheduleUpdate(){isCommitting&&(hasScheduledUpdateInCurrentCommit=!0),null!==currentPhase&&"componentWillMount"!==currentPhase&&"componentWillReceiveProps"!==currentPhase&&(hasScheduledUpdateInCurrentPhase=!0)}(),1===fiber.tag){fiber.stateNode;warnAboutInvalidUpdates()}fiber.expirationTime<expirationTime&&(fiber.expirationTime=expirationTime);var alternate=fiber.alternate;null!==alternate&&alternate.expirationTime<expirationTime&&(alternate.expirationTime=expirationTime);var node=fiber.return,root=null;if(null===node&&3===fiber.tag)root=fiber.stateNode;else for(;null!==node;){if(alternate=node.alternate,node.childExpirationTime<expirationTime?(node.childExpirationTime=expirationTime,null!==alternate&&alternate.childExpirationTime<expirationTime&&(alternate.childExpirationTime=expirationTime)):null!==alternate&&alternate.childExpirationTime<expirationTime&&(alternate.childExpirationTime=expirationTime),null===node.return&&3===node.tag){root=node.stateNode;break}node=node.return}if(null!==root){var interactions=tracing.__interactionsRef.current;if(interactions.size>0){var pendingInteractionMap=root.pendingInteractionMap,pendingInteractions=pendingInteractionMap.get(expirationTime);null!=pendingInteractions?interactions.forEach((function(interaction){pendingInteractions.has(interaction)||interaction.__count++,pendingInteractions.add(interaction)})):(pendingInteractionMap.set(expirationTime,new Set(interactions)),interactions.forEach((function(interaction){interaction.__count++})));var subscriber=tracing.__subscriberRef.current;if(null!==subscriber){var threadID=computeThreadID(expirationTime,root.interactionThreadID);subscriber.onWorkScheduled(interactions,threadID)}}}return root}function scheduleWork(fiber,expirationTime){var root=scheduleWorkToRoot(fiber,expirationTime);if(null!==root){if(!isWorking&&0!==nextRenderExpirationTime&&expirationTime>nextRenderExpirationTime&&(interruptedBy=fiber,resetStack()),markPendingPriorityLevel(root,expirationTime),!isWorking||isCommitting$1||nextRoot!==root)requestWork(root,root.expirationTime);nestedUpdateCount>NESTED_UPDATE_LIMIT&&(nestedUpdateCount=0,invariant(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."))}else switch(fiber.tag){case 1:warnAboutUpdateOnUnmounted(fiber,!0);break;case 0:case 11:case 14:case 15:warnAboutUpdateOnUnmounted(fiber,!1)}}function syncUpdates(fn,a,b,c,d){var previousExpirationContext=expirationContext;expirationContext=Sync;try{return fn(a,b,c,d)}finally{expirationContext=previousExpirationContext}}stashedWorkInProgressProperties=null,mayReplayFailedUnitOfWork=!0,isReplayingFailedUnitOfWork=!1,originalReplayError=null,replayUnitOfWork=function(failedUnitOfWork,thrownValue,isYieldy){if(null===thrownValue||"object"!=typeof thrownValue||"function"!=typeof thrownValue.then)if(null!==stashedWorkInProgressProperties){switch(assignFiberPropertiesInDEV(failedUnitOfWork,stashedWorkInProgressProperties),failedUnitOfWork.tag){case 3:popHostContainer(failedUnitOfWork),popTopLevelContextObject(failedUnitOfWork);break;case 5:popHostContext(failedUnitOfWork);break;case 1:isContextProvider(failedUnitOfWork.type)&&popContext(failedUnitOfWork);break;case 4:popHostContainer(failedUnitOfWork);break;case 10:popProvider(failedUnitOfWork)}if(isReplayingFailedUnitOfWork=!0,originalReplayError=thrownValue,invokeGuardedCallback(null,workLoop,null,isYieldy),isReplayingFailedUnitOfWork=!1,originalReplayError=null,hasCaughtError()){var replayError=clearCaughtError();if(null!=replayError&&null!=thrownValue)try{replayError._suppressLogging&&(thrownValue._suppressLogging=!0)}catch(inner){}}else nextUnitOfWork=failedUnitOfWork}else warningWithoutStack$1(!1,"Could not replay rendering after an error. This is likely a bug in React. Please file an issue.")},rethrowOriginalError=function(){throw originalReplayError};var firstScheduledRoot=null,lastScheduledRoot=null,callbackExpirationTime=0,callbackID=void 0,isRendering=!1,nextFlushedRoot=null,nextFlushedExpirationTime=0,lowestPriorityPendingInteractiveExpirationTime=0,hasUnhandledError=!1,unhandledError=null,isBatchingUpdates=!1,isUnbatchingUpdates=!1,isBatchingInteractiveUpdates=!1,completedBatches=null,originalStartTimeMs=scheduler.unstable_now(),currentRendererTime=msToExpirationTime(originalStartTimeMs),currentSchedulerTime=currentRendererTime,NESTED_UPDATE_LIMIT=50,nestedUpdateCount=0,lastCommittedRootDuringThisBatch=null;function recomputeCurrentRendererTime(){var currentTimeMs=scheduler.unstable_now()-originalStartTimeMs;currentRendererTime=msToExpirationTime(currentTimeMs)}function scheduleCallbackWithExpirationTime(root,expirationTime){if(0!==callbackExpirationTime){if(expirationTime<callbackExpirationTime)return;null!==callbackID&&scheduler.unstable_cancelCallback(callbackID)}else!function startRequestCallbackTimer(){supportsUserTiming&&!isWaitingForCallback&&(isWaitingForCallback=!0,beginMark("(Waiting for async callback...)"))}();callbackExpirationTime=expirationTime;var currentMs=scheduler.unstable_now()-originalStartTimeMs,timeout=expirationTimeToMs(expirationTime)-currentMs;callbackID=scheduler.unstable_scheduleCallback(performAsyncWork,{timeout:timeout})}function onSuspend(root,finishedWork,suspendedExpirationTime,rootExpirationTime,msUntilTimeout){root.expirationTime=rootExpirationTime,0!==msUntilTimeout||shouldYieldToRenderer()?msUntilTimeout>0&&(root.timeoutHandle=scheduleTimeout(onTimeout.bind(null,root,finishedWork,suspendedExpirationTime),msUntilTimeout)):(root.pendingCommitExpirationTime=suspendedExpirationTime,root.finishedWork=finishedWork)}function onTimeout(root,finishedWork,suspendedExpirationTime){root.pendingCommitExpirationTime=suspendedExpirationTime,root.finishedWork=finishedWork,recomputeCurrentRendererTime(),currentSchedulerTime=currentRendererTime,flushRoot(root,suspendedExpirationTime)}function requestCurrentTime(){return isRendering?currentSchedulerTime:(findHighestPriorityRoot(),0===nextFlushedExpirationTime||1===nextFlushedExpirationTime?(recomputeCurrentRendererTime(),currentSchedulerTime=currentRendererTime):currentSchedulerTime)}function requestWork(root,expirationTime){!function addRootToSchedule(root,expirationTime){if(null===root.nextScheduledRoot)root.expirationTime=expirationTime,null===lastScheduledRoot?(firstScheduledRoot=lastScheduledRoot=root,root.nextScheduledRoot=root):(lastScheduledRoot.nextScheduledRoot=root,(lastScheduledRoot=root).nextScheduledRoot=firstScheduledRoot);else{expirationTime>root.expirationTime&&(root.expirationTime=expirationTime)}}(root,expirationTime),isRendering||(isBatchingUpdates?isUnbatchingUpdates&&(nextFlushedRoot=root,nextFlushedExpirationTime=Sync,performWorkOnRoot(root,Sync,!1)):expirationTime===Sync?performSyncWork():scheduleCallbackWithExpirationTime(0,expirationTime))}function findHighestPriorityRoot(){var highestPriorityWork=0,highestPriorityRoot=null;if(null!==lastScheduledRoot)for(var previousScheduledRoot=lastScheduledRoot,root=firstScheduledRoot;null!==root;){var remainingExpirationTime=root.expirationTime;if(0===remainingExpirationTime){if((null===previousScheduledRoot||null===lastScheduledRoot)&&invariant(!1,"Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue."),root===root.nextScheduledRoot){root.nextScheduledRoot=null,firstScheduledRoot=lastScheduledRoot=null;break}if(root===firstScheduledRoot){var next=root.nextScheduledRoot;firstScheduledRoot=next,lastScheduledRoot.nextScheduledRoot=next,root.nextScheduledRoot=null}else{if(root===lastScheduledRoot){(lastScheduledRoot=previousScheduledRoot).nextScheduledRoot=firstScheduledRoot,root.nextScheduledRoot=null;break}previousScheduledRoot.nextScheduledRoot=root.nextScheduledRoot,root.nextScheduledRoot=null}root=previousScheduledRoot.nextScheduledRoot}else{if(remainingExpirationTime>highestPriorityWork&&(highestPriorityWork=remainingExpirationTime,highestPriorityRoot=root),root===lastScheduledRoot)break;if(highestPriorityWork===Sync)break;previousScheduledRoot=root,root=root.nextScheduledRoot}}nextFlushedRoot=highestPriorityRoot,nextFlushedExpirationTime=highestPriorityWork}var didYield=!1;function shouldYieldToRenderer(){return!!didYield||!!scheduler.unstable_shouldYield()&&(didYield=!0,!0)}function performAsyncWork(){try{if(!shouldYieldToRenderer()&&null!==firstScheduledRoot){recomputeCurrentRendererTime();var root=firstScheduledRoot;do{didExpireAtExpirationTime(root,currentRendererTime),root=root.nextScheduledRoot}while(root!==firstScheduledRoot)}performWork(0,!0)}finally{didYield=!1}}function performSyncWork(){performWork(Sync,!1)}function performWork(minExpirationTime,isYieldy){if(findHighestPriorityRoot(),isYieldy)for(recomputeCurrentRendererTime(),currentSchedulerTime=currentRendererTime,function stopRequestCallbackTimer(didExpire,expirationTime){supportsUserTiming&&(isWaitingForCallback=!1,endMark("(Waiting for async callback... will force flush in "+expirationTime+" ms)","(Waiting for async callback...)",didExpire?"React was blocked by main thread":null))}(nextFlushedExpirationTime>currentRendererTime,expirationTimeToMs(nextFlushedExpirationTime));null!==nextFlushedRoot&&0!==nextFlushedExpirationTime&&minExpirationTime<=nextFlushedExpirationTime&&!(didYield&&currentRendererTime>nextFlushedExpirationTime);)performWorkOnRoot(nextFlushedRoot,nextFlushedExpirationTime,currentRendererTime>nextFlushedExpirationTime),findHighestPriorityRoot(),recomputeCurrentRendererTime(),currentSchedulerTime=currentRendererTime;else for(;null!==nextFlushedRoot&&0!==nextFlushedExpirationTime&&minExpirationTime<=nextFlushedExpirationTime;)performWorkOnRoot(nextFlushedRoot,nextFlushedExpirationTime,!1),findHighestPriorityRoot();isYieldy&&(callbackExpirationTime=0,callbackID=null),0!==nextFlushedExpirationTime&&scheduleCallbackWithExpirationTime(0,nextFlushedExpirationTime),function finishRendering(){if(nestedUpdateCount=0,lastCommittedRootDuringThisBatch=null,null!==completedBatches){var batches=completedBatches;completedBatches=null;for(var i=0;i<batches.length;i++){var batch=batches[i];try{batch._onComplete()}catch(error){hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}}}if(hasUnhandledError){var error=unhandledError;throw unhandledError=null,hasUnhandledError=!1,error}}()}function flushRoot(root,expirationTime){isRendering&&invariant(!1,"work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method."),nextFlushedRoot=root,nextFlushedExpirationTime=expirationTime,performWorkOnRoot(root,expirationTime,!1),performSyncWork()}function performWorkOnRoot(root,expirationTime,isYieldy){if(isRendering&&invariant(!1,"performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),isRendering=!0,isYieldy){var _finishedWork=root.finishedWork;if(null!==_finishedWork)completeRoot(root,_finishedWork,expirationTime);else{root.finishedWork=null;var _timeoutHandle=root.timeoutHandle;-1!==_timeoutHandle&&(root.timeoutHandle=-1,cancelTimeout(_timeoutHandle)),renderRoot(root,isYieldy),null!==(_finishedWork=root.finishedWork)&&(shouldYieldToRenderer()?root.finishedWork=_finishedWork:completeRoot(root,_finishedWork,expirationTime))}}else{var finishedWork=root.finishedWork;if(null!==finishedWork)completeRoot(root,finishedWork,expirationTime);else{root.finishedWork=null;var timeoutHandle=root.timeoutHandle;-1!==timeoutHandle&&(root.timeoutHandle=-1,cancelTimeout(timeoutHandle)),renderRoot(root,isYieldy),null!==(finishedWork=root.finishedWork)&&completeRoot(root,finishedWork,expirationTime)}}isRendering=!1}function completeRoot(root,finishedWork,expirationTime){var firstBatch=root.firstBatch;if(null!==firstBatch&&firstBatch._expirationTime>=expirationTime&&(null===completedBatches?completedBatches=[firstBatch]:completedBatches.push(firstBatch),firstBatch._defer))return root.finishedWork=finishedWork,void(root.expirationTime=0);root.finishedWork=null,root===lastCommittedRootDuringThisBatch?nestedUpdateCount++:(lastCommittedRootDuringThisBatch=root,nestedUpdateCount=0),commitRoot(root,finishedWork)}function onUncaughtError(error){null===nextFlushedRoot&&invariant(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),nextFlushedRoot.expirationTime=0,hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}function batchedUpdates$1(fn,a){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return fn(a)}finally{(isBatchingUpdates=previousIsBatchingUpdates)||isRendering||performSyncWork()}}function unbatchedUpdates(fn,a){if(isBatchingUpdates&&!isUnbatchingUpdates){isUnbatchingUpdates=!0;try{return fn(a)}finally{isUnbatchingUpdates=!1}}return fn(a)}function interactiveUpdates$1(fn,a,b){if(isBatchingInteractiveUpdates)return fn(a,b);isBatchingUpdates||isRendering||0===lowestPriorityPendingInteractiveExpirationTime||(performWork(lowestPriorityPendingInteractiveExpirationTime,!1),lowestPriorityPendingInteractiveExpirationTime=0);var previousIsBatchingInteractiveUpdates=isBatchingInteractiveUpdates,previousIsBatchingUpdates=isBatchingUpdates;isBatchingInteractiveUpdates=!0,isBatchingUpdates=!0;try{return fn(a,b)}finally{isBatchingInteractiveUpdates=previousIsBatchingInteractiveUpdates,(isBatchingUpdates=previousIsBatchingUpdates)||isRendering||performSyncWork()}}var didWarnAboutNestedUpdates=void 0,didWarnAboutFindNodeInStrictMode=void 0;function getContextForSubtree(parentComponent){if(!parentComponent)return emptyContextObject;var fiber=get(parentComponent),parentContext=function findCurrentUnmaskedContext(fiber){isFiberMounted(fiber)&&1===fiber.tag||invariant(!1,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var node=fiber;do{switch(node.tag){case 3:return node.stateNode.context;case 1:if(isContextProvider(node.type))return node.stateNode.__reactInternalMemoizedMergedChildContext}node=node.return}while(null!==node);invariant(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}(fiber);if(1===fiber.tag){var Component=fiber.type;if(isContextProvider(Component))return processChildContext(fiber,Component,parentContext)}return parentContext}function updateContainerAtExpirationTime(element,container,parentComponent,expirationTime,callback){var current$$1=container.current;ReactFiberInstrumentation_1.debugTool&&(null===current$$1.alternate?ReactFiberInstrumentation_1.debugTool.onMountContainer(container):null===element?ReactFiberInstrumentation_1.debugTool.onUnmountContainer(container):ReactFiberInstrumentation_1.debugTool.onUpdateContainer(container));var context=getContextForSubtree(parentComponent);return null===container.context?container.context=context:container.pendingContext=context,function scheduleRootUpdate(current$$1,element,expirationTime,callback){"render"!==phase||null===current||didWarnAboutNestedUpdates||(didWarnAboutNestedUpdates=!0,warningWithoutStack$1(!1,"Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",getComponentName(current.type)||"Unknown"));var update=createUpdate(expirationTime);return update.payload={element:element},null!==(callback=void 0===callback?null:callback)&&("function"!=typeof callback&&warningWithoutStack$1(!1,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callback),update.callback=callback),flushPassiveEffects(),enqueueUpdate(current$$1,update),scheduleWork(current$$1,expirationTime),expirationTime}(current$$1,element,expirationTime,callback)}function updateContainer(element,container,parentComponent,callback){var current$$1=container.current;return updateContainerAtExpirationTime(element,container,parentComponent,computeExpirationForFiber(requestCurrentTime(),current$$1),callback)}function getPublicRootInstance(container){var containerFiber=container.current;if(!containerFiber.child)return null;switch(containerFiber.child.tag){case 5:default:return containerFiber.child.stateNode}}function findHostInstanceWithNoPortals(fiber){var hostFiber=function findCurrentHostFiberWithNoPortals(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(5===node.tag||6===node.tag)return node;if(node.child&&4!==node.tag)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}(fiber);return null===hostFiber?null:hostFiber.stateNode}function createPortal$1(children,containerInfo,implementation){var key=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:REACT_PORTAL_TYPE,key:null==key?null:""+key,children:children,containerInfo:containerInfo,implementation:implementation}}didWarnAboutNestedUpdates=!1,didWarnAboutFindNodeInStrictMode={};var topLevelUpdateWarnings,warnOnInvalidCallback,ReactCurrentOwner=ReactSharedInternals.ReactCurrentOwner,didWarnAboutUnstableCreatePortal=!1;function ReactBatch(root){var expirationTime=function computeUniqueAsyncExpiration(){var result=computeAsyncExpiration(requestCurrentTime());return result>=lastUniqueAsyncExpiration&&(result=lastUniqueAsyncExpiration-1),lastUniqueAsyncExpiration=result}();this._expirationTime=expirationTime,this._root=root,this._next=null,this._callbacks=null,this._didComplete=!1,this._hasChildren=!1,this._children=null,this._defer=!0}function ReactWork(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ReactRoot(container,isConcurrent,hydrate){var root=function createContainer(containerInfo,isConcurrent,hydrate){return createFiberRoot(containerInfo,isConcurrent,hydrate)}(container,isConcurrent,hydrate);this._internalRoot=root}function isValidContainer(node){return!(!node||1!==node.nodeType&&9!==node.nodeType&&11!==node.nodeType&&(8!==node.nodeType||" react-mount-point-unstable "!==node.nodeValue))}function getReactRootElementInContainer(container){return container?9===container.nodeType?container.documentElement:container.firstChild:null}"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||warningWithoutStack$1(!1,"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),topLevelUpdateWarnings=function(container){if(container._reactRootContainer&&8!==container.nodeType){var hostInstance=findHostInstanceWithNoPortals(container._reactRootContainer._internalRoot.current);hostInstance&&hostInstance.parentNode!==container&&warningWithoutStack$1(!1,"render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var isRootRenderedBySomeReact=!!container._reactRootContainer,rootEl=getReactRootElementInContainer(container);!(!rootEl||!getInstanceFromNode$1(rootEl))&&!isRootRenderedBySomeReact&&warningWithoutStack$1(!1,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===container.nodeType&&container.tagName&&"BODY"===container.tagName.toUpperCase()&&warningWithoutStack$1(!1,"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},warnOnInvalidCallback=function(callback,callerName){null!==callback&&"function"!=typeof callback&&warningWithoutStack$1(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callerName,callback)},function setRestoreImplementation(impl){restoreImpl=impl}((function restoreControlledState$1(domElement,tag,props){switch(tag){case"input":return void restoreControlledState(domElement,props);case"textarea":return void function restoreControlledState$3(element,props){updateWrapper$1(element,props)}(domElement,props);case"select":return void function restoreControlledState$2(element,props){var node=element,value=props.value;null!=value&&updateOptions(node,!!props.multiple,value,!1)}(domElement,props)}})),ReactBatch.prototype.render=function(children){this._defer||invariant(!1,"batch.render: Cannot render a batch that already committed."),this._hasChildren=!0,this._children=children;var internalRoot=this._root._internalRoot,expirationTime=this._expirationTime,work=new ReactWork;return updateContainerAtExpirationTime(children,internalRoot,null,expirationTime,work._onCommit),work},ReactBatch.prototype.then=function(onComplete){if(this._didComplete)onComplete();else{var callbacks=this._callbacks;null===callbacks&&(callbacks=this._callbacks=[]),callbacks.push(onComplete)}},ReactBatch.prototype.commit=function(){var internalRoot=this._root._internalRoot,firstBatch=internalRoot.firstBatch;if(this._defer&&null!==firstBatch||invariant(!1,"batch.commit: Cannot commit a batch multiple times."),!this._hasChildren)return this._next=null,void(this._defer=!1);var expirationTime=this._expirationTime;if(firstBatch!==this){this._hasChildren&&(expirationTime=this._expirationTime=firstBatch._expirationTime,this.render(this._children));for(var previous=null,batch=firstBatch;batch!==this;)previous=batch,batch=batch._next;null===previous&&invariant(!1,"batch.commit: Cannot commit a batch multiple times."),previous._next=batch._next,this._next=firstBatch,firstBatch=internalRoot.firstBatch=this}this._defer=!1,flushRoot(internalRoot,expirationTime);var next=this._next;this._next=null,null!==(firstBatch=internalRoot.firstBatch=next)&&firstBatch._hasChildren&&firstBatch.render(firstBatch._children)},ReactBatch.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var callbacks=this._callbacks;if(null!==callbacks)for(var i=0;i<callbacks.length;i++){(0,callbacks[i])()}}},ReactWork.prototype.then=function(onCommit){if(this._didCommit)onCommit();else{var callbacks=this._callbacks;null===callbacks&&(callbacks=this._callbacks=[]),callbacks.push(onCommit)}},ReactWork.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var callbacks=this._callbacks;if(null!==callbacks)for(var i=0;i<callbacks.length;i++){var _callback2=callbacks[i];"function"!=typeof _callback2&&invariant(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",_callback2),_callback2()}}},ReactRoot.prototype.render=function(children,callback){var root=this._internalRoot,work=new ReactWork;return warnOnInvalidCallback(callback=void 0===callback?null:callback,"render"),null!==callback&&work.then(callback),updateContainer(children,root,null,work._onCommit),work},ReactRoot.prototype.unmount=function(callback){var root=this._internalRoot,work=new ReactWork;return warnOnInvalidCallback(callback=void 0===callback?null:callback,"render"),null!==callback&&work.then(callback),updateContainer(null,root,null,work._onCommit),work},ReactRoot.prototype.legacy_renderSubtreeIntoContainer=function(parentComponent,children,callback){var root=this._internalRoot,work=new ReactWork;return warnOnInvalidCallback(callback=void 0===callback?null:callback,"render"),null!==callback&&work.then(callback),updateContainer(children,root,parentComponent,work._onCommit),work},ReactRoot.prototype.createBatch=function(){var batch=new ReactBatch(this),expirationTime=batch._expirationTime,internalRoot=this._internalRoot,firstBatch=internalRoot.firstBatch;if(null===firstBatch)internalRoot.firstBatch=batch,batch._next=null;else{for(var insertAfter=null,insertBefore=firstBatch;null!==insertBefore&&insertBefore._expirationTime>=expirationTime;)insertAfter=insertBefore,insertBefore=insertBefore._next;batch._next=insertBefore,null!==insertAfter&&(insertAfter._next=batch)}return batch},function setBatchingImplementation(batchedUpdatesImpl,interactiveUpdatesImpl,flushInteractiveUpdatesImpl){_batchedUpdatesImpl=batchedUpdatesImpl,_interactiveUpdatesImpl=interactiveUpdatesImpl,_flushInteractiveUpdatesImpl=flushInteractiveUpdatesImpl}(batchedUpdates$1,interactiveUpdates$1,(function flushInteractiveUpdates$1(){isRendering||0===lowestPriorityPendingInteractiveExpirationTime||(performWork(lowestPriorityPendingInteractiveExpirationTime,!1),lowestPriorityPendingInteractiveExpirationTime=0)}));var warnedAboutHydrateAPI=!1;function legacyCreateRootFromDOMContainer(container,forceHydrate){var shouldHydrate=forceHydrate||function shouldHydrateDueToLegacyHeuristic(container){var rootElement=getReactRootElementInContainer(container);return!(!rootElement||1!==rootElement.nodeType||!rootElement.hasAttribute("data-reactroot"))}(container);if(!shouldHydrate)for(var warned=!1,rootSibling=void 0;rootSibling=container.lastChild;)!warned&&1===rootSibling.nodeType&&rootSibling.hasAttribute("data-reactroot")&&(warned=!0,warningWithoutStack$1(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),container.removeChild(rootSibling);!shouldHydrate||forceHydrate||warnedAboutHydrateAPI||(warnedAboutHydrateAPI=!0,lowPriorityWarning$1(!1,"render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML."));return new ReactRoot(container,!1,shouldHydrate)}function legacyRenderSubtreeIntoContainer(parentComponent,children,container,forceHydrate,callback){isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),topLevelUpdateWarnings(container);var root=container._reactRootContainer;if(root){if("function"==typeof callback){var _originalCallback=callback;callback=function(){var instance=getPublicRootInstance(root._internalRoot);_originalCallback.call(instance)}}null!=parentComponent?root.legacy_renderSubtreeIntoContainer(parentComponent,children,callback):root.render(children,callback)}else{if(root=container._reactRootContainer=legacyCreateRootFromDOMContainer(container,forceHydrate),"function"==typeof callback){var originalCallback=callback;callback=function(){var instance=getPublicRootInstance(root._internalRoot);originalCallback.call(instance)}}unbatchedUpdates((function(){null!=parentComponent?root.legacy_renderSubtreeIntoContainer(parentComponent,children,callback):root.render(children,callback)}))}return getPublicRootInstance(root._internalRoot)}function createPortal(children,container){var key=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),createPortal$1(children,container,null,key)}var ReactDOM={createPortal:createPortal,findDOMNode:function(componentOrElement){var owner=ReactCurrentOwner.current;null!==owner&&null!==owner.stateNode&&(owner.stateNode._warnedAboutRefsInRender||warningWithoutStack$1(!1,"%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(owner.type)||"A component"),owner.stateNode._warnedAboutRefsInRender=!0);return null==componentOrElement?null:1===componentOrElement.nodeType?componentOrElement:function findHostInstanceWithWarning(component,methodName){var fiber=get(component);void 0===fiber&&("function"==typeof component.render?invariant(!1,"Unable to find node on an unmounted component."):invariant(!1,"Argument appears to not be a ReactComponent. Keys: %s",Object.keys(component)));var hostFiber=findCurrentHostFiber(fiber);if(null===hostFiber)return null;if(2&hostFiber.mode){var componentName=getComponentName(fiber.type)||"Component";didWarnAboutFindNodeInStrictMode[componentName]||(didWarnAboutFindNodeInStrictMode[componentName]=!0,2&fiber.mode?warningWithoutStack$1(!1,"%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference.\n%s\n\nLearn more about using refs safely here:\nhttps://fb.me/react-strict-mode-find-node",methodName,methodName,componentName,getStackByFiberInDevAndProd(hostFiber)):warningWithoutStack$1(!1,"%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference.\n%s\n\nLearn more about using refs safely here:\nhttps://fb.me/react-strict-mode-find-node",methodName,methodName,componentName,getStackByFiberInDevAndProd(hostFiber)))}return hostFiber.stateNode}(componentOrElement,"findDOMNode")},hydrate:function(element,container,callback){return legacyRenderSubtreeIntoContainer(null,element,container,!0,callback)},render:function(element,container,callback){return legacyRenderSubtreeIntoContainer(null,element,container,!1,callback)},unstable_renderSubtreeIntoContainer:function(parentComponent,element,containerNode,callback){return null!=parentComponent&&function has(key){return void 0!==key._reactInternalFiber}(parentComponent)||invariant(!1,"parentComponent must be a valid React Component"),legacyRenderSubtreeIntoContainer(parentComponent,element,containerNode,!1,callback)},unmountComponentAtNode:function(container){if(isValidContainer(container)||invariant(!1,"unmountComponentAtNode(...): Target container is not a DOM element."),container._reactRootContainer){var rootEl=getReactRootElementInContainer(container);return rootEl&&!getInstanceFromNode$1(rootEl)&&warningWithoutStack$1(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),unbatchedUpdates((function(){legacyRenderSubtreeIntoContainer(null,null,container,!1,(function(){container._reactRootContainer=null}))})),!0}var _rootEl=getReactRootElementInContainer(container),hasNonRootReactChild=!(!_rootEl||!getInstanceFromNode$1(_rootEl)),isContainerReactRoot=1===container.nodeType&&isValidContainer(container.parentNode)&&!!container.parentNode._reactRootContainer;return hasNonRootReactChild&&warningWithoutStack$1(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",isContainerReactRoot?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},unstable_createPortal:function(){return didWarnAboutUnstableCreatePortal||(didWarnAboutUnstableCreatePortal=!0,lowPriorityWarning$1(!1,'The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),createPortal.apply(void 0,arguments)},unstable_batchedUpdates:batchedUpdates$1,unstable_interactiveUpdates:interactiveUpdates$1,flushSync:function flushSync(fn,a){isRendering&&invariant(!1,"flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return syncUpdates(fn,a)}finally{isBatchingUpdates=previousIsBatchingUpdates,performSyncWork()}},unstable_flushControlled:function flushControlled(fn){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{syncUpdates(fn)}finally{(isBatchingUpdates=previousIsBatchingUpdates)||isRendering||performSyncWork()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[getInstanceFromNode$1,getNodeFromInstance$1,getFiberCurrentPropsFromNode$1,injection.injectEventPluginsByName,eventNameDispatchConfigs,accumulateTwoPhaseDispatches,function accumulateDirectDispatches(events){forEachAccumulated(events,accumulateDirectDispatchesSingle)},enqueueStateRestore,restoreStateIfNeeded,dispatchEvent,runEventsInBatch]}};function createRoot(container,options){return isValidContainer(container)||invariant(!1,"%s(...): Target container is not a DOM element.","unstable_createRoot"),new ReactRoot(container,!0,null!=options&&!0===options.hydrate)}if(ReactDOM.unstable_createRoot=createRoot,!function injectIntoDevTools(devToolsConfig){var findFiberByHostInstance=devToolsConfig.findFiberByHostInstance;return function injectInternals(internals){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var hook=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(hook.isDisabled)return!0;if(!hook.supportsFiber)return warningWithoutStack$1(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var rendererID=hook.inject(internals);onCommitFiberRoot=catchErrors((function(root){return hook.onCommitFiberRoot(rendererID,root)})),onCommitFiberUnmount=catchErrors((function(fiber){return hook.onCommitFiberUnmount(rendererID,fiber)}))}catch(err){warningWithoutStack$1(!1,"React DevTools encountered an error: %s.",err)}return!0}(_assign({},devToolsConfig,{findHostInstanceByFiber:function(fiber){var hostFiber=findCurrentHostFiber(fiber);return null===hostFiber?null:hostFiber.stateNode},findFiberByHostInstance:function(instance){return findFiberByHostInstance?findFiberByHostInstance(instance):null}}))}({findFiberByHostInstance:getClosestInstanceFromNode,bundleType:1,version:"16.6.3",rendererPackageName:"react-dom"})&&canUseDOM&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var protocol=window.location.protocol;/^(https?|file):$/.test(protocol)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===protocol?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}var ReactDOM$2=Object.freeze({default:ReactDOM}),ReactDOM$3=ReactDOM$2&&ReactDOM||ReactDOM$2,reactDom=ReactDOM$3.default||ReactDOM$3;module.exports=reactDom})()},Ymqv:function(module,exports,__webpack_require__){var cof=__webpack_require__("LZWt");module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},YuTi:function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},Z0cm:function(module,exports){var isArray=Array.isArray;module.exports=isArray},Z2Ku:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$includes=__webpack_require__("w2a5")(!0);$export($export.P,"Array",{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__("nGyu")("includes")},Z6hE:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign},Z6vF:function(module,exports,__webpack_require__){var META=__webpack_require__("ylqs")("meta"),isObject=__webpack_require__("0/R4"),has=__webpack_require__("aagx"),setDesc=__webpack_require__("hswa").f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__webpack_require__("eeVq")((function(){return isExtensible(Object.preventExtensions({}))})),setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},Z8oC:function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__("y1pI");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},ZD67:function(module,exports,__webpack_require__){"use strict";var redefineAll=__webpack_require__("3Lyj"),getWeak=__webpack_require__("Z6vF").getWeak,anObject=__webpack_require__("y3w9"),isObject=__webpack_require__("0/R4"),anInstance=__webpack_require__("9gX7"),forOf=__webpack_require__("SlkY"),createArrayMethod=__webpack_require__("CkkT"),$has=__webpack_require__("aagx"),validate=__webpack_require__("s5qY"),arrayFind=createArrayMethod(5),arrayFindIndex=createArrayMethod(6),id=0,uncaughtFrozenStore=function(that){return that._l||(that._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.a=[]},findUncaughtFrozen=function(store,key){return arrayFind(store.a,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function(key){return!!findUncaughtFrozen(this,key)},set:function(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.a.push([key,value])},delete:function(key){var index=arrayFindIndex(this.a,(function(it){return it[0]===key}));return~index&&this.a.splice(index,1),!!~index}},module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper((function(that,iterable){anInstance(that,C,NAME,"_i"),that._t=NAME,that._i=id++,that._l=void 0,null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)}));return redefineAll(C.prototype,{delete:function(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).delete(key):data&&$has(data,this._i)&&delete data[this._i]},has:function has(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).has(key):data&&$has(data,this._i)}}),C},def:function(that,key,value){var data=getWeak(anObject(key),!0);return!0===data?uncaughtFrozenStore(that).set(key,value):data[that._i]=value,that},ufstore:uncaughtFrozenStore}},"ZNX/":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toObject=__webpack_require__("S/j/"),toPrimitive=__webpack_require__("apmT"),getPrototypeOf=__webpack_require__("OP3Y"),getOwnPropertyDescriptor=__webpack_require__("EemH").f;__webpack_require__("nh4g")&&$export($export.P+__webpack_require__("xbSm"),"Object",{__lookupSetter__:function __lookupSetter__(P){var D,O=toObject(this),K=toPrimitive(P,!0);do{if(D=getOwnPropertyDescriptor(O,K))return D.set}while(O=getPrototypeOf(O))}})},ZO2G:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="toggle-favorite"},ZXJI:function(module,exports){!function(window){"use strict";function createDocumentFragment(){return document.createDocumentFragment()}function createElement(nodeName){return document.createElement(nodeName)}function enoughArguments(length,name){if(!length)throw new Error("Failed to construct "+name+": 1 argument required, but only 0 present.")}function mutationMacro(nodes){if(1===nodes.length)return textNodeIfString(nodes[0]);for(var fragment=createDocumentFragment(),list=slice.call(nodes),i=0;i<nodes.length;i++)fragment.appendChild(textNodeIfString(list[i]));return fragment}function textNodeIfString(node){return"string"==typeof node?document.createTextNode(node):node}for(var head,property,TemporaryPrototype,TemporaryTokenList,wrapVerifyToken,document=window.document,hOP=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty||function(object,property,descriptor){return hOP.call(descriptor,"value")?object[property]=descriptor.value:(hOP.call(descriptor,"get")&&object.__defineGetter__(property,descriptor.get),hOP.call(descriptor,"set")&&object.__defineSetter__(property,descriptor.set)),object},indexOf=[].indexOf||function indexOf(value){for(var length=this.length;length--&&this[length]!==value;);return length},DOMTokenList=function(node){var noClassName=void 0===node.className,className=noClassName?node.getAttribute("class")||"":node.className,isSVG=noClassName||"object"==typeof className,value=(isSVG?noClassName?className:className.baseVal:className).replace(trim,"");value.length&&properties.push.apply(this,value.split(spaces)),this._isSVG=isSVG,this._=node},classListDescriptor={get:function get(){return new DOMTokenList(this)},set:function(){}},trim=/^\s+|\s+$/g,spaces=/\s+/,toggle=function toggle(token,force){return this.contains(token)?force||this.remove(token):(void 0===force||force)&&(force=!0,this.add(token)),!!force},DocumentFragmentPrototype=window.DocumentFragment&&DocumentFragment.prototype,Node=window.Node,NodePrototype=(Node||Element).prototype,CharacterData=window.CharacterData||Node,CharacterDataPrototype=CharacterData&&CharacterData.prototype,DocumentType=window.DocumentType,DocumentTypePrototype=DocumentType&&DocumentType.prototype,ElementPrototype=(window.Element||Node||window.HTMLElement).prototype,HTMLSelectElement=window.HTMLSelectElement||createElement("select").constructor,selectRemove=HTMLSelectElement.prototype.remove,SVGElement=window.SVGElement,properties=["matches",ElementPrototype.matchesSelector||ElementPrototype.webkitMatchesSelector||ElementPrototype.khtmlMatchesSelector||ElementPrototype.mozMatchesSelector||ElementPrototype.msMatchesSelector||ElementPrototype.oMatchesSelector||function matches(selector){var parentNode=this.parentNode;return!!parentNode&&-1<indexOf.call(parentNode.querySelectorAll(selector),this)},"closest",function closest(selector){for(var matches,parentNode=this;(matches=parentNode&&parentNode.matches)&&!parentNode.matches(selector);)parentNode=parentNode.parentNode;return matches?parentNode:null},"prepend",function prepend(){var firstChild=this.firstChild,node=mutationMacro(arguments);firstChild?this.insertBefore(node,firstChild):this.appendChild(node)},"append",function append(){this.appendChild(mutationMacro(arguments))},"before",function before(){var parentNode=this.parentNode;parentNode&&parentNode.insertBefore(mutationMacro(arguments),this)},"after",function after(){var parentNode=this.parentNode,nextSibling=this.nextSibling,node=mutationMacro(arguments);parentNode&&(nextSibling?parentNode.insertBefore(node,nextSibling):parentNode.appendChild(node))},"toggleAttribute",function toggleAttribute(name,force){var had=this.hasAttribute(name);return 1<arguments.length?had&&!force?this.removeAttribute(name):force&&!had&&this.setAttribute(name,""):had?this.removeAttribute(name):this.setAttribute(name,""),this.hasAttribute(name)},"replace",function replace(){this.replaceWith.apply(this,arguments)},"replaceWith",function replaceWith(){var parentNode=this.parentNode;parentNode&&parentNode.replaceChild(mutationMacro(arguments),this)},"remove",function remove(){var parentNode=this.parentNode;parentNode&&parentNode.removeChild(this)}],slice=properties.slice,i=properties.length;i;i-=2)if((property=properties[i-2])in ElementPrototype||(ElementPrototype[property]=properties[i-1]),"remove"===property&&(HTMLSelectElement.prototype[property]=function(){return 0<arguments.length?selectRemove.apply(this,arguments):ElementPrototype.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(property)&&(CharacterData&&!(property in CharacterDataPrototype)&&(CharacterDataPrototype[property]=properties[i-1]),DocumentType&&!(property in DocumentTypePrototype)&&(DocumentTypePrototype[property]=properties[i-1])),/^(?:append|prepend)$/.test(property))if(DocumentFragmentPrototype)property in DocumentFragmentPrototype||(DocumentFragmentPrototype[property]=properties[i-1]);else try{createDocumentFragment().constructor.prototype[property]=properties[i-1]}catch(o_O){}var matches;createElement("a").matches("a")||(ElementPrototype[property]=(matches=ElementPrototype[property],function(selector){return matches.call(this.parentNode?this:createDocumentFragment().appendChild(this),selector)})),DOMTokenList.prototype={length:0,add:function add(){for(var token,j=0;j<arguments.length;j++)token=arguments[j],this.contains(token)||properties.push.call(this,property);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(indexOf){return function contains(token){return-1<(i=indexOf.call(this,property=function(token){if(!token)throw"SyntaxError";if(spaces.test(token))throw"InvalidCharacterError";return token}(token)))}}([].indexOf||function(token){for(i=this.length;i--&&this[i]!==token;);return i}),item:function item(i){return this[i]||null},remove:function remove(){for(var token,j=0;j<arguments.length;j++)token=arguments[j],this.contains(token)&&properties.splice.call(this,i,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:toggle,toString:function toString(){return properties.join.call(this," ")}},SVGElement&&!("classList"in SVGElement.prototype)&&defineProperty(SVGElement.prototype,"classList",classListDescriptor),"classList"in document.documentElement?((TemporaryTokenList=createElement("div").classList).add("a","b","a"),"a b"!=TemporaryTokenList&&("add"in(TemporaryPrototype=TemporaryTokenList.constructor.prototype)||(TemporaryPrototype=window.TemporaryTokenList.prototype),wrapVerifyToken=function(original){return function(){for(var i=0;i<arguments.length;)original.call(this,arguments[i++])}},TemporaryPrototype.add=wrapVerifyToken(TemporaryPrototype.add),TemporaryPrototype.remove=wrapVerifyToken(TemporaryPrototype.remove),TemporaryPrototype.toggle=toggle)):defineProperty(ElementPrototype,"classList",classListDescriptor),"contains"in NodePrototype||defineProperty(NodePrototype,"contains",{value:function(el){for(;el&&el!==this;)el=el.parentNode;return this===el}}),"head"in document||defineProperty(document,"head",{get:function(){return head||(head=document.getElementsByTagName("head")[0])}}),function(){for(var raf,rAF=window.requestAnimationFrame,cAF=window.cancelAnimationFrame,prefixes=["o","ms","moz","webkit"],i=prefixes.length;!cAF&&i--;)rAF=rAF||window[prefixes[i]+"RequestAnimationFrame"],cAF=window[prefixes[i]+"CancelAnimationFrame"]||window[prefixes[i]+"CancelRequestAnimationFrame"];cAF||(rAF?(raf=rAF,rAF=function(callback){var goOn=!0;return raf((function(){goOn&&callback.apply(this,arguments)})),function(){goOn=!1}},cAF=function(id){id()}):(rAF=function(callback){return setTimeout(callback,15,15)},cAF=function(id){clearTimeout(id)})),window.requestAnimationFrame=rAF,window.cancelAnimationFrame=cAF}();try{new window.CustomEvent("?")}catch(o_O){window.CustomEvent=function(eventName,defaultInitDict){function initCustomEvent(type,bubbles,cancelable,detail){this.initEvent(type,bubbles,cancelable),this.detail=detail}return function CustomEvent(type,eventInitDict){var event=document.createEvent(eventName);if("string"!=typeof type)throw new Error("An event name must be provided");return"Event"==eventName&&(event.initCustomEvent=initCustomEvent),null==eventInitDict&&(eventInitDict=defaultInitDict),event.initCustomEvent(type,eventInitDict.bubbles,eventInitDict.cancelable,eventInitDict.detail),event}}(window.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(o_O){o_O=function($Event){function Event(type,init){enoughArguments(arguments.length,"Event");var out=document.createEvent("Event");return init||(init={}),out.initEvent(type,!!init.bubbles,!!init.cancelable),out}return Event.prototype=$Event.prototype,Event}(window.Event||function Event(){}),defineProperty(window,"Event",{value:o_O}),Event!==o_O&&(Event=o_O)}try{new KeyboardEvent("_",{})}catch(o_O){o_O=function($KeyboardEvent){var eventType,initType=0,defaults={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var e=document.createEvent("KeyboardEvent");e.initKeyboardEvent("keyup",!1,!1,window,"+",3,!0,!1,!0,!1,!1),initType="+"==(e.keyIdentifier||e.key)&&3==(e.keyLocation||e.location)&&(e.ctrlKey?e.altKey?1:3:e.shiftKey?2:4)||9}catch(o_O){}function getModifier(init){for(var out=[],keys=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],i=0;i<keys.length;i+=2)init[keys[i]]&&out.push(keys[i+1]);return out.join(" ")}function withDefaults(target,source){for(var key in source)source.hasOwnProperty(key)&&!source.hasOwnProperty.call(target,key)&&(target[key]=source[key]);return target}function withInitValues(key,out,init){try{out[key]=init[key]}catch(o_O){}}function KeyboardEvent(type,init){enoughArguments(arguments.length,"KeyboardEvent"),init=withDefaults(init||{},defaults);var args,out=document.createEvent(eventType),ctrlKey=init.ctrlKey,shiftKey=init.shiftKey,altKey=init.altKey,metaKey=init.metaKey,altGraphKey=init.altGraphKey,modifiers=initType>3?getModifier(init):null,key=String(init.key),chr=String(init.char),location=init.location,keyCode=init.keyCode||(init.keyCode=key)&&key.charCodeAt(0)||0,charCode=init.charCode||(init.charCode=chr)&&chr.charCodeAt(0)||0,bubbles=init.bubbles,cancelable=init.cancelable,repeat=init.repeat,locale=init.locale,view=init.view||window;if(init.which||(init.which=init.keyCode),"initKeyEvent"in out)out.initKeyEvent(type,bubbles,cancelable,view,ctrlKey,altKey,shiftKey,metaKey,keyCode,charCode);else if(0<initType&&"initKeyboardEvent"in out){switch(args=[type,bubbles,cancelable,view],initType){case 1:args.push(key,location,ctrlKey,shiftKey,altKey,metaKey,altGraphKey);break;case 2:args.push(ctrlKey,altKey,shiftKey,metaKey,keyCode,charCode);break;case 3:args.push(key,location,ctrlKey,altKey,shiftKey,metaKey,altGraphKey);break;case 4:args.push(key,location,modifiers,repeat,locale);break;default:args.push(char,key,location,modifiers,repeat,locale)}out.initKeyboardEvent.apply(out,args)}else out.initEvent(type,bubbles,cancelable);for(key in out)defaults.hasOwnProperty(key)&&out[key]!==init[key]&&withInitValues(key,out,init);return out}return eventType=0<initType?"KeyboardEvent":"Event",KeyboardEvent.prototype=$KeyboardEvent.prototype,KeyboardEvent}(window.KeyboardEvent||function KeyboardEvent(){}),defineProperty(window,"KeyboardEvent",{value:o_O}),KeyboardEvent!==o_O&&(KeyboardEvent=o_O)}try{new MouseEvent("_",{})}catch(o_O){o_O=function($MouseEvent){function MouseEvent(type,init){enoughArguments(arguments.length,"MouseEvent");var out=document.createEvent("MouseEvent");return init||(init={}),out.initMouseEvent(type,!!init.bubbles,!!init.cancelable,init.view||window,init.detail||1,init.screenX||0,init.screenY||0,init.clientX||0,init.clientY||0,!!init.ctrlKey,!!init.altKey,!!init.shiftKey,!!init.metaKey,init.button||0,init.relatedTarget||null),out}return MouseEvent.prototype=$MouseEvent.prototype,MouseEvent}(window.MouseEvent||function MouseEvent(){}),defineProperty(window,"MouseEvent",{value:o_O}),MouseEvent!==o_O&&(MouseEvent=o_O)}document.querySelectorAll("*").forEach||function(){function patch(what){var querySelectorAll=what.querySelectorAll;what.querySelectorAll=function qSA(css){var result=querySelectorAll.call(this,css);return result.forEach=Array.prototype.forEach,result}}patch(document),patch(Element.prototype)}();try{document.querySelector(":scope *")}catch(o_O){!function(){var dataScope="data-scope-"+(1e9*Math.random()>>>0),proto=Element.prototype,querySelector=proto.querySelector,querySelectorAll=proto.querySelectorAll;function find(node,method,css){node.setAttribute(dataScope,null);var result=method.call(node,String(css).replace(/(^|,\s*)(:scope([ >]|$))/g,(function($0,$1,$2,$3){return $1+"["+dataScope+"]"+($3||" ")})));return node.removeAttribute(dataScope),result}proto.querySelector=function qS(css){return find(this,querySelector,css)},proto.querySelectorAll=function qSA(css){return find(this,querySelectorAll,css)}}()}}(window),function(global){"use strict";var DOMMap=global.WeakMap||function(){var value,counter=0,dispatched=!1,drop=!1;function dispatch(key,ce,shouldDrop){drop=shouldDrop,dispatched=!1,value=void 0,key.dispatchEvent(ce)}function Handler(value){this.value=value}function DOMMap(){counter++,this.__ce__=new Event("@DOMMap:"+counter+Math.random())}return Handler.prototype.handleEvent=function handleEvent(e){dispatched=!0,drop?e.currentTarget.removeEventListener(e.type,this,!1):value=this.value},DOMMap.prototype={constructor:DOMMap,delete:function del(key){return dispatch(key,this.__ce__,!0),dispatched},get:function get(key){dispatch(key,this.__ce__,!1);var v=value;return value=void 0,v},has:function has(key){return dispatch(key,this.__ce__,!1),dispatched},set:function set(key,value){return dispatch(key,this.__ce__,!0),key.addEventListener(this.__ce__.type,new Handler(value),!1),this}},DOMMap}();function Dict(){}function createEventListener(type,callback,options){function eventListener(e){eventListener.once&&(e.currentTarget.removeEventListener(e.type,callback,eventListener),eventListener.removed=!0),eventListener.passive&&(e.preventDefault=createEventListener.preventDefault),"function"==typeof eventListener.callback?eventListener.callback.call(this,e):eventListener.callback&&eventListener.callback.handleEvent(e),eventListener.passive&&delete e.preventDefault}return eventListener.type=type,eventListener.callback=callback,eventListener.capture=!!options.capture,eventListener.passive=!!options.passive,eventListener.once=!!options.once,eventListener.removed=!1,eventListener}Dict.prototype=(Object.create||Object)(null),createEventListener.preventDefault=function preventDefault(){};var augment,dm,Event=global.CustomEvent,dE=global.dispatchEvent,aEL=global.addEventListener,rEL=global.removeEventListener,counter=0,increment=function(){counter++},indexOf=[].indexOf||function indexOf(value){for(var length=this.length;length--&&this[length]!==value;);return length},getListenerKey=function(options){return"".concat(options.capture?"1":"0",options.passive?"1":"0",options.once?"1":"0")};try{aEL("_",increment,{once:!0}),dE(new Event("_")),dE(new Event("_")),rEL("_",increment,{once:!0})}catch(o_O){}1!==counter&&(dm=new DOMMap,augment=function(Constructor){if(Constructor){var proto=Constructor.prototype;proto.addEventListener=function createAEL(aEL){return function addEventListener(type,handler,options){if(options&&"boolean"!=typeof options){var i,tmp,wrap,info=dm.get(this),key=getListenerKey(options);info||dm.set(this,info=new Dict),type in info||(info[type]={handler:[],wrap:[]}),tmp=info[type],(i=indexOf.call(tmp.handler,handler))<0?(i=tmp.handler.push(handler)-1,tmp.wrap[i]=wrap=new Dict):wrap=tmp.wrap[i],key in wrap||(wrap[key]=createEventListener(type,handler,options),aEL.call(this,type,wrap[key],wrap[key].capture))}else aEL.call(this,type,handler,options)}}(proto.addEventListener),proto.removeEventListener=function createREL(rEL){return function removeEventListener(type,handler,options){if(options&&"boolean"!=typeof options){var key,i,tmp,wrap,info=dm.get(this);if(info&&type in info&&(tmp=info[type],-1<(i=indexOf.call(tmp.handler,handler))&&(key=getListenerKey(options))in(wrap=tmp.wrap[i]))){for(key in rEL.call(this,type,wrap[key],wrap[key].capture),delete wrap[key],wrap)return;tmp.handler.splice(i,1),tmp.wrap.splice(i,1),0===tmp.handler.length&&delete info[type]}}else rEL.call(this,type,handler,options)}}(proto.removeEventListener)}},global.EventTarget?augment(EventTarget):(augment(global.Text),augment(global.Element||global.HTMLElement),augment(global.HTMLDocument),augment(global.Window||{prototype:global}),augment(global.XMLHttpRequest)))}(self)},ZrNS:function(module,exports){var $,options;!function($,window,document,undefined){var docElement=document.documentElement||document.body,options={autoInit:!0,selector:"img[data-src]",blankImage:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",throttle:99,forceLoad:undefined===window.onscroll||!!window.operamini||!docElement.getBoundingClientRect,loadEvent:"pageshow",updateEvent:"load orientationchange resize scroll touchmove focus",forceEvent:"lazyloadall",oninit:{removeClass:"lazy"},onshow:{addClass:"lazy-hidden"},onload:{removeClass:"lazy-hidden",addClass:"lazy-loaded"},onerror:{removeClass:"lazy-hidden"},checkDuplicates:!0},elementOptions={srcAttr:"data-src",edgeX:0,edgeY:0,visibleOnly:!0},$window=$(window),$isFunction=$.isFunction,$extend=$.extend,$data=$.data||function(el,name){return $(el).data(name)},elements=[],topLazy=0,waitingMode=0;function getOrDef(obj,prop){return undefined===obj[prop]?options[prop]:obj[prop]}function scrollTop(){var scroll=window.pageYOffset;return undefined===scroll?docElement.scrollTop:scroll}function triggerEvent(event,$el){var handler=options["on"+event];handler&&($isFunction(handler)?handler.call($el[0]):(handler.addClass&&$el.addClass(handler.addClass),handler.removeClass&&$el.removeClass(handler.removeClass))),$el.trigger("lazy"+event,[$el]),queueCheckLazyElements()}function triggerLoadOrError(e){triggerEvent(e.type,$(this).off("load error",triggerLoadOrError))}function checkLazyElements(force){if(elements.length){force=force||options.forceLoad,topLazy=1/0;var i,length,viewportTop=scrollTop(),viewportHeight=window.innerHeight||docElement.clientHeight,viewportWidth=window.innerWidth||docElement.clientWidth;for(i=0,length=elements.length;i<length;i++){var topEdge,$el=elements[i],el=$el[0],objData=$el.lazyLoadXT,removeNode=!1,visible=force||$data(el,"lazied")<0;if($.contains(docElement,el)){if(force||!objData.visibleOnly||el.offsetWidth||el.offsetHeight){if(!visible){var elPos=el.getBoundingClientRect(),edgeX=objData.edgeX,edgeY=objData.edgeY;visible=(topEdge=elPos.top+viewportTop-edgeY-viewportHeight)<=viewportTop&&elPos.bottom>-edgeY&&elPos.left<=viewportWidth+edgeX&&elPos.right>-edgeX}if(visible){$el.on("load error",triggerLoadOrError),triggerEvent("show",$el);var srcAttr=objData.srcAttr,src=$isFunction(srcAttr)?srcAttr($el):el.getAttribute(srcAttr);src&&(el.src=src),removeNode=!0}else topEdge<topLazy&&(topLazy=topEdge)}}else removeNode=!0;removeNode&&($data(el,"lazied",0),elements.splice(i--,1),length--)}length||triggerEvent("complete",$(docElement))}}function timeoutLazyElements(){waitingMode>1?(waitingMode=1,checkLazyElements(),setTimeout(timeoutLazyElements,options.throttle)):waitingMode=0}function queueCheckLazyElements(e){elements.length&&(e&&"scroll"===e.type&&e.currentTarget===window&&topLazy>=scrollTop()||(waitingMode||setTimeout(timeoutLazyElements,0),waitingMode=2))}function initLazyElements(){$window.lazyLoadXT()}function forceLoadAll(){checkLazyElements(!0)}$.lazyLoadXT=$extend(options,elementOptions,$.lazyLoadXT),$.fn.lazyLoadXT=function(overrides){var prop,blankImage=getOrDef(overrides=overrides||{},"blankImage"),checkDuplicates=getOrDef(overrides,"checkDuplicates"),scrollContainer=getOrDef(overrides,"scrollContainer"),forceShow=getOrDef(overrides,"show"),elementOptionsOverrides={};for(prop in $(scrollContainer).on("scroll",queueCheckLazyElements),elementOptions)elementOptionsOverrides[prop]=getOrDef(overrides,prop);return this.each((function(index,el){if(el===window)$(options.selector).lazyLoadXT(overrides);else{var duplicate=checkDuplicates&&$data(el,"lazied"),$el=$(el).data("lazied",forceShow?-1:1);if(duplicate)return void queueCheckLazyElements();blankImage&&"IMG"===el.tagName&&!el.src&&(el.src=blankImage),$el.lazyLoadXT=$extend({},elementOptionsOverrides),triggerEvent("init",$el),elements.push($el),queueCheckLazyElements()}}))},$(document).ready((function(){triggerEvent("start",$window),$window.on(options.updateEvent,queueCheckLazyElements).on(options.forceEvent,forceLoadAll),$(document).on(options.updateEvent,queueCheckLazyElements),options.autoInit&&($window.on(options.loadEvent,initLazyElements),initLazyElements())}))}(window.jQuery||window.Zepto||window.$,window,document),$=window.jQuery||window.Zepto||window.$,(options=$.lazyLoadXT).selector+=",video,iframe[data-src]",options.videoPoster="data-poster",$(document).on("lazyshow","video",(function(e,$el){var srcAttr=$el.lazyLoadXT.srcAttr,isFuncSrcAttr=$.isFunction(srcAttr),changed=!1;$el.attr("poster",$el.attr(options.videoPoster)),$el.children("source,track").each((function(index,el){var $child=$(el),src=isFuncSrcAttr?srcAttr($child):$child.attr(srcAttr);src&&($child.attr("src",src),changed=!0)})),changed&&this.load()}))},Zshi:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");__webpack_require__("Xtr8")("isFrozen",(function($isFrozen){return function isFrozen(it){return!isObject(it)||!!$isFrozen&&$isFrozen(it)}}))},Zz4T:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("sub",(function(createHTML){return function sub(){return createHTML(this,"sub","","")}}))},a3Xj:function(module,exports,__webpack_require__){"use strict";(function(Buffer,process){var assert=__webpack_require__("9lTW"),Zstream=__webpack_require__("2Meg"),zlib_deflate=__webpack_require__("+UUt"),zlib_inflate=__webpack_require__("yOFI"),constants=__webpack_require__("AGV1");for(var key in constants)exports[key]=constants[key];exports.NONE=0,exports.DEFLATE=1,exports.INFLATE=2,exports.GZIP=3,exports.GUNZIP=4,exports.DEFLATERAW=5,exports.INFLATERAW=6,exports.UNZIP=7;function Zlib(mode){if("number"!=typeof mode||mode<exports.DEFLATE||mode>exports.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=mode,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}Zlib.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,assert(this.init_done,"close before init"),assert(this.mode<=exports.UNZIP),this.mode===exports.DEFLATE||this.mode===exports.GZIP||this.mode===exports.DEFLATERAW?zlib_deflate.deflateEnd(this.strm):this.mode!==exports.INFLATE&&this.mode!==exports.GUNZIP&&this.mode!==exports.INFLATERAW&&this.mode!==exports.UNZIP||zlib_inflate.inflateEnd(this.strm),this.mode=exports.NONE,this.dictionary=null)},Zlib.prototype.write=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(!0,flush,input,in_off,in_len,out,out_off,out_len)},Zlib.prototype.writeSync=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(!1,flush,input,in_off,in_len,out,out_off,out_len)},Zlib.prototype._write=function(async,flush,input,in_off,in_len,out,out_off,out_len){if(assert.equal(arguments.length,8),assert(this.init_done,"write before init"),assert(this.mode!==exports.NONE,"already finalized"),assert.equal(!1,this.write_in_progress,"write already in progress"),assert.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,assert.equal(!1,void 0===flush,"must provide flush value"),this.write_in_progress=!0,flush!==exports.Z_NO_FLUSH&&flush!==exports.Z_PARTIAL_FLUSH&&flush!==exports.Z_SYNC_FLUSH&&flush!==exports.Z_FULL_FLUSH&&flush!==exports.Z_FINISH&&flush!==exports.Z_BLOCK)throw new Error("Invalid flush value");if(null==input&&(input=Buffer.alloc(0),in_len=0,in_off=0),this.strm.avail_in=in_len,this.strm.input=input,this.strm.next_in=in_off,this.strm.avail_out=out_len,this.strm.output=out,this.strm.next_out=out_off,this.flush=flush,!async)return this._process(),this._checkError()?this._afterSync():void 0;var self=this;return process.nextTick((function(){self._process(),self._after()})),this},Zlib.prototype._afterSync=function(){var avail_out=this.strm.avail_out,avail_in=this.strm.avail_in;return this.write_in_progress=!1,[avail_in,avail_out]},Zlib.prototype._process=function(){var next_expected_header_byte=null;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflate(this.strm,this.flush);break;case exports.UNZIP:switch(this.strm.avail_in>0&&(next_expected_header_byte=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===next_expected_header_byte)break;if(31!==this.strm.input[next_expected_header_byte]){this.mode=exports.INFLATE;break}if(this.gzip_id_bytes_read=1,next_expected_header_byte++,1===this.strm.avail_in)break;case 1:if(null===next_expected_header_byte)break;139===this.strm.input[next_expected_header_byte]?(this.gzip_id_bytes_read=2,this.mode=exports.GUNZIP):this.mode=exports.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:for(this.err=zlib_inflate.inflate(this.strm,this.flush),this.err===exports.Z_NEED_DICT&&this.dictionary&&(this.err=zlib_inflate.inflateSetDictionary(this.strm,this.dictionary),this.err===exports.Z_OK?this.err=zlib_inflate.inflate(this.strm,this.flush):this.err===exports.Z_DATA_ERROR&&(this.err=exports.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===exports.GUNZIP&&this.err===exports.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=zlib_inflate.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},Zlib.prototype._checkError=function(){switch(this.err){case exports.Z_OK:case exports.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===exports.Z_FINISH)return this._error("unexpected end of file"),!1;break;case exports.Z_STREAM_END:break;case exports.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},Zlib.prototype._after=function(){if(this._checkError()){var avail_out=this.strm.avail_out,avail_in=this.strm.avail_in;this.write_in_progress=!1,this.callback(avail_in,avail_out),this.pending_close&&this.close()}},Zlib.prototype._error=function(message){this.strm.msg&&(message=this.strm.msg),this.onerror(message,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},Zlib.prototype.init=function(windowBits,level,memLevel,strategy,dictionary){assert(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),assert(windowBits>=8&&windowBits<=15,"invalid windowBits"),assert(level>=-1&&level<=9,"invalid compression level"),assert(memLevel>=1&&memLevel<=9,"invalid memlevel"),assert(strategy===exports.Z_FILTERED||strategy===exports.Z_HUFFMAN_ONLY||strategy===exports.Z_RLE||strategy===exports.Z_FIXED||strategy===exports.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(level,windowBits,memLevel,strategy,dictionary),this._setDictionary()},Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")},Zlib.prototype.reset=function(){this._reset(),this._setDictionary()},Zlib.prototype._init=function(level,windowBits,memLevel,strategy,dictionary){switch(this.level=level,this.windowBits=windowBits,this.memLevel=memLevel,this.strategy=strategy,this.flush=exports.Z_NO_FLUSH,this.err=exports.Z_OK,this.mode!==exports.GZIP&&this.mode!==exports.GUNZIP||(this.windowBits+=16),this.mode===exports.UNZIP&&(this.windowBits+=32),this.mode!==exports.DEFLATERAW&&this.mode!==exports.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new Zstream,this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflateInit2(this.strm,this.level,exports.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:case exports.UNZIP:this.err=zlib_inflate.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==exports.Z_OK&&this._error("Init error"),this.dictionary=dictionary,this.write_in_progress=!1,this.init_done=!0},Zlib.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=exports.Z_OK,this.mode){case exports.DEFLATE:case exports.DEFLATERAW:this.err=zlib_deflate.deflateSetDictionary(this.strm,this.dictionary)}this.err!==exports.Z_OK&&this._error("Failed to set dictionary")}},Zlib.prototype._reset=function(){switch(this.err=exports.Z_OK,this.mode){case exports.DEFLATE:case exports.DEFLATERAW:case exports.GZIP:this.err=zlib_deflate.deflateReset(this.strm);break;case exports.INFLATE:case exports.INFLATERAW:case exports.GUNZIP:this.err=zlib_inflate.inflateReset(this.strm)}this.err!==exports.Z_OK&&this._error("Failed to reset stream")},exports.Zlib=Zlib}).call(this,__webpack_require__("tjlA").Buffer,__webpack_require__("8oxB"))},aCFj:function(module,exports,__webpack_require__){var IObject=__webpack_require__("Ymqv"),defined=__webpack_require__("vhPU");module.exports=function(it){return IObject(defined(it))}},aFNf:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("vn/o"),lbase=[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],lext=[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],dbase=[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],dext=[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];module.exports=function inflate_table(type,lens,lens_index,codes,table,table_index,work,opts){var incr,fill,low,mask,next,end,here_bits,here_op,here_val,bits=opts.bits,len=0,sym=0,min=0,max=0,root=0,curr=0,drop=0,left=0,used=0,huff=0,base=null,base_index=0,count=new utils.Buf16(16),offs=new utils.Buf16(16),extra=null,extra_index=0;for(len=0;len<=15;len++)count[len]=0;for(sym=0;sym<codes;sym++)count[lens[lens_index+sym]]++;for(root=bits,max=15;max>=1&&0===count[max];max--);if(root>max&&(root=max),0===max)return table[table_index++]=20971520,table[table_index++]=20971520,opts.bits=1,0;for(min=1;min<max&&0===count[min];min++);for(root<min&&(root=min),left=1,len=1;len<=15;len++)if(left<<=1,(left-=count[len])<0)return-1;if(left>0&&(0===type||1!==max))return-1;for(offs[1]=0,len=1;len<15;len++)offs[len+1]=offs[len]+count[len];for(sym=0;sym<codes;sym++)0!==lens[lens_index+sym]&&(work[offs[lens[lens_index+sym]]++]=sym);if(0===type?(base=extra=work,end=19):1===type?(base=lbase,base_index-=257,extra=lext,extra_index-=257,end=256):(base=dbase,extra=dext,end=-1),huff=0,sym=0,len=min,next=table_index,curr=root,drop=0,low=-1,mask=(used=1<<root)-1,1===type&&used>852||2===type&&used>592)return 1;for(;;){here_bits=len-drop,work[sym]<end?(here_op=0,here_val=work[sym]):work[sym]>end?(here_op=extra[extra_index+work[sym]],here_val=base[base_index+work[sym]]):(here_op=96,here_val=0),incr=1<<len-drop,min=fill=1<<curr;do{table[next+(huff>>drop)+(fill-=incr)]=here_bits<<24|here_op<<16|here_val|0}while(0!==fill);for(incr=1<<len-1;huff&incr;)incr>>=1;if(0!==incr?(huff&=incr-1,huff+=incr):huff=0,sym++,0==--count[len]){if(len===max)break;len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){for(0===drop&&(drop=root),next+=min,left=1<<(curr=len-drop);curr+drop<max&&!((left-=count[curr+drop])<=0);)curr++,left<<=1;if(used+=1<<curr,1===type&&used>852||2===type&&used>592)return 1;table[low=huff&mask]=root<<24|curr<<16|next-table_index|0}}return 0!==huff&&(table[next+huff]=len-drop<<24|64<<16|0),opts.bits=root,0}},aagx:function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},adU4:function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__("y1pI"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},apmT:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},asDA:function(module,exports){module.exports=function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=null==array?0:array.length;for(initAccum&&length&&(accumulator=array[++index]);++index<length;)accumulator=iteratee(accumulator,array[index],index,array);return accumulator}},avk9:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var PersonalProductListAction,PersonalProductListType,Name="personal-product-list";!function(PersonalProductListAction){PersonalProductListAction.Create="create",PersonalProductListAction.Update="update",PersonalProductListAction.Delete="delete"}(PersonalProductListAction||(PersonalProductListAction={})),function(PersonalProductListType){PersonalProductListType.Personal="personal",PersonalProductListType.Private="private"}(PersonalProductListType||(PersonalProductListType={}))},bDcW:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("fontcolor",(function(createHTML){return function fontcolor(color){return createHTML(this,"font","color",color)}}))},bHtr:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.P,"Array",{fill:__webpack_require__("Nr18")}),__webpack_require__("nGyu")("fill")},bWfx:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$map=__webpack_require__("CkkT")(1);$export($export.P+$export.F*!__webpack_require__("LyE8")([].map,!0),"Array",{map:function map(callbackfn){return $map(this,callbackfn,arguments[1])}})},bahg:function(module,exports){module.exports=function asciiToArray(string){return string.split("")}},cSka:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="video-play"},cX6o:function(module,exports,__webpack_require__){"use strict";var zlib_inflate=__webpack_require__("nm4c"),utils=__webpack_require__("vn/o"),strings=__webpack_require__("eydS"),c=__webpack_require__("LOvY"),msg=__webpack_require__("Tcbo"),ZStream=__webpack_require__("iTZm"),GZheader=__webpack_require__("gBP8"),toString=Object.prototype.toString;function Inflate(options){if(!(this instanceof Inflate))return new Inflate(options);this.options=utils.assign({chunkSize:16384,windowBits:0,to:""},options||{});var opt=this.options;opt.raw&&opt.windowBits>=0&&opt.windowBits<16&&(opt.windowBits=-opt.windowBits,0===opt.windowBits&&(opt.windowBits=-15)),!(opt.windowBits>=0&&opt.windowBits<16)||options&&options.windowBits||(opt.windowBits+=32),opt.windowBits>15&&opt.windowBits<48&&0==(15&opt.windowBits)&&(opt.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ZStream,this.strm.avail_out=0;var status=zlib_inflate.inflateInit2(this.strm,opt.windowBits);if(status!==c.Z_OK)throw new Error(msg[status]);this.header=new GZheader,zlib_inflate.inflateGetHeader(this.strm,this.header)}function inflate(input,options){var inflator=new Inflate(options);if(inflator.push(input,!0),inflator.err)throw inflator.msg;return inflator.result}Inflate.prototype.push=function(data,mode){var status,_mode,next_out_utf8,tail,utf8str,dict,strm=this.strm,chunkSize=this.options.chunkSize,dictionary=this.options.dictionary,allowBufError=!1;if(this.ended)return!1;_mode=mode===~~mode?mode:!0===mode?c.Z_FINISH:c.Z_NO_FLUSH,"string"==typeof data?strm.input=strings.binstring2buf(data):"[object ArrayBuffer]"===toString.call(data)?strm.input=new Uint8Array(data):strm.input=data,strm.next_in=0,strm.avail_in=strm.input.length;do{if(0===strm.avail_out&&(strm.output=new utils.Buf8(chunkSize),strm.next_out=0,strm.avail_out=chunkSize),(status=zlib_inflate.inflate(strm,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&dictionary&&(dict="string"==typeof dictionary?strings.string2buf(dictionary):"[object ArrayBuffer]"===toString.call(dictionary)?new Uint8Array(dictionary):dictionary,status=zlib_inflate.inflateSetDictionary(this.strm,dict)),status===c.Z_BUF_ERROR&&!0===allowBufError&&(status=c.Z_OK,allowBufError=!1),status!==c.Z_STREAM_END&&status!==c.Z_OK)return this.onEnd(status),this.ended=!0,!1;strm.next_out&&(0!==strm.avail_out&&status!==c.Z_STREAM_END&&(0!==strm.avail_in||_mode!==c.Z_FINISH&&_mode!==c.Z_SYNC_FLUSH)||("string"===this.options.to?(next_out_utf8=strings.utf8border(strm.output,strm.next_out),tail=strm.next_out-next_out_utf8,utf8str=strings.buf2string(strm.output,next_out_utf8),strm.next_out=tail,strm.avail_out=chunkSize-tail,tail&&utils.arraySet(strm.output,strm.output,next_out_utf8,tail,0),this.onData(utf8str)):this.onData(utils.shrinkBuf(strm.output,strm.next_out)))),0===strm.avail_in&&0===strm.avail_out&&(allowBufError=!0)}while((strm.avail_in>0||0===strm.avail_out)&&status!==c.Z_STREAM_END);return status===c.Z_STREAM_END&&(_mode=c.Z_FINISH),_mode===c.Z_FINISH?(status=zlib_inflate.inflateEnd(this.strm),this.onEnd(status),this.ended=!0,status===c.Z_OK):_mode!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),strm.avail_out=0,!0)},Inflate.prototype.onData=function(chunk){this.chunks.push(chunk)},Inflate.prototype.onEnd=function(status){status===c.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=utils.flattenChunks(this.chunks)),this.chunks=[],this.err=status,this.msg=this.strm.msg},exports.Inflate=Inflate,exports.inflate=inflate,exports.inflateRaw=function inflateRaw(input,options){return(options=options||{}).raw=!0,inflate(input,options)},exports.ungzip=inflate},cfFb:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),flattenIntoArray=__webpack_require__("xF/b"),toObject=__webpack_require__("S/j/"),toLength=__webpack_require__("ne8i"),toInteger=__webpack_require__("RYi7"),arraySpeciesCreate=__webpack_require__("zRwo");$export($export.P,"Array",{flatten:function flatten(){var depthArg=arguments[0],O=toObject(this),sourceLen=toLength(O.length),A=arraySpeciesCreate(O,0);return flattenIntoArray(A,O,O,sourceLen,0,void 0===depthArg?1:toInteger(depthArg)),A}}),__webpack_require__("nGyu")("flatten")},cm54:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("kXF0");function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}var extra_lbits=[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],extra_dbits=[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],extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],static_ltree=new Array(576);zero(static_ltree);var static_dtree=new Array(60);zero(static_dtree);var _dist_code=new Array(512);zero(_dist_code);var _length_code=new Array(256);zero(_length_code);var base_length=new Array(29);zero(base_length);var static_l_desc,static_d_desc,static_bl_desc,base_dist=new Array(30);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree,this.extra_bits=extra_bits,this.extra_base=extra_base,this.elems=elems,this.max_length=max_length,this.has_stree=static_tree&&static_tree.length}function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree,this.max_code=0,this.stat_desc=stat_desc}function d_code(dist){return dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)]}function put_short(s,w){s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255}function send_bits(s,value,length){s.bi_valid>16-length?(s.bi_buf|=value<<s.bi_valid&65535,put_short(s,s.bi_buf),s.bi_buf=value>>16-s.bi_valid,s.bi_valid+=length-16):(s.bi_buf|=value<<s.bi_valid&65535,s.bi_valid+=length)}function send_code(s,c,tree){send_bits(s,tree[2*c],tree[2*c+1])}function bi_reverse(code,len){var res=0;do{res|=1&code,code>>>=1,res<<=1}while(--len>0);return res>>>1}function gen_codes(tree,max_code,bl_count){var bits,n,next_code=new Array(16),code=0;for(bits=1;bits<=15;bits++)next_code[bits]=code=code+bl_count[bits-1]<<1;for(n=0;n<=max_code;n++){var len=tree[2*n+1];0!==len&&(tree[2*n]=bi_reverse(next_code[len]++,len))}}function init_block(s){var n;for(n=0;n<286;n++)s.dyn_ltree[2*n]=0;for(n=0;n<30;n++)s.dyn_dtree[2*n]=0;for(n=0;n<19;n++)s.bl_tree[2*n]=0;s.dyn_ltree[512]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function bi_windup(s){s.bi_valid>8?put_short(s,s.bi_buf):s.bi_valid>0&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function smaller(tree,n,m,depth){var _n2=2*n,_m2=2*m;return tree[_n2]<tree[_m2]||tree[_n2]===tree[_m2]&&depth[n]<=depth[m]}function pqdownheap(s,tree,k){for(var v=s.heap[k],j=k<<1;j<=s.heap_len&&(j<s.heap_len&&smaller(tree,s.heap[j+1],s.heap[j],s.depth)&&j++,!smaller(tree,v,s.heap[j],s.depth));)s.heap[k]=s.heap[j],k=j,j<<=1;s.heap[k]=v}function compress_block(s,ltree,dtree){var dist,lc,code,extra,lx=0;if(0!==s.last_lit)do{dist=s.pending_buf[s.d_buf+2*lx]<<8|s.pending_buf[s.d_buf+2*lx+1],lc=s.pending_buf[s.l_buf+lx],lx++,0===dist?send_code(s,lc,ltree):(send_code(s,(code=_length_code[lc])+256+1,ltree),0!==(extra=extra_lbits[code])&&send_bits(s,lc-=base_length[code],extra),send_code(s,code=d_code(--dist),dtree),0!==(extra=extra_dbits[code])&&send_bits(s,dist-=base_dist[code],extra))}while(lx<s.last_lit);send_code(s,256,ltree)}function build_tree(s,desc){var n,m,node,tree=desc.dyn_tree,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,elems=desc.stat_desc.elems,max_code=-1;for(s.heap_len=0,s.heap_max=573,n=0;n<elems;n++)0!==tree[2*n]?(s.heap[++s.heap_len]=max_code=n,s.depth[n]=0):tree[2*n+1]=0;for(;s.heap_len<2;)tree[2*(node=s.heap[++s.heap_len]=max_code<2?++max_code:0)]=1,s.depth[node]=0,s.opt_len--,has_stree&&(s.static_len-=stree[2*node+1]);for(desc.max_code=max_code,n=s.heap_len>>1;n>=1;n--)pqdownheap(s,tree,n);node=elems;do{n=s.heap[1],s.heap[1]=s.heap[s.heap_len--],pqdownheap(s,tree,1),m=s.heap[1],s.heap[--s.heap_max]=n,s.heap[--s.heap_max]=m,tree[2*node]=tree[2*n]+tree[2*m],s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1,tree[2*n+1]=tree[2*m+1]=node,s.heap[1]=node++,pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1],function gen_bitlen(s,desc){var h,n,m,bits,xbits,f,tree=desc.dyn_tree,max_code=desc.max_code,stree=desc.stat_desc.static_tree,has_stree=desc.stat_desc.has_stree,extra=desc.stat_desc.extra_bits,base=desc.stat_desc.extra_base,max_length=desc.stat_desc.max_length,overflow=0;for(bits=0;bits<=15;bits++)s.bl_count[bits]=0;for(tree[2*s.heap[s.heap_max]+1]=0,h=s.heap_max+1;h<573;h++)(bits=tree[2*tree[2*(n=s.heap[h])+1]+1]+1)>max_length&&(bits=max_length,overflow++),tree[2*n+1]=bits,n>max_code||(s.bl_count[bits]++,xbits=0,n>=base&&(xbits=extra[n-base]),f=tree[2*n],s.opt_len+=f*(bits+xbits),has_stree&&(s.static_len+=f*(stree[2*n+1]+xbits)));if(0!==overflow){do{for(bits=max_length-1;0===s.bl_count[bits];)bits--;s.bl_count[bits]--,s.bl_count[bits+1]+=2,s.bl_count[max_length]--,overflow-=2}while(overflow>0);for(bits=max_length;0!==bits;bits--)for(n=s.bl_count[bits];0!==n;)(m=s.heap[--h])>max_code||(tree[2*m+1]!==bits&&(s.opt_len+=(bits-tree[2*m+1])*tree[2*m],tree[2*m+1]=bits),n--)}}(s,desc),gen_codes(tree,max_code,s.bl_count)}function scan_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),tree[2*(max_code+1)+1]=65535,n=0;n<=max_code;n++)curlen=nextlen,nextlen=tree[2*(n+1)+1],++count<max_count&&curlen===nextlen||(count<min_count?s.bl_tree[2*curlen]+=count:0!==curlen?(curlen!==prevlen&&s.bl_tree[2*curlen]++,s.bl_tree[32]++):count<=10?s.bl_tree[34]++:s.bl_tree[36]++,count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4))}function send_tree(s,tree,max_code){var n,curlen,prevlen=-1,nextlen=tree[1],count=0,max_count=7,min_count=4;for(0===nextlen&&(max_count=138,min_count=3),n=0;n<=max_code;n++)if(curlen=nextlen,nextlen=tree[2*(n+1)+1],!(++count<max_count&&curlen===nextlen)){if(count<min_count)do{send_code(s,curlen,s.bl_tree)}while(0!=--count);else 0!==curlen?(curlen!==prevlen&&(send_code(s,curlen,s.bl_tree),count--),send_code(s,16,s.bl_tree),send_bits(s,count-3,2)):count<=10?(send_code(s,17,s.bl_tree),send_bits(s,count-3,3)):(send_code(s,18,s.bl_tree),send_bits(s,count-11,7));count=0,prevlen=curlen,0===nextlen?(max_count=138,min_count=3):curlen===nextlen?(max_count=6,min_count=3):(max_count=7,min_count=4)}}zero(base_dist);var static_init_done=!1;function _tr_stored_block(s,buf,stored_len,last){send_bits(s,0+(last?1:0),3),function copy_block(s,buf,len,header){bi_windup(s),header&&(put_short(s,len),put_short(s,~len)),utils.arraySet(s.pending_buf,s.window,buf,len,s.pending),s.pending+=len}(s,buf,stored_len,!0)}exports._tr_init=function _tr_init(s){static_init_done||(!function tr_static_init(){var n,bits,length,code,dist,bl_count=new Array(16);for(length=0,code=0;code<28;code++)for(base_length[code]=length,n=0;n<1<<extra_lbits[code];n++)_length_code[length++]=code;for(_length_code[length-1]=code,dist=0,code=0;code<16;code++)for(base_dist[code]=dist,n=0;n<1<<extra_dbits[code];n++)_dist_code[dist++]=code;for(dist>>=7;code<30;code++)for(base_dist[code]=dist<<7,n=0;n<1<<extra_dbits[code]-7;n++)_dist_code[256+dist++]=code;for(bits=0;bits<=15;bits++)bl_count[bits]=0;for(n=0;n<=143;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(;n<=255;)static_ltree[2*n+1]=9,n++,bl_count[9]++;for(;n<=279;)static_ltree[2*n+1]=7,n++,bl_count[7]++;for(;n<=287;)static_ltree[2*n+1]=8,n++,bl_count[8]++;for(gen_codes(static_ltree,287,bl_count),n=0;n<30;n++)static_dtree[2*n+1]=5,static_dtree[2*n]=bi_reverse(n,5);static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,257,286,15),static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,30,15),static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,19,7)}(),static_init_done=!0),s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc),s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc),s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc),s.bi_buf=0,s.bi_valid=0,init_block(s)},exports._tr_stored_block=_tr_stored_block,exports._tr_flush_block=function _tr_flush_block(s,buf,stored_len,last){var opt_lenb,static_lenb,max_blindex=0;s.level>0?(2===s.strm.data_type&&(s.strm.data_type=function detect_data_type(s){var n,black_mask=4093624447;for(n=0;n<=31;n++,black_mask>>>=1)if(1&black_mask&&0!==s.dyn_ltree[2*n])return 0;if(0!==s.dyn_ltree[18]||0!==s.dyn_ltree[20]||0!==s.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==s.dyn_ltree[2*n])return 1;return 0}(s)),build_tree(s,s.l_desc),build_tree(s,s.d_desc),max_blindex=function build_bl_tree(s){var max_blindex;for(scan_tree(s,s.dyn_ltree,s.l_desc.max_code),scan_tree(s,s.dyn_dtree,s.d_desc.max_code),build_tree(s,s.bl_desc),max_blindex=18;max_blindex>=3&&0===s.bl_tree[2*bl_order[max_blindex]+1];max_blindex--);return s.opt_len+=3*(max_blindex+1)+5+5+4,max_blindex}(s),opt_lenb=s.opt_len+3+7>>>3,(static_lenb=s.static_len+3+7>>>3)<=opt_lenb&&(opt_lenb=static_lenb)):opt_lenb=static_lenb=stored_len+5,stored_len+4<=opt_lenb&&-1!==buf?_tr_stored_block(s,buf,stored_len,last):4===s.strategy||static_lenb===opt_lenb?(send_bits(s,2+(last?1:0),3),compress_block(s,static_ltree,static_dtree)):(send_bits(s,4+(last?1:0),3),function send_all_trees(s,lcodes,dcodes,blcodes){var rank;for(send_bits(s,lcodes-257,5),send_bits(s,dcodes-1,5),send_bits(s,blcodes-4,4),rank=0;rank<blcodes;rank++)send_bits(s,s.bl_tree[2*bl_order[rank]+1],3);send_tree(s,s.dyn_ltree,lcodes-1),send_tree(s,s.dyn_dtree,dcodes-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,max_blindex+1),compress_block(s,s.dyn_ltree,s.dyn_dtree)),init_block(s),last&&bi_windup(s)},exports._tr_tally=function _tr_tally(s,dist,lc){return s.pending_buf[s.d_buf+2*s.last_lit]=dist>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&dist,s.pending_buf[s.l_buf+s.last_lit]=255&lc,s.last_lit++,0===dist?s.dyn_ltree[2*lc]++:(s.matches++,dist--,s.dyn_ltree[2*(_length_code[lc]+256+1)]++,s.dyn_dtree[2*d_code(dist)]++),s.last_lit===s.lit_bufsize-1},exports._tr_align=function _tr_align(s){send_bits(s,2,3),send_code(s,256,static_ltree),function bi_flush(s){16===s.bi_valid?(put_short(s,s.bi_buf),s.bi_buf=0,s.bi_valid=0):s.bi_valid>=8&&(s.pending_buf[s.pending++]=255&s.bi_buf,s.bi_buf>>=8,s.bi_valid-=8)}(s)}},cpsI:function(module,exports,__webpack_require__){__webpack_require__("xqFc")("Map")},ctBr:function(module,exports,__webpack_require__){"use strict";(function(){var _assign=__webpack_require__("MgzW"),checkPropTypes=__webpack_require__("oVyQ"),hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator;function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!=typeof maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"];return"function"==typeof maybeIterator?maybeIterator:null}var validateFormat;function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error=void 0;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})))).name="Invariant Violation"}throw error.framesToPop=1,error}}validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")};var printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}},lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}},warningWithoutStack$1=function(condition,format){for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];if(void 0===format)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(args.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!condition){if("undefined"!=typeof console){var argsWithFormat=args.map((function(item){return""+item}));argsWithFormat.unshift("Warning: "+format),Function.prototype.apply.call(console.error,console,argsWithFormat)}try{var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));throw new Error(message)}catch(x){}}},didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;didWarnStateUpdateForUnmountedComponent[warningKey]||(warningWithoutStack$1(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0)}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},emptyObject={};function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Object.freeze(emptyObject),Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){"object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState&&invariant(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){lowPriorityWarning$1(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName]);function ComponentDummy(){}function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}ComponentDummy.prototype=Component.prototype;var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;pureComponentPrototype.constructor=PureComponent,_assign(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;var ReactCurrentOwner={current:null,currentDispatcher:null},BEFORE_SLASH_RE=/^(.*)[\\\/]/;function getComponentName(type){if(null==type)return null;if("number"==typeof type.tag&&warningWithoutStack$1(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof type)return type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_CONCURRENT_MODE_TYPE:return"ConcurrentMode";case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense"}if("object"==typeof type)switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(""!==functionName?wrapperName+"("+functionName+")":wrapperName)}(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_LAZY_TYPE:var resolvedThenable=function refineResolvedLazyComponent(lazyComponent){return 1===lazyComponent._status?lazyComponent._result:null}(type);if(resolvedThenable)return getComponentName(resolvedThenable)}return null}var ReactDebugCurrentFrame={},currentlyValidatingElement=null;function setCurrentlyValidatingElement(element){currentlyValidatingElement=element}ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFrame.getStackAddendum=function(){var stack="";if(currentlyValidatingElement){var name=getComponentName(currentlyValidatingElement.type),owner=currentlyValidatingElement._owner;stack+=function(name,source,ownerName){var sourceInfo="";if(source){var path=source.fileName,fileName=path.replace(BEFORE_SLASH_RE,"");if(/^index\./.test(fileName)){var match=path.match(BEFORE_SLASH_RE);if(match){var pathBeforeSlash=match[1];pathBeforeSlash&&(fileName=pathBeforeSlash.replace(BEFORE_SLASH_RE,"")+"/"+fileName)}}sourceInfo=" (at "+fileName+":"+source.lineNumber+")"}else ownerName&&(sourceInfo=" (created by "+ownerName+")");return"\n    in "+(name||"Unknown")+sourceInfo}(name,currentlyValidatingElement._source,owner&&getComponentName(owner.type))}var impl=ReactDebugCurrentFrame.getCurrentStack;return impl&&(stack+=impl()||""),stack};var ReactSharedInternals={ReactCurrentOwner:ReactCurrentOwner,assign:_assign};_assign(ReactSharedInternals,{ReactDebugCurrentFrame:ReactDebugCurrentFrame,ReactComponentTreeHook:{}});var warning$1=function(condition,format){if(!condition){for(var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame.getStackAddendum(),_len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];warningWithoutStack$1.apply(void 0,[!1,format+"%s"].concat(args,[stack]))}},hasOwnProperty=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0},specialPropKeyWarningShown=void 0,specialPropRefWarningShown=void 0;function hasValidRef(config){if(hasOwnProperty.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.ref}function hasValidKey(config){if(hasOwnProperty.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.key}function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,warningWithoutStack$1(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,warningWithoutStack$1(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}var ReactElement=function(type,key,ref,self,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:ref,props:props,_owner:owner,_store:{}};return Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement(type,config,children){var propName=void 0,props={},key=null,ref=null,self=null,source=null;if(null!=config)for(propName in hasValidRef(config)&&(ref=config.ref),hasValidKey(config)&&(key=""+config.key),self=void 0===config.__self?null:config.__self,source=void 0===config.__source?null:config.__source,config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];Object.freeze&&Object.freeze(childArray),props.children=childArray}if(type&&type.defaultProps){var defaultProps=type.defaultProps;for(propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName])}if(key||ref){var displayName="function"==typeof type?type.displayName||type.name||"Unknown":type;key&&defineKeyPropWarningGetter(props,displayName),ref&&defineRefPropWarningGetter(props,displayName)}return ReactElement(type,key,ref,self,source,ReactCurrentOwner.current,props)}function cloneElement(element,config,children){null==element&&invariant(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",element);var propName=void 0,props=_assign({},element.props),key=element.key,ref=element.ref,self=element._self,source=element._source,owner=element._owner;if(null!=config){hasValidRef(config)&&(ref=config.ref,owner=ReactCurrentOwner.current),hasValidKey(config)&&(key=""+config.key);var defaultProps=void 0;for(propName in element.type&&element.type.defaultProps&&(defaultProps=element.type.defaultProps),config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(void 0===config[propName]&&void 0!==defaultProps?props[propName]=defaultProps[propName]:props[propName]=config[propName])}var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];props.children=childArray}return ReactElement(element.type,key,ref,self,source,owner,props)}function isValidElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE}var didWarnAboutMaps=!1,userProvidedKeyEscapeRegex=/\/+/g;function escapeUserProvidedKey(text){return(""+text).replace(userProvidedKeyEscapeRegex,"$&/")}var traverseContextPool=[];function getPooledTraverseContext(mapResult,keyPrefix,mapFunction,mapContext){if(traverseContextPool.length){var traverseContext=traverseContextPool.pop();return traverseContext.result=mapResult,traverseContext.keyPrefix=keyPrefix,traverseContext.func=mapFunction,traverseContext.context=mapContext,traverseContext.count=0,traverseContext}return{result:mapResult,keyPrefix:keyPrefix,func:mapFunction,context:mapContext,count:0}}function releaseTraverseContext(traverseContext){traverseContext.result=null,traverseContext.keyPrefix=null,traverseContext.func=null,traverseContext.context=null,traverseContext.count=0,traverseContextPool.length<10&&traverseContextPool.push(traverseContext)}function traverseAllChildrenImpl(children,nameSoFar,callback,traverseContext){var type=typeof children;"undefined"!==type&&"boolean"!==type||(children=null);var invokeCallback=!1;if(null===children)invokeCallback=!0;else switch(type){case"string":case"number":invokeCallback=!0;break;case"object":switch(children.$$typeof){case REACT_ELEMENT_TYPE:case REACT_PORTAL_TYPE:invokeCallback=!0}}if(invokeCallback)return callback(traverseContext,children,""===nameSoFar?"."+getComponentKey(children,0):nameSoFar),1;var child=void 0,subtreeCount=0,nextNamePrefix=""===nameSoFar?".":nameSoFar+":";if(Array.isArray(children))for(var i=0;i<children.length;i++)subtreeCount+=traverseAllChildrenImpl(child=children[i],nextNamePrefix+getComponentKey(child,i),callback,traverseContext);else{var iteratorFn=getIteratorFn(children);if("function"==typeof iteratorFn){iteratorFn===children.entries&&(didWarnAboutMaps||warning$1(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),didWarnAboutMaps=!0);for(var iterator=iteratorFn.call(children),step=void 0,ii=0;!(step=iterator.next()).done;)subtreeCount+=traverseAllChildrenImpl(child=step.value,nextNamePrefix+getComponentKey(child,ii++),callback,traverseContext)}else if("object"===type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+ReactDebugCurrentFrame.getStackAddendum();var childrenString=""+children;invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===childrenString?"object with keys {"+Object.keys(children).join(", ")+"}":childrenString,addendum)}}return subtreeCount}function traverseAllChildren(children,callback,traverseContext){return null==children?0:traverseAllChildrenImpl(children,"",callback,traverseContext)}function getComponentKey(component,index){return"object"==typeof component&&null!==component&&null!=component.key?function escape(key){var escaperLookup={"=":"=0",":":"=2"};return"$"+(""+key).replace(/[=:]/g,(function(match){return escaperLookup[match]}))}(component.key):index.toString(36)}function forEachSingleChild(bookKeeping,child,name){var func=bookKeeping.func,context=bookKeeping.context;func.call(context,child,bookKeeping.count++)}function mapSingleChildIntoContext(bookKeeping,child,childKey){var result=bookKeeping.result,keyPrefix=bookKeeping.keyPrefix,func=bookKeeping.func,context=bookKeeping.context,mappedChild=func.call(context,child,bookKeeping.count++);Array.isArray(mappedChild)?mapIntoWithKeyPrefixInternal(mappedChild,result,childKey,(function(c){return c})):null!=mappedChild&&(isValidElement(mappedChild)&&(mappedChild=function cloneAndReplaceKey(oldElement,newKey){return ReactElement(oldElement.type,newKey,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,oldElement.props)}(mappedChild,keyPrefix+(!mappedChild.key||child&&child.key===mappedChild.key?"":escapeUserProvidedKey(mappedChild.key)+"/")+childKey)),result.push(mappedChild))}function mapIntoWithKeyPrefixInternal(children,array,prefix,func,context){var escapedPrefix="";null!=prefix&&(escapedPrefix=escapeUserProvidedKey(prefix)+"/");var traverseContext=getPooledTraverseContext(array,escapedPrefix,func,context);traverseAllChildren(children,mapSingleChildIntoContext,traverseContext),releaseTraverseContext(traverseContext)}function isValidElementType(type){return"string"==typeof type||"function"==typeof type||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||"object"==typeof type&&null!==type&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE)}var propTypesMisspellWarningShown=void 0;function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentName(ReactCurrentOwner.current.type);if(name)return"\n\nCheck the render method of `"+name+"`."}return""}function getSourceInfoErrorAddendum(elementProps){if(null!=elementProps&&void 0!==elementProps.__source){var source=elementProps.__source;return"\n\nCheck your code at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+"."}return""}propTypesMisspellWarningShown=!1;var ownerHasKeyUseWarning={};function validateExplicitKey(element,parentType){if(element._store&&!element._store.validated&&null==element.key){element._store.validated=!0;var currentComponentErrorInfo=function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName="string"==typeof parentType?parentType:parentType.displayName||parentType.name;parentName&&(info="\n\nCheck the top-level render call using <"+parentName+">.")}return info}(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentName(element._owner.type)+"."),setCurrentlyValidatingElement(element),warning$1(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',currentComponentErrorInfo,childOwner),setCurrentlyValidatingElement(null)}}}function validateChildKeys(node,parentType){if("object"==typeof node)if(Array.isArray(node))for(var i=0;i<node.length;i++){var child=node[i];isValidElement(child)&&validateExplicitKey(child,parentType)}else if(isValidElement(node))node._store&&(node._store.validated=!0);else if(node){var iteratorFn=getIteratorFn(node);if("function"==typeof iteratorFn&&iteratorFn!==node.entries)for(var iterator=iteratorFn.call(node),step=void 0;!(step=iterator.next()).done;)isValidElement(step.value)&&validateExplicitKey(step.value,parentType)}}function validatePropTypes(element){var type=element.type,name=void 0,propTypes=void 0;if("function"==typeof type)name=type.displayName||type.name,propTypes=type.propTypes;else{if("object"!=typeof type||null===type||type.$$typeof!==REACT_FORWARD_REF_TYPE)return;var functionName=type.render.displayName||type.render.name||"";name=type.displayName||(""!==functionName?"ForwardRef("+functionName+")":"ForwardRef"),propTypes=type.propTypes}propTypes?(setCurrentlyValidatingElement(element),checkPropTypes(propTypes,element.props,"prop",name,ReactDebugCurrentFrame.getStackAddendum),setCurrentlyValidatingElement(null)):void 0===type.PropTypes||propTypesMisspellWarningShown||(propTypesMisspellWarningShown=!0,warningWithoutStack$1(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",name||"Unknown")),"function"==typeof type.getDefaultProps&&(type.getDefaultProps.isReactClassApproved||warningWithoutStack$1(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function validateFragmentProps(fragment){setCurrentlyValidatingElement(fragment);for(var keys=Object.keys(fragment.props),i=0;i<keys.length;i++){var key=keys[i];if("children"!==key&&"key"!==key){warning$1(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",key);break}}null!==fragment.ref&&warning$1(!1,"Invalid attribute `ref` supplied to `React.Fragment`."),setCurrentlyValidatingElement(null)}function createElementWithValidation(type,props,children){var validType=isValidElementType(type);if(!validType){var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var sourceInfo=getSourceInfoErrorAddendum(props);info+=sourceInfo||getDeclarationErrorAddendum();var typeString=void 0;null===type?typeString="null":Array.isArray(type)?typeString="array":void 0!==type&&type.$$typeof===REACT_ELEMENT_TYPE?(typeString="<"+(getComponentName(type.type)||"Unknown")+" />",info=" Did you accidentally export a JSX literal instead of a component?"):typeString=typeof type,warning$1(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",typeString,info)}var element=createElement.apply(this,arguments);if(null==element)return element;if(validType)for(var i=2;i<arguments.length;i++)validateChildKeys(arguments[i],type);return type===REACT_FRAGMENT_TYPE?validateFragmentProps(element):validatePropTypes(element),element}var React={Children:{map:function mapChildren(children,func,context){if(null==children)return children;var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,func,context),result},forEach:function forEachChildren(children,forEachFunc,forEachContext){if(null==children)return children;var traverseContext=getPooledTraverseContext(null,null,forEachFunc,forEachContext);traverseAllChildren(children,forEachSingleChild,traverseContext),releaseTraverseContext(traverseContext)},count:function countChildren(children){return traverseAllChildren(children,(function(){return null}),null)},toArray:function toArray(children){var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,(function(child){return child})),result},only:function onlyChild(children){return isValidElement(children)||invariant(!1,"React.Children.only expected to receive a single React element child."),children}},createRef:function createRef(){var refObject={current:null};return Object.seal(refObject),refObject},Component:Component,PureComponent:PureComponent,createContext:function createContext(defaultValue,calculateChangedBits){void 0===calculateChangedBits?calculateChangedBits=null:null!==calculateChangedBits&&"function"!=typeof calculateChangedBits&&warningWithoutStack$1(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",calculateChangedBits);var context={$$typeof:REACT_CONTEXT_TYPE,_calculateChangedBits:calculateChangedBits,_currentValue:defaultValue,_currentValue2:defaultValue,_threadCount:0,Provider:null,Consumer:null};context.Provider={$$typeof:REACT_PROVIDER_TYPE,_context:context};var hasWarnedAboutUsingNestedContextConsumers=!1,hasWarnedAboutUsingConsumerProvider=!1,Consumer={$$typeof:REACT_CONTEXT_TYPE,_context:context,_calculateChangedBits:context._calculateChangedBits};return Object.defineProperties(Consumer,{Provider:{get:function(){return hasWarnedAboutUsingConsumerProvider||(hasWarnedAboutUsingConsumerProvider=!0,warning$1(!1,"Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),context.Provider},set:function(_Provider){context.Provider=_Provider}},_currentValue:{get:function(){return context._currentValue},set:function(_currentValue){context._currentValue=_currentValue}},_currentValue2:{get:function(){return context._currentValue2},set:function(_currentValue2){context._currentValue2=_currentValue2}},_threadCount:{get:function(){return context._threadCount},set:function(_threadCount){context._threadCount=_threadCount}},Consumer:{get:function(){return hasWarnedAboutUsingNestedContextConsumers||(hasWarnedAboutUsingNestedContextConsumers=!0,warning$1(!1,"Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),context.Consumer}}}),context.Consumer=Consumer,context._currentRenderer=null,context._currentRenderer2=null,context},forwardRef:function forwardRef(render){return null!=render&&render.$$typeof===REACT_MEMO_TYPE?warningWithoutStack$1(!1,"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof render?warningWithoutStack$1(!1,"forwardRef requires a render function but was given %s.",null===render?"null":typeof render):0!==render.length&&2!==render.length&&warningWithoutStack$1(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===render.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=render&&(null!=render.defaultProps||null!=render.propTypes)&&warningWithoutStack$1(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:REACT_FORWARD_REF_TYPE,render:render}},lazy:function lazy(ctor){return{$$typeof:REACT_LAZY_TYPE,_ctor:ctor,_status:-1,_result:null}},memo:function memo(type,compare){return isValidElementType(type)||warningWithoutStack$1(!1,"memo: The first argument must be a component. Instead received: %s",null===type?"null":typeof type),{$$typeof:REACT_MEMO_TYPE,type:type,compare:void 0===compare?null:compare}},Fragment:REACT_FRAGMENT_TYPE,StrictMode:REACT_STRICT_MODE_TYPE,Suspense:REACT_SUSPENSE_TYPE,createElement:createElementWithValidation,cloneElement:function cloneElementWithValidation(element,props,children){for(var newElement=cloneElement.apply(this,arguments),i=2;i<arguments.length;i++)validateChildKeys(arguments[i],newElement.type);return validatePropTypes(newElement),newElement},createFactory:function createFactoryWithValidation(type){var validatedFactory=createElementWithValidation.bind(null,type);return validatedFactory.type=type,Object.defineProperty(validatedFactory,"type",{enumerable:!1,get:function(){return lowPriorityWarning$1(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:type}),type}}),validatedFactory},isValidElement:isValidElement,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ReactSharedInternals};React.unstable_ConcurrentMode=REACT_CONCURRENT_MODE_TYPE,React.unstable_Profiler=REACT_PROFILER_TYPE;var React$2=Object.freeze({default:React}),React$3=React$2&&React||React$2,react=React$3.default||React$3;module.exports=react})()},czNK:function(module,exports,__webpack_require__){"use strict";var getKeys=__webpack_require__("DVgA"),gOPS=__webpack_require__("JiEa"),pIE=__webpack_require__("UqcF"),toObject=__webpack_require__("S/j/"),IObject=__webpack_require__("Ymqv"),$assign=Object.assign;module.exports=!$assign||__webpack_require__("eeVq")((function(){var A={},B={},S=Symbol(),K="abcdefghijklmnopqrst";return A[S]=7,K.split("").forEach((function(k){B[k]=k})),7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K}))?function assign(target,source){for(var T=toObject(target),aLen=arguments.length,index=1,getSymbols=gOPS.f,isEnum=pIE.f;aLen>index;)for(var key,S=IObject(arguments[index++]),keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S),length=keys.length,j=0;length>j;)isEnum.call(S,key=keys[j++])&&(T[key]=S[key]);return T}:$assign},"d/Gc":function(module,exports,__webpack_require__){var toInteger=__webpack_require__("RYi7"),max=Math.max,min=Math.min;module.exports=function(index,length){return(index=toInteger(index))<0?max(index+length,0):min(index,length)}},d8PM:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return lazyInitialize}));var _private_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("mTPN"),defineProperty=Object.defineProperty;function handleDescriptor(target,key,descriptor){var configurable=descriptor.configurable,enumerable=descriptor.enumerable,initializer=descriptor.initializer,value=descriptor.value;return{configurable:configurable,enumerable:enumerable,get:function get(){if(this!==target){var ret=initializer?initializer.call(this):value;return defineProperty(this,key,{configurable:configurable,enumerable:enumerable,writable:!0,value:ret}),ret}},set:Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.b)(key)}}function lazyInitialize(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.c)(handleDescriptor,args)}},"dE+T":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.P,"Array",{copyWithin:__webpack_require__("upKx")}),__webpack_require__("nGyu")("copyWithin")},dRSK:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$find=__webpack_require__("CkkT")(5),forced=!0;"find"in[]&&Array(1).find((function(){forced=!1})),$export($export.P+$export.F*forced,"Array",{find:function find(callbackfn){return $find(this,callbackfn,arguments.length>1?arguments[1]:void 0)}}),__webpack_require__("nGyu")("find")},dVn5:function(module,exports){var reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;module.exports=function asciiWords(string){return string.match(reAsciiWord)||[]}},"dZ+Y":function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$some=__webpack_require__("CkkT")(3);$export($export.P+$export.F*!__webpack_require__("LyE8")([].some,!0),"Array",{some:function some(callbackfn){return $some(this,callbackfn,arguments[1])}})},dea9:function(module,exports,__webpack_require__){"use strict";module.exports=function inflate_fast(strm,start){var state,_in,last,_out,beg,end,dmax,wsize,whave,wnext,s_window,hold,bits,lcode,dcode,lmask,dmask,here,op,len,dist,from,from_source,input,output;state=strm.state,_in=strm.next_in,input=strm.input,last=_in+(strm.avail_in-5),_out=strm.next_out,output=strm.output,beg=_out-(start-strm.avail_out),end=_out+(strm.avail_out-257),dmax=state.dmax,wsize=state.wsize,whave=state.whave,wnext=state.wnext,s_window=state.window,hold=state.hold,bits=state.bits,lcode=state.lencode,dcode=state.distcode,lmask=(1<<state.lenbits)-1,dmask=(1<<state.distbits)-1;top:do{bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=lcode[hold&lmask];dolen:for(;;){if(hold>>>=op=here>>>24,bits-=op,0===(op=here>>>16&255))output[_out++]=65535&here;else{if(!(16&op)){if(0==(64&op)){here=lcode[(65535&here)+(hold&(1<<op)-1)];continue dolen}if(32&op){state.mode=12;break top}strm.msg="invalid literal/length code",state.mode=30;break top}len=65535&here,(op&=15)&&(bits<op&&(hold+=input[_in++]<<bits,bits+=8),len+=hold&(1<<op)-1,hold>>>=op,bits-=op),bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=dcode[hold&dmask];dodist:for(;;){if(hold>>>=op=here>>>24,bits-=op,!(16&(op=here>>>16&255))){if(0==(64&op)){here=dcode[(65535&here)+(hold&(1<<op)-1)];continue dodist}strm.msg="invalid distance code",state.mode=30;break top}if(dist=65535&here,bits<(op&=15)&&(hold+=input[_in++]<<bits,(bits+=8)<op&&(hold+=input[_in++]<<bits,bits+=8)),(dist+=hold&(1<<op)-1)>dmax){strm.msg="invalid distance too far back",state.mode=30;break top}if(hold>>>=op,bits-=op,dist>(op=_out-beg)){if((op=dist-op)>whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break top}if(from=0,from_source=s_window,0===wnext){if(from+=wsize-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}else if(wnext<op){if(from+=wsize+wnext-op,(op-=wnext)<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);if(from=0,wnext<len){len-=op=wnext;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}}else if(from+=wnext-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}for(;len>2;)output[_out++]=from_source[from++],output[_out++]=from_source[from++],output[_out++]=from_source[from++],len-=3;len&&(output[_out++]=from_source[from++],len>1&&(output[_out++]=from_source[from++]))}else{from=_out-dist;do{output[_out++]=output[from++],output[_out++]=output[from++],output[_out++]=output[from++],len-=3}while(len>2);len&&(output[_out++]=output[from++],len>1&&(output[_out++]=output[from++]))}break}}break}}while(_in<last&&_out<end);_in-=len=bits>>3,hold&=(1<<(bits-=len<<3))-1,strm.next_in=_in,strm.next_out=_out,strm.avail_in=_in<last?last-_in+5:5-(_in-last),strm.avail_out=_out<end?end-_out+257:257-(_out-end),state.hold=hold,state.bits=bits}},dk85:function(module,exports,__webpack_require__){__webpack_require__("xqFc")("WeakMap")},dncW:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="user-logout-request"},dt0z:function(module,exports,__webpack_require__){var baseToString=__webpack_require__("zoYe");module.exports=function toString(value){return null==value?"":baseToString(value)}},dyZX:function(module,exports){var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},e1CN:function(module,exports,__webpack_require__){__webpack_require__("Btvt"),__webpack_require__("rGqo"),__webpack_require__("EK0E"),__webpack_require__("dk85"),__webpack_require__("XUCW"),module.exports=__webpack_require__("g3g5").WeakMap},e4Nc:function(module,exports,__webpack_require__){var mapCacheClear=__webpack_require__("fGT3"),mapCacheDelete=__webpack_require__("k+1r"),mapCacheGet=__webpack_require__("JHgL"),mapCacheHas=__webpack_require__("pSRY"),mapCacheSet=__webpack_require__("H8j4");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index<length;){var entry=entries[index];this.set(entry[0],entry[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet,module.exports=MapCache},e7yV:function(module,exports,__webpack_require__){var toIObject=__webpack_require__("aCFj"),gOPN=__webpack_require__("kJMx").f,toString={}.toString,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];module.exports.f=function getOwnPropertyNames(it){return windowNames&&"[object Window]"==toString.call(it)?function(it){try{return gOPN(it)}catch(e){return windowNames.slice()}}(it):gOPN(toIObject(it))}},"eA/Y":function(module,exports,__webpack_require__){"use strict";module.exports=PassThrough;var Transform=__webpack_require__("J78i"),util=Object.create(__webpack_require__("Onz0"));function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}util.inherits=__webpack_require__("P7XM"),util.inherits(PassThrough,Transform),PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},eI33:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),toIObject=__webpack_require__("aCFj"),toLength=__webpack_require__("ne8i");$export($export.S,"String",{raw:function raw(callSite){for(var tpl=toIObject(callSite.raw),len=toLength(tpl.length),aLen=arguments.length,res=[],i=0;len>i;)res.push(String(tpl[i++])),i<aLen&&res.push(String(arguments[i]));return res.join("")}})},eUgh:function(module,exports){module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index<length;)result[index]=iteratee(array[index],index,array);return result}},ebwN:function(module,exports,__webpack_require__){var Map=__webpack_require__("Cwc5")(__webpack_require__("Kz5y"),"Map");module.exports=Map},eeVq:function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},ekgI:function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__("YESw"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},elQk:function(module,__webpack_exports__,__webpack_require__){"use strict";var eventName="subscription-saved";__webpack_exports__.a={dispatch:function dispatch(data){var event=new CustomEvent(eventName,data);globalThis.dispatchEvent(event)},listen:function listen(callback,options){globalThis.addEventListener(eventName,callback,options)},clean:function clean(callback){globalThis.removeEventListener(eventName,callback)},eventName:eventName,subscriptionSaved:"subscription-saved"}},elZq:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("dyZX"),dP=__webpack_require__("hswa"),DESCRIPTORS=__webpack_require__("nh4g"),SPECIES=__webpack_require__("K0xU")("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:!0,get:function(){return this}})}},er0w:function(module,exports,__webpack_require__){"use strict";exports.LOCAL_FILE_HEADER="PK",exports.CENTRAL_FILE_HEADER="PK",exports.CENTRAL_DIRECTORY_END="PK",exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",exports.ZIP64_CENTRAL_DIRECTORY_END="PK",exports.DATA_DESCRIPTOR="PK\b"},eyMr:function(module,exports,__webpack_require__){var aFunction=__webpack_require__("2OiF"),toObject=__webpack_require__("S/j/"),IObject=__webpack_require__("Ymqv"),toLength=__webpack_require__("ne8i");module.exports=function(that,callbackfn,aLen,memo,isRight){aFunction(callbackfn);var O=toObject(that),self=IObject(O),length=toLength(O.length),index=isRight?length-1:0,i=isRight?-1:1;if(aLen<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,isRight?index<0:length<=index)throw TypeError("Reduce of empty array with no initial value")}for(;isRight?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}},eydS:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("vn/o"),STR_APPLY_OK=!0,STR_APPLY_UIA_OK=!0;try{String.fromCharCode.apply(null,[0])}catch(__){STR_APPLY_OK=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(__){STR_APPLY_UIA_OK=!1}for(var _utf8len=new utils.Buf8(256),q=0;q<256;q++)_utf8len[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;function buf2binstring(buf,len){if(len<65537&&(buf.subarray&&STR_APPLY_UIA_OK||!buf.subarray&&STR_APPLY_OK))return String.fromCharCode.apply(null,utils.shrinkBuf(buf,len));for(var result="",i=0;i<len;i++)result+=String.fromCharCode(buf[i]);return result}_utf8len[254]=_utf8len[254]=1,exports.string2buf=function(str){var buf,c,c2,m_pos,i,str_len=str.length,buf_len=0;for(m_pos=0;m_pos<str_len;m_pos++)55296==(64512&(c=str.charCodeAt(m_pos)))&&m_pos+1<str_len&&56320==(64512&(c2=str.charCodeAt(m_pos+1)))&&(c=65536+(c-55296<<10)+(c2-56320),m_pos++),buf_len+=c<128?1:c<2048?2:c<65536?3:4;for(buf=new utils.Buf8(buf_len),i=0,m_pos=0;i<buf_len;m_pos++)55296==(64512&(c=str.charCodeAt(m_pos)))&&m_pos+1<str_len&&56320==(64512&(c2=str.charCodeAt(m_pos+1)))&&(c=65536+(c-55296<<10)+(c2-56320),m_pos++),c<128?buf[i++]=c:c<2048?(buf[i++]=192|c>>>6,buf[i++]=128|63&c):c<65536?(buf[i++]=224|c>>>12,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c):(buf[i++]=240|c>>>18,buf[i++]=128|c>>>12&63,buf[i++]=128|c>>>6&63,buf[i++]=128|63&c);return buf},exports.buf2binstring=function(buf){return buf2binstring(buf,buf.length)},exports.binstring2buf=function(str){for(var buf=new utils.Buf8(str.length),i=0,len=buf.length;i<len;i++)buf[i]=str.charCodeAt(i);return buf},exports.buf2string=function(buf,max){var i,out,c,c_len,len=max||buf.length,utf16buf=new Array(2*len);for(out=0,i=0;i<len;)if((c=buf[i++])<128)utf16buf[out++]=c;else if((c_len=_utf8len[c])>4)utf16buf[out++]=65533,i+=c_len-1;else{for(c&=2===c_len?31:3===c_len?15:7;c_len>1&&i<len;)c=c<<6|63&buf[i++],c_len--;c_len>1?utf16buf[out++]=65533:c<65536?utf16buf[out++]=c:(c-=65536,utf16buf[out++]=55296|c>>10&1023,utf16buf[out++]=56320|1023&c)}return buf2binstring(utf16buf,out)},exports.utf8border=function(buf,max){var pos;for((max=max||buf.length)>buf.length&&(max=buf.length),pos=max-1;pos>=0&&128==(192&buf[pos]);)pos--;return pos<0||0===pos?max:pos+_utf8len[buf[pos]]>max?pos:max}},fA63:function(module,exports,__webpack_require__){"use strict";__webpack_require__("qncB")("trimRight",(function($trim){return function trimRight(){return $trim(this,2)}}),"trimEnd")},fDnD:function(module,exports,__webpack_require__){"use strict";var base64=__webpack_require__("4bvL");function JSZip(data,options){if(!(this instanceof JSZip))return new JSZip(data,options);this.files={},this.comment=null,this.root="",data&&this.load(data,options),this.clone=function(){var newObj=new JSZip;for(var i in this)"function"!=typeof this[i]&&(newObj[i]=this[i]);return newObj}}JSZip.prototype=__webpack_require__("tkqm"),JSZip.prototype.load=__webpack_require__("vI6n"),JSZip.support=__webpack_require__("Mi3D"),JSZip.defaults=__webpack_require__("itLX"),JSZip.utils=__webpack_require__("nnpW"),JSZip.base64={encode:function(input){return base64.encode(input)},decode:function(input){return base64.decode(input)}},JSZip.compressions=__webpack_require__("7/DV"),module.exports=JSZip},fFCC:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("9aYe"),table=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];module.exports=function crc32(input,crc){if(void 0===input||!input.length)return 0;var isArray="string"!==utils.getTypeOf(input);void 0===crc&&(crc=0);var b=0;crc^=-1;for(var i=0,iTop=input.length;i<iTop;i++)b=isArray?input[i]:input.charCodeAt(i),crc=crc>>>8^table[255&(crc^b)];return-1^crc}},fGT3:function(module,exports,__webpack_require__){var Hash=__webpack_require__("4kuk"),ListCache=__webpack_require__("Xi7e"),Map=__webpack_require__("ebwN");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},fN96:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Number",{isInteger:__webpack_require__("nBIS")})},fXKp:function(module,exports,__webpack_require__){"use strict";var Buffer=__webpack_require__("hwdV").Buffer,isEncoding=Buffer.isEncoding||function(encoding){switch((encoding=""+encoding)&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function StringDecoder(encoding){var nb;switch(this.encoding=function normalizeEncoding(enc){var nenc=function _normalizeEncoding(enc){if(!enc)return"utf8";for(var retried;;)switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase(),retried=!0}}(enc);if("string"!=typeof nenc&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}(encoding),this.encoding){case"utf16le":this.text=utf16Text,this.end=utf16End,nb=4;break;case"utf8":this.fillLast=utf8FillLast,nb=4;break;case"base64":this.text=base64Text,this.end=base64End,nb=3;break;default:return this.write=simpleWrite,void(this.end=simpleEnd)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(nb)}function utf8CheckByte(byte){return byte<=127?0:byte>>5==6?2:byte>>4==14?3:byte>>3==30?4:byte>>6==2?-1:-2}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed,r=function utf8CheckExtraBytes(self,buf,p){if(128!=(192&buf[0]))return self.lastNeed=0,"�";if(self.lastNeed>1&&buf.length>1){if(128!=(192&buf[1]))return self.lastNeed=1,"�";if(self.lastNeed>2&&buf.length>2&&128!=(192&buf[2]))return self.lastNeed=2,"�"}}(this,buf);return void 0!==r?r:this.lastNeed<=buf.length?(buf.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(buf.copy(this.lastChar,p,0,buf.length),void(this.lastNeed-=buf.length))}function utf16Text(buf,i){if((buf.length-i)%2==0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=buf[buf.length-1],buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;return 0===n?buf.toString("base64",i):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=buf[buf.length-1]:(this.lastChar[0]=buf[buf.length-2],this.lastChar[1]=buf[buf.length-1]),buf.toString("base64",i,buf.length-n))}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}exports.StringDecoder=StringDecoder,StringDecoder.prototype.write=function(buf){if(0===buf.length)return"";var r,i;if(this.lastNeed){if(void 0===(r=this.fillLast(buf)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<buf.length?r?r+this.text(buf,i):this.text(buf,i):r||""},StringDecoder.prototype.end=function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";return this.lastNeed?r+"�":r},StringDecoder.prototype.text=function utf8Text(buf,i){var total=function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);if(nb>=0)return nb>0&&(self.lastNeed=nb-1),nb;if(--j<i||-2===nb)return 0;if((nb=utf8CheckByte(buf[j]))>=0)return nb>0&&(self.lastNeed=nb-2),nb;if(--j<i||-2===nb)return 0;if((nb=utf8CheckByte(buf[j]))>=0)return nb>0&&(2===nb?nb=0:self.lastNeed=nb-3),nb;return 0}(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);return buf.copy(this.lastChar,0,end),buf.toString("utf8",i,end)},StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length)return buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length),this.lastNeed-=buf.length}},fkLl:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="olapic-popup-product-clicked"},fo6e:function(module,exports){var reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;module.exports=function hasUnicodeWord(string){return reHasUnicodeWord.test(string)}},fq1A:function(module,exports){},frGm:function(module,exports,__webpack_require__){"use strict";module.exports=function inflate_fast(strm,start){var state,_in,last,_out,beg,end,dmax,wsize,whave,wnext,s_window,hold,bits,lcode,dcode,lmask,dmask,here,op,len,dist,from,from_source,input,output;state=strm.state,_in=strm.next_in,input=strm.input,last=_in+(strm.avail_in-5),_out=strm.next_out,output=strm.output,beg=_out-(start-strm.avail_out),end=_out+(strm.avail_out-257),dmax=state.dmax,wsize=state.wsize,whave=state.whave,wnext=state.wnext,s_window=state.window,hold=state.hold,bits=state.bits,lcode=state.lencode,dcode=state.distcode,lmask=(1<<state.lenbits)-1,dmask=(1<<state.distbits)-1;top:do{bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=lcode[hold&lmask];dolen:for(;;){if(hold>>>=op=here>>>24,bits-=op,0===(op=here>>>16&255))output[_out++]=65535&here;else{if(!(16&op)){if(0==(64&op)){here=lcode[(65535&here)+(hold&(1<<op)-1)];continue dolen}if(32&op){state.mode=12;break top}strm.msg="invalid literal/length code",state.mode=30;break top}len=65535&here,(op&=15)&&(bits<op&&(hold+=input[_in++]<<bits,bits+=8),len+=hold&(1<<op)-1,hold>>>=op,bits-=op),bits<15&&(hold+=input[_in++]<<bits,bits+=8,hold+=input[_in++]<<bits,bits+=8),here=dcode[hold&dmask];dodist:for(;;){if(hold>>>=op=here>>>24,bits-=op,!(16&(op=here>>>16&255))){if(0==(64&op)){here=dcode[(65535&here)+(hold&(1<<op)-1)];continue dodist}strm.msg="invalid distance code",state.mode=30;break top}if(dist=65535&here,bits<(op&=15)&&(hold+=input[_in++]<<bits,(bits+=8)<op&&(hold+=input[_in++]<<bits,bits+=8)),(dist+=hold&(1<<op)-1)>dmax){strm.msg="invalid distance too far back",state.mode=30;break top}if(hold>>>=op,bits-=op,dist>(op=_out-beg)){if((op=dist-op)>whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break top}if(from=0,from_source=s_window,0===wnext){if(from+=wsize-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}else if(wnext<op){if(from+=wsize+wnext-op,(op-=wnext)<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);if(from=0,wnext<len){len-=op=wnext;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}}}else if(from+=wnext-op,op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist,from_source=output}for(;len>2;)output[_out++]=from_source[from++],output[_out++]=from_source[from++],output[_out++]=from_source[from++],len-=3;len&&(output[_out++]=from_source[from++],len>1&&(output[_out++]=from_source[from++]))}else{from=_out-dist;do{output[_out++]=output[from++],output[_out++]=output[from++],output[_out++]=output[from++],len-=3}while(len>2);len&&(output[_out++]=output[from++],len>1&&(output[_out++]=output[from++]))}break}}break}}while(_in<last&&_out<end);_in-=len=bits>>3,hold&=(1<<(bits-=len<<3))-1,strm.next_in=_in,strm.next_out=_out,strm.avail_in=_in<last?last-_in+5:5-(_in-last),strm.avail_out=_out<end?end-_out+257:257-(_out-end),state.hold=hold,state.bits=bits}},fyDq:function(module,exports,__webpack_require__){var def=__webpack_require__("hswa").f,has=__webpack_require__("aagx"),TAG=__webpack_require__("K0xU")("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},g3ZS:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("EVdn")],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function(jQuery){"use strict";var domfocus=!1,mousefocus=!1,tabindexcounter=0,ascrailcounter=2e3,globalmaxzindex=0,$=jQuery,_doc=document,_win=window,$window=$(_win),delegatevents=[];function getScriptPath(){var scripts=_doc.currentScript||function(){var s=_doc.getElementsByTagName("script");return!!s.length&&s[s.length-1]}(),path=scripts?scripts.src.split("?")[0]:"";return path.split("/").length>0?path.split("/").slice(0,-1).join("/")+"/":""}var setAnimationFrame=_win.requestAnimationFrame||_win.webkitRequestAnimationFrame||_win.mozRequestAnimationFrame||!1,clearAnimationFrame=_win.cancelAnimationFrame||_win.webkitCancelAnimationFrame||_win.mozCancelAnimationFrame||!1;if(setAnimationFrame)_win.cancelAnimationFrame||(clearAnimationFrame=function(id){});else{var anilasttime=0;setAnimationFrame=function(callback,element){var currTime=(new Date).getTime(),timeToCall=Math.max(0,16-(currTime-anilasttime)),id=_win.setTimeout((function(){callback(currTime+timeToCall)}),timeToCall);return anilasttime=currTime+timeToCall,id},clearAnimationFrame=function(id){_win.clearTimeout(id)}}var ClsMutationObserver=_win.MutationObserver||_win.WebKitMutationObserver||!1,now=Date.now||function(){return(new Date).getTime()},_globaloptions={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:40,mousescrollstep:27,touchbehavior:!1,emulatetouch:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:getScriptPath(),preventmultitouchscrolling:!0,disablemutationobserver:!1,enableobserver:!0,scrollbarid:!1,scrollCLass:!1},browserdetected=!1,getBrowserDetection=function(){if(browserdetected)return browserdetected;var _el=_doc.createElement("DIV"),_style=_el.style,_agent=navigator.userAgent,_platform=navigator.platform,d={};function detectCursorGrab(){var lst=["grab","-webkit-grab","-moz-grab"];(d.ischrome&&!d.ischrome38||d.isie)&&(lst=[]);for(var a=0,l=lst.length;a<l;a++){var p=lst[a];if(_style.cursor=p,_style.cursor==p)return p}return"url(https://cdnjs.cloudflare.com/ajax/libs/slider-pro/1.3.0/css/images/openhand.cur),n-resize"}return d.haspointerlock="pointerLockElement"in _doc||"webkitPointerLockElement"in _doc||"mozPointerLockElement"in _doc,d.isopera="opera"in _win,d.isopera12=d.isopera&&"getUserMedia"in navigator,d.isoperamini="[object OperaMini]"===Object.prototype.toString.call(_win.operamini),d.isie="all"in _doc&&"attachEvent"in _el&&!d.isopera,d.isieold=d.isie&&!("msInterpolationMode"in _style),d.isie7=d.isie&&!d.isieold&&(!("documentMode"in _doc)||7===_doc.documentMode),d.isie8=d.isie&&"documentMode"in _doc&&8===_doc.documentMode,d.isie9=d.isie&&"performance"in _win&&9===_doc.documentMode,d.isie10=d.isie&&"performance"in _win&&10===_doc.documentMode,d.isie11="msRequestFullscreen"in _el&&_doc.documentMode>=11,d.ismsedge="msCredentials"in _win,d.ismozilla="MozAppearance"in _style,d.iswebkit=!d.ismsedge&&"WebkitAppearance"in _style,d.ischrome=d.iswebkit&&"chrome"in _win,d.ischrome38=d.ischrome&&"touchAction"in _style,d.ischrome22=!d.ischrome38&&d.ischrome&&d.haspointerlock,d.ischrome26=!d.ischrome38&&d.ischrome&&"transition"in _style,d.cantouch="ontouchstart"in _doc.documentElement||"ontouchstart"in _win,d.hasw3ctouch=!!_win.PointerEvent&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),d.hasmstouch=!d.hasw3ctouch&&(_win.MSPointerEvent||!1),d.ismac=/^mac$/i.test(_platform),d.isios=d.cantouch&&/iphone|ipad|ipod/i.test(_platform),d.isios4=d.isios&&!("seal"in Object),d.isios7=d.isios&&"webkitHidden"in _doc,d.isios8=d.isios&&"hidden"in _doc,d.isios10=d.isios&&_win.Proxy,d.isandroid=/android/i.test(_agent),d.haseventlistener="addEventListener"in _el,d.trstyle=!1,d.hastransform=!1,d.hastranslate3d=!1,d.transitionstyle=!1,d.hastransition=!1,d.transitionend=!1,d.trstyle="transform",d.hastransform="transform"in _style||function(){for(var check=["msTransform","webkitTransform","MozTransform","OTransform"],a=0,c=check.length;a<c;a++)if(void 0!==_style[check[a]]){d.trstyle=check[a];break}d.hastransform=!!d.trstyle}(),d.hastransform&&(_style[d.trstyle]="translate3d(1px,2px,3px)",d.hastranslate3d=/translate3d/.test(_style[d.trstyle])),d.transitionstyle="transition",d.prefixstyle="",d.transitionend="transitionend",d.hastransition="transition"in _style||function(){d.transitionend=!1;for(var check=["webkitTransition","msTransition","MozTransition","OTransition","OTransition","KhtmlTransition"],prefix=["-webkit-","-ms-","-moz-","-o-","-o","-khtml-"],evs=["webkitTransitionEnd","msTransitionEnd","transitionend","otransitionend","oTransitionEnd","KhtmlTransitionEnd"],a=0,c=check.length;a<c;a++)if(check[a]in _style){d.transitionstyle=check[a],d.prefixstyle=prefix[a],d.transitionend=evs[a];break}d.ischrome26&&(d.prefixstyle=prefix[1]),d.hastransition=d.transitionstyle}(),d.cursorgrabvalue=detectCursorGrab(),d.hasmousecapture="setCapture"in _el,d.hasMutationObserver=!1!==ClsMutationObserver,_el=null,browserdetected=d,d},NiceScrollClass=function(myopt,me){var self=this;this.version="3.7.6",this.name="nicescroll",this.me=me;var $body=$("body"),opt=this.opt={doc:$body,win:!1};if($.extend(opt,_globaloptions),opt.snapbackspeed=80,myopt)for(var a in opt)void 0!==myopt[a]&&(opt[a]=myopt[a]);if(opt.disablemutationobserver&&(ClsMutationObserver=!1),this.doc=opt.doc,this.iddoc=this.doc&&this.doc[0]&&this.doc[0].id||"",this.ispage=/^BODY|HTML/.test(opt.win?opt.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=!1!==opt.win,this.win=opt.win||(this.ispage?$window:this.doc),this.docscroll=this.ispage&&!this.haswrapper?$window:this.win,this.body=$body,this.viewport=!1,this.isfixed=!1,this.iframe=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=opt.autohidemode,this.onmousedown=!1,this.onmouseup=!1,this.onmousemove=!1,this.onmousewheel=!1,this.onkeypress=!1,this.ongesturezoom=!1,this.onclick=!1,this.onscrollstart=!1,this.onscrollend=!1,this.onscrollcancel=!1,this.onzoomin=!1,this.onzoomout=!1,this.view=!1,this.page=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,"auto"==opt.rtlmode){var target=this.win[0]==_win?this.body:this.win,writingMode=target.css("writing-mode")||target.css("-webkit-writing-mode")||target.css("-ms-writing-mode")||target.css("-moz-writing-mode");"horizontal-tb"==writingMode||"lr-tb"==writingMode||""===writingMode?(this.isrtlmode="rtl"==target.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==writingMode||"tb"==writingMode||"tb-rl"==writingMode||"rl-tb"==writingMode,this.isvertical="vertical-rl"==writingMode||"tb"==writingMode||"tb-rl"==writingMode)}else this.isrtlmode=!0===opt.rtlmode,this.isvertical=!1;if(this.scrollrunning=!1,this.scrollmom=!1,this.observer=!1,this.observerremover=!1,this.observerbody=!1,!1!==opt.scrollbarid)this.id=opt.scrollbarid;else do{this.id="ascrail"+ascrailcounter++}while(_doc.getElementById(this.id));this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.railslocked=!1,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=opt.overflowx,this.overflowy=opt.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=getBrowserDetection();var cap=$.extend({},this.detected);this.canhwscroll=cap.hastransform&&opt.hwacceleration,this.ishwscroll=this.canhwscroll&&self.haswrapper,this.isrtlmode?this.isvertical?this.hasreversehr=!(cap.iswebkit||cap.isie||cap.isie11):this.hasreversehr=!(cap.iswebkit||cap.isie&&!cap.isie10&&!cap.isie11):this.hasreversehr=!1,this.istouchcapable=!1,(cap.cantouch||!cap.hasw3ctouch&&!cap.hasmstouch)&&(!cap.cantouch||cap.isios||cap.isandroid||!cap.iswebkit&&!cap.ismozilla)||(this.istouchcapable=!0),opt.enablemouselockapi||(cap.hasmousecapture=!1,cap.haspointerlock=!1),this.debounced=function(name,fn,tm){self&&(self.delaylist[name]||(self.delaylist[name]={h:setAnimationFrame((function(){self.delaylist[name].fn.call(self),self.delaylist[name]=!1}),tm)},fn.call(self)),self.delaylist[name].fn=fn)},this.synched=function(name,fn){self.synclist[name]?self.synclist[name]=fn:(self.synclist[name]=fn,setAnimationFrame((function(){self&&(self.synclist[name]&&self.synclist[name].call(self),self.synclist[name]=null)})))},this.unsynched=function(name){self.synclist[name]&&(self.synclist[name]=!1)},this.css=function(el,pars){for(var n in pars)self.saved.css.push([el,n,el.css(n)]),el.css(n,pars[n])},this.scrollTop=function(val){return void 0===val?self.getScrollTop():self.setScrollTop(val)},this.scrollLeft=function(val){return void 0===val?self.getScrollLeft():self.setScrollLeft(val)};var BezierClass=function(st,ed,spd,p1,p2,p3,p4){this.st=st,this.ed=ed,this.spd=spd,this.p1=p1||0,this.p2=p2||1,this.p3=p3||0,this.p4=p4||1,this.ts=now(),this.df=ed-st};function getMatrixValues(){var tr=self.doc.css(cap.trstyle);return!(!tr||"matrix"!=tr.substr(0,6))&&tr.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/)}if(BezierClass.prototype={B2:function(t){return 3*(1-t)*(1-t)*t},B3:function(t){return 3*(1-t)*t*t},B4:function(t){return t*t*t},getPos:function(){return(now()-this.ts)/this.spd},getNow:function(){var pc=(now()-this.ts)/this.spd,bz=this.B2(pc)+this.B3(pc)+this.B4(pc);return pc>=1?this.ed:this.st+this.df*bz|0},update:function(ed,spd){return this.st=this.getNow(),this.ed=ed,this.spd=spd,this.ts=now(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},cap.hastranslate3d&&cap.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(last){if(!last){var mtx=getMatrixValues();if(mtx)return 16==mtx.length?-mtx[13]:-mtx[5];if(self.timerscroll&&self.timerscroll.bz)return self.timerscroll.bz.getNow()}return self.doc.translate.y},this.getScrollLeft=function(last){if(!last){var mtx=getMatrixValues();if(mtx)return 16==mtx.length?-mtx[12]:-mtx[4];if(self.timerscroll&&self.timerscroll.bh)return self.timerscroll.bh.getNow()}return self.doc.translate.x},this.notifyScrollEvent=function(el){var e=_doc.createEvent("UIEvents");e.initUIEvent("scroll",!1,!1,_win,1),e.niceevent=!0,el.dispatchEvent(e)};var cxscrollleft=this.isrtlmode?1:-1;cap.hastranslate3d&&opt.enabletranslate3d?(this.setScrollTop=function(val,silent){self.doc.translate.y=val,self.doc.translate.ty=-1*val+"px",self.doc.css(cap.trstyle,"translate3d("+self.doc.translate.tx+","+self.doc.translate.ty+",0)"),silent||self.notifyScrollEvent(self.win[0])},this.setScrollLeft=function(val,silent){self.doc.translate.x=val,self.doc.translate.tx=val*cxscrollleft+"px",self.doc.css(cap.trstyle,"translate3d("+self.doc.translate.tx+","+self.doc.translate.ty+",0)"),silent||self.notifyScrollEvent(self.win[0])}):(this.setScrollTop=function(val,silent){self.doc.translate.y=val,self.doc.translate.ty=-1*val+"px",self.doc.css(cap.trstyle,"translate("+self.doc.translate.tx+","+self.doc.translate.ty+")"),silent||self.notifyScrollEvent(self.win[0])},this.setScrollLeft=function(val,silent){self.doc.translate.x=val,self.doc.translate.tx=val*cxscrollleft+"px",self.doc.css(cap.trstyle,"translate("+self.doc.translate.tx+","+self.doc.translate.ty+")"),silent||self.notifyScrollEvent(self.win[0])})}else this.getScrollTop=function(){return self.docscroll.scrollTop()},this.setScrollTop=function(val){self.docscroll.scrollTop(val)},this.getScrollLeft=function(){return self.hasreversehr?self.detected.ismozilla?self.page.maxw-Math.abs(self.docscroll.scrollLeft()):self.page.maxw-self.docscroll.scrollLeft():self.docscroll.scrollLeft()},this.setScrollLeft=function(val){return setTimeout((function(){if(self)return self.hasreversehr&&(val=self.detected.ismozilla?-(self.page.maxw-val):self.page.maxw-val),self.docscroll.scrollLeft(val)}),1)};function getZIndex(){var dom=self.win;if("zIndex"in dom)return dom.zIndex();for(;dom.length>0;){if(9==dom[0].nodeType)return!1;var zi=dom.css("zIndex");if(!isNaN(zi)&&0!==zi)return parseInt(zi);dom=dom.parent()}return!1}this.getTarget=function(e){return!!e&&(e.target?e.target:!!e.srcElement&&e.srcElement)},this.hasParent=function(e,id){if(!e)return!1;for(var el=e.target||e.srcElement||e||!1;el&&el.id!=id;)el=el.parentNode||!1;return!1!==el};var _convertBorderWidth={thin:1,medium:3,thick:5};function getWidthToPixel(dom,prop,chkheight){var wd=dom.css(prop),px=parseFloat(wd);if(isNaN(px)){var brd=3==(px=_convertBorderWidth[wd]||0)?chkheight?self.win.outerHeight()-self.win.innerHeight():self.win.outerWidth()-self.win.innerWidth():1;return self.isie8&&px&&(px+=1),brd?px:0}return px}this.getDocumentScrollOffset=function(){return{top:_win.pageYOffset||_doc.documentElement.scrollTop,left:_win.pageXOffset||_doc.documentElement.scrollLeft}},this.getOffset=function(){if(self.isfixed){var ofs=self.win.offset(),scrl=self.getDocumentScrollOffset();return ofs.top-=scrl.top,ofs.left-=scrl.left,ofs}var ww=self.win.offset();if(!self.viewport)return ww;var vp=self.viewport.offset();return{top:ww.top-vp.top,left:ww.left-vp.left}},this.updateScrollBar=function(len){var pos,off;if(self.ishwscroll)self.rail.css({height:self.win.innerHeight()-(opt.railpadding.top+opt.railpadding.bottom)}),self.railh&&self.railh.css({width:self.win.innerWidth()-(opt.railpadding.left+opt.railpadding.right)});else{var wpos=self.getOffset();if((pos={top:wpos.top,left:wpos.left-(opt.railpadding.left+opt.railpadding.right)}).top+=getWidthToPixel(self.win,"border-top-width",!0),pos.left+=self.rail.align?self.win.outerWidth()-getWidthToPixel(self.win,"border-right-width")-self.rail.width:getWidthToPixel(self.win,"border-left-width"),(off=opt.railoffset)&&(off.top&&(pos.top+=off.top),off.left&&(pos.left+=off.left)),self.railslocked||self.rail.css({top:pos.top,left:pos.left,height:(len?len.h:self.win.innerHeight())-(opt.railpadding.top+opt.railpadding.bottom)}),self.zoom&&self.zoom.css({top:pos.top+1,left:1==self.rail.align?pos.left-20:pos.left+self.rail.width+4}),self.railh&&!self.railslocked){pos={top:wpos.top,left:wpos.left},(off=opt.railhoffset)&&(off.top&&(pos.top+=off.top),off.left&&(pos.left+=off.left));var y=self.railh.align?pos.top+getWidthToPixel(self.win,"border-top-width",!0)+self.win.innerHeight()-self.railh.height:pos.top+getWidthToPixel(self.win,"border-top-width",!0),x=pos.left+getWidthToPixel(self.win,"border-left-width");self.railh.css({top:y-(opt.railpadding.top+opt.railpadding.bottom),left:x,width:self.railh.width})}}},this.doRailClick=function(e,dbl,hr){var fn,pg,cur,pos;self.railslocked||(self.cancelEvent(e),"pageY"in e||(e.pageX=e.clientX+_doc.documentElement.scrollLeft,e.pageY=e.clientY+_doc.documentElement.scrollTop),dbl?(fn=hr?self.doScrollLeft:self.doScrollTop,cur=hr?(e.pageX-self.railh.offset().left-self.cursorwidth/2)*self.scrollratio.x:(e.pageY-self.rail.offset().top-self.cursorheight/2)*self.scrollratio.y,self.unsynched("relativexy"),fn(0|cur)):(fn=hr?self.doScrollLeftBy:self.doScrollBy,cur=hr?self.scroll.x:self.scroll.y,pos=hr?e.pageX-self.railh.offset().left:e.pageY-self.rail.offset().top,pg=hr?self.view.w:self.view.h,fn(cur>=pos?pg:-pg)))},self.newscrolly=self.newscrollx=0,self.hasanimationframe="requestAnimationFrame"in _win,self.hascancelanimationframe="cancelAnimationFrame"in _win,self.hasborderbox=!1,this.init=function(){if(self.saved.css=[],cap.isoperamini)return!0;if(cap.isandroid&&!("hidden"in _doc))return!0;opt.emulatetouch=opt.emulatetouch||opt.touchbehavior,self.hasborderbox=_win.getComputedStyle&&"border-box"===_win.getComputedStyle(_doc.body)["box-sizing"];var _scrollyhidden={"overflow-y":"hidden"};if((cap.isie11||cap.isie10)&&(_scrollyhidden["-ms-overflow-style"]="none"),self.ishwscroll&&(this.doc.css(cap.transitionstyle,cap.prefixstyle+"transform 0ms ease-out"),cap.transitionend&&self.bind(self.doc,cap.transitionend,self.onScrollTransitionEnd,!1)),self.zindex="auto",self.ispage||"auto"!=opt.zindex?self.zindex=opt.zindex:self.zindex=getZIndex()||"auto",!self.ispage&&"auto"!=self.zindex&&self.zindex>globalmaxzindex&&(globalmaxzindex=self.zindex),self.isie&&0===self.zindex&&"auto"==opt.zindex&&(self.zindex="auto"),!self.ispage||!cap.isieold){var cont=self.docscroll;self.ispage&&(cont=self.haswrapper?self.win:self.doc),self.css(cont,_scrollyhidden),self.ispage&&(cap.isie11||cap.isie)&&self.css($("html"),_scrollyhidden),!cap.isios||self.ispage||self.haswrapper||self.css($body,{"-webkit-overflow-scrolling":"touch"});var cursor=$(_doc.createElement("div"));cursor.css({position:"relative",top:0,float:"right",width:opt.cursorwidth,height:0,"background-color":opt.cursorcolor,border:opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":opt.cursorborderradius,"-moz-border-radius":opt.cursorborderradius,"border-radius":opt.cursorborderradius}),cursor.addClass("nicescroll-cursors"),self.cursor=cursor;var rail=$(_doc.createElement("div"));rail.attr("id",self.id),rail.addClass("nicescroll-rails nicescroll-rails-vr"),opt.scrollCLass&&rail.addClass(opt.scrollCLass);var v,a,kp=["left","right","top","bottom"];for(var n in kp)a=kp[n],(v=opt.railpadding[a]||0)&&rail.css("padding-"+a,v+"px");rail.append(cursor),rail.width=Math.max(parseFloat(opt.cursorwidth),cursor.outerWidth()),rail.css({width:rail.width+"px",zIndex:self.zindex,background:opt.background,cursor:"default"}),rail.visibility=!0,rail.scrollable=!0,rail.align="left"==opt.railalign?0:1,self.rail=rail,self.rail.drag=!1;var railh,zoom=!1;if(!opt.boxzoom||self.ispage||cap.isieold||(zoom=_doc.createElement("div"),self.bind(zoom,"click",self.doZoom),self.bind(zoom,"mouseenter",(function(){self.zoom.css("opacity",opt.cursoropacitymax)})),self.bind(zoom,"mouseleave",(function(){self.zoom.css("opacity",opt.cursoropacitymin)})),self.zoom=$(zoom),self.zoom.css({cursor:"pointer",zIndex:self.zindex,backgroundImage:"url("+opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0 0"}),opt.dblclickzoom&&self.bind(self.win,"dblclick",self.doZoom),cap.cantouch&&opt.gesturezoom&&(self.ongesturezoom=function(e){return e.scale>1.5&&self.doZoomIn(e),e.scale<.8&&self.doZoomOut(e),self.cancelEvent(e)},self.bind(self.win,"gestureend",self.ongesturezoom))),self.railh=!1,opt.horizrailenabled&&(self.css(cont,{overflowX:"hidden"}),(cursor=$(_doc.createElement("div"))).css({position:"absolute",top:0,height:opt.cursorwidth,width:0,backgroundColor:opt.cursorcolor,border:opt.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":opt.cursorborderradius,"-moz-border-radius":opt.cursorborderradius,"border-radius":opt.cursorborderradius}),cap.isieold&&cursor.css("overflow","hidden"),cursor.addClass("nicescroll-cursors"),self.cursorh=cursor,(railh=$(_doc.createElement("div"))).attr("id",self.id+"-hr"),railh.addClass("nicescroll-rails nicescroll-rails-hr"),opt.scrollCLass&&railh.addClass(opt.scrollCLass),railh.height=Math.max(parseFloat(opt.cursorwidth),cursor.outerHeight()),railh.css({height:railh.height+"px",zIndex:self.zindex,background:opt.background}),railh.append(cursor),railh.visibility=!0,railh.scrollable=!0,railh.align="top"==opt.railvalign?0:1,self.railh=railh,self.railh.drag=!1),self.ispage)rail.css({position:"fixed",top:0,height:"100%"}),rail.css(rail.align?{right:0}:{left:0}),self.body.append(rail),self.railh&&(railh.css({position:"fixed",left:0,width:"100%"}),railh.css(railh.align?{bottom:0}:{top:0}),self.body.append(railh));else{if(self.ishwscroll){"static"==self.win.css("position")&&self.css(self.win,{position:"relative"});var bd="HTML"==self.win[0].nodeName?self.body:self.win;$(bd).scrollTop(0).scrollLeft(0),self.zoom&&(self.zoom.css({position:"absolute",top:1,right:0,"margin-right":rail.width+4}),bd.append(self.zoom)),rail.css({position:"absolute",top:0}),rail.css(rail.align?{right:0}:{left:0}),bd.append(rail),railh&&(railh.css({position:"absolute",left:0,bottom:0}),railh.css(railh.align?{bottom:0}:{top:0}),bd.append(railh))}else{self.isfixed="fixed"==self.win.css("position");var rlpos=self.isfixed?"fixed":"absolute";self.isfixed||(self.viewport=self.getViewport(self.win[0])),self.viewport&&(self.body=self.viewport,/fixed|absolute/.test(self.viewport.css("position"))||self.css(self.viewport,{position:"relative"})),rail.css({position:rlpos}),self.zoom&&self.zoom.css({position:rlpos}),self.updateScrollBar(),self.body.append(rail),self.zoom&&self.body.append(self.zoom),self.railh&&(railh.css({position:rlpos}),self.body.append(railh))}cap.isios&&self.css(self.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),opt.disableoutline&&(cap.isie&&self.win.attr("hideFocus","true"),cap.iswebkit&&self.win.css("outline","none"))}if(!1===opt.autohidemode?(self.autohidedom=!1,self.rail.css({opacity:opt.cursoropacitymax}),self.railh&&self.railh.css({opacity:opt.cursoropacitymax})):!0===opt.autohidemode||"leave"===opt.autohidemode?(self.autohidedom=$().add(self.rail),cap.isie8&&(self.autohidedom=self.autohidedom.add(self.cursor)),self.railh&&(self.autohidedom=self.autohidedom.add(self.railh)),self.railh&&cap.isie8&&(self.autohidedom=self.autohidedom.add(self.cursorh))):"scroll"==opt.autohidemode?(self.autohidedom=$().add(self.rail),self.railh&&(self.autohidedom=self.autohidedom.add(self.railh))):"cursor"==opt.autohidemode?(self.autohidedom=$().add(self.cursor),self.railh&&(self.autohidedom=self.autohidedom.add(self.cursorh))):"hidden"==opt.autohidemode&&(self.autohidedom=!1,self.hide(),self.railslocked=!1),cap.cantouch||self.istouchcapable||opt.emulatetouch||cap.hasmstouch){self.scrollmom=new ScrollMomentumClass2D(self),self.ontouchstart=function(e){if(self.locked)return!1;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;if(self.hasmoving=!1,self.scrollmom.timer&&(self.triggerScrollEnd(),self.scrollmom.stop()),!self.railslocked){var tg=self.getTarget(e);if(tg&&/INPUT/i.test(tg.nodeName)&&/range/i.test(tg.type))return self.stopPropagation(e);var ismouse="mousedown"===e.type;if(!("clientX"in e)&&"changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),self.forcescreen){var le=e;(e={original:e.original?e.original:e}).clientX=le.screenX,e.clientY=le.screenY}if(self.rail.drag={x:e.clientX,y:e.clientY,sx:self.scroll.x,sy:self.scroll.y,st:self.getScrollTop(),sl:self.getScrollLeft(),pt:2,dl:!1,tg:tg},self.ispage||!opt.directionlockdeadzone)self.rail.drag.dl="f";else{var view={w:$window.width(),h:$window.height()},page=self.getContentSize(),maxh=page.h-view.h,maxw=page.w-view.w;self.rail.scrollable&&!self.railh.scrollable?self.rail.drag.ck=maxh>0&&"v":!self.rail.scrollable&&self.railh.scrollable?self.rail.drag.ck=maxw>0&&"h":self.rail.drag.ck=!1}if(opt.emulatetouch&&self.isiframe&&cap.isie){var wp=self.win.position();self.rail.drag.x+=wp.left,self.rail.drag.y+=wp.top}if(self.hasmoving=!1,self.lastmouseup=!1,self.scrollmom.reset(e.clientX,e.clientY),tg&&ismouse){if(!/INPUT|SELECT|BUTTON|TEXTAREA/i.test(tg.nodeName))return cap.hasmousecapture&&tg.setCapture(),opt.emulatetouch?(tg.onclick&&!tg._onclick&&(tg._onclick=tg.onclick,tg.onclick=function(e){if(self.hasmoving)return!1;tg._onclick.call(this,e)}),self.cancelEvent(e)):self.stopPropagation(e);/SUBMIT|CANCEL|BUTTON/i.test($(tg).attr("type"))&&(self.preventclick={tg:tg,click:!1})}}},self.ontouchend=function(e){if(!self.rail.drag)return!0;if(2==self.rail.drag.pt){if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;self.rail.drag=!1;var ismouse="mouseup"===e.type;if(self.hasmoving&&(self.scrollmom.doMomentum(),self.lastmouseup=!0,self.hideCursor(),cap.hasmousecapture&&_doc.releaseCapture(),ismouse))return self.cancelEvent(e)}else if(1==self.rail.drag.pt)return self.onmouseup(e)};var moveneedoffset=opt.emulatetouch&&self.isiframe&&!cap.hasmousecapture,locktollerance=.3*opt.directionlockdeadzone|0;self.ontouchmove=function(e,byiframe){if(!self.rail.drag)return!0;if(e.targetTouches&&opt.preventmultitouchscrolling&&e.targetTouches.length>1)return!0;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!0;if(2==self.rail.drag.pt){var ofy,ofx;if("changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),ofx=ofy=0,moveneedoffset&&!byiframe){var wp=self.win.position();ofx=-wp.left,ofy=-wp.top}var fy=e.clientY+ofy,my=fy-self.rail.drag.y,fx=e.clientX+ofx,mx=fx-self.rail.drag.x,ny=self.rail.drag.st-my;if(self.ishwscroll&&opt.bouncescroll)ny<0?ny=Math.round(ny/2):ny>self.page.maxh&&(ny=self.page.maxh+Math.round((ny-self.page.maxh)/2));else if(ny<0?(ny=0,fy=0):ny>self.page.maxh&&(ny=self.page.maxh,fy=0),0===fy&&!self.hasmoving)return self.ispage||(self.rail.drag=!1),!0;var nx=self.getScrollLeft();if(self.railh&&self.railh.scrollable&&(nx=self.isrtlmode?mx-self.rail.drag.sl:self.rail.drag.sl-mx,self.ishwscroll&&opt.bouncescroll?nx<0?nx=Math.round(nx/2):nx>self.page.maxw&&(nx=self.page.maxw+Math.round((nx-self.page.maxw)/2)):(nx<0&&(nx=0,fx=0),nx>self.page.maxw&&(nx=self.page.maxw,fx=0))),!self.hasmoving){if(self.rail.drag.y===e.clientY&&self.rail.drag.x===e.clientX)return self.cancelEvent(e);var ay=Math.abs(my),ax=Math.abs(mx),dz=opt.directionlockdeadzone;if(self.rail.drag.ck?"v"==self.rail.drag.ck?ax>dz&&ay<=locktollerance?self.rail.drag=!1:ay>dz&&(self.rail.drag.dl="v"):"h"==self.rail.drag.ck&&(ay>dz&&ax<=locktollerance?self.rail.drag=!1:ax>dz&&(self.rail.drag.dl="h")):ay>dz&&ax>dz?self.rail.drag.dl="f":ay>dz?self.rail.drag.dl=ax>locktollerance?"f":"v":ax>dz&&(self.rail.drag.dl=ay>locktollerance?"f":"h"),!self.rail.drag.dl)return self.cancelEvent(e);self.triggerScrollStart(e.clientX,e.clientY,0,0,0),self.hasmoving=!0}return self.preventclick&&!self.preventclick.click&&(self.preventclick.click=self.preventclick.tg.onclick||!1,self.preventclick.tg.onclick=self.onpreventclick),self.rail.drag.dl&&("v"==self.rail.drag.dl?nx=self.rail.drag.sl:"h"==self.rail.drag.dl&&(ny=self.rail.drag.st)),self.synched("touchmove",(function(){self.rail.drag&&2==self.rail.drag.pt&&(self.prepareTransition&&self.resetTransition(),self.rail.scrollable&&self.setScrollTop(ny),self.scrollmom.update(fx,fy),self.railh&&self.railh.scrollable?(self.setScrollLeft(nx),self.showCursor(ny,nx)):self.showCursor(ny),cap.isie10&&_doc.selection.clear())})),self.cancelEvent(e)}return 1==self.rail.drag.pt?self.onmousemove(e):void 0},self.ontouchstartCursor=function(e,hronly){if(!self.rail.drag||3==self.rail.drag.pt){if(self.locked)return self.cancelEvent(e);self.cancelScroll(),self.rail.drag={x:e.touches[0].clientX,y:e.touches[0].clientY,sx:self.scroll.x,sy:self.scroll.y,pt:3,hr:!!hronly};var tg=self.getTarget(e);return!self.ispage&&cap.hasmousecapture&&tg.setCapture(),self.isiframe&&!cap.hasmousecapture&&(self.saved.csspointerevents=self.doc.css("pointer-events"),self.css(self.doc,{"pointer-events":"none"})),self.cancelEvent(e)}},self.ontouchendCursor=function(e){if(self.rail.drag){if(cap.hasmousecapture&&_doc.releaseCapture(),self.isiframe&&!cap.hasmousecapture&&self.doc.css("pointer-events",self.saved.csspointerevents),3!=self.rail.drag.pt)return;return self.rail.drag=!1,self.cancelEvent(e)}},self.ontouchmoveCursor=function(e){if(self.rail.drag){if(3!=self.rail.drag.pt)return;if(self.cursorfreezed=!0,self.rail.drag.hr){self.scroll.x=self.rail.drag.sx+(e.touches[0].clientX-self.rail.drag.x),self.scroll.x<0&&(self.scroll.x=0);var mw=self.scrollvaluemaxw;self.scroll.x>mw&&(self.scroll.x=mw)}else{self.scroll.y=self.rail.drag.sy+(e.touches[0].clientY-self.rail.drag.y),self.scroll.y<0&&(self.scroll.y=0);var my=self.scrollvaluemax;self.scroll.y>my&&(self.scroll.y=my)}return self.synched("touchmove",(function(){self.rail.drag&&3==self.rail.drag.pt&&(self.showCursor(),self.rail.drag.hr?self.doScrollLeft(Math.round(self.scroll.x*self.scrollratio.x),opt.cursordragspeed):self.doScrollTop(Math.round(self.scroll.y*self.scrollratio.y),opt.cursordragspeed))})),self.cancelEvent(e)}}}if(self.onmousedown=function(e,hronly){if(!self.rail.drag||1==self.rail.drag.pt){if(self.railslocked)return self.cancelEvent(e);self.cancelScroll(),self.rail.drag={x:e.clientX,y:e.clientY,sx:self.scroll.x,sy:self.scroll.y,pt:1,hr:hronly||!1};var tg=self.getTarget(e);return cap.hasmousecapture&&tg.setCapture(),self.isiframe&&!cap.hasmousecapture&&(self.saved.csspointerevents=self.doc.css("pointer-events"),self.css(self.doc,{"pointer-events":"none"})),self.hasmoving=!1,self.cancelEvent(e)}},self.onmouseup=function(e){if(self.rail.drag)return 1!=self.rail.drag.pt||(cap.hasmousecapture&&_doc.releaseCapture(),self.isiframe&&!cap.hasmousecapture&&self.doc.css("pointer-events",self.saved.csspointerevents),self.rail.drag=!1,self.cursorfreezed=!1,self.hasmoving&&self.triggerScrollEnd(),self.cancelEvent(e))},self.onmousemove=function(e){if(self.rail.drag){if(1!==self.rail.drag.pt)return;if(cap.ischrome&&0===e.which)return self.onmouseup(e);if(self.cursorfreezed=!0,self.hasmoving||self.triggerScrollStart(e.clientX,e.clientY,0,0,0),self.hasmoving=!0,self.rail.drag.hr){self.scroll.x=self.rail.drag.sx+(e.clientX-self.rail.drag.x),self.scroll.x<0&&(self.scroll.x=0);var mw=self.scrollvaluemaxw;self.scroll.x>mw&&(self.scroll.x=mw)}else{self.scroll.y=self.rail.drag.sy+(e.clientY-self.rail.drag.y),self.scroll.y<0&&(self.scroll.y=0);var my=self.scrollvaluemax;self.scroll.y>my&&(self.scroll.y=my)}return self.synched("mousemove",(function(){self.cursorfreezed&&(self.showCursor(),self.rail.drag.hr?self.scrollLeft(Math.round(self.scroll.x*self.scrollratio.x)):self.scrollTop(Math.round(self.scroll.y*self.scrollratio.y)))})),self.cancelEvent(e)}self.checkarea=0},cap.cantouch||opt.emulatetouch)self.onpreventclick=function(e){if(self.preventclick)return self.preventclick.tg.onclick=self.preventclick.click,self.preventclick=!1,self.cancelEvent(e)},self.onclick=!cap.isios&&function(e){return!self.lastmouseup||(self.lastmouseup=!1,self.cancelEvent(e))},opt.grabcursorenabled&&cap.cursorgrabvalue&&(self.css(self.ispage?self.doc:self.win,{cursor:cap.cursorgrabvalue}),self.css(self.rail,{cursor:cap.cursorgrabvalue}));else{var checkSelectionScroll=function(e){if(self.selectiondrag){if(e){var ww=self.win.outerHeight(),df=e.pageY-self.selectiondrag.top;df>0&&df<ww&&(df=0),df>=ww&&(df-=ww),self.selectiondrag.df=df}if(0!==self.selectiondrag.df){var rt=-2*self.selectiondrag.df/6|0;self.doScrollBy(rt),self.debounced("doselectionscroll",(function(){checkSelectionScroll()}),50)}}};self.hasTextSelected="getSelection"in _doc?function(){return _doc.getSelection().rangeCount>0}:"selection"in _doc?function(){return"None"!=_doc.selection.type}:function(){return!1},self.onselectionstart=function(e){self.ispage||(self.selectiondrag=self.win.offset())},self.onselectionend=function(e){self.selectiondrag=!1},self.onselectiondrag=function(e){self.selectiondrag&&self.hasTextSelected()&&self.debounced("selectionscroll",(function(){checkSelectionScroll(e)}),250)}}if(cap.hasw3ctouch?(self.css(self.ispage?$("html"):self.win,{"touch-action":"none"}),self.css(self.rail,{"touch-action":"none"}),self.css(self.cursor,{"touch-action":"none"}),self.bind(self.win,"pointerdown",self.ontouchstart),self.bind(_doc,"pointerup",self.ontouchend),self.delegate(_doc,"pointermove",self.ontouchmove)):cap.hasmstouch?(self.css(self.ispage?$("html"):self.win,{"-ms-touch-action":"none"}),self.css(self.rail,{"-ms-touch-action":"none"}),self.css(self.cursor,{"-ms-touch-action":"none"}),self.bind(self.win,"MSPointerDown",self.ontouchstart),self.bind(_doc,"MSPointerUp",self.ontouchend),self.delegate(_doc,"MSPointerMove",self.ontouchmove),self.bind(self.cursor,"MSGestureHold",(function(e){e.preventDefault()})),self.bind(self.cursor,"contextmenu",(function(e){e.preventDefault()}))):cap.cantouch&&(self.bind(self.win,"touchstart",self.ontouchstart,!1,!0),self.bind(_doc,"touchend",self.ontouchend,!1,!0),self.bind(_doc,"touchcancel",self.ontouchend,!1,!0),self.delegate(_doc,"touchmove",self.ontouchmove,!1,!0)),opt.emulatetouch&&(self.bind(self.win,"mousedown",self.ontouchstart,!1,!0),self.bind(_doc,"mouseup",self.ontouchend,!1,!0),self.bind(_doc,"mousemove",self.ontouchmove,!1,!0)),(opt.cursordragontouch||!cap.cantouch&&!opt.emulatetouch)&&(self.rail.css({cursor:"default"}),self.railh&&self.railh.css({cursor:"default"}),self.jqbind(self.rail,"mouseenter",(function(){if(!self.ispage&&!self.win.is(":visible"))return!1;self.canshowonmouseevent&&self.showCursor(),self.rail.active=!0})),self.jqbind(self.rail,"mouseleave",(function(){self.rail.active=!1,self.rail.drag||self.hideCursor()})),opt.sensitiverail&&(self.bind(self.rail,"click",(function(e){self.doRailClick(e,!1,!1)})),self.bind(self.rail,"dblclick",(function(e){self.doRailClick(e,!0,!1)})),self.bind(self.cursor,"click",(function(e){self.cancelEvent(e)})),self.bind(self.cursor,"dblclick",(function(e){self.cancelEvent(e)}))),self.railh&&(self.jqbind(self.railh,"mouseenter",(function(){if(!self.ispage&&!self.win.is(":visible"))return!1;self.canshowonmouseevent&&self.showCursor(),self.rail.active=!0})),self.jqbind(self.railh,"mouseleave",(function(){self.rail.active=!1,self.rail.drag||self.hideCursor()})),opt.sensitiverail&&(self.bind(self.railh,"click",(function(e){self.doRailClick(e,!1,!0)})),self.bind(self.railh,"dblclick",(function(e){self.doRailClick(e,!0,!0)})),self.bind(self.cursorh,"click",(function(e){self.cancelEvent(e)})),self.bind(self.cursorh,"dblclick",(function(e){self.cancelEvent(e)}))))),opt.cursordragontouch&&(this.istouchcapable||cap.cantouch)&&(self.bind(self.cursor,"touchstart",self.ontouchstartCursor),self.bind(self.cursor,"touchmove",self.ontouchmoveCursor),self.bind(self.cursor,"touchend",self.ontouchendCursor),self.cursorh&&self.bind(self.cursorh,"touchstart",(function(e){self.ontouchstartCursor(e,!0)})),self.cursorh&&self.bind(self.cursorh,"touchmove",self.ontouchmoveCursor),self.cursorh&&self.bind(self.cursorh,"touchend",self.ontouchendCursor)),opt.emulatetouch||cap.isandroid||cap.isios?(self.bind(cap.hasmousecapture?self.win:_doc,"mouseup",self.ontouchend),self.onclick&&self.bind(_doc,"click",self.onclick),opt.cursordragontouch?(self.bind(self.cursor,"mousedown",self.onmousedown),self.bind(self.cursor,"mouseup",self.onmouseup),self.cursorh&&self.bind(self.cursorh,"mousedown",(function(e){self.onmousedown(e,!0)})),self.cursorh&&self.bind(self.cursorh,"mouseup",self.onmouseup)):(self.bind(self.rail,"mousedown",(function(e){e.preventDefault()})),self.railh&&self.bind(self.railh,"mousedown",(function(e){e.preventDefault()})))):(self.bind(cap.hasmousecapture?self.win:_doc,"mouseup",self.onmouseup),self.bind(_doc,"mousemove",self.onmousemove),self.onclick&&self.bind(_doc,"click",self.onclick),self.bind(self.cursor,"mousedown",self.onmousedown),self.bind(self.cursor,"mouseup",self.onmouseup),self.railh&&(self.bind(self.cursorh,"mousedown",(function(e){self.onmousedown(e,!0)})),self.bind(self.cursorh,"mouseup",self.onmouseup)),!self.ispage&&opt.enablescrollonselection&&(self.bind(self.win[0],"mousedown",self.onselectionstart),self.bind(_doc,"mouseup",self.onselectionend),self.bind(self.cursor,"mouseup",self.onselectionend),self.cursorh&&self.bind(self.cursorh,"mouseup",self.onselectionend),self.bind(_doc,"mousemove",self.onselectiondrag)),self.zoom&&(self.jqbind(self.zoom,"mouseenter",(function(){self.canshowonmouseevent&&self.showCursor(),self.rail.active=!0})),self.jqbind(self.zoom,"mouseleave",(function(){self.rail.active=!1,self.rail.drag||self.hideCursor()})))),opt.enablemousewheel&&(self.isiframe||self.mousewheel(cap.isie&&self.ispage?_doc:self.win,self.onmousewheel),self.mousewheel(self.rail,self.onmousewheel),self.railh&&self.mousewheel(self.railh,self.onmousewheelhr)),self.ispage||cap.cantouch||/HTML|^BODY/.test(self.win[0].nodeName)||(self.win.attr("tabindex")||self.win.attr({tabindex:++tabindexcounter}),self.bind(self.win,"focus",(function(e){domfocus=self.getTarget(e).id||self.getTarget(e)||!1,self.hasfocus=!0,self.canshowonmouseevent&&self.noticeCursor()})),self.bind(self.win,"blur",(function(e){domfocus=!1,self.hasfocus=!1})),self.bind(self.win,"mouseenter",(function(e){mousefocus=self.getTarget(e).id||self.getTarget(e)||!1,self.hasmousefocus=!0,self.canshowonmouseevent&&self.noticeCursor()})),self.bind(self.win,"mouseleave",(function(e){mousefocus=!1,self.hasmousefocus=!1,self.rail.drag||self.hideCursor()}))),self.onkeypress=function(e){if(self.railslocked&&0===self.page.maxh)return!0;e=e||_win.event;var tg=self.getTarget(e);if(tg&&/INPUT|TEXTAREA|SELECT|OPTION/.test(tg.nodeName)&&(!tg.getAttribute("type")&&!tg.type||!/submit|button|cancel/i.tp))return!0;if($(tg).attr("contenteditable"))return!0;if(self.hasfocus||self.hasmousefocus&&!domfocus||self.ispage&&!domfocus&&!mousefocus){var key=e.keyCode;if(self.railslocked&&27!=key)return self.cancelEvent(e);var ctrl=e.ctrlKey||!1,shift=e.shiftKey||!1,ret=!1;switch(key){case 38:case 63233:self.doScrollBy(72),ret=!0;break;case 40:case 63235:self.doScrollBy(-72),ret=!0;break;case 37:case 63232:self.railh&&(ctrl?self.doScrollLeft(0):self.doScrollLeftBy(72),ret=!0);break;case 39:case 63234:self.railh&&(ctrl?self.doScrollLeft(self.page.maxw):self.doScrollLeftBy(-72),ret=!0);break;case 33:case 63276:self.doScrollBy(self.view.h),ret=!0;break;case 34:case 63277:self.doScrollBy(-self.view.h),ret=!0;break;case 36:case 63273:self.railh&&ctrl?self.doScrollPos(0,0):self.doScrollTo(0),ret=!0;break;case 35:case 63275:self.railh&&ctrl?self.doScrollPos(self.page.maxw,self.page.maxh):self.doScrollTo(self.page.maxh),ret=!0;break;case 32:opt.spacebarenabled&&(shift?self.doScrollBy(self.view.h):self.doScrollBy(-self.view.h),ret=!0);break;case 27:self.zoomactive&&(self.doZoom(),ret=!0)}if(ret)return self.cancelEvent(e)}},opt.enablekeyboard&&self.bind(_doc,cap.isopera&&!cap.isopera12?"keypress":"keydown",self.onkeypress),self.bind(_doc,"keydown",(function(e){e.ctrlKey&&(self.wheelprevented=!0)})),self.bind(_doc,"keyup",(function(e){e.ctrlKey||(self.wheelprevented=!1)})),self.bind(_win,"blur",(function(e){self.wheelprevented=!1})),self.bind(_win,"resize",self.onscreenresize),self.bind(_win,"orientationchange",self.onscreenresize),self.bind(_win,"load",self.lazyResize),cap.ischrome&&!self.ispage&&!self.haswrapper){var tmp=self.win.attr("style"),ww=parseFloat(self.win.css("width"))+1;self.win.css("width",ww),self.synched("chromefix",(function(){self.win.attr("style",tmp)}))}if(self.onAttributeChange=function(e){self.lazyResize(self.isieold?250:30)},opt.enableobserver&&(self.isie11||!1===ClsMutationObserver||(self.observerbody=new ClsMutationObserver((function(mutations){if(mutations.forEach((function(mut){if("attributes"==mut.type)return $body.hasClass("modal-open")&&$body.hasClass("modal-dialog")&&!$.contains($(".modal-dialog")[0],self.doc[0])?self.hide():self.show()})),self.me.clientWidth!=self.page.width||self.me.clientHeight!=self.page.height)return self.lazyResize(30)})),self.observerbody.observe(_doc.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),!self.ispage&&!self.haswrapper)){var _dom=self.win[0];!1!==ClsMutationObserver?(self.observer=new ClsMutationObserver((function(mutations){mutations.forEach(self.onAttributeChange)})),self.observer.observe(_dom,{childList:!0,characterData:!1,attributes:!0,subtree:!1}),self.observerremover=new ClsMutationObserver((function(mutations){mutations.forEach((function(mo){if(mo.removedNodes.length>0)for(var dd in mo.removedNodes)if(self&&mo.removedNodes[dd]===_dom)return self.remove()}))})),self.observerremover.observe(_dom.parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(self.bind(_dom,cap.isie&&!cap.isie9?"propertychange":"DOMAttrModified",self.onAttributeChange),cap.isie9&&_dom.attachEvent("onpropertychange",self.onAttributeChange),self.bind(_dom,"DOMNodeRemoved",(function(e){e.target===_dom&&self.remove()})))}!self.ispage&&opt.boxzoom&&self.bind(_win,"resize",self.resizeZoom),self.istextarea&&(self.bind(self.win,"keydown",self.lazyResize),self.bind(self.win,"mouseup",self.lazyResize)),self.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var oniframeload=function(){var doc;self.iframexd=!1;try{(doc="contentDocument"in this?this.contentDocument:this.contentWindow._doc).domain}catch(e){self.iframexd=!0,doc=!1}if(self.iframexd)return"console"in _win&&console.log("NiceScroll error: policy restriced iframe"),!0;if(self.forcescreen=!0,self.isiframe&&(self.iframe={doc:$(doc),html:self.doc.contents().find("html")[0],body:self.doc.contents().find("body")[0]},self.getContentSize=function(){return{w:Math.max(self.iframe.html.scrollWidth,self.iframe.body.scrollWidth),h:Math.max(self.iframe.html.scrollHeight,self.iframe.body.scrollHeight)}},self.docscroll=$(self.iframe.body)),!cap.isios&&opt.iframeautoresize&&!self.isiframe){self.win.scrollTop(0),self.doc.height("");var hh=Math.max(doc.getElementsByTagName("html")[0].scrollHeight,doc.body.scrollHeight);self.doc.height(hh)}self.lazyResize(30),self.css($(self.iframe.body),_scrollyhidden),cap.isios&&self.haswrapper&&self.css($(doc.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?self.bind(this.contentWindow,"scroll",self.onscroll):self.bind(doc,"scroll",self.onscroll),opt.enablemousewheel&&self.mousewheel(doc,self.onmousewheel),opt.enablekeyboard&&self.bind(doc,cap.isopera?"keypress":"keydown",self.onkeypress),cap.cantouch?(self.bind(doc,"touchstart",self.ontouchstart),self.bind(doc,"touchmove",self.ontouchmove)):opt.emulatetouch&&(self.bind(doc,"mousedown",self.ontouchstart),self.bind(doc,"mousemove",(function(e){return self.ontouchmove(e,!0)})),opt.grabcursorenabled&&cap.cursorgrabvalue&&self.css($(doc.body),{cursor:cap.cursorgrabvalue})),self.bind(doc,"mouseup",self.ontouchend),self.zoom&&(opt.dblclickzoom&&self.bind(doc,"dblclick",self.doZoom),self.ongesturezoom&&self.bind(doc,"gestureend",self.ongesturezoom))};this.doc[0].readyState&&"complete"===this.doc[0].readyState&&setTimeout((function(){oniframeload.call(self.doc[0],!1)}),500),self.bind(this.doc,"load",oniframeload)}},this.showCursor=function(py,px){if(self.cursortimeout&&(clearTimeout(self.cursortimeout),self.cursortimeout=0),self.rail){if(self.autohidedom&&(self.autohidedom.stop().css({opacity:opt.cursoropacitymax}),self.cursoractive=!0),self.rail.drag&&1==self.rail.drag.pt||(void 0!==py&&!1!==py&&(self.scroll.y=py/self.scrollratio.y|0),void 0!==px&&(self.scroll.x=px/self.scrollratio.x|0)),self.cursor.css({height:self.cursorheight,top:self.scroll.y}),self.cursorh){var lx=self.hasreversehr?self.scrollvaluemaxw-self.scroll.x:self.scroll.x;self.cursorh.css({width:self.cursorwidth,left:!self.rail.align&&self.rail.visibility?lx+self.rail.width:lx}),self.cursoractive=!0}self.zoom&&self.zoom.stop().css({opacity:opt.cursoropacitymax})}},this.hideCursor=function(tm){self.cursortimeout||self.rail&&self.autohidedom&&(self.hasmousefocus&&"leave"===opt.autohidemode||(self.cursortimeout=setTimeout((function(){self.rail.active&&self.showonmouseevent||(self.autohidedom.stop().animate({opacity:opt.cursoropacitymin}),self.zoom&&self.zoom.stop().animate({opacity:opt.cursoropacitymin}),self.cursoractive=!1),self.cursortimeout=0}),tm||opt.hidecursordelay)))},this.noticeCursor=function(tm,py,px){self.showCursor(py,px),self.rail.active||self.hideCursor(tm)},this.getContentSize=self.ispage?function(){return{w:Math.max(_doc.body.scrollWidth,_doc.documentElement.scrollWidth),h:Math.max(_doc.body.scrollHeight,_doc.documentElement.scrollHeight)}}:self.haswrapper?function(){return{w:self.doc[0].offsetWidth,h:self.doc[0].offsetHeight}}:function(){return{w:self.docscroll[0].scrollWidth,h:self.docscroll[0].scrollHeight}},this.onResize=function(e,page){if(!self||!self.win)return!1;var premaxh=self.page.maxh,premaxw=self.page.maxw,previewh=self.view.h,previeww=self.view.w;if(self.view={w:self.ispage?self.win.width():self.win[0].clientWidth,h:self.ispage?self.win.height():self.win[0].clientHeight},self.page=page||self.getContentSize(),self.page.maxh=Math.max(0,self.page.h-self.view.h),self.page.maxw=Math.max(0,self.page.w-self.view.w),self.page.maxh==premaxh&&self.page.maxw==premaxw&&self.view.w==previeww&&self.view.h==previewh){if(self.ispage)return self;var pos=self.win.offset();if(self.lastposition){var lst=self.lastposition;if(lst.top==pos.top&&lst.left==pos.left)return self}self.lastposition=pos}return 0===self.page.maxh?(self.hideRail(),self.scrollvaluemax=0,self.scroll.y=0,self.scrollratio.y=0,self.cursorheight=0,self.setScrollTop(0),self.rail&&(self.rail.scrollable=!1)):(self.page.maxh-=opt.railpadding.top+opt.railpadding.bottom,self.rail.scrollable=!0),0===self.page.maxw?(self.hideRailHr(),self.scrollvaluemaxw=0,self.scroll.x=0,self.scrollratio.x=0,self.cursorwidth=0,self.setScrollLeft(0),self.railh&&(self.railh.scrollable=!1)):(self.page.maxw-=opt.railpadding.left+opt.railpadding.right,self.railh&&(self.railh.scrollable=opt.horizrailenabled)),self.railslocked=self.locked||0===self.page.maxh&&0===self.page.maxw,self.railslocked?(self.ispage||self.updateScrollBar(self.view),!1):(self.hidden||(self.rail.visibility||self.showRail(),self.railh&&!self.railh.visibility&&self.showRailHr()),self.istextarea&&self.win.css("resize")&&"none"!=self.win.css("resize")&&(self.view.h-=20),self.cursorheight=Math.min(self.view.h,Math.round(self.view.h*(self.view.h/self.page.h))),self.cursorheight=opt.cursorfixedheight?opt.cursorfixedheight:Math.max(opt.cursorminheight,self.cursorheight),self.cursorwidth=Math.min(self.view.w,Math.round(self.view.w*(self.view.w/self.page.w))),self.cursorwidth=opt.cursorfixedheight?opt.cursorfixedheight:Math.max(opt.cursorminheight,self.cursorwidth),self.scrollvaluemax=self.view.h-self.cursorheight-(opt.railpadding.top+opt.railpadding.bottom),self.hasborderbox||(self.scrollvaluemax-=self.cursor[0].offsetHeight-self.cursor[0].clientHeight),self.railh&&(self.railh.width=self.page.maxh>0?self.view.w-self.rail.width:self.view.w,self.scrollvaluemaxw=self.railh.width-self.cursorwidth-(opt.railpadding.left+opt.railpadding.right)),self.ispage||self.updateScrollBar(self.view),self.scrollratio={x:self.page.maxw/self.scrollvaluemaxw,y:self.page.maxh/self.scrollvaluemax},self.getScrollTop()>self.page.maxh?self.doScrollTop(self.page.maxh):(self.scroll.y=self.getScrollTop()/self.scrollratio.y|0,self.scroll.x=self.getScrollLeft()/self.scrollratio.x|0,self.cursoractive&&self.noticeCursor()),self.scroll.y&&0===self.getScrollTop()&&self.doScrollTo(self.scroll.y*self.scrollratio.y|0),self)},this.resize=self.onResize;var hlazyresize=0;function _modernWheelEvent(dom,name,fn,bubble){self._bind(dom,name,(function(e){var event={original:e=e||_win.event,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==e.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return e.preventDefault?e.preventDefault():e.returnValue=!1,!1},stopImmediatePropagation:function(){e.stopImmediatePropagation?e.stopImmediatePropagation():e.cancelBubble=!0}};return"mousewheel"==name?(e.wheelDeltaX&&(event.deltaX=-1/40*e.wheelDeltaX),e.wheelDeltaY&&(event.deltaY=-1/40*e.wheelDeltaY),!event.deltaY&&!event.deltaX&&(event.deltaY=-1/40*e.wheelDelta)):event.deltaY=e.detail,fn.call(dom,event)}),bubble)}this.onscreenresize=function(e){clearTimeout(hlazyresize);var hiderails=!self.ispage&&!self.haswrapper;hiderails&&self.hideRails(),hlazyresize=setTimeout((function(){self&&(hiderails&&self.showRails(),self.resize()),hlazyresize=0}),120)},this.lazyResize=function(tm){return clearTimeout(hlazyresize),tm=isNaN(tm)?240:tm,hlazyresize=setTimeout((function(){self&&self.resize(),hlazyresize=0}),tm),self},this.jqbind=function(dom,name,fn){self.events.push({e:dom,n:name,f:fn,q:!0}),$(dom).on(name,fn)},this.mousewheel=function(dom,fn,bubble){var el="jquery"in dom?dom[0]:dom;if("onwheel"in _doc.createElement("div"))self._bind(el,"wheel",fn,bubble||!1);else{var wname=void 0!==_doc.onmousewheel?"mousewheel":"DOMMouseScroll";_modernWheelEvent(el,wname,fn,bubble||!1),"DOMMouseScroll"==wname&&_modernWheelEvent(el,"MozMousePixelScroll",fn,bubble||!1)}};var passiveSupported=!1;if(cap.haseventlistener){try{var options=Object.defineProperty({},"passive",{get:function(){passiveSupported=!0}});_win.addEventListener("test",null,options)}catch(err){}this.stopPropagation=function(e){return!!e&&((e=e.original?e.original:e).stopPropagation(),!1)},this.cancelEvent=function(e){return e.cancelable&&e.preventDefault(),e.stopImmediatePropagation(),e.preventManipulation&&e.preventManipulation(),!1}}else Event.prototype.preventDefault=function(){this.returnValue=!1},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},_win.constructor.prototype.addEventListener=_doc.constructor.prototype.addEventListener=Element.prototype.addEventListener=function(type,listener,useCapture){this.attachEvent("on"+type,listener)},_win.constructor.prototype.removeEventListener=_doc.constructor.prototype.removeEventListener=Element.prototype.removeEventListener=function(type,listener,useCapture){this.detachEvent("on"+type,listener)},this.cancelEvent=function(e){return(e=e||_win.event)&&(e.cancelBubble=!0,e.cancel=!0,e.returnValue=!1),!1},this.stopPropagation=function(e){return(e=e||_win.event)&&(e.cancelBubble=!0),!1};this.delegate=function(dom,name,fn,bubble,active){var de=delegatevents[name]||!1;de?self.events.push({e:dom,n:name,f:fn,b:bubble,q:!1}):(de={a:[],l:[],f:function(e){for(var lst=de.l,r=!1,a=lst.length-1;a>=0;a--)if(!1===(r=lst[a].call(e.target,e)))return!1;return r}},self.bind(dom,name,de.f,bubble,active),delegatevents[name]=de),self.ispage?(de.a=[self.id].concat(de.a),de.l=[fn].concat(de.l)):(de.a.push(self.id),de.l.push(fn))},this.undelegate=function(dom,name,fn,bubble,active){var de=delegatevents[name]||!1;if(de&&de.l)for(var a=0,l=de.l.length;a<l;a++)de.a[a]===self.id&&(de.a.splice(a),de.l.splice(a),0===de.a.length&&(self._unbind(dom,name,de.l.f),delegatevents[name]=null))},this.bind=function(dom,name,fn,bubble,active){var el="jquery"in dom?dom[0]:dom;self._bind(el,name,fn,bubble||!1,active||!1)},this._bind=function(el,name,fn,bubble,active){self.events.push({e:el,n:name,f:fn,b:bubble,q:!1}),passiveSupported&&active?el.addEventListener(name,fn,{passive:!1,capture:bubble}):el.addEventListener(name,fn,bubble||!1)},this._unbind=function(el,name,fn,bub){delegatevents[name]?self.undelegate(el,name,fn,bub):el.removeEventListener(name,fn,bub)},this.unbindAll=function(){for(var a=0;a<self.events.length;a++){var r=self.events[a];r.q?r.e.unbind(r.n,r.f):self._unbind(r.e,r.n,r.f,r.b)}},this.showRails=function(){return self.showRail().showRailHr()},this.showRail=function(){return 0===self.page.maxh||!self.ispage&&"none"==self.win.css("display")||(self.rail.visibility=!0,self.rail.css("display","block")),self},this.showRailHr=function(){return self.railh&&(0===self.page.maxw||!self.ispage&&"none"==self.win.css("display")||(self.railh.visibility=!0,self.railh.css("display","block"))),self},this.hideRails=function(){return self.hideRail().hideRailHr()},this.hideRail=function(){return self.rail.visibility=!1,self.rail.css("display","none"),self},this.hideRailHr=function(){return self.railh&&(self.railh.visibility=!1,self.railh.css("display","none")),self},this.show=function(){return self.hidden=!1,self.railslocked=!1,self.showRails()},this.hide=function(){return self.hidden=!0,self.railslocked=!0,self.hideRails()},this.toggle=function(){return self.hidden?self.show():self.hide()},this.remove=function(){for(var n in self.stop(),self.cursortimeout&&clearTimeout(self.cursortimeout),self.delaylist)self.delaylist[n]&&clearAnimationFrame(self.delaylist[n].h);self.doZoomOut(),self.unbindAll(),cap.isie9&&self.win[0].detachEvent("onpropertychange",self.onAttributeChange),!1!==self.observer&&self.observer.disconnect(),!1!==self.observerremover&&self.observerremover.disconnect(),!1!==self.observerbody&&self.observerbody.disconnect(),self.events=null,self.cursor&&self.cursor.remove(),self.cursorh&&self.cursorh.remove(),self.rail&&self.rail.remove(),self.railh&&self.railh.remove(),self.zoom&&self.zoom.remove();for(var a=0;a<self.saved.css.length;a++){var d=self.saved.css[a];d[0].css(d[1],void 0===d[2]?"":d[2])}self.saved=!1,self.me.data("__nicescroll","");var lst=$.nicescroll;for(var i in lst.each((function(i){if(this&&this.id===self.id){delete lst[i];for(var b=++i;b<lst.length;b++,i++)lst[i]=lst[b];lst.length--,lst.length&&delete lst[lst.length]}})),self)self[i]=null,delete self[i];self=null},this.scrollstart=function(fn){return this.onscrollstart=fn,self},this.scrollend=function(fn){return this.onscrollend=fn,self},this.scrollcancel=function(fn){return this.onscrollcancel=fn,self},this.zoomin=function(fn){return this.onzoomin=fn,self},this.zoomout=function(fn){return this.onzoomout=fn,self},this.isScrollable=function(e){var dom=e.target?e.target:e;if("OPTION"==dom.nodeName)return!0;for(;dom&&1==dom.nodeType&&dom!==this.me[0]&&!/^BODY|HTML/.test(dom.nodeName);){var dd=$(dom),ov=dd.css("overflowY")||dd.css("overflowX")||dd.css("overflow")||"";if(/scroll|auto/.test(ov))return dom.clientHeight!=dom.scrollHeight;dom=!!dom.parentNode&&dom.parentNode}return!1},this.getViewport=function(me){for(var dom=!(!me||!me.parentNode)&&me.parentNode;dom&&1==dom.nodeType&&!/^BODY|HTML/.test(dom.nodeName);){var dd=$(dom);if(/fixed|absolute/.test(dd.css("position")))return dd;var ov=dd.css("overflowY")||dd.css("overflowX")||dd.css("overflow")||"";if(/scroll|auto/.test(ov)&&dom.clientHeight!=dom.scrollHeight)return dd;if(dd.getNiceScroll().length>0)return dd;dom=!!dom.parentNode&&dom.parentNode}return!1},this.triggerScrollStart=function(cx,cy,rx,ry,ms){if(self.onscrollstart){var info={type:"scrollstart",current:{x:cx,y:cy},request:{x:rx,y:ry},end:{x:self.newscrollx,y:self.newscrolly},speed:ms};self.onscrollstart.call(self,info)}},this.triggerScrollEnd=function(){if(self.onscrollend){var px=self.getScrollLeft(),py=self.getScrollTop(),info={type:"scrollend",current:{x:px,y:py},end:{x:px,y:py}};self.onscrollend.call(self,info)}};var scrolldiry=0,scrolldirx=0,scrolltmr=0,scrollspd=1;function doScrollRelative(px,py,chkscroll,iswheel){self.scrollrunning||(self.newscrolly=self.getScrollTop(),self.newscrollx=self.getScrollLeft(),scrolltmr=now());var gap=now()-scrolltmr;if(scrolltmr=now(),gap>350?scrollspd=1:scrollspd+=(2-scrollspd)/10,py=py*scrollspd|0,px=px*scrollspd|0){if(iswheel)if(px<0){if(self.getScrollLeft()>=self.page.maxw)return!0}else if(self.getScrollLeft()<=0)return!0;var dx=px>0?1:-1;scrolldirx!==dx&&(self.scrollmom&&self.scrollmom.stop(),self.newscrollx=self.getScrollLeft(),scrolldirx=dx),self.lastdeltax-=px}if(py){if(function(){var top=self.getScrollTop();if(py<0){if(top>=self.page.maxh)return!0}else if(top<=0)return!0}()){if(opt.nativeparentscrolling&&chkscroll&&!self.ispage&&!self.zoomactive)return!0;var ny=self.view.h>>1;self.newscrolly<-ny?(self.newscrolly=-ny,py=-1):self.newscrolly>self.page.maxh+ny?(self.newscrolly=self.page.maxh+ny,py=1):py=0}var dy=py>0?1:-1;scrolldiry!==dy&&(self.scrollmom&&self.scrollmom.stop(),self.newscrolly=self.getScrollTop(),scrolldiry=dy),self.lastdeltay-=py}(py||px)&&self.synched("relativexy",(function(){var dty=self.lastdeltay+self.newscrolly;self.lastdeltay=0;var dtx=self.lastdeltax+self.newscrollx;self.lastdeltax=0,self.rail.drag||self.doScrollPos(dtx,dty)}))}var hasparentscrollingphase=!1;function execScrollWheel(e,hr,chkscroll){var px,py;return!(chkscroll||!hasparentscrollingphase)||(0===e.deltaMode?(px=-e.deltaX*(opt.mousescrollstep/54)|0,py=-e.deltaY*(opt.mousescrollstep/54)|0):1===e.deltaMode&&(px=-e.deltaX*opt.mousescrollstep*50/80|0,py=-e.deltaY*opt.mousescrollstep*50/80|0),hr&&opt.oneaxismousemode&&0===px&&py&&(px=py,py=0,chkscroll&&(px<0?self.getScrollLeft()>=self.page.maxw:self.getScrollLeft()<=0)&&(py=px,px=0)),self.isrtlmode&&(px=-px),doScrollRelative(px,py,chkscroll,!0)?void(chkscroll&&(hasparentscrollingphase=!0)):(hasparentscrollingphase=!1,e.stopImmediatePropagation(),e.preventDefault()))}if(this.onmousewheel=function(e){if(self.wheelprevented||self.locked)return!1;if(self.railslocked)return self.debounced("checkunlock",self.resize,250),!1;if(self.rail.drag)return self.cancelEvent(e);if("auto"===opt.oneaxismousemode&&0!==e.deltaX&&(opt.oneaxismousemode=!1),opt.oneaxismousemode&&0===e.deltaX&&!self.rail.scrollable)return!self.railh||!self.railh.scrollable||self.onmousewheelhr(e);var nw=now(),chk=!1;if(opt.preservenativescrolling&&self.checkarea+600<nw&&(self.nativescrollingarea=self.isScrollable(e),chk=!0),self.checkarea=nw,self.nativescrollingarea)return!0;var ret=execScrollWheel(e,!1,chk);return ret&&(self.checkarea=0),ret},this.onmousewheelhr=function(e){if(!self.wheelprevented){if(self.railslocked||!self.railh.scrollable)return!0;if(self.rail.drag)return self.cancelEvent(e);var nw=now(),chk=!1;return opt.preservenativescrolling&&self.checkarea+600<nw&&(self.nativescrollingarea=self.isScrollable(e),chk=!0),self.checkarea=nw,!!self.nativescrollingarea||(self.railslocked?self.cancelEvent(e):execScrollWheel(e,!0,chk))}},this.stop=function(){return self.cancelScroll(),self.scrollmon&&self.scrollmon.stop(),self.cursorfreezed=!1,self.scroll.y=Math.round(self.getScrollTop()*(1/self.scrollratio.y)),self.noticeCursor(),self},this.getTransitionSpeed=function(dif){return 80+dif/72*opt.scrollspeed|0},opt.smoothscroll)if(self.ishwscroll&&cap.hastransition&&opt.usetransition&&opt.smoothscroll){var lasttransitionstyle="";this.resetTransition=function(){lasttransitionstyle="",self.doc.css(cap.prefixstyle+"transition-duration","0ms")},this.prepareTransition=function(dif,istime){var ex=istime?dif:self.getTransitionSpeed(dif),trans=ex+"ms";return lasttransitionstyle!==trans&&(lasttransitionstyle=trans,self.doc.css(cap.prefixstyle+"transition-duration",trans)),ex},this.doScrollLeft=function(x,spd){var y=self.scrollrunning?self.newscrolly:self.getScrollTop();self.doScrollPos(x,y,spd)},this.doScrollTop=function(y,spd){var x=self.scrollrunning?self.newscrollx:self.getScrollLeft();self.doScrollPos(x,y,spd)},this.cursorupdate={running:!1,start:function(){var m=this;if(!m.running){m.running=!0;var loop=function(){m.running&&setAnimationFrame(loop),self.showCursor(self.getScrollTop(),self.getScrollLeft()),self.notifyScrollEvent(self.win[0])};setAnimationFrame(loop)}},stop:function(){this.running=!1}},this.doScrollPos=function(x,y,spd){var py=self.getScrollTop(),px=self.getScrollLeft();if(((self.newscrolly-py)*(y-py)<0||(self.newscrollx-px)*(x-px)<0)&&self.cancelScroll(),opt.bouncescroll?(y<0?y=y/2|0:y>self.page.maxh&&(y=self.page.maxh+(y-self.page.maxh)/2|0),x<0?x=x/2|0:x>self.page.maxw&&(x=self.page.maxw+(x-self.page.maxw)/2|0)):(y<0?y=0:y>self.page.maxh&&(y=self.page.maxh),x<0?x=0:x>self.page.maxw&&(x=self.page.maxw)),self.scrollrunning&&x==self.newscrollx&&y==self.newscrolly)return!1;self.newscrolly=y,self.newscrollx=x;var top=self.getScrollTop(),lft=self.getScrollLeft(),dst={};dst.x=x-lft,dst.y=y-top;var dd=0|Math.sqrt(dst.x*dst.x+dst.y*dst.y),ms=self.prepareTransition(dd);self.scrollrunning||(self.scrollrunning=!0,self.triggerScrollStart(lft,top,x,y,ms),self.cursorupdate.start()),self.scrollendtrapped=!0,cap.transitionend||(self.scrollendtrapped&&clearTimeout(self.scrollendtrapped),self.scrollendtrapped=setTimeout(self.onScrollTransitionEnd,ms)),self.setScrollTop(self.newscrolly),self.setScrollLeft(self.newscrollx)},this.cancelScroll=function(){if(!self.scrollendtrapped)return!0;var py=self.getScrollTop(),px=self.getScrollLeft();return self.scrollrunning=!1,cap.transitionend||clearTimeout(cap.transitionend),self.scrollendtrapped=!1,self.resetTransition(),self.setScrollTop(py),self.railh&&self.setScrollLeft(px),self.timerscroll&&self.timerscroll.tm&&clearInterval(self.timerscroll.tm),self.timerscroll=!1,self.cursorfreezed=!1,self.cursorupdate.stop(),self.showCursor(py,px),self},this.onScrollTransitionEnd=function(){if(self.scrollendtrapped){var py=self.getScrollTop(),px=self.getScrollLeft();if(py<0?py=0:py>self.page.maxh&&(py=self.page.maxh),px<0?px=0:px>self.page.maxw&&(px=self.page.maxw),py!=self.newscrolly||px!=self.newscrollx)return self.doScrollPos(px,py,opt.snapbackspeed);self.scrollrunning&&self.triggerScrollEnd(),self.scrollrunning=!1,self.scrollendtrapped=!1,self.resetTransition(),self.timerscroll=!1,self.setScrollTop(py),self.railh&&self.setScrollLeft(px),self.cursorupdate.stop(),self.noticeCursor(!1,py,px),self.cursorfreezed=!1}}}else this.doScrollLeft=function(x,spd){var y=self.scrollrunning?self.newscrolly:self.getScrollTop();self.doScrollPos(x,y,spd)},this.doScrollTop=function(y,spd){var x=self.scrollrunning?self.newscrollx:self.getScrollLeft();self.doScrollPos(x,y,spd)},this.doScrollPos=function(x,y,spd){var py=self.getScrollTop(),px=self.getScrollLeft();((self.newscrolly-py)*(y-py)<0||(self.newscrollx-px)*(x-px)<0)&&self.cancelScroll();var clipped=!1;if(self.bouncescroll&&self.rail.visibility||(y<0?(y=0,clipped=!0):y>self.page.maxh&&(y=self.page.maxh,clipped=!0)),self.bouncescroll&&self.railh.visibility||(x<0?(x=0,clipped=!0):x>self.page.maxw&&(x=self.page.maxw,clipped=!0)),self.scrollrunning&&self.newscrolly===y&&self.newscrollx===x)return!0;self.newscrolly=y,self.newscrollx=x,self.dst={},self.dst.x=x-px,self.dst.y=y-py,self.dst.px=px,self.dst.py=py;var dd=0|Math.sqrt(self.dst.x*self.dst.x+self.dst.y*self.dst.y),ms=self.getTransitionSpeed(dd);self.bzscroll={};var p3=clipped?1:.58;self.bzscroll.x=new BezierClass(px,self.newscrollx,ms,0,0,p3,1),self.bzscroll.y=new BezierClass(py,self.newscrolly,ms,0,0,p3,1),now();var loop=function(){if(self.scrollrunning){var x=self.bzscroll.y.getPos();self.setScrollLeft(self.bzscroll.x.getNow()),self.setScrollTop(self.bzscroll.y.getNow()),x<=1?self.timer=setAnimationFrame(loop):(self.scrollrunning=!1,self.timer=0,self.triggerScrollEnd())}};self.scrollrunning||(self.triggerScrollStart(px,py,x,y,ms),self.scrollrunning=!0,self.timer=setAnimationFrame(loop))},this.cancelScroll=function(){return self.timer&&clearAnimationFrame(self.timer),self.timer=0,self.bzscroll=!1,self.scrollrunning=!1,self};else this.doScrollLeft=function(x,spd){var y=self.getScrollTop();self.doScrollPos(x,y,spd)},this.doScrollTop=function(y,spd){var x=self.getScrollLeft();self.doScrollPos(x,y,spd)},this.doScrollPos=function(x,y,spd){var nx=x>self.page.maxw?self.page.maxw:x;nx<0&&(nx=0);var ny=y>self.page.maxh?self.page.maxh:y;ny<0&&(ny=0),self.synched("scroll",(function(){self.setScrollTop(ny),self.setScrollLeft(nx)}))},this.cancelScroll=function(){};this.doScrollBy=function(stp,relative){doScrollRelative(0,stp)},this.doScrollLeftBy=function(stp,relative){doScrollRelative(stp,0)},this.doScrollTo=function(pos,relative){var ny=relative?Math.round(pos*self.scrollratio.y):pos;ny<0?ny=0:ny>self.page.maxh&&(ny=self.page.maxh),self.cursorfreezed=!1,self.doScrollTop(pos)},this.checkContentSize=function(){var pg=self.getContentSize();pg.h==self.page.h&&pg.w==self.page.w||self.resize(!1,pg)},self.onscroll=function(e){self.rail.drag||self.cursorfreezed||self.synched("scroll",(function(){self.scroll.y=Math.round(self.getScrollTop()/self.scrollratio.y),self.railh&&(self.scroll.x=Math.round(self.getScrollLeft()/self.scrollratio.x)),self.noticeCursor()}))},self.bind(self.docscroll,"scroll",self.onscroll),this.doZoomIn=function(e){if(!self.zoomactive){self.zoomactive=!0,self.zoomrestore={style:{}};var lst=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],win=self.win[0].style;for(var a in lst){var pp=lst[a];self.zoomrestore.style[pp]=void 0!==win[pp]?win[pp]:""}self.zoomrestore.style.width=self.win.css("width"),self.zoomrestore.style.height=self.win.css("height"),self.zoomrestore.padding={w:self.win.outerWidth()-self.win.width(),h:self.win.outerHeight()-self.win.height()},cap.isios4&&(self.zoomrestore.scrollTop=$window.scrollTop(),$window.scrollTop(0)),self.win.css({position:cap.isios4?"absolute":"fixed",top:0,left:0,zIndex:globalmaxzindex+100,margin:0});var bkg=self.win.css("backgroundColor");return(""===bkg||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(bkg))&&self.win.css("backgroundColor","#fff"),self.rail.css({zIndex:globalmaxzindex+101}),self.zoom.css({zIndex:globalmaxzindex+102}),self.zoom.css("backgroundPosition","0 -18px"),self.resizeZoom(),self.onzoomin&&self.onzoomin.call(self),self.cancelEvent(e)}},this.doZoomOut=function(e){if(self.zoomactive)return self.zoomactive=!1,self.win.css("margin",""),self.win.css(self.zoomrestore.style),cap.isios4&&$window.scrollTop(self.zoomrestore.scrollTop),self.rail.css({"z-index":self.zindex}),self.zoom.css({"z-index":self.zindex}),self.zoomrestore=!1,self.zoom.css("backgroundPosition","0 0"),self.onResize(),self.onzoomout&&self.onzoomout.call(self),self.cancelEvent(e)},this.doZoom=function(e){return self.zoomactive?self.doZoomOut(e):self.doZoomIn(e)},this.resizeZoom=function(){if(self.zoomactive){var py=self.getScrollTop();self.win.css({width:$window.width()-self.zoomrestore.padding.w+"px",height:$window.height()-self.zoomrestore.padding.h+"px"}),self.onResize(),self.setScrollTop(Math.min(self.page.maxh,py))}},this.init(),$.nicescroll.push(this)},ScrollMomentumClass2D=function(nc){var self=this;this.nc=nc,this.lastx=0,this.lasty=0,this.speedx=0,this.speedy=0,this.lasttime=0,this.steptime=0,this.snapx=!1,this.snapy=!1,this.demulx=0,this.demuly=0,this.lastscrollx=-1,this.lastscrolly=-1,this.chkx=0,this.chky=0,this.timer=0,this.reset=function(px,py){self.stop(),self.steptime=0,self.lasttime=now(),self.speedx=0,self.speedy=0,self.lastx=px,self.lasty=py,self.lastscrollx=-1,self.lastscrolly=-1},this.update=function(px,py){var tm=now();self.steptime=tm-self.lasttime,self.lasttime=tm;var dy=py-self.lasty,dx=px-self.lastx,newy=self.nc.getScrollTop()+dy,newx=self.nc.getScrollLeft()+dx;self.snapx=newx<0||newx>self.nc.page.maxw,self.snapy=newy<0||newy>self.nc.page.maxh,self.speedx=dx,self.speedy=dy,self.lastx=px,self.lasty=py},this.stop=function(){self.nc.unsynched("domomentum2d"),self.timer&&clearTimeout(self.timer),self.timer=0,self.lastscrollx=-1,self.lastscrolly=-1},this.doSnapy=function(nx,ny){var snap=!1;ny<0?(ny=0,snap=!0):ny>self.nc.page.maxh&&(ny=self.nc.page.maxh,snap=!0),nx<0?(nx=0,snap=!0):nx>self.nc.page.maxw&&(nx=self.nc.page.maxw,snap=!0),snap?self.nc.doScrollPos(nx,ny,self.nc.opt.snapbackspeed):self.nc.triggerScrollEnd()},this.doMomentum=function(gp){var t=now(),l=gp?t+gp:self.lasttime,sl=self.nc.getScrollLeft(),st=self.nc.getScrollTop(),pageh=self.nc.page.maxh,pagew=self.nc.page.maxw;self.speedx=pagew>0?Math.min(60,self.speedx):0,self.speedy=pageh>0?Math.min(60,self.speedy):0;var chk=l&&t-l<=60;(st<0||st>pageh||sl<0||sl>pagew)&&(chk=!1);var sy=!(!self.speedy||!chk)&&self.speedy,sx=!(!self.speedx||!chk)&&self.speedx;if(sy||sx){var tm=Math.max(16,self.steptime);if(tm>50){var xm=tm/50;self.speedx*=xm,self.speedy*=xm,tm=50}self.demulxy=0,self.lastscrollx=self.nc.getScrollLeft(),self.chkx=self.lastscrollx,self.lastscrolly=self.nc.getScrollTop(),self.chky=self.lastscrolly;var nx=self.lastscrollx,ny=self.lastscrolly,onscroll=function(){var df=now()-t>600?.04:.02;self.speedx&&(nx=Math.floor(self.lastscrollx-self.speedx*(1-self.demulxy)),self.lastscrollx=nx,(nx<0||nx>pagew)&&(df=.1)),self.speedy&&(ny=Math.floor(self.lastscrolly-self.speedy*(1-self.demulxy)),self.lastscrolly=ny,(ny<0||ny>pageh)&&(df=.1)),self.demulxy=Math.min(1,self.demulxy+df),self.nc.synched("domomentum2d",(function(){self.speedx&&(self.nc.getScrollLeft(),self.chkx=nx,self.nc.setScrollLeft(nx)),self.speedy&&(self.nc.getScrollTop(),self.chky=ny,self.nc.setScrollTop(ny)),self.timer||(self.nc.hideCursor(),self.doSnapy(nx,ny))})),self.demulxy<1?self.timer=setTimeout(onscroll,tm):(self.stop(),self.nc.hideCursor(),self.doSnapy(nx,ny))};onscroll()}else self.doSnapy(self.nc.getScrollLeft(),self.nc.getScrollTop())}},_scrollTop=jQuery.fn.scrollTop;jQuery.cssHooks.pageYOffset={get:function(elem,computed,extra){var nice=$.data(elem,"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.getScrollTop():_scrollTop.call(elem)},set:function(elem,value){var nice=$.data(elem,"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.setScrollTop(parseInt(value)):_scrollTop.call(elem,value),this}},jQuery.fn.scrollTop=function(value){if(void 0===value){var nice=this[0]&&$.data(this[0],"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.getScrollTop():_scrollTop.call(this)}return this.each((function(){var nice=$.data(this,"__nicescroll")||!1;nice&&nice.ishwscroll?nice.setScrollTop(parseInt(value)):_scrollTop.call($(this),value)}))};var _scrollLeft=jQuery.fn.scrollLeft;$.cssHooks.pageXOffset={get:function(elem,computed,extra){var nice=$.data(elem,"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.getScrollLeft():_scrollLeft.call(elem)},set:function(elem,value){var nice=$.data(elem,"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.setScrollLeft(parseInt(value)):_scrollLeft.call(elem,value),this}},jQuery.fn.scrollLeft=function(value){if(void 0===value){var nice=this[0]&&$.data(this[0],"__nicescroll")||!1;return nice&&nice.ishwscroll?nice.getScrollLeft():_scrollLeft.call(this)}return this.each((function(){var nice=$.data(this,"__nicescroll")||!1;nice&&nice.ishwscroll?nice.setScrollLeft(parseInt(value)):_scrollLeft.call($(this),value)}))};var NiceScrollArray=function(doms){var self=this;if(this.length=0,this.name="nicescrollarray",this.each=function(fn){return $.each(self,fn),self},this.push=function(nice){self[self.length]=nice,self.length++},this.eq=function(idx){return self[idx]},doms)for(var a=0;a<doms.length;a++){var nice=$.data(doms[a],"__nicescroll")||!1;nice&&(this[this.length]=nice,this.length++)}return this};function mplex(el,lst,fn){for(var a=0,l=lst.length;a<l;a++)fn(el,lst[a])}mplex(NiceScrollArray.prototype,["show","hide","toggle","onResize","resize","remove","stop","doScrollPos"],(function(e,n){e[n]=function(){var args=arguments;return this.each((function(){this[n].apply(this,args)}))}})),jQuery.fn.getNiceScroll=function(index){return void 0===index?new NiceScrollArray(this):this[index]&&$.data(this[index],"__nicescroll")||!1},(jQuery.expr.pseudos||jQuery.expr[":"]).nicescroll=function(a){return void 0!==$.data(a,"__nicescroll")},$.fn.niceScroll=function(wrapper,_opt){void 0!==_opt||"object"!=typeof wrapper||"jquery"in wrapper||(_opt=wrapper,wrapper=!1);var ret=new NiceScrollArray;return this.each((function(){var $this=$(this),opt=$.extend({},_opt);if(wrapper){var wrp=$(wrapper);opt.doc=wrp.length>1?$(wrapper,$this):wrp,opt.win=$this}!("doc"in opt)||"win"in opt||(opt.win=$this);var nice=$this.data("__nicescroll")||!1;nice||(opt.doc=opt.doc||$this,nice=new NiceScrollClass(opt,$this),$this.data("__nicescroll",nice)),ret.push(nice)})),1===ret.length?ret[0]:ret},_win.NiceScroll={getjQuery:function(){return jQuery}},$.nicescroll||($.nicescroll=new NiceScrollArray,$.nicescroll.options=_globaloptions)})?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},g3g5:function(module,exports){var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},g6HL:function(module,exports){module.exports=Object.is||function is(x,y){return x===y?0!==x||1/x==1/y:x!=x&&y!=y}},gBP8:function(module,exports,__webpack_require__){"use strict";module.exports=function GZheader(){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}},gHnn:function(module,exports,__webpack_require__){var global=__webpack_require__("dyZX"),macrotask=__webpack_require__("GZEu").set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__webpack_require__("LZWt")(process);module.exports=function(){var head,last,notify,flush=function(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function(){promise.then(flush)}}else notify=function(){macrotask.call(global,flush)};else{var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},gOBp:function(module,__webpack_exports__,__webpack_require__){"use strict";var eventName="open-subscription-wizard";__webpack_exports__.a={dispatch:function dispatch(data){var event=new CustomEvent(eventName,data);globalThis.dispatchEvent(event)},listen:function listen(callback,options){globalThis.addEventListener(eventName,callback,options)},clean:function clean(callback){globalThis.removeEventListener(eventName,callback)},eventName:eventName,openSubscriptionWizard:"open-subscription-wizard"}},gQMU:function(module,exports,__webpack_require__){var upperFirst=__webpack_require__("0ZTe")("toUpperCase");module.exports=upperFirst},gZXI:function(module,__webpack_exports__,__webpack_require__){},"h/M4":function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},hEkN:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("anchor",(function(createHTML){return function anchor(name){return createHTML(this,"a","name",name)}}))},hHhE:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Object",{create:__webpack_require__("Kuth")})},hPIQ:function(module,exports){module.exports={}},hhXQ:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),$values=__webpack_require__("UExd")(!1);$export($export.S,"Object",{values:function values(it){return $values(it)}})},hswa:function(module,exports,__webpack_require__){var anObject=__webpack_require__("y3w9"),IE8_DOM_DEFINE=__webpack_require__("xpql"),toPrimitive=__webpack_require__("apmT"),dP=Object.defineProperty;exports.f=__webpack_require__("nh4g")?Object.defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},hwdV:function(module,exports,__webpack_require__){var buffer=__webpack_require__("tjlA"),Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src)dst[key]=src[key]}function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?module.exports=buffer:(copyProps(buffer,exports),exports.Buffer=SafeBuffer),copyProps(Buffer,SafeBuffer),SafeBuffer.from=function(arg,encodingOrOffset,length){if("number"==typeof arg)throw new TypeError("Argument must not be a number");return Buffer(arg,encodingOrOffset,length)},SafeBuffer.alloc=function(size,fill,encoding){if("number"!=typeof size)throw new TypeError("Argument must be a number");var buf=Buffer(size);return void 0!==fill?"string"==typeof encoding?buf.fill(fill,encoding):buf.fill(fill):buf.fill(0),buf},SafeBuffer.allocUnsafe=function(size){if("number"!=typeof size)throw new TypeError("Argument must be a number");return Buffer(size)},SafeBuffer.allocUnsafeSlow=function(size){if("number"!=typeof size)throw new TypeError("Argument must be a number");return buffer.SlowBuffer(size)}},i4eU:function(module,exports){var deployJava=function(){var l={core:["id","class","title","style"],i18n:["lang","dir"],events:["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmousemove","onmouseout","onkeypress","onkeydown","onkeyup"],applet:["codebase","code","name","archive","object","width","height","alt","align","hspace","vspace"],object:["classid","codebase","codetype","data","type","archive","declare","standby","height","width","usemap","name","tabindex","align","border","hspace","vspace"]},m=(l.object.concat(l.core,l.i18n,l.events),l.applet.concat(l.core));function g(o){d.debug&&(console.log?console.log(o):alert(o))}function n(p){var o="http://java.com/dt-redirect";return null==p||0==p.length?o:("&"==p.charAt(0)&&(p=p.substring(1,p.length)),o+"?"+p)}function j(q,p){for(var o=q.length,r=0;r<o;r++)if(q[r]===p)return!0;return!1}function c(o){return j(m,o.toLowerCase())}var d={debug:null,version:"20120801",firefoxJavaVersion:null,myInterval:null,preInstallJREList:null,returnPage:null,brand:null,locale:null,installType:null,EAInstallEnabled:!1,EarlyAccessURL:null,oldMimeType:"application/npruntime-scriptable-plugin;DeploymentToolkit",mimeType:"application/java-deployment-toolkit",launchButtonPNG:function e(){var o="//java.com/js/webstart.png";try{return-1!=document.location.protocol.indexOf("http")?o:"http:"+o}catch(p){return"http:"+o}}(),browserName:null,browserName2:null,getJREs:function(){var t=new Array;if(this.isPluginInstalled())for(var o=this.getPlugin().jvms,q=0;q<o.getLength();q++)t[q]=o.get(q).version;else{var p=this.getBrowser();"MSIE"==p?this.testUsingActiveX("1.7.0")?t[0]="1.7.0":this.testUsingActiveX("1.6.0")?t[0]="1.6.0":this.testUsingActiveX("1.5.0")?t[0]="1.5.0":this.testUsingActiveX("1.4.2")?t[0]="1.4.2":this.testForMSVM()&&(t[0]="1.1"):"Netscape Family"==p&&(this.getJPIVersionUsingMimeType(),null!=this.firefoxJavaVersion?t[0]=this.firefoxJavaVersion:this.testUsingMimeTypes("1.7")?t[0]="1.7.0":this.testUsingMimeTypes("1.6")?t[0]="1.6.0":this.testUsingMimeTypes("1.5")?t[0]="1.5.0":this.testUsingMimeTypes("1.4.2")?t[0]="1.4.2":"Safari"==this.browserName2&&(this.testUsingPluginsArray("1.7.0")?t[0]="1.7.0":this.testUsingPluginsArray("1.6")?t[0]="1.6.0":this.testUsingPluginsArray("1.5")?t[0]="1.5.0":this.testUsingPluginsArray("1.4.2")&&(t[0]="1.4.2")))}if(this.debug)for(q=0;q<t.length;++q)g("[getJREs()] We claim to have detected Java SE "+t[q]);return t},installJRE:function(r,p){if(this.isPluginInstalled()&&this.isAutoInstallEnabled(r)){var q=!1;return(q=this.isCallbackSupported()?this.getPlugin().installJRE(r,p):this.getPlugin().installJRE(r))&&(this.refresh(),null!=this.returnPage&&(document.location=this.returnPage)),q}return this.installLatestJRE()},isAutoInstallEnabled:function(o){return!!this.isPluginInstalled()&&(void 0===o&&(o=null),function a(o){return"MSIE"!=deployJava.browserName||!!deployJava.compareVersionToPattern(deployJava.getPlugin().version,["10","0","0"],!1,!0)||null!=o&&!function k(p,o){if(null==p||0==p.length)return!0;var r=p.charAt(p.length-1);if("+"!=r&&"*"!=r&&-1!=p.indexOf("_")&&"_"!=r&&(p+="*",r="*"),(p=p.substring(0,p.length-1)).length>0){var q=p.charAt(p.length-1);"."!=q&&"_"!=q||(p=p.substring(0,p.length-1))}return"*"==r?0==o.indexOf(p):"+"==r&&p<=o}("1.6.0_33+",o)}(o))},isCallbackSupported:function(){return this.isPluginInstalled()&&this.compareVersionToPattern(this.getPlugin().version,["10","2","0"],!1,!0)},installLatestJRE:function(q){if(this.isPluginInstalled()&&this.isAutoInstallEnabled()){var r=!1;return(r=this.isCallbackSupported()?this.getPlugin().installLatestJRE(q):this.getPlugin().installLatestJRE())&&(this.refresh(),null!=this.returnPage&&(document.location=this.returnPage)),r}var p=this.getBrowser(),o=navigator.platform.toLowerCase();return"true"==this.EAInstallEnabled&&-1!=o.indexOf("win")&&null!=this.EarlyAccessURL?(this.preInstallJREList=this.getJREs(),null!=this.returnPage&&(this.myInterval=setInterval("deployJava.poll()",3e3)),location.href=this.EarlyAccessURL,!1):"MSIE"==p?this.IEInstall():"Netscape Family"==p&&-1!=o.indexOf("win32")?this.FFInstall():(location.href=n((null!=this.returnPage?"&returnPage="+this.returnPage:"")+(null!=this.locale?"&locale="+this.locale:"")+(null!=this.brand?"&brand="+this.brand:"")),!1)},runApplet:function(p,u,r){"undefined"!=r&&null!=r||(r="1.1");var o=r.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$");(null==this.returnPage&&(this.returnPage=document.location),null!=o)?"?"!=this.getBrowser()?this.versionCheck(r+"+")?this.writeAppletTag(p,u):this.installJRE(r+"+")&&(this.refresh(),location.href=document.location,this.writeAppletTag(p,u)):this.writeAppletTag(p,u):g("[runApplet()] Invalid minimumVersion argument to runApplet():"+r)},writeAppletTag:function(r,w){var o="<applet ",q="",x=!0;for(var p in null!=w&&"object"==typeof w||(w=new Object),r)c(p)?(o+=" "+p+'="'+r[p]+'"',"code"==p&&(x=!1)):w[p]=r[p];var v=!1;for(var u in w)"codebase_lookup"==u&&(v=!0),"object"!=u&&"java_object"!=u&&"java_code"!=u||(x=!1),q+='<param name="'+u+'" value="'+w[u]+'"/>';v||(q+='<param name="codebase_lookup" value="false"/>'),x&&(o+=' code="dummy"'),o+=">",document.write(o+"\n"+q+"\n</applet>")},versionCheck:function(p){var v=0,y=p.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?(\\*|\\+)?$");if(null!=y){for(var r=!1,u=!1,q=new Array,t=1;t<y.length;++t)"string"==typeof y[t]&&""!=y[t]&&(q[v]=y[t],v++);"+"==q[q.length-1]?(u=!0,r=!1,q.length--):"*"==q[q.length-1]?(u=!1,r=!0,q.length--):q.length<4&&(u=!1,r=!0);var w=this.getJREs();for(t=0;t<w.length;++t)if(this.compareVersionToPattern(w[t],q,r,u))return!0;return!1}var o="Invalid versionPattern passed to versionCheck: "+p;return g("[versionCheck()] "+o),alert(o),!1},isWebStartInstalled:function(r){if("?"==this.getBrowser())return!0;"undefined"!=r&&null!=r||(r="1.4.2");var p=!1;return null!=r.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$")?p=this.versionCheck(r+"+"):(g("[isWebStartInstaller()] Invalid minimumVersion argument to isWebStartInstalled(): "+r),p=this.versionCheck("1.4.2+")),p},getJPIVersionUsingMimeType:function(){for(var p=0;p<navigator.mimeTypes.length;++p){var o=navigator.mimeTypes[p].type.match(/^application\/x-java-applet;jpi-version=(.*)$/);if(null!=o&&(this.firefoxJavaVersion=o[1],"Opera"!=this.browserName2))break}},launchWebStartApplication:function(r){navigator.userAgent.toLowerCase();if(this.getJPIVersionUsingMimeType(),0==this.isWebStartInstalled("1.7.0")&&(0==this.installJRE("1.7.0+")||0==this.isWebStartInstalled("1.7.0")))return!1;var u=null;document.documentURI&&(u=document.documentURI),null==u&&(u=document.URL);var q,p=this.getBrowser();if("MSIE"==p?q='<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="0" height="0"><PARAM name="launchjnlp" value="'+r+'"><PARAM name="docbase" value="'+u+'"></object>':"Netscape Family"==p&&(q='<embed type="application/x-java-applet;jpi-version='+this.firefoxJavaVersion+'" width="0" height="0" launchjnlp="'+r+'"docbase="'+u+'" />'),"undefined"==document.body||null==document.body)document.write(q),document.location=u;else{var t=document.createElement("div");t.id="div1",t.style.position="relative",t.style.left="-10000px",t.style.margin="0px auto",t.className="dynamicDiv",t.innerHTML=q,document.body.appendChild(t)}},createWebStartLaunchButtonEx:function(q,p){null==this.returnPage&&(this.returnPage=q);var o="javascript:deployJava.launchWebStartApplication('"+q+"');";document.write('<a href="'+o+'" onMouseOver="window.status=\'\'; return true;"><img src="'+this.launchButtonPNG+'" border="0" /></a>')},createWebStartLaunchButton:function(q,p){null==this.returnPage&&(this.returnPage=q);var o="javascript:if (!deployJava.isWebStartInstalled(&quot;"+p+"&quot;)) {if (deployJava.installLatestJRE()) {if (deployJava.launch(&quot;"+q+"&quot;)) {}}} else {if (deployJava.launch(&quot;"+q+"&quot;)) {}}";document.write('<a href="'+o+'" onMouseOver="window.status=\'\'; return true;"><img src="'+this.launchButtonPNG+'" border="0" /></a>')},launch:function(o){return document.location=o,!0},isPluginInstalled:function(){var o=this.getPlugin();return!(!o||!o.jvms)},isAutoUpdateEnabled:function(){return!!this.isPluginInstalled()&&this.getPlugin().isAutoUpdateEnabled()},setAutoUpdateEnabled:function(){return!!this.isPluginInstalled()&&this.getPlugin().setAutoUpdateEnabled()},setInstallerType:function(o){return this.installType=o,!!this.isPluginInstalled()&&this.getPlugin().setInstallerType(o)},setAdditionalPackages:function(o){return!!this.isPluginInstalled()&&this.getPlugin().setAdditionalPackages(o)},setEarlyAccess:function(o){this.EAInstallEnabled=o},isPlugin2:function(){if(this.isPluginInstalled()&&this.versionCheck("1.6.0_10+"))try{return this.getPlugin().isPlugin2()}catch(o){}return!1},allowPlugin:function(){return this.getBrowser(),"Safari"!=this.browserName2&&"Opera"!=this.browserName2},getPlugin:function(){this.refresh();var o=null;return this.allowPlugin()&&(o=document.getElementById("deployJavaPlugin")),o},compareVersionToPattern:function(v,p,r,t){if(null==v||null==p)return!1;var x=v.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$");if(null!=x){for(var u=0,y=new Array,q=1;q<x.length;++q)"string"==typeof x[q]&&""!=x[q]&&(y[u]=x[q],u++);var o=Math.min(y.length,p.length);if(t){for(q=0;q<o;++q){if(y[q]<p[q])return!1;if(y[q]>p[q])return!0}return!0}for(q=0;q<o;++q)if(y[q]!=p[q])return!1;return!!r||y.length==p.length}return!1},getBrowser:function(){if(null==this.browserName){var o=navigator.userAgent.toLowerCase();g("[getBrowser()] navigator.userAgent.toLowerCase() -> "+o),-1!=o.indexOf("msie")&&-1==o.indexOf("opera")?(this.browserName="MSIE",this.browserName2="MSIE"):-1!=o.indexOf("iphone")?(this.browserName="Netscape Family",this.browserName2="iPhone"):-1!=o.indexOf("firefox")&&-1==o.indexOf("opera")?(this.browserName="Netscape Family",this.browserName2="Firefox"):-1!=o.indexOf("chrome")?(this.browserName="Netscape Family",this.browserName2="Chrome"):-1!=o.indexOf("safari")?(this.browserName="Netscape Family",this.browserName2="Safari"):-1!=o.indexOf("mozilla")&&-1==o.indexOf("opera")?(this.browserName="Netscape Family",this.browserName2="Other"):-1!=o.indexOf("opera")?(this.browserName="Netscape Family",this.browserName2="Opera"):(this.browserName="?",this.browserName2="unknown"),g("[getBrowser()] Detected browser name:"+this.browserName+", "+this.browserName2)}return this.browserName},testUsingActiveX:function(o){var q="JavaWebStart.isInstalled."+o+".0";if("undefined"==typeof ActiveXObject||!ActiveXObject)return g("[testUsingActiveX()] Browser claims to be IE, but no ActiveXObject object?"),!1;try{return null!=new ActiveXObject(q)}catch(p){return!1}},testForMSVM:function(){if("undefined"!=typeof oClientCaps){var o=oClientCaps.getComponentVersion("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","ComponentID");return""!=o&&"5,0,5000,0"!=o}return!1},testUsingMimeTypes:function(p){if(!navigator.mimeTypes)return g("[testUsingMimeTypes()] Browser claims to be Netscape family, but no mimeTypes[] array?"),!1;for(var q=0;q<navigator.mimeTypes.length;++q){s=navigator.mimeTypes[q].type;var o=s.match(/^application\/x-java-applet\x3Bversion=(1\.8|1\.7|1\.6|1\.5|1\.4\.2)$/);if(null!=o&&this.compareVersions(o[1],p))return!0}return!1},testUsingPluginsArray:function(p){if(!navigator.plugins||!navigator.plugins.length)return!1;for(var o=navigator.platform.toLowerCase(),q=0;q<navigator.plugins.length;++q)if(s=navigator.plugins[q].description,-1!=s.search(/^Java Switchable Plug-in (Cocoa)/)){if(this.compareVersions("1.5.0",p))return!0}else if(-1!=s.search(/^Java/)&&-1!=o.indexOf("win")&&(this.compareVersions("1.5.0",p)||this.compareVersions("1.6.0",p)))return!0;return!!this.compareVersions("1.5.0",p)},IEInstall:function(){return location.href=n((null!=this.returnPage?"&returnPage="+this.returnPage:"")+(null!=this.locale?"&locale="+this.locale:"")+(null!=this.brand?"&brand="+this.brand:"")),!1},done:function(p,o){},FFInstall:function(){return location.href=n((null!=this.returnPage?"&returnPage="+this.returnPage:"")+(null!=this.locale?"&locale="+this.locale:"")+(null!=this.brand?"&brand="+this.brand:"")+(null!=this.installType?"&type="+this.installType:"")),!1},compareVersions:function(r,t){for(var p=r.split("."),o=t.split("."),q=0;q<p.length;++q)p[q]=Number(p[q]);for(q=0;q<o.length;++q)o[q]=Number(o[q]);return 2==p.length&&(p[2]=0),p[0]>o[0]||!(p[0]<o[0])&&(p[1]>o[1]||!(p[1]<o[1])&&(p[2]>o[2]||!(p[2]<o[2])))},enableAlerts:function(){this.browserName=null,this.debug=!0},poll:function(){this.refresh();var o=this.getJREs();0==this.preInstallJREList.length&&0!=o.length&&(clearInterval(this.myInterval),null!=this.returnPage&&(location.href=this.returnPage)),0!=this.preInstallJREList.length&&0!=o.length&&this.preInstallJREList[0]!=o[0]&&(clearInterval(this.myInterval),null!=this.returnPage&&(location.href=this.returnPage))},writePluginTag:function(){var o=this.getBrowser();"MSIE"==o?document.write('<object classid="clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA" id="deployJavaPlugin" width="0" height="0"></object>'):"Netscape Family"==o&&this.allowPlugin()&&this.writeEmbedTag()},refresh:function(){(navigator.plugins.refresh(!1),"Netscape Family"==this.getBrowser()&&this.allowPlugin())&&(null==document.getElementById("deployJavaPlugin")&&this.writeEmbedTag())},writeEmbedTag:function(){var o=!1;if(null!=navigator.mimeTypes){for(var p=0;p<navigator.mimeTypes.length;p++)navigator.mimeTypes[p].type==this.mimeType&&navigator.mimeTypes[p].enabledPlugin&&(document.write('<embed id="deployJavaPlugin" type="'+this.mimeType+'" hidden="true" />'),o=!0);if(!o)for(p=0;p<navigator.mimeTypes.length;p++)navigator.mimeTypes[p].type==this.oldMimeType&&navigator.mimeTypes[p].enabledPlugin&&document.write('<embed id="deployJavaPlugin" type="'+this.oldMimeType+'" hidden="true" />')}}};if(d.writePluginTag(),null==d.locale){var h=null;if(null==h)try{h=navigator.userLanguage}catch(f){}if(null==h)try{h=navigator.systemLanguage}catch(f){}if(null==h)try{h=navigator.language}catch(f){}null!=h&&(h.replace("-","_"),d.locale=h)}return d}()},i5dc:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),anObject=__webpack_require__("y3w9"),check=function(O,proto){if(anObject(O),!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{(set=__webpack_require__("m0Pp")(Function.call,__webpack_require__("EemH").f(Object.prototype,"__proto__").set,2))(test,[]),buggy=!(test instanceof Array)}catch(e){buggy=!0}return function setPrototypeOf(O,proto){return check(O,proto),buggy?O.__proto__=proto:set(O,proto),O}}({},!1):void 0),check:check}},i8i4:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("Ybsr")},iJR5:function(module,exports,__webpack_require__){var dP=__webpack_require__("hswa"),gOPD=__webpack_require__("EemH"),ownKeys=__webpack_require__("mQtv"),toIObject=__webpack_require__("aCFj");module.exports=function define(target,mixin){for(var key,keys=ownKeys(toIObject(mixin)),length=keys.length,i=0;length>i;)dP.f(target,key=keys[i++],gOPD.f(mixin,key));return target}},iKoK:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="remove-basket-item"},iTZm:function(module,exports,__webpack_require__){"use strict";module.exports=function ZStream(){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}},ioFf:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("dyZX"),has=__webpack_require__("aagx"),DESCRIPTORS=__webpack_require__("nh4g"),$export=__webpack_require__("XKFU"),redefine=__webpack_require__("KroJ"),META=__webpack_require__("Z6vF").KEY,$fails=__webpack_require__("eeVq"),shared=__webpack_require__("VTer"),setToStringTag=__webpack_require__("fyDq"),uid=__webpack_require__("ylqs"),wks=__webpack_require__("K0xU"),wksExt=__webpack_require__("N8g3"),wksDefine=__webpack_require__("OnI7"),enumKeys=__webpack_require__("1MBn"),isArray=__webpack_require__("EWmC"),anObject=__webpack_require__("y3w9"),isObject=__webpack_require__("0/R4"),toIObject=__webpack_require__("aCFj"),toPrimitive=__webpack_require__("apmT"),createDesc=__webpack_require__("RjD/"),_create=__webpack_require__("Kuth"),gOPNExt=__webpack_require__("e7yV"),$GOPD=__webpack_require__("EemH"),$DP=__webpack_require__("hswa"),$keys=__webpack_require__("DVgA"),gOPD=$GOPD.f,dP=$DP.f,gOPN=gOPNExt.f,$Symbol=global.Symbol,$JSON=global.JSON,_stringify=$JSON&&$JSON.stringify,HIDDEN=wks("_hidden"),TO_PRIMITIVE=wks("toPrimitive"),isEnum={}.propertyIsEnumerable,SymbolRegistry=shared("symbol-registry"),AllSymbols=shared("symbols"),OPSymbols=shared("op-symbols"),ObjectProto=Object.prototype,USE_NATIVE="function"==typeof $Symbol,QObject=global.QObject,setter=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDesc=DESCRIPTORS&&$fails((function(){return 7!=_create(dP({},"a",{get:function(){return dP(this,"a",{value:7}).a}})).a}))?function(it,key,D){var protoDesc=gOPD(ObjectProto,key);protoDesc&&delete ObjectProto[key],dP(it,key,D),protoDesc&&it!==ObjectProto&&dP(ObjectProto,key,protoDesc)}:dP,wrap=function(tag){var sym=AllSymbols[tag]=_create($Symbol.prototype);return sym._k=tag,sym},isSymbol=USE_NATIVE&&"symbol"==typeof $Symbol.iterator?function(it){return"symbol"==typeof it}:function(it){return it instanceof $Symbol},$defineProperty=function defineProperty(it,key,D){return it===ObjectProto&&$defineProperty(OPSymbols,key,D),anObject(it),key=toPrimitive(key,!0),anObject(D),has(AllSymbols,key)?(D.enumerable?(has(it,HIDDEN)&&it[HIDDEN][key]&&(it[HIDDEN][key]=!1),D=_create(D,{enumerable:createDesc(0,!1)})):(has(it,HIDDEN)||dP(it,HIDDEN,createDesc(1,{})),it[HIDDEN][key]=!0),setSymbolDesc(it,key,D)):dP(it,key,D)},$defineProperties=function defineProperties(it,P){anObject(it);for(var key,keys=enumKeys(P=toIObject(P)),i=0,l=keys.length;l>i;)$defineProperty(it,key=keys[i++],P[key]);return it},$propertyIsEnumerable=function propertyIsEnumerable(key){var E=isEnum.call(this,key=toPrimitive(key,!0));return!(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))&&(!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(it,key){if(it=toIObject(it),key=toPrimitive(key,!0),it!==ObjectProto||!has(AllSymbols,key)||has(OPSymbols,key)){var D=gOPD(it,key);return!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=!0),D}},$getOwnPropertyNames=function getOwnPropertyNames(it){for(var key,names=gOPN(toIObject(it)),result=[],i=0;names.length>i;)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result},$getOwnPropertySymbols=function getOwnPropertySymbols(it){for(var key,IS_OP=it===ObjectProto,names=gOPN(IS_OP?OPSymbols:toIObject(it)),result=[],i=0;names.length>i;)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};USE_NATIVE||(redefine(($Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0),$set=function(value){this===ObjectProto&&$set.call(OPSymbols,value),has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDesc(this,tag,createDesc(1,value))};return DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:!0,set:$set}),wrap(tag)}).prototype,"toString",(function toString(){return this._k})),$GOPD.f=$getOwnPropertyDescriptor,$DP.f=$defineProperty,__webpack_require__("kJMx").f=gOPNExt.f=$getOwnPropertyNames,__webpack_require__("UqcF").f=$propertyIsEnumerable,__webpack_require__("JiEa").f=$getOwnPropertySymbols,DESCRIPTORS&&!__webpack_require__("LQAc")&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,!0),wksExt.f=function(name){return wrap(wks(name))}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=!0},useSimple:function(){setter=!1}}),$export($export.S+$export.F*!USE_NATIVE,"Object",{create:function create(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails((function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))}))),"JSON",{stringify:function stringify(it){for(var replacer,$replacer,args=[it],i=1;arguments.length>i;)args.push(arguments[i++]);if($replacer=replacer=args[1],(isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if("function"==typeof $replacer&&(value=$replacer.call(this,key,value)),!isSymbol(value))return value}),args[1]=replacer,_stringify.apply($JSON,args)}}),$Symbol.prototype[TO_PRIMITIVE]||__webpack_require__("Mukb")($Symbol.prototype,TO_PRIMITIVE,$Symbol.prototype.valueOf),setToStringTag($Symbol,"Symbol"),setToStringTag(Math,"Math",!0),setToStringTag(global.JSON,"JSON",!0)},itLX:function(module,exports,__webpack_require__){"use strict";exports.base64=!1,exports.binary=!1,exports.dir=!1,exports.createFolders=!1,exports.date=null,exports.compression=null,exports.comment=null},"j/1Z":function(module,exports){module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},jE6b:function(module,exports,__webpack_require__){"use strict";__webpack_require__("Afnz")(Number,"Number",(function(iterated){this._l=+iterated,this._i=0}),(function(){var i=this._i++,done=!(i<this._l);return{done:done,value:done?void 0:i}}))},jgnA:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="request-shopping-context"},jm62:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),ownKeys=__webpack_require__("mQtv"),toIObject=__webpack_require__("aCFj"),gOPD=__webpack_require__("EemH"),createProperty=__webpack_require__("8a7r");$export($export.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(object){for(var key,desc,O=toIObject(object),getDesc=gOPD.f,keys=ownKeys(O),result={},i=0;keys.length>i;)void 0!==(desc=getDesc(O,key=keys[i++]))&&createProperty(result,key,desc);return result}})},"k+1r":function(module,exports,__webpack_require__){var getMapData=__webpack_require__("QkVE");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},kJMx:function(module,exports,__webpack_require__){var $keys=__webpack_require__("zhAb"),hiddenKeys=__webpack_require__("4R4u").concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},"kVK+":function(module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=-7,i=isLE?nBytes-1:0,d=isLE?-1:1,s=buffer[offset+i];for(i+=d,e=s&(1<<-nBits)-1,s>>=-nBits,nBits+=eLen;nBits>0;e=256*e+buffer[offset+i],i+=d,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=256*m+buffer[offset+i],i+=d,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:1/0*(s?-1:1);m+=Math.pow(2,mLen),e-=eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)},exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=23===mLen?Math.pow(2,-24)-Math.pow(2,-77):0,i=isLE?0:nBytes-1,d=isLE?1:-1,s=value<0||0===value&&1/value<0?1:0;for(value=Math.abs(value),isNaN(value)||value===1/0?(m=isNaN(value)?1:0,e=eMax):(e=Math.floor(Math.log(value)/Math.LN2),value*(c=Math.pow(2,-e))<1&&(e--,c*=2),(value+=e+eBias>=1?rt/c:rt*Math.pow(2,1-eBias))*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*Math.pow(2,mLen),e+=eBias):(m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen),e=0));mLen>=8;buffer[offset+i]=255&m,i+=d,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[offset+i]=255&e,i+=d,e/=256,eLen-=8);buffer[offset+i-d]|=128*s}},kXF0:function(module,exports,__webpack_require__){"use strict";var TYPED_OK="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function _has(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}exports.assign=function(obj){for(var sources=Array.prototype.slice.call(arguments,1);sources.length;){var source=sources.shift();if(source){if("object"!=typeof source)throw new TypeError(source+"must be non-object");for(var p in source)_has(source,p)&&(obj[p]=source[p])}}return obj},exports.shrinkBuf=function(buf,size){return buf.length===size?buf:buf.subarray?buf.subarray(0,size):(buf.length=size,buf)};var fnTyped={arraySet:function(dest,src,src_offs,len,dest_offs){if(src.subarray&&dest.subarray)dest.set(src.subarray(src_offs,src_offs+len),dest_offs);else for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){var i,l,len,pos,chunk,result;for(len=0,i=0,l=chunks.length;i<l;i++)len+=chunks[i].length;for(result=new Uint8Array(len),pos=0,i=0,l=chunks.length;i<l;i++)chunk=chunks[i],result.set(chunk,pos),pos+=chunk.length;return result}},fnUntyped={arraySet:function(dest,src,src_offs,len,dest_offs){for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){return[].concat.apply([],chunks)}};exports.setTyped=function(on){on?(exports.Buf8=Uint8Array,exports.Buf16=Uint16Array,exports.Buf32=Int32Array,exports.assign(exports,fnTyped)):(exports.Buf8=Array,exports.Buf16=Array,exports.Buf32=Array,exports.assign(exports,fnUntyped))},exports.setTyped(TYPED_OK)},kd2E:function(module,exports,__webpack_require__){"use strict";function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&",eq=eq||"=";var obj={};if("string"!=typeof qs||0===qs.length)return obj;var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;options&&"number"==typeof options.maxKeys&&(maxKeys=options.maxKeys);var len=qs.length;maxKeys>0&&len>maxKeys&&(len=maxKeys);for(var i=0;i<len;++i){var kstr,vstr,k,v,x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq);idx>=0?(kstr=x.substr(0,idx),vstr=x.substr(idx+1)):(kstr=x,vstr=""),k=decodeURIComponent(kstr),v=decodeURIComponent(vstr),hasOwnProperty(obj,k)?isArray(obj[k])?obj[k].push(v):obj[k]=[obj[k],v]:obj[k]=v}return obj};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)}},kioH:function(module,__webpack_exports__,__webpack_require__){"use strict";var _private_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("mTPN"),_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_slicedToArray=function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},defaultConsole=(console,{profile:console.profile?Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.a)(console.profile,console):function(){},profileEnd:console.profileEnd?Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.a)(console.profileEnd,console):function(){},warn:_private_utils__WEBPACK_IMPORTED_MODULE_0__.h});function handleDescriptor(target,key,descriptor,_ref){var _ref2=_slicedToArray(_ref,3),_ref2$=_ref2[0],prefix=void 0===_ref2$?null:_ref2$,_ref2$2=_ref2[1],onceThrottleOrFunction=void 0!==_ref2$2&&_ref2$2,_ref2$3=_ref2[2],console=void 0===_ref2$3?defaultConsole:_ref2$3;if(!profile.__enabled)return profile.__warned||(console.warn("console.profile is not supported. All @profile decorators are disabled."),profile.__warned=!0),descriptor;var fn=descriptor.value;if(null===prefix&&(prefix=target.constructor.name+"."+key),"function"!=typeof fn)throw new SyntaxError("@profile can only be used on functions, not: "+fn);return _extends({},descriptor,{value:function value(){var now=Date.now(),meta=Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.g)(this);(!0===onceThrottleOrFunction&&!meta.profileLastRan||!1===onceThrottleOrFunction||"number"==typeof onceThrottleOrFunction&&now-meta.profileLastRan>onceThrottleOrFunction||"function"==typeof onceThrottleOrFunction&&onceThrottleOrFunction.apply(this,arguments))&&(console.profile(prefix),meta.profileLastRan=now);try{return fn.apply(this,arguments)}finally{console.profileEnd(prefix)}}})}function profile(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.c)(handleDescriptor,args)}profile.__enabled=!!console.profile,profile.__warned=!1},knhD:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},l0Rn:function(module,exports,__webpack_require__){"use strict";var toInteger=__webpack_require__("RYi7"),defined=__webpack_require__("vhPU");module.exports=function repeat(count){var str=String(defined(this)),res="",n=toInteger(count);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;n>0;(n>>>=1)&&(str+=str))1&n&&(res+=str);return res}},l5FC:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="update-basket-item"},lQxo:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="favorites-updated"},lRFz:function(module,exports,__webpack_require__){(function(process,global,Buffer){!function webpackUniversalModuleDefinition(root,factory){module.exports=factory()}("undefined"!=typeof self&&self,(function(){return function(modules){var installedModules={};function __w_pdfjs_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__w_pdfjs_require__),module.l=!0,module.exports}return __w_pdfjs_require__.m=modules,__w_pdfjs_require__.c=installedModules,__w_pdfjs_require__.d=function(exports,name,getter){__w_pdfjs_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__w_pdfjs_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __w_pdfjs_require__.d(getter,"a",getter),getter},__w_pdfjs_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__w_pdfjs_require__.p="",__w_pdfjs_require__(__w_pdfjs_require__.s=75)}([function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.unreachable=exports.warn=exports.utf8StringToString=exports.stringToUTF8String=exports.stringToPDFString=exports.stringToBytes=exports.string32=exports.shadow=exports.setVerbosityLevel=exports.ReadableStream=exports.removeNullCharacters=exports.readUint32=exports.readUint16=exports.readInt8=exports.log2=exports.loadJpegStream=exports.isEvalSupported=exports.isLittleEndian=exports.createValidAbsoluteUrl=exports.isSameOrigin=exports.isNodeJS=exports.isSpace=exports.isString=exports.isNum=exports.isEmptyObj=exports.isBool=exports.isArrayBuffer=exports.info=exports.getVerbosityLevel=exports.getLookupTableFactory=exports.deprecated=exports.createObjectURL=exports.createPromiseCapability=exports.createBlob=exports.bytesToString=exports.assert=exports.arraysToBytes=exports.arrayByteLength=exports.FormatError=exports.XRefParseException=exports.Util=exports.UnknownErrorException=exports.UnexpectedResponseException=exports.TextRenderingMode=exports.StreamType=exports.StatTimer=exports.PasswordResponses=exports.PasswordException=exports.PageViewport=exports.NotImplementedException=exports.NativeImageDecoding=exports.MissingPDFException=exports.MissingDataException=exports.MessageHandler=exports.InvalidPDFException=exports.AbortException=exports.CMapCompressionType=exports.ImageKind=exports.FontType=exports.AnnotationType=exports.AnnotationFlag=exports.AnnotationFieldFlag=exports.AnnotationBorderStyleType=exports.UNSUPPORTED_FEATURES=exports.VERBOSITY_LEVELS=exports.OPS=exports.IDENTITY_MATRIX=exports.FONT_IDENTITY_MATRIX=void 0;var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};__w_pdfjs_require__(76);var _streams_polyfill=__w_pdfjs_require__(116),VERBOSITY_LEVELS={errors:0,warnings:1,infos:5},verbosity=VERBOSITY_LEVELS.warnings;function warn(msg){verbosity>=VERBOSITY_LEVELS.warnings&&console.log("Warning: "+msg)}function unreachable(msg){throw new Error(msg)}function assert(cond,msg){cond||unreachable(msg)}var PasswordException=function PasswordExceptionClosure(){function PasswordException(msg,code){this.name="PasswordException",this.message=msg,this.code=code}return PasswordException.prototype=new Error,PasswordException.constructor=PasswordException,PasswordException}(),UnknownErrorException=function UnknownErrorExceptionClosure(){function UnknownErrorException(msg,details){this.name="UnknownErrorException",this.message=msg,this.details=details}return UnknownErrorException.prototype=new Error,UnknownErrorException.constructor=UnknownErrorException,UnknownErrorException}(),InvalidPDFException=function InvalidPDFExceptionClosure(){function InvalidPDFException(msg){this.name="InvalidPDFException",this.message=msg}return InvalidPDFException.prototype=new Error,InvalidPDFException.constructor=InvalidPDFException,InvalidPDFException}(),MissingPDFException=function MissingPDFExceptionClosure(){function MissingPDFException(msg){this.name="MissingPDFException",this.message=msg}return MissingPDFException.prototype=new Error,MissingPDFException.constructor=MissingPDFException,MissingPDFException}(),UnexpectedResponseException=function UnexpectedResponseExceptionClosure(){function UnexpectedResponseException(msg,status){this.name="UnexpectedResponseException",this.message=msg,this.status=status}return UnexpectedResponseException.prototype=new Error,UnexpectedResponseException.constructor=UnexpectedResponseException,UnexpectedResponseException}(),NotImplementedException=function NotImplementedExceptionClosure(){function NotImplementedException(msg){this.message=msg}return NotImplementedException.prototype=new Error,NotImplementedException.prototype.name="NotImplementedException",NotImplementedException.constructor=NotImplementedException,NotImplementedException}(),MissingDataException=function MissingDataExceptionClosure(){function MissingDataException(begin,end){this.begin=begin,this.end=end,this.message="Missing data ["+begin+", "+end+")"}return MissingDataException.prototype=new Error,MissingDataException.prototype.name="MissingDataException",MissingDataException.constructor=MissingDataException,MissingDataException}(),XRefParseException=function XRefParseExceptionClosure(){function XRefParseException(msg){this.message=msg}return XRefParseException.prototype=new Error,XRefParseException.prototype.name="XRefParseException",XRefParseException.constructor=XRefParseException,XRefParseException}(),FormatError=function FormatErrorClosure(){function FormatError(msg){this.message=msg}return FormatError.prototype=new Error,FormatError.prototype.name="FormatError",FormatError.constructor=FormatError,FormatError}(),AbortException=function AbortExceptionClosure(){function AbortException(msg){this.name="AbortException",this.message=msg}return AbortException.prototype=new Error,AbortException.constructor=AbortException,AbortException}(),NullCharactersRegExp=/\x00/g;function stringToBytes(str){assert("string"==typeof str,"Invalid argument for stringToBytes");for(var length=str.length,bytes=new Uint8Array(length),i=0;i<length;++i)bytes[i]=255&str.charCodeAt(i);return bytes}function arrayByteLength(arr){return void 0!==arr.length?arr.length:(assert(void 0!==arr.byteLength),arr.byteLength)}var Util=function UtilClosure(){function Util(){}var rgbBuf=["rgb(",0,",",0,",",0,")"];Util.makeCssRgb=function Util_makeCssRgb(r,g,b){return rgbBuf[1]=r,rgbBuf[3]=g,rgbBuf[5]=b,rgbBuf.join("")},Util.transform=function Util_transform(m1,m2){return[m1[0]*m2[0]+m1[2]*m2[1],m1[1]*m2[0]+m1[3]*m2[1],m1[0]*m2[2]+m1[2]*m2[3],m1[1]*m2[2]+m1[3]*m2[3],m1[0]*m2[4]+m1[2]*m2[5]+m1[4],m1[1]*m2[4]+m1[3]*m2[5]+m1[5]]},Util.applyTransform=function Util_applyTransform(p,m){return[p[0]*m[0]+p[1]*m[2]+m[4],p[0]*m[1]+p[1]*m[3]+m[5]]},Util.applyInverseTransform=function Util_applyInverseTransform(p,m){var d=m[0]*m[3]-m[1]*m[2];return[(p[0]*m[3]-p[1]*m[2]+m[2]*m[5]-m[4]*m[3])/d,(-p[0]*m[1]+p[1]*m[0]+m[4]*m[1]-m[5]*m[0])/d]},Util.getAxialAlignedBoundingBox=function Util_getAxialAlignedBoundingBox(r,m){var p1=Util.applyTransform(r,m),p2=Util.applyTransform(r.slice(2,4),m),p3=Util.applyTransform([r[0],r[3]],m),p4=Util.applyTransform([r[2],r[1]],m);return[Math.min(p1[0],p2[0],p3[0],p4[0]),Math.min(p1[1],p2[1],p3[1],p4[1]),Math.max(p1[0],p2[0],p3[0],p4[0]),Math.max(p1[1],p2[1],p3[1],p4[1])]},Util.inverseTransform=function Util_inverseTransform(m){var d=m[0]*m[3]-m[1]*m[2];return[m[3]/d,-m[1]/d,-m[2]/d,m[0]/d,(m[2]*m[5]-m[4]*m[3])/d,(m[4]*m[1]-m[5]*m[0])/d]},Util.apply3dTransform=function Util_apply3dTransform(m,v){return[m[0]*v[0]+m[1]*v[1]+m[2]*v[2],m[3]*v[0]+m[4]*v[1]+m[5]*v[2],m[6]*v[0]+m[7]*v[1]+m[8]*v[2]]},Util.singularValueDecompose2dScale=function Util_singularValueDecompose2dScale(m){var transpose=[m[0],m[2],m[1],m[3]],a=m[0]*transpose[0]+m[1]*transpose[2],b=m[0]*transpose[1]+m[1]*transpose[3],c=m[2]*transpose[0]+m[3]*transpose[2],d=m[2]*transpose[1]+m[3]*transpose[3],first=(a+d)/2,second=Math.sqrt((a+d)*(a+d)-4*(a*d-c*b))/2,sx=first+second||1,sy=first-second||1;return[Math.sqrt(sx),Math.sqrt(sy)]},Util.normalizeRect=function Util_normalizeRect(rect){var r=rect.slice(0);return rect[0]>rect[2]&&(r[0]=rect[2],r[2]=rect[0]),rect[1]>rect[3]&&(r[1]=rect[3],r[3]=rect[1]),r},Util.intersect=function Util_intersect(rect1,rect2){function compare(a,b){return a-b}var orderedX=[rect1[0],rect1[2],rect2[0],rect2[2]].sort(compare),orderedY=[rect1[1],rect1[3],rect2[1],rect2[3]].sort(compare),result=[];return rect1=Util.normalizeRect(rect1),rect2=Util.normalizeRect(rect2),(orderedX[0]===rect1[0]&&orderedX[1]===rect2[0]||orderedX[0]===rect2[0]&&orderedX[1]===rect1[0])&&(result[0]=orderedX[1],result[2]=orderedX[2],(orderedY[0]===rect1[1]&&orderedY[1]===rect2[1]||orderedY[0]===rect2[1]&&orderedY[1]===rect1[1])&&(result[1]=orderedY[1],result[3]=orderedY[2],result))};var ROMAN_NUMBER_MAP=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];return Util.toRoman=function Util_toRoman(number,lowerCase){assert(Number.isInteger(number)&&number>0,"The number should be a positive integer.");for(var pos,romanBuf=[];number>=1e3;)number-=1e3,romanBuf.push("M");pos=number/100|0,number%=100,romanBuf.push(ROMAN_NUMBER_MAP[pos]),pos=number/10|0,number%=10,romanBuf.push(ROMAN_NUMBER_MAP[10+pos]),romanBuf.push(ROMAN_NUMBER_MAP[20+number]);var romanStr=romanBuf.join("");return lowerCase?romanStr.toLowerCase():romanStr},Util.appendToArray=function Util_appendToArray(arr1,arr2){Array.prototype.push.apply(arr1,arr2)},Util.prependToArray=function Util_prependToArray(arr1,arr2){Array.prototype.unshift.apply(arr1,arr2)},Util.extendObj=function extendObj(obj1,obj2){for(var key in obj2)obj1[key]=obj2[key]},Util.getInheritableProperty=function Util_getInheritableProperty(dict,name,getArray){for(;dict&&!dict.has(name);)dict=dict.get("Parent");return dict?getArray?dict.getArray(name):dict.get(name):null},Util.inherit=function Util_inherit(sub,base,prototype){for(var prop in sub.prototype=Object.create(base.prototype),sub.prototype.constructor=sub,prototype)sub.prototype[prop]=prototype[prop]},Util.loadScript=function Util_loadScript(src,callback){var script=document.createElement("script"),loaded=!1;script.setAttribute("src",src),callback&&(script.onload=function(){loaded||callback(),loaded=!0}),document.getElementsByTagName("head")[0].appendChild(script)},Util}(),PageViewport=function PageViewportClosure(){function PageViewport(viewBox,scale,rotation,offsetX,offsetY,dontFlip){this.viewBox=viewBox,this.scale=scale,this.rotation=rotation,this.offsetX=offsetX,this.offsetY=offsetY;var rotateA,rotateB,rotateC,rotateD,offsetCanvasX,offsetCanvasY,width,height,centerX=(viewBox[2]+viewBox[0])/2,centerY=(viewBox[3]+viewBox[1])/2;switch(rotation=(rotation%=360)<0?rotation+360:rotation){case 180:rotateA=-1,rotateB=0,rotateC=0,rotateD=1;break;case 90:rotateA=0,rotateB=1,rotateC=1,rotateD=0;break;case 270:rotateA=0,rotateB=-1,rotateC=-1,rotateD=0;break;default:rotateA=1,rotateB=0,rotateC=0,rotateD=-1}dontFlip&&(rotateC=-rotateC,rotateD=-rotateD),0===rotateA?(offsetCanvasX=Math.abs(centerY-viewBox[1])*scale+offsetX,offsetCanvasY=Math.abs(centerX-viewBox[0])*scale+offsetY,width=Math.abs(viewBox[3]-viewBox[1])*scale,height=Math.abs(viewBox[2]-viewBox[0])*scale):(offsetCanvasX=Math.abs(centerX-viewBox[0])*scale+offsetX,offsetCanvasY=Math.abs(centerY-viewBox[1])*scale+offsetY,width=Math.abs(viewBox[2]-viewBox[0])*scale,height=Math.abs(viewBox[3]-viewBox[1])*scale),this.transform=[rotateA*scale,rotateB*scale,rotateC*scale,rotateD*scale,offsetCanvasX-rotateA*scale*centerX-rotateC*scale*centerY,offsetCanvasY-rotateB*scale*centerX-rotateD*scale*centerY],this.width=width,this.height=height,this.fontScale=scale}return PageViewport.prototype={clone:function PageViewPort_clone(args){var scale="scale"in(args=args||{})?args.scale:this.scale,rotation="rotation"in args?args.rotation:this.rotation;return new PageViewport(this.viewBox.slice(),scale,rotation,this.offsetX,this.offsetY,args.dontFlip)},convertToViewportPoint:function PageViewport_convertToViewportPoint(x,y){return Util.applyTransform([x,y],this.transform)},convertToViewportRectangle:function PageViewport_convertToViewportRectangle(rect){var tl=Util.applyTransform([rect[0],rect[1]],this.transform),br=Util.applyTransform([rect[2],rect[3]],this.transform);return[tl[0],tl[1],br[0],br[1]]},convertToPdfPoint:function PageViewport_convertToPdfPoint(x,y){return Util.applyInverseTransform([x,y],this.transform)}},PageViewport}(),PDFStringTranslateTable=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function createPromiseCapability(){var capability={};return capability.promise=new Promise((function(resolve,reject){capability.resolve=resolve,capability.reject=reject})),capability}var StatTimer=function StatTimerClosure(){function rpad(str,pad,length){for(;str.length<length;)str+=pad;return str}function StatTimer(){this.started=Object.create(null),this.times=[],this.enabled=!0}return StatTimer.prototype={time:function StatTimer_time(name){this.enabled&&(name in this.started&&warn("Timer is already running for "+name),this.started[name]=Date.now())},timeEnd:function StatTimer_timeEnd(name){this.enabled&&(name in this.started||warn("Timer has not been started for "+name),this.times.push({name:name,start:this.started[name],end:Date.now()}),delete this.started[name])},toString:function StatTimer_toString(){var i,ii,times=this.times,out="",longest=0;for(i=0,ii=times.length;i<ii;++i){var name=times[i].name;name.length>longest&&(longest=name.length)}for(i=0,ii=times.length;i<ii;++i){var span=times[i],duration=span.end-span.start;out+=rpad(span.name," ",longest)+" "+duration+"ms\n"}return out}},StatTimer}(),createBlob=function createBlob(data,contentType){if("undefined"!=typeof Blob)return new Blob([data],{type:contentType});throw new Error('The "Blob" constructor is not supported.')},createObjectURL=function createObjectURLClosure(){var digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function createObjectURL(data,contentType){var forceDataSchema=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!forceDataSchema&&URL.createObjectURL){var blob=createBlob(data,contentType);return URL.createObjectURL(blob)}for(var buffer="data:"+contentType+";base64,",i=0,ii=data.length;i<ii;i+=3){var b1=255&data[i],b2=255&data[i+1],b3=255&data[i+2],d1=b1>>2,d2=(3&b1)<<4|b2>>4,d3=i+1<ii?(15&b2)<<2|b3>>6:64,d4=i+2<ii?63&b3:64;buffer+=digits[d1]+digits[d2]+digits[d3]+digits[d4]}return buffer}}();function resolveCall(fn,args){var thisArg=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return fn?new Promise((function(resolve,reject){resolve(fn.apply(thisArg,args))})):Promise.resolve(void 0)}function wrapReason(reason){if("object"!==(void 0===reason?"undefined":_typeof(reason)))return reason;switch(reason.name){case"AbortException":return new AbortException(reason.message);case"MissingPDFException":return new MissingPDFException(reason.message);case"UnexpectedResponseException":return new UnexpectedResponseException(reason.message,reason.status);default:return new UnknownErrorException(reason.message,reason.details)}}function makeReasonSerializable(reason){return!(reason instanceof Error)||reason instanceof AbortException||reason instanceof MissingPDFException||reason instanceof UnexpectedResponseException||reason instanceof UnknownErrorException?reason:new UnknownErrorException(reason.message,reason.toString())}function resolveOrReject(capability,success,reason){success?capability.resolve():capability.reject(reason)}function MessageHandler(sourceName,targetName,comObj){var _this=this;this.sourceName=sourceName,this.targetName=targetName,this.comObj=comObj,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var callbacksCapabilities=this.callbacksCapabilities=Object.create(null),ah=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(event){var data=event.data;if(data.targetName===_this.sourceName)if(data.stream)_this._processStreamMessage(data);else if(data.isReply){var callbackId=data.callbackId;if(!(data.callbackId in callbacksCapabilities))throw new Error("Cannot resolve callback "+callbackId);var callback=callbacksCapabilities[callbackId];delete callbacksCapabilities[callbackId],"error"in data?callback.reject(wrapReason(data.error)):callback.resolve(data.data)}else{if(!(data.action in ah))throw new Error("Unknown action from worker: "+data.action);var action=ah[data.action];if(data.callbackId){var _sourceName=_this.sourceName,_targetName=data.sourceName;Promise.resolve().then((function(){return action[0].call(action[1],data.data)})).then((function(result){comObj.postMessage({sourceName:_sourceName,targetName:_targetName,isReply:!0,callbackId:data.callbackId,data:result})}),(function(reason){comObj.postMessage({sourceName:_sourceName,targetName:_targetName,isReply:!0,callbackId:data.callbackId,error:makeReasonSerializable(reason)})}))}else data.streamId?_this._createStreamSink(data):action[0].call(action[1],data.data)}},comObj.addEventListener("message",this._onComObjOnMessage)}MessageHandler.prototype={on:function on(actionName,handler,scope){var ah=this.actionHandler;if(ah[actionName])throw new Error('There is already an actionName called "'+actionName+'"');ah[actionName]=[handler,scope]},send:function send(actionName,data,transfers){var message={sourceName:this.sourceName,targetName:this.targetName,action:actionName,data:data};this.postMessage(message,transfers)},sendWithPromise:function sendWithPromise(actionName,data,transfers){var callbackId=this.callbackId++,message={sourceName:this.sourceName,targetName:this.targetName,action:actionName,data:data,callbackId:callbackId},capability=createPromiseCapability();this.callbacksCapabilities[callbackId]=capability;try{this.postMessage(message,transfers)}catch(e){capability.reject(e)}return capability.promise},sendWithStream:function sendWithStream(actionName,data,queueingStrategy,transfers){var _this2=this,streamId=this.streamId++,sourceName=this.sourceName,targetName=this.targetName;return new _streams_polyfill.ReadableStream({start:function start(controller){var startCapability=createPromiseCapability();return _this2.streamControllers[streamId]={controller:controller,startCall:startCapability,isClosed:!1},_this2.postMessage({sourceName:sourceName,targetName:targetName,action:actionName,streamId:streamId,data:data,desiredSize:controller.desiredSize}),startCapability.promise},pull:function pull(controller){var pullCapability=createPromiseCapability();return _this2.streamControllers[streamId].pullCall=pullCapability,_this2.postMessage({sourceName:sourceName,targetName:targetName,stream:"pull",streamId:streamId,desiredSize:controller.desiredSize}),pullCapability.promise},cancel:function cancel(reason){var cancelCapability=createPromiseCapability();return _this2.streamControllers[streamId].cancelCall=cancelCapability,_this2.streamControllers[streamId].isClosed=!0,_this2.postMessage({sourceName:sourceName,targetName:targetName,stream:"cancel",reason:reason,streamId:streamId}),cancelCapability.promise}},queueingStrategy)},_createStreamSink:function _createStreamSink(data){var _this3=this,self=this,action=this.actionHandler[data.action],streamId=data.streamId,desiredSize=data.desiredSize,sourceName=this.sourceName,targetName=data.sourceName,capability=createPromiseCapability(),sendStreamRequest=function sendStreamRequest(_ref){var stream=_ref.stream,chunk=_ref.chunk,transfers=_ref.transfers,success=_ref.success,reason=_ref.reason;_this3.postMessage({sourceName:sourceName,targetName:targetName,stream:stream,streamId:streamId,chunk:chunk,success:success,reason:reason},transfers)},streamSink={enqueue:function enqueue(chunk){var size=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,transfers=arguments[2];if(!this.isCancelled){var lastDesiredSize=this.desiredSize;this.desiredSize-=size,lastDesiredSize>0&&this.desiredSize<=0&&(this.sinkCapability=createPromiseCapability(),this.ready=this.sinkCapability.promise),sendStreamRequest({stream:"enqueue",chunk:chunk,transfers:transfers})}},close:function close(){this.isCancelled||(this.isCancelled=!0,sendStreamRequest({stream:"close"}),delete self.streamSinks[streamId])},error:function error(reason){this.isCancelled||(this.isCancelled=!0,sendStreamRequest({stream:"error",reason:reason}))},sinkCapability:capability,onPull:null,onCancel:null,isCancelled:!1,desiredSize:desiredSize,ready:null};streamSink.sinkCapability.resolve(),streamSink.ready=streamSink.sinkCapability.promise,this.streamSinks[streamId]=streamSink,resolveCall(action[0],[data.data,streamSink],action[1]).then((function(){sendStreamRequest({stream:"start_complete",success:!0})}),(function(reason){sendStreamRequest({stream:"start_complete",success:!1,reason:reason})}))},_processStreamMessage:function _processStreamMessage(data){var _this4=this,sourceName=this.sourceName,targetName=data.sourceName,streamId=data.streamId,sendStreamResponse=function sendStreamResponse(_ref2){var stream=_ref2.stream,success=_ref2.success,reason=_ref2.reason;_this4.comObj.postMessage({sourceName:sourceName,targetName:targetName,stream:stream,success:success,streamId:streamId,reason:reason})},deleteStreamController=function deleteStreamController(){Promise.all([_this4.streamControllers[data.streamId].startCall,_this4.streamControllers[data.streamId].pullCall,_this4.streamControllers[data.streamId].cancelCall].map((function(capability){return capability&&function finalize(promise){return Promise.resolve(promise).catch((function(){}))}(capability.promise)}))).then((function(){delete _this4.streamControllers[data.streamId]}))};switch(data.stream){case"start_complete":resolveOrReject(this.streamControllers[data.streamId].startCall,data.success,wrapReason(data.reason));break;case"pull_complete":resolveOrReject(this.streamControllers[data.streamId].pullCall,data.success,wrapReason(data.reason));break;case"pull":if(!this.streamSinks[data.streamId]){sendStreamResponse({stream:"pull_complete",success:!0});break}this.streamSinks[data.streamId].desiredSize<=0&&data.desiredSize>0&&this.streamSinks[data.streamId].sinkCapability.resolve(),this.streamSinks[data.streamId].desiredSize=data.desiredSize,resolveCall(this.streamSinks[data.streamId].onPull).then((function(){sendStreamResponse({stream:"pull_complete",success:!0})}),(function(reason){sendStreamResponse({stream:"pull_complete",success:!1,reason:reason})}));break;case"enqueue":assert(this.streamControllers[data.streamId],"enqueue should have stream controller"),this.streamControllers[data.streamId].isClosed||this.streamControllers[data.streamId].controller.enqueue(data.chunk);break;case"close":if(assert(this.streamControllers[data.streamId],"close should have stream controller"),this.streamControllers[data.streamId].isClosed)break;this.streamControllers[data.streamId].isClosed=!0,this.streamControllers[data.streamId].controller.close(),deleteStreamController();break;case"error":assert(this.streamControllers[data.streamId],"error should have stream controller"),this.streamControllers[data.streamId].controller.error(wrapReason(data.reason)),deleteStreamController();break;case"cancel_complete":resolveOrReject(this.streamControllers[data.streamId].cancelCall,data.success,wrapReason(data.reason)),deleteStreamController();break;case"cancel":if(!this.streamSinks[data.streamId])break;resolveCall(this.streamSinks[data.streamId].onCancel,[wrapReason(data.reason)]).then((function(){sendStreamResponse({stream:"cancel_complete",success:!0})}),(function(reason){sendStreamResponse({stream:"cancel_complete",success:!1,reason:reason})})),this.streamSinks[data.streamId].sinkCapability.reject(wrapReason(data.reason)),this.streamSinks[data.streamId].isCancelled=!0,delete this.streamSinks[data.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function postMessage(message,transfers){transfers&&this.postMessageTransfers?this.comObj.postMessage(message,transfers):this.comObj.postMessage(message)},destroy:function destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}},exports.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],exports.IDENTITY_MATRIX=[1,0,0,1,0,0],exports.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},exports.VERBOSITY_LEVELS=VERBOSITY_LEVELS,exports.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},exports.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},exports.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},exports.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},exports.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},exports.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10},exports.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},exports.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},exports.AbortException=AbortException,exports.InvalidPDFException=InvalidPDFException,exports.MessageHandler=MessageHandler,exports.MissingDataException=MissingDataException,exports.MissingPDFException=MissingPDFException,exports.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},exports.NotImplementedException=NotImplementedException,exports.PageViewport=PageViewport,exports.PasswordException=PasswordException,exports.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},exports.StatTimer=StatTimer,exports.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},exports.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},exports.UnexpectedResponseException=UnexpectedResponseException,exports.UnknownErrorException=UnknownErrorException,exports.Util=Util,exports.XRefParseException=XRefParseException,exports.FormatError=FormatError,exports.arrayByteLength=arrayByteLength,exports.arraysToBytes=function arraysToBytes(arr){if(1===arr.length&&arr[0]instanceof Uint8Array)return arr[0];var i,item,itemLength,resultLength=0,ii=arr.length;for(i=0;i<ii;i++)resultLength+=itemLength=arrayByteLength(item=arr[i]);var pos=0,data=new Uint8Array(resultLength);for(i=0;i<ii;i++)(item=arr[i])instanceof Uint8Array||(item="string"==typeof item?stringToBytes(item):new Uint8Array(item)),itemLength=item.byteLength,data.set(item,pos),pos+=itemLength;return data},exports.assert=assert,exports.bytesToString=function bytesToString(bytes){assert(null!==bytes&&"object"===(void 0===bytes?"undefined":_typeof(bytes))&&void 0!==bytes.length,"Invalid argument for bytesToString");var length=bytes.length;if(length<8192)return String.fromCharCode.apply(null,bytes);for(var strBuf=[],i=0;i<length;i+=8192){var chunkEnd=Math.min(i+8192,length),chunk=bytes.subarray(i,chunkEnd);strBuf.push(String.fromCharCode.apply(null,chunk))}return strBuf.join("")},exports.createBlob=createBlob,exports.createPromiseCapability=createPromiseCapability,exports.createObjectURL=createObjectURL,exports.deprecated=function deprecated(details){console.log("Deprecated API usage: "+details)},exports.getLookupTableFactory=function getLookupTableFactory(initializer){var lookup;return function(){return initializer&&(lookup=Object.create(null),initializer(lookup),initializer=null),lookup}},exports.getVerbosityLevel=function getVerbosityLevel(){return verbosity},exports.info=function info(msg){verbosity>=VERBOSITY_LEVELS.infos&&console.log("Info: "+msg)},exports.isArrayBuffer=function isArrayBuffer(v){return"object"===(void 0===v?"undefined":_typeof(v))&&null!==v&&void 0!==v.byteLength},exports.isBool=function isBool(v){return"boolean"==typeof v},exports.isEmptyObj=function isEmptyObj(obj){for(var key in obj)return!1;return!0},exports.isNum=function isNum(v){return"number"==typeof v},exports.isString=function isString(v){return"string"==typeof v},exports.isSpace=function isSpace(ch){return 32===ch||9===ch||13===ch||10===ch},exports.isNodeJS=function isNodeJS(){return"object"===(void 0===process?"undefined":_typeof(process))&&process+""=="[object process]"},exports.isSameOrigin=function isSameOrigin(baseUrl,otherUrl){try{var base=new URL(baseUrl);if(!base.origin||"null"===base.origin)return!1}catch(e){return!1}var other=new URL(otherUrl,base);return base.origin===other.origin},exports.createValidAbsoluteUrl=function createValidAbsoluteUrl(url,baseUrl){if(!url)return null;try{var absoluteUrl=baseUrl?new URL(url,baseUrl):new URL(url);if(function isValidProtocol(url){if(!url)return!1;switch(url.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(absoluteUrl))return absoluteUrl}catch(ex){}return null},exports.isLittleEndian=function isLittleEndian(){var buffer8=new Uint8Array(4);return buffer8[0]=1,1===new Uint32Array(buffer8.buffer,0,1)[0]},exports.isEvalSupported=function isEvalSupported(){try{return new Function(""),!0}catch(e){return!1}},exports.loadJpegStream=function loadJpegStream(id,imageUrl,objs){var img=new Image;img.onload=function loadJpegStream_onloadClosure(){objs.resolve(id,img)},img.onerror=function loadJpegStream_onerrorClosure(){objs.resolve(id,null),warn("Error during JPEG image loading")},img.src=imageUrl},exports.log2=function log2(x){for(var n=1,i=0;x>n;)n<<=1,i++;return i},exports.readInt8=function readInt8(data,start){return data[start]<<24>>24},exports.readUint16=function readUint16(data,offset){return data[offset]<<8|data[offset+1]},exports.readUint32=function readUint32(data,offset){return(data[offset]<<24|data[offset+1]<<16|data[offset+2]<<8|data[offset+3])>>>0},exports.removeNullCharacters=function removeNullCharacters(str){return"string"!=typeof str?(warn("The argument for removeNullCharacters must be a string."),str):str.replace(NullCharactersRegExp,"")},exports.ReadableStream=_streams_polyfill.ReadableStream,exports.setVerbosityLevel=function setVerbosityLevel(level){verbosity=level},exports.shadow=function shadow(obj,prop,value){return Object.defineProperty(obj,prop,{value:value,enumerable:!0,configurable:!0,writable:!1}),value},exports.string32=function string32(value){return String.fromCharCode(value>>24&255,value>>16&255,value>>8&255,255&value)},exports.stringToBytes=stringToBytes,exports.stringToPDFString=function stringToPDFString(str){var i,n=str.length,strBuf=[];if("þ"===str[0]&&"ÿ"===str[1])for(i=2;i<n;i+=2)strBuf.push(String.fromCharCode(str.charCodeAt(i)<<8|str.charCodeAt(i+1)));else for(i=0;i<n;++i){var code=PDFStringTranslateTable[str.charCodeAt(i)];strBuf.push(code?String.fromCharCode(code):str.charAt(i))}return strBuf.join("")},exports.stringToUTF8String=function stringToUTF8String(str){return decodeURIComponent(escape(str))},exports.utf8StringToString=function utf8StringToString(str){return unescape(encodeURIComponent(str))},exports.warn=warn,exports.unreachable=unreachable},function(module,exports,__w_pdfjs_require__){"use strict";var global=module.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=global)},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};module.exports=function(it){return"object"===(void 0===it?"undefined":_typeof(it))?null!==it:"function"==typeof it}},function(module,exports,__w_pdfjs_require__){"use strict";var store=__w_pdfjs_require__(51)("wks"),uid=__w_pdfjs_require__(16),_Symbol=__w_pdfjs_require__(1).Symbol,USE_SYMBOL="function"==typeof _Symbol;(module.exports=function(name){return store[name]||(store[name]=USE_SYMBOL&&_Symbol[name]||(USE_SYMBOL?_Symbol:uid)("Symbol."+name))}).store=store},function(module,exports,__w_pdfjs_require__){"use strict";var core=module.exports={version:"2.5.7"};"number"==typeof __e&&(__e=core)},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),core=__w_pdfjs_require__(4),hide=__w_pdfjs_require__(6),redefine=__w_pdfjs_require__(14),ctx=__w_pdfjs_require__(11),$export=function $export(type,name,source){var key,own,out,exp,IS_FORCED=type&$export.F,IS_GLOBAL=type&$export.G,IS_PROTO=type&$export.P,IS_BIND=type&$export.B,target=IS_GLOBAL?global:type&$export.S?global[name]||(global[name]={}):(global[name]||{}).prototype,exports=IS_GLOBAL?core:core[name]||(core[name]={}),expProto=exports.prototype||(exports.prototype={});for(key in IS_GLOBAL&&(source=name),source)out=((own=!IS_FORCED&&target&&void 0!==target[key])?target:source)[key],exp=IS_BIND&&own?ctx(out,global):IS_PROTO&&"function"==typeof out?ctx(Function.call,out):out,target&&redefine(target,key,out,type&$export.U),exports[key]!=out&&hide(exports,key,exp),IS_PROTO&&expProto[key]!=out&&(expProto[key]=out)};global.core=core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128,module.exports=$export},function(module,exports,__w_pdfjs_require__){"use strict";var dP=__w_pdfjs_require__(13),createDesc=__w_pdfjs_require__(27);module.exports=__w_pdfjs_require__(8)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!__w_pdfjs_require__(9)((function(){return 7!=Object.defineProperty({},"a",{get:function get(){return 7}}).a}))},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports,__w_pdfjs_require__){"use strict";var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__w_pdfjs_require__){"use strict";var aFunction=__w_pdfjs_require__(22);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(17),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(7),IE8_DOM_DEFINE=__w_pdfjs_require__(45),toPrimitive=__w_pdfjs_require__(33),dP=Object.defineProperty;exports.f=__w_pdfjs_require__(8)?Object.defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return dP(O,P,Attributes)}catch(e){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported!");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(6),has=__w_pdfjs_require__(10),SRC=__w_pdfjs_require__(16)("src"),$toString=Function.toString,TPL=(""+$toString).split("toString");__w_pdfjs_require__(4).inspectSource=function(it){return $toString.call(it)},(module.exports=function(O,key,val,safe){var isFunction="function"==typeof val;isFunction&&(has(val,"name")||hide(val,"name",key)),O[key]!==val&&(isFunction&&(has(val,SRC)||hide(val,SRC,O[key]?""+O[key]:TPL.join(String(key)))),O===global?O[key]=val:safe?O[key]?O[key]=val:hide(O,key,val):(delete O[key],hide(O,key,val)))})(Function.prototype,"toString",(function toString(){return"function"==typeof this&&this[SRC]||$toString.call(this)}))},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DOMSVGFactory=exports.DOMCMapReaderFactory=exports.DOMCanvasFactory=exports.DEFAULT_LINK_REL=exports.getDefaultSetting=exports.LinkTarget=exports.getFilenameFromUrl=exports.isValidUrl=exports.isExternalLinkTargetSet=exports.addLinkAttributes=exports.RenderingCancelledException=exports.CustomStyle=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_global_scope2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__w_pdfjs_require__(20));function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var SVG_NS="http://www.w3.org/2000/svg",DOMCanvasFactory=function(){function DOMCanvasFactory(){_classCallCheck(this,DOMCanvasFactory)}return _createClass(DOMCanvasFactory,[{key:"create",value:function create(width,height){if(width<=0||height<=0)throw new Error("invalid canvas size");var canvas=document.createElement("canvas"),context=canvas.getContext("2d");return canvas.width=width,canvas.height=height,{canvas:canvas,context:context}}},{key:"reset",value:function reset(canvasAndContext,width,height){if(!canvasAndContext.canvas)throw new Error("canvas is not specified");if(width<=0||height<=0)throw new Error("invalid canvas size");canvasAndContext.canvas.width=width,canvasAndContext.canvas.height=height}},{key:"destroy",value:function destroy(canvasAndContext){if(!canvasAndContext.canvas)throw new Error("canvas is not specified");canvasAndContext.canvas.width=0,canvasAndContext.canvas.height=0,canvasAndContext.canvas=null,canvasAndContext.context=null}}]),DOMCanvasFactory}(),DOMCMapReaderFactory=function(){function DOMCMapReaderFactory(_ref){var _ref$baseUrl=_ref.baseUrl,baseUrl=void 0===_ref$baseUrl?null:_ref$baseUrl,_ref$isCompressed=_ref.isCompressed,isCompressed=void 0!==_ref$isCompressed&&_ref$isCompressed;_classCallCheck(this,DOMCMapReaderFactory),this.baseUrl=baseUrl,this.isCompressed=isCompressed}return _createClass(DOMCMapReaderFactory,[{key:"fetch",value:function fetch(_ref2){var _this=this,name=_ref2.name;return this.baseUrl?name?new Promise((function(resolve,reject){var url=_this.baseUrl+name+(_this.isCompressed?".bcmap":""),request=new XMLHttpRequest;request.open("GET",url,!0),_this.isCompressed&&(request.responseType="arraybuffer"),request.onreadystatechange=function(){if(request.readyState===XMLHttpRequest.DONE){if(200===request.status||0===request.status){var data=void 0;if(_this.isCompressed&&request.response?data=new Uint8Array(request.response):!_this.isCompressed&&request.responseText&&(data=(0,_util.stringToBytes)(request.responseText)),data)return void resolve({cMapData:data,compressionType:_this.isCompressed?_util.CMapCompressionType.BINARY:_util.CMapCompressionType.NONE})}reject(new Error("Unable to load "+(_this.isCompressed?"binary ":"")+"CMap at: "+url))}},request.send(null)})):Promise.reject(new Error("CMap name must be specified.")):Promise.reject(new Error('CMap baseUrl must be specified, see "PDFJS.cMapUrl" (and also "PDFJS.cMapPacked").'))}}]),DOMCMapReaderFactory}(),DOMSVGFactory=function(){function DOMSVGFactory(){_classCallCheck(this,DOMSVGFactory)}return _createClass(DOMSVGFactory,[{key:"create",value:function create(width,height){(0,_util.assert)(width>0&&height>0,"Invalid SVG dimensions");var svg=document.createElementNS(SVG_NS,"svg:svg");return svg.setAttribute("version","1.1"),svg.setAttribute("width",width+"px"),svg.setAttribute("height",height+"px"),svg.setAttribute("preserveAspectRatio","none"),svg.setAttribute("viewBox","0 0 "+width+" "+height),svg}},{key:"createElement",value:function createElement(type){return(0,_util.assert)("string"==typeof type,"Invalid SVG element type"),document.createElementNS(SVG_NS,type)}}]),DOMSVGFactory}(),CustomStyle=function CustomStyleClosure(){var prefixes=["ms","Moz","Webkit","O"],_cache=Object.create(null);function CustomStyle(){}return CustomStyle.getProp=function get(propName,element){if(1===arguments.length&&"string"==typeof _cache[propName])return _cache[propName];var prefixed,uPropName,style=(element=element||document.documentElement).style;if("string"==typeof style[propName])return _cache[propName]=propName;uPropName=propName.charAt(0).toUpperCase()+propName.slice(1);for(var i=0,l=prefixes.length;i<l;i++)if("string"==typeof style[prefixed=prefixes[i]+uPropName])return _cache[propName]=prefixed;return _cache[propName]="undefined"},CustomStyle.setProp=function set(propName,element,str){var prop=this.getProp(propName);"undefined"!==prop&&(element.style[prop]=str)},CustomStyle}(),RenderingCancelledException=function RenderingCancelledException(){function RenderingCancelledException(msg,type){this.message=msg,this.type=type}return RenderingCancelledException.prototype=new Error,RenderingCancelledException.prototype.name="RenderingCancelledException",RenderingCancelledException.constructor=RenderingCancelledException,RenderingCancelledException}(),LinkTarget={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4},LinkTargetStringMap=["","_self","_blank","_parent","_top"];function getDefaultSetting(id){var globalSettings=_global_scope2.default.PDFJS;switch(id){case"pdfBug":return!!globalSettings&&globalSettings.pdfBug;case"disableAutoFetch":return!!globalSettings&&globalSettings.disableAutoFetch;case"disableStream":return!!globalSettings&&globalSettings.disableStream;case"disableRange":return!!globalSettings&&globalSettings.disableRange;case"disableFontFace":return!!globalSettings&&globalSettings.disableFontFace;case"disableCreateObjectURL":return!!globalSettings&&globalSettings.disableCreateObjectURL;case"disableWebGL":return!globalSettings||globalSettings.disableWebGL;case"cMapUrl":return globalSettings?globalSettings.cMapUrl:null;case"cMapPacked":return!!globalSettings&&globalSettings.cMapPacked;case"postMessageTransfers":return!globalSettings||globalSettings.postMessageTransfers;case"workerPort":return globalSettings?globalSettings.workerPort:null;case"workerSrc":return globalSettings?globalSettings.workerSrc:null;case"disableWorker":return!!globalSettings&&globalSettings.disableWorker;case"maxImageSize":return globalSettings?globalSettings.maxImageSize:-1;case"imageResourcesPath":return globalSettings?globalSettings.imageResourcesPath:"";case"isEvalSupported":return!globalSettings||globalSettings.isEvalSupported;case"externalLinkTarget":if(!globalSettings)return LinkTarget.NONE;switch(globalSettings.externalLinkTarget){case LinkTarget.NONE:case LinkTarget.SELF:case LinkTarget.BLANK:case LinkTarget.PARENT:case LinkTarget.TOP:return globalSettings.externalLinkTarget}return(0,_util.warn)("PDFJS.externalLinkTarget is invalid: "+globalSettings.externalLinkTarget),globalSettings.externalLinkTarget=LinkTarget.NONE,LinkTarget.NONE;case"externalLinkRel":return globalSettings?globalSettings.externalLinkRel:"noopener noreferrer nofollow";case"enableStats":return!(!globalSettings||!globalSettings.enableStats);case"pdfjsNext":return!(!globalSettings||!globalSettings.pdfjsNext);default:throw new Error("Unknown default setting: "+id)}}exports.CustomStyle=CustomStyle,exports.RenderingCancelledException=RenderingCancelledException,exports.addLinkAttributes=function addLinkAttributes(link,params){var url=params&&params.url;if(link.href=link.title=url?(0,_util.removeNullCharacters)(url):"",url){var target=params.target;void 0===target&&(target=getDefaultSetting("externalLinkTarget")),link.target=LinkTargetStringMap[target];var rel=params.rel;void 0===rel&&(rel=getDefaultSetting("externalLinkRel")),link.rel=rel}},exports.isExternalLinkTargetSet=function isExternalLinkTargetSet(){switch(getDefaultSetting("externalLinkTarget")){case LinkTarget.NONE:return!1;case LinkTarget.SELF:case LinkTarget.BLANK:case LinkTarget.PARENT:case LinkTarget.TOP:return!0}},exports.isValidUrl=function isValidUrl(url,allowRelative){(0,_util.deprecated)("isValidUrl(), please use createValidAbsoluteUrl() instead.");var baseUrl=allowRelative?"http://example.com":null;return null!==(0,_util.createValidAbsoluteUrl)(url,baseUrl)},exports.getFilenameFromUrl=function getFilenameFromUrl(url){var anchor=url.indexOf("#"),query=url.indexOf("?"),end=Math.min(anchor>0?anchor:url.length,query>0?query:url.length);return url.substring(url.lastIndexOf("/",end)+1,end)},exports.LinkTarget=LinkTarget,exports.getDefaultSetting=getDefaultSetting,exports.DEFAULT_LINK_REL="noopener noreferrer nofollow",exports.DOMCanvasFactory=DOMCanvasFactory,exports.DOMCMapReaderFactory=DOMCMapReaderFactory,exports.DOMSVGFactory=DOMSVGFactory},function(module,exports,__w_pdfjs_require__){"use strict";var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports,__w_pdfjs_require__){"use strict";var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__w_pdfjs_require__){"use strict";var defined=__w_pdfjs_require__(35);module.exports=function(it){return Object(defined(it))}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports={}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports="undefined"!=typeof window&&window.Math===Math?window:void 0!==global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!1},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";var redefine=__w_pdfjs_require__(14);module.exports=function(target,src,safe){for(var key in src)redefine(target,key,src[key],safe);return target}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it,Constructor,name,forbiddenField){if(!(it instanceof Constructor)||void 0!==forbiddenField&&forbiddenField in it)throw TypeError(name+": incorrect invocation!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__w_pdfjs_require__){"use strict";var def=__w_pdfjs_require__(13).f,has=__w_pdfjs_require__(10),TAG=__w_pdfjs_require__(3)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__w_pdfjs_require__){"use strict";var IObject=__w_pdfjs_require__(34),defined=__w_pdfjs_require__(35);module.exports=function(it){return IObject(defined(it))}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(17),max=Math.max,min=Math.min;module.exports=function(index,length){return(index=toInteger(index))<0?max(index+length,0):min(index,length)}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25),TAG=__w_pdfjs_require__(3)("toStringTag"),ARG="Arguments"==cof(function(){return arguments}());module.exports=function(it){var O,T,B;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(T=function tryGet(it,key){try{return it[key]}catch(e){}}(O=Object(it),TAG))?T:ARG?cof(O):"Object"==(B=cof(O))&&"function"==typeof O.callee?"Arguments":B}},function(module,exports,__w_pdfjs_require__){"use strict";var ctx=__w_pdfjs_require__(11),call=__w_pdfjs_require__(98),isArrayIter=__w_pdfjs_require__(53),anObject=__w_pdfjs_require__(7),toLength=__w_pdfjs_require__(12),getIterFn=__w_pdfjs_require__(57),BREAK={},RETURN={},_exports=module.exports=function(iterable,entries,fn,that,ITERATOR){var length,step,iterator,result,iterFn=ITERATOR?function(){return iterable}:getIterFn(iterable),f=ctx(fn,that,entries?2:1),index=0;if("function"!=typeof iterFn)throw TypeError(iterable+" is not iterable!");if(isArrayIter(iterFn)){for(length=toLength(iterable.length);length>index;index++)if((result=entries?f(anObject(step=iterable[index])[0],step[1]):f(iterable[index]))===BREAK||result===RETURN)return result}else for(iterator=iterFn.call(iterable);!(step=iterator.next()).done;)if((result=call(iterator,f,step.value,entries))===BREAK||result===RETURN)return result};_exports.BREAK=BREAK,_exports.RETURN=RETURN},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2),document=__w_pdfjs_require__(1).document,is=isObject(document)&&isObject(document.createElement);module.exports=function(it){return is?document.createElement(it):{}}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25);module.exports=Object("z").propertyIsEnumerable(0)?Object:function(it){return"String"==cof(it)?it.split(""):Object(it)}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(it){if(null==it)throw TypeError("Can't call method on  "+it);return it}},function(module,exports,__w_pdfjs_require__){"use strict";var shared=__w_pdfjs_require__(51)("keys"),uid=__w_pdfjs_require__(16);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports,__w_pdfjs_require__){"use strict";var $keys=__w_pdfjs_require__(49),enumBugKeys=__w_pdfjs_require__(37);module.exports=Object.keys||function keys(O){return $keys(O,enumBugKeys)}},function(module,exports,__w_pdfjs_require__){"use strict";var ctx=__w_pdfjs_require__(11),IObject=__w_pdfjs_require__(34),toObject=__w_pdfjs_require__(18),toLength=__w_pdfjs_require__(12),asc=__w_pdfjs_require__(82);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(res=f(val=self[index],index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(7),aFunction=__w_pdfjs_require__(22),SPECIES=__w_pdfjs_require__(3)("species");module.exports=function(O,D){var S,C=anObject(O).constructor;return void 0===C||null==(S=anObject(C)[SPECIES])?D:aFunction(S)}},function(module,exports,__w_pdfjs_require__){"use strict";var ITERATOR=__w_pdfjs_require__(3)("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter.return=function(){SAFE_CLOSING=!0},Array.from(riter,(function(){throw 2}))}catch(e){}module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){return{done:safe=!0}},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe}},function(module,exports,__w_pdfjs_require__){"use strict";var aFunction=__w_pdfjs_require__(22);function PromiseCapability(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},META=__w_pdfjs_require__(16)("meta"),isObject=__w_pdfjs_require__(2),has=__w_pdfjs_require__(10),setDesc=__w_pdfjs_require__(13).f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__w_pdfjs_require__(9)((function(){return isExtensible(Object.preventExtensions({}))})),setMeta=function setMeta(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function fastKey(it,create){if(!isObject(it))return"symbol"==(void 0===it?"undefined":_typeof(it))?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function getWeak(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function onFreeze(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.validateResponseStatus=exports.validateRangeRequestCapabilities=exports.createResponseStatusError=void 0;var _util=__w_pdfjs_require__(0);exports.createResponseStatusError=function createResponseStatusError(status,url){return 404===status||0===status&&/^file:/.test(url)?new _util.MissingPDFException('Missing PDF "'+url+'".'):new _util.UnexpectedResponseException("Unexpected server response ("+status+') while retrieving PDF "'+url+'".',status)},exports.validateRangeRequestCapabilities=function validateRangeRequestCapabilities(_ref){var getResponseHeader=_ref.getResponseHeader,isHttp=_ref.isHttp,rangeChunkSize=_ref.rangeChunkSize,disableRange=_ref.disableRange;(0,_util.assert)(rangeChunkSize>0);var returnValues={allowRangeRequests:!1,suggestedLength:void 0};if(disableRange||!isHttp)return returnValues;if("bytes"!==getResponseHeader("Accept-Ranges"))return returnValues;if("identity"!==(getResponseHeader("Content-Encoding")||"identity"))return returnValues;var length=parseInt(getResponseHeader("Content-Length"),10);return Number.isInteger(length)?(returnValues.suggestedLength=length,length<=2*rangeChunkSize||(returnValues.allowRangeRequests=!0),returnValues):returnValues},exports.validateResponseStatus=function validateResponseStatus(status){return 200===status||206===status}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=!__w_pdfjs_require__(8)&&!__w_pdfjs_require__(9)((function(){return 7!=Object.defineProperty(__w_pdfjs_require__(32)("div"),"a",{get:function get(){return 7}}).a}))},function(module,exports,__w_pdfjs_require__){"use strict";for(var Typed,global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(6),uid=__w_pdfjs_require__(16),TYPED=uid("typed_array"),VIEW=uid("view"),ABV=!(!global.ArrayBuffer||!global.DataView),CONSTR=ABV,i=0,TypedArrayConstructors="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");i<9;)(Typed=global[TypedArrayConstructors[i++]])?(hide(Typed.prototype,TYPED,!0),hide(Typed.prototype,VIEW,!0)):CONSTR=!1;module.exports={ABV:ABV,CONSTR:CONSTR,TYPED:TYPED,VIEW:VIEW}},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(17),toLength=__w_pdfjs_require__(12);module.exports=function(it){if(void 0===it)return 0;var number=toInteger(it),length=toLength(number);if(number!==length)throw RangeError("Wrong length!");return length}},function(module,exports,__w_pdfjs_require__){"use strict";var $keys=__w_pdfjs_require__(49),hiddenKeys=__w_pdfjs_require__(37).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function getOwnPropertyNames(O){return $keys(O,hiddenKeys)}},function(module,exports,__w_pdfjs_require__){"use strict";var has=__w_pdfjs_require__(10),toIObject=__w_pdfjs_require__(28),arrayIndexOf=__w_pdfjs_require__(50)(!1),IE_PROTO=__w_pdfjs_require__(36)("IE_PROTO");module.exports=function(object,names){var key,O=toIObject(object),i=0,result=[];for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__w_pdfjs_require__){"use strict";var toIObject=__w_pdfjs_require__(28),toLength=__w_pdfjs_require__(12),toAbsoluteIndex=__w_pdfjs_require__(29);module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},function(module,exports,__w_pdfjs_require__){"use strict";var core=__w_pdfjs_require__(4),global=__w_pdfjs_require__(1),store=global["__core-js_shared__"]||(global["__core-js_shared__"]={});(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:core.version,mode:__w_pdfjs_require__(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(module,exports,__w_pdfjs_require__){"use strict";var toObject=__w_pdfjs_require__(18),toAbsoluteIndex=__w_pdfjs_require__(29),toLength=__w_pdfjs_require__(12);module.exports=function fill(value){for(var O=toObject(this),length=toLength(O.length),aLen=arguments.length,index=toAbsoluteIndex(aLen>1?arguments[1]:void 0,length),end=aLen>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},function(module,exports,__w_pdfjs_require__){"use strict";var Iterators=__w_pdfjs_require__(19),ITERATOR=__w_pdfjs_require__(3)("iterator"),ArrayProto=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayProto[ITERATOR]===it)}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(7),dPs=__w_pdfjs_require__(81),enumBugKeys=__w_pdfjs_require__(37),IE_PROTO=__w_pdfjs_require__(36)("IE_PROTO"),Empty=function Empty(){},_createDict=function createDict(){var iframeDocument,iframe=__w_pdfjs_require__(32)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__w_pdfjs_require__(55).appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("<script>document.F=Object<\/script>"),iframeDocument.close(),_createDict=iframeDocument.F;i--;)delete _createDict.prototype[enumBugKeys[i]];return _createDict()};module.exports=Object.create||function create(O,Properties){var result;return null!==O?(Empty.prototype=anObject(O),result=new Empty,Empty.prototype=null,result[IE_PROTO]=O):result=_createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports,__w_pdfjs_require__){"use strict";var document=__w_pdfjs_require__(1).document;module.exports=document&&document.documentElement},function(module,exports,__w_pdfjs_require__){"use strict";var has=__w_pdfjs_require__(10),toObject=__w_pdfjs_require__(18),IE_PROTO=__w_pdfjs_require__(36)("IE_PROTO"),ObjectProto=Object.prototype;module.exports=Object.getPrototypeOf||function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectProto:null}},function(module,exports,__w_pdfjs_require__){"use strict";var classof=__w_pdfjs_require__(30),ITERATOR=__w_pdfjs_require__(3)("iterator"),Iterators=__w_pdfjs_require__(19);module.exports=__w_pdfjs_require__(4).getIteratorMethod=function(it){if(null!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__w_pdfjs_require__){"use strict";var addToUnscopables=__w_pdfjs_require__(85),step=__w_pdfjs_require__(86),Iterators=__w_pdfjs_require__(19),toIObject=__w_pdfjs_require__(28);module.exports=__w_pdfjs_require__(59)(Array,"Array",(function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind}),(function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__w_pdfjs_require__){"use strict";var LIBRARY=__w_pdfjs_require__(21),$export=__w_pdfjs_require__(5),redefine=__w_pdfjs_require__(14),hide=__w_pdfjs_require__(6),Iterators=__w_pdfjs_require__(19),$iterCreate=__w_pdfjs_require__(87),setToStringTag=__w_pdfjs_require__(26),getPrototypeOf=__w_pdfjs_require__(56),ITERATOR=__w_pdfjs_require__(3)("iterator"),BUGGY=!([].keys&&"next"in[].keys()),returnThis=function returnThis(){return this};module.exports=function(Base,NAME,Constructor,next,DEFAULT,IS_SET,FORCED){$iterCreate(Constructor,NAME,next);var methods,key,IteratorPrototype,getMethod=function getMethod(kind){if(!BUGGY&&kind in proto)return proto[kind];switch(kind){case"keys":return function keys(){return new Constructor(this,kind)};case"values":return function values(){return new Constructor(this,kind)}}return function entries(){return new Constructor(this,kind)}},TAG=NAME+" Iterator",DEF_VALUES="values"==DEFAULT,VALUES_BUG=!1,proto=Base.prototype,$native=proto[ITERATOR]||proto["@@iterator"]||DEFAULT&&proto[DEFAULT],$default=$native||getMethod(DEFAULT),$entries=DEFAULT?DEF_VALUES?getMethod("entries"):$default:void 0,$anyNative="Array"==NAME&&proto.entries||$native;if($anyNative&&(IteratorPrototype=getPrototypeOf($anyNative.call(new Base)))!==Object.prototype&&IteratorPrototype.next&&(setToStringTag(IteratorPrototype,TAG,!0),LIBRARY||"function"==typeof IteratorPrototype[ITERATOR]||hide(IteratorPrototype,ITERATOR,returnThis)),DEF_VALUES&&$native&&"values"!==$native.name&&(VALUES_BUG=!0,$default=function values(){return $native.call(this)}),LIBRARY&&!FORCED||!BUGGY&&!VALUES_BUG&&proto[ITERATOR]||hide(proto,ITERATOR,$default),Iterators[NAME]=$default,Iterators[TAG]=returnThis,DEFAULT)if(methods={values:DEF_VALUES?$default:getMethod("values"),keys:IS_SET?$default:getMethod("keys"),entries:$entries},FORCED)for(key in methods)key in proto||redefine(proto,key,methods[key]);else $export($export.P+$export.F*(BUGGY||VALUES_BUG),NAME,methods);return methods}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),dP=__w_pdfjs_require__(13),DESCRIPTORS=__w_pdfjs_require__(8),SPECIES=__w_pdfjs_require__(3)("species");module.exports=function(KEY){var C=global[KEY];DESCRIPTORS&&C&&!C[SPECIES]&&dP.f(C,SPECIES,{configurable:!0,get:function get(){return this}})}},function(module,exports,__w_pdfjs_require__){"use strict";var pIE=__w_pdfjs_require__(62),createDesc=__w_pdfjs_require__(27),toIObject=__w_pdfjs_require__(28),toPrimitive=__w_pdfjs_require__(33),has=__w_pdfjs_require__(10),IE8_DOM_DEFINE=__w_pdfjs_require__(45),gOPD=Object.getOwnPropertyDescriptor;exports.f=__w_pdfjs_require__(8)?gOPD:function getOwnPropertyDescriptor(O,P){if(O=toIObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return gOPD(O,P)}catch(e){}if(has(O,P))return createDesc(!pIE.f.call(O,P),O[P])}},function(module,exports,__w_pdfjs_require__){"use strict";exports.f={}.propertyIsEnumerable},function(module,exports,__w_pdfjs_require__){"use strict";var classof=__w_pdfjs_require__(30),test={};test[__w_pdfjs_require__(3)("toStringTag")]="z",test+""!="[object z]"&&__w_pdfjs_require__(14)(Object.prototype,"toString",(function toString(){return"[object "+classof(this)+"]"}),!0)},function(module,exports,__w_pdfjs_require__){"use strict";for(var $iterators=__w_pdfjs_require__(58),getKeys=__w_pdfjs_require__(38),redefine=__w_pdfjs_require__(14),global=__w_pdfjs_require__(1),hide=__w_pdfjs_require__(6),Iterators=__w_pdfjs_require__(19),wks=__w_pdfjs_require__(3),ITERATOR=wks("iterator"),TO_STRING_TAG=wks("toStringTag"),ArrayValues=Iterators.Array,DOMIterables={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var key,NAME=collections[i],explicit=DOMIterables[NAME],Collection=global[NAME],proto=Collection&&Collection.prototype;if(proto&&(proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues),proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=ArrayValues,explicit))for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],!0)}},function(module,exports,__w_pdfjs_require__){"use strict";var defer,channel,port,ctx=__w_pdfjs_require__(11),invoke=__w_pdfjs_require__(99),html=__w_pdfjs_require__(55),cel=__w_pdfjs_require__(32),global=__w_pdfjs_require__(1),process=global.process,setTask=global.setImmediate,clearTask=global.clearImmediate,MessageChannel=global.MessageChannel,Dispatch=global.Dispatch,counter=0,queue={},run=function run(){var id=+this;if(queue.hasOwnProperty(id)){var fn=queue[id];delete queue[id],fn()}},listener=function listener(event){run.call(event.data)};setTask&&clearTask||(setTask=function setImmediate(fn){for(var args=[],i=1;arguments.length>i;)args.push(arguments[i++]);return queue[++counter]=function(){invoke("function"==typeof fn?fn:Function(fn),args)},defer(counter),counter},clearTask=function clearImmediate(id){delete queue[id]},"process"==__w_pdfjs_require__(25)(process)?defer=function defer(id){process.nextTick(ctx(run,id,1))}:Dispatch&&Dispatch.now?defer=function defer(id){Dispatch.now(ctx(run,id,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=ctx(port.postMessage,port,1)):global.addEventListener&&"function"==typeof postMessage&&!global.importScripts?(defer=function defer(id){global.postMessage(id+"","*")},global.addEventListener("message",listener,!1)):defer="onreadystatechange"in cel("script")?function defer(id){html.appendChild(cel("script")).onreadystatechange=function(){html.removeChild(this),run.call(id)}}:function defer(id){setTimeout(ctx(run,id,1),0)}),module.exports={set:setTask,clear:clearTask}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(exec){try{return{e:!1,v:exec()}}catch(e){return{e:!0,v:e}}}},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(7),isObject=__w_pdfjs_require__(2),newPromiseCapability=__w_pdfjs_require__(42);module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2);module.exports=function(it,TYPE){if(!isObject(it)||it._t!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required!");return it}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.version=exports._UnsupportedManager=exports.setPDFNetworkStreamClass=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFWorker=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.getDocument=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_util=__w_pdfjs_require__(0),_dom_utils=__w_pdfjs_require__(15),_font_loader=__w_pdfjs_require__(119),_canvas=__w_pdfjs_require__(120),_global_scope2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__w_pdfjs_require__(20)),_metadata=__w_pdfjs_require__(71),_transport_stream=__w_pdfjs_require__(123);var workerSrc,fakeWorkerFilesLoader,isWorkerDisabled=!1,isPostMessageTransfersDisabled=!1,pdfjsFilePath="undefined"!=typeof document&&document.currentScript?document.currentScript.src:null,useRequireEnsure=!1;"undefined"==typeof window?(isWorkerDisabled=!0,useRequireEnsure=!0):useRequireEnsure=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(workerSrc=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var PDFNetworkStream,dynamicLoaderSupported="undefined"!=typeof requirejs&&requirejs.load;function _fetchDocument(worker,source,pdfDataRangeTransport,docId){if(worker.destroyed)return Promise.reject(new Error("Worker was destroyed"));return source.disableAutoFetch=(0,_dom_utils.getDefaultSetting)("disableAutoFetch"),source.disableStream=(0,_dom_utils.getDefaultSetting)("disableStream"),source.chunkedViewerLoading=!!pdfDataRangeTransport,pdfDataRangeTransport&&(source.length=pdfDataRangeTransport.length,source.initialData=pdfDataRangeTransport.initialData),worker.messageHandler.sendWithPromise("GetDocRequest",{docId:docId,apiVersion:"1.10.100",source:{data:source.data,url:source.url,password:source.password,disableAutoFetch:source.disableAutoFetch,rangeChunkSize:source.rangeChunkSize,length:source.length},maxImageSize:(0,_dom_utils.getDefaultSetting)("maxImageSize"),disableFontFace:(0,_dom_utils.getDefaultSetting)("disableFontFace"),disableCreateObjectURL:(0,_dom_utils.getDefaultSetting)("disableCreateObjectURL"),postMessageTransfers:(0,_dom_utils.getDefaultSetting)("postMessageTransfers")&&!isPostMessageTransfersDisabled,docBaseUrl:source.docBaseUrl,nativeImageDecoderSupport:source.nativeImageDecoderSupport,ignoreErrors:source.ignoreErrors,isEvalSupported:(0,_dom_utils.getDefaultSetting)("isEvalSupported")}).then((function(workerId){if(worker.destroyed)throw new Error("Worker was destroyed");return workerId}))}fakeWorkerFilesLoader=useRequireEnsure?function(callback){__webpack_require__.e("vendors").then(function(){var worker;worker=__webpack_require__("Vdsi"),callback(worker.WorkerMessageHandler)}.bind(null,__webpack_require__)).catch(__webpack_require__.oe)}:dynamicLoaderSupported?function(callback){requirejs(["pdfjs-dist/build/pdf.worker"],(function(worker){callback(worker.WorkerMessageHandler)}))}:null;var PDFDocumentLoadingTask=function PDFDocumentLoadingTaskClosure(){var nextDocumentId=0;function PDFDocumentLoadingTask(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+nextDocumentId++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return PDFDocumentLoadingTask.prototype={get promise(){return this._capability.promise},destroy:function destroy(){var _this=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((function(){_this._transport=null,_this._worker&&(_this._worker.destroy(),_this._worker=null)}))},then:function PDFDocumentLoadingTask_then(onFulfilled,onRejected){return this.promise.then.apply(this.promise,arguments)}},PDFDocumentLoadingTask}(),PDFDataRangeTransport=function pdfDataRangeTransportClosure(){function PDFDataRangeTransport(length,initialData){this.length=length,this.initialData=initialData,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return PDFDataRangeTransport.prototype={addRangeListener:function PDFDataRangeTransport_addRangeListener(listener){this._rangeListeners.push(listener)},addProgressListener:function PDFDataRangeTransport_addProgressListener(listener){this._progressListeners.push(listener)},addProgressiveReadListener:function PDFDataRangeTransport_addProgressiveReadListener(listener){this._progressiveReadListeners.push(listener)},onDataRange:function PDFDataRangeTransport_onDataRange(begin,chunk){for(var listeners=this._rangeListeners,i=0,n=listeners.length;i<n;++i)listeners[i](begin,chunk)},onDataProgress:function PDFDataRangeTransport_onDataProgress(loaded){var _this2=this;this._readyCapability.promise.then((function(){for(var listeners=_this2._progressListeners,i=0,n=listeners.length;i<n;++i)listeners[i](loaded)}))},onDataProgressiveRead:function PDFDataRangeTransport_onDataProgress(chunk){var _this3=this;this._readyCapability.promise.then((function(){for(var listeners=_this3._progressiveReadListeners,i=0,n=listeners.length;i<n;++i)listeners[i](chunk)}))},transportReady:function PDFDataRangeTransport_transportReady(){this._readyCapability.resolve()},requestDataRange:function PDFDataRangeTransport_requestDataRange(begin,end){throw new Error("Abstract method PDFDataRangeTransport.requestDataRange")},abort:function PDFDataRangeTransport_abort(){}},PDFDataRangeTransport}(),PDFDocumentProxy=function PDFDocumentProxyClosure(){function PDFDocumentProxy(pdfInfo,transport,loadingTask){this.pdfInfo=pdfInfo,this.transport=transport,this.loadingTask=loadingTask}return PDFDocumentProxy.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function PDFDocumentProxy_getPage(pageNumber){return this.transport.getPage(pageNumber)},getPageIndex:function PDFDocumentProxy_getPageIndex(ref){return this.transport.getPageIndex(ref)},getDestinations:function PDFDocumentProxy_getDestinations(){return this.transport.getDestinations()},getDestination:function PDFDocumentProxy_getDestination(id){return this.transport.getDestination(id)},getPageLabels:function PDFDocumentProxy_getPageLabels(){return this.transport.getPageLabels()},getPageMode:function getPageMode(){return this.transport.getPageMode()},getAttachments:function PDFDocumentProxy_getAttachments(){return this.transport.getAttachments()},getJavaScript:function PDFDocumentProxy_getJavaScript(){return this.transport.getJavaScript()},getOutline:function PDFDocumentProxy_getOutline(){return this.transport.getOutline()},getMetadata:function PDFDocumentProxy_getMetadata(){return this.transport.getMetadata()},getData:function PDFDocumentProxy_getData(){return this.transport.getData()},getDownloadInfo:function PDFDocumentProxy_getDownloadInfo(){return this.transport.downloadInfoCapability.promise},getStats:function PDFDocumentProxy_getStats(){return this.transport.getStats()},cleanup:function PDFDocumentProxy_cleanup(){this.transport.startCleanup()},destroy:function PDFDocumentProxy_destroy(){return this.loadingTask.destroy()}},PDFDocumentProxy}(),PDFPageProxy=function PDFPageProxyClosure(){function PDFPageProxy(pageIndex,pageInfo,transport){this.pageIndex=pageIndex,this.pageInfo=pageInfo,this.transport=transport,this.stats=new _util.StatTimer,this.stats.enabled=(0,_dom_utils.getDefaultSetting)("enableStats"),this.commonObjs=transport.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return PDFPageProxy.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get userUnit(){return this.pageInfo.userUnit},get view(){return this.pageInfo.view},getViewport:function PDFPageProxy_getViewport(scale,rotate){return arguments.length<2&&(rotate=this.rotate),new _util.PageViewport(this.view,scale,rotate,0,0)},getAnnotations:function PDFPageProxy_getAnnotations(params){var intent=params&&params.intent||null;return this.annotationsPromise&&this.annotationsIntent===intent||(this.annotationsPromise=this.transport.getAnnotations(this.pageIndex,intent),this.annotationsIntent=intent),this.annotationsPromise},render:function PDFPageProxy_render(params){var _this4=this,stats=this.stats;stats.time("Overall"),this.pendingCleanup=!1;var renderingIntent="print"===params.intent?"print":"display",canvasFactory=params.canvasFactory||new _dom_utils.DOMCanvasFactory;this.intentStates[renderingIntent]||(this.intentStates[renderingIntent]=Object.create(null));var intentState=this.intentStates[renderingIntent];intentState.displayReadyCapability||(intentState.receivingOperatorList=!0,intentState.displayReadyCapability=(0,_util.createPromiseCapability)(),intentState.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:renderingIntent,renderInteractiveForms:!0===params.renderInteractiveForms}));var complete=function complete(error){var i=intentState.renderTasks.indexOf(internalRenderTask);i>=0&&intentState.renderTasks.splice(i,1),_this4.cleanupAfterRender&&(_this4.pendingCleanup=!0),_this4._tryCleanup(),error?internalRenderTask.capability.reject(error):internalRenderTask.capability.resolve(),stats.timeEnd("Rendering"),stats.timeEnd("Overall")},internalRenderTask=new InternalRenderTask(complete,params,this.objs,this.commonObjs,intentState.operatorList,this.pageNumber,canvasFactory);internalRenderTask.useRequestAnimationFrame="print"!==renderingIntent,intentState.renderTasks||(intentState.renderTasks=[]),intentState.renderTasks.push(internalRenderTask);var renderTask=internalRenderTask.task;return params.continueCallback&&((0,_util.deprecated)("render is used with continueCallback parameter"),renderTask.onContinue=params.continueCallback),intentState.displayReadyCapability.promise.then((function(transparency){_this4.pendingCleanup?complete():(stats.time("Rendering"),internalRenderTask.initializeGraphics(transparency),internalRenderTask.operatorListChanged())})).catch(complete),renderTask},getOperatorList:function PDFPageProxy_getOperatorList(){this.intentStates.oplist||(this.intentStates.oplist=Object.create(null));var opListTask,intentState=this.intentStates.oplist;return intentState.opListReadCapability||((opListTask={}).operatorListChanged=function operatorListChanged(){if(intentState.operatorList.lastChunk){intentState.opListReadCapability.resolve(intentState.operatorList);var i=intentState.renderTasks.indexOf(opListTask);i>=0&&intentState.renderTasks.splice(i,1)}},intentState.receivingOperatorList=!0,intentState.opListReadCapability=(0,_util.createPromiseCapability)(),intentState.renderTasks=[],intentState.renderTasks.push(opListTask),intentState.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:"oplist"})),intentState.opListReadCapability.promise},streamTextContent:function streamTextContent(){var params=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},TEXT_CONTENT_CHUNK_SIZE=100;return this.transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===params.normalizeWhitespace,combineTextItems:!0!==params.disableCombineTextItems},{highWaterMark:TEXT_CONTENT_CHUNK_SIZE,size:function size(textContent){return textContent.items.length}})},getTextContent:function PDFPageProxy_getTextContent(params){params=params||{};var readableStream=this.streamTextContent(params);return new Promise((function(resolve,reject){var reader=readableStream.getReader(),textContent={items:[],styles:Object.create(null)};!function pump(){reader.read().then((function(_ref){var value=_ref.value;_ref.done?resolve(textContent):(_util.Util.extendObj(textContent.styles,value.styles),_util.Util.appendToArray(textContent.items,value.items),pump())}),reject)}()}))},_destroy:function PDFPageProxy_destroy(){this.destroyed=!0,this.transport.pageCache[this.pageIndex]=null;var waitOn=[];return Object.keys(this.intentStates).forEach((function(intent){"oplist"!==intent&&this.intentStates[intent].renderTasks.forEach((function(renderTask){var renderCompleted=renderTask.capability.promise.catch((function(){}));waitOn.push(renderCompleted),renderTask.cancel()}))}),this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(waitOn)},destroy:function destroy(){(0,_util.deprecated)("page destroy method, use cleanup() instead"),this.cleanup()},cleanup:function PDFPageProxy_cleanup(){this.pendingCleanup=!0,this._tryCleanup()},_tryCleanup:function PDFPageProxy_tryCleanup(){this.pendingCleanup&&!Object.keys(this.intentStates).some((function(intent){var intentState=this.intentStates[intent];return 0!==intentState.renderTasks.length||intentState.receivingOperatorList}),this)&&(Object.keys(this.intentStates).forEach((function(intent){delete this.intentStates[intent]}),this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1)},_startRenderPage:function PDFPageProxy_startRenderPage(transparency,intent){var intentState=this.intentStates[intent];intentState.displayReadyCapability&&intentState.displayReadyCapability.resolve(transparency)},_renderPageChunk:function PDFPageProxy_renderPageChunk(operatorListChunk,intent){var i,ii,intentState=this.intentStates[intent];for(i=0,ii=operatorListChunk.length;i<ii;i++)intentState.operatorList.fnArray.push(operatorListChunk.fnArray[i]),intentState.operatorList.argsArray.push(operatorListChunk.argsArray[i]);for(intentState.operatorList.lastChunk=operatorListChunk.lastChunk,i=0;i<intentState.renderTasks.length;i++)intentState.renderTasks[i].operatorListChanged();operatorListChunk.lastChunk&&(intentState.receivingOperatorList=!1,this._tryCleanup())}},PDFPageProxy}(),LoopbackPort=function(){function LoopbackPort(defer){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,LoopbackPort),this._listeners=[],this._defer=defer,this._deferred=Promise.resolve(void 0)}return _createClass(LoopbackPort,[{key:"postMessage",value:function postMessage(obj,transfers){var _this5=this;if(this._defer){var cloned=new WeakMap,e={data:function cloneValue(value){if("object"!==(void 0===value?"undefined":_typeof(value))||null===value)return value;if(cloned.has(value))return cloned.get(value);var result,buffer;if((buffer=value.buffer)&&(0,_util.isArrayBuffer)(buffer)){var transferable=transfers&&transfers.indexOf(buffer)>=0;return result=value===buffer?value:transferable?new value.constructor(buffer,value.byteOffset,value.byteLength):new value.constructor(value),cloned.set(value,result),result}for(var i in result=Array.isArray(value)?[]:{},cloned.set(value,result),value){for(var desc,p=value;!(desc=Object.getOwnPropertyDescriptor(p,i));)p=Object.getPrototypeOf(p);void 0!==desc.value&&"function"!=typeof desc.value&&(result[i]=cloneValue(desc.value))}return result}(obj)};this._deferred.then((function(){_this5._listeners.forEach((function(listener){listener.call(this,e)}),_this5)}))}else this._listeners.forEach((function(listener){listener.call(this,{data:obj})}),this)}},{key:"addEventListener",value:function addEventListener(name,listener){this._listeners.push(listener)}},{key:"removeEventListener",value:function removeEventListener(name,listener){var i=this._listeners.indexOf(listener);this._listeners.splice(i,1)}},{key:"terminate",value:function terminate(){this._listeners=[]}}]),LoopbackPort}(),PDFWorker=function PDFWorkerClosure(){var nextFakeWorkerId=0;function getWorkerSrc(){if(void 0!==workerSrc)return workerSrc;if((0,_dom_utils.getDefaultSetting)("workerSrc"))return(0,_dom_utils.getDefaultSetting)("workerSrc");if(pdfjsFilePath)return pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2");throw new Error("No PDFJS.workerSrc specified")}var fakeWorkerFilesLoadedCapability=void 0;var pdfWorkerPorts=new WeakMap;function PDFWorker(name,port){if(port&&pdfWorkerPorts.has(port))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=name,this.destroyed=!1,this.postMessageTransfers=!0,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,port)return pdfWorkerPorts.set(port,this),void this._initializeFromPort(port);this._initialize()}return PDFWorker.prototype={get promise(){return this._readyCapability.promise},get port(){return this._port},get messageHandler(){return this._messageHandler},_initializeFromPort:function PDFWorker_initializeFromPort(port){this._port=port,this._messageHandler=new _util.MessageHandler("main","worker",port),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()},_initialize:function PDFWorker_initialize(){var _this6=this;if(!isWorkerDisabled&&!(0,_dom_utils.getDefaultSetting)("disableWorker")&&"undefined"!=typeof Worker){var workerSrc=getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,workerSrc)||(workerSrc=function createCDNWrapper(url){var wrapper="importScripts('"+url+"');";return URL.createObjectURL(new Blob([wrapper]))}(new URL(workerSrc,window.location).href));var worker=new Worker(workerSrc),messageHandler=new _util.MessageHandler("main","worker",worker),terminateEarly=function terminateEarly(){worker.removeEventListener("error",onWorkerError),messageHandler.destroy(),worker.terminate(),_this6.destroyed?_this6._readyCapability.reject(new Error("Worker was destroyed")):_this6._setupFakeWorker()},onWorkerError=function onWorkerError(){_this6._webWorker||terminateEarly()};worker.addEventListener("error",onWorkerError),messageHandler.on("test",(function(data){(worker.removeEventListener("error",onWorkerError),_this6.destroyed)?terminateEarly():data&&data.supportTypedArray?(_this6._messageHandler=messageHandler,_this6._port=worker,_this6._webWorker=worker,data.supportTransfers||(_this6.postMessageTransfers=!1,isPostMessageTransfersDisabled=!0),_this6._readyCapability.resolve(),messageHandler.send("configure",{verbosity:(0,_util.getVerbosityLevel)()})):(_this6._setupFakeWorker(),messageHandler.destroy(),worker.terminate())})),messageHandler.on("console_log",(function(data){console.log.apply(console,data)})),messageHandler.on("console_error",(function(data){console.error.apply(console,data)})),messageHandler.on("ready",(function(data){if(worker.removeEventListener("error",onWorkerError),_this6.destroyed)terminateEarly();else try{sendTest()}catch(e){_this6._setupFakeWorker()}}));var sendTest=function sendTest(){var postMessageTransfers=(0,_dom_utils.getDefaultSetting)("postMessageTransfers")&&!isPostMessageTransfersDisabled,testObj=new Uint8Array([postMessageTransfers?255:0]);try{messageHandler.send("test",testObj,[testObj.buffer])}catch(ex){(0,_util.info)("Cannot use postMessage transfers"),testObj[0]=0,messageHandler.send("test",testObj)}};return void sendTest()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()},_setupFakeWorker:function PDFWorker_setupFakeWorker(){var _this7=this;isWorkerDisabled||(0,_dom_utils.getDefaultSetting)("disableWorker")||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),function setupFakeWorkerGlobal(){return fakeWorkerFilesLoadedCapability||(fakeWorkerFilesLoadedCapability=(0,_util.createPromiseCapability)(),(fakeWorkerFilesLoader||function(callback){_util.Util.loadScript(getWorkerSrc(),(function(){callback(window.pdfjsDistBuildPdfWorker.WorkerMessageHandler)}))})(fakeWorkerFilesLoadedCapability.resolve)),fakeWorkerFilesLoadedCapability.promise}().then((function(WorkerMessageHandler){if(_this7.destroyed)_this7._readyCapability.reject(new Error("Worker was destroyed"));else{var isTypedArraysPresent=Uint8Array!==Float32Array,port=new LoopbackPort(isTypedArraysPresent);_this7._port=port;var id="fake"+nextFakeWorkerId++,workerHandler=new _util.MessageHandler(id+"_worker",id,port);WorkerMessageHandler.setup(workerHandler,port);var messageHandler=new _util.MessageHandler(id,id+"_worker",port);_this7._messageHandler=messageHandler,_this7._readyCapability.resolve()}}))},destroy:function PDFWorker_destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},PDFWorker.fromPort=function(port){return pdfWorkerPorts.has(port)?pdfWorkerPorts.get(port):new PDFWorker(null,port)},PDFWorker}(),WorkerTransport=function WorkerTransportClosure(){function WorkerTransport(messageHandler,loadingTask,networkStream,CMapReaderFactory){this.messageHandler=messageHandler,this.loadingTask=loadingTask,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader(loadingTask.docId),this.CMapReaderFactory=new CMapReaderFactory({baseUrl:(0,_dom_utils.getDefaultSetting)("cMapUrl"),isCompressed:(0,_dom_utils.getDefaultSetting)("cMapPacked")}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=networkStream,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}return WorkerTransport.prototype={destroy:function WorkerTransport_destroy(){var _this8=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var waitOn=[];this.pageCache.forEach((function(page){page&&waitOn.push(page._destroy())})),this.pageCache=[],this.pagePromises=[];var terminated=this.messageHandler.sendWithPromise("Terminate",null);return waitOn.push(terminated),Promise.all(waitOn).then((function(){_this8.fontLoader.clear(),_this8._networkStream&&_this8._networkStream.cancelAllRequests(),_this8.messageHandler&&(_this8.messageHandler.destroy(),_this8.messageHandler=null),_this8.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise},setupMessageHandler:function WorkerTransport_setupMessageHandler(){var messageHandler=this.messageHandler,loadingTask=this.loadingTask;messageHandler.on("GetReader",(function(data,sink){var _this9=this;(0,_util.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(evt){_this9._lastProgress={loaded:evt.loaded,total:evt.total}},sink.onPull=function(){_this9._fullReader.read().then((function(_ref2){var value=_ref2.value;_ref2.done?sink.close():((0,_util.assert)((0,_util.isArrayBuffer)(value)),sink.enqueue(new Uint8Array(value),1,[value]))})).catch((function(reason){sink.error(reason)}))},sink.onCancel=function(reason){_this9._fullReader.cancel(reason)}}),this),messageHandler.on("ReaderHeadersReady",(function(data){var _this10=this,headersCapability=(0,_util.createPromiseCapability)(),fullReader=this._fullReader;return fullReader.headersReady.then((function(){if(!fullReader.isStreamingSupported||!fullReader.isRangeSupported){if(_this10._lastProgress){var _loadingTask=_this10.loadingTask;_loadingTask.onProgress&&_loadingTask.onProgress(_this10._lastProgress)}fullReader.onProgress=function(evt){var loadingTask=_this10.loadingTask;loadingTask.onProgress&&loadingTask.onProgress({loaded:evt.loaded,total:evt.total})}}headersCapability.resolve({isStreamingSupported:fullReader.isStreamingSupported,isRangeSupported:fullReader.isRangeSupported,contentLength:fullReader.contentLength})}),headersCapability.reject),headersCapability.promise}),this),messageHandler.on("GetRangeReader",(function(data,sink){(0,_util.assert)(this._networkStream);var _rangeReader=this._networkStream.getRangeReader(data.begin,data.end);sink.onPull=function(){_rangeReader.read().then((function(_ref3){var value=_ref3.value;_ref3.done?sink.close():((0,_util.assert)((0,_util.isArrayBuffer)(value)),sink.enqueue(new Uint8Array(value),1,[value]))})).catch((function(reason){sink.error(reason)}))},sink.onCancel=function(reason){_rangeReader.cancel(reason)}}),this),messageHandler.on("GetDoc",(function transportDoc(data){var pdfInfo=data.pdfInfo;this.numPages=data.pdfInfo.numPages;var loadingTask=this.loadingTask,pdfDocument=new PDFDocumentProxy(pdfInfo,this,loadingTask);this.pdfDocument=pdfDocument,loadingTask._capability.resolve(pdfDocument)}),this),messageHandler.on("PasswordRequest",(function transportPasswordRequest(exception){var _this11=this;if(this._passwordCapability=(0,_util.createPromiseCapability)(),loadingTask.onPassword){loadingTask.onPassword((function updatePassword(password){_this11._passwordCapability.resolve({password:password})}),exception.code)}else this._passwordCapability.reject(new _util.PasswordException(exception.message,exception.code));return this._passwordCapability.promise}),this),messageHandler.on("PasswordException",(function transportPasswordException(exception){loadingTask._capability.reject(new _util.PasswordException(exception.message,exception.code))}),this),messageHandler.on("InvalidPDF",(function transportInvalidPDF(exception){this.loadingTask._capability.reject(new _util.InvalidPDFException(exception.message))}),this),messageHandler.on("MissingPDF",(function transportMissingPDF(exception){this.loadingTask._capability.reject(new _util.MissingPDFException(exception.message))}),this),messageHandler.on("UnexpectedResponse",(function transportUnexpectedResponse(exception){this.loadingTask._capability.reject(new _util.UnexpectedResponseException(exception.message,exception.status))}),this),messageHandler.on("UnknownError",(function transportUnknownError(exception){this.loadingTask._capability.reject(new _util.UnknownErrorException(exception.message,exception.details))}),this),messageHandler.on("DataLoaded",(function transportPage(data){this.downloadInfoCapability.resolve(data)}),this),messageHandler.on("PDFManagerReady",(function transportPage(data){}),this),messageHandler.on("StartRenderPage",(function transportRender(data){if(!this.destroyed){var page=this.pageCache[data.pageIndex];page.stats.timeEnd("Page Request"),page._startRenderPage(data.transparency,data.intent)}}),this),messageHandler.on("RenderPageChunk",(function transportRender(data){this.destroyed||this.pageCache[data.pageIndex]._renderPageChunk(data.operatorList,data.intent)}),this),messageHandler.on("commonobj",(function transportObj(data){var _this12=this;if(!this.destroyed){var id=data[0],type=data[1];if(!this.commonObjs.hasData(id))switch(type){case"Font":var exportedData=data[2];if("error"in exportedData){var exportedError=exportedData.error;(0,_util.warn)("Error during font loading: "+exportedError),this.commonObjs.resolve(id,exportedError);break}var fontRegistry=null;(0,_dom_utils.getDefaultSetting)("pdfBug")&&_global_scope2.default.FontInspector&&_global_scope2.default.FontInspector.enabled&&(fontRegistry={registerFont:function registerFont(font,url){_global_scope2.default.FontInspector.fontAdded(font,url)}});var font=new _font_loader.FontFaceObject(exportedData,{isEvalSupported:(0,_dom_utils.getDefaultSetting)("isEvalSupported"),disableFontFace:(0,_dom_utils.getDefaultSetting)("disableFontFace"),fontRegistry:fontRegistry});this.fontLoader.bind([font],(function fontReady(fontObjs){_this12.commonObjs.resolve(id,font)}));break;case"FontPath":this.commonObjs.resolve(id,data[2]);break;default:throw new Error("Got unknown common object type "+type)}}}),this),messageHandler.on("obj",(function transportObj(data){if(!this.destroyed){var imageData,id=data[0],pageIndex=data[1],type=data[2],pageProxy=this.pageCache[pageIndex];if(!pageProxy.objs.hasData(id))switch(type){case"JpegStream":imageData=data[3],(0,_util.loadJpegStream)(id,imageData,pageProxy.objs);break;case"Image":imageData=data[3],pageProxy.objs.resolve(id,imageData);imageData&&"data"in imageData&&imageData.data.length>8e6&&(pageProxy.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type "+type)}}}),this),messageHandler.on("DocProgress",(function transportDocProgress(data){if(!this.destroyed){var loadingTask=this.loadingTask;loadingTask.onProgress&&loadingTask.onProgress({loaded:data.loaded,total:data.total})}}),this),messageHandler.on("PageError",(function transportError(data){if(!this.destroyed){var intentState=this.pageCache[data.pageNum-1].intentStates[data.intent];if(!intentState.displayReadyCapability)throw new Error(data.error);if(intentState.displayReadyCapability.reject(data.error),intentState.operatorList){intentState.operatorList.lastChunk=!0;for(var i=0;i<intentState.renderTasks.length;i++)intentState.renderTasks[i].operatorListChanged()}}}),this),messageHandler.on("UnsupportedFeature",(function transportUnsupportedFeature(data){if(!this.destroyed){var featureId=data.featureId,loadingTask=this.loadingTask;loadingTask.onUnsupportedFeature&&loadingTask.onUnsupportedFeature(featureId),_UnsupportedManager.notify(featureId)}}),this),messageHandler.on("JpegDecode",(function(data){if(this.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(new Error('"document" is not defined.'));var imageUrl=data[0],components=data[1];return 3!==components&&1!==components?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise((function(resolve,reject){var img=new Image;img.onload=function(){var width=img.width,height=img.height,size=width*height,rgbaLength=4*size,buf=new Uint8Array(size*components),tmpCanvas=document.createElement("canvas");tmpCanvas.width=width,tmpCanvas.height=height;var tmpCtx=tmpCanvas.getContext("2d");tmpCtx.drawImage(img,0,0);var i,j,data=tmpCtx.getImageData(0,0,width,height).data;if(3===components)for(i=0,j=0;i<rgbaLength;i+=4,j+=3)buf[j]=data[i],buf[j+1]=data[i+1],buf[j+2]=data[i+2];else if(1===components)for(i=0,j=0;i<rgbaLength;i+=4,j++)buf[j]=data[i];resolve({data:buf,width:width,height:height})},img.onerror=function(){reject(new Error("JpegDecode failed to load image"))},img.src=imageUrl}))}),this),messageHandler.on("FetchBuiltInCMap",(function(data){return this.destroyed?Promise.reject(new Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:data.name})}),this)},getData:function WorkerTransport_getData(){return this.messageHandler.sendWithPromise("GetData",null)},getPage:function WorkerTransport_getPage(pageNumber,capability){var _this13=this;if(!Number.isInteger(pageNumber)||pageNumber<=0||pageNumber>this.numPages)return Promise.reject(new Error("Invalid page request"));var pageIndex=pageNumber-1;if(pageIndex in this.pagePromises)return this.pagePromises[pageIndex];var promise=this.messageHandler.sendWithPromise("GetPage",{pageIndex:pageIndex}).then((function(pageInfo){if(_this13.destroyed)throw new Error("Transport destroyed");var page=new PDFPageProxy(pageIndex,pageInfo,_this13);return _this13.pageCache[pageIndex]=page,page}));return this.pagePromises[pageIndex]=promise,promise},getPageIndex:function WorkerTransport_getPageIndexByRef(ref){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:ref}).catch((function(reason){return Promise.reject(new Error(reason))}))},getAnnotations:function WorkerTransport_getAnnotations(pageIndex,intent){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:pageIndex,intent:intent})},getDestinations:function WorkerTransport_getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function WorkerTransport_getDestination(id){return this.messageHandler.sendWithPromise("GetDestination",{id:id})},getPageLabels:function WorkerTransport_getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)},getPageMode:function getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)},getAttachments:function WorkerTransport_getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function WorkerTransport_getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function WorkerTransport_getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function WorkerTransport_getMetadata(){return this.messageHandler.sendWithPromise("GetMetadata",null).then((function transportMetadata(results){return{info:results[0],metadata:results[1]?new _metadata.Metadata(results[1]):null}}))},getStats:function WorkerTransport_getStats(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function WorkerTransport_startCleanup(){var _this14=this;this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var i=0,ii=_this14.pageCache.length;i<ii;i++){var page=_this14.pageCache[i];page&&page.cleanup()}_this14.commonObjs.clear(),_this14.fontLoader.clear()}))}},WorkerTransport}(),PDFObjects=function PDFObjectsClosure(){function PDFObjects(){this.objs=Object.create(null)}return PDFObjects.prototype={ensureObj:function PDFObjects_ensureObj(objId){if(this.objs[objId])return this.objs[objId];var obj={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1};return this.objs[objId]=obj,obj},get:function PDFObjects_get(objId,callback){if(callback)return this.ensureObj(objId).capability.promise.then(callback),null;var obj=this.objs[objId];if(!obj||!obj.resolved)throw new Error("Requesting object that isn't resolved yet "+objId);return obj.data},resolve:function PDFObjects_resolve(objId,data){var obj=this.ensureObj(objId);obj.resolved=!0,obj.data=data,obj.capability.resolve(data)},isResolved:function PDFObjects_isResolved(objId){var objs=this.objs;return!!objs[objId]&&objs[objId].resolved},hasData:function PDFObjects_hasData(objId){return this.isResolved(objId)},getData:function PDFObjects_getData(objId){var objs=this.objs;return objs[objId]&&objs[objId].resolved?objs[objId].data:null},clear:function PDFObjects_clear(){this.objs=Object.create(null)}},PDFObjects}(),RenderTask=function RenderTaskClosure(){function RenderTask(internalRenderTask){this._internalRenderTask=internalRenderTask,this.onContinue=null}return RenderTask.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function RenderTask_cancel(){this._internalRenderTask.cancel()},then:function RenderTask_then(onFulfilled,onRejected){return this.promise.then.apply(this.promise,arguments)}},RenderTask}(),InternalRenderTask=function InternalRenderTaskClosure(){var canvasInRendering=new WeakMap;function InternalRenderTask(callback,params,objs,commonObjs,operatorList,pageNumber,canvasFactory){this.callback=callback,this.params=params,this.objs=objs,this.commonObjs=commonObjs,this.operatorListIdx=null,this.operatorList=operatorList,this.pageNumber=pageNumber,this.canvasFactory=canvasFactory,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this.useRequestAnimationFrame=!1,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=params.canvasContext.canvas}return InternalRenderTask.prototype={initializeGraphics:function InternalRenderTask_initializeGraphics(transparency){if(this._canvas){if(canvasInRendering.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");canvasInRendering.set(this._canvas,this)}if(!this.cancelled){(0,_dom_utils.getDefaultSetting)("pdfBug")&&_global_scope2.default.StepperManager&&_global_scope2.default.StepperManager.enabled&&(this.stepper=_global_scope2.default.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var params=this.params;this.gfx=new _canvas.CanvasGraphics(params.canvasContext,this.commonObjs,this.objs,this.canvasFactory,params.imageLayer),this.gfx.beginDrawing({transform:params.transform,viewport:params.viewport,transparency:transparency,background:params.background}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function InternalRenderTask_cancel(){this.running=!1,this.cancelled=!0,this._canvas&&canvasInRendering.delete(this._canvas),(0,_dom_utils.getDefaultSetting)("pdfjsNext")?this.callback(new _dom_utils.RenderingCancelledException("Rendering cancelled, page "+this.pageNumber,"canvas")):this.callback("cancelled")},operatorListChanged:function InternalRenderTask_operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)},_continue:function InternalRenderTask__continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function InternalRenderTask__scheduleNext(){this.useRequestAnimationFrame&&"undefined"!=typeof window?window.requestAnimationFrame(this._nextBound):Promise.resolve(void 0).then(this._nextBound)},_next:function InternalRenderTask__next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback())))}},InternalRenderTask}(),_UnsupportedManager=function UnsupportedManagerClosure(){var listeners=[];return{listen:function listen(cb){(0,_util.deprecated)("Global UnsupportedManager.listen is used:  use PDFDocumentLoadingTask.onUnsupportedFeature instead"),listeners.push(cb)},notify:function notify(featureId){for(var i=0,ii=listeners.length;i<ii;i++)listeners[i](featureId)}}}();exports.version="1.10.100",exports.build="ea29ec83",exports.getDocument=function getDocument(src,pdfDataRangeTransport,passwordCallback,progressCallback){var source,task=new PDFDocumentLoadingTask;if(arguments.length>1&&(0,_util.deprecated)("getDocument is called with pdfDataRangeTransport, passwordCallback or progressCallback argument"),pdfDataRangeTransport&&(pdfDataRangeTransport instanceof PDFDataRangeTransport||((pdfDataRangeTransport=Object.create(pdfDataRangeTransport)).length=src.length,pdfDataRangeTransport.initialData=src.initialData,pdfDataRangeTransport.abort||(pdfDataRangeTransport.abort=function(){})),(src=Object.create(src)).range=pdfDataRangeTransport),task.onPassword=passwordCallback||null,task.onProgress=progressCallback||null,"string"==typeof src)source={url:src};else if((0,_util.isArrayBuffer)(src))source={data:src};else if(src instanceof PDFDataRangeTransport)source={range:src};else{if("object"!==(void 0===src?"undefined":_typeof(src)))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!src.url&&!src.data&&!src.range)throw new Error("Invalid parameter object: need either .data, .range or .url");source=src}var params={},rangeTransport=null,worker=null,CMapReaderFactory=_dom_utils.DOMCMapReaderFactory;for(var key in source)if("url"!==key||"undefined"==typeof window)if("range"!==key)if("worker"!==key)if("data"!==key||source[key]instanceof Uint8Array)"CMapReaderFactory"!==key?params[key]=source[key]:CMapReaderFactory=source[key];else{var pdfBytes=source[key];if("string"==typeof pdfBytes)params[key]=(0,_util.stringToBytes)(pdfBytes);else if("object"!==(void 0===pdfBytes?"undefined":_typeof(pdfBytes))||null===pdfBytes||isNaN(pdfBytes.length)){if(!(0,_util.isArrayBuffer)(pdfBytes))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");params[key]=new Uint8Array(pdfBytes)}else params[key]=new Uint8Array(pdfBytes)}else worker=source[key];else rangeTransport=source[key];else params[key]=new URL(source[key],window.location).href;if(params.rangeChunkSize=params.rangeChunkSize||65536,params.ignoreErrors=!0!==params.stopAtErrors,void 0!==params.disableNativeImageDecoder&&(0,_util.deprecated)("parameter disableNativeImageDecoder, use nativeImageDecoderSupport instead"),params.nativeImageDecoderSupport=params.nativeImageDecoderSupport||(!0===params.disableNativeImageDecoder?_util.NativeImageDecoding.NONE:_util.NativeImageDecoding.DECODE),params.nativeImageDecoderSupport!==_util.NativeImageDecoding.DECODE&&params.nativeImageDecoderSupport!==_util.NativeImageDecoding.NONE&&params.nativeImageDecoderSupport!==_util.NativeImageDecoding.DISPLAY&&((0,_util.warn)("Invalid parameter nativeImageDecoderSupport: need a state of enum {NativeImageDecoding}"),params.nativeImageDecoderSupport=_util.NativeImageDecoding.DECODE),!worker){var workerPort=(0,_dom_utils.getDefaultSetting)("workerPort");worker=workerPort?PDFWorker.fromPort(workerPort):new PDFWorker,task._worker=worker}var docId=task.docId;return worker.promise.then((function(){if(task.destroyed)throw new Error("Loading aborted");return _fetchDocument(worker,params,rangeTransport,docId).then((function(workerId){if(task.destroyed)throw new Error("Loading aborted");var networkStream=void 0;rangeTransport?networkStream=new _transport_stream.PDFDataTransportStream(params,rangeTransport):params.data||(networkStream=new PDFNetworkStream({source:params,disableRange:(0,_dom_utils.getDefaultSetting)("disableRange")}));var messageHandler=new _util.MessageHandler(docId,workerId,worker.port);messageHandler.postMessageTransfers=worker.postMessageTransfers;var transport=new WorkerTransport(messageHandler,task,networkStream,CMapReaderFactory);task._transport=transport,messageHandler.send("Ready",null)}))})).catch(task._capability.reject),task},exports.LoopbackPort=LoopbackPort,exports.PDFDataRangeTransport=PDFDataRangeTransport,exports.PDFWorker=PDFWorker,exports.PDFDocumentProxy=PDFDocumentProxy,exports.PDFPageProxy=PDFPageProxy,exports.setPDFNetworkStreamClass=function setPDFNetworkStreamClass(cls){PDFNetworkStream=cls},exports._UnsupportedManager=_UnsupportedManager,exports.version="1.10.100",exports.build="ea29ec83"},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WebGLUtils=void 0;var _dom_utils=__w_pdfjs_require__(15),_util=__w_pdfjs_require__(0),WebGLUtils=function WebGLUtilsClosure(){function loadShader(gl,code,shaderType){var shader=gl.createShader(shaderType);if(gl.shaderSource(shader,code),gl.compileShader(shader),!gl.getShaderParameter(shader,gl.COMPILE_STATUS)){var errorMsg=gl.getShaderInfoLog(shader);throw new Error("Error during shader compilation: "+errorMsg)}return shader}function createVertexShader(gl,code){return loadShader(gl,code,gl.VERTEX_SHADER)}function createFragmentShader(gl,code){return loadShader(gl,code,gl.FRAGMENT_SHADER)}function createProgram(gl,shaders){for(var program=gl.createProgram(),i=0,ii=shaders.length;i<ii;++i)gl.attachShader(program,shaders[i]);if(gl.linkProgram(program),!gl.getProgramParameter(program,gl.LINK_STATUS)){var errorMsg=gl.getProgramInfoLog(program);throw new Error("Error during program linking: "+errorMsg)}return program}function createTexture(gl,image,textureId){gl.activeTexture(textureId);var texture=gl.createTexture();return gl.bindTexture(gl.TEXTURE_2D,texture),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.NEAREST),gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.NEAREST),gl.texImage2D(gl.TEXTURE_2D,0,gl.RGBA,gl.RGBA,gl.UNSIGNED_BYTE,image),texture}var currentGL,currentCanvas;function generateGL(){currentGL||(currentCanvas=document.createElement("canvas"),currentGL=currentCanvas.getContext("webgl",{premultipliedalpha:!1}))}var smaskCache=null;var figuresCache=null;return{get isEnabled(){if((0,_dom_utils.getDefaultSetting)("disableWebGL"))return!1;var enabled=!1;try{generateGL(),enabled=!!currentGL}catch(e){}return(0,_util.shadow)(this,"isEnabled",enabled)},composeSMask:function composeSMask(layer,mask,properties){var width=layer.width,height=layer.height;smaskCache||function initSmaskGL(){var canvas,gl;generateGL(),canvas=currentCanvas,currentCanvas=null,gl=currentGL,currentGL=null;var program=createProgram(gl,[createVertexShader(gl,"  attribute vec2 a_position;                                      attribute vec2 a_texCoord;                                                                                                      uniform vec2 u_resolution;                                                                                                      varying vec2 v_texCoord;                                                                                                        void main() {                                                     vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0;       gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1);                                                                              v_texCoord = a_texCoord;                                      }                                                             "),createFragmentShader(gl,"  precision mediump float;                                                                                                        uniform vec4 u_backdrop;                                        uniform int u_subtype;                                          uniform sampler2D u_image;                                      uniform sampler2D u_mask;                                                                                                       varying vec2 v_texCoord;                                                                                                        void main() {                                                     vec4 imageColor = texture2D(u_image, v_texCoord);               vec4 maskColor = texture2D(u_mask, v_texCoord);                 if (u_backdrop.a > 0.0) {                                         maskColor.rgb = maskColor.rgb * maskColor.a +                                   u_backdrop.rgb * (1.0 - maskColor.a);         }                                                               float lum;                                                      if (u_subtype == 0) {                                             lum = maskColor.a;                                            } else {                                                          lum = maskColor.r * 0.3 + maskColor.g * 0.59 +                        maskColor.b * 0.11;                                     }                                                               imageColor.a *= lum;                                            imageColor.rgb *= imageColor.a;                                 gl_FragColor = imageColor;                                    }                                                             ")]);gl.useProgram(program);var cache={};cache.gl=gl,cache.canvas=canvas,cache.resolutionLocation=gl.getUniformLocation(program,"u_resolution"),cache.positionLocation=gl.getAttribLocation(program,"a_position"),cache.backdropLocation=gl.getUniformLocation(program,"u_backdrop"),cache.subtypeLocation=gl.getUniformLocation(program,"u_subtype");var texCoordLocation=gl.getAttribLocation(program,"a_texCoord"),texLayerLocation=gl.getUniformLocation(program,"u_image"),texMaskLocation=gl.getUniformLocation(program,"u_mask"),texCoordBuffer=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,texCoordBuffer),gl.bufferData(gl.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),gl.STATIC_DRAW),gl.enableVertexAttribArray(texCoordLocation),gl.vertexAttribPointer(texCoordLocation,2,gl.FLOAT,!1,0,0),gl.uniform1i(texLayerLocation,0),gl.uniform1i(texMaskLocation,1),smaskCache=cache}();var cache=smaskCache,canvas=cache.canvas,gl=cache.gl;canvas.width=width,canvas.height=height,gl.viewport(0,0,gl.drawingBufferWidth,gl.drawingBufferHeight),gl.uniform2f(cache.resolutionLocation,width,height),properties.backdrop?gl.uniform4f(cache.resolutionLocation,properties.backdrop[0],properties.backdrop[1],properties.backdrop[2],1):gl.uniform4f(cache.resolutionLocation,0,0,0,0),gl.uniform1i(cache.subtypeLocation,"Luminosity"===properties.subtype?1:0);var texture=createTexture(gl,layer,gl.TEXTURE0),maskTexture=createTexture(gl,mask,gl.TEXTURE1),buffer=gl.createBuffer();return gl.bindBuffer(gl.ARRAY_BUFFER,buffer),gl.bufferData(gl.ARRAY_BUFFER,new Float32Array([0,0,width,0,0,height,0,height,width,0,width,height]),gl.STATIC_DRAW),gl.enableVertexAttribArray(cache.positionLocation),gl.vertexAttribPointer(cache.positionLocation,2,gl.FLOAT,!1,0,0),gl.clearColor(0,0,0,0),gl.enable(gl.BLEND),gl.blendFunc(gl.ONE,gl.ONE_MINUS_SRC_ALPHA),gl.clear(gl.COLOR_BUFFER_BIT),gl.drawArrays(gl.TRIANGLES,0,6),gl.flush(),gl.deleteTexture(texture),gl.deleteTexture(maskTexture),gl.deleteBuffer(buffer),canvas},drawFigures:function drawFigures(width,height,backgroundColor,figures,context){figuresCache||function initFiguresGL(){var canvas,gl;generateGL(),canvas=currentCanvas,currentCanvas=null,gl=currentGL,currentGL=null;var program=createProgram(gl,[createVertexShader(gl,"  attribute vec2 a_position;                                      attribute vec3 a_color;                                                                                                         uniform vec2 u_resolution;                                      uniform vec2 u_scale;                                           uniform vec2 u_offset;                                                                                                          varying vec4 v_color;                                                                                                           void main() {                                                     vec2 position = (a_position + u_offset) * u_scale;              vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0;         gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1);                                                                              v_color = vec4(a_color / 255.0, 1.0);                         }                                                             "),createFragmentShader(gl,"  precision mediump float;                                                                                                        varying vec4 v_color;                                                                                                           void main() {                                                     gl_FragColor = v_color;                                       }                                                             ")]);gl.useProgram(program);var cache={};cache.gl=gl,cache.canvas=canvas,cache.resolutionLocation=gl.getUniformLocation(program,"u_resolution"),cache.scaleLocation=gl.getUniformLocation(program,"u_scale"),cache.offsetLocation=gl.getUniformLocation(program,"u_offset"),cache.positionLocation=gl.getAttribLocation(program,"a_position"),cache.colorLocation=gl.getAttribLocation(program,"a_color"),figuresCache=cache}();var cache=figuresCache,canvas=cache.canvas,gl=cache.gl;canvas.width=width,canvas.height=height,gl.viewport(0,0,gl.drawingBufferWidth,gl.drawingBufferHeight),gl.uniform2f(cache.resolutionLocation,width,height);var i,ii,rows,count=0;for(i=0,ii=figures.length;i<ii;i++)switch(figures[i].type){case"lattice":count+=((rows=figures[i].coords.length/figures[i].verticesPerRow|0)-1)*(figures[i].verticesPerRow-1)*6;break;case"triangles":count+=figures[i].coords.length}var coords=new Float32Array(2*count),colors=new Uint8Array(3*count),coordsMap=context.coords,colorsMap=context.colors,pIndex=0,cIndex=0;for(i=0,ii=figures.length;i<ii;i++){var figure=figures[i],ps=figure.coords,cs=figure.colors;switch(figure.type){case"lattice":var cols=figure.verticesPerRow;rows=ps.length/cols|0;for(var row=1;row<rows;row++)for(var offset=row*cols+1,col=1;col<cols;col++,offset++)coords[pIndex]=coordsMap[ps[offset-cols-1]],coords[pIndex+1]=coordsMap[ps[offset-cols-1]+1],coords[pIndex+2]=coordsMap[ps[offset-cols]],coords[pIndex+3]=coordsMap[ps[offset-cols]+1],coords[pIndex+4]=coordsMap[ps[offset-1]],coords[pIndex+5]=coordsMap[ps[offset-1]+1],colors[cIndex]=colorsMap[cs[offset-cols-1]],colors[cIndex+1]=colorsMap[cs[offset-cols-1]+1],colors[cIndex+2]=colorsMap[cs[offset-cols-1]+2],colors[cIndex+3]=colorsMap[cs[offset-cols]],colors[cIndex+4]=colorsMap[cs[offset-cols]+1],colors[cIndex+5]=colorsMap[cs[offset-cols]+2],colors[cIndex+6]=colorsMap[cs[offset-1]],colors[cIndex+7]=colorsMap[cs[offset-1]+1],colors[cIndex+8]=colorsMap[cs[offset-1]+2],coords[pIndex+6]=coords[pIndex+2],coords[pIndex+7]=coords[pIndex+3],coords[pIndex+8]=coords[pIndex+4],coords[pIndex+9]=coords[pIndex+5],coords[pIndex+10]=coordsMap[ps[offset]],coords[pIndex+11]=coordsMap[ps[offset]+1],colors[cIndex+9]=colors[cIndex+3],colors[cIndex+10]=colors[cIndex+4],colors[cIndex+11]=colors[cIndex+5],colors[cIndex+12]=colors[cIndex+6],colors[cIndex+13]=colors[cIndex+7],colors[cIndex+14]=colors[cIndex+8],colors[cIndex+15]=colorsMap[cs[offset]],colors[cIndex+16]=colorsMap[cs[offset]+1],colors[cIndex+17]=colorsMap[cs[offset]+2],pIndex+=12,cIndex+=18;break;case"triangles":for(var j=0,jj=ps.length;j<jj;j++)coords[pIndex]=coordsMap[ps[j]],coords[pIndex+1]=coordsMap[ps[j]+1],colors[cIndex]=colorsMap[cs[j]],colors[cIndex+1]=colorsMap[cs[j]+1],colors[cIndex+2]=colorsMap[cs[j]+2],pIndex+=2,cIndex+=3}}backgroundColor?gl.clearColor(backgroundColor[0]/255,backgroundColor[1]/255,backgroundColor[2]/255,1):gl.clearColor(0,0,0,0),gl.clear(gl.COLOR_BUFFER_BIT);var coordsBuffer=gl.createBuffer();gl.bindBuffer(gl.ARRAY_BUFFER,coordsBuffer),gl.bufferData(gl.ARRAY_BUFFER,coords,gl.STATIC_DRAW),gl.enableVertexAttribArray(cache.positionLocation),gl.vertexAttribPointer(cache.positionLocation,2,gl.FLOAT,!1,0,0);var colorsBuffer=gl.createBuffer();return gl.bindBuffer(gl.ARRAY_BUFFER,colorsBuffer),gl.bufferData(gl.ARRAY_BUFFER,colors,gl.STATIC_DRAW),gl.enableVertexAttribArray(cache.colorLocation),gl.vertexAttribPointer(cache.colorLocation,3,gl.UNSIGNED_BYTE,!1,0,0),gl.uniform2f(cache.scaleLocation,context.scaleX,context.scaleY),gl.uniform2f(cache.offsetLocation,context.offsetX,context.offsetY),gl.drawArrays(gl.TRIANGLES,0,count),gl.flush(),gl.deleteBuffer(coordsBuffer),gl.deleteBuffer(colorsBuffer),canvas},clear:function cleanup(){smaskCache&&smaskCache.canvas&&(smaskCache.canvas.width=0,smaskCache.canvas.height=0),figuresCache&&figuresCache.canvas&&(figuresCache.canvas.width=0,figuresCache.canvas.height=0),smaskCache=null,figuresCache=null}}}();exports.WebGLUtils=WebGLUtils},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Metadata=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_xml_parser=__w_pdfjs_require__(122);var Metadata=function(){function Metadata(data){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Metadata),(0,_util.assert)("string"==typeof data,"Metadata: input is not a string"),data=this._repair(data);var xmlDocument=(new _xml_parser.SimpleXMLParser).parseFromString(data);this._metadata=Object.create(null),xmlDocument&&this._parse(xmlDocument)}return _createClass(Metadata,[{key:"_repair",value:function _repair(data){return data.replace(/>\\376\\377([^<]+)/g,(function(all,codes){for(var bytes=codes.replace(/\\([0-3])([0-7])([0-7])/g,(function(code,d1,d2,d3){return String.fromCharCode(64*d1+8*d2+1*d3)})),chars="",i=0,ii=bytes.length;i<ii;i+=2){var code=256*bytes.charCodeAt(i)+bytes.charCodeAt(i+1);chars+=code>=32&&code<127&&60!==code&&62!==code&&38!==code?String.fromCharCode(code):"&#x"+(65536+code).toString(16).substring(1)+";"}return">"+chars}))}},{key:"_parse",value:function _parse(xmlDocument){var rdf=xmlDocument.documentElement;if("rdf:rdf"!==rdf.nodeName.toLowerCase())for(rdf=rdf.firstChild;rdf&&"rdf:rdf"!==rdf.nodeName.toLowerCase();)rdf=rdf.nextSibling;var nodeName=rdf?rdf.nodeName.toLowerCase():null;if(rdf&&"rdf:rdf"===nodeName&&rdf.hasChildNodes())for(var children=rdf.childNodes,i=0,ii=children.length;i<ii;i++){var desc=children[i];if("rdf:description"===desc.nodeName.toLowerCase())for(var j=0,jj=desc.childNodes.length;j<jj;j++)if("#text"!==desc.childNodes[j].nodeName.toLowerCase()){var entry=desc.childNodes[j],name=entry.nodeName.toLowerCase();this._metadata[name]=entry.textContent.trim()}}}},{key:"get",value:function get(name){return this._metadata[name]||null}},{key:"getAll",value:function getAll(){return this._metadata}},{key:"has",value:function has(name){return void 0!==this._metadata[name]}},{key:"metadata",get:function get(){return(0,_util.deprecated)("`metadata` getter; use `getAll()` instead."),this.getAll()}}]),Metadata}();exports.Metadata=Metadata},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AnnotationLayer=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_dom_utils=__w_pdfjs_require__(15),_util=__w_pdfjs_require__(0);function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var AnnotationElementFactory=function(){function AnnotationElementFactory(){_classCallCheck(this,AnnotationElementFactory)}return _createClass(AnnotationElementFactory,null,[{key:"create",value:function create(parameters){switch(parameters.data.annotationType){case _util.AnnotationType.LINK:return new LinkAnnotationElement(parameters);case _util.AnnotationType.TEXT:return new TextAnnotationElement(parameters);case _util.AnnotationType.WIDGET:switch(parameters.data.fieldType){case"Tx":return new TextWidgetAnnotationElement(parameters);case"Btn":if(parameters.data.radioButton)return new RadioButtonWidgetAnnotationElement(parameters);if(parameters.data.checkBox)return new CheckboxWidgetAnnotationElement(parameters);(0,_util.warn)("Unimplemented button widget annotation: pushbutton");break;case"Ch":return new ChoiceWidgetAnnotationElement(parameters)}return new WidgetAnnotationElement(parameters);case _util.AnnotationType.POPUP:return new PopupAnnotationElement(parameters);case _util.AnnotationType.LINE:return new LineAnnotationElement(parameters);case _util.AnnotationType.SQUARE:return new SquareAnnotationElement(parameters);case _util.AnnotationType.CIRCLE:return new CircleAnnotationElement(parameters);case _util.AnnotationType.POLYLINE:return new PolylineAnnotationElement(parameters);case _util.AnnotationType.POLYGON:return new PolygonAnnotationElement(parameters);case _util.AnnotationType.HIGHLIGHT:return new HighlightAnnotationElement(parameters);case _util.AnnotationType.UNDERLINE:return new UnderlineAnnotationElement(parameters);case _util.AnnotationType.SQUIGGLY:return new SquigglyAnnotationElement(parameters);case _util.AnnotationType.STRIKEOUT:return new StrikeOutAnnotationElement(parameters);case _util.AnnotationType.STAMP:return new StampAnnotationElement(parameters);case _util.AnnotationType.FILEATTACHMENT:return new FileAttachmentAnnotationElement(parameters);default:return new AnnotationElement(parameters)}}}]),AnnotationElementFactory}(),AnnotationElement=function(){function AnnotationElement(parameters){var isRenderable=arguments.length>1&&void 0!==arguments[1]&&arguments[1],ignoreBorder=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,AnnotationElement),this.isRenderable=isRenderable,this.data=parameters.data,this.layer=parameters.layer,this.page=parameters.page,this.viewport=parameters.viewport,this.linkService=parameters.linkService,this.downloadManager=parameters.downloadManager,this.imageResourcesPath=parameters.imageResourcesPath,this.renderInteractiveForms=parameters.renderInteractiveForms,this.svgFactory=parameters.svgFactory,isRenderable&&(this.container=this._createContainer(ignoreBorder))}return _createClass(AnnotationElement,[{key:"_createContainer",value:function _createContainer(){var ignoreBorder=arguments.length>0&&void 0!==arguments[0]&&arguments[0],data=this.data,page=this.page,viewport=this.viewport,container=document.createElement("section"),width=data.rect[2]-data.rect[0],height=data.rect[3]-data.rect[1];container.setAttribute("data-annotation-id",data.id);var rect=_util.Util.normalizeRect([data.rect[0],page.view[3]-data.rect[1]+page.view[1],data.rect[2],page.view[3]-data.rect[3]+page.view[1]]);if(_dom_utils.CustomStyle.setProp("transform",container,"matrix("+viewport.transform.join(",")+")"),_dom_utils.CustomStyle.setProp("transformOrigin",container,-rect[0]+"px "+-rect[1]+"px"),!ignoreBorder&&data.borderStyle.width>0){container.style.borderWidth=data.borderStyle.width+"px",data.borderStyle.style!==_util.AnnotationBorderStyleType.UNDERLINE&&(width-=2*data.borderStyle.width,height-=2*data.borderStyle.width);var horizontalRadius=data.borderStyle.horizontalCornerRadius,verticalRadius=data.borderStyle.verticalCornerRadius;if(horizontalRadius>0||verticalRadius>0){var radius=horizontalRadius+"px / "+verticalRadius+"px";_dom_utils.CustomStyle.setProp("borderRadius",container,radius)}switch(data.borderStyle.style){case _util.AnnotationBorderStyleType.SOLID:container.style.borderStyle="solid";break;case _util.AnnotationBorderStyleType.DASHED:container.style.borderStyle="dashed";break;case _util.AnnotationBorderStyleType.BEVELED:(0,_util.warn)("Unimplemented border style: beveled");break;case _util.AnnotationBorderStyleType.INSET:(0,_util.warn)("Unimplemented border style: inset");break;case _util.AnnotationBorderStyleType.UNDERLINE:container.style.borderBottomStyle="solid"}data.color?container.style.borderColor=_util.Util.makeCssRgb(0|data.color[0],0|data.color[1],0|data.color[2]):container.style.borderWidth=0}return container.style.left=rect[0]+"px",container.style.top=rect[1]+"px",container.style.width=width+"px",container.style.height=height+"px",container}},{key:"_createPopup",value:function _createPopup(container,trigger,data){trigger||((trigger=document.createElement("div")).style.height=container.style.height,trigger.style.width=container.style.width,container.appendChild(trigger));var popup=new PopupElement({container:container,trigger:trigger,color:data.color,title:data.title,contents:data.contents,hideWrapper:!0}).render();popup.style.left=container.style.width,container.appendChild(popup)}},{key:"render",value:function render(){throw new Error("Abstract method `AnnotationElement.render` called")}}]),AnnotationElement}(),LinkAnnotationElement=function(_AnnotationElement){function LinkAnnotationElement(parameters){_classCallCheck(this,LinkAnnotationElement);var isRenderable=!!(parameters.data.url||parameters.data.dest||parameters.data.action);return _possibleConstructorReturn(this,(LinkAnnotationElement.__proto__||Object.getPrototypeOf(LinkAnnotationElement)).call(this,parameters,isRenderable))}return _inherits(LinkAnnotationElement,_AnnotationElement),_createClass(LinkAnnotationElement,[{key:"render",value:function render(){this.container.className="linkAnnotation";var link=document.createElement("a");return(0,_dom_utils.addLinkAttributes)(link,{url:this.data.url,target:this.data.newWindow?_dom_utils.LinkTarget.BLANK:void 0}),this.data.url||(this.data.action?this._bindNamedAction(link,this.data.action):this._bindLink(link,this.data.dest)),this.container.appendChild(link),this.container}},{key:"_bindLink",value:function _bindLink(link,destination){var _this2=this;link.href=this.linkService.getDestinationHash(destination),link.onclick=function(){return destination&&_this2.linkService.navigateTo(destination),!1},destination&&(link.className="internalLink")}},{key:"_bindNamedAction",value:function _bindNamedAction(link,action){var _this3=this;link.href=this.linkService.getAnchorUrl(""),link.onclick=function(){return _this3.linkService.executeNamedAction(action),!1},link.className="internalLink"}}]),LinkAnnotationElement}(AnnotationElement),TextAnnotationElement=function(_AnnotationElement2){function TextAnnotationElement(parameters){_classCallCheck(this,TextAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(TextAnnotationElement.__proto__||Object.getPrototypeOf(TextAnnotationElement)).call(this,parameters,isRenderable))}return _inherits(TextAnnotationElement,_AnnotationElement2),_createClass(TextAnnotationElement,[{key:"render",value:function render(){this.container.className="textAnnotation";var image=document.createElement("img");return image.style.height=this.container.style.height,image.style.width=this.container.style.width,image.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",image.alt="[{{type}} Annotation]",image.dataset.l10nId="text_annotation_type",image.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,image,this.data),this.container.appendChild(image),this.container}}]),TextAnnotationElement}(AnnotationElement),WidgetAnnotationElement=function(_AnnotationElement3){function WidgetAnnotationElement(){return _classCallCheck(this,WidgetAnnotationElement),_possibleConstructorReturn(this,(WidgetAnnotationElement.__proto__||Object.getPrototypeOf(WidgetAnnotationElement)).apply(this,arguments))}return _inherits(WidgetAnnotationElement,_AnnotationElement3),_createClass(WidgetAnnotationElement,[{key:"render",value:function render(){return this.container}}]),WidgetAnnotationElement}(AnnotationElement),TextWidgetAnnotationElement=function(_WidgetAnnotationElem){function TextWidgetAnnotationElement(parameters){_classCallCheck(this,TextWidgetAnnotationElement);var isRenderable=parameters.renderInteractiveForms||!parameters.data.hasAppearance&&!!parameters.data.fieldValue;return _possibleConstructorReturn(this,(TextWidgetAnnotationElement.__proto__||Object.getPrototypeOf(TextWidgetAnnotationElement)).call(this,parameters,isRenderable))}return _inherits(TextWidgetAnnotationElement,_WidgetAnnotationElem),_createClass(TextWidgetAnnotationElement,[{key:"render",value:function render(){this.container.className="textWidgetAnnotation";var element=null;if(this.renderInteractiveForms){if(this.data.multiLine?(element=document.createElement("textarea")).textContent=this.data.fieldValue:((element=document.createElement("input")).type="text",element.setAttribute("value",this.data.fieldValue)),element.disabled=this.data.readOnly,null!==this.data.maxLen&&(element.maxLength=this.data.maxLen),this.data.comb){var combWidth=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;element.classList.add("comb"),element.style.letterSpacing="calc("+combWidth+"px - 1ch)"}}else{(element=document.createElement("div")).textContent=this.data.fieldValue,element.style.verticalAlign="middle",element.style.display="table-cell";var font=null;this.data.fontRefName&&(font=this.page.commonObjs.getData(this.data.fontRefName)),this._setTextStyle(element,font)}return null!==this.data.textAlignment&&(element.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(element),this.container}},{key:"_setTextStyle",value:function _setTextStyle(element,font){var style=element.style;if(style.fontSize=this.data.fontSize+"px",style.direction=this.data.fontDirection<0?"rtl":"ltr",font){style.fontWeight=font.black?font.bold?"900":"bold":font.bold?"bold":"normal",style.fontStyle=font.italic?"italic":"normal";var fontFamily=font.loadedName?'"'+font.loadedName+'", ':"",fallbackName=font.fallbackName||"Helvetica, sans-serif";style.fontFamily=fontFamily+fallbackName}}}]),TextWidgetAnnotationElement}(WidgetAnnotationElement),CheckboxWidgetAnnotationElement=function(_WidgetAnnotationElem2){function CheckboxWidgetAnnotationElement(parameters){return _classCallCheck(this,CheckboxWidgetAnnotationElement),_possibleConstructorReturn(this,(CheckboxWidgetAnnotationElement.__proto__||Object.getPrototypeOf(CheckboxWidgetAnnotationElement)).call(this,parameters,parameters.renderInteractiveForms))}return _inherits(CheckboxWidgetAnnotationElement,_WidgetAnnotationElem2),_createClass(CheckboxWidgetAnnotationElement,[{key:"render",value:function render(){this.container.className="buttonWidgetAnnotation checkBox";var element=document.createElement("input");return element.disabled=this.data.readOnly,element.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&element.setAttribute("checked",!0),this.container.appendChild(element),this.container}}]),CheckboxWidgetAnnotationElement}(WidgetAnnotationElement),RadioButtonWidgetAnnotationElement=function(_WidgetAnnotationElem3){function RadioButtonWidgetAnnotationElement(parameters){return _classCallCheck(this,RadioButtonWidgetAnnotationElement),_possibleConstructorReturn(this,(RadioButtonWidgetAnnotationElement.__proto__||Object.getPrototypeOf(RadioButtonWidgetAnnotationElement)).call(this,parameters,parameters.renderInteractiveForms))}return _inherits(RadioButtonWidgetAnnotationElement,_WidgetAnnotationElem3),_createClass(RadioButtonWidgetAnnotationElement,[{key:"render",value:function render(){this.container.className="buttonWidgetAnnotation radioButton";var element=document.createElement("input");return element.disabled=this.data.readOnly,element.type="radio",element.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&element.setAttribute("checked",!0),this.container.appendChild(element),this.container}}]),RadioButtonWidgetAnnotationElement}(WidgetAnnotationElement),ChoiceWidgetAnnotationElement=function(_WidgetAnnotationElem4){function ChoiceWidgetAnnotationElement(parameters){return _classCallCheck(this,ChoiceWidgetAnnotationElement),_possibleConstructorReturn(this,(ChoiceWidgetAnnotationElement.__proto__||Object.getPrototypeOf(ChoiceWidgetAnnotationElement)).call(this,parameters,parameters.renderInteractiveForms))}return _inherits(ChoiceWidgetAnnotationElement,_WidgetAnnotationElem4),_createClass(ChoiceWidgetAnnotationElement,[{key:"render",value:function render(){this.container.className="choiceWidgetAnnotation";var selectElement=document.createElement("select");selectElement.disabled=this.data.readOnly,this.data.combo||(selectElement.size=this.data.options.length,this.data.multiSelect&&(selectElement.multiple=!0));for(var i=0,ii=this.data.options.length;i<ii;i++){var option=this.data.options[i],optionElement=document.createElement("option");optionElement.textContent=option.displayValue,optionElement.value=option.exportValue,this.data.fieldValue.indexOf(option.displayValue)>=0&&optionElement.setAttribute("selected",!0),selectElement.appendChild(optionElement)}return this.container.appendChild(selectElement),this.container}}]),ChoiceWidgetAnnotationElement}(WidgetAnnotationElement),PopupAnnotationElement=function(_AnnotationElement4){function PopupAnnotationElement(parameters){_classCallCheck(this,PopupAnnotationElement);var isRenderable=!(!parameters.data.title&&!parameters.data.contents);return _possibleConstructorReturn(this,(PopupAnnotationElement.__proto__||Object.getPrototypeOf(PopupAnnotationElement)).call(this,parameters,isRenderable))}return _inherits(PopupAnnotationElement,_AnnotationElement4),_createClass(PopupAnnotationElement,[{key:"render",value:function render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon"].indexOf(this.data.parentType)>=0)return this.container;var selector='[data-annotation-id="'+this.data.parentId+'"]',parentElement=this.layer.querySelector(selector);if(!parentElement)return this.container;var popup=new PopupElement({container:this.container,trigger:parentElement,color:this.data.color,title:this.data.title,contents:this.data.contents}),parentLeft=parseFloat(parentElement.style.left),parentWidth=parseFloat(parentElement.style.width);return _dom_utils.CustomStyle.setProp("transformOrigin",this.container,-(parentLeft+parentWidth)+"px -"+parentElement.style.top),this.container.style.left=parentLeft+parentWidth+"px",this.container.appendChild(popup.render()),this.container}}]),PopupAnnotationElement}(AnnotationElement),PopupElement=function(){function PopupElement(parameters){_classCallCheck(this,PopupElement),this.container=parameters.container,this.trigger=parameters.trigger,this.color=parameters.color,this.title=parameters.title,this.contents=parameters.contents,this.hideWrapper=parameters.hideWrapper||!1,this.pinned=!1}return _createClass(PopupElement,[{key:"render",value:function render(){var wrapper=document.createElement("div");wrapper.className="popupWrapper",this.hideElement=this.hideWrapper?wrapper:this.container,this.hideElement.setAttribute("hidden",!0);var popup=document.createElement("div");popup.className="popup";var color=this.color;if(color){var r=.7*(255-color[0])+color[0],g=.7*(255-color[1])+color[1],b=.7*(255-color[2])+color[2];popup.style.backgroundColor=_util.Util.makeCssRgb(0|r,0|g,0|b)}var contents=this._formatContents(this.contents),title=document.createElement("h1");return title.textContent=this.title,this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),popup.addEventListener("click",this._hide.bind(this,!0)),popup.appendChild(title),popup.appendChild(contents),wrapper.appendChild(popup),wrapper}},{key:"_formatContents",value:function _formatContents(contents){for(var p=document.createElement("p"),lines=contents.split(/(?:\r\n?|\n)/),i=0,ii=lines.length;i<ii;++i){var line=lines[i];p.appendChild(document.createTextNode(line)),i<ii-1&&p.appendChild(document.createElement("br"))}return p}},{key:"_toggle",value:function _toggle(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function _show(){var pin=arguments.length>0&&void 0!==arguments[0]&&arguments[0];pin&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function _hide(){var unpin=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];unpin&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),PopupElement}(),LineAnnotationElement=function(_AnnotationElement5){function LineAnnotationElement(parameters){_classCallCheck(this,LineAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(LineAnnotationElement.__proto__||Object.getPrototypeOf(LineAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(LineAnnotationElement,_AnnotationElement5),_createClass(LineAnnotationElement,[{key:"render",value:function render(){this.container.className="lineAnnotation";var data=this.data,width=data.rect[2]-data.rect[0],height=data.rect[3]-data.rect[1],svg=this.svgFactory.create(width,height),line=this.svgFactory.createElement("svg:line");return line.setAttribute("x1",data.rect[2]-data.lineCoordinates[0]),line.setAttribute("y1",data.rect[3]-data.lineCoordinates[1]),line.setAttribute("x2",data.rect[2]-data.lineCoordinates[2]),line.setAttribute("y2",data.rect[3]-data.lineCoordinates[3]),line.setAttribute("stroke-width",data.borderStyle.width),line.setAttribute("stroke","transparent"),svg.appendChild(line),this.container.append(svg),this._createPopup(this.container,line,data),this.container}}]),LineAnnotationElement}(AnnotationElement),SquareAnnotationElement=function(_AnnotationElement6){function SquareAnnotationElement(parameters){_classCallCheck(this,SquareAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(SquareAnnotationElement.__proto__||Object.getPrototypeOf(SquareAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(SquareAnnotationElement,_AnnotationElement6),_createClass(SquareAnnotationElement,[{key:"render",value:function render(){this.container.className="squareAnnotation";var data=this.data,width=data.rect[2]-data.rect[0],height=data.rect[3]-data.rect[1],svg=this.svgFactory.create(width,height),borderWidth=data.borderStyle.width,square=this.svgFactory.createElement("svg:rect");return square.setAttribute("x",borderWidth/2),square.setAttribute("y",borderWidth/2),square.setAttribute("width",width-borderWidth),square.setAttribute("height",height-borderWidth),square.setAttribute("stroke-width",borderWidth),square.setAttribute("stroke","transparent"),square.setAttribute("fill","none"),svg.appendChild(square),this.container.append(svg),this._createPopup(this.container,square,data),this.container}}]),SquareAnnotationElement}(AnnotationElement),CircleAnnotationElement=function(_AnnotationElement7){function CircleAnnotationElement(parameters){_classCallCheck(this,CircleAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(CircleAnnotationElement.__proto__||Object.getPrototypeOf(CircleAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(CircleAnnotationElement,_AnnotationElement7),_createClass(CircleAnnotationElement,[{key:"render",value:function render(){this.container.className="circleAnnotation";var data=this.data,width=data.rect[2]-data.rect[0],height=data.rect[3]-data.rect[1],svg=this.svgFactory.create(width,height),borderWidth=data.borderStyle.width,circle=this.svgFactory.createElement("svg:ellipse");return circle.setAttribute("cx",width/2),circle.setAttribute("cy",height/2),circle.setAttribute("rx",width/2-borderWidth/2),circle.setAttribute("ry",height/2-borderWidth/2),circle.setAttribute("stroke-width",borderWidth),circle.setAttribute("stroke","transparent"),circle.setAttribute("fill","none"),svg.appendChild(circle),this.container.append(svg),this._createPopup(this.container,circle,data),this.container}}]),CircleAnnotationElement}(AnnotationElement),PolylineAnnotationElement=function(_AnnotationElement8){function PolylineAnnotationElement(parameters){_classCallCheck(this,PolylineAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents),_this14=_possibleConstructorReturn(this,(PolylineAnnotationElement.__proto__||Object.getPrototypeOf(PolylineAnnotationElement)).call(this,parameters,isRenderable,!0));return _this14.containerClassName="polylineAnnotation",_this14.svgElementName="svg:polyline",_this14}return _inherits(PolylineAnnotationElement,_AnnotationElement8),_createClass(PolylineAnnotationElement,[{key:"render",value:function render(){this.container.className=this.containerClassName;for(var data=this.data,width=data.rect[2]-data.rect[0],height=data.rect[3]-data.rect[1],svg=this.svgFactory.create(width,height),vertices=data.vertices,points=[],i=0,ii=vertices.length;i<ii;i++){var x=vertices[i].x-data.rect[0],y=data.rect[3]-vertices[i].y;points.push(x+","+y)}points=points.join(" ");var borderWidth=data.borderStyle.width,polyline=this.svgFactory.createElement(this.svgElementName);return polyline.setAttribute("points",points),polyline.setAttribute("stroke-width",borderWidth),polyline.setAttribute("stroke","transparent"),polyline.setAttribute("fill","none"),svg.appendChild(polyline),this.container.append(svg),this._createPopup(this.container,polyline,data),this.container}}]),PolylineAnnotationElement}(AnnotationElement),PolygonAnnotationElement=function(_PolylineAnnotationEl){function PolygonAnnotationElement(parameters){_classCallCheck(this,PolygonAnnotationElement);var _this15=_possibleConstructorReturn(this,(PolygonAnnotationElement.__proto__||Object.getPrototypeOf(PolygonAnnotationElement)).call(this,parameters));return _this15.containerClassName="polygonAnnotation",_this15.svgElementName="svg:polygon",_this15}return _inherits(PolygonAnnotationElement,_PolylineAnnotationEl),PolygonAnnotationElement}(PolylineAnnotationElement),HighlightAnnotationElement=function(_AnnotationElement9){function HighlightAnnotationElement(parameters){_classCallCheck(this,HighlightAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(HighlightAnnotationElement.__proto__||Object.getPrototypeOf(HighlightAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(HighlightAnnotationElement,_AnnotationElement9),_createClass(HighlightAnnotationElement,[{key:"render",value:function render(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),HighlightAnnotationElement}(AnnotationElement),UnderlineAnnotationElement=function(_AnnotationElement10){function UnderlineAnnotationElement(parameters){_classCallCheck(this,UnderlineAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(UnderlineAnnotationElement.__proto__||Object.getPrototypeOf(UnderlineAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(UnderlineAnnotationElement,_AnnotationElement10),_createClass(UnderlineAnnotationElement,[{key:"render",value:function render(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),UnderlineAnnotationElement}(AnnotationElement),SquigglyAnnotationElement=function(_AnnotationElement11){function SquigglyAnnotationElement(parameters){_classCallCheck(this,SquigglyAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(SquigglyAnnotationElement.__proto__||Object.getPrototypeOf(SquigglyAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(SquigglyAnnotationElement,_AnnotationElement11),_createClass(SquigglyAnnotationElement,[{key:"render",value:function render(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),SquigglyAnnotationElement}(AnnotationElement),StrikeOutAnnotationElement=function(_AnnotationElement12){function StrikeOutAnnotationElement(parameters){_classCallCheck(this,StrikeOutAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(StrikeOutAnnotationElement.__proto__||Object.getPrototypeOf(StrikeOutAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(StrikeOutAnnotationElement,_AnnotationElement12),_createClass(StrikeOutAnnotationElement,[{key:"render",value:function render(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),StrikeOutAnnotationElement}(AnnotationElement),StampAnnotationElement=function(_AnnotationElement13){function StampAnnotationElement(parameters){_classCallCheck(this,StampAnnotationElement);var isRenderable=!!(parameters.data.hasPopup||parameters.data.title||parameters.data.contents);return _possibleConstructorReturn(this,(StampAnnotationElement.__proto__||Object.getPrototypeOf(StampAnnotationElement)).call(this,parameters,isRenderable,!0))}return _inherits(StampAnnotationElement,_AnnotationElement13),_createClass(StampAnnotationElement,[{key:"render",value:function render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),StampAnnotationElement}(AnnotationElement),FileAttachmentAnnotationElement=function(_AnnotationElement14){function FileAttachmentAnnotationElement(parameters){_classCallCheck(this,FileAttachmentAnnotationElement);var _this21=_possibleConstructorReturn(this,(FileAttachmentAnnotationElement.__proto__||Object.getPrototypeOf(FileAttachmentAnnotationElement)).call(this,parameters,!0)),file=_this21.data.file;return _this21.filename=(0,_dom_utils.getFilenameFromUrl)(file.filename),_this21.content=file.content,_this21.linkService.onFileAttachmentAnnotation({id:(0,_util.stringToPDFString)(file.filename),filename:file.filename,content:file.content}),_this21}return _inherits(FileAttachmentAnnotationElement,_AnnotationElement14),_createClass(FileAttachmentAnnotationElement,[{key:"render",value:function render(){this.container.className="fileAttachmentAnnotation";var trigger=document.createElement("div");return trigger.style.height=this.container.style.height,trigger.style.width=this.container.style.width,trigger.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,trigger,this.data),this.container.appendChild(trigger),this.container}},{key:"_download",value:function _download(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,_util.warn)("Download cannot be started due to unavailable download manager")}}]),FileAttachmentAnnotationElement}(AnnotationElement),AnnotationLayer=function(){function AnnotationLayer(){_classCallCheck(this,AnnotationLayer)}return _createClass(AnnotationLayer,null,[{key:"render",value:function render(parameters){for(var i=0,ii=parameters.annotations.length;i<ii;i++){var data=parameters.annotations[i];if(data){var element=AnnotationElementFactory.create({data:data,layer:parameters.div,page:parameters.page,viewport:parameters.viewport,linkService:parameters.linkService,downloadManager:parameters.downloadManager,imageResourcesPath:parameters.imageResourcesPath||(0,_dom_utils.getDefaultSetting)("imageResourcesPath"),renderInteractiveForms:parameters.renderInteractiveForms||!1,svgFactory:new _dom_utils.DOMSVGFactory});element.isRenderable&&parameters.div.appendChild(element.render())}}}},{key:"update",value:function update(parameters){for(var i=0,ii=parameters.annotations.length;i<ii;i++){var data=parameters.annotations[i],element=parameters.div.querySelector('[data-annotation-id="'+data.id+'"]');element&&_dom_utils.CustomStyle.setProp("transform",element,"matrix("+parameters.viewport.transform.join(",")+")")}parameters.div.removeAttribute("hidden")}}]),AnnotationLayer}();exports.AnnotationLayer=AnnotationLayer},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.renderTextLayer=void 0;var _util=__w_pdfjs_require__(0),_dom_utils=__w_pdfjs_require__(15),renderTextLayer=function renderTextLayerClosure(){var NonWhitespaceRegexp=/\S/;var styleBuf=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function appendText(task,geom,styles){var textDiv=document.createElement("div"),textDivProperties={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(task._textDivs.push(textDiv),function isAllWhitespace(str){return!NonWhitespaceRegexp.test(str)}(geom.str))return textDivProperties.isWhitespace=!0,void task._textDivProperties.set(textDiv,textDivProperties);var tx=_util.Util.transform(task._viewport.transform,geom.transform),angle=Math.atan2(tx[1],tx[0]),style=styles[geom.fontName];style.vertical&&(angle+=Math.PI/2);var left,top,fontHeight=Math.sqrt(tx[2]*tx[2]+tx[3]*tx[3]),fontAscent=fontHeight;if(style.ascent?fontAscent=style.ascent*fontAscent:style.descent&&(fontAscent=(1+style.descent)*fontAscent),0===angle?(left=tx[4],top=tx[5]-fontAscent):(left=tx[4]+fontAscent*Math.sin(angle),top=tx[5]-fontAscent*Math.cos(angle)),styleBuf[1]=left,styleBuf[3]=top,styleBuf[5]=fontHeight,styleBuf[7]=style.fontFamily,textDivProperties.style=styleBuf.join(""),textDiv.setAttribute("style",textDivProperties.style),textDiv.textContent=geom.str,(0,_dom_utils.getDefaultSetting)("pdfBug")&&(textDiv.dataset.fontName=geom.fontName),0!==angle&&(textDivProperties.angle=angle*(180/Math.PI)),geom.str.length>1&&(style.vertical?textDivProperties.canvasWidth=geom.height*task._viewport.scale:textDivProperties.canvasWidth=geom.width*task._viewport.scale),task._textDivProperties.set(textDiv,textDivProperties),task._textContentStream&&task._layoutText(textDiv),task._enhanceTextSelection){var angleCos=1,angleSin=0;0!==angle&&(angleCos=Math.cos(angle),angleSin=Math.sin(angle));var m,b,divWidth=(style.vertical?geom.height:geom.width)*task._viewport.scale,divHeight=fontHeight;0!==angle?(m=[angleCos,angleSin,-angleSin,angleCos,left,top],b=_util.Util.getAxialAlignedBoundingBox([0,0,divWidth,divHeight],m)):b=[left,top,left+divWidth,top+divHeight],task._bounds.push({left:b[0],top:b[1],right:b[2],bottom:b[3],div:textDiv,size:[divWidth,divHeight],m:m})}}function render(task){if(!task._canceled){var textDivs=task._textDivs,capability=task._capability,textDivsLength=textDivs.length;if(textDivsLength>1e5)return task._renderingDone=!0,void capability.resolve();if(!task._textContentStream)for(var i=0;i<textDivsLength;i++)task._layoutText(textDivs[i]);task._renderingDone=!0,capability.resolve()}}function expand(task){for(var bounds=task._bounds,viewport=task._viewport,expanded=function expandBounds(width,height,boxes){var bounds=boxes.map((function(box,i){return{x1:box.left,y1:box.top,x2:box.right,y2:box.bottom,index:i,x1New:void 0,x2New:void 0}}));expandBoundsLTR(width,bounds);var expanded=new Array(boxes.length);return bounds.forEach((function(b){var i=b.index;expanded[i]={left:b.x1New,top:0,right:b.x2New,bottom:0}})),boxes.map((function(box,i){var e=expanded[i],b=bounds[i];b.x1=box.top,b.y1=width-e.right,b.x2=box.bottom,b.y2=width-e.left,b.index=i,b.x1New=void 0,b.x2New=void 0})),expandBoundsLTR(height,bounds),bounds.forEach((function(b){var i=b.index;expanded[i].top=b.x1New,expanded[i].bottom=b.x2New})),expanded}(viewport.width,viewport.height,bounds),i=0;i<expanded.length;i++){var div=bounds[i].div,divProperties=task._textDivProperties.get(div);if(0!==divProperties.angle){var e=expanded[i],b=bounds[i],m=b.m,c=m[0],s=m[1],points=[[0,0],[0,b.size[1]],[b.size[0],0],b.size],ts=new Float64Array(64);points.forEach((function(p,i){var t=_util.Util.applyTransform(p,m);ts[i+0]=c&&(e.left-t[0])/c,ts[i+4]=s&&(e.top-t[1])/s,ts[i+8]=c&&(e.right-t[0])/c,ts[i+12]=s&&(e.bottom-t[1])/s,ts[i+16]=s&&(e.left-t[0])/-s,ts[i+20]=c&&(e.top-t[1])/c,ts[i+24]=s&&(e.right-t[0])/-s,ts[i+28]=c&&(e.bottom-t[1])/c,ts[i+32]=c&&(e.left-t[0])/-c,ts[i+36]=s&&(e.top-t[1])/-s,ts[i+40]=c&&(e.right-t[0])/-c,ts[i+44]=s&&(e.bottom-t[1])/-s,ts[i+48]=s&&(e.left-t[0])/s,ts[i+52]=c&&(e.top-t[1])/-c,ts[i+56]=s&&(e.right-t[0])/s,ts[i+60]=c&&(e.bottom-t[1])/-c}));var findPositiveMin=function findPositiveMin(ts,offset,count){for(var result=0,i=0;i<count;i++){var t=ts[offset++];t>0&&(result=result?Math.min(t,result):t)}return result},boxScale=1+Math.min(Math.abs(c),Math.abs(s));divProperties.paddingLeft=findPositiveMin(ts,32,16)/boxScale,divProperties.paddingTop=findPositiveMin(ts,48,16)/boxScale,divProperties.paddingRight=findPositiveMin(ts,0,16)/boxScale,divProperties.paddingBottom=findPositiveMin(ts,16,16)/boxScale,task._textDivProperties.set(div,divProperties)}else divProperties.paddingLeft=bounds[i].left-expanded[i].left,divProperties.paddingTop=bounds[i].top-expanded[i].top,divProperties.paddingRight=expanded[i].right-bounds[i].right,divProperties.paddingBottom=expanded[i].bottom-bounds[i].bottom,task._textDivProperties.set(div,divProperties)}}function expandBoundsLTR(width,bounds){bounds.sort((function(a,b){return a.x1-b.x1||a.index-b.index}));var horizon=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];bounds.forEach((function(boundary){for(var i=0;i<horizon.length&&horizon[i].end<=boundary.y1;)i++;for(var horizonPart,affectedBoundary,j=horizon.length-1;j>=0&&horizon[j].start>=boundary.y2;)j--;var q,k,maxXNew=-1/0;for(q=i;q<=j;q++){var xNew;(xNew=(affectedBoundary=(horizonPart=horizon[q]).boundary).x2>boundary.x1?affectedBoundary.index>boundary.index?affectedBoundary.x1New:boundary.x1:void 0===affectedBoundary.x2New?(affectedBoundary.x2+boundary.x1)/2:affectedBoundary.x2New)>maxXNew&&(maxXNew=xNew)}for(boundary.x1New=maxXNew,q=i;q<=j;q++)void 0===(affectedBoundary=(horizonPart=horizon[q]).boundary).x2New?affectedBoundary.x2>boundary.x1?affectedBoundary.index>boundary.index&&(affectedBoundary.x2New=affectedBoundary.x2):affectedBoundary.x2New=maxXNew:affectedBoundary.x2New>maxXNew&&(affectedBoundary.x2New=Math.max(maxXNew,affectedBoundary.x2));var changedHorizon=[],lastBoundary=null;for(q=i;q<=j;q++){var useBoundary=(affectedBoundary=(horizonPart=horizon[q]).boundary).x2>boundary.x2?affectedBoundary:boundary;lastBoundary===useBoundary?changedHorizon[changedHorizon.length-1].end=horizonPart.end:(changedHorizon.push({start:horizonPart.start,end:horizonPart.end,boundary:useBoundary}),lastBoundary=useBoundary)}for(horizon[i].start<boundary.y1&&(changedHorizon[0].start=boundary.y1,changedHorizon.unshift({start:horizon[i].start,end:boundary.y1,boundary:horizon[i].boundary})),boundary.y2<horizon[j].end&&(changedHorizon[changedHorizon.length-1].end=boundary.y2,changedHorizon.push({start:boundary.y2,end:horizon[j].end,boundary:horizon[j].boundary})),q=i;q<=j;q++)if(void 0===(affectedBoundary=(horizonPart=horizon[q]).boundary).x2New){var used=!1;for(k=i-1;!used&&k>=0&&horizon[k].start>=affectedBoundary.y1;k--)used=horizon[k].boundary===affectedBoundary;for(k=j+1;!used&&k<horizon.length&&horizon[k].end<=affectedBoundary.y2;k++)used=horizon[k].boundary===affectedBoundary;for(k=0;!used&&k<changedHorizon.length;k++)used=changedHorizon[k].boundary===affectedBoundary;used||(affectedBoundary.x2New=maxXNew)}Array.prototype.splice.apply(horizon,[i,j-i+1].concat(changedHorizon))})),horizon.forEach((function(horizonPart){var affectedBoundary=horizonPart.boundary;void 0===affectedBoundary.x2New&&(affectedBoundary.x2New=Math.max(width,affectedBoundary.x2))}))}function TextLayerRenderTask(_ref){var textContent=_ref.textContent,textContentStream=_ref.textContentStream,container=_ref.container,viewport=_ref.viewport,textDivs=_ref.textDivs,textContentItemsStr=_ref.textContentItemsStr,enhanceTextSelection=_ref.enhanceTextSelection;this._textContent=textContent,this._textContentStream=textContentStream,this._container=container,this._viewport=viewport,this._textDivs=textDivs||[],this._textContentItemsStr=textContentItemsStr||[],this._enhanceTextSelection=!!enhanceTextSelection,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,_util.createPromiseCapability)(),this._renderTimer=null,this._bounds=[]}return TextLayerRenderTask.prototype={get promise(){return this._capability.promise},cancel:function TextLayer_cancel(){this._reader&&(this._reader.cancel(new _util.AbortException("text layer task cancelled")),this._reader=null),this._canceled=!0,null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject("canceled")},_processItems:function _processItems(items,styleCache){for(var i=0,len=items.length;i<len;i++)this._textContentItemsStr.push(items[i].str),appendText(this,items[i],styleCache)},_layoutText:function _layoutText(textDiv){var textLayerFrag=this._container,textDivProperties=this._textDivProperties.get(textDiv);if(!textDivProperties.isWhitespace){var fontSize=textDiv.style.fontSize,fontFamily=textDiv.style.fontFamily;fontSize===this._layoutTextLastFontSize&&fontFamily===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=fontSize+" "+fontFamily,this._lastFontSize=fontSize,this._lastFontFamily=fontFamily);var width=this._layoutTextCtx.measureText(textDiv.textContent).width,transform="";0!==textDivProperties.canvasWidth&&width>0&&(textDivProperties.scale=textDivProperties.canvasWidth/width,transform="scaleX("+textDivProperties.scale+")"),0!==textDivProperties.angle&&(transform="rotate("+textDivProperties.angle+"deg) "+transform),""!==transform&&(textDivProperties.originalTransform=transform,_dom_utils.CustomStyle.setProp("transform",textDiv,transform)),this._textDivProperties.set(textDiv,textDivProperties),textLayerFrag.appendChild(textDiv)}},_render:function TextLayer_render(timeout){var _this=this,capability=(0,_util.createPromiseCapability)(),styleCache=Object.create(null),canvas=document.createElement("canvas");if(canvas.mozOpaque=!0,this._layoutTextCtx=canvas.getContext("2d",{alpha:!1}),this._textContent){var textItems=this._textContent.items,textStyles=this._textContent.styles;this._processItems(textItems,textStyles),capability.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function pump(){_this._reader.read().then((function(_ref2){var value=_ref2.value;_ref2.done?capability.resolve():(_util.Util.extendObj(styleCache,value.styles),_this._processItems(value.items,styleCache),pump())}),capability.reject)}()}capability.promise.then((function(){styleCache=null,timeout?_this._renderTimer=setTimeout((function(){render(_this),_this._renderTimer=null}),timeout):render(_this)}),this._capability.reject)},expandTextDivs:function TextLayer_expandTextDivs(expandDivs){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(expand(this),this._bounds=null);for(var i=0,ii=this._textDivs.length;i<ii;i++){var div=this._textDivs[i],divProperties=this._textDivProperties.get(div);if(!divProperties.isWhitespace)if(expandDivs){var transform="",padding="";1!==divProperties.scale&&(transform="scaleX("+divProperties.scale+")"),0!==divProperties.angle&&(transform="rotate("+divProperties.angle+"deg) "+transform),0!==divProperties.paddingLeft&&(padding+=" padding-left: "+divProperties.paddingLeft/divProperties.scale+"px;",transform+=" translateX("+-divProperties.paddingLeft/divProperties.scale+"px)"),0!==divProperties.paddingTop&&(padding+=" padding-top: "+divProperties.paddingTop+"px;",transform+=" translateY("+-divProperties.paddingTop+"px)"),0!==divProperties.paddingRight&&(padding+=" padding-right: "+divProperties.paddingRight/divProperties.scale+"px;"),0!==divProperties.paddingBottom&&(padding+=" padding-bottom: "+divProperties.paddingBottom+"px;"),""!==padding&&div.setAttribute("style",divProperties.style+padding),""!==transform&&_dom_utils.CustomStyle.setProp("transform",div,transform)}else div.style.padding=0,_dom_utils.CustomStyle.setProp("transform",div,divProperties.originalTransform||"")}}}},function renderTextLayer(renderParameters){var task=new TextLayerRenderTask({textContent:renderParameters.textContent,textContentStream:renderParameters.textContentStream,container:renderParameters.container,viewport:renderParameters.viewport,textDivs:renderParameters.textDivs,textContentItemsStr:renderParameters.textContentItemsStr,enhanceTextSelection:renderParameters.enhanceTextSelection});return task._render(renderParameters.timeout),task}}();exports.renderTextLayer=renderTextLayer},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.SVGGraphics=void 0;var SVGGraphics,_util=__w_pdfjs_require__(0),_dom_utils=__w_pdfjs_require__(15),SVG_DEFAULTS={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},convertImgDataToPng=function convertImgDataToPngClosure(){for(var PNG_HEADER=new Uint8Array([137,80,78,71,13,10,26,10]),crcTable=new Int32Array(256),i=0;i<256;i++){for(var c=i,h=0;h<8;h++)c=1&c?3988292384^c>>1&2147483647:c>>1&2147483647;crcTable[i]=c}function writePngChunk(type,body,data,offset){var p=offset,len=body.length;data[p]=len>>24&255,data[p+1]=len>>16&255,data[p+2]=len>>8&255,data[p+3]=255&len,data[p+=4]=255&type.charCodeAt(0),data[p+1]=255&type.charCodeAt(1),data[p+2]=255&type.charCodeAt(2),data[p+3]=255&type.charCodeAt(3),p+=4,data.set(body,p);var crc=function crc32(data,start,end){for(var crc=-1,i=start;i<end;i++){var a=255&(crc^data[i]);crc=crc>>>8^crcTable[a]}return-1^crc}(data,offset+4,p+=body.length);data[p]=crc>>24&255,data[p+1]=crc>>16&255,data[p+2]=crc>>8&255,data[p+3]=255&crc}function deflateSyncUncompressed(literals){var len=literals.length,deflateBlocks=Math.ceil(len/65535),idat=new Uint8Array(2+len+5*deflateBlocks+4),pi=0;idat[pi++]=120,idat[pi++]=156;for(var pos=0;len>65535;)idat[pi++]=0,idat[pi++]=255,idat[pi++]=255,idat[pi++]=0,idat[pi++]=0,idat.set(literals.subarray(pos,pos+65535),pi),pi+=65535,pos+=65535,len-=65535;idat[pi++]=1,idat[pi++]=255&len,idat[pi++]=len>>8&255,idat[pi++]=255&~len,idat[pi++]=(65535&~len)>>8&255,idat.set(literals.subarray(pos),pi),pi+=literals.length-pos;var adler=function adler32(data,start,end){for(var a=1,b=0,i=start;i<end;++i)b=(b+(a=(a+(255&data[i]))%65521))%65521;return b<<16|a}(literals,0,literals.length);return idat[pi++]=adler>>24&255,idat[pi++]=adler>>16&255,idat[pi++]=adler>>8&255,idat[pi++]=255&adler,idat}function encode(imgData,kind,forceDataSchema){var bitDepth,colorType,lineSize,width=imgData.width,height=imgData.height,bytes=imgData.data;switch(kind){case _util.ImageKind.GRAYSCALE_1BPP:colorType=0,bitDepth=1,lineSize=width+7>>3;break;case _util.ImageKind.RGB_24BPP:colorType=2,bitDepth=8,lineSize=3*width;break;case _util.ImageKind.RGBA_32BPP:colorType=6,bitDepth=8,lineSize=4*width;break;default:throw new Error("invalid format")}var y,i,literals=new Uint8Array((1+lineSize)*height),offsetLiterals=0,offsetBytes=0;for(y=0;y<height;++y)literals[offsetLiterals++]=0,literals.set(bytes.subarray(offsetBytes,offsetBytes+lineSize),offsetLiterals),offsetBytes+=lineSize,offsetLiterals+=lineSize;if(kind===_util.ImageKind.GRAYSCALE_1BPP)for(offsetLiterals=0,y=0;y<height;y++)for(offsetLiterals++,i=0;i<lineSize;i++)literals[offsetLiterals++]^=255;var ihdr=new Uint8Array([width>>24&255,width>>16&255,width>>8&255,255&width,height>>24&255,height>>16&255,height>>8&255,255&height,bitDepth,colorType,0,0,0]),idat=function deflateSync(literals){if(!(0,_util.isNodeJS)())return deflateSyncUncompressed(literals);try{var input;input=parseInt(process.versions.node)>=8?literals:new Buffer(literals);var output=__webpack_require__("Rwuk").deflateSync(input,{level:9});return output instanceof Uint8Array?output:new Uint8Array(output)}catch(e){(0,_util.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return deflateSyncUncompressed(literals)}(literals),pngLength=PNG_HEADER.length+36+ihdr.length+idat.length,data=new Uint8Array(pngLength),offset=0;return data.set(PNG_HEADER,offset),writePngChunk("IHDR",ihdr,data,offset+=PNG_HEADER.length),writePngChunk("IDATA",idat,data,offset+=12+ihdr.length),offset+=12+idat.length,writePngChunk("IEND",new Uint8Array(0),data,offset),(0,_util.createObjectURL)(data,"image/png",forceDataSchema)}return function convertImgDataToPng(imgData,forceDataSchema){return encode(imgData,void 0===imgData.kind?_util.ImageKind.GRAYSCALE_1BPP:imgData.kind,forceDataSchema)}}(),SVGExtraState=function SVGExtraStateClosure(){function SVGExtraState(){this.fontSizeScale=1,this.fontWeight=SVG_DEFAULTS.fontWeight,this.fontSize=0,this.textMatrix=_util.IDENTITY_MATRIX,this.fontMatrix=_util.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=SVG_DEFAULTS.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return SVGExtraState.prototype={clone:function SVGExtraState_clone(){return Object.create(this)},setCurrentPoint:function SVGExtraState_setCurrentPoint(x,y){this.x=x,this.y=y}},SVGExtraState}();exports.SVGGraphics=SVGGraphics=function SVGGraphicsClosure(){function pf(value){if(Number.isInteger(value))return value.toString();var s=value.toFixed(10),i=s.length-1;if("0"!==s[i])return s;do{i--}while("0"===s[i]);return s.substr(0,"."===s[i]?i:i+1)}function pm(m){if(0===m[4]&&0===m[5]){if(0===m[1]&&0===m[2])return 1===m[0]&&1===m[3]?"":"scale("+pf(m[0])+" "+pf(m[3])+")";if(m[0]===m[3]&&m[1]===-m[2])return"rotate("+pf(180*Math.acos(m[0])/Math.PI)+")"}else if(1===m[0]&&0===m[1]&&0===m[2]&&1===m[3])return"translate("+pf(m[4])+" "+pf(m[5])+")";return"matrix("+pf(m[0])+" "+pf(m[1])+" "+pf(m[2])+" "+pf(m[3])+" "+pf(m[4])+" "+pf(m[5])+")"}function SVGGraphics(commonObjs,objs,forceDataSchema){this.svgFactory=new _dom_utils.DOMSVGFactory,this.current=new SVGExtraState,this.transformMatrix=_util.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=commonObjs,this.objs=objs,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!forceDataSchema}var XLINK_NS="http://www.w3.org/1999/xlink",LINE_CAP_STYLES=["butt","round","square"],LINE_JOIN_STYLES=["miter","round","bevel"],clipCount=0,maskCount=0;return SVGGraphics.prototype={save:function SVGGraphics_save(){this.transformStack.push(this.transformMatrix);var old=this.current;this.extraStack.push(old),this.current=old.clone()},restore:function SVGGraphics_restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null},group:function SVGGraphics_group(items){this.save(),this.executeOpTree(items),this.restore()},loadDependencies:function SVGGraphics_loadDependencies(operatorList){for(var _this=this,fnArray=operatorList.fnArray,fnArrayLen=fnArray.length,argsArray=operatorList.argsArray,i=0;i<fnArrayLen;i++)if(_util.OPS.dependency===fnArray[i])for(var deps=argsArray[i],n=0,nn=deps.length;n<nn;n++){var promise,obj=deps[n],common="g_"===obj.substring(0,2);promise=new Promise(common?function(resolve){_this.commonObjs.get(obj,resolve)}:function(resolve){_this.objs.get(obj,resolve)}),this.current.dependencies.push(promise)}return Promise.all(this.current.dependencies)},transform:function SVGGraphics_transform(a,b,c,d,e,f){var transformMatrix=[a,b,c,d,e,f];this.transformMatrix=_util.Util.transform(this.transformMatrix,transformMatrix),this.tgrp=null},getSVG:function SVGGraphics_getSVG(operatorList,viewport){var _this2=this;this.viewport=viewport;var svgElement=this._initialize(viewport);return this.loadDependencies(operatorList).then((function(){_this2.transformMatrix=_util.IDENTITY_MATRIX;var opTree=_this2.convertOpList(operatorList);return _this2.executeOpTree(opTree),svgElement}))},convertOpList:function SVGGraphics_convertOpList(operatorList){var argsArray=operatorList.argsArray,fnArray=operatorList.fnArray,fnArrayLen=fnArray.length,REVOPS=[],opList=[];for(var op in _util.OPS)REVOPS[_util.OPS[op]]=op;for(var x=0;x<fnArrayLen;x++){var fnId=fnArray[x];opList.push({fnId:fnId,fn:REVOPS[fnId],args:argsArray[x]})}return function opListToTree(opList){for(var opTree=[],tmp=[],opListLen=opList.length,x=0;x<opListLen;x++)"save"!==opList[x].fn?"restore"===opList[x].fn?opTree=tmp.pop():opTree.push(opList[x]):(opTree.push({fnId:92,fn:"group",items:[]}),tmp.push(opTree),opTree=opTree[opTree.length-1].items);return opTree}(opList)},executeOpTree:function SVGGraphics_executeOpTree(opTree){for(var opTreeLen=opTree.length,x=0;x<opTreeLen;x++){var fn=opTree[x].fn,fnId=opTree[x].fnId,args=opTree[x].args;switch(0|fnId){case _util.OPS.beginText:this.beginText();break;case _util.OPS.setLeading:this.setLeading(args);break;case _util.OPS.setLeadingMoveText:this.setLeadingMoveText(args[0],args[1]);break;case _util.OPS.setFont:this.setFont(args);break;case _util.OPS.showText:case _util.OPS.showSpacedText:this.showText(args[0]);break;case _util.OPS.endText:this.endText();break;case _util.OPS.moveText:this.moveText(args[0],args[1]);break;case _util.OPS.setCharSpacing:this.setCharSpacing(args[0]);break;case _util.OPS.setWordSpacing:this.setWordSpacing(args[0]);break;case _util.OPS.setHScale:this.setHScale(args[0]);break;case _util.OPS.setTextMatrix:this.setTextMatrix(args[0],args[1],args[2],args[3],args[4],args[5]);break;case _util.OPS.setTextRise:this.setTextRise(args[0]);break;case _util.OPS.setLineWidth:this.setLineWidth(args[0]);break;case _util.OPS.setLineJoin:this.setLineJoin(args[0]);break;case _util.OPS.setLineCap:this.setLineCap(args[0]);break;case _util.OPS.setMiterLimit:this.setMiterLimit(args[0]);break;case _util.OPS.setFillRGBColor:this.setFillRGBColor(args[0],args[1],args[2]);break;case _util.OPS.setStrokeRGBColor:this.setStrokeRGBColor(args[0],args[1],args[2]);break;case _util.OPS.setDash:this.setDash(args[0],args[1]);break;case _util.OPS.setGState:this.setGState(args[0]);break;case _util.OPS.fill:this.fill();break;case _util.OPS.eoFill:this.eoFill();break;case _util.OPS.stroke:this.stroke();break;case _util.OPS.fillStroke:this.fillStroke();break;case _util.OPS.eoFillStroke:this.eoFillStroke();break;case _util.OPS.clip:this.clip("nonzero");break;case _util.OPS.eoClip:this.clip("evenodd");break;case _util.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case _util.OPS.paintJpegXObject:this.paintJpegXObject(args[0],args[1],args[2]);break;case _util.OPS.paintImageXObject:this.paintImageXObject(args[0]);break;case _util.OPS.paintInlineImageXObject:this.paintInlineImageXObject(args[0]);break;case _util.OPS.paintImageMaskXObject:this.paintImageMaskXObject(args[0]);break;case _util.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(args[0],args[1]);break;case _util.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case _util.OPS.closePath:this.closePath();break;case _util.OPS.closeStroke:this.closeStroke();break;case _util.OPS.closeFillStroke:this.closeFillStroke();break;case _util.OPS.nextLine:this.nextLine();break;case _util.OPS.transform:this.transform(args[0],args[1],args[2],args[3],args[4],args[5]);break;case _util.OPS.constructPath:this.constructPath(args[0],args[1]);break;case _util.OPS.endPath:this.endPath();break;case 92:this.group(opTree[x].items);break;default:(0,_util.warn)("Unimplemented operator "+fn)}}},setWordSpacing:function SVGGraphics_setWordSpacing(wordSpacing){this.current.wordSpacing=wordSpacing},setCharSpacing:function SVGGraphics_setCharSpacing(charSpacing){this.current.charSpacing=charSpacing},nextLine:function SVGGraphics_nextLine(){this.moveText(0,this.current.leading)},setTextMatrix:function SVGGraphics_setTextMatrix(a,b,c,d,e,f){var current=this.current;this.current.textMatrix=this.current.lineMatrix=[a,b,c,d,e,f],this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,current.xcoords=[],current.tspan=this.svgFactory.createElement("svg:tspan"),current.tspan.setAttributeNS(null,"font-family",current.fontFamily),current.tspan.setAttributeNS(null,"font-size",pf(current.fontSize)+"px"),current.tspan.setAttributeNS(null,"y",pf(-current.y)),current.txtElement=this.svgFactory.createElement("svg:text"),current.txtElement.appendChild(current.tspan)},beginText:function SVGGraphics_beginText(){this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0,this.current.textMatrix=_util.IDENTITY_MATRIX,this.current.lineMatrix=_util.IDENTITY_MATRIX,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.txtElement=this.svgFactory.createElement("svg:text"),this.current.txtgrp=this.svgFactory.createElement("svg:g"),this.current.xcoords=[]},moveText:function SVGGraphics_moveText(x,y){var current=this.current;this.current.x=this.current.lineX+=x,this.current.y=this.current.lineY+=y,current.xcoords=[],current.tspan=this.svgFactory.createElement("svg:tspan"),current.tspan.setAttributeNS(null,"font-family",current.fontFamily),current.tspan.setAttributeNS(null,"font-size",pf(current.fontSize)+"px"),current.tspan.setAttributeNS(null,"y",pf(-current.y))},showText:function SVGGraphics_showText(glyphs){var current=this.current,font=current.font,fontSize=current.fontSize;if(0!==fontSize){var i,charSpacing=current.charSpacing,wordSpacing=current.wordSpacing,fontDirection=current.fontDirection,textHScale=current.textHScale*fontDirection,glyphsLength=glyphs.length,vertical=font.vertical,widthAdvanceScale=fontSize*current.fontMatrix[0],x=0;for(i=0;i<glyphsLength;++i){var glyph=glyphs[i];if(null!==glyph)if((0,_util.isNum)(glyph))x+=-glyph*fontSize*.001;else{var width=glyph.width,character=glyph.fontChar,charWidth=width*widthAdvanceScale+((glyph.isSpace?wordSpacing:0)+charSpacing)*fontDirection;glyph.isInFont||font.missingFile?(current.xcoords.push(current.x+x*textHScale),current.tspan.textContent+=character,x+=charWidth):x+=charWidth}else x+=fontDirection*wordSpacing}vertical?current.y-=x*textHScale:current.x+=x*textHScale,current.tspan.setAttributeNS(null,"x",current.xcoords.map(pf).join(" ")),current.tspan.setAttributeNS(null,"y",pf(-current.y)),current.tspan.setAttributeNS(null,"font-family",current.fontFamily),current.tspan.setAttributeNS(null,"font-size",pf(current.fontSize)+"px"),current.fontStyle!==SVG_DEFAULTS.fontStyle&&current.tspan.setAttributeNS(null,"font-style",current.fontStyle),current.fontWeight!==SVG_DEFAULTS.fontWeight&&current.tspan.setAttributeNS(null,"font-weight",current.fontWeight),current.fillColor!==SVG_DEFAULTS.fillColor&&current.tspan.setAttributeNS(null,"fill",current.fillColor);var textMatrix=current.textMatrix;0!==current.textRise&&((textMatrix=textMatrix.slice())[5]+=current.textRise),current.txtElement.setAttributeNS(null,"transform",pm(textMatrix)+" scale(1, -1)"),current.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),current.txtElement.appendChild(current.tspan),current.txtgrp.appendChild(current.txtElement),this._ensureTransformGroup().appendChild(current.txtElement)}},setLeadingMoveText:function SVGGraphics_setLeadingMoveText(x,y){this.setLeading(-y),this.moveText(x,y)},addFontStyle:function SVGGraphics_addFontStyle(fontObj){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var url=(0,_util.createObjectURL)(fontObj.data,fontObj.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'+fontObj.loadedName+'"; src: url('+url+"); }\n"},setFont:function SVGGraphics_setFont(details){var current=this.current,fontObj=this.commonObjs.get(details[0]),size=details[1];this.current.font=fontObj,this.embedFonts&&fontObj.data&&!this.embeddedFonts[fontObj.loadedName]&&(this.addFontStyle(fontObj),this.embeddedFonts[fontObj.loadedName]=fontObj),current.fontMatrix=fontObj.fontMatrix?fontObj.fontMatrix:_util.FONT_IDENTITY_MATRIX;var bold=fontObj.black?fontObj.bold?"bolder":"bold":fontObj.bold?"bold":"normal",italic=fontObj.italic?"italic":"normal";size<0?(size=-size,current.fontDirection=-1):current.fontDirection=1,current.fontSize=size,current.fontFamily=fontObj.loadedName,current.fontWeight=bold,current.fontStyle=italic,current.tspan=this.svgFactory.createElement("svg:tspan"),current.tspan.setAttributeNS(null,"y",pf(-current.y)),current.xcoords=[]},endText:function SVGGraphics_endText(){},setLineWidth:function SVGGraphics_setLineWidth(width){this.current.lineWidth=width},setLineCap:function SVGGraphics_setLineCap(style){this.current.lineCap=LINE_CAP_STYLES[style]},setLineJoin:function SVGGraphics_setLineJoin(style){this.current.lineJoin=LINE_JOIN_STYLES[style]},setMiterLimit:function SVGGraphics_setMiterLimit(limit){this.current.miterLimit=limit},setStrokeAlpha:function SVGGraphics_setStrokeAlpha(strokeAlpha){this.current.strokeAlpha=strokeAlpha},setStrokeRGBColor:function SVGGraphics_setStrokeRGBColor(r,g,b){var color=_util.Util.makeCssRgb(r,g,b);this.current.strokeColor=color},setFillAlpha:function SVGGraphics_setFillAlpha(fillAlpha){this.current.fillAlpha=fillAlpha},setFillRGBColor:function SVGGraphics_setFillRGBColor(r,g,b){var color=_util.Util.makeCssRgb(r,g,b);this.current.fillColor=color,this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]},setDash:function SVGGraphics_setDash(dashArray,dashPhase){this.current.dashArray=dashArray,this.current.dashPhase=dashPhase},constructPath:function SVGGraphics_constructPath(ops,args){var current=this.current,x=current.x,y=current.y;current.path=this.svgFactory.createElement("svg:path");for(var d=[],opLength=ops.length,i=0,j=0;i<opLength;i++)switch(0|ops[i]){case _util.OPS.rectangle:x=args[j++],y=args[j++];var xw=x+args[j++],yh=y+args[j++];d.push("M",pf(x),pf(y),"L",pf(xw),pf(y),"L",pf(xw),pf(yh),"L",pf(x),pf(yh),"Z");break;case _util.OPS.moveTo:x=args[j++],y=args[j++],d.push("M",pf(x),pf(y));break;case _util.OPS.lineTo:x=args[j++],y=args[j++],d.push("L",pf(x),pf(y));break;case _util.OPS.curveTo:x=args[j+4],y=args[j+5],d.push("C",pf(args[j]),pf(args[j+1]),pf(args[j+2]),pf(args[j+3]),pf(x),pf(y)),j+=6;break;case _util.OPS.curveTo2:x=args[j+2],y=args[j+3],d.push("C",pf(x),pf(y),pf(args[j]),pf(args[j+1]),pf(args[j+2]),pf(args[j+3])),j+=4;break;case _util.OPS.curveTo3:x=args[j+2],y=args[j+3],d.push("C",pf(args[j]),pf(args[j+1]),pf(x),pf(y),pf(x),pf(y)),j+=4;break;case _util.OPS.closePath:d.push("Z")}current.path.setAttributeNS(null,"d",d.join(" ")),current.path.setAttributeNS(null,"fill","none"),this._ensureTransformGroup().appendChild(current.path),current.element=current.path,current.setCurrentPoint(x,y)},endPath:function SVGGraphics_endPath(){if(this.pendingClip){var current=this.current,clipId="clippath"+clipCount;clipCount++;var clipPath=this.svgFactory.createElement("svg:clipPath");clipPath.setAttributeNS(null,"id",clipId),clipPath.setAttributeNS(null,"transform",pm(this.transformMatrix));var clipElement=current.element.cloneNode();"evenodd"===this.pendingClip?clipElement.setAttributeNS(null,"clip-rule","evenodd"):clipElement.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,clipPath.appendChild(clipElement),this.defs.appendChild(clipPath),current.activeClipUrl&&(current.clipGroup=null,this.extraStack.forEach((function(prev){prev.clipGroup=null}))),current.activeClipUrl="url(#"+clipId+")",this.tgrp=null}},clip:function SVGGraphics_clip(type){this.pendingClip=type},closePath:function SVGGraphics_closePath(){var current=this.current,d=current.path.getAttributeNS(null,"d");d+="Z",current.path.setAttributeNS(null,"d",d)},setLeading:function SVGGraphics_setLeading(leading){this.current.leading=-leading},setTextRise:function SVGGraphics_setTextRise(textRise){this.current.textRise=textRise},setHScale:function SVGGraphics_setHScale(scale){this.current.textHScale=scale/100},setGState:function SVGGraphics_setGState(states){for(var i=0,ii=states.length;i<ii;i++){var state=states[i],key=state[0],value=state[1];switch(key){case"LW":this.setLineWidth(value);break;case"LC":this.setLineCap(value);break;case"LJ":this.setLineJoin(value);break;case"ML":this.setMiterLimit(value);break;case"D":this.setDash(value[0],value[1]);break;case"Font":this.setFont(value);break;case"CA":this.setStrokeAlpha(value);break;case"ca":this.setFillAlpha(value);break;default:(0,_util.warn)("Unimplemented graphic state "+key)}}},fill:function SVGGraphics_fill(){var current=this.current;current.element.setAttributeNS(null,"fill",current.fillColor),current.element.setAttributeNS(null,"fill-opacity",current.fillAlpha)},stroke:function SVGGraphics_stroke(){var current=this.current;current.element.setAttributeNS(null,"stroke",current.strokeColor),current.element.setAttributeNS(null,"stroke-opacity",current.strokeAlpha),current.element.setAttributeNS(null,"stroke-miterlimit",pf(current.miterLimit)),current.element.setAttributeNS(null,"stroke-linecap",current.lineCap),current.element.setAttributeNS(null,"stroke-linejoin",current.lineJoin),current.element.setAttributeNS(null,"stroke-width",pf(current.lineWidth)+"px"),current.element.setAttributeNS(null,"stroke-dasharray",current.dashArray.map(pf).join(" ")),current.element.setAttributeNS(null,"stroke-dashoffset",pf(current.dashPhase)+"px"),current.element.setAttributeNS(null,"fill","none")},eoFill:function SVGGraphics_eoFill(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()},fillStroke:function SVGGraphics_fillStroke(){this.stroke(),this.fill()},eoFillStroke:function SVGGraphics_eoFillStroke(){this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()},closeStroke:function SVGGraphics_closeStroke(){this.closePath(),this.stroke()},closeFillStroke:function SVGGraphics_closeFillStroke(){this.closePath(),this.fillStroke()},paintSolidColorImageMask:function SVGGraphics_paintSolidColorImageMask(){var current=this.current,rect=this.svgFactory.createElement("svg:rect");rect.setAttributeNS(null,"x","0"),rect.setAttributeNS(null,"y","0"),rect.setAttributeNS(null,"width","1px"),rect.setAttributeNS(null,"height","1px"),rect.setAttributeNS(null,"fill",current.fillColor),this._ensureTransformGroup().appendChild(rect)},paintJpegXObject:function SVGGraphics_paintJpegXObject(objId,w,h){var imgObj=this.objs.get(objId),imgEl=this.svgFactory.createElement("svg:image");imgEl.setAttributeNS(XLINK_NS,"xlink:href",imgObj.src),imgEl.setAttributeNS(null,"width",pf(w)),imgEl.setAttributeNS(null,"height",pf(h)),imgEl.setAttributeNS(null,"x","0"),imgEl.setAttributeNS(null,"y",pf(-h)),imgEl.setAttributeNS(null,"transform","scale("+pf(1/w)+" "+pf(-1/h)+")"),this._ensureTransformGroup().appendChild(imgEl)},paintImageXObject:function SVGGraphics_paintImageXObject(objId){var imgData=this.objs.get(objId);imgData?this.paintInlineImageXObject(imgData):(0,_util.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function SVGGraphics_paintInlineImageXObject(imgData,mask){var width=imgData.width,height=imgData.height,imgSrc=convertImgDataToPng(imgData,this.forceDataSchema),cliprect=this.svgFactory.createElement("svg:rect");cliprect.setAttributeNS(null,"x","0"),cliprect.setAttributeNS(null,"y","0"),cliprect.setAttributeNS(null,"width",pf(width)),cliprect.setAttributeNS(null,"height",pf(height)),this.current.element=cliprect,this.clip("nonzero");var imgEl=this.svgFactory.createElement("svg:image");imgEl.setAttributeNS(XLINK_NS,"xlink:href",imgSrc),imgEl.setAttributeNS(null,"x","0"),imgEl.setAttributeNS(null,"y",pf(-height)),imgEl.setAttributeNS(null,"width",pf(width)+"px"),imgEl.setAttributeNS(null,"height",pf(height)+"px"),imgEl.setAttributeNS(null,"transform","scale("+pf(1/width)+" "+pf(-1/height)+")"),mask?mask.appendChild(imgEl):this._ensureTransformGroup().appendChild(imgEl)},paintImageMaskXObject:function SVGGraphics_paintImageMaskXObject(imgData){var current=this.current,width=imgData.width,height=imgData.height,fillColor=current.fillColor;current.maskId="mask"+maskCount++;var mask=this.svgFactory.createElement("svg:mask");mask.setAttributeNS(null,"id",current.maskId);var rect=this.svgFactory.createElement("svg:rect");rect.setAttributeNS(null,"x","0"),rect.setAttributeNS(null,"y","0"),rect.setAttributeNS(null,"width",pf(width)),rect.setAttributeNS(null,"height",pf(height)),rect.setAttributeNS(null,"fill",fillColor),rect.setAttributeNS(null,"mask","url(#"+current.maskId+")"),this.defs.appendChild(mask),this._ensureTransformGroup().appendChild(rect),this.paintInlineImageXObject(imgData,mask)},paintFormXObjectBegin:function SVGGraphics_paintFormXObjectBegin(matrix,bbox){if(Array.isArray(matrix)&&6===matrix.length&&this.transform(matrix[0],matrix[1],matrix[2],matrix[3],matrix[4],matrix[5]),Array.isArray(bbox)&&4===bbox.length){var width=bbox[2]-bbox[0],height=bbox[3]-bbox[1],cliprect=this.svgFactory.createElement("svg:rect");cliprect.setAttributeNS(null,"x",bbox[0]),cliprect.setAttributeNS(null,"y",bbox[1]),cliprect.setAttributeNS(null,"width",pf(width)),cliprect.setAttributeNS(null,"height",pf(height)),this.current.element=cliprect,this.clip("nonzero"),this.endPath()}},paintFormXObjectEnd:function SVGGraphics_paintFormXObjectEnd(){},_initialize:function _initialize(viewport){var svg=this.svgFactory.create(viewport.width,viewport.height),definitions=this.svgFactory.createElement("svg:defs");svg.appendChild(definitions),this.defs=definitions;var rootGroup=this.svgFactory.createElement("svg:g");return rootGroup.setAttributeNS(null,"transform",pm(viewport.transform)),svg.appendChild(rootGroup),this.svg=rootGroup,svg},_ensureClipGroup:function SVGGraphics_ensureClipGroup(){if(!this.current.clipGroup){var clipGroup=this.svgFactory.createElement("svg:g");clipGroup.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(clipGroup),this.current.clipGroup=clipGroup}return this.current.clipGroup},_ensureTransformGroup:function SVGGraphics_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",pm(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}},SVGGraphics}(),exports.SVGGraphics=SVGGraphics},function(module,exports,__w_pdfjs_require__){"use strict";var pdfjsSharedUtil=__w_pdfjs_require__(0),pdfjsDisplayGlobal=__w_pdfjs_require__(118),pdfjsDisplayAPI=__w_pdfjs_require__(69),pdfjsDisplayTextLayer=__w_pdfjs_require__(73),pdfjsDisplayAnnotationLayer=__w_pdfjs_require__(72),pdfjsDisplayDOMUtils=__w_pdfjs_require__(15),pdfjsDisplaySVG=__w_pdfjs_require__(74);if(pdfjsSharedUtil.isNodeJS()){var PDFNodeStream=__w_pdfjs_require__(124).PDFNodeStream;pdfjsDisplayAPI.setPDFNetworkStreamClass(PDFNodeStream)}else if("undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream){var PDFFetchStream=__w_pdfjs_require__(125).PDFFetchStream;pdfjsDisplayAPI.setPDFNetworkStreamClass(PDFFetchStream)}else{var PDFNetworkStream=__w_pdfjs_require__(126).PDFNetworkStream;pdfjsDisplayAPI.setPDFNetworkStreamClass(PDFNetworkStream)}exports.PDFJS=pdfjsDisplayGlobal.PDFJS,exports.build=pdfjsDisplayAPI.build,exports.version=pdfjsDisplayAPI.version,exports.getDocument=pdfjsDisplayAPI.getDocument,exports.LoopbackPort=pdfjsDisplayAPI.LoopbackPort,exports.PDFDataRangeTransport=pdfjsDisplayAPI.PDFDataRangeTransport,exports.PDFWorker=pdfjsDisplayAPI.PDFWorker,exports.renderTextLayer=pdfjsDisplayTextLayer.renderTextLayer,exports.AnnotationLayer=pdfjsDisplayAnnotationLayer.AnnotationLayer,exports.CustomStyle=pdfjsDisplayDOMUtils.CustomStyle,exports.createPromiseCapability=pdfjsSharedUtil.createPromiseCapability,exports.PasswordResponses=pdfjsSharedUtil.PasswordResponses,exports.InvalidPDFException=pdfjsSharedUtil.InvalidPDFException,exports.MissingPDFException=pdfjsSharedUtil.MissingPDFException,exports.SVGGraphics=pdfjsDisplaySVG.SVGGraphics,exports.NativeImageDecoding=pdfjsSharedUtil.NativeImageDecoding,exports.UnexpectedResponseException=pdfjsSharedUtil.UnexpectedResponseException,exports.OPS=pdfjsSharedUtil.OPS,exports.UNSUPPORTED_FEATURES=pdfjsSharedUtil.UNSUPPORTED_FEATURES,exports.isValidUrl=pdfjsDisplayDOMUtils.isValidUrl,exports.createValidAbsoluteUrl=pdfjsSharedUtil.createValidAbsoluteUrl,exports.createObjectURL=pdfjsSharedUtil.createObjectURL,exports.removeNullCharacters=pdfjsSharedUtil.removeNullCharacters,exports.shadow=pdfjsSharedUtil.shadow,exports.createBlob=pdfjsSharedUtil.createBlob,exports.RenderingCancelledException=pdfjsDisplayDOMUtils.RenderingCancelledException,exports.getFilenameFromUrl=pdfjsDisplayDOMUtils.getFilenameFromUrl,exports.addLinkAttributes=pdfjsDisplayDOMUtils.addLinkAttributes,exports.StatTimer=pdfjsSharedUtil.StatTimer},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};if("undefined"==typeof PDFJS||!PDFJS.compatibilityChecked){var globalScope=__w_pdfjs_require__(20),userAgent="undefined"!=typeof navigator&&navigator.userAgent||"",isAndroid=/Android/.test(userAgent),isAndroidPre3=/Android\s[0-2][^\d]/.test(userAgent),isAndroidPre5=/Android\s[0-4][^\d]/.test(userAgent),isChrome=userAgent.indexOf("Chrom")>=0,isChromeWithRangeBug=/Chrome\/(39|40)\./.test(userAgent),isIOSChrome=userAgent.indexOf("CriOS")>=0,isIE=userAgent.indexOf("Trident")>=0,isIOS=/\b(iPad|iPhone|iPod)(?=;)/.test(userAgent),isOpera=userAgent.indexOf("Opera")>=0,isSafari=/Safari\//.test(userAgent)&&!/(Chrome\/|Android\s)/.test(userAgent),hasDOM="object"===("undefined"==typeof window?"undefined":_typeof(window))&&"object"===("undefined"==typeof document?"undefined":_typeof(document));"undefined"==typeof PDFJS&&(globalScope.PDFJS={}),PDFJS.compatibilityChecked=!0,function checkTypedArrayCompatibility(){if("undefined"==typeof Uint8ClampedArray&&(globalScope.Uint8ClampedArray=__w_pdfjs_require__(77)),"undefined"!=typeof Uint8Array)return void 0===Uint8Array.prototype.subarray&&(Uint8Array.prototype.subarray=function subarray(start,end){return new Uint8Array(this.slice(start,end))},Float32Array.prototype.subarray=function subarray(start,end){return new Float32Array(this.slice(start,end))}),void("undefined"==typeof Float64Array&&(globalScope.Float64Array=Float32Array));function subarray(start,end){return new TypedArray(this.slice(start,end))}function setArrayOffset(array,offset){arguments.length<2&&(offset=0);for(var i=0,n=array.length;i<n;++i,++offset)this[offset]=255&array[i]}function Uint32ArrayView(buffer,length){this.buffer=buffer,this.byteLength=buffer.length,this.length=length,function ensureUint32ArrayViewProps(length){for(;uint32ArrayViewSetters<length;)Object.defineProperty(Uint32ArrayView.prototype,uint32ArrayViewSetters,createUint32ArrayProp(uint32ArrayViewSetters)),uint32ArrayViewSetters++}(this.length)}Uint32ArrayView.prototype=Object.create(null);var uint32ArrayViewSetters=0;function createUint32ArrayProp(index){return{get:function get(){var buffer=this.buffer,offset=index<<2;return(buffer[offset]|buffer[offset+1]<<8|buffer[offset+2]<<16|buffer[offset+3]<<24)>>>0},set:function set(value){var buffer=this.buffer,offset=index<<2;buffer[offset]=255&value,buffer[offset+1]=value>>8&255,buffer[offset+2]=value>>16&255,buffer[offset+3]=value>>>24&255}}}function TypedArray(arg1){var result,i,n;if("number"==typeof arg1)for(result=[],i=0;i<arg1;++i)result[i]=0;else if("slice"in arg1)result=arg1.slice(0);else for(result=[],i=0,n=arg1.length;i<n;++i)result[i]=arg1[i];return result.subarray=subarray,result.buffer=result,result.byteLength=result.length,result.set=setArrayOffset,"object"===(void 0===arg1?"undefined":_typeof(arg1))&&arg1.buffer&&(result.buffer=arg1.buffer),result}globalScope.Uint8Array=TypedArray,globalScope.Int8Array=TypedArray,globalScope.Int32Array=TypedArray,globalScope.Uint16Array=TypedArray,globalScope.Float32Array=TypedArray,globalScope.Float64Array=TypedArray,globalScope.Uint32Array=function(){if(3===arguments.length){if(0!==arguments[1])throw new Error("offset !== 0 is not supported");return new Uint32ArrayView(arguments[0],arguments[2])}return TypedArray.apply(this,arguments)}}(),function canvasPixelArrayBuffer(){if(hasDOM&&window.CanvasPixelArray){var cpaProto=window.CanvasPixelArray.prototype;"buffer"in cpaProto||(Object.defineProperty(cpaProto,"buffer",{get:function get(){return this},enumerable:!1,configurable:!0}),Object.defineProperty(cpaProto,"byteLength",{get:function get(){return this.length},enumerable:!1,configurable:!0}))}}(),function normalizeURLObject(){globalScope.URL||(globalScope.URL=globalScope.webkitURL)}(),function checkObjectDefinePropertyCompatibility(){if(void 0!==Object.defineProperty){var definePropertyPossible=!0;try{hasDOM&&Object.defineProperty(new Image,"id",{value:"test"});var Test=function Test(){};Test.prototype={get id(){}},Object.defineProperty(new Test,"id",{value:"",configurable:!0,enumerable:!0,writable:!1})}catch(e){definePropertyPossible=!1}if(definePropertyPossible)return}Object.defineProperty=function objectDefineProperty(obj,name,def){delete obj[name],"get"in def&&obj.__defineGetter__(name,def.get),"set"in def&&obj.__defineSetter__(name,def.set),"value"in def&&(obj.__defineSetter__(name,(function objectDefinePropertySetter(value){return this.__defineGetter__(name,(function objectDefinePropertyGetter(){return value})),value})),obj[name]=def.value)}}(),function checkXMLHttpRequestResponseCompatibility(){if("undefined"!=typeof XMLHttpRequest){var xhrPrototype=XMLHttpRequest.prototype,xhr=new XMLHttpRequest;"overrideMimeType"in xhr||Object.defineProperty(xhrPrototype,"overrideMimeType",{value:function xmlHttpRequestOverrideMimeType(mimeType){}}),"responseType"in xhr||(Object.defineProperty(xhrPrototype,"responseType",{get:function xmlHttpRequestGetResponseType(){return this._responseType||"text"},set:function xmlHttpRequestSetResponseType(value){"text"!==value&&"arraybuffer"!==value||(this._responseType=value,"arraybuffer"===value&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined"))}}),"undefined"==typeof VBArray?Object.defineProperty(xhrPrototype,"response",{get:function xmlHttpRequestResponseGet(){if("arraybuffer"!==this.responseType)return this.responseText;var i,text=this.responseText,n=text.length,result=new Uint8Array(n);for(i=0;i<n;++i)result[i]=255&text.charCodeAt(i);return result.buffer}}):Object.defineProperty(xhrPrototype,"response",{get:function xmlHttpRequestResponseGet(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}}))}}(),function checkWindowBtoaCompatibility(){if(!("btoa"in globalScope)){var digits="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";globalScope.btoa=function(chars){var i,n,buffer="";for(i=0,n=chars.length;i<n;i+=3){var b1=255&chars.charCodeAt(i),b2=255&chars.charCodeAt(i+1),b3=255&chars.charCodeAt(i+2),d2=(3&b1)<<4|b2>>4,d3=i+1<n?(15&b2)<<2|b3>>6:64,d4=i+2<n?63&b3:64;buffer+=digits.charAt(b1>>2)+digits.charAt(d2)+digits.charAt(d3)+digits.charAt(d4)}return buffer}}}(),function checkWindowAtobCompatibility(){if(!("atob"in globalScope)){globalScope.atob=function(input){if((input=input.replace(/=+$/,"")).length%4==1)throw new Error("bad atob input");for(var bs,buffer,bc=0,idx=0,output="";buffer=input.charAt(idx++);~buffer&&(bs=bc%4?64*bs+buffer:buffer,bc++%4)?output+=String.fromCharCode(255&bs>>(-2*bc&6)):0)buffer="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(buffer);return output}}}(),function checkFunctionPrototypeBindCompatibility(){void 0===Function.prototype.bind&&(Function.prototype.bind=function functionPrototypeBind(obj){var fn=this,headArgs=Array.prototype.slice.call(arguments,1),bound=function functionPrototypeBindBound(){var args=headArgs.concat(Array.prototype.slice.call(arguments));return fn.apply(obj,args)};return bound})}(),function checkDatasetProperty(){hasDOM&&("dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function get(){if(this._dataset)return this._dataset;for(var dataset={},j=0,jj=this.attributes.length;j<jj;j++){var attribute=this.attributes[j];if("data-"===attribute.name.substring(0,5))dataset[attribute.name.substring(5).replace(/\-([a-z])/g,(function(all,ch){return ch.toUpperCase()}))]=attribute.value}return Object.defineProperty(this,"_dataset",{value:dataset,writable:!1,enumerable:!1}),dataset},enumerable:!0}))}(),function checkClassListProperty(){function changeList(element,itemName,add,remove){var list=(element.className||"").split(/\s+/g);""===list[0]&&list.shift();var index=list.indexOf(itemName);return index<0&&add&&list.push(itemName),index>=0&&remove&&list.splice(index,1),element.className=list.join(" "),index>=0}if(hasDOM&&!("classList"in document.createElement("div"))){var classListPrototype={add:function add(name){changeList(this.element,name,!0,!1)},contains:function contains(name){return changeList(this.element,name,!1,!1)},remove:function remove(name){changeList(this.element,name,!1,!0)},toggle:function toggle(name){changeList(this.element,name,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function get(){if(this._classList)return this._classList;var classList=Object.create(classListPrototype,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:classList,writable:!1,enumerable:!1}),classList},enumerable:!0})}}(),function checkWorkerConsoleCompatibility(){if("undefined"!=typeof importScripts&&!("console"in globalScope)){var consoleTimer={},workerConsole={log:function log(){var args=Array.prototype.slice.call(arguments);globalScope.postMessage({targetName:"main",action:"console_log",data:args})},error:function error(){var args=Array.prototype.slice.call(arguments);globalScope.postMessage({targetName:"main",action:"console_error",data:args})},time:function time(name){consoleTimer[name]=Date.now()},timeEnd:function timeEnd(name){var time=consoleTimer[name];if(!time)throw new Error("Unknown timer name "+name);this.log("Timer:",name,Date.now()-time)}};globalScope.console=workerConsole}}(),function checkConsoleCompatibility(){if(hasDOM){var fn;if("console"in window)return"bind"in console.log?void 0:(console.log=(fn=console.log,function(msg){return fn(msg)}),console.error=function(fn){return function(msg){return fn(msg)}}(console.error),void(console.warn=function(fn){return function(msg){return fn(msg)}}(console.warn)));window.console={log:function log(){},error:function error(){},warn:function warn(){}}}}(),function checkOnClickCompatibility(){function isDisabled(node){return node.disabled||node.parentNode&&isDisabled(node.parentNode)}isOpera&&document.addEventListener("click",(function ignoreIfTargetDisabled(event){isDisabled(event.target)&&event.stopPropagation()}),!0)}(),function checkOnBlobSupport(){(isIE||isIOSChrome)&&(PDFJS.disableCreateObjectURL=!0)}(),function checkNavigatorLanguage(){"undefined"!=typeof navigator&&("language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US"))}(),function checkRangeRequests(){(isSafari||isAndroidPre3||isChromeWithRangeBug||isIOS)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0)}(),function checkHistoryManipulation(){hasDOM&&(history.pushState&&!isAndroidPre3||(PDFJS.disableHistory=!0))}(),function checkSetPresenceInImageData(){if(hasDOM)if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(arr){for(var i=0,ii=this.length;i<ii;i++)this[i]=arr[i]});else{var versionMatch,polyfill=!1;if(isChrome?polyfill=(versionMatch=userAgent.match(/Chrom(e|ium)\/([0-9]+)\./))&&parseInt(versionMatch[2])<21:isAndroid?polyfill=isAndroidPre5:isSafari&&(polyfill=(versionMatch=userAgent.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//))&&parseInt(versionMatch[1])<6),polyfill){var contextPrototype=window.CanvasRenderingContext2D.prototype,createImageData=contextPrototype.createImageData;contextPrototype.createImageData=function(w,h){var imageData=createImageData.call(this,w,h);return imageData.data.set=function(arr){for(var i=0,ii=this.length;i<ii;i++)this[i]=arr[i]},imageData},contextPrototype=null}}}(),function checkRequestAnimationFrame(){function installFakeAnimationFrameFunctions(){window.requestAnimationFrame=function(callback){return window.setTimeout(callback,20)},window.cancelAnimationFrame=function(timeoutID){window.clearTimeout(timeoutID)}}hasDOM&&(isIOS?installFakeAnimationFrameFunctions():"requestAnimationFrame"in window||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame,window.requestAnimationFrame||installFakeAnimationFrameFunctions()))}(),function checkCanvasSizeLimitation(){(isIOS||isAndroid)&&(PDFJS.maxCanvasPixels=5242880)}(),function checkFullscreenSupport(){hasDOM&&isIE&&window.parent!==window&&(PDFJS.disableFullscreen=!0)}(),function checkCurrentScript(){hasDOM&&("currentScript"in document||Object.defineProperty(document,"currentScript",{get:function get(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]},enumerable:!0,configurable:!0}))}(),function checkInputTypeNumberAssign(){if(hasDOM){var el=document.createElement("input");try{el.type="number"}catch(ex){var inputProto=el.constructor.prototype,typeProperty=Object.getOwnPropertyDescriptor(inputProto,"type");Object.defineProperty(inputProto,"type",{get:function get(){return typeProperty.get.call(this)},set:function set(value){typeProperty.set.call(this,"number"===value?"text":value)},enumerable:!0,configurable:!0})}}}(),function checkDocumentReadyState(){if(hasDOM&&document.attachEvent){var documentProto=document.constructor.prototype,readyStateProto=Object.getOwnPropertyDescriptor(documentProto,"readyState");Object.defineProperty(documentProto,"readyState",{get:function get(){var value=readyStateProto.get.call(this);return"interactive"===value?"loading":value},set:function set(value){readyStateProto.set.call(this,value)},enumerable:!0,configurable:!0})}}(),function checkChildNodeRemove(){hasDOM&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(),function checkNumberIsNaN(){Number.isNaN||(Number.isNaN=__w_pdfjs_require__(89))}(),function checkNumberIsInteger(){Number.isInteger||(Number.isInteger=__w_pdfjs_require__(91))}(),function checkPromise(){globalScope.Promise||(globalScope.Promise=__w_pdfjs_require__(94))}(),function checkWeakMap(){globalScope.WeakMap||(globalScope.WeakMap=__w_pdfjs_require__(104))}(),function checkURLConstructor(){var hasWorkingUrl=!1;try{if("function"==typeof URL&&"object"===_typeof(URL.prototype)&&"origin"in URL.prototype){var u=new URL("b","http://a");u.pathname="c%20d",hasWorkingUrl="http://a/c%20d"===u.href}}catch(e){}if(!hasWorkingUrl){var relative=Object.create(null);relative.ftp=21,relative.file=0,relative.gopher=70,relative.http=80,relative.https=443,relative.ws=80,relative.wss=443;var relativePathDotMapping=Object.create(null);relativePathDotMapping["%2e"]=".",relativePathDotMapping[".%2e"]="..",relativePathDotMapping["%2e."]="..",relativePathDotMapping["%2e%2e"]="..";var EOF,ALPHA=/[a-zA-Z]/,ALPHANUMERIC=/[a-zA-Z0-9\+\-\.]/;JURL.prototype={toString:function toString(){return this.href},get href(){if(this._isInvalid)return this._url;var authority="";return""===this._username&&null===this._password||(authority=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+authority+this.host:"")+this.pathname+this._query+this._fragment},set href(value){clear.call(this),parse.call(this,value)},get protocol(){return this._scheme+":"},set protocol(value){this._isInvalid||parse.call(this,value+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"host")},get hostname(){return this._host},set hostname(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"hostname")},get port(){return this._port},set port(value){!this._isInvalid&&this._isRelative&&parse.call(this,value,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(value){!this._isInvalid&&this._isRelative&&(this._path=[],parse.call(this,value,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(value){!this._isInvalid&&this._isRelative&&(this._query="?","?"===value[0]&&(value=value.slice(1)),parse.call(this,value,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(value){this._isInvalid||(this._fragment="#","#"===value[0]&&(value=value.slice(1)),parse.call(this,value,"fragment"))},get origin(){var host;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new JURL(this._schemeData).origin||"null"}catch(_){}return"null"}return(host=this.host)?this._scheme+"://"+host:""}};var OriginalURL=globalScope.URL;OriginalURL&&(JURL.createObjectURL=function(blob){return OriginalURL.createObjectURL.apply(OriginalURL,arguments)},JURL.revokeObjectURL=function(url){OriginalURL.revokeObjectURL(url)}),globalScope.URL=JURL}function isRelativeScheme(scheme){return void 0!==relative[scheme]}function invalid(){clear.call(this),this._isInvalid=!0}function IDNAToASCII(h){return""===h&&invalid.call(this),h.toLowerCase()}function percentEscape(c){var unicode=c.charCodeAt(0);return unicode>32&&unicode<127&&-1===[34,35,60,62,63,96].indexOf(unicode)?c:encodeURIComponent(c)}function percentEscapeQuery(c){var unicode=c.charCodeAt(0);return unicode>32&&unicode<127&&-1===[34,35,60,62,96].indexOf(unicode)?c:encodeURIComponent(c)}function parse(input,stateOverride,base){function err(message){errors.push(message)}var state=stateOverride||"scheme start",cursor=0,buffer="",seenAt=!1,seenBracket=!1,errors=[];loop:for(;(input[cursor-1]!==EOF||0===cursor)&&!this._isInvalid;){var c=input[cursor];switch(state){case"scheme start":if(!c||!ALPHA.test(c)){if(stateOverride){err("Invalid scheme.");break loop}buffer="",state="no scheme";continue}buffer+=c.toLowerCase(),state="scheme";break;case"scheme":if(c&&ALPHANUMERIC.test(c))buffer+=c.toLowerCase();else{if(":"!==c){if(stateOverride){if(c===EOF)break loop;err("Code point not allowed in scheme: "+c);break loop}buffer="",cursor=0,state="no scheme";continue}if(this._scheme=buffer,buffer="",stateOverride)break loop;isRelativeScheme(this._scheme)&&(this._isRelative=!0),state="file"===this._scheme?"relative":this._isRelative&&base&&base._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===c?(this._query="?",state="query"):"#"===c?(this._fragment="#",state="fragment"):c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._schemeData+=percentEscape(c));break;case"no scheme":if(base&&isRelativeScheme(base._scheme)){state="relative";continue}err("Missing scheme."),invalid.call(this);break;case"relative or authority":if("/"!==c||"/"!==input[cursor+1]){err("Expected /, got: "+c),state="relative";continue}state="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=base._scheme),c===EOF){this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query=base._query,this._username=base._username,this._password=base._password;break loop}if("/"===c||"\\"===c)"\\"===c&&err("\\ is an invalid code point."),state="relative slash";else if("?"===c)this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query="?",this._username=base._username,this._password=base._password,state="query";else{if("#"!==c){var nextC=input[cursor+1],nextNextC=input[cursor+2];("file"!==this._scheme||!ALPHA.test(c)||":"!==nextC&&"|"!==nextC||nextNextC!==EOF&&"/"!==nextNextC&&"\\"!==nextNextC&&"?"!==nextNextC&&"#"!==nextNextC)&&(this._host=base._host,this._port=base._port,this._username=base._username,this._password=base._password,this._path=base._path.slice(),this._path.pop()),state="relative path";continue}this._host=base._host,this._port=base._port,this._path=base._path.slice(),this._query=base._query,this._fragment="#",this._username=base._username,this._password=base._password,state="fragment"}break;case"relative slash":if("/"!==c&&"\\"!==c){"file"!==this._scheme&&(this._host=base._host,this._port=base._port,this._username=base._username,this._password=base._password),state="relative path";continue}"\\"===c&&err("\\ is an invalid code point."),state="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==c){err("Expected '/', got: "+c),state="authority ignore slashes";continue}state="authority second slash";break;case"authority second slash":if(state="authority ignore slashes","/"!==c){err("Expected '/', got: "+c);continue}break;case"authority ignore slashes":if("/"!==c&&"\\"!==c){state="authority";continue}err("Expected authority, got: "+c);break;case"authority":if("@"===c){seenAt&&(err("@ already seen."),buffer+="%40"),seenAt=!0;for(var i=0;i<buffer.length;i++){var cp=buffer[i];if("\t"!==cp&&"\n"!==cp&&"\r"!==cp)if(":"!==cp||null!==this._password){var tempC=percentEscape(cp);null!==this._password?this._password+=tempC:this._username+=tempC}else this._password="";else err("Invalid whitespace in authority.")}buffer=""}else{if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){cursor-=buffer.length,buffer="",state="host";continue}buffer+=c}break;case"file host":if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){2!==buffer.length||!ALPHA.test(buffer[0])||":"!==buffer[1]&&"|"!==buffer[1]?(0===buffer.length||(this._host=IDNAToASCII.call(this,buffer),buffer=""),state="relative path start"):state="relative path";continue}"\t"===c||"\n"===c||"\r"===c?err("Invalid whitespace in file host."):buffer+=c;break;case"host":case"hostname":if(":"!==c||seenBracket){if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c){if(this._host=IDNAToASCII.call(this,buffer),buffer="",state="relative path start",stateOverride)break loop;continue}"\t"!==c&&"\n"!==c&&"\r"!==c?("["===c?seenBracket=!0:"]"===c&&(seenBracket=!1),buffer+=c):err("Invalid code point in host/hostname: "+c)}else if(this._host=IDNAToASCII.call(this,buffer),buffer="",state="port","hostname"===stateOverride)break loop;break;case"port":if(/[0-9]/.test(c))buffer+=c;else{if(c===EOF||"/"===c||"\\"===c||"?"===c||"#"===c||stateOverride){if(""!==buffer){var temp=parseInt(buffer,10);temp!==relative[this._scheme]&&(this._port=temp+""),buffer=""}if(stateOverride)break loop;state="relative path start";continue}"\t"===c||"\n"===c||"\r"===c?err("Invalid code point in port: "+c):invalid.call(this)}break;case"relative path start":if("\\"===c&&err("'\\' not allowed in path."),state="relative path","/"!==c&&"\\"!==c)continue;break;case"relative path":var tmp;if(c!==EOF&&"/"!==c&&"\\"!==c&&(stateOverride||"?"!==c&&"#"!==c))"\t"!==c&&"\n"!==c&&"\r"!==c&&(buffer+=percentEscape(c));else"\\"===c&&err("\\ not allowed in relative path."),(tmp=relativePathDotMapping[buffer.toLowerCase()])&&(buffer=tmp),".."===buffer?(this._path.pop(),"/"!==c&&"\\"!==c&&this._path.push("")):"."===buffer&&"/"!==c&&"\\"!==c?this._path.push(""):"."!==buffer&&("file"===this._scheme&&0===this._path.length&&2===buffer.length&&ALPHA.test(buffer[0])&&"|"===buffer[1]&&(buffer=buffer[0]+":"),this._path.push(buffer)),buffer="","?"===c?(this._query="?",state="query"):"#"===c&&(this._fragment="#",state="fragment");break;case"query":stateOverride||"#"!==c?c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._query+=percentEscapeQuery(c)):(this._fragment="#",state="fragment");break;case"fragment":c!==EOF&&"\t"!==c&&"\n"!==c&&"\r"!==c&&(this._fragment+=c)}cursor++}}function clear(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function JURL(url,base){void 0===base||base instanceof JURL||(base=new JURL(String(base))),this._url=url,clear.call(this);var input=url.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");parse.call(this,input,null,base)}}()}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(78),module.exports=__w_pdfjs_require__(4).Uint8ClampedArray},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(79)("Uint8",1,(function(init){return function Uint8ClampedArray(data,byteOffset,length){return init(this,data,byteOffset,length)}}),!0)},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};if(__w_pdfjs_require__(8)){var LIBRARY=__w_pdfjs_require__(21),global=__w_pdfjs_require__(1),fails=__w_pdfjs_require__(9),$export=__w_pdfjs_require__(5),$typed=__w_pdfjs_require__(46),$buffer=__w_pdfjs_require__(80),ctx=__w_pdfjs_require__(11),anInstance=__w_pdfjs_require__(24),propertyDesc=__w_pdfjs_require__(27),hide=__w_pdfjs_require__(6),redefineAll=__w_pdfjs_require__(23),toInteger=__w_pdfjs_require__(17),toLength=__w_pdfjs_require__(12),toIndex=__w_pdfjs_require__(47),toAbsoluteIndex=__w_pdfjs_require__(29),toPrimitive=__w_pdfjs_require__(33),has=__w_pdfjs_require__(10),classof=__w_pdfjs_require__(30),isObject=__w_pdfjs_require__(2),toObject=__w_pdfjs_require__(18),isArrayIter=__w_pdfjs_require__(53),create=__w_pdfjs_require__(54),getPrototypeOf=__w_pdfjs_require__(56),gOPN=__w_pdfjs_require__(48).f,getIterFn=__w_pdfjs_require__(57),uid=__w_pdfjs_require__(16),wks=__w_pdfjs_require__(3),createArrayMethod=__w_pdfjs_require__(39),createArrayIncludes=__w_pdfjs_require__(50),speciesConstructor=__w_pdfjs_require__(40),ArrayIterators=__w_pdfjs_require__(58),Iterators=__w_pdfjs_require__(19),$iterDetect=__w_pdfjs_require__(41),setSpecies=__w_pdfjs_require__(60),arrayFill=__w_pdfjs_require__(52),arrayCopyWithin=__w_pdfjs_require__(88),$DP=__w_pdfjs_require__(13),$GOPD=__w_pdfjs_require__(61),dP=$DP.f,gOPD=$GOPD.f,RangeError=global.RangeError,TypeError=global.TypeError,Uint8Array=global.Uint8Array,ArrayProto=Array.prototype,$ArrayBuffer=$buffer.ArrayBuffer,$DataView=$buffer.DataView,arrayForEach=createArrayMethod(0),arrayFilter=createArrayMethod(2),arraySome=createArrayMethod(3),arrayEvery=createArrayMethod(4),arrayFind=createArrayMethod(5),arrayFindIndex=createArrayMethod(6),arrayIncludes=createArrayIncludes(!0),arrayIndexOf=createArrayIncludes(!1),arrayValues=ArrayIterators.values,arrayKeys=ArrayIterators.keys,arrayEntries=ArrayIterators.entries,arrayLastIndexOf=ArrayProto.lastIndexOf,arrayReduce=ArrayProto.reduce,arrayReduceRight=ArrayProto.reduceRight,arrayJoin=ArrayProto.join,arraySort=ArrayProto.sort,arraySlice=ArrayProto.slice,arrayToString=ArrayProto.toString,arrayToLocaleString=ArrayProto.toLocaleString,ITERATOR=wks("iterator"),TAG=wks("toStringTag"),TYPED_CONSTRUCTOR=uid("typed_constructor"),DEF_CONSTRUCTOR=uid("def_constructor"),ALL_CONSTRUCTORS=$typed.CONSTR,TYPED_ARRAY=$typed.TYPED,VIEW=$typed.VIEW,$map=createArrayMethod(1,(function(O,length){return allocate(speciesConstructor(O,O[DEF_CONSTRUCTOR]),length)})),LITTLE_ENDIAN=fails((function(){return 1===new Uint8Array(new Uint16Array([1]).buffer)[0]})),FORCED_SET=!!Uint8Array&&!!Uint8Array.prototype.set&&fails((function(){new Uint8Array(1).set({})})),toOffset=function toOffset(it,BYTES){var offset=toInteger(it);if(offset<0||offset%BYTES)throw RangeError("Wrong offset!");return offset},validate=function validate(it){if(isObject(it)&&TYPED_ARRAY in it)return it;throw TypeError(it+" is not a typed array!")},allocate=function allocate(C,length){if(!isObject(C)||!(TYPED_CONSTRUCTOR in C))throw TypeError("It is not a typed array constructor!");return new C(length)},speciesFromList=function speciesFromList(O,list){return fromList(speciesConstructor(O,O[DEF_CONSTRUCTOR]),list)},fromList=function fromList(C,list){for(var index=0,length=list.length,result=allocate(C,length);length>index;)result[index]=list[index++];return result},addGetter=function addGetter(it,key,internal){dP(it,key,{get:function get(){return this._d[internal]}})},$from=function from(source){var i,length,values,result,step,iterator,O=toObject(source),aLen=arguments.length,mapfn=aLen>1?arguments[1]:void 0,mapping=void 0!==mapfn,iterFn=getIterFn(O);if(null!=iterFn&&!isArrayIter(iterFn)){for(iterator=iterFn.call(O),values=[],i=0;!(step=iterator.next()).done;i++)values.push(step.value);O=values}for(mapping&&aLen>2&&(mapfn=ctx(mapfn,arguments[2],2)),i=0,length=toLength(O.length),result=allocate(this,length);length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result},$of=function of(){for(var index=0,length=arguments.length,result=allocate(this,length);length>index;)result[index]=arguments[index++];return result},TO_LOCALE_BUG=!!Uint8Array&&fails((function(){arrayToLocaleString.call(new Uint8Array(1))})),$toLocaleString=function toLocaleString(){return arrayToLocaleString.apply(TO_LOCALE_BUG?arraySlice.call(validate(this)):validate(this),arguments)},proto={copyWithin:function copyWithin(target,start){return arrayCopyWithin.call(validate(this),target,start,arguments.length>2?arguments[2]:void 0)},every:function every(callbackfn){return arrayEvery(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},fill:function fill(value){return arrayFill.apply(validate(this),arguments)},filter:function filter(callbackfn){return speciesFromList(this,arrayFilter(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0))},find:function find(predicate){return arrayFind(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},findIndex:function findIndex(predicate){return arrayFindIndex(validate(this),predicate,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(callbackfn){arrayForEach(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(searchElement){return arrayIndexOf(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},includes:function includes(searchElement){return arrayIncludes(validate(this),searchElement,arguments.length>1?arguments[1]:void 0)},join:function join(separator){return arrayJoin.apply(validate(this),arguments)},lastIndexOf:function lastIndexOf(searchElement){return arrayLastIndexOf.apply(validate(this),arguments)},map:function map(mapfn){return $map(validate(this),mapfn,arguments.length>1?arguments[1]:void 0)},reduce:function reduce(callbackfn){return arrayReduce.apply(validate(this),arguments)},reduceRight:function reduceRight(callbackfn){return arrayReduceRight.apply(validate(this),arguments)},reverse:function reverse(){for(var value,length=validate(this).length,middle=Math.floor(length/2),index=0;index<middle;)value=this[index],this[index++]=this[--length],this[length]=value;return this},some:function some(callbackfn){return arraySome(validate(this),callbackfn,arguments.length>1?arguments[1]:void 0)},sort:function sort(comparefn){return arraySort.call(validate(this),comparefn)},subarray:function subarray(begin,end){var O=validate(this),length=O.length,$begin=toAbsoluteIndex(begin,length);return new(speciesConstructor(O,O[DEF_CONSTRUCTOR]))(O.buffer,O.byteOffset+$begin*O.BYTES_PER_ELEMENT,toLength((void 0===end?length:toAbsoluteIndex(end,length))-$begin))}},$slice=function slice(start,end){return speciesFromList(this,arraySlice.call(validate(this),start,end))},$set=function set(arrayLike){validate(this);var offset=toOffset(arguments[1],1),length=this.length,src=toObject(arrayLike),len=toLength(src.length),index=0;if(len+offset>length)throw RangeError("Wrong length!");for(;index<len;)this[offset+index]=src[index++]},$iterators={entries:function entries(){return arrayEntries.call(validate(this))},keys:function keys(){return arrayKeys.call(validate(this))},values:function values(){return arrayValues.call(validate(this))}},isTAIndex=function isTAIndex(target,key){return isObject(target)&&target[TYPED_ARRAY]&&"symbol"!=(void 0===key?"undefined":_typeof(key))&&key in target&&String(+key)==String(key)},$getDesc=function getOwnPropertyDescriptor(target,key){return isTAIndex(target,key=toPrimitive(key,!0))?propertyDesc(2,target[key]):gOPD(target,key)},$setDesc=function defineProperty(target,key,desc){return!(isTAIndex(target,key=toPrimitive(key,!0))&&isObject(desc)&&has(desc,"value"))||has(desc,"get")||has(desc,"set")||desc.configurable||has(desc,"writable")&&!desc.writable||has(desc,"enumerable")&&!desc.enumerable?dP(target,key,desc):(target[key]=desc.value,target)};ALL_CONSTRUCTORS||($GOPD.f=$getDesc,$DP.f=$setDesc),$export($export.S+$export.F*!ALL_CONSTRUCTORS,"Object",{getOwnPropertyDescriptor:$getDesc,defineProperty:$setDesc}),fails((function(){arrayToString.call({})}))&&(arrayToString=arrayToLocaleString=function toString(){return arrayJoin.call(this)});var $TypedArrayPrototype$=redefineAll({},proto);redefineAll($TypedArrayPrototype$,$iterators),hide($TypedArrayPrototype$,ITERATOR,$iterators.values),redefineAll($TypedArrayPrototype$,{slice:$slice,set:$set,constructor:function constructor(){},toString:arrayToString,toLocaleString:$toLocaleString}),addGetter($TypedArrayPrototype$,"buffer","b"),addGetter($TypedArrayPrototype$,"byteOffset","o"),addGetter($TypedArrayPrototype$,"byteLength","l"),addGetter($TypedArrayPrototype$,"length","e"),dP($TypedArrayPrototype$,TAG,{get:function get(){return this[TYPED_ARRAY]}}),module.exports=function(KEY,BYTES,wrapper,CLAMPED){var NAME=KEY+((CLAMPED=!!CLAMPED)?"Clamped":"")+"Array",GETTER="get"+KEY,SETTER="set"+KEY,TypedArray=global[NAME],Base=TypedArray||{},TAC=TypedArray&&getPrototypeOf(TypedArray),FORCED=!TypedArray||!$typed.ABV,O={},TypedArrayPrototype=TypedArray&&TypedArray.prototype,addElement=function addElement(that,index){dP(that,index,{get:function get(){return function getter(that,index){var data=that._d;return data.v[GETTER](index*BYTES+data.o,LITTLE_ENDIAN)}(this,index)},set:function set(value){return function setter(that,index,value){var data=that._d;CLAMPED&&(value=(value=Math.round(value))<0?0:value>255?255:255&value),data.v[SETTER](index*BYTES+data.o,value,LITTLE_ENDIAN)}(this,index,value)},enumerable:!0})};FORCED?(TypedArray=wrapper((function(that,data,$offset,$length){anInstance(that,TypedArray,NAME,"_d");var buffer,byteLength,length,klass,index=0,offset=0;if(isObject(data)){if(!(data instanceof $ArrayBuffer||"ArrayBuffer"==(klass=classof(data))||"SharedArrayBuffer"==klass))return TYPED_ARRAY in data?fromList(TypedArray,data):$from.call(TypedArray,data);buffer=data,offset=toOffset($offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError("Wrong length!");if((byteLength=$len-offset)<0)throw RangeError("Wrong length!")}else if((byteLength=toLength($length)*BYTES)+offset>$len)throw RangeError("Wrong length!");length=byteLength/BYTES}else length=toIndex(data),buffer=new $ArrayBuffer(byteLength=length*BYTES);for(hide(that,"_d",{b:buffer,o:offset,l:byteLength,e:length,v:new $DataView(buffer)});index<length;)addElement(that,index++)})),TypedArrayPrototype=TypedArray.prototype=create($TypedArrayPrototype$),hide(TypedArrayPrototype,"constructor",TypedArray)):fails((function(){TypedArray(1)}))&&fails((function(){new TypedArray(-1)}))&&$iterDetect((function(iter){new TypedArray,new TypedArray(null),new TypedArray(1.5),new TypedArray(iter)}),!0)||(TypedArray=wrapper((function(that,data,$offset,$length){var klass;return anInstance(that,TypedArray,NAME),isObject(data)?data instanceof $ArrayBuffer||"ArrayBuffer"==(klass=classof(data))||"SharedArrayBuffer"==klass?void 0!==$length?new Base(data,toOffset($offset,BYTES),$length):void 0!==$offset?new Base(data,toOffset($offset,BYTES)):new Base(data):TYPED_ARRAY in data?fromList(TypedArray,data):$from.call(TypedArray,data):new Base(toIndex(data))})),arrayForEach(TAC!==Function.prototype?gOPN(Base).concat(gOPN(TAC)):gOPN(Base),(function(key){key in TypedArray||hide(TypedArray,key,Base[key])})),TypedArray.prototype=TypedArrayPrototype,LIBRARY||(TypedArrayPrototype.constructor=TypedArray));var $nativeIterator=TypedArrayPrototype[ITERATOR],CORRECT_ITER_NAME=!!$nativeIterator&&("values"==$nativeIterator.name||null==$nativeIterator.name),$iterator=$iterators.values;hide(TypedArray,TYPED_CONSTRUCTOR,!0),hide(TypedArrayPrototype,TYPED_ARRAY,NAME),hide(TypedArrayPrototype,VIEW,!0),hide(TypedArrayPrototype,DEF_CONSTRUCTOR,TypedArray),(CLAMPED?new TypedArray(1)[TAG]==NAME:TAG in TypedArrayPrototype)||dP(TypedArrayPrototype,TAG,{get:function get(){return NAME}}),O[NAME]=TypedArray,$export($export.G+$export.W+$export.F*(TypedArray!=Base),O),$export($export.S,NAME,{BYTES_PER_ELEMENT:BYTES}),$export($export.S+$export.F*fails((function(){Base.of.call(TypedArray,1)})),NAME,{from:$from,of:$of}),"BYTES_PER_ELEMENT"in TypedArrayPrototype||hide(TypedArrayPrototype,"BYTES_PER_ELEMENT",BYTES),$export($export.P,NAME,proto),setSpecies(NAME),$export($export.P+$export.F*FORCED_SET,NAME,{set:$set}),$export($export.P+$export.F*!CORRECT_ITER_NAME,NAME,$iterators),LIBRARY||TypedArrayPrototype.toString==arrayToString||(TypedArrayPrototype.toString=arrayToString),$export($export.P+$export.F*fails((function(){new TypedArray(1).slice()})),NAME,{slice:$slice}),$export($export.P+$export.F*(fails((function(){return[1,2].toLocaleString()!=new TypedArray([1,2]).toLocaleString()}))||!fails((function(){TypedArrayPrototype.toLocaleString.call([1,2])}))),NAME,{toLocaleString:$toLocaleString}),Iterators[NAME]=CORRECT_ITER_NAME?$nativeIterator:$iterator,LIBRARY||CORRECT_ITER_NAME||hide(TypedArrayPrototype,ITERATOR,$iterator)}}else module.exports=function(){}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),DESCRIPTORS=__w_pdfjs_require__(8),LIBRARY=__w_pdfjs_require__(21),$typed=__w_pdfjs_require__(46),hide=__w_pdfjs_require__(6),redefineAll=__w_pdfjs_require__(23),fails=__w_pdfjs_require__(9),anInstance=__w_pdfjs_require__(24),toInteger=__w_pdfjs_require__(17),toLength=__w_pdfjs_require__(12),toIndex=__w_pdfjs_require__(47),gOPN=__w_pdfjs_require__(48).f,dP=__w_pdfjs_require__(13).f,arrayFill=__w_pdfjs_require__(52),setToStringTag=__w_pdfjs_require__(26),$ArrayBuffer=global.ArrayBuffer,$DataView=global.DataView,Math=global.Math,RangeError=global.RangeError,Infinity=global.Infinity,BaseBuffer=$ArrayBuffer,abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2,$BUFFER=DESCRIPTORS?"_b":"buffer",$LENGTH=DESCRIPTORS?"_l":"byteLength",$OFFSET=DESCRIPTORS?"_o":"byteOffset";function packIEEE754(value,mLen,nBytes){var e,m,c,buffer=new Array(nBytes),eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,rt=23===mLen?pow(2,-24)-pow(2,-77):0,i=0,s=value<0||0===value&&1/value<0?1:0;for((value=abs(value))!=value||value===Infinity?(m=value!=value?1:0,e=eMax):(e=floor(log(value)/LN2),value*(c=pow(2,-e))<1&&(e--,c*=2),(value+=e+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(e++,c/=2),e+eBias>=eMax?(m=0,e=eMax):e+eBias>=1?(m=(value*c-1)*pow(2,mLen),e+=eBias):(m=value*pow(2,eBias-1)*pow(2,mLen),e=0));mLen>=8;buffer[i++]=255&m,m/=256,mLen-=8);for(e=e<<mLen|m,eLen+=mLen;eLen>0;buffer[i++]=255&e,e/=256,eLen-=8);return buffer[--i]|=128*s,buffer}function unpackIEEE754(buffer,mLen,nBytes){var m,eLen=8*nBytes-mLen-1,eMax=(1<<eLen)-1,eBias=eMax>>1,nBits=eLen-7,i=nBytes-1,s=buffer[i--],e=127&s;for(s>>=7;nBits>0;e=256*e+buffer[i],i--,nBits-=8);for(m=e&(1<<-nBits)-1,e>>=-nBits,nBits+=mLen;nBits>0;m=256*m+buffer[i],i--,nBits-=8);if(0===e)e=1-eBias;else{if(e===eMax)return m?NaN:s?-Infinity:Infinity;m+=pow(2,mLen),e-=eBias}return(s?-1:1)*m*pow(2,e-mLen)}function unpackI32(bytes){return bytes[3]<<24|bytes[2]<<16|bytes[1]<<8|bytes[0]}function packI8(it){return[255&it]}function packI16(it){return[255&it,it>>8&255]}function packI32(it){return[255&it,it>>8&255,it>>16&255,it>>24&255]}function packF64(it){return packIEEE754(it,52,8)}function packF32(it){return packIEEE754(it,23,4)}function addGetter(C,key,internal){dP(C.prototype,key,{get:function get(){return this[internal]}})}function get(view,bytes,index,isLittleEndian){var intIndex=toIndex(+index);if(intIndex+bytes>view[$LENGTH])throw RangeError("Wrong index!");var store=view[$BUFFER]._b,start=intIndex+view[$OFFSET],pack=store.slice(start,start+bytes);return isLittleEndian?pack:pack.reverse()}function set(view,bytes,index,conversion,value,isLittleEndian){var intIndex=toIndex(+index);if(intIndex+bytes>view[$LENGTH])throw RangeError("Wrong index!");for(var store=view[$BUFFER]._b,start=intIndex+view[$OFFSET],pack=conversion(+value),i=0;i<bytes;i++)store[start+i]=pack[isLittleEndian?i:bytes-i-1]}if($typed.ABV){if(!fails((function(){$ArrayBuffer(1)}))||!fails((function(){new $ArrayBuffer(-1)}))||fails((function(){return new $ArrayBuffer,new $ArrayBuffer(1.5),new $ArrayBuffer(NaN),"ArrayBuffer"!=$ArrayBuffer.name}))){for(var key,ArrayBufferProto=($ArrayBuffer=function ArrayBuffer(length){return anInstance(this,$ArrayBuffer),new BaseBuffer(toIndex(length))}).prototype=BaseBuffer.prototype,keys=gOPN(BaseBuffer),j=0;keys.length>j;)(key=keys[j++])in $ArrayBuffer||hide($ArrayBuffer,key,BaseBuffer[key]);LIBRARY||(ArrayBufferProto.constructor=$ArrayBuffer)}var view=new $DataView(new $ArrayBuffer(2)),$setInt8=$DataView.prototype.setInt8;view.setInt8(0,2147483648),view.setInt8(1,2147483649),!view.getInt8(0)&&view.getInt8(1)||redefineAll($DataView.prototype,{setInt8:function setInt8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)},setUint8:function setUint8(byteOffset,value){$setInt8.call(this,byteOffset,value<<24>>24)}},!0)}else $ArrayBuffer=function ArrayBuffer(length){anInstance(this,$ArrayBuffer,"ArrayBuffer");var byteLength=toIndex(length);this._b=arrayFill.call(new Array(byteLength),0),this[$LENGTH]=byteLength},$DataView=function DataView(buffer,byteOffset,byteLength){anInstance(this,$DataView,"DataView"),anInstance(buffer,$ArrayBuffer,"DataView");var bufferLength=buffer[$LENGTH],offset=toInteger(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset!");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length!");this[$BUFFER]=buffer,this[$OFFSET]=offset,this[$LENGTH]=byteLength},DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength","_l"),addGetter($DataView,"buffer","_b"),addGetter($DataView,"byteLength","_l"),addGetter($DataView,"byteOffset","_o")),redefineAll($DataView.prototype,{getInt8:function getInt8(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function getUint8(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function getInt16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function getUint16(byteOffset){var bytes=get(this,2,byteOffset,arguments[1]);return bytes[1]<<8|bytes[0]},getInt32:function getInt32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))},getUint32:function getUint32(byteOffset){return unpackI32(get(this,4,byteOffset,arguments[1]))>>>0},getFloat32:function getFloat32(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments[1]),23,4)},getFloat64:function getFloat64(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments[1]),52,8)},setInt8:function setInt8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setUint8:function setUint8(byteOffset,value){set(this,1,byteOffset,packI8,value)},setInt16:function setInt16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setUint16:function setUint16(byteOffset,value){set(this,2,byteOffset,packI16,value,arguments[2])},setInt32:function setInt32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setUint32:function setUint32(byteOffset,value){set(this,4,byteOffset,packI32,value,arguments[2])},setFloat32:function setFloat32(byteOffset,value){set(this,4,byteOffset,packF32,value,arguments[2])},setFloat64:function setFloat64(byteOffset,value){set(this,8,byteOffset,packF64,value,arguments[2])}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),hide($DataView.prototype,$typed.VIEW,!0),exports.ArrayBuffer=$ArrayBuffer,exports.DataView=$DataView},function(module,exports,__w_pdfjs_require__){"use strict";var dP=__w_pdfjs_require__(13),anObject=__w_pdfjs_require__(7),getKeys=__w_pdfjs_require__(38);module.exports=__w_pdfjs_require__(8)?Object.defineProperties:function defineProperties(O,Properties){anObject(O);for(var P,keys=getKeys(Properties),length=keys.length,i=0;length>i;)dP.f(O,P=keys[i++],Properties[P]);return O}},function(module,exports,__w_pdfjs_require__){"use strict";var speciesConstructor=__w_pdfjs_require__(83);module.exports=function(original,length){return new(speciesConstructor(original))(length)}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2),isArray=__w_pdfjs_require__(84),SPECIES=__w_pdfjs_require__(3)("species");module.exports=function(original){var C;return isArray(original)&&("function"!=typeof(C=original.constructor)||C!==Array&&!isArray(C.prototype)||(C=void 0),isObject(C)&&null===(C=C[SPECIES])&&(C=void 0)),void 0===C?Array:C}},function(module,exports,__w_pdfjs_require__){"use strict";var cof=__w_pdfjs_require__(25);module.exports=Array.isArray||function isArray(arg){return"Array"==cof(arg)}},function(module,exports,__w_pdfjs_require__){"use strict";var UNSCOPABLES=__w_pdfjs_require__(3)("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&__w_pdfjs_require__(6)(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(done,value){return{value:value,done:!!done}}},function(module,exports,__w_pdfjs_require__){"use strict";var create=__w_pdfjs_require__(54),descriptor=__w_pdfjs_require__(27),setToStringTag=__w_pdfjs_require__(26),IteratorPrototype={};__w_pdfjs_require__(6)(IteratorPrototype,__w_pdfjs_require__(3)("iterator"),(function(){return this})),module.exports=function(Constructor,NAME,next){Constructor.prototype=create(IteratorPrototype,{next:descriptor(1,next)}),setToStringTag(Constructor,NAME+" Iterator")}},function(module,exports,__w_pdfjs_require__){"use strict";var toObject=__w_pdfjs_require__(18),toAbsoluteIndex=__w_pdfjs_require__(29),toLength=__w_pdfjs_require__(12);module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=toLength(O.length),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=Math.min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from<to&&to<from+count&&(inc=-1,from+=count-1,to+=count-1);count-- >0;)from in O?O[to]=O[from]:delete O[to],to+=inc,from+=inc;return O}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(90),module.exports=__w_pdfjs_require__(4).Number.isNaN},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5);$export($export.S,"Number",{isNaN:function isNaN(number){return number!=number}})},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(92),module.exports=__w_pdfjs_require__(4).Number.isInteger},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5);$export($export.S,"Number",{isInteger:__w_pdfjs_require__(93)})},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2),floor=Math.floor;module.exports=function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(63),__w_pdfjs_require__(95),__w_pdfjs_require__(64),__w_pdfjs_require__(97),__w_pdfjs_require__(102),__w_pdfjs_require__(103),module.exports=__w_pdfjs_require__(4).Promise},function(module,exports,__w_pdfjs_require__){"use strict";var $at=__w_pdfjs_require__(96)(!0);__w_pdfjs_require__(59)(String,"String",(function(iterated){this._t=String(iterated),this._i=0}),(function(){var point,O=this._t,index=this._i;return index>=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})}))},function(module,exports,__w_pdfjs_require__){"use strict";var toInteger=__w_pdfjs_require__(17),defined=__w_pdfjs_require__(35);module.exports=function(TO_STRING){return function(that,pos){var a,b,s=String(defined(that)),i=toInteger(pos),l=s.length;return i<0||i>=l?TO_STRING?"":void 0:(a=s.charCodeAt(i))<55296||a>56319||i+1===l||(b=s.charCodeAt(i+1))<56320||b>57343?TO_STRING?s.charAt(i):a:TO_STRING?s.slice(i,i+2):b-56320+(a-55296<<10)+65536}}},function(module,exports,__w_pdfjs_require__){"use strict";var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,LIBRARY=__w_pdfjs_require__(21),global=__w_pdfjs_require__(1),ctx=__w_pdfjs_require__(11),classof=__w_pdfjs_require__(30),$export=__w_pdfjs_require__(5),isObject=__w_pdfjs_require__(2),aFunction=__w_pdfjs_require__(22),anInstance=__w_pdfjs_require__(24),forOf=__w_pdfjs_require__(31),speciesConstructor=__w_pdfjs_require__(40),task=__w_pdfjs_require__(65).set,microtask=__w_pdfjs_require__(100)(),newPromiseCapabilityModule=__w_pdfjs_require__(42),perform=__w_pdfjs_require__(66),userAgent=__w_pdfjs_require__(101),promiseResolve=__w_pdfjs_require__(67),TypeError=global.TypeError,process=global.process,versions=process&&process.versions,v8=versions&&versions.v8||"",$Promise=global.Promise,isNode="process"==classof(process),empty=function empty(){},newPromiseCapability=newGenericPromiseCapability=newPromiseCapabilityModule.f,USE_NATIVE=!!function(){try{var promise=$Promise.resolve(1),FakePromise=(promise.constructor={})[__w_pdfjs_require__(3)("species")]=function(exec){exec(empty,empty)};return(isNode||"function"==typeof PromiseRejectionEvent)&&promise.then(empty)instanceof FakePromise&&0!==v8.indexOf("6.6")&&-1===userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function isThenable(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function notify(promise,isReject){if(!promise._n){promise._n=!0;var chain=promise._c;microtask((function(){for(var value=promise._v,ok=1==promise._s,i=0,run=function run(reaction){var result,then,exited,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2==promise._h&&onHandleUnhandled(promise),promise._h=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){domain&&!exited&&domain.exit(),reject(e)}};chain.length>i;)run(chain[i++]);promise._c=[],promise._n=!1,isReject&&!promise._h&&onUnhandled(promise)}))}},onUnhandled=function onUnhandled(promise){task.call(global,(function(){var result,handler,console,value=promise._v,unhandled=isUnhandled(promise);if(unhandled&&(result=perform((function(){isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)})),promise._h=isNode||isUnhandled(promise)?2:1),promise._a=void 0,unhandled&&result.e)throw result.v}))},isUnhandled=function isUnhandled(promise){return 1!==promise._h&&0===(promise._a||promise._c).length},onHandleUnhandled=function onHandleUnhandled(promise){task.call(global,(function(){var handler;isNode?process.emit("rejectionHandled",promise):(handler=global.onrejectionhandled)&&handler({promise:promise,reason:promise._v})}))},$reject=function $reject(value){var promise=this;promise._d||(promise._d=!0,(promise=promise._w||promise)._v=value,promise._s=2,promise._a||(promise._a=promise._c.slice()),notify(promise,!0))},$resolve=function $resolve(value){var then,promise=this;if(!promise._d){promise._d=!0,promise=promise._w||promise;try{if(promise===value)throw TypeError("Promise can't be resolved itself");(then=isThenable(value))?microtask((function(){var wrapper={_w:promise,_d:!1};try{then.call(value,ctx($resolve,wrapper,1),ctx($reject,wrapper,1))}catch(e){$reject.call(wrapper,e)}})):(promise._v=value,promise._s=1,notify(promise,!1))}catch(e){$reject.call({_w:promise,_d:!1},e)}}};USE_NATIVE||($Promise=function Promise(executor){anInstance(this,$Promise,"Promise","_h"),aFunction(executor),Internal.call(this);try{executor(ctx($resolve,this,1),ctx($reject,this,1))}catch(err){$reject.call(this,err)}},(Internal=function Promise(executor){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=__w_pdfjs_require__(23)($Promise.prototype,{then:function then(onFulfilled,onRejected){var reaction=newPromiseCapability(speciesConstructor(this,$Promise));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=isNode?process.domain:void 0,this._c.push(reaction),this._a&&this._a.push(reaction),this._s&&notify(this,!1),reaction.promise},catch:function _catch(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function OwnPromiseCapability(){var promise=new Internal;this.promise=promise,this.resolve=ctx($resolve,promise,1),this.reject=ctx($reject,promise,1)},newPromiseCapabilityModule.f=newPromiseCapability=function newPromiseCapability(C){return C===$Promise||C===Wrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Promise:$Promise}),__w_pdfjs_require__(26)($Promise,"Promise"),__w_pdfjs_require__(60)("Promise"),Wrapper=__w_pdfjs_require__(4).Promise,$export($export.S+$export.F*!USE_NATIVE,"Promise",{reject:function reject(r){var capability=newPromiseCapability(this);return(0,capability.reject)(r),capability.promise}}),$export($export.S+$export.F*(LIBRARY||!USE_NATIVE),"Promise",{resolve:function resolve(x){return promiseResolve(LIBRARY&&this===Wrapper?$Promise:this,x)}}),$export($export.S+$export.F*!(USE_NATIVE&&__w_pdfjs_require__(41)((function(iter){$Promise.all(iter).catch(empty)}))),"Promise",{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var values=[],index=0,remaining=1;forOf(iterable,!1,(function(promise){var $index=index++,alreadyCalled=!1;values.push(void 0),remaining++,C.resolve(promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[$index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.e&&reject(result.v),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform((function(){forOf(iterable,!1,(function(promise){C.resolve(promise).then(capability.resolve,reject)}))}));return result.e&&reject(result.v),capability.promise}})},function(module,exports,__w_pdfjs_require__){"use strict";var anObject=__w_pdfjs_require__(7);module.exports=function(iterator,fn,value,entries){try{return entries?fn(anObject(value)[0],value[1]):fn(value)}catch(e){var ret=iterator.return;throw void 0!==ret&&anObject(ret.call(iterator)),e}}},function(module,exports,__w_pdfjs_require__){"use strict";module.exports=function(fn,args,that){var un=void 0===that;switch(args.length){case 0:return un?fn():fn.call(that);case 1:return un?fn(args[0]):fn.call(that,args[0]);case 2:return un?fn(args[0],args[1]):fn.call(that,args[0],args[1]);case 3:return un?fn(args[0],args[1],args[2]):fn.call(that,args[0],args[1],args[2]);case 4:return un?fn(args[0],args[1],args[2],args[3]):fn.call(that,args[0],args[1],args[2],args[3])}return fn.apply(that,args)}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),macrotask=__w_pdfjs_require__(65).set,Observer=global.MutationObserver||global.WebKitMutationObserver,process=global.process,Promise=global.Promise,isNode="process"==__w_pdfjs_require__(25)(process);module.exports=function(){var head,last,notify,flush=function flush(){var parent,fn;for(isNode&&(parent=process.domain)&&parent.exit();head;){fn=head.fn,head=head.next;try{fn()}catch(e){throw head?notify():last=void 0,e}}last=void 0,parent&&parent.enter()};if(isNode)notify=function notify(){process.nextTick(flush)};else if(!Observer||global.navigator&&global.navigator.standalone)if(Promise&&Promise.resolve){var promise=Promise.resolve(void 0);notify=function notify(){promise.then(flush)}}else notify=function notify(){macrotask.call(global,flush)};else{var toggle=!0,node=document.createTextNode("");new Observer(flush).observe(node,{characterData:!0}),notify=function notify(){node.data=toggle=!toggle}}return function(fn){var task={fn:fn,next:void 0};last&&(last.next=task),head||(head=task,notify()),last=task}}},function(module,exports,__w_pdfjs_require__){"use strict";var navigator=__w_pdfjs_require__(1).navigator;module.exports=navigator&&navigator.userAgent||""},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5),core=__w_pdfjs_require__(4),global=__w_pdfjs_require__(1),speciesConstructor=__w_pdfjs_require__(40),promiseResolve=__w_pdfjs_require__(67);$export($export.P+$export.R,"Promise",{finally:function _finally(onFinally){var C=speciesConstructor(this,core.Promise||global.Promise),isFunction="function"==typeof onFinally;return this.then(isFunction?function(x){return promiseResolve(C,onFinally()).then((function(){return x}))}:onFinally,isFunction?function(e){return promiseResolve(C,onFinally()).then((function(){throw e}))}:onFinally)}})},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5),newPromiseCapability=__w_pdfjs_require__(42),perform=__w_pdfjs_require__(66);$export($export.S,"Promise",{try:function _try(callbackfn){var promiseCapability=newPromiseCapability.f(this),result=perform(callbackfn);return(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v),promiseCapability.promise}})},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(63),__w_pdfjs_require__(64),__w_pdfjs_require__(105),__w_pdfjs_require__(112),__w_pdfjs_require__(114),module.exports=__w_pdfjs_require__(4).WeakMap},function(module,exports,__w_pdfjs_require__){"use strict";var InternalMap,each=__w_pdfjs_require__(39)(0),redefine=__w_pdfjs_require__(14),meta=__w_pdfjs_require__(43),assign=__w_pdfjs_require__(106),weak=__w_pdfjs_require__(108),isObject=__w_pdfjs_require__(2),fails=__w_pdfjs_require__(9),validate=__w_pdfjs_require__(68),getWeak=meta.getWeak,isExtensible=Object.isExtensible,uncaughtFrozenStore=weak.ufstore,tmp={},wrapper=function wrapper(get){return function WeakMap(){return get(this,arguments.length>0?arguments[0]:void 0)}},methods={get:function get(key){if(isObject(key)){var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,"WeakMap")).get(key):data?data[this._i]:void 0}},set:function set(key,value){return weak.def(validate(this,"WeakMap"),key,value)}},$WeakMap=module.exports=__w_pdfjs_require__(109)("WeakMap",wrapper,methods,weak,!0,!0);fails((function(){return 7!=(new $WeakMap).set((Object.freeze||Object)(tmp),7).get(tmp)}))&&(assign((InternalMap=weak.getConstructor(wrapper,"WeakMap")).prototype,methods),meta.NEED=!0,each(["delete","has","get","set"],(function(key){var proto=$WeakMap.prototype,method=proto[key];redefine(proto,key,(function(a,b){if(isObject(a)&&!isExtensible(a)){this._f||(this._f=new InternalMap);var result=this._f[key](a,b);return"set"==key?this:result}return method.call(this,a,b)}))})))},function(module,exports,__w_pdfjs_require__){"use strict";var getKeys=__w_pdfjs_require__(38),gOPS=__w_pdfjs_require__(107),pIE=__w_pdfjs_require__(62),toObject=__w_pdfjs_require__(18),IObject=__w_pdfjs_require__(34),$assign=Object.assign;module.exports=!$assign||__w_pdfjs_require__(9)((function(){var A={},B={},S=Symbol(),K="abcdefghijklmnopqrst";return A[S]=7,K.split("").forEach((function(k){B[k]=k})),7!=$assign({},A)[S]||Object.keys($assign({},B)).join("")!=K}))?function assign(target,source){for(var T=toObject(target),aLen=arguments.length,index=1,getSymbols=gOPS.f,isEnum=pIE.f;aLen>index;)for(var key,S=IObject(arguments[index++]),keys=getSymbols?getKeys(S).concat(getSymbols(S)):getKeys(S),length=keys.length,j=0;length>j;)isEnum.call(S,key=keys[j++])&&(T[key]=S[key]);return T}:$assign},function(module,exports,__w_pdfjs_require__){"use strict";exports.f=Object.getOwnPropertySymbols},function(module,exports,__w_pdfjs_require__){"use strict";var redefineAll=__w_pdfjs_require__(23),getWeak=__w_pdfjs_require__(43).getWeak,anObject=__w_pdfjs_require__(7),isObject=__w_pdfjs_require__(2),anInstance=__w_pdfjs_require__(24),forOf=__w_pdfjs_require__(31),createArrayMethod=__w_pdfjs_require__(39),$has=__w_pdfjs_require__(10),validate=__w_pdfjs_require__(68),arrayFind=createArrayMethod(5),arrayFindIndex=createArrayMethod(6),id=0,uncaughtFrozenStore=function uncaughtFrozenStore(that){return that._l||(that._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function UncaughtFrozenStore(){this.a=[]},findUncaughtFrozen=function findUncaughtFrozen(store,key){return arrayFind(store.a,(function(it){return it[0]===key}))};UncaughtFrozenStore.prototype={get:function get(key){var entry=findUncaughtFrozen(this,key);if(entry)return entry[1]},has:function has(key){return!!findUncaughtFrozen(this,key)},set:function set(key,value){var entry=findUncaughtFrozen(this,key);entry?entry[1]=value:this.a.push([key,value])},delete:function _delete(key){var index=arrayFindIndex(this.a,(function(it){return it[0]===key}));return~index&&this.a.splice(index,1),!!~index}},module.exports={getConstructor:function getConstructor(wrapper,NAME,IS_MAP,ADDER){var C=wrapper((function(that,iterable){anInstance(that,C,NAME,"_i"),that._t=NAME,that._i=id++,that._l=void 0,null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)}));return redefineAll(C.prototype,{delete:function _delete(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).delete(key):data&&$has(data,this._i)&&delete data[this._i]},has:function has(key){if(!isObject(key))return!1;var data=getWeak(key);return!0===data?uncaughtFrozenStore(validate(this,NAME)).has(key):data&&$has(data,this._i)}}),C},def:function def(that,key,value){var data=getWeak(anObject(key),!0);return!0===data?uncaughtFrozenStore(that).set(key,value):data[that._i]=value,that},ufstore:uncaughtFrozenStore}},function(module,exports,__w_pdfjs_require__){"use strict";var global=__w_pdfjs_require__(1),$export=__w_pdfjs_require__(5),redefine=__w_pdfjs_require__(14),redefineAll=__w_pdfjs_require__(23),meta=__w_pdfjs_require__(43),forOf=__w_pdfjs_require__(31),anInstance=__w_pdfjs_require__(24),isObject=__w_pdfjs_require__(2),fails=__w_pdfjs_require__(9),$iterDetect=__w_pdfjs_require__(41),setToStringTag=__w_pdfjs_require__(26),inheritIfRequired=__w_pdfjs_require__(110);module.exports=function(NAME,wrapper,methods,common,IS_MAP,IS_WEAK){var Base=global[NAME],C=Base,ADDER=IS_MAP?"set":"add",proto=C&&C.prototype,O={},fixMethod=function fixMethod(KEY){var fn=proto[KEY];redefine(proto,KEY,"delete"==KEY?function(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"has"==KEY?function has(a){return!(IS_WEAK&&!isObject(a))&&fn.call(this,0===a?0:a)}:"get"==KEY?function get(a){return IS_WEAK&&!isObject(a)?void 0:fn.call(this,0===a?0:a)}:"add"==KEY?function add(a){return fn.call(this,0===a?0:a),this}:function set(a,b){return fn.call(this,0===a?0:a,b),this})};if("function"==typeof C&&(IS_WEAK||proto.forEach&&!fails((function(){(new C).entries().next()})))){var instance=new C,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=$iterDetect((function(iter){new C(iter)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new C,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((C=wrapper((function(target,iterable){anInstance(target,C,NAME);var that=inheritIfRequired(new Base,target,C);return null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that),that}))).prototype=proto,proto.constructor=C),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&proto.clear&&delete proto.clear}else C=common.getConstructor(wrapper,NAME,IS_MAP,ADDER),redefineAll(C.prototype,methods),meta.NEED=!0;return setToStringTag(C,NAME),O[NAME]=C,$export($export.G+$export.W+$export.F*(C!=Base),O),IS_WEAK||common.setStrong(C,NAME,IS_MAP),C}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2),setPrototypeOf=__w_pdfjs_require__(111).set;module.exports=function(that,target,C){var P,S=target.constructor;return S!==C&&"function"==typeof S&&(P=S.prototype)!==C.prototype&&isObject(P)&&setPrototypeOf&&setPrototypeOf(that,P),that}},function(module,exports,__w_pdfjs_require__){"use strict";var isObject=__w_pdfjs_require__(2),anObject=__w_pdfjs_require__(7),check=function check(O,proto){if(anObject(O),!isObject(proto)&&null!==proto)throw TypeError(proto+": can't set as prototype!")};module.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(test,buggy,set){try{(set=__w_pdfjs_require__(11)(Function.call,__w_pdfjs_require__(61).f(Object.prototype,"__proto__").set,2))(test,[]),buggy=!(test instanceof Array)}catch(e){buggy=!0}return function setPrototypeOf(O,proto){return check(O,proto),buggy?O.__proto__=proto:set(O,proto),O}}({},!1):void 0),check:check}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(113)("WeakMap")},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5);module.exports=function(COLLECTION){$export($export.S,COLLECTION,{of:function of(){for(var length=arguments.length,A=new Array(length);length--;)A[length]=arguments[length];return new this(A)}})}},function(module,exports,__w_pdfjs_require__){"use strict";__w_pdfjs_require__(115)("WeakMap")},function(module,exports,__w_pdfjs_require__){"use strict";var $export=__w_pdfjs_require__(5),aFunction=__w_pdfjs_require__(22),ctx=__w_pdfjs_require__(11),forOf=__w_pdfjs_require__(31);module.exports=function(COLLECTION){$export($export.S,COLLECTION,{from:function from(source){var mapping,A,n,cb,mapFn=arguments[1];return aFunction(this),(mapping=void 0!==mapFn)&&aFunction(mapFn),null==source?new this:(A=[],mapping?(n=0,cb=ctx(mapFn,arguments[2],2),forOf(source,!1,(function(nextItem){A.push(cb(nextItem,n++))}))):forOf(source,!1,A.push,A),new this(A))}})}},function(module,exports,__w_pdfjs_require__){"use strict";var isReadableStreamSupported=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function start(controller){controller.close()}}),isReadableStreamSupported=!0}catch(e){}exports.ReadableStream=isReadableStreamSupported?ReadableStream:__w_pdfjs_require__(117).ReadableStream},function(module,exports,__w_pdfjs_require__){"use strict";var _typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};!function(e,a){for(var i in a)e[i]=a[i]}(exports,function(modules){var installedModules={};function __w_pdfjs_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__w_pdfjs_require__),module.l=!0,module.exports}return __w_pdfjs_require__.m=modules,__w_pdfjs_require__.c=installedModules,__w_pdfjs_require__.i=function(value){return value},__w_pdfjs_require__.d=function(exports,name,getter){__w_pdfjs_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__w_pdfjs_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __w_pdfjs_require__.d(getter,"a",getter),getter},__w_pdfjs_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__w_pdfjs_require__.p="",__w_pdfjs_require__(__w_pdfjs_require__.s=7)}([function(module,exports,__w_pdfjs_require__){var _typeof="function"==typeof Symbol&&"symbol"===_typeof2(Symbol.iterator)?function(obj){return void 0===obj?"undefined":_typeof2(obj)}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":void 0===obj?"undefined":_typeof2(obj)},assert=__w_pdfjs_require__(1).assert;function IsPropertyKey(argument){return"string"==typeof argument||"symbol"===(void 0===argument?"undefined":_typeof(argument))}function Call(F,V,args){if("function"!=typeof F)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(F,V,args)}exports.typeIsObject=function(x){return"object"===(void 0===x?"undefined":_typeof(x))&&null!==x||"function"==typeof x},exports.createDataProperty=function(o,p,v){assert(exports.typeIsObject(o)),Object.defineProperty(o,p,{value:v,writable:!0,enumerable:!0,configurable:!0})},exports.createArrayFromList=function(elements){return elements.slice()},exports.ArrayBufferCopy=function(dest,destOffset,src,srcOffset,n){new Uint8Array(dest).set(new Uint8Array(src,srcOffset,n),destOffset)},exports.CreateIterResultObject=function(value,done){assert("boolean"==typeof done);var obj={};return Object.defineProperty(obj,"value",{value:value,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(obj,"done",{value:done,enumerable:!0,writable:!0,configurable:!0}),obj},exports.IsFiniteNonNegativeNumber=function(v){return!Number.isNaN(v)&&(v!==1/0&&!(v<0))},exports.InvokeOrNoop=function(O,P,args){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args));var method=O[P];if(void 0!==method)return Call(method,O,args)},exports.PromiseInvokeOrNoop=function(O,P,args){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args));try{return Promise.resolve(exports.InvokeOrNoop(O,P,args))}catch(returnValueE){return Promise.reject(returnValueE)}},exports.PromiseInvokeOrPerformFallback=function(O,P,args,F,argsF){assert(void 0!==O),assert(IsPropertyKey(P)),assert(Array.isArray(args)),assert(Array.isArray(argsF));var method=void 0;try{method=O[P]}catch(methodE){return Promise.reject(methodE)}if(void 0===method)return F.apply(null,argsF);try{return Promise.resolve(Call(method,O,args))}catch(e){return Promise.reject(e)}},exports.TransferArrayBuffer=function(O){return O.slice()},exports.ValidateAndNormalizeHighWaterMark=function(highWaterMark){if(highWaterMark=Number(highWaterMark),Number.isNaN(highWaterMark)||highWaterMark<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return highWaterMark},exports.ValidateAndNormalizeQueuingStrategy=function(size,highWaterMark){if(void 0!==size&&"function"!=typeof size)throw new TypeError("size property of a queuing strategy must be a function");return{size:size,highWaterMark:highWaterMark=exports.ValidateAndNormalizeHighWaterMark(highWaterMark)}}},function(module,exports,__w_pdfjs_require__){function AssertionError(message){this.name="AssertionError",this.message=message||"",this.stack=(new Error).stack}AssertionError.prototype=Object.create(Error.prototype),AssertionError.prototype.constructor=AssertionError,module.exports={rethrowAssertionErrorRejection:function rethrowAssertionErrorRejection(e){e&&e.constructor===AssertionError&&setTimeout((function(){throw e}),0)},AssertionError:AssertionError,assert:function assert(value,message){if(!value)throw new AssertionError(message)}}},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__w_pdfjs_require__(0),InvokeOrNoop=_require.InvokeOrNoop,PromiseInvokeOrNoop=_require.PromiseInvokeOrNoop,ValidateAndNormalizeQueuingStrategy=_require.ValidateAndNormalizeQueuingStrategy,typeIsObject=_require.typeIsObject,_require2=__w_pdfjs_require__(1),assert=_require2.assert,rethrowAssertionErrorRejection=_require2.rethrowAssertionErrorRejection,_require3=__w_pdfjs_require__(3),DequeueValue=_require3.DequeueValue,EnqueueValueWithSize=_require3.EnqueueValueWithSize,PeekQueueValue=_require3.PeekQueueValue,ResetQueue=_require3.ResetQueue,WritableStream=function(){function WritableStream(){var underlyingSink=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},size=_ref.size,_ref$highWaterMark=_ref.highWaterMark,highWaterMark=void 0===_ref$highWaterMark?1:_ref$highWaterMark;_classCallCheck(this,WritableStream),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1;var type=underlyingSink.type;if(void 0!==type)throw new RangeError("Invalid type is specified");this._writableStreamController=new WritableStreamDefaultController(this,underlyingSink,size,highWaterMark),this._writableStreamController.__startSteps()}return _createClass(WritableStream,[{key:"abort",value:function abort(reason){return!1===IsWritableStream(this)?Promise.reject(streamBrandCheckException("abort")):!0===IsWritableStreamLocked(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):WritableStreamAbort(this,reason)}},{key:"getWriter",value:function getWriter(){if(!1===IsWritableStream(this))throw streamBrandCheckException("getWriter");return AcquireWritableStreamDefaultWriter(this)}},{key:"locked",get:function get(){if(!1===IsWritableStream(this))throw streamBrandCheckException("locked");return IsWritableStreamLocked(this)}}]),WritableStream}();function AcquireWritableStreamDefaultWriter(stream){return new WritableStreamDefaultWriter(stream)}function IsWritableStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_writableStreamController")}function IsWritableStreamLocked(stream){return assert(!0===IsWritableStream(stream),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==stream._writer}function WritableStreamAbort(stream,reason){var state=stream._state;if("closed"===state)return Promise.resolve(void 0);if("errored"===state)return Promise.reject(stream._storedError);var error=new TypeError("Requested to abort");if(void 0!==stream._pendingAbortRequest)return Promise.reject(error);assert("writable"===state||"erroring"===state,"state must be writable or erroring");var wasAlreadyErroring=!1;"erroring"===state&&(wasAlreadyErroring=!0,reason=void 0);var promise=new Promise((function(resolve,reject){stream._pendingAbortRequest={_resolve:resolve,_reject:reject,_reason:reason,_wasAlreadyErroring:wasAlreadyErroring}}));return!1===wasAlreadyErroring&&WritableStreamStartErroring(stream,error),promise}function WritableStreamDealWithRejection(stream,error){var state=stream._state;"writable"!==state?(assert("erroring"===state),WritableStreamFinishErroring(stream)):WritableStreamStartErroring(stream,error)}function WritableStreamStartErroring(stream,reason){assert(void 0===stream._storedError,"stream._storedError === undefined"),assert("writable"===stream._state,"state must be writable");var controller=stream._writableStreamController;assert(void 0!==controller,"controller must not be undefined"),stream._state="erroring",stream._storedError=reason;var writer=stream._writer;void 0!==writer&&WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,reason),!1===WritableStreamHasOperationMarkedInFlight(stream)&&!0===controller._started&&WritableStreamFinishErroring(stream)}function WritableStreamFinishErroring(stream){assert("erroring"===stream._state,"stream._state === erroring"),assert(!1===WritableStreamHasOperationMarkedInFlight(stream),"WritableStreamHasOperationMarkedInFlight(stream) === false"),stream._state="errored",stream._writableStreamController.__errorSteps();for(var storedError=stream._storedError,i=0;i<stream._writeRequests.length;i++){stream._writeRequests[i]._reject(storedError)}if(stream._writeRequests=[],void 0!==stream._pendingAbortRequest){var abortRequest=stream._pendingAbortRequest;if(stream._pendingAbortRequest=void 0,!0===abortRequest._wasAlreadyErroring)return abortRequest._reject(storedError),void WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream);stream._writableStreamController.__abortSteps(abortRequest._reason).then((function(){abortRequest._resolve(),WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}),(function(reason){abortRequest._reject(reason),WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}))}else WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream)}function WritableStreamFinishInFlightClose(stream){assert(void 0!==stream._inFlightCloseRequest),stream._inFlightCloseRequest._resolve(void 0),stream._inFlightCloseRequest=void 0;var state=stream._state;assert("writable"===state||"erroring"===state),"erroring"===state&&(stream._storedError=void 0,void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._resolve(),stream._pendingAbortRequest=void 0)),stream._state="closed";var writer=stream._writer;void 0!==writer&&function defaultWriterClosedPromiseResolve(writer){assert(void 0!==writer._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),assert(void 0!==writer._closedPromise_reject,"writer._closedPromise_reject !== undefined"),assert("pending"===writer._closedPromiseState,"writer._closedPromiseState is pending"),writer._closedPromise_resolve(void 0),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="resolved"}(writer),assert(void 0===stream._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),assert(void 0===stream._storedError,"stream._storedError === undefined")}function WritableStreamCloseQueuedOrInFlight(stream){return void 0!==stream._closeRequest||void 0!==stream._inFlightCloseRequest}function WritableStreamHasOperationMarkedInFlight(stream){return void 0!==stream._inFlightWriteRequest||void 0!==stream._inFlightCloseRequest}function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream){assert("errored"===stream._state,'_stream_.[[state]] is `"errored"`'),void 0!==stream._closeRequest&&(assert(void 0===stream._inFlightCloseRequest),stream._closeRequest._reject(stream._storedError),stream._closeRequest=void 0);var writer=stream._writer;void 0!==writer&&(defaultWriterClosedPromiseReject(writer,stream._storedError),writer._closedPromise.catch((function(){})))}function WritableStreamUpdateBackpressure(stream,backpressure){assert("writable"===stream._state),assert(!1===WritableStreamCloseQueuedOrInFlight(stream));var writer=stream._writer;void 0!==writer&&backpressure!==stream._backpressure&&(!0===backpressure?function defaultWriterReadyPromiseReset(writer){assert(void 0===writer._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),assert(void 0===writer._readyPromise_reject,"writer._readyPromise_reject === undefined"),writer._readyPromise=new Promise((function(resolve,reject){writer._readyPromise_resolve=resolve,writer._readyPromise_reject=reject})),writer._readyPromiseState="pending"}(writer):(assert(!1===backpressure),defaultWriterReadyPromiseResolve(writer))),stream._backpressure=backpressure}module.exports={AcquireWritableStreamDefaultWriter:AcquireWritableStreamDefaultWriter,IsWritableStream:IsWritableStream,IsWritableStreamLocked:IsWritableStreamLocked,WritableStream:WritableStream,WritableStreamAbort:WritableStreamAbort,WritableStreamDefaultControllerError:WritableStreamDefaultControllerError,WritableStreamDefaultWriterCloseWithErrorPropagation:function WritableStreamDefaultWriterCloseWithErrorPropagation(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream);var state=stream._state;if(!0===WritableStreamCloseQueuedOrInFlight(stream)||"closed"===state)return Promise.resolve();if("errored"===state)return Promise.reject(stream._storedError);return assert("writable"===state||"erroring"===state),WritableStreamDefaultWriterClose(writer)},WritableStreamDefaultWriterRelease:WritableStreamDefaultWriterRelease,WritableStreamDefaultWriterWrite:WritableStreamDefaultWriterWrite,WritableStreamCloseQueuedOrInFlight:WritableStreamCloseQueuedOrInFlight};var WritableStreamDefaultWriter=function(){function WritableStreamDefaultWriter(stream){if(_classCallCheck(this,WritableStreamDefaultWriter),!1===IsWritableStream(stream))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===IsWritableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=stream,stream._writer=this;var state=stream._state;if("writable"===state)!1===WritableStreamCloseQueuedOrInFlight(stream)&&!0===stream._backpressure?function defaultWriterReadyPromiseInitialize(writer){writer._readyPromise=new Promise((function(resolve,reject){writer._readyPromise_resolve=resolve,writer._readyPromise_reject=reject})),writer._readyPromiseState="pending"}(this):defaultWriterReadyPromiseInitializeAsResolved(this),defaultWriterClosedPromiseInitialize(this);else if("erroring"===state)defaultWriterReadyPromiseInitializeAsRejected(this,stream._storedError),this._readyPromise.catch((function(){})),defaultWriterClosedPromiseInitialize(this);else if("closed"===state)defaultWriterReadyPromiseInitializeAsResolved(this),function defaultWriterClosedPromiseInitializeAsResolved(writer){writer._closedPromise=Promise.resolve(void 0),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="resolved"}(this);else{assert("errored"===state,"state must be errored");var storedError=stream._storedError;defaultWriterReadyPromiseInitializeAsRejected(this,storedError),this._readyPromise.catch((function(){})),function defaultWriterClosedPromiseInitializeAsRejected(writer,reason){writer._closedPromise=Promise.reject(reason),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="rejected"}(this,storedError),this._closedPromise.catch((function(){}))}}return _createClass(WritableStreamDefaultWriter,[{key:"abort",value:function abort(reason){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("abort")):void 0===this._ownerWritableStream?Promise.reject(defaultWriterLockException("abort")):function WritableStreamDefaultWriterAbort(writer,reason){var stream=writer._ownerWritableStream;return assert(void 0!==stream),WritableStreamAbort(stream,reason)}(this,reason)}},{key:"close",value:function close(){if(!1===IsWritableStreamDefaultWriter(this))return Promise.reject(defaultWriterBrandCheckException("close"));var stream=this._ownerWritableStream;return void 0===stream?Promise.reject(defaultWriterLockException("close")):!0===WritableStreamCloseQueuedOrInFlight(stream)?Promise.reject(new TypeError("cannot close an already-closing stream")):WritableStreamDefaultWriterClose(this)}},{key:"releaseLock",value:function releaseLock(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("releaseLock");var stream=this._ownerWritableStream;void 0!==stream&&(assert(void 0!==stream._writer),WritableStreamDefaultWriterRelease(this))}},{key:"write",value:function write(chunk){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("write")):void 0===this._ownerWritableStream?Promise.reject(defaultWriterLockException("write to")):WritableStreamDefaultWriterWrite(this,chunk)}},{key:"closed",get:function get(){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("closed")):this._closedPromise}},{key:"desiredSize",get:function get(){if(!1===IsWritableStreamDefaultWriter(this))throw defaultWriterBrandCheckException("desiredSize");if(void 0===this._ownerWritableStream)throw defaultWriterLockException("desiredSize");return function WritableStreamDefaultWriterGetDesiredSize(writer){var stream=writer._ownerWritableStream,state=stream._state;if("errored"===state||"erroring"===state)return null;if("closed"===state)return 0;return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController)}(this)}},{key:"ready",get:function get(){return!1===IsWritableStreamDefaultWriter(this)?Promise.reject(defaultWriterBrandCheckException("ready")):this._readyPromise}}]),WritableStreamDefaultWriter}();function IsWritableStreamDefaultWriter(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_ownerWritableStream")}function WritableStreamDefaultWriterClose(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream);var state=stream._state;if("closed"===state||"errored"===state)return Promise.reject(new TypeError("The stream (in "+state+" state) is not in the writable state and cannot be closed"));assert("writable"===state||"erroring"===state),assert(!1===WritableStreamCloseQueuedOrInFlight(stream));var promise=new Promise((function(resolve,reject){var closeRequest={_resolve:resolve,_reject:reject};stream._closeRequest=closeRequest}));return!0===stream._backpressure&&"writable"===state&&defaultWriterReadyPromiseResolve(writer),function WritableStreamDefaultControllerClose(controller){EnqueueValueWithSize(controller,"close",0),WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}(stream._writableStreamController),promise}function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer,error){"pending"===writer._closedPromiseState?defaultWriterClosedPromiseReject(writer,error):function defaultWriterClosedPromiseResetToRejected(writer,reason){assert(void 0===writer._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),assert(void 0===writer._closedPromise_reject,"writer._closedPromise_reject === undefined"),assert("pending"!==writer._closedPromiseState,"writer._closedPromiseState is not pending"),writer._closedPromise=Promise.reject(reason),writer._closedPromiseState="rejected"}(writer,error),writer._closedPromise.catch((function(){}))}function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,error){"pending"===writer._readyPromiseState?function defaultWriterReadyPromiseReject(writer,reason){assert(void 0!==writer._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),assert(void 0!==writer._readyPromise_reject,"writer._readyPromise_reject !== undefined"),writer._readyPromise_reject(reason),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="rejected"}(writer,error):function defaultWriterReadyPromiseResetToRejected(writer,reason){assert(void 0===writer._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),assert(void 0===writer._readyPromise_reject,"writer._readyPromise_reject === undefined"),writer._readyPromise=Promise.reject(reason),writer._readyPromiseState="rejected"}(writer,error),writer._readyPromise.catch((function(){}))}function WritableStreamDefaultWriterRelease(writer){var stream=writer._ownerWritableStream;assert(void 0!==stream),assert(stream._writer===writer);var releasedError=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer,releasedError),WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer,releasedError),stream._writer=void 0,writer._ownerWritableStream=void 0}function WritableStreamDefaultWriterWrite(writer,chunk){var stream=writer._ownerWritableStream;assert(void 0!==stream);var controller=stream._writableStreamController,chunkSize=function WritableStreamDefaultControllerGetChunkSize(controller,chunk){var strategySize=controller._strategySize;if(void 0===strategySize)return 1;try{return strategySize(chunk)}catch(chunkSizeE){return WritableStreamDefaultControllerErrorIfNeeded(controller,chunkSizeE),1}}(controller,chunk);if(stream!==writer._ownerWritableStream)return Promise.reject(defaultWriterLockException("write to"));var state=stream._state;if("errored"===state)return Promise.reject(stream._storedError);if(!0===WritableStreamCloseQueuedOrInFlight(stream)||"closed"===state)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===state)return Promise.reject(stream._storedError);assert("writable"===state);var promise=function WritableStreamAddWriteRequest(stream){return assert(!0===IsWritableStreamLocked(stream)),assert("writable"===stream._state),new Promise((function(resolve,reject){var writeRequest={_resolve:resolve,_reject:reject};stream._writeRequests.push(writeRequest)}))}(stream);return function WritableStreamDefaultControllerWrite(controller,chunk,chunkSize){var writeRecord={chunk:chunk};try{EnqueueValueWithSize(controller,writeRecord,chunkSize)}catch(enqueueE){return void WritableStreamDefaultControllerErrorIfNeeded(controller,enqueueE)}var stream=controller._controlledWritableStream;if(!1===WritableStreamCloseQueuedOrInFlight(stream)&&"writable"===stream._state){WritableStreamUpdateBackpressure(stream,WritableStreamDefaultControllerGetBackpressure(controller))}WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}(controller,chunk,chunkSize),promise}var WritableStreamDefaultController=function(){function WritableStreamDefaultController(stream,underlyingSink,size,highWaterMark){if(_classCallCheck(this,WritableStreamDefaultController),!1===IsWritableStream(stream))throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==stream._writableStreamController)throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=stream,this._underlyingSink=underlyingSink,this._queue=void 0,this._queueTotalSize=void 0,ResetQueue(this),this._started=!1;var normalizedStrategy=ValidateAndNormalizeQueuingStrategy(size,highWaterMark);this._strategySize=normalizedStrategy.size,this._strategyHWM=normalizedStrategy.highWaterMark,WritableStreamUpdateBackpressure(stream,WritableStreamDefaultControllerGetBackpressure(this))}return _createClass(WritableStreamDefaultController,[{key:"error",value:function error(e){if(!1===function IsWritableStreamDefaultController(x){if(!typeIsObject(x))return!1;if(!Object.prototype.hasOwnProperty.call(x,"_underlyingSink"))return!1;return!0}(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&WritableStreamDefaultControllerError(this,e)}},{key:"__abortSteps",value:function __abortSteps(reason){return PromiseInvokeOrNoop(this._underlyingSink,"abort",[reason])}},{key:"__errorSteps",value:function __errorSteps(){ResetQueue(this)}},{key:"__startSteps",value:function __startSteps(){var _this=this,startResult=InvokeOrNoop(this._underlyingSink,"start",[this]),stream=this._controlledWritableStream;Promise.resolve(startResult).then((function(){assert("writable"===stream._state||"erroring"===stream._state),_this._started=!0,WritableStreamDefaultControllerAdvanceQueueIfNeeded(_this)}),(function(r){assert("writable"===stream._state||"erroring"===stream._state),_this._started=!0,WritableStreamDealWithRejection(stream,r)})).catch(rethrowAssertionErrorRejection)}}]),WritableStreamDefaultController}();function WritableStreamDefaultControllerGetDesiredSize(controller){return controller._strategyHWM-controller._queueTotalSize}function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller){var stream=controller._controlledWritableStream;if(!1!==controller._started&&void 0===stream._inFlightWriteRequest){var state=stream._state;if("closed"!==state&&"errored"!==state)if("erroring"!==state){if(0!==controller._queue.length){var writeRecord=PeekQueueValue(controller);"close"===writeRecord?function WritableStreamDefaultControllerProcessClose(controller){var stream=controller._controlledWritableStream;(function WritableStreamMarkCloseRequestInFlight(stream){assert(void 0===stream._inFlightCloseRequest),assert(void 0!==stream._closeRequest),stream._inFlightCloseRequest=stream._closeRequest,stream._closeRequest=void 0})(stream),DequeueValue(controller),assert(0===controller._queue.length,"queue must be empty once the final write record is dequeued"),PromiseInvokeOrNoop(controller._underlyingSink,"close",[]).then((function(){WritableStreamFinishInFlightClose(stream)}),(function(reason){!function WritableStreamFinishInFlightCloseWithError(stream,error){assert(void 0!==stream._inFlightCloseRequest),stream._inFlightCloseRequest._reject(error),stream._inFlightCloseRequest=void 0,assert("writable"===stream._state||"erroring"===stream._state),void 0!==stream._pendingAbortRequest&&(stream._pendingAbortRequest._reject(error),stream._pendingAbortRequest=void 0),WritableStreamDealWithRejection(stream,error)}(stream,reason)})).catch(rethrowAssertionErrorRejection)}(controller):function WritableStreamDefaultControllerProcessWrite(controller,chunk){var stream=controller._controlledWritableStream;(function WritableStreamMarkFirstWriteRequestInFlight(stream){assert(void 0===stream._inFlightWriteRequest,"there must be no pending write request"),assert(0!==stream._writeRequests.length,"writeRequests must not be empty"),stream._inFlightWriteRequest=stream._writeRequests.shift()})(stream),PromiseInvokeOrNoop(controller._underlyingSink,"write",[chunk,controller]).then((function(){!function WritableStreamFinishInFlightWrite(stream){assert(void 0!==stream._inFlightWriteRequest),stream._inFlightWriteRequest._resolve(void 0),stream._inFlightWriteRequest=void 0}(stream);var state=stream._state;if(assert("writable"===state||"erroring"===state),DequeueValue(controller),!1===WritableStreamCloseQueuedOrInFlight(stream)&&"writable"===state){var backpressure=WritableStreamDefaultControllerGetBackpressure(controller);WritableStreamUpdateBackpressure(stream,backpressure)}WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller)}),(function(reason){!function WritableStreamFinishInFlightWriteWithError(stream,error){assert(void 0!==stream._inFlightWriteRequest),stream._inFlightWriteRequest._reject(error),stream._inFlightWriteRequest=void 0,assert("writable"===stream._state||"erroring"===stream._state),WritableStreamDealWithRejection(stream,error)}(stream,reason)})).catch(rethrowAssertionErrorRejection)}(controller,writeRecord.chunk)}}else WritableStreamFinishErroring(stream)}}function WritableStreamDefaultControllerErrorIfNeeded(controller,error){"writable"===controller._controlledWritableStream._state&&WritableStreamDefaultControllerError(controller,error)}function WritableStreamDefaultControllerGetBackpressure(controller){return WritableStreamDefaultControllerGetDesiredSize(controller)<=0}function WritableStreamDefaultControllerError(controller,error){var stream=controller._controlledWritableStream;assert("writable"===stream._state),WritableStreamStartErroring(stream,error)}function streamBrandCheckException(name){return new TypeError("WritableStream.prototype."+name+" can only be used on a WritableStream")}function defaultWriterBrandCheckException(name){return new TypeError("WritableStreamDefaultWriter.prototype."+name+" can only be used on a WritableStreamDefaultWriter")}function defaultWriterLockException(name){return new TypeError("Cannot "+name+" a stream using a released writer")}function defaultWriterClosedPromiseInitialize(writer){writer._closedPromise=new Promise((function(resolve,reject){writer._closedPromise_resolve=resolve,writer._closedPromise_reject=reject,writer._closedPromiseState="pending"}))}function defaultWriterClosedPromiseReject(writer,reason){assert(void 0!==writer._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),assert(void 0!==writer._closedPromise_reject,"writer._closedPromise_reject !== undefined"),assert("pending"===writer._closedPromiseState,"writer._closedPromiseState is pending"),writer._closedPromise_reject(reason),writer._closedPromise_resolve=void 0,writer._closedPromise_reject=void 0,writer._closedPromiseState="rejected"}function defaultWriterReadyPromiseInitializeAsRejected(writer,reason){writer._readyPromise=Promise.reject(reason),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="rejected"}function defaultWriterReadyPromiseInitializeAsResolved(writer){writer._readyPromise=Promise.resolve(void 0),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="fulfilled"}function defaultWriterReadyPromiseResolve(writer){assert(void 0!==writer._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),assert(void 0!==writer._readyPromise_reject,"writer._readyPromise_reject !== undefined"),writer._readyPromise_resolve(void 0),writer._readyPromise_resolve=void 0,writer._readyPromise_reject=void 0,writer._readyPromiseState="fulfilled"}},function(module,exports,__w_pdfjs_require__){var IsFiniteNonNegativeNumber=__w_pdfjs_require__(0).IsFiniteNonNegativeNumber,assert=__w_pdfjs_require__(1).assert;exports.DequeueValue=function(container){assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),assert(container._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var pair=container._queue.shift();return container._queueTotalSize-=pair.size,container._queueTotalSize<0&&(container._queueTotalSize=0),pair.value},exports.EnqueueValueWithSize=function(container,value,size){if(assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),size=Number(size),!IsFiniteNonNegativeNumber(size))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");container._queue.push({value:value,size:size}),container._queueTotalSize+=size},exports.PeekQueueValue=function(container){return assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),assert(container._queue.length>0,"Spec-level failure: should never peek at an empty queue."),container._queue[0].value},exports.ResetQueue=function(container){assert("_queue"in container&&"_queueTotalSize"in container,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),container._queue=[],container._queueTotalSize=0}},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var _require=__w_pdfjs_require__(0),ArrayBufferCopy=_require.ArrayBufferCopy,CreateIterResultObject=_require.CreateIterResultObject,IsFiniteNonNegativeNumber=_require.IsFiniteNonNegativeNumber,InvokeOrNoop=_require.InvokeOrNoop,PromiseInvokeOrNoop=_require.PromiseInvokeOrNoop,TransferArrayBuffer=_require.TransferArrayBuffer,ValidateAndNormalizeQueuingStrategy=_require.ValidateAndNormalizeQueuingStrategy,ValidateAndNormalizeHighWaterMark=_require.ValidateAndNormalizeHighWaterMark,_require2=__w_pdfjs_require__(0),createArrayFromList=_require2.createArrayFromList,createDataProperty=_require2.createDataProperty,typeIsObject=_require2.typeIsObject,_require3=__w_pdfjs_require__(1),assert=_require3.assert,rethrowAssertionErrorRejection=_require3.rethrowAssertionErrorRejection,_require4=__w_pdfjs_require__(3),DequeueValue=_require4.DequeueValue,EnqueueValueWithSize=_require4.EnqueueValueWithSize,ResetQueue=_require4.ResetQueue,_require5=__w_pdfjs_require__(2),AcquireWritableStreamDefaultWriter=_require5.AcquireWritableStreamDefaultWriter,IsWritableStream=_require5.IsWritableStream,IsWritableStreamLocked=_require5.IsWritableStreamLocked,WritableStreamAbort=_require5.WritableStreamAbort,WritableStreamDefaultWriterCloseWithErrorPropagation=_require5.WritableStreamDefaultWriterCloseWithErrorPropagation,WritableStreamDefaultWriterRelease=_require5.WritableStreamDefaultWriterRelease,WritableStreamDefaultWriterWrite=_require5.WritableStreamDefaultWriterWrite,WritableStreamCloseQueuedOrInFlight=_require5.WritableStreamCloseQueuedOrInFlight,ReadableStream=function(){function ReadableStream(){var underlyingSource=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},size=_ref.size,highWaterMark=_ref.highWaterMark;_classCallCheck(this,ReadableStream),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var type=underlyingSource.type,typeString=String(type);if("bytes"===typeString)void 0===highWaterMark&&(highWaterMark=0),this._readableStreamController=new ReadableByteStreamController(this,underlyingSource,highWaterMark);else{if(void 0!==type)throw new RangeError("Invalid type is specified");void 0===highWaterMark&&(highWaterMark=1),this._readableStreamController=new ReadableStreamDefaultController(this,underlyingSource,size,highWaterMark)}}return _createClass(ReadableStream,[{key:"cancel",value:function cancel(reason){return!1===IsReadableStream(this)?Promise.reject(streamBrandCheckException("cancel")):!0===IsReadableStreamLocked(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):ReadableStreamCancel(this,reason)}},{key:"getReader",value:function getReader(){var _ref2=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},mode=_ref2.mode;if(!1===IsReadableStream(this))throw streamBrandCheckException("getReader");if(void 0===mode)return AcquireReadableStreamDefaultReader(this);if("byob"===(mode=String(mode)))return AcquireReadableStreamBYOBReader(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function pipeThrough(_ref3,options){var writable=_ref3.writable,readable=_ref3.readable;return function ifIsObjectAndHasAPromiseIsHandledInternalSlotSetPromiseIsHandledToTrue(promise){try{Promise.prototype.then.call(promise,void 0,(function(){}))}catch(e){}}(this.pipeTo(writable,options)),readable}},{key:"pipeTo",value:function pipeTo(dest){var _this=this,_ref4=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},preventClose=_ref4.preventClose,preventAbort=_ref4.preventAbort,preventCancel=_ref4.preventCancel;if(!1===IsReadableStream(this))return Promise.reject(streamBrandCheckException("pipeTo"));if(!1===IsWritableStream(dest))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(preventClose=Boolean(preventClose),preventAbort=Boolean(preventAbort),preventCancel=Boolean(preventCancel),!0===IsReadableStreamLocked(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===IsWritableStreamLocked(dest))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var reader=AcquireReadableStreamDefaultReader(this),writer=AcquireWritableStreamDefaultWriter(dest),shuttingDown=!1,currentWrite=Promise.resolve();return new Promise((function(resolve,reject){if(isOrBecomesErrored(_this,reader._closedPromise,(function(storedError){!1===preventAbort?shutdownWithAction((function(){return WritableStreamAbort(dest,storedError)}),!0,storedError):shutdown(!0,storedError)})),isOrBecomesErrored(dest,writer._closedPromise,(function(storedError){!1===preventCancel?shutdownWithAction((function(){return ReadableStreamCancel(_this,storedError)}),!0,storedError):shutdown(!0,storedError)})),function isOrBecomesClosed(stream,promise,action){"closed"===stream._state?action():promise.then(action).catch(rethrowAssertionErrorRejection)}(_this,reader._closedPromise,(function(){!1===preventClose?shutdownWithAction((function(){return WritableStreamDefaultWriterCloseWithErrorPropagation(writer)})):shutdown()})),!0===WritableStreamCloseQueuedOrInFlight(dest)||"closed"===dest._state){var destClosed=new TypeError("the destination writable stream closed before all data could be piped to it");!1===preventCancel?shutdownWithAction((function(){return ReadableStreamCancel(_this,destClosed)}),!0,destClosed):shutdown(!0,destClosed)}function waitForWritesToFinish(){var oldCurrentWrite=currentWrite;return currentWrite.then((function(){return oldCurrentWrite!==currentWrite?waitForWritesToFinish():void 0}))}function isOrBecomesErrored(stream,promise,action){"errored"===stream._state?action(stream._storedError):promise.catch(action).catch(rethrowAssertionErrorRejection)}function shutdownWithAction(action,originalIsError,originalError){function doTheRest(){action().then((function(){return finalize(originalIsError,originalError)}),(function(newError){return finalize(!0,newError)})).catch(rethrowAssertionErrorRejection)}!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===WritableStreamCloseQueuedOrInFlight(dest)?waitForWritesToFinish().then(doTheRest):doTheRest())}function shutdown(isError,error){!0!==shuttingDown&&(shuttingDown=!0,"writable"===dest._state&&!1===WritableStreamCloseQueuedOrInFlight(dest)?waitForWritesToFinish().then((function(){return finalize(isError,error)})).catch(rethrowAssertionErrorRejection):finalize(isError,error))}function finalize(isError,error){WritableStreamDefaultWriterRelease(writer),ReadableStreamReaderGenericRelease(reader),isError?reject(error):resolve(void 0)}(function pipeLoop(){return currentWrite=Promise.resolve(),!0===shuttingDown?Promise.resolve():writer._readyPromise.then((function(){return ReadableStreamDefaultReaderRead(reader).then((function(_ref5){var value=_ref5.value;!0!==_ref5.done&&(currentWrite=WritableStreamDefaultWriterWrite(writer,value).catch((function(){})))}))})).then(pipeLoop)})().catch((function(err){currentWrite=Promise.resolve(),rethrowAssertionErrorRejection(err)}))}))}},{key:"tee",value:function tee(){if(!1===IsReadableStream(this))throw streamBrandCheckException("tee");var branches=ReadableStreamTee(this,!1);return createArrayFromList(branches)}},{key:"locked",get:function get(){if(!1===IsReadableStream(this))throw streamBrandCheckException("locked");return IsReadableStreamLocked(this)}}]),ReadableStream}();function AcquireReadableStreamBYOBReader(stream){return new ReadableStreamBYOBReader(stream)}function AcquireReadableStreamDefaultReader(stream){return new ReadableStreamDefaultReader(stream)}function IsReadableStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readableStreamController")}function IsReadableStreamLocked(stream){return assert(!0===IsReadableStream(stream),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==stream._reader}function ReadableStreamTee(stream,cloneForBranch2){assert(!0===IsReadableStream(stream)),assert("boolean"==typeof cloneForBranch2);var reader=AcquireReadableStreamDefaultReader(stream),teeState={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0};teeState.promise=new Promise((function(resolve){teeState._resolve=resolve}));var pull=function create_ReadableStreamTeePullFunction(){function f(){var reader=f._reader,branch1=f._branch1,branch2=f._branch2,teeState=f._teeState;return ReadableStreamDefaultReaderRead(reader).then((function(result){assert(typeIsObject(result));var value=result.value,done=result.done;if(assert("boolean"==typeof done),!0===done&&!1===teeState.closedOrErrored&&(!1===teeState.canceled1&&ReadableStreamDefaultControllerClose(branch1),!1===teeState.canceled2&&ReadableStreamDefaultControllerClose(branch2),teeState.closedOrErrored=!0),!0!==teeState.closedOrErrored){var value1=value,value2=value;!1===teeState.canceled1&&ReadableStreamDefaultControllerEnqueue(branch1,value1),!1===teeState.canceled2&&ReadableStreamDefaultControllerEnqueue(branch2,value2)}}))}return f}();pull._reader=reader,pull._teeState=teeState,pull._cloneForBranch2=cloneForBranch2;var cancel1=function create_ReadableStreamTeeBranch1CancelFunction(){function f(reason){var stream=f._stream,teeState=f._teeState;if(teeState.canceled1=!0,teeState.reason1=reason,!0===teeState.canceled2){var cancelResult=ReadableStreamCancel(stream,createArrayFromList([teeState.reason1,teeState.reason2]));teeState._resolve(cancelResult)}return teeState.promise}return f}();cancel1._stream=stream,cancel1._teeState=teeState;var cancel2=function create_ReadableStreamTeeBranch2CancelFunction(){function f(reason){var stream=f._stream,teeState=f._teeState;if(teeState.canceled2=!0,teeState.reason2=reason,!0===teeState.canceled1){var cancelResult=ReadableStreamCancel(stream,createArrayFromList([teeState.reason1,teeState.reason2]));teeState._resolve(cancelResult)}return teeState.promise}return f}();cancel2._stream=stream,cancel2._teeState=teeState;var underlyingSource1=Object.create(Object.prototype);createDataProperty(underlyingSource1,"pull",pull),createDataProperty(underlyingSource1,"cancel",cancel1);var branch1Stream=new ReadableStream(underlyingSource1),underlyingSource2=Object.create(Object.prototype);createDataProperty(underlyingSource2,"pull",pull),createDataProperty(underlyingSource2,"cancel",cancel2);var branch2Stream=new ReadableStream(underlyingSource2);return pull._branch1=branch1Stream._readableStreamController,pull._branch2=branch2Stream._readableStreamController,reader._closedPromise.catch((function(r){!0!==teeState.closedOrErrored&&(ReadableStreamDefaultControllerError(pull._branch1,r),ReadableStreamDefaultControllerError(pull._branch2,r),teeState.closedOrErrored=!0)})),[branch1Stream,branch2Stream]}function ReadableStreamAddReadIntoRequest(stream){return assert(!0===IsReadableStreamBYOBReader(stream._reader)),assert("readable"===stream._state||"closed"===stream._state),new Promise((function(resolve,reject){var readIntoRequest={_resolve:resolve,_reject:reject};stream._reader._readIntoRequests.push(readIntoRequest)}))}function ReadableStreamAddReadRequest(stream){return assert(!0===IsReadableStreamDefaultReader(stream._reader)),assert("readable"===stream._state),new Promise((function(resolve,reject){var readRequest={_resolve:resolve,_reject:reject};stream._reader._readRequests.push(readRequest)}))}function ReadableStreamCancel(stream,reason){return stream._disturbed=!0,"closed"===stream._state?Promise.resolve(void 0):"errored"===stream._state?Promise.reject(stream._storedError):(ReadableStreamClose(stream),stream._readableStreamController.__cancelSteps(reason).then((function(){})))}function ReadableStreamClose(stream){assert("readable"===stream._state),stream._state="closed";var reader=stream._reader;if(void 0!==reader){if(!0===IsReadableStreamDefaultReader(reader)){for(var i=0;i<reader._readRequests.length;i++){(0,reader._readRequests[i]._resolve)(CreateIterResultObject(void 0,!0))}reader._readRequests=[]}!function defaultReaderClosedPromiseResolve(reader){assert(void 0!==reader._closedPromise_resolve),assert(void 0!==reader._closedPromise_reject),reader._closedPromise_resolve(void 0),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader)}}function ReadableStreamError(stream,e){assert(!0===IsReadableStream(stream),"stream must be ReadableStream"),assert("readable"===stream._state,"state must be readable"),stream._state="errored",stream._storedError=e;var reader=stream._reader;if(void 0!==reader){if(!0===IsReadableStreamDefaultReader(reader)){for(var i=0;i<reader._readRequests.length;i++){reader._readRequests[i]._reject(e)}reader._readRequests=[]}else{assert(IsReadableStreamBYOBReader(reader),"reader must be ReadableStreamBYOBReader");for(var _i=0;_i<reader._readIntoRequests.length;_i++){reader._readIntoRequests[_i]._reject(e)}reader._readIntoRequests=[]}defaultReaderClosedPromiseReject(reader,e),reader._closedPromise.catch((function(){}))}}function ReadableStreamFulfillReadRequest(stream,chunk,done){var reader=stream._reader;assert(reader._readRequests.length>0),reader._readRequests.shift()._resolve(CreateIterResultObject(chunk,done))}function ReadableStreamGetNumReadIntoRequests(stream){return stream._reader._readIntoRequests.length}function ReadableStreamGetNumReadRequests(stream){return stream._reader._readRequests.length}function ReadableStreamHasBYOBReader(stream){var reader=stream._reader;return void 0!==reader&&!1!==IsReadableStreamBYOBReader(reader)}function ReadableStreamHasDefaultReader(stream){var reader=stream._reader;return void 0!==reader&&!1!==IsReadableStreamDefaultReader(reader)}module.exports={ReadableStream:ReadableStream,IsReadableStreamDisturbed:function IsReadableStreamDisturbed(stream){return assert(!0===IsReadableStream(stream),"IsReadableStreamDisturbed should only be used on known readable streams"),stream._disturbed},ReadableStreamDefaultControllerClose:ReadableStreamDefaultControllerClose,ReadableStreamDefaultControllerEnqueue:ReadableStreamDefaultControllerEnqueue,ReadableStreamDefaultControllerError:ReadableStreamDefaultControllerError,ReadableStreamDefaultControllerGetDesiredSize:ReadableStreamDefaultControllerGetDesiredSize};var ReadableStreamDefaultReader=function(){function ReadableStreamDefaultReader(stream){if(_classCallCheck(this,ReadableStreamDefaultReader),!1===IsReadableStream(stream))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ReadableStreamReaderGenericInitialize(this,stream),this._readRequests=[]}return _createClass(ReadableStreamDefaultReader,[{key:"cancel",value:function cancel(reason){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("cancel")):void 0===this._ownerReadableStream?Promise.reject(readerLockException("cancel")):ReadableStreamReaderGenericCancel(this,reason)}},{key:"read",value:function read(){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("read")):void 0===this._ownerReadableStream?Promise.reject(readerLockException("read from")):ReadableStreamDefaultReaderRead(this)}},{key:"releaseLock",value:function releaseLock(){if(!1===IsReadableStreamDefaultReader(this))throw defaultReaderBrandCheckException("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ReadableStreamReaderGenericRelease(this)}}},{key:"closed",get:function get(){return!1===IsReadableStreamDefaultReader(this)?Promise.reject(defaultReaderBrandCheckException("closed")):this._closedPromise}}]),ReadableStreamDefaultReader}(),ReadableStreamBYOBReader=function(){function ReadableStreamBYOBReader(stream){if(_classCallCheck(this,ReadableStreamBYOBReader),!IsReadableStream(stream))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===IsReadableByteStreamController(stream._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(IsReadableStreamLocked(stream))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ReadableStreamReaderGenericInitialize(this,stream),this._readIntoRequests=[]}return _createClass(ReadableStreamBYOBReader,[{key:"cancel",value:function cancel(reason){return IsReadableStreamBYOBReader(this)?void 0===this._ownerReadableStream?Promise.reject(readerLockException("cancel")):ReadableStreamReaderGenericCancel(this,reason):Promise.reject(byobReaderBrandCheckException("cancel"))}},{key:"read",value:function read(view){return IsReadableStreamBYOBReader(this)?void 0===this._ownerReadableStream?Promise.reject(readerLockException("read from")):ArrayBuffer.isView(view)?0===view.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):function ReadableStreamBYOBReaderRead(reader,view){var stream=reader._ownerReadableStream;if(assert(void 0!==stream),stream._disturbed=!0,"errored"===stream._state)return Promise.reject(stream._storedError);return function ReadableByteStreamControllerPullInto(controller,view){var stream=controller._controlledReadableStream,elementSize=1;view.constructor!==DataView&&(elementSize=view.constructor.BYTES_PER_ELEMENT);var ctor=view.constructor,pullIntoDescriptor={buffer:view.buffer,byteOffset:view.byteOffset,byteLength:view.byteLength,bytesFilled:0,elementSize:elementSize,ctor:ctor,readerType:"byob"};if(controller._pendingPullIntos.length>0)return pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),controller._pendingPullIntos.push(pullIntoDescriptor),ReadableStreamAddReadIntoRequest(stream);if("closed"===stream._state){var emptyView=new view.constructor(pullIntoDescriptor.buffer,pullIntoDescriptor.byteOffset,0);return Promise.resolve(CreateIterResultObject(emptyView,!0))}if(controller._queueTotalSize>0){if(!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor)){var filledView=ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);return ReadableByteStreamControllerHandleQueueDrain(controller),Promise.resolve(CreateIterResultObject(filledView,!1))}if(!0===controller._closeRequested){var e=new TypeError("Insufficient bytes to fill elements in the given buffer");return ReadableByteStreamControllerError(controller,e),Promise.reject(e)}}pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),controller._pendingPullIntos.push(pullIntoDescriptor);var promise=ReadableStreamAddReadIntoRequest(stream);return ReadableByteStreamControllerCallPullIfNeeded(controller),promise}(stream._readableStreamController,view)}(this,view):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(byobReaderBrandCheckException("read"))}},{key:"releaseLock",value:function releaseLock(){if(!IsReadableStreamBYOBReader(this))throw byobReaderBrandCheckException("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");ReadableStreamReaderGenericRelease(this)}}},{key:"closed",get:function get(){return IsReadableStreamBYOBReader(this)?this._closedPromise:Promise.reject(byobReaderBrandCheckException("closed"))}}]),ReadableStreamBYOBReader}();function IsReadableStreamBYOBReader(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readIntoRequests")}function IsReadableStreamDefaultReader(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_readRequests")}function ReadableStreamReaderGenericInitialize(reader,stream){reader._ownerReadableStream=stream,stream._reader=reader,"readable"===stream._state?function defaultReaderClosedPromiseInitialize(reader){reader._closedPromise=new Promise((function(resolve,reject){reader._closedPromise_resolve=resolve,reader._closedPromise_reject=reject}))}(reader):"closed"===stream._state?function defaultReaderClosedPromiseInitializeAsResolved(reader){reader._closedPromise=Promise.resolve(void 0),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader):(assert("errored"===stream._state,"state must be errored"),function defaultReaderClosedPromiseInitializeAsRejected(reader,reason){reader._closedPromise=Promise.reject(reason),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}(reader,stream._storedError),reader._closedPromise.catch((function(){})))}function ReadableStreamReaderGenericCancel(reader,reason){var stream=reader._ownerReadableStream;return assert(void 0!==stream),ReadableStreamCancel(stream,reason)}function ReadableStreamReaderGenericRelease(reader){assert(void 0!==reader._ownerReadableStream),assert(reader._ownerReadableStream._reader===reader),"readable"===reader._ownerReadableStream._state?defaultReaderClosedPromiseReject(reader,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function defaultReaderClosedPromiseResetToRejected(reader,reason){assert(void 0===reader._closedPromise_resolve),assert(void 0===reader._closedPromise_reject),reader._closedPromise=Promise.reject(reason)}(reader,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),reader._closedPromise.catch((function(){})),reader._ownerReadableStream._reader=void 0,reader._ownerReadableStream=void 0}function ReadableStreamDefaultReaderRead(reader){var stream=reader._ownerReadableStream;return assert(void 0!==stream),stream._disturbed=!0,"closed"===stream._state?Promise.resolve(CreateIterResultObject(void 0,!0)):"errored"===stream._state?Promise.reject(stream._storedError):(assert("readable"===stream._state),stream._readableStreamController.__pullSteps())}var ReadableStreamDefaultController=function(){function ReadableStreamDefaultController(stream,underlyingSource,size,highWaterMark){if(_classCallCheck(this,ReadableStreamDefaultController),!1===IsReadableStream(stream))throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==stream._readableStreamController)throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=stream,this._underlyingSource=underlyingSource,this._queue=void 0,this._queueTotalSize=void 0,ResetQueue(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var normalizedStrategy=ValidateAndNormalizeQueuingStrategy(size,highWaterMark);this._strategySize=normalizedStrategy.size,this._strategyHWM=normalizedStrategy.highWaterMark;var controller=this,startResult=InvokeOrNoop(underlyingSource,"start",[this]);Promise.resolve(startResult).then((function(){controller._started=!0,assert(!1===controller._pulling),assert(!1===controller._pullAgain),ReadableStreamDefaultControllerCallPullIfNeeded(controller)}),(function(r){ReadableStreamDefaultControllerErrorIfNeeded(controller,r)})).catch(rethrowAssertionErrorRejection)}return _createClass(ReadableStreamDefaultController,[{key:"close",value:function close(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be closed");ReadableStreamDefaultControllerClose(this)}},{key:"enqueue",value:function enqueue(chunk){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be enqueued to");return ReadableStreamDefaultControllerEnqueue(this,chunk)}},{key:"error",value:function error(e){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("error");var stream=this._controlledReadableStream;if("readable"!==stream._state)throw new TypeError("The stream is "+stream._state+" and so cannot be errored");ReadableStreamDefaultControllerError(this,e)}},{key:"__cancelSteps",value:function __cancelSteps(reason){return ResetQueue(this),PromiseInvokeOrNoop(this._underlyingSource,"cancel",[reason])}},{key:"__pullSteps",value:function __pullSteps(){var stream=this._controlledReadableStream;if(this._queue.length>0){var chunk=DequeueValue(this);return!0===this._closeRequested&&0===this._queue.length?ReadableStreamClose(stream):ReadableStreamDefaultControllerCallPullIfNeeded(this),Promise.resolve(CreateIterResultObject(chunk,!1))}var pendingPromise=ReadableStreamAddReadRequest(stream);return ReadableStreamDefaultControllerCallPullIfNeeded(this),pendingPromise}},{key:"desiredSize",get:function get(){if(!1===IsReadableStreamDefaultController(this))throw defaultControllerBrandCheckException("desiredSize");return ReadableStreamDefaultControllerGetDesiredSize(this)}}]),ReadableStreamDefaultController}();function IsReadableStreamDefaultController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_underlyingSource")}function ReadableStreamDefaultControllerCallPullIfNeeded(controller){!1!==function ReadableStreamDefaultControllerShouldCallPull(controller){var stream=controller._controlledReadableStream;if("closed"===stream._state||"errored"===stream._state)return!1;if(!0===controller._closeRequested)return!1;if(!1===controller._started)return!1;if(!0===IsReadableStreamLocked(stream)&&ReadableStreamGetNumReadRequests(stream)>0)return!0;if(ReadableStreamDefaultControllerGetDesiredSize(controller)>0)return!0;return!1}(controller)&&(!0!==controller._pulling?(assert(!1===controller._pullAgain),controller._pulling=!0,PromiseInvokeOrNoop(controller._underlyingSource,"pull",[controller]).then((function(){if(controller._pulling=!1,!0===controller._pullAgain)return controller._pullAgain=!1,ReadableStreamDefaultControllerCallPullIfNeeded(controller)}),(function(e){ReadableStreamDefaultControllerErrorIfNeeded(controller,e)})).catch(rethrowAssertionErrorRejection)):controller._pullAgain=!0)}function ReadableStreamDefaultControllerClose(controller){var stream=controller._controlledReadableStream;assert(!1===controller._closeRequested),assert("readable"===stream._state),controller._closeRequested=!0,0===controller._queue.length&&ReadableStreamClose(stream)}function ReadableStreamDefaultControllerEnqueue(controller,chunk){var stream=controller._controlledReadableStream;if(assert(!1===controller._closeRequested),assert("readable"===stream._state),!0===IsReadableStreamLocked(stream)&&ReadableStreamGetNumReadRequests(stream)>0)ReadableStreamFulfillReadRequest(stream,chunk,!1);else{var chunkSize=1;if(void 0!==controller._strategySize){var strategySize=controller._strategySize;try{chunkSize=strategySize(chunk)}catch(chunkSizeE){throw ReadableStreamDefaultControllerErrorIfNeeded(controller,chunkSizeE),chunkSizeE}}try{EnqueueValueWithSize(controller,chunk,chunkSize)}catch(enqueueE){throw ReadableStreamDefaultControllerErrorIfNeeded(controller,enqueueE),enqueueE}}ReadableStreamDefaultControllerCallPullIfNeeded(controller)}function ReadableStreamDefaultControllerError(controller,e){var stream=controller._controlledReadableStream;assert("readable"===stream._state),ResetQueue(controller),ReadableStreamError(stream,e)}function ReadableStreamDefaultControllerErrorIfNeeded(controller,e){"readable"===controller._controlledReadableStream._state&&ReadableStreamDefaultControllerError(controller,e)}function ReadableStreamDefaultControllerGetDesiredSize(controller){var state=controller._controlledReadableStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}var ReadableStreamBYOBRequest=function(){function ReadableStreamBYOBRequest(controller,view){_classCallCheck(this,ReadableStreamBYOBRequest),this._associatedReadableByteStreamController=controller,this._view=view}return _createClass(ReadableStreamBYOBRequest,[{key:"respond",value:function respond(bytesWritten){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function ReadableByteStreamControllerRespond(controller,bytesWritten){if(bytesWritten=Number(bytesWritten),!1===IsFiniteNonNegativeNumber(bytesWritten))throw new RangeError("bytesWritten must be a finite");assert(controller._pendingPullIntos.length>0),ReadableByteStreamControllerRespondInternal(controller,bytesWritten)}(this._associatedReadableByteStreamController,bytesWritten)}},{key:"respondWithNewView",value:function respondWithNewView(view){if(!1===IsReadableStreamBYOBRequest(this))throw byobRequestBrandCheckException("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(view))throw new TypeError("You can only respond with array buffer views");!function ReadableByteStreamControllerRespondWithNewView(controller,view){assert(controller._pendingPullIntos.length>0);var firstDescriptor=controller._pendingPullIntos[0];if(firstDescriptor.byteOffset+firstDescriptor.bytesFilled!==view.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(firstDescriptor.byteLength!==view.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");firstDescriptor.buffer=view.buffer,ReadableByteStreamControllerRespondInternal(controller,view.byteLength)}(this._associatedReadableByteStreamController,view)}},{key:"view",get:function get(){return this._view}}]),ReadableStreamBYOBRequest}(),ReadableByteStreamController=function(){function ReadableByteStreamController(stream,underlyingByteSource,highWaterMark){if(_classCallCheck(this,ReadableByteStreamController),!1===IsReadableStream(stream))throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==stream._readableStreamController)throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=stream,this._underlyingByteSource=underlyingByteSource,this._pullAgain=!1,this._pulling=!1,ReadableByteStreamControllerClearPendingPullIntos(this),this._queue=this._queueTotalSize=void 0,ResetQueue(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=ValidateAndNormalizeHighWaterMark(highWaterMark);var autoAllocateChunkSize=underlyingByteSource.autoAllocateChunkSize;if(void 0!==autoAllocateChunkSize&&(!1===Number.isInteger(autoAllocateChunkSize)||autoAllocateChunkSize<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=autoAllocateChunkSize,this._pendingPullIntos=[];var controller=this,startResult=InvokeOrNoop(underlyingByteSource,"start",[this]);Promise.resolve(startResult).then((function(){controller._started=!0,assert(!1===controller._pulling),assert(!1===controller._pullAgain),ReadableByteStreamControllerCallPullIfNeeded(controller)}),(function(r){"readable"===stream._state&&ReadableByteStreamControllerError(controller,r)})).catch(rethrowAssertionErrorRejection)}return _createClass(ReadableByteStreamController,[{key:"close",value:function close(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be closed");!function ReadableByteStreamControllerClose(controller){var stream=controller._controlledReadableStream;if(assert(!1===controller._closeRequested),assert("readable"===stream._state),controller._queueTotalSize>0)return void(controller._closeRequested=!0);if(controller._pendingPullIntos.length>0){if(controller._pendingPullIntos[0].bytesFilled>0){var e=new TypeError("Insufficient bytes to fill elements in the given buffer");throw ReadableByteStreamControllerError(controller,e),e}}ReadableStreamClose(stream)}(this)}},{key:"enqueue",value:function enqueue(chunk){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var state=this._controlledReadableStream._state;if("readable"!==state)throw new TypeError("The stream (in "+state+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(chunk))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function ReadableByteStreamControllerEnqueue(controller,chunk){var stream=controller._controlledReadableStream;assert(!1===controller._closeRequested),assert("readable"===stream._state);var buffer=chunk.buffer,byteOffset=chunk.byteOffset,byteLength=chunk.byteLength,transferredBuffer=TransferArrayBuffer(buffer);if(!0===ReadableStreamHasDefaultReader(stream)){if(0===ReadableStreamGetNumReadRequests(stream))ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength);else assert(0===controller._queue.length),ReadableStreamFulfillReadRequest(stream,new Uint8Array(transferredBuffer,byteOffset,byteLength),!1)}else!0===ReadableStreamHasBYOBReader(stream)?(ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength),ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller)):(assert(!1===IsReadableStreamLocked(stream),"stream must not be locked"),ReadableByteStreamControllerEnqueueChunkToQueue(controller,transferredBuffer,byteOffset,byteLength))}(this,chunk)}},{key:"error",value:function error(e){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("error");var stream=this._controlledReadableStream;if("readable"!==stream._state)throw new TypeError("The stream is "+stream._state+" and so cannot be errored");ReadableByteStreamControllerError(this,e)}},{key:"__cancelSteps",value:function __cancelSteps(reason){this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0);return ResetQueue(this),PromiseInvokeOrNoop(this._underlyingByteSource,"cancel",[reason])}},{key:"__pullSteps",value:function __pullSteps(){var stream=this._controlledReadableStream;if(assert(!0===ReadableStreamHasDefaultReader(stream)),this._queueTotalSize>0){assert(0===ReadableStreamGetNumReadRequests(stream));var entry=this._queue.shift();this._queueTotalSize-=entry.byteLength,ReadableByteStreamControllerHandleQueueDrain(this);var view=void 0;try{view=new Uint8Array(entry.buffer,entry.byteOffset,entry.byteLength)}catch(viewE){return Promise.reject(viewE)}return Promise.resolve(CreateIterResultObject(view,!1))}var autoAllocateChunkSize=this._autoAllocateChunkSize;if(void 0!==autoAllocateChunkSize){var buffer=void 0;try{buffer=new ArrayBuffer(autoAllocateChunkSize)}catch(bufferE){return Promise.reject(bufferE)}var pullIntoDescriptor={buffer:buffer,byteOffset:0,byteLength:autoAllocateChunkSize,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(pullIntoDescriptor)}var promise=ReadableStreamAddReadRequest(stream);return ReadableByteStreamControllerCallPullIfNeeded(this),promise}},{key:"byobRequest",get:function get(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var firstDescriptor=this._pendingPullIntos[0],view=new Uint8Array(firstDescriptor.buffer,firstDescriptor.byteOffset+firstDescriptor.bytesFilled,firstDescriptor.byteLength-firstDescriptor.bytesFilled);this._byobRequest=new ReadableStreamBYOBRequest(this,view)}return this._byobRequest}},{key:"desiredSize",get:function get(){if(!1===IsReadableByteStreamController(this))throw byteStreamControllerBrandCheckException("desiredSize");return ReadableByteStreamControllerGetDesiredSize(this)}}]),ReadableByteStreamController}();function IsReadableByteStreamController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_underlyingByteSource")}function IsReadableStreamBYOBRequest(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_associatedReadableByteStreamController")}function ReadableByteStreamControllerCallPullIfNeeded(controller){!1!==function ReadableByteStreamControllerShouldCallPull(controller){var stream=controller._controlledReadableStream;if("readable"!==stream._state)return!1;if(!0===controller._closeRequested)return!1;if(!1===controller._started)return!1;if(!0===ReadableStreamHasDefaultReader(stream)&&ReadableStreamGetNumReadRequests(stream)>0)return!0;if(!0===ReadableStreamHasBYOBReader(stream)&&ReadableStreamGetNumReadIntoRequests(stream)>0)return!0;if(ReadableByteStreamControllerGetDesiredSize(controller)>0)return!0;return!1}(controller)&&(!0!==controller._pulling?(assert(!1===controller._pullAgain),controller._pulling=!0,PromiseInvokeOrNoop(controller._underlyingByteSource,"pull",[controller]).then((function(){controller._pulling=!1,!0===controller._pullAgain&&(controller._pullAgain=!1,ReadableByteStreamControllerCallPullIfNeeded(controller))}),(function(e){"readable"===controller._controlledReadableStream._state&&ReadableByteStreamControllerError(controller,e)})).catch(rethrowAssertionErrorRejection)):controller._pullAgain=!0)}function ReadableByteStreamControllerClearPendingPullIntos(controller){ReadableByteStreamControllerInvalidateBYOBRequest(controller),controller._pendingPullIntos=[]}function ReadableByteStreamControllerCommitPullIntoDescriptor(stream,pullIntoDescriptor){assert("errored"!==stream._state,"state must not be errored");var done=!1;"closed"===stream._state&&(assert(0===pullIntoDescriptor.bytesFilled),done=!0);var filledView=ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor);"default"===pullIntoDescriptor.readerType?ReadableStreamFulfillReadRequest(stream,filledView,done):(assert("byob"===pullIntoDescriptor.readerType),function ReadableStreamFulfillReadIntoRequest(stream,chunk,done){var reader=stream._reader;assert(reader._readIntoRequests.length>0),reader._readIntoRequests.shift()._resolve(CreateIterResultObject(chunk,done))}(stream,filledView,done))}function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor){var bytesFilled=pullIntoDescriptor.bytesFilled,elementSize=pullIntoDescriptor.elementSize;return assert(bytesFilled<=pullIntoDescriptor.byteLength),assert(bytesFilled%elementSize==0),new pullIntoDescriptor.ctor(pullIntoDescriptor.buffer,pullIntoDescriptor.byteOffset,bytesFilled/elementSize)}function ReadableByteStreamControllerEnqueueChunkToQueue(controller,buffer,byteOffset,byteLength){controller._queue.push({buffer:buffer,byteOffset:byteOffset,byteLength:byteLength}),controller._queueTotalSize+=byteLength}function ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor){var elementSize=pullIntoDescriptor.elementSize,currentAlignedBytes=pullIntoDescriptor.bytesFilled-pullIntoDescriptor.bytesFilled%elementSize,maxBytesToCopy=Math.min(controller._queueTotalSize,pullIntoDescriptor.byteLength-pullIntoDescriptor.bytesFilled),maxBytesFilled=pullIntoDescriptor.bytesFilled+maxBytesToCopy,maxAlignedBytes=maxBytesFilled-maxBytesFilled%elementSize,totalBytesToCopyRemaining=maxBytesToCopy,ready=!1;maxAlignedBytes>currentAlignedBytes&&(totalBytesToCopyRemaining=maxAlignedBytes-pullIntoDescriptor.bytesFilled,ready=!0);for(var queue=controller._queue;totalBytesToCopyRemaining>0;){var headOfQueue=queue[0],bytesToCopy=Math.min(totalBytesToCopyRemaining,headOfQueue.byteLength),destStart=pullIntoDescriptor.byteOffset+pullIntoDescriptor.bytesFilled;ArrayBufferCopy(pullIntoDescriptor.buffer,destStart,headOfQueue.buffer,headOfQueue.byteOffset,bytesToCopy),headOfQueue.byteLength===bytesToCopy?queue.shift():(headOfQueue.byteOffset+=bytesToCopy,headOfQueue.byteLength-=bytesToCopy),controller._queueTotalSize-=bytesToCopy,ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,bytesToCopy,pullIntoDescriptor),totalBytesToCopyRemaining-=bytesToCopy}return!1===ready&&(assert(0===controller._queueTotalSize,"queue must be empty"),assert(pullIntoDescriptor.bytesFilled>0),assert(pullIntoDescriptor.bytesFilled<pullIntoDescriptor.elementSize)),ready}function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,size,pullIntoDescriptor){assert(0===controller._pendingPullIntos.length||controller._pendingPullIntos[0]===pullIntoDescriptor),ReadableByteStreamControllerInvalidateBYOBRequest(controller),pullIntoDescriptor.bytesFilled+=size}function ReadableByteStreamControllerHandleQueueDrain(controller){assert("readable"===controller._controlledReadableStream._state),0===controller._queueTotalSize&&!0===controller._closeRequested?ReadableStreamClose(controller._controlledReadableStream):ReadableByteStreamControllerCallPullIfNeeded(controller)}function ReadableByteStreamControllerInvalidateBYOBRequest(controller){void 0!==controller._byobRequest&&(controller._byobRequest._associatedReadableByteStreamController=void 0,controller._byobRequest._view=void 0,controller._byobRequest=void 0)}function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller){for(assert(!1===controller._closeRequested);controller._pendingPullIntos.length>0;){if(0===controller._queueTotalSize)return;var pullIntoDescriptor=controller._pendingPullIntos[0];!0===ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller,pullIntoDescriptor)&&(ReadableByteStreamControllerShiftPendingPullInto(controller),ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableStream,pullIntoDescriptor))}}function ReadableByteStreamControllerRespondInternal(controller,bytesWritten){var firstDescriptor=controller._pendingPullIntos[0],stream=controller._controlledReadableStream;if("closed"===stream._state){if(0!==bytesWritten)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function ReadableByteStreamControllerRespondInClosedState(controller,firstDescriptor){firstDescriptor.buffer=TransferArrayBuffer(firstDescriptor.buffer),assert(0===firstDescriptor.bytesFilled,"bytesFilled must be 0");var stream=controller._controlledReadableStream;if(!0===ReadableStreamHasBYOBReader(stream))for(;ReadableStreamGetNumReadIntoRequests(stream)>0;)ReadableByteStreamControllerCommitPullIntoDescriptor(stream,ReadableByteStreamControllerShiftPendingPullInto(controller))}(controller,firstDescriptor)}else assert("readable"===stream._state),function ReadableByteStreamControllerRespondInReadableState(controller,bytesWritten,pullIntoDescriptor){if(pullIntoDescriptor.bytesFilled+bytesWritten>pullIntoDescriptor.byteLength)throw new RangeError("bytesWritten out of range");if(ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller,bytesWritten,pullIntoDescriptor),!(pullIntoDescriptor.bytesFilled<pullIntoDescriptor.elementSize)){ReadableByteStreamControllerShiftPendingPullInto(controller);var remainderSize=pullIntoDescriptor.bytesFilled%pullIntoDescriptor.elementSize;if(remainderSize>0){var end=pullIntoDescriptor.byteOffset+pullIntoDescriptor.bytesFilled,remainder=pullIntoDescriptor.buffer.slice(end-remainderSize,end);ReadableByteStreamControllerEnqueueChunkToQueue(controller,remainder,0,remainder.byteLength)}pullIntoDescriptor.buffer=TransferArrayBuffer(pullIntoDescriptor.buffer),pullIntoDescriptor.bytesFilled-=remainderSize,ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableStream,pullIntoDescriptor),ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller)}}(controller,bytesWritten,firstDescriptor)}function ReadableByteStreamControllerShiftPendingPullInto(controller){var descriptor=controller._pendingPullIntos.shift();return ReadableByteStreamControllerInvalidateBYOBRequest(controller),descriptor}function ReadableByteStreamControllerError(controller,e){var stream=controller._controlledReadableStream;assert("readable"===stream._state),ReadableByteStreamControllerClearPendingPullIntos(controller),ResetQueue(controller),ReadableStreamError(stream,e)}function ReadableByteStreamControllerGetDesiredSize(controller){var state=controller._controlledReadableStream._state;return"errored"===state?null:"closed"===state?0:controller._strategyHWM-controller._queueTotalSize}function streamBrandCheckException(name){return new TypeError("ReadableStream.prototype."+name+" can only be used on a ReadableStream")}function readerLockException(name){return new TypeError("Cannot "+name+" a stream using a released reader")}function defaultReaderBrandCheckException(name){return new TypeError("ReadableStreamDefaultReader.prototype."+name+" can only be used on a ReadableStreamDefaultReader")}function defaultReaderClosedPromiseReject(reader,reason){assert(void 0!==reader._closedPromise_resolve),assert(void 0!==reader._closedPromise_reject),reader._closedPromise_reject(reason),reader._closedPromise_resolve=void 0,reader._closedPromise_reject=void 0}function byobReaderBrandCheckException(name){return new TypeError("ReadableStreamBYOBReader.prototype."+name+" can only be used on a ReadableStreamBYOBReader")}function defaultControllerBrandCheckException(name){return new TypeError("ReadableStreamDefaultController.prototype."+name+" can only be used on a ReadableStreamDefaultController")}function byobRequestBrandCheckException(name){return new TypeError("ReadableStreamBYOBRequest.prototype."+name+" can only be used on a ReadableStreamBYOBRequest")}function byteStreamControllerBrandCheckException(name){return new TypeError("ReadableByteStreamController.prototype."+name+" can only be used on a ReadableByteStreamController")}},function(module,exports,__w_pdfjs_require__){var transformStream=__w_pdfjs_require__(6),readableStream=__w_pdfjs_require__(4),writableStream=__w_pdfjs_require__(2);exports.TransformStream=transformStream.TransformStream,exports.ReadableStream=readableStream.ReadableStream,exports.IsReadableStreamDisturbed=readableStream.IsReadableStreamDisturbed,exports.ReadableStreamDefaultControllerClose=readableStream.ReadableStreamDefaultControllerClose,exports.ReadableStreamDefaultControllerEnqueue=readableStream.ReadableStreamDefaultControllerEnqueue,exports.ReadableStreamDefaultControllerError=readableStream.ReadableStreamDefaultControllerError,exports.ReadableStreamDefaultControllerGetDesiredSize=readableStream.ReadableStreamDefaultControllerGetDesiredSize,exports.AcquireWritableStreamDefaultWriter=writableStream.AcquireWritableStreamDefaultWriter,exports.IsWritableStream=writableStream.IsWritableStream,exports.IsWritableStreamLocked=writableStream.IsWritableStreamLocked,exports.WritableStream=writableStream.WritableStream,exports.WritableStreamAbort=writableStream.WritableStreamAbort,exports.WritableStreamDefaultControllerError=writableStream.WritableStreamDefaultControllerError,exports.WritableStreamDefaultWriterCloseWithErrorPropagation=writableStream.WritableStreamDefaultWriterCloseWithErrorPropagation,exports.WritableStreamDefaultWriterRelease=writableStream.WritableStreamDefaultWriterRelease,exports.WritableStreamDefaultWriterWrite=writableStream.WritableStreamDefaultWriterWrite},function(module,exports,__w_pdfjs_require__){var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var assert=__w_pdfjs_require__(1).assert,_require2=__w_pdfjs_require__(0),InvokeOrNoop=_require2.InvokeOrNoop,PromiseInvokeOrPerformFallback=_require2.PromiseInvokeOrPerformFallback,PromiseInvokeOrNoop=_require2.PromiseInvokeOrNoop,typeIsObject=_require2.typeIsObject,_require3=__w_pdfjs_require__(4),ReadableStream=_require3.ReadableStream,ReadableStreamDefaultControllerClose=_require3.ReadableStreamDefaultControllerClose,ReadableStreamDefaultControllerEnqueue=_require3.ReadableStreamDefaultControllerEnqueue,ReadableStreamDefaultControllerError=_require3.ReadableStreamDefaultControllerError,ReadableStreamDefaultControllerGetDesiredSize=_require3.ReadableStreamDefaultControllerGetDesiredSize,_require4=__w_pdfjs_require__(2),WritableStream=_require4.WritableStream,WritableStreamDefaultControllerError=_require4.WritableStreamDefaultControllerError;function TransformStreamEnqueueToReadable(transformStream,chunk){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");if(!0===transformStream._readableClosed)throw new TypeError("Readable side is already closed");var controller=transformStream._readableController;try{ReadableStreamDefaultControllerEnqueue(controller,chunk)}catch(e){throw transformStream._readableClosed=!0,TransformStreamErrorIfNeeded(transformStream,e),transformStream._storedError}!0===ReadableStreamDefaultControllerGetDesiredSize(controller)<=0&&!1===transformStream._backpressure&&TransformStreamSetBackpressure(transformStream,!0)}function TransformStreamCloseReadableInternal(transformStream){assert(!1===transformStream._errored),assert(!1===transformStream._readableClosed);try{ReadableStreamDefaultControllerClose(transformStream._readableController)}catch(e){assert(!1)}transformStream._readableClosed=!0}function TransformStreamErrorIfNeeded(transformStream,e){!1===transformStream._errored&&TransformStreamErrorInternal(transformStream,e)}function TransformStreamErrorInternal(transformStream,e){assert(!1===transformStream._errored),transformStream._errored=!0,transformStream._storedError=e,!1===transformStream._writableDone&&WritableStreamDefaultControllerError(transformStream._writableController,e),!1===transformStream._readableClosed&&ReadableStreamDefaultControllerError(transformStream._readableController,e)}function TransformStreamReadableReadyPromise(transformStream){return assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===transformStream._backpressure?Promise.resolve():(assert(!0===transformStream._backpressure,"_backpressure should have been initialized"),transformStream._backpressureChangePromise)}function TransformStreamSetBackpressure(transformStream,backpressure){assert(transformStream._backpressure!==backpressure,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==transformStream._backpressureChangePromise&&transformStream._backpressureChangePromise_resolve(backpressure),transformStream._backpressureChangePromise=new Promise((function(resolve){transformStream._backpressureChangePromise_resolve=resolve})),transformStream._backpressureChangePromise.then((function(resolution){assert(resolution!==backpressure,"_backpressureChangePromise should be fulfilled only when backpressure is changed")})),transformStream._backpressure=backpressure}function TransformStreamDefaultTransform(chunk,transformStreamController){return TransformStreamEnqueueToReadable(transformStreamController._controlledTransformStream,chunk),Promise.resolve()}function IsTransformStreamDefaultController(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_controlledTransformStream")}function IsTransformStream(x){return!!typeIsObject(x)&&!!Object.prototype.hasOwnProperty.call(x,"_transformStreamController")}var TransformStreamSink=function(){function TransformStreamSink(transformStream,startPromise){_classCallCheck(this,TransformStreamSink),this._transformStream=transformStream,this._startPromise=startPromise}return _createClass(TransformStreamSink,[{key:"start",value:function start(c){var transformStream=this._transformStream;return transformStream._writableController=c,this._startPromise.then((function(){return TransformStreamReadableReadyPromise(transformStream)}))}},{key:"write",value:function write(chunk){return function TransformStreamTransform(transformStream,chunk){assert(!1===transformStream._errored),assert(!1===transformStream._transforming),assert(!1===transformStream._backpressure),transformStream._transforming=!0;var transformer=transformStream._transformer,controller=transformStream._transformStreamController;return PromiseInvokeOrPerformFallback(transformer,"transform",[chunk,controller],TransformStreamDefaultTransform,[chunk,controller]).then((function(){return transformStream._transforming=!1,TransformStreamReadableReadyPromise(transformStream)}),(function(e){return TransformStreamErrorIfNeeded(transformStream,e),Promise.reject(e)}))}(this._transformStream,chunk)}},{key:"abort",value:function abort(){var transformStream=this._transformStream;transformStream._writableDone=!0,TransformStreamErrorInternal(transformStream,new TypeError("Writable side aborted"))}},{key:"close",value:function close(){var transformStream=this._transformStream;return assert(!1===transformStream._transforming),transformStream._writableDone=!0,PromiseInvokeOrNoop(transformStream._transformer,"flush",[transformStream._transformStreamController]).then((function(){return!0===transformStream._errored?Promise.reject(transformStream._storedError):(!1===transformStream._readableClosed&&TransformStreamCloseReadableInternal(transformStream),Promise.resolve())})).catch((function(r){return TransformStreamErrorIfNeeded(transformStream,r),Promise.reject(transformStream._storedError)}))}}]),TransformStreamSink}(),TransformStreamSource=function(){function TransformStreamSource(transformStream,startPromise){_classCallCheck(this,TransformStreamSource),this._transformStream=transformStream,this._startPromise=startPromise}return _createClass(TransformStreamSource,[{key:"start",value:function start(c){var transformStream=this._transformStream;return transformStream._readableController=c,this._startPromise.then((function(){return assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===transformStream._backpressure?Promise.resolve():(assert(!1===transformStream._backpressure,"_backpressure should have been initialized"),transformStream._backpressureChangePromise)}))}},{key:"pull",value:function pull(){var transformStream=this._transformStream;return assert(!0===transformStream._backpressure,"pull() should be never called while _backpressure is false"),assert(void 0!==transformStream._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),TransformStreamSetBackpressure(transformStream,!1),transformStream._backpressureChangePromise}},{key:"cancel",value:function cancel(){var transformStream=this._transformStream;transformStream._readableClosed=!0,TransformStreamErrorInternal(transformStream,new TypeError("Readable side canceled"))}}]),TransformStreamSource}(),TransformStreamDefaultController=function(){function TransformStreamDefaultController(transformStream){if(_classCallCheck(this,TransformStreamDefaultController),!1===IsTransformStream(transformStream))throw new TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==transformStream._transformStreamController)throw new TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=transformStream}return _createClass(TransformStreamDefaultController,[{key:"enqueue",value:function enqueue(chunk){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("enqueue");TransformStreamEnqueueToReadable(this._controlledTransformStream,chunk)}},{key:"close",value:function close(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("close");!function TransformStreamCloseReadable(transformStream){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");if(!0===transformStream._readableClosed)throw new TypeError("Readable side is already closed");TransformStreamCloseReadableInternal(transformStream)}(this._controlledTransformStream)}},{key:"error",value:function error(reason){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("error");!function TransformStreamError(transformStream,e){if(!0===transformStream._errored)throw new TypeError("TransformStream is already errored");TransformStreamErrorInternal(transformStream,e)}(this._controlledTransformStream,reason)}},{key:"desiredSize",get:function get(){if(!1===IsTransformStreamDefaultController(this))throw defaultControllerBrandCheckException("desiredSize");var readableController=this._controlledTransformStream._readableController;return ReadableStreamDefaultControllerGetDesiredSize(readableController)}}]),TransformStreamDefaultController}(),TransformStream=function(){function TransformStream(){var transformer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,TransformStream),this._transformer=transformer;var readableStrategy=transformer.readableStrategy,writableStrategy=transformer.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new TransformStreamDefaultController(this);var startPromise_resolve=void 0,startPromise=new Promise((function(resolve){startPromise_resolve=resolve})),source=new TransformStreamSource(this,startPromise);this._readable=new ReadableStream(source,readableStrategy);var sink=new TransformStreamSink(this,startPromise);this._writable=new WritableStream(sink,writableStrategy),assert(void 0!==this._writableController),assert(void 0!==this._readableController);var desiredSize=ReadableStreamDefaultControllerGetDesiredSize(this._readableController);TransformStreamSetBackpressure(this,desiredSize<=0);var transformStream=this,startResult=InvokeOrNoop(transformer,"start",[transformStream._transformStreamController]);startPromise_resolve(startResult),startPromise.catch((function(e){!1===transformStream._errored&&(transformStream._errored=!0,transformStream._storedError=e)}))}return _createClass(TransformStream,[{key:"readable",get:function get(){if(!1===IsTransformStream(this))throw streamBrandCheckException("readable");return this._readable}},{key:"writable",get:function get(){if(!1===IsTransformStream(this))throw streamBrandCheckException("writable");return this._writable}}]),TransformStream}();function defaultControllerBrandCheckException(name){return new TypeError("TransformStreamDefaultController.prototype."+name+" can only be used on a TransformStreamDefaultController")}function streamBrandCheckException(name){return new TypeError("TransformStream.prototype."+name+" can only be used on a TransformStream")}module.exports={TransformStream:TransformStream}},function(module,exports,__w_pdfjs_require__){module.exports=__w_pdfjs_require__(5)}]))},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFJS=exports.globalScope=void 0;var _api=__w_pdfjs_require__(69),_dom_utils=__w_pdfjs_require__(15),_util=__w_pdfjs_require__(0),_annotation_layer=__w_pdfjs_require__(72),_global_scope2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__w_pdfjs_require__(20)),_metadata=__w_pdfjs_require__(71),_text_layer=__w_pdfjs_require__(73),_svg=__w_pdfjs_require__(74);_global_scope2.default.PDFJS||(_global_scope2.default.PDFJS={});var PDFJS=_global_scope2.default.PDFJS;PDFJS.version="1.10.100",PDFJS.build="ea29ec83",PDFJS.pdfBug=!1,void 0!==PDFJS.verbosity&&(0,_util.setVerbosityLevel)(PDFJS.verbosity),delete PDFJS.verbosity,Object.defineProperty(PDFJS,"verbosity",{get:function get(){return(0,_util.getVerbosityLevel)()},set:function set(level){(0,_util.setVerbosityLevel)(level)},enumerable:!0,configurable:!0}),PDFJS.VERBOSITY_LEVELS=_util.VERBOSITY_LEVELS,PDFJS.OPS=_util.OPS,PDFJS.UNSUPPORTED_FEATURES=_util.UNSUPPORTED_FEATURES,PDFJS.isValidUrl=_dom_utils.isValidUrl,PDFJS.shadow=_util.shadow,PDFJS.createBlob=_util.createBlob,PDFJS.createObjectURL=function PDFJS_createObjectURL(data,contentType){return(0,_util.createObjectURL)(data,contentType,PDFJS.disableCreateObjectURL)},Object.defineProperty(PDFJS,"isLittleEndian",{configurable:!0,get:function PDFJS_isLittleEndian(){return(0,_util.shadow)(PDFJS,"isLittleEndian",(0,_util.isLittleEndian)())}}),PDFJS.removeNullCharacters=_util.removeNullCharacters,PDFJS.PasswordResponses=_util.PasswordResponses,PDFJS.PasswordException=_util.PasswordException,PDFJS.UnknownErrorException=_util.UnknownErrorException,PDFJS.InvalidPDFException=_util.InvalidPDFException,PDFJS.MissingPDFException=_util.MissingPDFException,PDFJS.UnexpectedResponseException=_util.UnexpectedResponseException,PDFJS.Util=_util.Util,PDFJS.PageViewport=_util.PageViewport,PDFJS.createPromiseCapability=_util.createPromiseCapability,PDFJS.maxImageSize=void 0===PDFJS.maxImageSize?-1:PDFJS.maxImageSize,PDFJS.cMapUrl=void 0===PDFJS.cMapUrl?null:PDFJS.cMapUrl,PDFJS.cMapPacked=void 0!==PDFJS.cMapPacked&&PDFJS.cMapPacked,PDFJS.disableFontFace=void 0!==PDFJS.disableFontFace&&PDFJS.disableFontFace,PDFJS.imageResourcesPath=void 0===PDFJS.imageResourcesPath?"":PDFJS.imageResourcesPath,PDFJS.disableWorker=void 0!==PDFJS.disableWorker&&PDFJS.disableWorker,PDFJS.workerSrc=void 0===PDFJS.workerSrc?null:PDFJS.workerSrc,PDFJS.workerPort=void 0===PDFJS.workerPort?null:PDFJS.workerPort,PDFJS.disableRange=void 0!==PDFJS.disableRange&&PDFJS.disableRange,PDFJS.disableStream=void 0!==PDFJS.disableStream&&PDFJS.disableStream,PDFJS.disableAutoFetch=void 0!==PDFJS.disableAutoFetch&&PDFJS.disableAutoFetch,PDFJS.pdfBug=void 0!==PDFJS.pdfBug&&PDFJS.pdfBug,PDFJS.postMessageTransfers=void 0===PDFJS.postMessageTransfers||PDFJS.postMessageTransfers,PDFJS.disableCreateObjectURL=void 0!==PDFJS.disableCreateObjectURL&&PDFJS.disableCreateObjectURL,PDFJS.disableWebGL=void 0===PDFJS.disableWebGL||PDFJS.disableWebGL,PDFJS.externalLinkTarget=void 0===PDFJS.externalLinkTarget?_dom_utils.LinkTarget.NONE:PDFJS.externalLinkTarget,PDFJS.externalLinkRel=void 0===PDFJS.externalLinkRel?_dom_utils.DEFAULT_LINK_REL:PDFJS.externalLinkRel,PDFJS.isEvalSupported=void 0===PDFJS.isEvalSupported||PDFJS.isEvalSupported,PDFJS.pdfjsNext=void 0!==PDFJS.pdfjsNext&&PDFJS.pdfjsNext;var savedOpenExternalLinksInNewWindow=PDFJS.openExternalLinksInNewWindow;delete PDFJS.openExternalLinksInNewWindow,Object.defineProperty(PDFJS,"openExternalLinksInNewWindow",{get:function get(){return PDFJS.externalLinkTarget===_dom_utils.LinkTarget.BLANK},set:function set(value){value&&(0,_util.deprecated)('PDFJS.openExternalLinksInNewWindow, please use "PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK" instead.'),PDFJS.externalLinkTarget===_dom_utils.LinkTarget.NONE?PDFJS.externalLinkTarget=value?_dom_utils.LinkTarget.BLANK:_dom_utils.LinkTarget.NONE:(0,_util.warn)("PDFJS.externalLinkTarget is already initialized")},enumerable:!0,configurable:!0}),savedOpenExternalLinksInNewWindow&&(PDFJS.openExternalLinksInNewWindow=savedOpenExternalLinksInNewWindow),PDFJS.getDocument=_api.getDocument,PDFJS.LoopbackPort=_api.LoopbackPort,PDFJS.PDFDataRangeTransport=_api.PDFDataRangeTransport,PDFJS.PDFWorker=_api.PDFWorker,PDFJS.hasCanvasTypedArrays=!0,PDFJS.CustomStyle=_dom_utils.CustomStyle,PDFJS.LinkTarget=_dom_utils.LinkTarget,PDFJS.addLinkAttributes=_dom_utils.addLinkAttributes,PDFJS.getFilenameFromUrl=_dom_utils.getFilenameFromUrl,PDFJS.isExternalLinkTargetSet=_dom_utils.isExternalLinkTargetSet,PDFJS.AnnotationLayer=_annotation_layer.AnnotationLayer,PDFJS.renderTextLayer=_text_layer.renderTextLayer,PDFJS.Metadata=_metadata.Metadata,PDFJS.SVGGraphics=_svg.SVGGraphics,PDFJS.UnsupportedManager=_api._UnsupportedManager,exports.globalScope=_global_scope2.default,exports.PDFJS=PDFJS},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FontLoader=exports.FontFaceObject=void 0;var _util=__w_pdfjs_require__(0);function FontLoader(docId){this.docId=docId,this.styleElement=null,this.nativeFontFaces=[],this.loadTestFontId=0,this.loadingContext={requests:[],nextRequestId:0}}FontLoader.prototype={insertRule:function fontLoaderInsertRule(rule){var styleElement=this.styleElement;styleElement||((styleElement=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_"+this.docId,document.documentElement.getElementsByTagName("head")[0].appendChild(styleElement));var styleSheet=styleElement.sheet;styleSheet.insertRule(rule,styleSheet.cssRules.length)},clear:function fontLoaderClear(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null),this.nativeFontFaces.forEach((function(nativeFontFace){document.fonts.delete(nativeFontFace)})),this.nativeFontFaces.length=0}};Object.defineProperty(FontLoader.prototype,"loadTestFont",{get:function get(){return(0,_util.shadow)(this,"loadTestFont",function getLoadTestFont(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")}())},configurable:!0}),FontLoader.prototype.addNativeFontFace=function fontLoader_addNativeFontFace(nativeFontFace){this.nativeFontFaces.push(nativeFontFace),document.fonts.add(nativeFontFace)},FontLoader.prototype.bind=function fontLoaderBind(fonts,callback){for(var rules=[],fontsToLoad=[],fontLoadPromises=[],getNativeFontPromise=function getNativeFontPromise(nativeFontFace){return nativeFontFace.loaded.catch((function(e){(0,_util.warn)('Failed to load font "'+nativeFontFace.family+'": '+e)}))},isFontLoadingAPISupported=FontLoader.isFontLoadingAPISupported&&!FontLoader.isSyncFontLoadingSupported,i=0,ii=fonts.length;i<ii;i++){var font=fonts[i];if(!font.attached&&!1!==font.loading)if(font.attached=!0,isFontLoadingAPISupported){var nativeFontFace=font.createNativeFontFace();nativeFontFace&&(this.addNativeFontFace(nativeFontFace),fontLoadPromises.push(getNativeFontPromise(nativeFontFace)))}else{var rule=font.createFontFaceRule();rule&&(this.insertRule(rule),rules.push(rule),fontsToLoad.push(font))}}var request=this.queueLoadingCallback(callback);isFontLoadingAPISupported?Promise.all(fontLoadPromises).then((function(){request.complete()})):rules.length>0&&!FontLoader.isSyncFontLoadingSupported?this.prepareFontLoadEvent(rules,fontsToLoad,request):request.complete()},FontLoader.prototype.queueLoadingCallback=function FontLoader_queueLoadingCallback(callback){var context=this.loadingContext,request={id:"pdfjs-font-loading-"+context.nextRequestId++,complete:function LoadLoader_completeRequest(){for((0,_util.assert)(!request.end,"completeRequest() cannot be called twice"),request.end=Date.now();context.requests.length>0&&context.requests[0].end;){var otherRequest=context.requests.shift();setTimeout(otherRequest.callback,0)}},callback:callback,started:Date.now()};return context.requests.push(request),request},FontLoader.prototype.prepareFontLoadEvent=function fontLoaderPrepareFontLoadEvent(rules,fonts,request){function int32(data,offset){return data.charCodeAt(offset)<<24|data.charCodeAt(offset+1)<<16|data.charCodeAt(offset+2)<<8|255&data.charCodeAt(offset+3)}function spliceString(s,offset,remove,insert){return s.substr(0,offset)+insert+s.substr(offset+remove)}var i,ii,canvas=document.createElement("canvas");canvas.width=1,canvas.height=1;var ctx=canvas.getContext("2d"),called=0;var loadTestFontId="lt"+Date.now()+this.loadTestFontId++,data=this.loadTestFont,checksum=int32(data=spliceString(data,976,loadTestFontId.length,loadTestFontId),16);for(i=0,ii=loadTestFontId.length-3;i<ii;i+=4)checksum=checksum-1482184792+int32(loadTestFontId,i)|0;i<loadTestFontId.length&&(checksum=checksum-1482184792+int32(loadTestFontId+"XXX",i)|0),data=spliceString(data,16,4,(0,_util.string32)(checksum));var rule='@font-face { font-family:"'+loadTestFontId+'";src:'+("url(data:font/opentype;base64,"+btoa(data)+");")+"}";this.insertRule(rule);var names=[];for(i=0,ii=fonts.length;i<ii;i++)names.push(fonts[i].loadedName);names.push(loadTestFontId);var div=document.createElement("div");for(div.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),i=0,ii=names.length;i<ii;++i){var span=document.createElement("span");span.textContent="Hi",span.style.fontFamily=names[i],div.appendChild(span)}document.body.appendChild(div),function isFontReady(name,callback){if(++called>30)return(0,_util.warn)("Load test font never loaded."),void callback();ctx.font="30px "+name,ctx.fillText(".",0,20),ctx.getImageData(0,0,1,1).data[3]>0?callback():setTimeout(isFontReady.bind(null,name,callback))}(loadTestFontId,(function(){document.body.removeChild(div),request.complete()}))},FontLoader.isFontLoadingAPISupported="undefined"!=typeof document&&!!document.fonts;Object.defineProperty(FontLoader,"isSyncFontLoadingSupported",{get:function get(){return(0,_util.shadow)(FontLoader,"isSyncFontLoadingSupported",function isSyncFontLoadingSupported(){if("undefined"==typeof navigator)return!0;var supported=!1,m=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);return m&&m[1]>=14&&(supported=!0),supported}())},enumerable:!0,configurable:!0});var IsEvalSupportedCached={get value(){return(0,_util.shadow)(this,"value",(0,_util.isEvalSupported)())}},FontFaceObject=function FontFaceObjectClosure(){function FontFaceObject(translatedData,options){for(var i in this.compiledGlyphs=Object.create(null),translatedData)this[i]=translatedData[i];this.options=options}return FontFaceObject.prototype={createNativeFontFace:function FontFaceObject_createNativeFontFace(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var nativeFontFace=new FontFace(this.loadedName,this.data,{});return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this),nativeFontFace},createFontFaceRule:function FontFaceObject_createFontFaceRule(){if(!this.data)return null;if(this.options.disableFontFace)return this.disableFontFace=!0,null;var data=(0,_util.bytesToString)(new Uint8Array(this.data)),fontName=this.loadedName,url="url(data:"+this.mimetype+";base64,"+btoa(data)+");",rule='@font-face { font-family:"'+fontName+'";src:'+url+"}";return this.options.fontRegistry&&this.options.fontRegistry.registerFont(this,url),rule},getPathGenerator:function FontFaceObject_getPathGenerator(objs,character){if(!(character in this.compiledGlyphs)){var current,i,len,cmds=objs.get(this.loadedName+"_path_"+character);if(this.options.isEvalSupported&&IsEvalSupportedCached.value){var args,js="";for(i=0,len=cmds.length;i<len;i++)args=void 0!==(current=cmds[i]).args?current.args.join(","):"",js+="c."+current.cmd+"("+args+");\n";this.compiledGlyphs[character]=new Function("c","size",js)}else this.compiledGlyphs[character]=function(c,size){for(i=0,len=cmds.length;i<len;i++)"scale"===(current=cmds[i]).cmd&&(current.args=[size,-size]),c[current.cmd].apply(c,current.args)}}return this.compiledGlyphs[character]}},FontFaceObject}();exports.FontFaceObject=FontFaceObject,exports.FontLoader=FontLoader},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CanvasGraphics=void 0;var _util=__w_pdfjs_require__(0),_pattern_helper=__w_pdfjs_require__(121),_webgl=__w_pdfjs_require__(70),IsLittleEndianCached={get value(){return(0,_util.shadow)(IsLittleEndianCached,"value",(0,_util.isLittleEndian)())}};function addContextCurrentTransform(ctx){ctx.mozCurrentTransform||(ctx._originalSave=ctx.save,ctx._originalRestore=ctx.restore,ctx._originalRotate=ctx.rotate,ctx._originalScale=ctx.scale,ctx._originalTranslate=ctx.translate,ctx._originalTransform=ctx.transform,ctx._originalSetTransform=ctx.setTransform,ctx._transformMatrix=ctx._transformMatrix||[1,0,0,1,0,0],ctx._transformStack=[],Object.defineProperty(ctx,"mozCurrentTransform",{get:function getCurrentTransform(){return this._transformMatrix}}),Object.defineProperty(ctx,"mozCurrentTransformInverse",{get:function getCurrentTransformInverse(){var m=this._transformMatrix,a=m[0],b=m[1],c=m[2],d=m[3],e=m[4],f=m[5],ad_bc=a*d-b*c,bc_ad=b*c-a*d;return[d/ad_bc,b/bc_ad,c/bc_ad,a/ad_bc,(d*e-c*f)/bc_ad,(b*e-a*f)/ad_bc]}}),ctx.save=function ctxSave(){var old=this._transformMatrix;this._transformStack.push(old),this._transformMatrix=old.slice(0,6),this._originalSave()},ctx.restore=function ctxRestore(){var prev=this._transformStack.pop();prev&&(this._transformMatrix=prev,this._originalRestore())},ctx.translate=function ctxTranslate(x,y){var m=this._transformMatrix;m[4]=m[0]*x+m[2]*y+m[4],m[5]=m[1]*x+m[3]*y+m[5],this._originalTranslate(x,y)},ctx.scale=function ctxScale(x,y){var m=this._transformMatrix;m[0]=m[0]*x,m[1]=m[1]*x,m[2]=m[2]*y,m[3]=m[3]*y,this._originalScale(x,y)},ctx.transform=function ctxTransform(a,b,c,d,e,f){var m=this._transformMatrix;this._transformMatrix=[m[0]*a+m[2]*b,m[1]*a+m[3]*b,m[0]*c+m[2]*d,m[1]*c+m[3]*d,m[0]*e+m[2]*f+m[4],m[1]*e+m[3]*f+m[5]],ctx._originalTransform(a,b,c,d,e,f)},ctx.setTransform=function ctxSetTransform(a,b,c,d,e,f){this._transformMatrix=[a,b,c,d,e,f],ctx._originalSetTransform(a,b,c,d,e,f)},ctx.rotate=function ctxRotate(angle){var cosValue=Math.cos(angle),sinValue=Math.sin(angle),m=this._transformMatrix;this._transformMatrix=[m[0]*cosValue+m[2]*sinValue,m[1]*cosValue+m[3]*sinValue,m[0]*-sinValue+m[2]*cosValue,m[1]*-sinValue+m[3]*cosValue,m[4],m[5]],this._originalRotate(angle)})}var CachedCanvases=function CachedCanvasesClosure(){function CachedCanvases(canvasFactory){this.canvasFactory=canvasFactory,this.cache=Object.create(null)}return CachedCanvases.prototype={getCanvas:function CachedCanvases_getCanvas(id,width,height,trackTransform){var canvasEntry;return void 0!==this.cache[id]?(canvasEntry=this.cache[id],this.canvasFactory.reset(canvasEntry,width,height),canvasEntry.context.setTransform(1,0,0,1,0,0)):(canvasEntry=this.canvasFactory.create(width,height),this.cache[id]=canvasEntry),trackTransform&&addContextCurrentTransform(canvasEntry.context),canvasEntry},clear:function clear(){for(var id in this.cache){var canvasEntry=this.cache[id];this.canvasFactory.destroy(canvasEntry),delete this.cache[id]}}},CachedCanvases}();var CanvasExtraState=function CanvasExtraStateClosure(){function CanvasExtraState(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=_util.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=_util.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=_util.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return CanvasExtraState.prototype={clone:function CanvasExtraState_clone(){return Object.create(this)},setCurrentPoint:function CanvasExtraState_setCurrentPoint(x,y){this.x=x,this.y=y}},CanvasExtraState}(),CanvasGraphics=function CanvasGraphicsClosure(){function CanvasGraphics(canvasCtx,commonObjs,objs,canvasFactory,imageLayer){this.ctx=canvasCtx,this.current=new CanvasExtraState,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=commonObjs,this.objs=objs,this.canvasFactory=canvasFactory,this.imageLayer=imageLayer,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new CachedCanvases(this.canvasFactory),canvasCtx&&addContextCurrentTransform(canvasCtx),this.cachedGetSinglePixelWidth=null}function putBinaryImageData(ctx,imgData){if("undefined"!=typeof ImageData&&imgData instanceof ImageData)ctx.putImageData(imgData,0,0);else{var destPos,i,j,thisChunkHeight,elemsInThisChunk,height=imgData.height,width=imgData.width,partialChunkHeight=height%16,fullChunks=(height-partialChunkHeight)/16,totalChunks=0===partialChunkHeight?fullChunks:fullChunks+1,chunkImgData=ctx.createImageData(width,16),srcPos=0,src=imgData.data,dest=chunkImgData.data;if(imgData.kind===_util.ImageKind.GRAYSCALE_1BPP){var srcLength=src.byteLength,dest32=new Uint32Array(dest.buffer,0,dest.byteLength>>2),dest32DataLength=dest32.length,fullSrcDiff=width+7>>3,white=4294967295,black=IsLittleEndianCached.value?4278190080:255;for(i=0;i<totalChunks;i++){for(thisChunkHeight=i<fullChunks?16:partialChunkHeight,destPos=0,j=0;j<thisChunkHeight;j++){for(var srcDiff=srcLength-srcPos,k=0,kEnd=srcDiff>fullSrcDiff?width:8*srcDiff-7,kEndUnrolled=-8&kEnd,mask=0,srcByte=0;k<kEndUnrolled;k+=8)srcByte=src[srcPos++],dest32[destPos++]=128&srcByte?white:black,dest32[destPos++]=64&srcByte?white:black,dest32[destPos++]=32&srcByte?white:black,dest32[destPos++]=16&srcByte?white:black,dest32[destPos++]=8&srcByte?white:black,dest32[destPos++]=4&srcByte?white:black,dest32[destPos++]=2&srcByte?white:black,dest32[destPos++]=1&srcByte?white:black;for(;k<kEnd;k++)0===mask&&(srcByte=src[srcPos++],mask=128),dest32[destPos++]=srcByte&mask?white:black,mask>>=1}for(;destPos<dest32DataLength;)dest32[destPos++]=0;ctx.putImageData(chunkImgData,0,16*i)}}else if(imgData.kind===_util.ImageKind.RGBA_32BPP){for(j=0,elemsInThisChunk=16*width*4,i=0;i<fullChunks;i++)dest.set(src.subarray(srcPos,srcPos+elemsInThisChunk)),srcPos+=elemsInThisChunk,ctx.putImageData(chunkImgData,0,j),j+=16;i<totalChunks&&(elemsInThisChunk=width*partialChunkHeight*4,dest.set(src.subarray(srcPos,srcPos+elemsInThisChunk)),ctx.putImageData(chunkImgData,0,j))}else{if(imgData.kind!==_util.ImageKind.RGB_24BPP)throw new Error("bad image kind: "+imgData.kind);for(elemsInThisChunk=width*(thisChunkHeight=16),i=0;i<totalChunks;i++){for(i>=fullChunks&&(elemsInThisChunk=width*(thisChunkHeight=partialChunkHeight)),destPos=0,j=elemsInThisChunk;j--;)dest[destPos++]=src[srcPos++],dest[destPos++]=src[srcPos++],dest[destPos++]=src[srcPos++],dest[destPos++]=255;ctx.putImageData(chunkImgData,0,16*i)}}}}function putBinaryImageMask(ctx,imgData){for(var height=imgData.height,width=imgData.width,partialChunkHeight=height%16,fullChunks=(height-partialChunkHeight)/16,totalChunks=0===partialChunkHeight?fullChunks:fullChunks+1,chunkImgData=ctx.createImageData(width,16),srcPos=0,src=imgData.data,dest=chunkImgData.data,i=0;i<totalChunks;i++){for(var thisChunkHeight=i<fullChunks?16:partialChunkHeight,destPos=3,j=0;j<thisChunkHeight;j++)for(var mask=0,k=0;k<width;k++){if(!mask){var elem=src[srcPos++];mask=128}dest[destPos]=elem&mask?0:255,destPos+=4,mask>>=1}ctx.putImageData(chunkImgData,0,16*i)}}function copyCtxState(sourceCtx,destCtx){for(var properties=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],i=0,ii=properties.length;i<ii;i++){var property=properties[i];void 0!==sourceCtx[property]&&(destCtx[property]=sourceCtx[property])}void 0!==sourceCtx.setLineDash&&(destCtx.setLineDash(sourceCtx.getLineDash()),destCtx.lineDashOffset=sourceCtx.lineDashOffset)}function resetCtxToDefault(ctx){ctx.strokeStyle="#000000",ctx.fillStyle="#000000",ctx.fillRule="nonzero",ctx.globalAlpha=1,ctx.lineWidth=1,ctx.lineCap="butt",ctx.lineJoin="miter",ctx.miterLimit=10,ctx.globalCompositeOperation="source-over",ctx.font="10px sans-serif",void 0!==ctx.setLineDash&&(ctx.setLineDash([]),ctx.lineDashOffset=0)}function composeSMaskBackdrop(bytes,r0,g0,b0){for(var length=bytes.length,i=3;i<length;i+=4){var alpha=bytes[i];if(0===alpha)bytes[i-3]=r0,bytes[i-2]=g0,bytes[i-1]=b0;else if(alpha<255){var alpha_=255-alpha;bytes[i-3]=bytes[i-3]*alpha+r0*alpha_>>8,bytes[i-2]=bytes[i-2]*alpha+g0*alpha_>>8,bytes[i-1]=bytes[i-1]*alpha+b0*alpha_>>8}}}function composeSMaskAlpha(maskData,layerData,transferMap){for(var length=maskData.length,i=3;i<length;i+=4){var alpha=transferMap?transferMap[maskData[i]]:maskData[i];layerData[i]=layerData[i]*alpha*.00392156862745098|0}}function composeSMaskLuminosity(maskData,layerData,transferMap){for(var length=maskData.length,i=3;i<length;i+=4){var y=77*maskData[i-3]+152*maskData[i-2]+28*maskData[i-1];layerData[i]=transferMap?layerData[i]*transferMap[y>>8]>>8:layerData[i]*y>>16}}function composeSMask(ctx,smask,layerCtx){var mask=smask.canvas,maskCtx=smask.context;ctx.setTransform(smask.scaleX,0,0,smask.scaleY,smask.offsetX,smask.offsetY);var backdrop=smask.backdrop||null;if(!smask.transferMap&&_webgl.WebGLUtils.isEnabled){var composed=_webgl.WebGLUtils.composeSMask(layerCtx.canvas,mask,{subtype:smask.subtype,backdrop:backdrop});return ctx.setTransform(1,0,0,1,0,0),void ctx.drawImage(composed,smask.offsetX,smask.offsetY)}!function genericComposeSMask(maskCtx,layerCtx,width,height,subtype,backdrop,transferMap){var composeFn,hasBackdrop=!!backdrop,r0=hasBackdrop?backdrop[0]:0,g0=hasBackdrop?backdrop[1]:0,b0=hasBackdrop?backdrop[2]:0;composeFn="Luminosity"===subtype?composeSMaskLuminosity:composeSMaskAlpha;for(var chunkSize=Math.min(height,Math.ceil(1048576/width)),row=0;row<height;row+=chunkSize){var chunkHeight=Math.min(chunkSize,height-row),maskData=maskCtx.getImageData(0,row,width,chunkHeight),layerData=layerCtx.getImageData(0,row,width,chunkHeight);hasBackdrop&&composeSMaskBackdrop(maskData.data,r0,g0,b0),composeFn(maskData.data,layerData.data,transferMap),maskCtx.putImageData(layerData,0,row)}}(maskCtx,layerCtx,mask.width,mask.height,smask.subtype,backdrop,smask.transferMap),ctx.drawImage(mask,0,0)}var LINE_CAP_STYLES=["butt","round","square"],LINE_JOIN_STYLES=["miter","round","bevel"],NORMAL_CLIP={},EO_CLIP={};for(var op in CanvasGraphics.prototype={beginDrawing:function beginDrawing(_ref){var transform=_ref.transform,viewport=_ref.viewport,transparency=_ref.transparency,_ref$background=_ref.background,background=void 0===_ref$background?null:_ref$background,width=this.ctx.canvas.width,height=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=background||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,width,height),this.ctx.restore(),transparency){var transparentCanvas=this.cachedCanvases.getCanvas("transparent",width,height,!0);this.compositeCtx=this.ctx,this.transparentCanvas=transparentCanvas.canvas,this.ctx=transparentCanvas.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),resetCtxToDefault(this.ctx),transform&&this.ctx.transform.apply(this.ctx,transform),this.ctx.transform.apply(this.ctx,viewport.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function CanvasGraphics_executeOperatorList(operatorList,executionStartIdx,continueCallback,stepper){var argsArray=operatorList.argsArray,fnArray=operatorList.fnArray,i=executionStartIdx||0,argsArrayLen=argsArray.length;if(argsArrayLen===i)return i;for(var fnId,chunkOperations=argsArrayLen-i>10&&"function"==typeof continueCallback,endTime=chunkOperations?Date.now()+15:0,steps=0,commonObjs=this.commonObjs,objs=this.objs;;){if(void 0!==stepper&&i===stepper.nextBreakPoint)return stepper.breakIt(i,continueCallback),i;if((fnId=fnArray[i])!==_util.OPS.dependency)this[fnId].apply(this,argsArray[i]);else for(var deps=argsArray[i],n=0,nn=deps.length;n<nn;n++){var depObjId=deps[n],objsPool="g"===depObjId[0]&&"_"===depObjId[1]?commonObjs:objs;if(!objsPool.isResolved(depObjId))return objsPool.get(depObjId,continueCallback),i}if(++i===argsArrayLen)return i;if(chunkOperations&&++steps>10){if(Date.now()>endTime)return continueCallback(),i;steps=0}}},endDrawing:function CanvasGraphics_endDrawing(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),_webgl.WebGLUtils.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function CanvasGraphics_setLineWidth(width){this.current.lineWidth=width,this.ctx.lineWidth=width},setLineCap:function CanvasGraphics_setLineCap(style){this.ctx.lineCap=LINE_CAP_STYLES[style]},setLineJoin:function CanvasGraphics_setLineJoin(style){this.ctx.lineJoin=LINE_JOIN_STYLES[style]},setMiterLimit:function CanvasGraphics_setMiterLimit(limit){this.ctx.miterLimit=limit},setDash:function CanvasGraphics_setDash(dashArray,dashPhase){var ctx=this.ctx;void 0!==ctx.setLineDash&&(ctx.setLineDash(dashArray),ctx.lineDashOffset=dashPhase)},setRenderingIntent:function CanvasGraphics_setRenderingIntent(intent){},setFlatness:function CanvasGraphics_setFlatness(flatness){},setGState:function CanvasGraphics_setGState(states){for(var i=0,ii=states.length;i<ii;i++){var state=states[i],key=state[0],value=state[1];switch(key){case"LW":this.setLineWidth(value);break;case"LC":this.setLineCap(value);break;case"LJ":this.setLineJoin(value);break;case"ML":this.setMiterLimit(value);break;case"D":this.setDash(value[0],value[1]);break;case"RI":this.setRenderingIntent(value);break;case"FL":this.setFlatness(value);break;case"Font":this.setFont(value[0],value[1]);break;case"CA":this.current.strokeAlpha=state[1];break;case"ca":this.current.fillAlpha=state[1],this.ctx.globalAlpha=state[1];break;case"BM":this.ctx.globalCompositeOperation=value;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=value?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function CanvasGraphics_beginSMaskGroup(){var activeSMask=this.current.activeSMask,drawnWidth=activeSMask.canvas.width,drawnHeight=activeSMask.canvas.height,cacheId="smaskGroupAt"+this.groupLevel,scratchCanvas=this.cachedCanvases.getCanvas(cacheId,drawnWidth,drawnHeight,!0),currentCtx=this.ctx,currentTransform=currentCtx.mozCurrentTransform;this.ctx.save();var groupCtx=scratchCanvas.context;groupCtx.scale(1/activeSMask.scaleX,1/activeSMask.scaleY),groupCtx.translate(-activeSMask.offsetX,-activeSMask.offsetY),groupCtx.transform.apply(groupCtx,currentTransform),activeSMask.startTransformInverse=groupCtx.mozCurrentTransformInverse,copyCtxState(currentCtx,groupCtx),this.ctx=groupCtx,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(currentCtx),this.groupLevel++},suspendSMaskGroup:function CanvasGraphics_endSMaskGroup(){var groupCtx=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),composeSMask(this.ctx,this.current.activeSMask,groupCtx),this.ctx.restore(),this.ctx.save(),copyCtxState(groupCtx,this.ctx),this.current.resumeSMaskCtx=groupCtx;var deltaTransform=_util.Util.transform(this.current.activeSMask.startTransformInverse,groupCtx.mozCurrentTransform);this.ctx.transform.apply(this.ctx,deltaTransform),groupCtx.save(),groupCtx.setTransform(1,0,0,1,0,0),groupCtx.clearRect(0,0,groupCtx.canvas.width,groupCtx.canvas.height),groupCtx.restore()},resumeSMaskGroup:function CanvasGraphics_endSMaskGroup(){var groupCtx=this.current.resumeSMaskCtx,currentCtx=this.ctx;this.ctx=groupCtx,this.groupStack.push(currentCtx),this.groupLevel++},endSMaskGroup:function CanvasGraphics_endSMaskGroup(){var groupCtx=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),composeSMask(this.ctx,this.current.activeSMask,groupCtx),this.ctx.restore(),copyCtxState(groupCtx,this.ctx);var deltaTransform=_util.Util.transform(this.current.activeSMask.startTransformInverse,groupCtx.mozCurrentTransform);this.ctx.transform.apply(this.ctx,deltaTransform)},save:function CanvasGraphics_save(){this.ctx.save();var old=this.current;this.stateStack.push(old),this.current=old.clone(),this.current.resumeSMaskCtx=null},restore:function CanvasGraphics_restore(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this.cachedGetSinglePixelWidth=null)},transform:function CanvasGraphics_transform(a,b,c,d,e,f){this.ctx.transform(a,b,c,d,e,f),this.cachedGetSinglePixelWidth=null},constructPath:function CanvasGraphics_constructPath(ops,args){for(var ctx=this.ctx,current=this.current,x=current.x,y=current.y,i=0,j=0,ii=ops.length;i<ii;i++)switch(0|ops[i]){case _util.OPS.rectangle:x=args[j++],y=args[j++];var width=args[j++],height=args[j++];0===width&&(width=this.getSinglePixelWidth()),0===height&&(height=this.getSinglePixelWidth());var xw=x+width,yh=y+height;this.ctx.moveTo(x,y),this.ctx.lineTo(xw,y),this.ctx.lineTo(xw,yh),this.ctx.lineTo(x,yh),this.ctx.lineTo(x,y),this.ctx.closePath();break;case _util.OPS.moveTo:x=args[j++],y=args[j++],ctx.moveTo(x,y);break;case _util.OPS.lineTo:x=args[j++],y=args[j++],ctx.lineTo(x,y);break;case _util.OPS.curveTo:x=args[j+4],y=args[j+5],ctx.bezierCurveTo(args[j],args[j+1],args[j+2],args[j+3],x,y),j+=6;break;case _util.OPS.curveTo2:ctx.bezierCurveTo(x,y,args[j],args[j+1],args[j+2],args[j+3]),x=args[j+2],y=args[j+3],j+=4;break;case _util.OPS.curveTo3:x=args[j+2],y=args[j+3],ctx.bezierCurveTo(args[j],args[j+1],x,y,x,y),j+=4;break;case _util.OPS.closePath:ctx.closePath()}current.setCurrentPoint(x,y)},closePath:function CanvasGraphics_closePath(){this.ctx.closePath()},stroke:function CanvasGraphics_stroke(consumePath){consumePath=void 0===consumePath||consumePath;var ctx=this.ctx,strokeColor=this.current.strokeColor;ctx.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),ctx.globalAlpha=this.current.strokeAlpha,strokeColor&&strokeColor.hasOwnProperty("type")&&"Pattern"===strokeColor.type?(ctx.save(),ctx.strokeStyle=strokeColor.getPattern(ctx,this),ctx.stroke(),ctx.restore()):ctx.stroke(),consumePath&&this.consumePath(),ctx.globalAlpha=this.current.fillAlpha},closeStroke:function CanvasGraphics_closeStroke(){this.closePath(),this.stroke()},fill:function CanvasGraphics_fill(consumePath){consumePath=void 0===consumePath||consumePath;var ctx=this.ctx,fillColor=this.current.fillColor,needRestore=!1;this.current.patternFill&&(ctx.save(),this.baseTransform&&ctx.setTransform.apply(ctx,this.baseTransform),ctx.fillStyle=fillColor.getPattern(ctx,this),needRestore=!0),this.pendingEOFill?(ctx.fill("evenodd"),this.pendingEOFill=!1):ctx.fill(),needRestore&&ctx.restore(),consumePath&&this.consumePath()},eoFill:function CanvasGraphics_eoFill(){this.pendingEOFill=!0,this.fill()},fillStroke:function CanvasGraphics_fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function CanvasGraphics_eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function CanvasGraphics_closeFillStroke(){this.closePath(),this.fillStroke()},closeEOFillStroke:function CanvasGraphics_closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function CanvasGraphics_endPath(){this.consumePath()},clip:function CanvasGraphics_clip(){this.pendingClip=NORMAL_CLIP},eoClip:function CanvasGraphics_eoClip(){this.pendingClip=EO_CLIP},beginText:function CanvasGraphics_beginText(){this.current.textMatrix=_util.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function CanvasGraphics_endText(){var paths=this.pendingTextPaths,ctx=this.ctx;if(void 0!==paths){ctx.save(),ctx.beginPath();for(var i=0;i<paths.length;i++){var path=paths[i];ctx.setTransform.apply(ctx,path.transform),ctx.translate(path.x,path.y),path.addToPath(ctx,path.fontSize)}ctx.restore(),ctx.clip(),ctx.beginPath(),delete this.pendingTextPaths}else ctx.beginPath()},setCharSpacing:function CanvasGraphics_setCharSpacing(spacing){this.current.charSpacing=spacing},setWordSpacing:function CanvasGraphics_setWordSpacing(spacing){this.current.wordSpacing=spacing},setHScale:function CanvasGraphics_setHScale(scale){this.current.textHScale=scale/100},setLeading:function CanvasGraphics_setLeading(leading){this.current.leading=-leading},setFont:function CanvasGraphics_setFont(fontRefName,size){var fontObj=this.commonObjs.get(fontRefName),current=this.current;if(!fontObj)throw new Error("Can't find font for "+fontRefName);if(current.fontMatrix=fontObj.fontMatrix?fontObj.fontMatrix:_util.FONT_IDENTITY_MATRIX,0!==current.fontMatrix[0]&&0!==current.fontMatrix[3]||(0,_util.warn)("Invalid font matrix for font "+fontRefName),size<0?(size=-size,current.fontDirection=-1):current.fontDirection=1,this.current.font=fontObj,this.current.fontSize=size,!fontObj.isType3Font){var name=fontObj.loadedName||"sans-serif",bold=fontObj.black?"900":fontObj.bold?"bold":"normal",italic=fontObj.italic?"italic":"normal",typeface='"'+name+'", '+fontObj.fallbackName,browserFontSize=size<16?16:size>100?100:size;this.current.fontSizeScale=size/browserFontSize;var rule=italic+" "+bold+" "+browserFontSize+"px "+typeface;this.ctx.font=rule}},setTextRenderingMode:function CanvasGraphics_setTextRenderingMode(mode){this.current.textRenderingMode=mode},setTextRise:function CanvasGraphics_setTextRise(rise){this.current.textRise=rise},moveText:function CanvasGraphics_moveText(x,y){this.current.x=this.current.lineX+=x,this.current.y=this.current.lineY+=y},setLeadingMoveText:function CanvasGraphics_setLeadingMoveText(x,y){this.setLeading(-y),this.moveText(x,y)},setTextMatrix:function CanvasGraphics_setTextMatrix(a,b,c,d,e,f){this.current.textMatrix=[a,b,c,d,e,f],this.current.textMatrixScale=Math.sqrt(a*a+b*b),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function CanvasGraphics_nextLine(){this.moveText(0,this.current.leading)},paintChar:function CanvasGraphics_paintChar(character,x,y){var addToPath,ctx=this.ctx,current=this.current,font=current.font,textRenderingMode=current.textRenderingMode,fontSize=current.fontSize/current.fontSizeScale,fillStrokeMode=textRenderingMode&_util.TextRenderingMode.FILL_STROKE_MASK,isAddToPathSet=!!(textRenderingMode&_util.TextRenderingMode.ADD_TO_PATH_FLAG);((font.disableFontFace||isAddToPathSet)&&(addToPath=font.getPathGenerator(this.commonObjs,character)),font.disableFontFace?(ctx.save(),ctx.translate(x,y),ctx.beginPath(),addToPath(ctx,fontSize),fillStrokeMode!==_util.TextRenderingMode.FILL&&fillStrokeMode!==_util.TextRenderingMode.FILL_STROKE||ctx.fill(),fillStrokeMode!==_util.TextRenderingMode.STROKE&&fillStrokeMode!==_util.TextRenderingMode.FILL_STROKE||ctx.stroke(),ctx.restore()):(fillStrokeMode!==_util.TextRenderingMode.FILL&&fillStrokeMode!==_util.TextRenderingMode.FILL_STROKE||ctx.fillText(character,x,y),fillStrokeMode!==_util.TextRenderingMode.STROKE&&fillStrokeMode!==_util.TextRenderingMode.FILL_STROKE||ctx.strokeText(character,x,y)),isAddToPathSet)&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:ctx.mozCurrentTransform,x:x,y:y,fontSize:fontSize,addToPath:addToPath})},get isFontSubpixelAAEnabled(){var ctx=this.canvasFactory.create(10,10).context;ctx.scale(1.5,1),ctx.fillText("I",0,10);for(var data=ctx.getImageData(0,0,10,10).data,enabled=!1,i=3;i<data.length;i+=4)if(data[i]>0&&data[i]<255){enabled=!0;break}return(0,_util.shadow)(this,"isFontSubpixelAAEnabled",enabled)},showText:function CanvasGraphics_showText(glyphs){var current=this.current,font=current.font;if(font.isType3Font)return this.showType3Text(glyphs);var fontSize=current.fontSize;if(0!==fontSize){var ctx=this.ctx,fontSizeScale=current.fontSizeScale,charSpacing=current.charSpacing,wordSpacing=current.wordSpacing,fontDirection=current.fontDirection,textHScale=current.textHScale*fontDirection,glyphsLength=glyphs.length,vertical=font.vertical,spacingDir=vertical?1:-1,defaultVMetrics=font.defaultVMetrics,widthAdvanceScale=fontSize*current.fontMatrix[0],simpleFillText=current.textRenderingMode===_util.TextRenderingMode.FILL&&!font.disableFontFace;ctx.save(),ctx.transform.apply(ctx,current.textMatrix),ctx.translate(current.x,current.y+current.textRise),current.patternFill&&(ctx.fillStyle=current.fillColor.getPattern(ctx,this)),fontDirection>0?ctx.scale(textHScale,-1):ctx.scale(textHScale,1);var lineWidth=current.lineWidth,scale=current.textMatrixScale;if(0===scale||0===lineWidth){var fillStrokeMode=current.textRenderingMode&_util.TextRenderingMode.FILL_STROKE_MASK;fillStrokeMode!==_util.TextRenderingMode.STROKE&&fillStrokeMode!==_util.TextRenderingMode.FILL_STROKE||(this.cachedGetSinglePixelWidth=null,lineWidth=.65*this.getSinglePixelWidth())}else lineWidth/=scale;1!==fontSizeScale&&(ctx.scale(fontSizeScale,fontSizeScale),lineWidth/=fontSizeScale),ctx.lineWidth=lineWidth;var i,x=0;for(i=0;i<glyphsLength;++i){var glyph=glyphs[i];if((0,_util.isNum)(glyph))x+=spacingDir*glyph*fontSize/1e3;else{var scaledX,scaledY,scaledAccentX,scaledAccentY,vmetric,vx,vy,restoreNeeded=!1,spacing=(glyph.isSpace?wordSpacing:0)+charSpacing,character=glyph.fontChar,accent=glyph.accent,width=glyph.width;if(vertical)vmetric=glyph.vmetric||defaultVMetrics,vx=-(vx=glyph.vmetric?vmetric[1]:.5*width)*widthAdvanceScale,vy=vmetric[2]*widthAdvanceScale,width=vmetric?-vmetric[0]:width,scaledX=vx/fontSizeScale,scaledY=(x+vy)/fontSizeScale;else scaledX=x/fontSizeScale,scaledY=0;if(font.remeasure&&width>0){var measuredWidth=1e3*ctx.measureText(character).width/fontSize*fontSizeScale;if(width<measuredWidth&&this.isFontSubpixelAAEnabled){var characterScaleX=width/measuredWidth;restoreNeeded=!0,ctx.save(),ctx.scale(characterScaleX,1),scaledX/=characterScaleX}else width!==measuredWidth&&(scaledX+=(width-measuredWidth)/2e3*fontSize/fontSizeScale)}(glyph.isInFont||font.missingFile)&&(simpleFillText&&!accent?ctx.fillText(character,scaledX,scaledY):(this.paintChar(character,scaledX,scaledY),accent&&(scaledAccentX=scaledX+accent.offset.x/fontSizeScale,scaledAccentY=scaledY-accent.offset.y/fontSizeScale,this.paintChar(accent.fontChar,scaledAccentX,scaledAccentY)))),x+=width*widthAdvanceScale+spacing*fontDirection,restoreNeeded&&ctx.restore()}}vertical?current.y-=x*textHScale:current.x+=x*textHScale,ctx.restore()}},showType3Text:function CanvasGraphics_showType3Text(glyphs){var i,glyph,width,spacingLength,ctx=this.ctx,current=this.current,font=current.font,fontSize=current.fontSize,fontDirection=current.fontDirection,spacingDir=font.vertical?1:-1,charSpacing=current.charSpacing,wordSpacing=current.wordSpacing,textHScale=current.textHScale*fontDirection,fontMatrix=current.fontMatrix||_util.FONT_IDENTITY_MATRIX,glyphsLength=glyphs.length;if(!(current.textRenderingMode===_util.TextRenderingMode.INVISIBLE)&&0!==fontSize){for(this.cachedGetSinglePixelWidth=null,ctx.save(),ctx.transform.apply(ctx,current.textMatrix),ctx.translate(current.x,current.y),ctx.scale(textHScale,fontDirection),i=0;i<glyphsLength;++i)if(glyph=glyphs[i],(0,_util.isNum)(glyph))spacingLength=spacingDir*glyph*fontSize/1e3,this.ctx.translate(spacingLength,0),current.x+=spacingLength*textHScale;else{var spacing=(glyph.isSpace?wordSpacing:0)+charSpacing,operatorList=font.charProcOperatorList[glyph.operatorListId];if(operatorList)this.processingType3=glyph,this.save(),ctx.scale(fontSize,fontSize),ctx.transform.apply(ctx,fontMatrix),this.executeOperatorList(operatorList),this.restore(),width=_util.Util.applyTransform([glyph.width,0],fontMatrix)[0]*fontSize+spacing,ctx.translate(width,0),current.x+=width*textHScale;else(0,_util.warn)('Type3 character "'+glyph.operatorListId+'" is not available.')}ctx.restore(),this.processingType3=null}},setCharWidth:function CanvasGraphics_setCharWidth(xWidth,yWidth){},setCharWidthAndBounds:function CanvasGraphics_setCharWidthAndBounds(xWidth,yWidth,llx,lly,urx,ury){this.ctx.rect(llx,lly,urx-llx,ury-lly),this.clip(),this.endPath()},getColorN_Pattern:function CanvasGraphics_getColorN_Pattern(IR){var pattern,_this=this;if("TilingPattern"===IR[0]){var color=IR[1],baseTransform=this.baseTransform||this.ctx.mozCurrentTransform.slice(),canvasGraphicsFactory={createCanvasGraphics:function createCanvasGraphics(ctx){return new CanvasGraphics(ctx,_this.commonObjs,_this.objs,_this.canvasFactory)}};pattern=new _pattern_helper.TilingPattern(IR,color,this.ctx,canvasGraphicsFactory,baseTransform)}else pattern=(0,_pattern_helper.getShadingPatternFromIR)(IR);return pattern},setStrokeColorN:function CanvasGraphics_setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function CanvasGraphics_setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function CanvasGraphics_setStrokeRGBColor(r,g,b){var color=_util.Util.makeCssRgb(r,g,b);this.ctx.strokeStyle=color,this.current.strokeColor=color},setFillRGBColor:function CanvasGraphics_setFillRGBColor(r,g,b){var color=_util.Util.makeCssRgb(r,g,b);this.ctx.fillStyle=color,this.current.fillColor=color,this.current.patternFill=!1},shadingFill:function CanvasGraphics_shadingFill(patternIR){var ctx=this.ctx;this.save();var pattern=(0,_pattern_helper.getShadingPatternFromIR)(patternIR);ctx.fillStyle=pattern.getPattern(ctx,this,!0);var inv=ctx.mozCurrentTransformInverse;if(inv){var canvas=ctx.canvas,width=canvas.width,height=canvas.height,bl=_util.Util.applyTransform([0,0],inv),br=_util.Util.applyTransform([0,height],inv),ul=_util.Util.applyTransform([width,0],inv),ur=_util.Util.applyTransform([width,height],inv),x0=Math.min(bl[0],br[0],ul[0],ur[0]),y0=Math.min(bl[1],br[1],ul[1],ur[1]),x1=Math.max(bl[0],br[0],ul[0],ur[0]),y1=Math.max(bl[1],br[1],ul[1],ur[1]);this.ctx.fillRect(x0,y0,x1-x0,y1-y0)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function CanvasGraphics_beginInlineImage(){throw new Error("Should not call beginInlineImage")},beginImageData:function CanvasGraphics_beginImageData(){throw new Error("Should not call beginImageData")},paintFormXObjectBegin:function CanvasGraphics_paintFormXObjectBegin(matrix,bbox){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(matrix)&&6===matrix.length&&this.transform.apply(this,matrix),this.baseTransform=this.ctx.mozCurrentTransform,Array.isArray(bbox)&&4===bbox.length){var width=bbox[2]-bbox[0],height=bbox[3]-bbox[1];this.ctx.rect(bbox[0],bbox[1],width,height),this.clip(),this.endPath()}},paintFormXObjectEnd:function CanvasGraphics_paintFormXObjectEnd(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function CanvasGraphics_beginGroup(group){this.save();var currentCtx=this.ctx;group.isolated||(0,_util.info)("TODO: Support non-isolated groups."),group.knockout&&(0,_util.warn)("Knockout groups not supported.");var currentTransform=currentCtx.mozCurrentTransform;if(group.matrix&&currentCtx.transform.apply(currentCtx,group.matrix),!group.bbox)throw new Error("Bounding box is required.");var bounds=_util.Util.getAxialAlignedBoundingBox(group.bbox,currentCtx.mozCurrentTransform),canvasBounds=[0,0,currentCtx.canvas.width,currentCtx.canvas.height];bounds=_util.Util.intersect(bounds,canvasBounds)||[0,0,0,0];var offsetX=Math.floor(bounds[0]),offsetY=Math.floor(bounds[1]),drawnWidth=Math.max(Math.ceil(bounds[2])-offsetX,1),drawnHeight=Math.max(Math.ceil(bounds[3])-offsetY,1),scaleX=1,scaleY=1;drawnWidth>4096&&(scaleX=drawnWidth/4096,drawnWidth=4096),drawnHeight>4096&&(scaleY=drawnHeight/4096,drawnHeight=4096);var cacheId="groupAt"+this.groupLevel;group.smask&&(cacheId+="_smask_"+this.smaskCounter++%2);var scratchCanvas=this.cachedCanvases.getCanvas(cacheId,drawnWidth,drawnHeight,!0),groupCtx=scratchCanvas.context;groupCtx.scale(1/scaleX,1/scaleY),groupCtx.translate(-offsetX,-offsetY),groupCtx.transform.apply(groupCtx,currentTransform),group.smask?this.smaskStack.push({canvas:scratchCanvas.canvas,context:groupCtx,offsetX:offsetX,offsetY:offsetY,scaleX:scaleX,scaleY:scaleY,subtype:group.smask.subtype,backdrop:group.smask.backdrop,transferMap:group.smask.transferMap||null,startTransformInverse:null}):(currentCtx.setTransform(1,0,0,1,0,0),currentCtx.translate(offsetX,offsetY),currentCtx.scale(scaleX,scaleY)),copyCtxState(currentCtx,groupCtx),this.ctx=groupCtx,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(currentCtx),this.groupLevel++,this.current.activeSMask=null},endGroup:function CanvasGraphics_endGroup(group){this.groupLevel--;var groupCtx=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,group.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(groupCtx.canvas,0,0),this.restore()},beginAnnotations:function CanvasGraphics_beginAnnotations(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function CanvasGraphics_endAnnotations(){this.restore()},beginAnnotation:function CanvasGraphics_beginAnnotation(rect,transform,matrix){if(this.save(),resetCtxToDefault(this.ctx),this.current=new CanvasExtraState,Array.isArray(rect)&&4===rect.length){var width=rect[2]-rect[0],height=rect[3]-rect[1];this.ctx.rect(rect[0],rect[1],width,height),this.clip(),this.endPath()}this.transform.apply(this,transform),this.transform.apply(this,matrix)},endAnnotation:function CanvasGraphics_endAnnotation(){this.restore()},paintJpegXObject:function CanvasGraphics_paintJpegXObject(objId,w,h){var domImage=this.objs.get(objId);if(domImage){this.save();var ctx=this.ctx;if(ctx.scale(1/w,-1/h),ctx.drawImage(domImage,0,0,domImage.width,domImage.height,0,-h,w,h),this.imageLayer){var currentTransform=ctx.mozCurrentTransformInverse,position=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:objId,left:position[0],top:position[1],width:w/currentTransform[0],height:h/currentTransform[3]})}this.restore()}else(0,_util.warn)("Dependent image isn't ready yet")},paintImageMaskXObject:function CanvasGraphics_paintImageMaskXObject(img){var ctx=this.ctx,width=img.width,height=img.height,fillColor=this.current.fillColor,isPatternFill=this.current.patternFill,glyph=this.processingType3;if(glyph&&void 0===glyph.compiled&&(glyph.compiled=width<=1e3&&height<=1e3?function compileType3Glyph(imgData){var i,j,j0,ii,width=imgData.width,height=imgData.height,width1=width+1,points=new Uint8Array(width1*(height+1)),POINT_TYPES=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),lineSize=width+7&-8,data0=imgData.data,data=new Uint8Array(lineSize*height),pos=0;for(i=0,ii=data0.length;i<ii;i++)for(var mask=128,elem=data0[i];mask>0;)data[pos++]=elem&mask?0:255,mask>>=1;var count=0;for(0!==data[pos=0]&&(points[0]=1,++count),j=1;j<width;j++)data[pos]!==data[pos+1]&&(points[j]=data[pos]?2:1,++count),pos++;for(0!==data[pos]&&(points[j]=2,++count),i=1;i<height;i++){j0=i*width1,data[(pos=i*lineSize)-lineSize]!==data[pos]&&(points[j0]=data[pos]?1:8,++count);var sum=(data[pos]?4:0)+(data[pos-lineSize]?8:0);for(j=1;j<width;j++)POINT_TYPES[sum=(sum>>2)+(data[pos+1]?4:0)+(data[pos-lineSize+1]?8:0)]&&(points[j0+j]=POINT_TYPES[sum],++count),pos++;if(data[pos-lineSize]!==data[pos]&&(points[j0+j]=data[pos]?2:4,++count),count>1e3)return null}for(j0=i*width1,0!==data[pos=lineSize*(height-1)]&&(points[j0]=8,++count),j=1;j<width;j++)data[pos]!==data[pos+1]&&(points[j0+j]=data[pos]?4:8,++count),pos++;if(0!==data[pos]&&(points[j0+j]=4,++count),count>1e3)return null;var steps=new Int32Array([0,width1,-1,0,-width1,0,0,0,1]),outlines=[];for(i=0;count&&i<=height;i++){for(var p=i*width1,end=p+width;p<end&&!points[p];)p++;if(p!==end){var pp,coords=[p%width1,i],type=points[p],p0=p;do{var step=steps[type];do{p+=step}while(!points[p]);5!==(pp=points[p])&&10!==pp?(type=pp,points[p]=0):(type=pp&51*type>>4,points[p]&=type>>2|type<<2),coords.push(p%width1),coords.push(p/width1|0),--count}while(p0!==p);outlines.push(coords),--i}}return function drawOutline(c){c.save(),c.scale(1/width,-1/height),c.translate(0,-height),c.beginPath();for(var i=0,ii=outlines.length;i<ii;i++){var o=outlines[i];c.moveTo(o[0],o[1]);for(var j=2,jj=o.length;j<jj;j+=2)c.lineTo(o[j],o[j+1])}c.fill(),c.beginPath(),c.restore()}}({data:img.data,width:width,height:height}):null),glyph&&glyph.compiled)glyph.compiled(ctx);else{var maskCanvas=this.cachedCanvases.getCanvas("maskCanvas",width,height),maskCtx=maskCanvas.context;maskCtx.save(),putBinaryImageMask(maskCtx,img),maskCtx.globalCompositeOperation="source-in",maskCtx.fillStyle=isPatternFill?fillColor.getPattern(maskCtx,this):fillColor,maskCtx.fillRect(0,0,width,height),maskCtx.restore(),this.paintInlineImageXObject(maskCanvas.canvas)}},paintImageMaskXObjectRepeat:function CanvasGraphics_paintImageMaskXObjectRepeat(imgData,scaleX,scaleY,positions){var width=imgData.width,height=imgData.height,fillColor=this.current.fillColor,isPatternFill=this.current.patternFill,maskCanvas=this.cachedCanvases.getCanvas("maskCanvas",width,height),maskCtx=maskCanvas.context;maskCtx.save(),putBinaryImageMask(maskCtx,imgData),maskCtx.globalCompositeOperation="source-in",maskCtx.fillStyle=isPatternFill?fillColor.getPattern(maskCtx,this):fillColor,maskCtx.fillRect(0,0,width,height),maskCtx.restore();for(var ctx=this.ctx,i=0,ii=positions.length;i<ii;i+=2)ctx.save(),ctx.transform(scaleX,0,0,scaleY,positions[i],positions[i+1]),ctx.scale(1,-1),ctx.drawImage(maskCanvas.canvas,0,0,width,height,0,-1,1,1),ctx.restore()},paintImageMaskXObjectGroup:function CanvasGraphics_paintImageMaskXObjectGroup(images){for(var ctx=this.ctx,fillColor=this.current.fillColor,isPatternFill=this.current.patternFill,i=0,ii=images.length;i<ii;i++){var image=images[i],width=image.width,height=image.height,maskCanvas=this.cachedCanvases.getCanvas("maskCanvas",width,height),maskCtx=maskCanvas.context;maskCtx.save(),putBinaryImageMask(maskCtx,image),maskCtx.globalCompositeOperation="source-in",maskCtx.fillStyle=isPatternFill?fillColor.getPattern(maskCtx,this):fillColor,maskCtx.fillRect(0,0,width,height),maskCtx.restore(),ctx.save(),ctx.transform.apply(ctx,image.transform),ctx.scale(1,-1),ctx.drawImage(maskCanvas.canvas,0,0,width,height,0,-1,1,1),ctx.restore()}},paintImageXObject:function CanvasGraphics_paintImageXObject(objId){var imgData=this.objs.get(objId);imgData?this.paintInlineImageXObject(imgData):(0,_util.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function CanvasGraphics_paintImageXObjectRepeat(objId,scaleX,scaleY,positions){var imgData=this.objs.get(objId);if(imgData){for(var width=imgData.width,height=imgData.height,map=[],i=0,ii=positions.length;i<ii;i+=2)map.push({transform:[scaleX,0,0,scaleY,positions[i],positions[i+1]],x:0,y:0,w:width,h:height});this.paintInlineImageXObjectGroup(imgData,map)}else(0,_util.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function CanvasGraphics_paintInlineImageXObject(imgData){var width=imgData.width,height=imgData.height,ctx=this.ctx;this.save(),ctx.scale(1/width,-1/height);var imgToPaint,tmpCanvas,currentTransform=ctx.mozCurrentTransformInverse,a=currentTransform[0],b=currentTransform[1],widthScale=Math.max(Math.sqrt(a*a+b*b),1),c=currentTransform[2],d=currentTransform[3],heightScale=Math.max(Math.sqrt(c*c+d*d),1);if(imgData instanceof HTMLElement||!imgData.data)imgToPaint=imgData;else{var tmpCtx=(tmpCanvas=this.cachedCanvases.getCanvas("inlineImage",width,height)).context;putBinaryImageData(tmpCtx,imgData),imgToPaint=tmpCanvas.canvas}for(var paintWidth=width,paintHeight=height,tmpCanvasId="prescale1";widthScale>2&&paintWidth>1||heightScale>2&&paintHeight>1;){var newWidth=paintWidth,newHeight=paintHeight;widthScale>2&&paintWidth>1&&(widthScale/=paintWidth/(newWidth=Math.ceil(paintWidth/2))),heightScale>2&&paintHeight>1&&(heightScale/=paintHeight/(newHeight=Math.ceil(paintHeight/2))),(tmpCtx=(tmpCanvas=this.cachedCanvases.getCanvas(tmpCanvasId,newWidth,newHeight)).context).clearRect(0,0,newWidth,newHeight),tmpCtx.drawImage(imgToPaint,0,0,paintWidth,paintHeight,0,0,newWidth,newHeight),imgToPaint=tmpCanvas.canvas,paintWidth=newWidth,paintHeight=newHeight,tmpCanvasId="prescale1"===tmpCanvasId?"prescale2":"prescale1"}if(ctx.drawImage(imgToPaint,0,0,paintWidth,paintHeight,0,-height,width,height),this.imageLayer){var position=this.getCanvasPosition(0,-height);this.imageLayer.appendImage({imgData:imgData,left:position[0],top:position[1],width:width/currentTransform[0],height:height/currentTransform[3]})}this.restore()},paintInlineImageXObjectGroup:function CanvasGraphics_paintInlineImageXObjectGroup(imgData,map){var ctx=this.ctx,w=imgData.width,h=imgData.height,tmpCanvas=this.cachedCanvases.getCanvas("inlineImage",w,h);putBinaryImageData(tmpCanvas.context,imgData);for(var i=0,ii=map.length;i<ii;i++){var entry=map[i];if(ctx.save(),ctx.transform.apply(ctx,entry.transform),ctx.scale(1,-1),ctx.drawImage(tmpCanvas.canvas,entry.x,entry.y,entry.w,entry.h,0,-1,1,1),this.imageLayer){var position=this.getCanvasPosition(entry.x,entry.y);this.imageLayer.appendImage({imgData:imgData,left:position[0],top:position[1],width:w,height:h})}ctx.restore()}},paintSolidColorImageMask:function CanvasGraphics_paintSolidColorImageMask(){this.ctx.fillRect(0,0,1,1)},paintXObject:function CanvasGraphics_paintXObject(){(0,_util.warn)("Unsupported 'paintXObject' command.")},markPoint:function CanvasGraphics_markPoint(tag){},markPointProps:function CanvasGraphics_markPointProps(tag,properties){},beginMarkedContent:function CanvasGraphics_beginMarkedContent(tag){},beginMarkedContentProps:function CanvasGraphics_beginMarkedContentProps(tag,properties){},endMarkedContent:function CanvasGraphics_endMarkedContent(){},beginCompat:function CanvasGraphics_beginCompat(){},endCompat:function CanvasGraphics_endCompat(){},consumePath:function CanvasGraphics_consumePath(){var ctx=this.ctx;this.pendingClip&&(this.pendingClip===EO_CLIP?ctx.clip("evenodd"):ctx.clip(),this.pendingClip=null),ctx.beginPath()},getSinglePixelWidth:function CanvasGraphics_getSinglePixelWidth(scale){if(null===this.cachedGetSinglePixelWidth){this.ctx.save();var inverse=this.ctx.mozCurrentTransformInverse;this.ctx.restore(),this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(inverse[0]*inverse[0]+inverse[1]*inverse[1],inverse[2]*inverse[2]+inverse[3]*inverse[3]))}return this.cachedGetSinglePixelWidth},getCanvasPosition:function CanvasGraphics_getCanvasPosition(x,y){var transform=this.ctx.mozCurrentTransform;return[transform[0]*x+transform[2]*y+transform[4],transform[1]*x+transform[3]*y+transform[5]]}},_util.OPS)CanvasGraphics.prototype[_util.OPS[op]]=CanvasGraphics.prototype[op];return CanvasGraphics}();exports.CanvasGraphics=CanvasGraphics},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TilingPattern=exports.getShadingPatternFromIR=void 0;var _util=__w_pdfjs_require__(0),_webgl=__w_pdfjs_require__(70),ShadingIRs={RadialAxial:{fromIR:function RadialAxial_fromIR(raw){var type=raw[1],colorStops=raw[2],p0=raw[3],p1=raw[4],r0=raw[5],r1=raw[6];return{type:"Pattern",getPattern:function RadialAxial_getPattern(ctx){var grad;"axial"===type?grad=ctx.createLinearGradient(p0[0],p0[1],p1[0],p1[1]):"radial"===type&&(grad=ctx.createRadialGradient(p0[0],p0[1],r0,p1[0],p1[1],r1));for(var i=0,ii=colorStops.length;i<ii;++i){var c=colorStops[i];grad.addColorStop(c[0],c[1])}return grad}}}}},createMeshCanvas=function createMeshCanvasClosure(){function drawTriangle(data,context,p1,p2,p3,c1,c2,c3){var tmp,coords=context.coords,colors=context.colors,bytes=data.data,rowSize=4*data.width;coords[p1+1]>coords[p2+1]&&(tmp=p1,p1=p2,p2=tmp,tmp=c1,c1=c2,c2=tmp),coords[p2+1]>coords[p3+1]&&(tmp=p2,p2=p3,p3=tmp,tmp=c2,c2=c3,c3=tmp),coords[p1+1]>coords[p2+1]&&(tmp=p1,p1=p2,p2=tmp,tmp=c1,c1=c2,c2=tmp);var x1=(coords[p1]+context.offsetX)*context.scaleX,y1=(coords[p1+1]+context.offsetY)*context.scaleY,x2=(coords[p2]+context.offsetX)*context.scaleX,y2=(coords[p2+1]+context.offsetY)*context.scaleY,x3=(coords[p3]+context.offsetX)*context.scaleX,y3=(coords[p3+1]+context.offsetY)*context.scaleY;if(!(y1>=y3))for(var xa,car,cag,cab,xb,cbr,cbg,cbb,k,c1r=colors[c1],c1g=colors[c1+1],c1b=colors[c1+2],c2r=colors[c2],c2g=colors[c2+1],c2b=colors[c2+2],c3r=colors[c3],c3g=colors[c3+1],c3b=colors[c3+2],minY=Math.round(y1),maxY=Math.round(y3),y=minY;y<=maxY;y++){y<y2?(xa=x1-(x1-x2)*(k=y<y1?0:y1===y2?1:(y1-y)/(y1-y2)),car=c1r-(c1r-c2r)*k,cag=c1g-(c1g-c2g)*k,cab=c1b-(c1b-c2b)*k):(xa=x2-(x2-x3)*(k=y>y3?1:y2===y3?0:(y2-y)/(y2-y3)),car=c2r-(c2r-c3r)*k,cag=c2g-(c2g-c3g)*k,cab=c2b-(c2b-c3b)*k),xb=x1-(x1-x3)*(k=y<y1?0:y>y3?1:(y1-y)/(y1-y3)),cbr=c1r-(c1r-c3r)*k,cbg=c1g-(c1g-c3g)*k,cbb=c1b-(c1b-c3b)*k;for(var x1_=Math.round(Math.min(xa,xb)),x2_=Math.round(Math.max(xa,xb)),j=rowSize*y+4*x1_,x=x1_;x<=x2_;x++)k=(k=(xa-x)/(xa-xb))<0?0:k>1?1:k,bytes[j++]=car-(car-cbr)*k|0,bytes[j++]=cag-(cag-cbg)*k|0,bytes[j++]=cab-(cab-cbb)*k|0,bytes[j++]=255}}function drawFigure(data,figure,context){var i,ii,ps=figure.coords,cs=figure.colors;switch(figure.type){case"lattice":var verticesPerRow=figure.verticesPerRow,rows=Math.floor(ps.length/verticesPerRow)-1,cols=verticesPerRow-1;for(i=0;i<rows;i++)for(var q=i*verticesPerRow,j=0;j<cols;j++,q++)drawTriangle(data,context,ps[q],ps[q+1],ps[q+verticesPerRow],cs[q],cs[q+1],cs[q+verticesPerRow]),drawTriangle(data,context,ps[q+verticesPerRow+1],ps[q+1],ps[q+verticesPerRow],cs[q+verticesPerRow+1],cs[q+1],cs[q+verticesPerRow]);break;case"triangles":for(i=0,ii=ps.length;i<ii;i+=3)drawTriangle(data,context,ps[i],ps[i+1],ps[i+2],cs[i],cs[i+1],cs[i+2]);break;default:throw new Error("illegal figure")}}return function createMeshCanvas(bounds,combinesScale,coords,colors,figures,backgroundColor,cachedCanvases){var canvas,tmpCanvas,i,ii,offsetX=Math.floor(bounds[0]),offsetY=Math.floor(bounds[1]),boundsWidth=Math.ceil(bounds[2])-offsetX,boundsHeight=Math.ceil(bounds[3])-offsetY,width=Math.min(Math.ceil(Math.abs(boundsWidth*combinesScale[0]*1.1)),3e3),height=Math.min(Math.ceil(Math.abs(boundsHeight*combinesScale[1]*1.1)),3e3),scaleX=boundsWidth/width,scaleY=boundsHeight/height,context={coords:coords,colors:colors,offsetX:-offsetX,offsetY:-offsetY,scaleX:1/scaleX,scaleY:1/scaleY},paddedWidth=width+4,paddedHeight=height+4;if(_webgl.WebGLUtils.isEnabled)canvas=_webgl.WebGLUtils.drawFigures(width,height,backgroundColor,figures,context),(tmpCanvas=cachedCanvases.getCanvas("mesh",paddedWidth,paddedHeight,!1)).context.drawImage(canvas,2,2),canvas=tmpCanvas.canvas;else{var tmpCtx=(tmpCanvas=cachedCanvases.getCanvas("mesh",paddedWidth,paddedHeight,!1)).context,data=tmpCtx.createImageData(width,height);if(backgroundColor){var bytes=data.data;for(i=0,ii=bytes.length;i<ii;i+=4)bytes[i]=backgroundColor[0],bytes[i+1]=backgroundColor[1],bytes[i+2]=backgroundColor[2],bytes[i+3]=255}for(i=0;i<figures.length;i++)drawFigure(data,figures[i],context);tmpCtx.putImageData(data,2,2),canvas=tmpCanvas.canvas}return{canvas:canvas,offsetX:offsetX-2*scaleX,offsetY:offsetY-2*scaleY,scaleX:scaleX,scaleY:scaleY}}}();ShadingIRs.Mesh={fromIR:function Mesh_fromIR(raw){var coords=raw[2],colors=raw[3],figures=raw[4],bounds=raw[5],matrix=raw[6],background=raw[8];return{type:"Pattern",getPattern:function Mesh_getPattern(ctx,owner,shadingFill){var scale;if(shadingFill)scale=_util.Util.singularValueDecompose2dScale(ctx.mozCurrentTransform);else if(scale=_util.Util.singularValueDecompose2dScale(owner.baseTransform),matrix){var matrixScale=_util.Util.singularValueDecompose2dScale(matrix);scale=[scale[0]*matrixScale[0],scale[1]*matrixScale[1]]}var temporaryPatternCanvas=createMeshCanvas(bounds,scale,coords,colors,figures,shadingFill?null:background,owner.cachedCanvases);return shadingFill||(ctx.setTransform.apply(ctx,owner.baseTransform),matrix&&ctx.transform.apply(ctx,matrix)),ctx.translate(temporaryPatternCanvas.offsetX,temporaryPatternCanvas.offsetY),ctx.scale(temporaryPatternCanvas.scaleX,temporaryPatternCanvas.scaleY),ctx.createPattern(temporaryPatternCanvas.canvas,"no-repeat")}}}},ShadingIRs.Dummy={fromIR:function Dummy_fromIR(){return{type:"Pattern",getPattern:function Dummy_fromIR_getPattern(){return"hotpink"}}}};var TilingPattern=function TilingPatternClosure(){var PaintType_COLORED=1,PaintType_UNCOLORED=2;function TilingPattern(IR,color,ctx,canvasGraphicsFactory,baseTransform){this.operatorList=IR[2],this.matrix=IR[3]||[1,0,0,1,0,0],this.bbox=IR[4],this.xstep=IR[5],this.ystep=IR[6],this.paintType=IR[7],this.tilingType=IR[8],this.color=color,this.canvasGraphicsFactory=canvasGraphicsFactory,this.baseTransform=baseTransform,this.type="Pattern",this.ctx=ctx}return TilingPattern.prototype={createPatternCanvas:function TilinPattern_createPatternCanvas(owner){var operatorList=this.operatorList,bbox=this.bbox,xstep=this.xstep,ystep=this.ystep,paintType=this.paintType,tilingType=this.tilingType,color=this.color,canvasGraphicsFactory=this.canvasGraphicsFactory;(0,_util.info)("TilingType: "+tilingType);var x0=bbox[0],y0=bbox[1],x1=bbox[2],y1=bbox[3],topLeft=[x0,y0],botRight=[x0+xstep,y0+ystep],width=botRight[0]-topLeft[0],height=botRight[1]-topLeft[1],matrixScale=_util.Util.singularValueDecompose2dScale(this.matrix),curMatrixScale=_util.Util.singularValueDecompose2dScale(this.baseTransform),combinedScale=[matrixScale[0]*curMatrixScale[0],matrixScale[1]*curMatrixScale[1]];width=Math.min(Math.ceil(Math.abs(width*combinedScale[0])),3e3),height=Math.min(Math.ceil(Math.abs(height*combinedScale[1])),3e3);var tmpCanvas=owner.cachedCanvases.getCanvas("pattern",width,height,!0),tmpCtx=tmpCanvas.context,graphics=canvasGraphicsFactory.createCanvasGraphics(tmpCtx);graphics.groupLevel=owner.groupLevel,this.setFillAndStrokeStyleToContext(graphics,paintType,color),this.setScale(width,height,xstep,ystep),this.transformToScale(graphics);var tmpTranslate=[1,0,0,1,-topLeft[0],-topLeft[1]];return graphics.transform.apply(graphics,tmpTranslate),this.clipBbox(graphics,bbox,x0,y0,x1,y1),graphics.executeOperatorList(operatorList),tmpCanvas.canvas},setScale:function TilingPattern_setScale(width,height,xstep,ystep){this.scale=[width/xstep,height/ystep]},transformToScale:function TilingPattern_transformToScale(graphics){var scale=this.scale,tmpScale=[scale[0],0,0,scale[1],0,0];graphics.transform.apply(graphics,tmpScale)},scaleToContext:function TilingPattern_scaleToContext(){var scale=this.scale;this.ctx.scale(1/scale[0],1/scale[1])},clipBbox:function clipBbox(graphics,bbox,x0,y0,x1,y1){if(Array.isArray(bbox)&&4===bbox.length){var bboxWidth=x1-x0,bboxHeight=y1-y0;graphics.ctx.rect(x0,y0,bboxWidth,bboxHeight),graphics.clip(),graphics.endPath()}},setFillAndStrokeStyleToContext:function setFillAndStrokeStyleToContext(graphics,paintType,color){var context=graphics.ctx,current=graphics.current;switch(paintType){case PaintType_COLORED:var ctx=this.ctx;context.fillStyle=ctx.fillStyle,context.strokeStyle=ctx.strokeStyle,current.fillColor=ctx.fillStyle,current.strokeColor=ctx.strokeStyle;break;case PaintType_UNCOLORED:var cssColor=_util.Util.makeCssRgb(color[0],color[1],color[2]);context.fillStyle=cssColor,context.strokeStyle=cssColor,current.fillColor=cssColor,current.strokeColor=cssColor;break;default:throw new _util.FormatError("Unsupported paint type: "+paintType)}},getPattern:function TilingPattern_getPattern(ctx,owner){var temporaryPatternCanvas=this.createPatternCanvas(owner);return(ctx=this.ctx).setTransform.apply(ctx,this.baseTransform),ctx.transform.apply(ctx,this.matrix),this.scaleToContext(),ctx.createPattern(temporaryPatternCanvas,"repeat")}},TilingPattern}();exports.getShadingPatternFromIR=function getShadingPatternFromIR(raw){var shadingIR=ShadingIRs[raw[0]];if(!shadingIR)throw new Error("Unknown IR type: "+raw[0]);return shadingIR.fromIR(raw)},exports.TilingPattern=TilingPattern},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _slicedToArray=function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},_get=function get(object,property,receiver){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,property);if(void 0===desc){var parent=Object.getPrototypeOf(object);return null===parent?void 0:get(parent,property,receiver)}if("value"in desc)return desc.value;var getter=desc.get;return void 0!==getter?getter.call(receiver):void 0},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var XMLParserErrorCode_NoError=0,XMLParserErrorCode_UnterminatedCdat=-2,XMLParserErrorCode_UnterminatedXmlDeclaration=-3,XMLParserErrorCode_UnterminatedDoctypeDeclaration=-4,XMLParserErrorCode_UnterminatedComment=-5,XMLParserErrorCode_MalformedElement=-6,XMLParserErrorCode_UnterminatedElement=-9;function isWhitespace(s,index){var ch=s[index];return" "===ch||"\n"===ch||"\r"===ch||"\t"===ch}var XMLParserBase=function(){function XMLParserBase(){_classCallCheck(this,XMLParserBase)}return _createClass(XMLParserBase,[{key:"_resolveEntities",value:function _resolveEntities(s){return s.replace(/&([^;]+);/g,(function(all,entity){if("#x"===entity.substring(0,2))return String.fromCharCode(parseInt(entity.substring(2),16));if("#"===entity.substring(0,1))return String.fromCharCode(parseInt(entity.substring(1),10));switch(entity){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return this.onResolveEntity(entity)}))}},{key:"_parseContent",value:function _parseContent(s,start){var name,pos=start,attributes=[];function skipWs(){for(;pos<s.length&&isWhitespace(s,pos);)++pos}for(;pos<s.length&&!isWhitespace(s,pos)&&">"!==s[pos]&&"/"!==s[pos];)++pos;for(name=s.substring(start,pos),skipWs();pos<s.length&&">"!==s[pos]&&"/"!==s[pos]&&"?"!==s[pos];){skipWs();for(var attrValue,attrName="";pos<s.length&&!isWhitespace(s,pos)&&"="!==s[pos];)attrName+=s[pos],++pos;if(skipWs(),"="!==s[pos])return null;++pos,skipWs();var attrEndChar=s[pos];if('"'!==attrEndChar&&"'"!==attrEndChar)return null;var attrEndIndex=s.indexOf(attrEndChar,++pos);if(attrEndIndex<0)return null;attrValue=s.substring(pos,attrEndIndex),attributes.push({name:attrName,value:this._resolveEntities(attrValue)}),pos=attrEndIndex+1,skipWs()}return{name:name,attributes:attributes,parsed:pos-start}}},{key:"_parseProcessingInstruction",value:function _parseProcessingInstruction(s,start){var name,pos=start;for(;pos<s.length&&!isWhitespace(s,pos)&&">"!==s[pos]&&"/"!==s[pos];)++pos;name=s.substring(start,pos),function skipWs(){for(;pos<s.length&&isWhitespace(s,pos);)++pos}();for(var attrStart=pos;pos<s.length&&("?"!==s[pos]||">"!==s[pos+1]);)++pos;return{name:name,value:s.substring(attrStart,pos),parsed:pos-start}}},{key:"parseXml",value:function parseXml(s){for(var i=0;i<s.length;){var j=i;if("<"===s[i]){var q=void 0;switch(s[++j]){case"/":if(++j,(q=s.indexOf(">",j))<0)return void this.onError(XMLParserErrorCode_UnterminatedElement);this.onEndElement(s.substring(j,q)),j=q+1;break;case"?":++j;var pi=this._parseProcessingInstruction(s,j);if("?>"!==s.substring(j+pi.parsed,j+pi.parsed+2))return void this.onError(XMLParserErrorCode_UnterminatedXmlDeclaration);this.onPi(pi.name,pi.value),j+=pi.parsed+2;break;case"!":if("--"===s.substring(j+1,j+3)){if((q=s.indexOf("--\x3e",j+3))<0)return void this.onError(XMLParserErrorCode_UnterminatedComment);this.onComment(s.substring(j+3,q)),j=q+3}else if("[CDATA["===s.substring(j+1,j+8)){if((q=s.indexOf("]]>",j+8))<0)return void this.onError(XMLParserErrorCode_UnterminatedCdat);this.onCdata(s.substring(j+8,q)),j=q+3}else{if("DOCTYPE"!==s.substring(j+1,j+8))return void this.onError(XMLParserErrorCode_MalformedElement);var q2=s.indexOf("[",j+8),complexDoctype=!1;if((q=s.indexOf(">",j+8))<0)return void this.onError(XMLParserErrorCode_UnterminatedDoctypeDeclaration);if(q2>0&&q>q2){if((q=s.indexOf("]>",j+8))<0)return void this.onError(XMLParserErrorCode_UnterminatedDoctypeDeclaration);complexDoctype=!0}var doctypeContent=s.substring(j+8,q+(complexDoctype?1:0));this.onDoctype(doctypeContent),j=q+(complexDoctype?2:1)}break;default:var content=this._parseContent(s,j);if(null===content)return void this.onError(XMLParserErrorCode_MalformedElement);var isClosed=!1;if("/>"===s.substring(j+content.parsed,j+content.parsed+2))isClosed=!0;else if(">"!==s.substring(j+content.parsed,j+content.parsed+1))return void this.onError(XMLParserErrorCode_UnterminatedElement);this.onBeginElement(content.name,content.attributes,isClosed),j+=content.parsed+(isClosed?2:1)}}else{for(;j<s.length&&"<"!==s[j];)j++;var text=s.substring(i,j);this.onText(this._resolveEntities(text))}i=j}}},{key:"onResolveEntity",value:function onResolveEntity(name){return"&"+name+";"}},{key:"onPi",value:function onPi(name,value){}},{key:"onComment",value:function onComment(text){}},{key:"onCdata",value:function onCdata(text){}},{key:"onDoctype",value:function onDoctype(doctypeContent){}},{key:"onText",value:function onText(text){}},{key:"onBeginElement",value:function onBeginElement(name,attributes,isEmpty){}},{key:"onEndElement",value:function onEndElement(name){}},{key:"onError",value:function onError(code){}}]),XMLParserBase}(),SimpleDOMNode=function(){function SimpleDOMNode(nodeName,nodeValue){_classCallCheck(this,SimpleDOMNode),this.nodeName=nodeName,this.nodeValue=nodeValue,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return _createClass(SimpleDOMNode,[{key:"hasChildNodes",value:function hasChildNodes(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function get(){return this.childNodes[0]}},{key:"nextSibling",get:function get(){var index=this.parentNode.childNodes.indexOf(this);return this.parentNode.childNodes[index+1]}},{key:"textContent",get:function get(){return this.childNodes?this.childNodes.map((function(child){return child.textContent})).join(""):this.nodeValue||""}}]),SimpleDOMNode}(),SimpleXMLParser=function(_XMLParserBase){function SimpleXMLParser(){_classCallCheck(this,SimpleXMLParser);var _this=function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}(this,(SimpleXMLParser.__proto__||Object.getPrototypeOf(SimpleXMLParser)).call(this));return _this._currentFragment=null,_this._stack=null,_this._errorCode=XMLParserErrorCode_NoError,_this}return function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}(SimpleXMLParser,_XMLParserBase),_createClass(SimpleXMLParser,[{key:"parseFromString",value:function parseFromString(data){if(this._currentFragment=[],this._stack=[],this._errorCode=XMLParserErrorCode_NoError,this.parseXml(data),this._errorCode===XMLParserErrorCode_NoError)return{documentElement:_slicedToArray(this._currentFragment,1)[0]}}},{key:"onResolveEntity",value:function onResolveEntity(name){switch(name){case"apos":return"'"}return _get(SimpleXMLParser.prototype.__proto__||Object.getPrototypeOf(SimpleXMLParser.prototype),"onResolveEntity",this).call(this,name)}},{key:"onText",value:function onText(text){if(!function isWhitespaceString(s){for(var i=0,ii=s.length;i<ii;i++)if(!isWhitespace(s,i))return!1;return!0}(text)){var node=new SimpleDOMNode("#text",text);this._currentFragment.push(node)}}},{key:"onCdata",value:function onCdata(text){var node=new SimpleDOMNode("#text",text);this._currentFragment.push(node)}},{key:"onBeginElement",value:function onBeginElement(name,attributes,isEmpty){var node=new SimpleDOMNode(name);node.childNodes=[],this._currentFragment.push(node),isEmpty||(this._stack.push(this._currentFragment),this._currentFragment=node.childNodes)}},{key:"onEndElement",value:function onEndElement(name){this._currentFragment=this._stack.pop();for(var lastElement=this._currentFragment[this._currentFragment.length-1],i=0,ii=lastElement.childNodes.length;i<ii;i++)lastElement.childNodes[i].parentNode=lastElement}},{key:"onError",value:function onError(code){this._errorCode=code}}]),SimpleXMLParser}(XMLParserBase);exports.SimpleXMLParser=SimpleXMLParser},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFDataTransportStream=void 0;var _util=__w_pdfjs_require__(0),PDFDataTransportStream=function PDFDataTransportStreamClosure(){function PDFDataTransportStream(params,pdfDataRangeTransport){var _this=this;(0,_util.assert)(pdfDataRangeTransport),this._queuedChunks=[];var initialData=params.initialData;if(initialData&&initialData.length>0){var buffer=new Uint8Array(initialData).buffer;this._queuedChunks.push(buffer)}this._pdfDataRangeTransport=pdfDataRangeTransport,this._isRangeSupported=!params.disableRange,this._isStreamingSupported=!params.disableStream,this._contentLength=params.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(begin,chunk){_this._onReceiveData({begin:begin,chunk:chunk})})),this._pdfDataRangeTransport.addProgressListener((function(loaded){_this._onProgress({loaded:loaded})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(chunk){_this._onReceiveData({chunk:chunk})})),this._pdfDataRangeTransport.transportReady()}function PDFDataTransportStreamReader(stream,queuedChunks){this._stream=stream,this._done=!1,this._queuedChunks=queuedChunks||[],this._requests=[],this._headersReady=Promise.resolve(),stream._fullRequestReader=this,this.onProgress=null}function PDFDataTransportStreamRangeReader(stream,begin,end){this._stream=stream,this._begin=begin,this._end=end,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return PDFDataTransportStream.prototype={_onReceiveData:function PDFDataTransportStream_onReceiveData(args){var buffer=new Uint8Array(args.chunk).buffer;if(void 0===args.begin)this._fullRequestReader?this._fullRequestReader._enqueue(buffer):this._queuedChunks.push(buffer);else{var found=this._rangeReaders.some((function(rangeReader){return rangeReader._begin===args.begin&&(rangeReader._enqueue(buffer),!0)}));(0,_util.assert)(found)}},_onProgress:function PDFDataTransportStream_onDataProgress(evt){if(this._rangeReaders.length>0){var firstReader=this._rangeReaders[0];firstReader.onProgress&&firstReader.onProgress({loaded:evt.loaded})}},_removeRangeReader:function PDFDataTransportStream_removeRangeReader(reader){var i=this._rangeReaders.indexOf(reader);i>=0&&this._rangeReaders.splice(i,1)},getFullReader:function PDFDataTransportStream_getFullReader(){(0,_util.assert)(!this._fullRequestReader);var queuedChunks=this._queuedChunks;return this._queuedChunks=null,new PDFDataTransportStreamReader(this,queuedChunks)},getRangeReader:function PDFDataTransportStream_getRangeReader(begin,end){var reader=new PDFDataTransportStreamRangeReader(this,begin,end);return this._pdfDataRangeTransport.requestDataRange(begin,end),this._rangeReaders.push(reader),reader},cancelAllRequests:function PDFDataTransportStream_cancelAllRequests(reason){this._fullRequestReader&&this._fullRequestReader.cancel(reason),this._rangeReaders.slice(0).forEach((function(rangeReader){rangeReader.cancel(reason)})),this._pdfDataRangeTransport.abort()}},PDFDataTransportStreamReader.prototype={_enqueue:function PDFDataTransportStreamReader_enqueue(chunk){this._done||(this._requests.length>0?this._requests.shift().resolve({value:chunk,done:!1}):this._queuedChunks.push(chunk))},get headersReady(){return this._headersReady},get isRangeSupported(){return this._stream._isRangeSupported},get isStreamingSupported(){return this._stream._isStreamingSupported},get contentLength(){return this._stream._contentLength},read:function PDFDataTransportStreamReader_read(){if(this._queuedChunks.length>0){var chunk=this._queuedChunks.shift();return Promise.resolve({value:chunk,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var requestCapability=(0,_util.createPromiseCapability)();return this._requests.push(requestCapability),requestCapability.promise},cancel:function PDFDataTransportStreamReader_cancel(reason){this._done=!0,this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[]}},PDFDataTransportStreamRangeReader.prototype={_enqueue:function PDFDataTransportStreamRangeReader_enqueue(chunk){if(!this._done){if(0===this._requests.length)this._queuedChunk=chunk;else this._requests.shift().resolve({value:chunk,done:!1}),this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[];this._done=!0,this._stream._removeRangeReader(this)}},get isStreamingSupported(){return!1},read:function PDFDataTransportStreamRangeReader_read(){if(this._queuedChunk){var chunk=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:chunk,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var requestCapability=(0,_util.createPromiseCapability)();return this._requests.push(requestCapability),requestCapability.promise},cancel:function PDFDataTransportStreamRangeReader_cancel(reason){this._done=!0,this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},PDFDataTransportStream}();exports.PDFDataTransportStream=PDFDataTransportStream},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFNodeStream=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_network_utils=__w_pdfjs_require__(44);function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var fs=__webpack_require__(236),http=__webpack_require__(237),https=__webpack_require__(238),url=__webpack_require__("CxY0"),PDFNodeStream=function(){function PDFNodeStream(options){_classCallCheck(this,PDFNodeStream),this.options=options,this.source=options.source,this.url=url.parse(this.source.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol||!this.url.host,this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequest=null,this._rangeRequestReaders=[]}return _createClass(PDFNodeStream,[{key:"getFullReader",value:function getFullReader(){return(0,_util.assert)(!this._fullRequest),this._fullRequest=this.isFsUrl?new PDFNodeStreamFsFullReader(this):new PDFNodeStreamFullReader(this),this._fullRequest}},{key:"getRangeReader",value:function getRangeReader(start,end){var rangeReader=this.isFsUrl?new PDFNodeStreamFsRangeReader(this,start,end):new PDFNodeStreamRangeReader(this,start,end);return this._rangeRequestReaders.push(rangeReader),rangeReader}},{key:"cancelAllRequests",value:function cancelAllRequests(reason){this._fullRequest&&this._fullRequest.cancel(reason),this._rangeRequestReaders.slice(0).forEach((function(reader){reader.cancel(reason)}))}}]),PDFNodeStream}(),BaseFullReader=function(){function BaseFullReader(stream){_classCallCheck(this,BaseFullReader),this._url=stream.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._contentLength=stream.source.length,this._loaded=0,this._disableRange=stream.options.disableRange||!1,this._rangeChunkSize=stream.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!stream.source.disableStream,this._isRangeSupported=!stream.options.disableRange,this._readableStream=null,this._readCapability=(0,_util.createPromiseCapability)(),this._headersCapability=(0,_util.createPromiseCapability)()}return _createClass(BaseFullReader,[{key:"read",value:function read(){var _this=this;return this._readCapability.promise.then((function(){if(_this._done)return Promise.resolve({value:void 0,done:!0});if(_this._errored)return Promise.reject(_this._reason);var chunk=_this._readableStream.read();if(null===chunk)return _this._readCapability=(0,_util.createPromiseCapability)(),_this.read();_this._loaded+=chunk.length,_this.onProgress&&_this.onProgress({loaded:_this._loaded,total:_this._contentLength});var buffer=new Uint8Array(chunk).buffer;return Promise.resolve({value:buffer,done:!1})}))}},{key:"cancel",value:function cancel(reason){this._readableStream?this._readableStream.destroy(reason):this._error(reason)}},{key:"_error",value:function _error(reason){this._errored=!0,this._reason=reason,this._readCapability.resolve()}},{key:"_setReadableStream",value:function _setReadableStream(readableStream){var _this2=this;this._readableStream=readableStream,readableStream.on("readable",(function(){_this2._readCapability.resolve()})),readableStream.on("end",(function(){readableStream.destroy(),_this2._done=!0,_this2._readCapability.resolve()})),readableStream.on("error",(function(reason){_this2._error(reason)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new _util.AbortException("streaming is disabled")),this._errored&&this._readableStream.destroy(this._reason)}},{key:"headersReady",get:function get(){return this._headersCapability.promise}},{key:"contentLength",get:function get(){return this._contentLength}},{key:"isRangeSupported",get:function get(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function get(){return this._isStreamingSupported}}]),BaseFullReader}(),BaseRangeReader=function(){function BaseRangeReader(stream){_classCallCheck(this,BaseRangeReader),this._url=stream.url,this._done=!1,this._errored=!1,this._reason=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,_util.createPromiseCapability)(),this._isStreamingSupported=!stream.source.disableStream}return _createClass(BaseRangeReader,[{key:"read",value:function read(){var _this3=this;return this._readCapability.promise.then((function(){if(_this3._done)return Promise.resolve({value:void 0,done:!0});if(_this3._errored)return Promise.reject(_this3._reason);var chunk=_this3._readableStream.read();if(null===chunk)return _this3._readCapability=(0,_util.createPromiseCapability)(),_this3.read();_this3._loaded+=chunk.length,_this3.onProgress&&_this3.onProgress({loaded:_this3._loaded});var buffer=new Uint8Array(chunk).buffer;return Promise.resolve({value:buffer,done:!1})}))}},{key:"cancel",value:function cancel(reason){this._readableStream?this._readableStream.destroy(reason):this._error(reason)}},{key:"_error",value:function _error(reason){this._errored=!0,this._reason=reason,this._readCapability.resolve()}},{key:"_setReadableStream",value:function _setReadableStream(readableStream){var _this4=this;this._readableStream=readableStream,readableStream.on("readable",(function(){_this4._readCapability.resolve()})),readableStream.on("end",(function(){readableStream.destroy(),_this4._done=!0,_this4._readCapability.resolve()})),readableStream.on("error",(function(reason){_this4._error(reason)})),this._errored&&this._readableStream.destroy(this._reason)}},{key:"isStreamingSupported",get:function get(){return this._isStreamingSupported}}]),BaseRangeReader}();function createRequestOptions(url,headers){return{protocol:url.protocol,auth:url.auth,host:url.hostname,port:url.port,path:url.path,method:"GET",headers:headers}}var PDFNodeStreamFullReader=function(_BaseFullReader){function PDFNodeStreamFullReader(stream){_classCallCheck(this,PDFNodeStreamFullReader);var _this5=_possibleConstructorReturn(this,(PDFNodeStreamFullReader.__proto__||Object.getPrototypeOf(PDFNodeStreamFullReader)).call(this,stream)),handleResponse=function handleResponse(response){_this5._headersCapability.resolve(),_this5._setReadableStream(response);var _validateRangeRequest=(0,_network_utils.validateRangeRequestCapabilities)({getResponseHeader:function getResponseHeader(name){return _this5._readableStream.headers[name.toLowerCase()]},isHttp:stream.isHttp,rangeChunkSize:_this5._rangeChunkSize,disableRange:_this5._disableRange}),allowRangeRequests=_validateRangeRequest.allowRangeRequests,suggestedLength=_validateRangeRequest.suggestedLength;allowRangeRequests&&(_this5._isRangeSupported=!0),_this5._contentLength=suggestedLength};return _this5._request=null,"http:"===_this5._url.protocol?_this5._request=http.request(createRequestOptions(_this5._url,stream.httpHeaders),handleResponse):_this5._request=https.request(createRequestOptions(_this5._url,stream.httpHeaders),handleResponse),_this5._request.on("error",(function(reason){_this5._errored=!0,_this5._reason=reason,_this5._headersCapability.reject(reason)})),_this5._request.end(),_this5}return _inherits(PDFNodeStreamFullReader,_BaseFullReader),PDFNodeStreamFullReader}(BaseFullReader),PDFNodeStreamRangeReader=function(_BaseRangeReader){function PDFNodeStreamRangeReader(stream,start,end){_classCallCheck(this,PDFNodeStreamRangeReader);var _this6=_possibleConstructorReturn(this,(PDFNodeStreamRangeReader.__proto__||Object.getPrototypeOf(PDFNodeStreamRangeReader)).call(this,stream));for(var property in _this6._httpHeaders={},stream.httpHeaders){var value=stream.httpHeaders[property];void 0!==value&&(_this6._httpHeaders[property]=value)}return _this6._httpHeaders.Range="bytes="+start+"-"+(end-1),_this6._request=null,"http:"===_this6._url.protocol?_this6._request=http.request(createRequestOptions(_this6._url,_this6._httpHeaders),(function(response){_this6._setReadableStream(response)})):_this6._request=https.request(createRequestOptions(_this6._url,_this6._httpHeaders),(function(response){_this6._setReadableStream(response)})),_this6._request.on("error",(function(reason){_this6._errored=!0,_this6._reason=reason})),_this6._request.end(),_this6}return _inherits(PDFNodeStreamRangeReader,_BaseRangeReader),PDFNodeStreamRangeReader}(BaseRangeReader),PDFNodeStreamFsFullReader=function(_BaseFullReader2){function PDFNodeStreamFsFullReader(stream){_classCallCheck(this,PDFNodeStreamFsFullReader);var _this7=_possibleConstructorReturn(this,(PDFNodeStreamFsFullReader.__proto__||Object.getPrototypeOf(PDFNodeStreamFsFullReader)).call(this,stream)),path=decodeURI(_this7._url.path);return fs.lstat(path,(function(error,stat){if(error)return _this7._errored=!0,_this7._reason=error,void _this7._headersCapability.reject(error);_this7._contentLength=stat.size,_this7._setReadableStream(fs.createReadStream(path)),_this7._headersCapability.resolve()})),_this7}return _inherits(PDFNodeStreamFsFullReader,_BaseFullReader2),PDFNodeStreamFsFullReader}(BaseFullReader),PDFNodeStreamFsRangeReader=function(_BaseRangeReader2){function PDFNodeStreamFsRangeReader(stream,start,end){_classCallCheck(this,PDFNodeStreamFsRangeReader);var _this8=_possibleConstructorReturn(this,(PDFNodeStreamFsRangeReader.__proto__||Object.getPrototypeOf(PDFNodeStreamFsRangeReader)).call(this,stream));return _this8._setReadableStream(fs.createReadStream(decodeURI(_this8._url.path),{start:start,end:end-1})),_this8}return _inherits(PDFNodeStreamFsRangeReader,_BaseRangeReader2),PDFNodeStreamFsRangeReader}(BaseRangeReader);exports.PDFNodeStream=PDFNodeStream},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PDFFetchStream=void 0;var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),_util=__w_pdfjs_require__(0),_network_utils=__w_pdfjs_require__(44);function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function createFetchOptions(headers,withCredentials){return{method:"GET",headers:headers,mode:"cors",credentials:withCredentials?"include":"same-origin",redirect:"follow"}}var PDFFetchStream=function(){function PDFFetchStream(options){_classCallCheck(this,PDFFetchStream),this.options=options,this.source=options.source,this.isHttp=/^https?:/i.test(this.source.url),this.httpHeaders=this.isHttp&&this.source.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return _createClass(PDFFetchStream,[{key:"getFullReader",value:function getFullReader(){return(0,_util.assert)(!this._fullRequestReader),this._fullRequestReader=new PDFFetchStreamReader(this),this._fullRequestReader}},{key:"getRangeReader",value:function getRangeReader(begin,end){var reader=new PDFFetchStreamRangeReader(this,begin,end);return this._rangeRequestReaders.push(reader),reader}},{key:"cancelAllRequests",value:function cancelAllRequests(reason){this._fullRequestReader&&this._fullRequestReader.cancel(reason),this._rangeRequestReaders.slice(0).forEach((function(reader){reader.cancel(reason)}))}}]),PDFFetchStream}(),PDFFetchStreamReader=function(){function PDFFetchStreamReader(stream){var _this=this;for(var property in _classCallCheck(this,PDFFetchStreamReader),this._stream=stream,this._reader=null,this._loaded=0,this._withCredentials=stream.source.withCredentials,this._contentLength=this._stream.source.length,this._headersCapability=(0,_util.createPromiseCapability)(),this._disableRange=this._stream.options.disableRange,this._rangeChunkSize=this._stream.source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isRangeSupported=!this._stream.options.disableRange,this._isStreamingSupported=!this._stream.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var value=this._stream.httpHeaders[property];void 0!==value&&this._headers.append(property,value)}var url=this._stream.source.url;fetch(url,createFetchOptions(this._headers,this._withCredentials)).then((function(response){if(!(0,_network_utils.validateResponseStatus)(response.status))throw(0,_network_utils.createResponseStatusError)(response.status,url);_this._reader=response.body.getReader(),_this._headersCapability.resolve();var _validateRangeRequest=(0,_network_utils.validateRangeRequestCapabilities)({getResponseHeader:function getResponseHeader(name){return response.headers.get(name)},isHttp:_this._stream.isHttp,rangeChunkSize:_this._rangeChunkSize,disableRange:_this._disableRange}),allowRangeRequests=_validateRangeRequest.allowRangeRequests,suggestedLength=_validateRangeRequest.suggestedLength;_this._contentLength=suggestedLength,_this._isRangeSupported=allowRangeRequests,!_this._isStreamingSupported&&_this._isRangeSupported&&_this.cancel(new _util.AbortException("streaming is disabled"))})).catch(this._headersCapability.reject),this.onProgress=null}return _createClass(PDFFetchStreamReader,[{key:"read",value:function read(){var _this2=this;return this._headersCapability.promise.then((function(){return _this2._reader.read().then((function(_ref){var value=_ref.value,done=_ref.done;if(done)return Promise.resolve({value:value,done:done});_this2._loaded+=value.byteLength,_this2.onProgress&&_this2.onProgress({loaded:_this2._loaded,total:_this2._contentLength});var buffer=new Uint8Array(value).buffer;return Promise.resolve({value:buffer,done:!1})}))}))}},{key:"cancel",value:function cancel(reason){this._reader&&this._reader.cancel(reason)}},{key:"headersReady",get:function get(){return this._headersCapability.promise}},{key:"contentLength",get:function get(){return this._contentLength}},{key:"isRangeSupported",get:function get(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function get(){return this._isStreamingSupported}}]),PDFFetchStreamReader}(),PDFFetchStreamRangeReader=function(){function PDFFetchStreamRangeReader(stream,begin,end){var _this3=this;for(var property in _classCallCheck(this,PDFFetchStreamRangeReader),this._stream=stream,this._reader=null,this._loaded=0,this._withCredentials=stream.source.withCredentials,this._readCapability=(0,_util.createPromiseCapability)(),this._isStreamingSupported=!stream.source.disableStream,this._headers=new Headers,this._stream.httpHeaders){var value=this._stream.httpHeaders[property];void 0!==value&&this._headers.append(property,value)}var rangeStr=begin+"-"+(end-1);this._headers.append("Range","bytes="+rangeStr);var url=this._stream.source.url;fetch(url,createFetchOptions(this._headers,this._withCredentials)).then((function(response){if(!(0,_network_utils.validateResponseStatus)(response.status))throw(0,_network_utils.createResponseStatusError)(response.status,url);_this3._readCapability.resolve(),_this3._reader=response.body.getReader()})),this.onProgress=null}return _createClass(PDFFetchStreamRangeReader,[{key:"read",value:function read(){var _this4=this;return this._readCapability.promise.then((function(){return _this4._reader.read().then((function(_ref2){var value=_ref2.value,done=_ref2.done;if(done)return Promise.resolve({value:value,done:done});_this4._loaded+=value.byteLength,_this4.onProgress&&_this4.onProgress({loaded:_this4._loaded});var buffer=new Uint8Array(value).buffer;return Promise.resolve({value:buffer,done:!1})}))}))}},{key:"cancel",value:function cancel(reason){this._reader&&this._reader.cancel(reason)}},{key:"isStreamingSupported",get:function get(){return this._isStreamingSupported}}]),PDFFetchStreamRangeReader}();exports.PDFFetchStream=PDFFetchStream},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NetworkManager=exports.PDFNetworkStream=void 0;var _util=__w_pdfjs_require__(0),_network_utils=__w_pdfjs_require__(44),_global_scope2=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(__w_pdfjs_require__(20));function NetworkManager(url,args){this.url=url,args=args||{},this.isHttp=/^https?:/i.test(url),this.httpHeaders=this.isHttp&&args.httpHeaders||{},this.withCredentials=args.withCredentials||!1,this.getXhr=args.getXhr||function NetworkManager_getXhr(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null),this.loadedRequests=Object.create(null)}function getArrayBuffer(xhr){var data=xhr.response;return"string"!=typeof data?data:(0,_util.stringToBytes)(data).buffer}var supportsMozChunked=function supportsMozChunkedClosure(){try{var x=new XMLHttpRequest;return x.open("GET",_global_scope2.default.location.href),x.responseType="moz-chunked-arraybuffer","moz-chunked-arraybuffer"===x.responseType}catch(e){return!1}}();function PDFNetworkStream(options){this._options=options;var source=options.source;this._manager=new NetworkManager(source.url,{httpHeaders:source.httpHeaders,withCredentials:source.withCredentials}),this._rangeChunkSize=source.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}function PDFNetworkStreamFullRequestReader(manager,options){this._manager=manager;var source=options.source,args={onHeadersReceived:this._onHeadersReceived.bind(this),onProgressiveData:source.disableStream?null:this._onProgressiveData.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=source.url,this._fullRequestId=manager.requestFull(args),this._headersReceivedCapability=(0,_util.createPromiseCapability)(),this._disableRange=options.disableRange||!1,this._contentLength=source.length,this._rangeChunkSize=source.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this.onProgress=null}function PDFNetworkStreamRangeRequestReader(manager,begin,end){this._manager=manager;var args={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=manager.requestRange(begin,end,args),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}NetworkManager.prototype={requestRange:function NetworkManager_requestRange(begin,end,listeners){var args={begin:begin,end:end};for(var prop in listeners)args[prop]=listeners[prop];return this.request(args)},requestFull:function NetworkManager_requestFull(listeners){return this.request(listeners)},request:function NetworkManager_request(args){var xhr=this.getXhr(),xhrId=this.currXhrId++,pendingRequest=this.pendingRequests[xhrId]={xhr:xhr};for(var property in xhr.open("GET",this.url),xhr.withCredentials=this.withCredentials,this.httpHeaders){var value=this.httpHeaders[property];void 0!==value&&xhr.setRequestHeader(property,value)}if(this.isHttp&&"begin"in args&&"end"in args){var rangeStr=args.begin+"-"+(args.end-1);xhr.setRequestHeader("Range","bytes="+rangeStr),pendingRequest.expectedStatus=206}else pendingRequest.expectedStatus=200;return supportsMozChunked&&!!args.onProgressiveData?(xhr.responseType="moz-chunked-arraybuffer",pendingRequest.onProgressiveData=args.onProgressiveData,pendingRequest.mozChunked=!0):xhr.responseType="arraybuffer",args.onError&&(xhr.onerror=function(evt){args.onError(xhr.status)}),xhr.onreadystatechange=this.onStateChange.bind(this,xhrId),xhr.onprogress=this.onProgress.bind(this,xhrId),pendingRequest.onHeadersReceived=args.onHeadersReceived,pendingRequest.onDone=args.onDone,pendingRequest.onError=args.onError,pendingRequest.onProgress=args.onProgress,xhr.send(null),xhrId},onProgress:function NetworkManager_onProgress(xhrId,evt){var pendingRequest=this.pendingRequests[xhrId];if(pendingRequest){if(pendingRequest.mozChunked){var chunk=getArrayBuffer(pendingRequest.xhr);pendingRequest.onProgressiveData(chunk)}var onProgress=pendingRequest.onProgress;onProgress&&onProgress(evt)}},onStateChange:function NetworkManager_onStateChange(xhrId,evt){var pendingRequest=this.pendingRequests[xhrId];if(pendingRequest){var xhr=pendingRequest.xhr;if(xhr.readyState>=2&&pendingRequest.onHeadersReceived&&(pendingRequest.onHeadersReceived(),delete pendingRequest.onHeadersReceived),4===xhr.readyState&&xhrId in this.pendingRequests)if(delete this.pendingRequests[xhrId],0===xhr.status&&this.isHttp)pendingRequest.onError&&pendingRequest.onError(xhr.status);else{var xhrStatus=xhr.status||200;if(200===xhrStatus&&206===pendingRequest.expectedStatus||xhrStatus===pendingRequest.expectedStatus){this.loadedRequests[xhrId]=!0;var chunk=getArrayBuffer(xhr);if(206===xhrStatus){var rangeHeader=xhr.getResponseHeader("Content-Range"),matches=/bytes (\d+)-(\d+)\/(\d+)/.exec(rangeHeader),begin=parseInt(matches[1],10);pendingRequest.onDone({begin:begin,chunk:chunk})}else pendingRequest.onProgressiveData?pendingRequest.onDone(null):chunk?pendingRequest.onDone({begin:0,chunk:chunk}):pendingRequest.onError&&pendingRequest.onError(xhr.status)}else pendingRequest.onError&&pendingRequest.onError(xhr.status)}}},hasPendingRequests:function NetworkManager_hasPendingRequests(){for(var xhrId in this.pendingRequests)return!0;return!1},getRequestXhr:function NetworkManager_getXhr(xhrId){return this.pendingRequests[xhrId].xhr},isStreamingRequest:function NetworkManager_isStreamingRequest(xhrId){return!!this.pendingRequests[xhrId].onProgressiveData},isPendingRequest:function NetworkManager_isPendingRequest(xhrId){return xhrId in this.pendingRequests},isLoadedRequest:function NetworkManager_isLoadedRequest(xhrId){return xhrId in this.loadedRequests},abortAllRequests:function NetworkManager_abortAllRequests(){for(var xhrId in this.pendingRequests)this.abortRequest(0|xhrId)},abortRequest:function NetworkManager_abortRequest(xhrId){var xhr=this.pendingRequests[xhrId].xhr;delete this.pendingRequests[xhrId],xhr.abort()}},PDFNetworkStream.prototype={_onRangeRequestReaderClosed:function PDFNetworkStream_onRangeRequestReaderClosed(reader){var i=this._rangeRequestReaders.indexOf(reader);i>=0&&this._rangeRequestReaders.splice(i,1)},getFullReader:function PDFNetworkStream_getFullReader(){return(0,_util.assert)(!this._fullRequestReader),this._fullRequestReader=new PDFNetworkStreamFullRequestReader(this._manager,this._options),this._fullRequestReader},getRangeReader:function PDFNetworkStream_getRangeReader(begin,end){var reader=new PDFNetworkStreamRangeRequestReader(this._manager,begin,end);return reader.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(reader),reader},cancelAllRequests:function PDFNetworkStream_cancelAllRequests(reason){this._fullRequestReader&&this._fullRequestReader.cancel(reason),this._rangeRequestReaders.slice(0).forEach((function(reader){reader.cancel(reason)}))}},PDFNetworkStreamFullRequestReader.prototype={_onHeadersReceived:function PDFNetworkStreamFullRequestReader_onHeadersReceived(){var fullRequestXhrId=this._fullRequestId,fullRequestXhr=this._manager.getRequestXhr(fullRequestXhrId),_validateRangeRequest=(0,_network_utils.validateRangeRequestCapabilities)({getResponseHeader:function getResponseHeader(name){return fullRequestXhr.getResponseHeader(name)},isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),allowRangeRequests=_validateRangeRequest.allowRangeRequests,suggestedLength=_validateRangeRequest.suggestedLength;this._contentLength=suggestedLength||this._contentLength,allowRangeRequests&&(this._isRangeSupported=!0);var networkManager=this._manager;networkManager.isStreamingRequest(fullRequestXhrId)?this._isStreamingSupported=!0:this._isRangeSupported&&networkManager.abortRequest(fullRequestXhrId),this._headersReceivedCapability.resolve()},_onProgressiveData:function PDFNetworkStreamFullRequestReader_onProgressiveData(chunk){this._requests.length>0?this._requests.shift().resolve({value:chunk,done:!1}):this._cachedChunks.push(chunk)},_onDone:function PDFNetworkStreamFullRequestReader_onDone(args){args&&this._onProgressiveData(args.chunk),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[])},_onError:function PDFNetworkStreamFullRequestReader_onError(status){var url=this._url,exception=(0,_network_utils.createResponseStatusError)(status,url);this._storedError=exception,this._headersReceivedCapability.reject(exception),this._requests.forEach((function(requestCapability){requestCapability.reject(exception)})),this._requests=[],this._cachedChunks=[]},_onProgress:function PDFNetworkStreamFullRequestReader_onProgress(data){this.onProgress&&this.onProgress({loaded:data.loaded,total:data.lengthComputable?data.total:this._contentLength})},get isRangeSupported(){return this._isRangeSupported},get isStreamingSupported(){return this._isStreamingSupported},get contentLength(){return this._contentLength},get headersReady(){return this._headersReceivedCapability.promise},read:function PDFNetworkStreamFullRequestReader_read(){if(this._storedError)return Promise.reject(this._storedError);if(this._cachedChunks.length>0){var chunk=this._cachedChunks.shift();return Promise.resolve({value:chunk,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var requestCapability=(0,_util.createPromiseCapability)();return this._requests.push(requestCapability),requestCapability.promise},cancel:function PDFNetworkStreamFullRequestReader_cancel(reason){this._done=!0,this._headersReceivedCapability.reject(reason),this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},PDFNetworkStreamRangeRequestReader.prototype={_close:function PDFNetworkStreamRangeRequestReader_close(){this.onClosed&&this.onClosed(this)},_onDone:function PDFNetworkStreamRangeRequestReader_onDone(data){var chunk=data.chunk;this._requests.length>0?this._requests.shift().resolve({value:chunk,done:!1}):this._queuedChunk=chunk;this._done=!0,this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[],this._close()},_onProgress:function PDFNetworkStreamRangeRequestReader_onProgress(evt){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:evt.loaded})},get isStreamingSupported(){return!1},read:function PDFNetworkStreamRangeRequestReader_read(){if(null!==this._queuedChunk){var chunk=this._queuedChunk;return this._queuedChunk=null,Promise.resolve({value:chunk,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var requestCapability=(0,_util.createPromiseCapability)();return this._requests.push(requestCapability),requestCapability.promise},cancel:function PDFNetworkStreamRangeRequestReader_cancel(reason){this._done=!0,this._requests.forEach((function(requestCapability){requestCapability.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},exports.PDFNetworkStream=PDFNetworkStream,exports.NetworkManager=NetworkManager}])}))}).call(this,__webpack_require__("8oxB"),__webpack_require__("yLpj"),__webpack_require__("tjlA").Buffer)},lSCD:function(module,exports,__webpack_require__){var baseGetTag=__webpack_require__("NykK"),isObject=__webpack_require__("GoyQ");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},lhpB:function(module,exports,__webpack_require__){"use strict";module.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"}},ljhN:function(module,exports){module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},lm0R:function(module,exports,__webpack_require__){"use strict";(function(process){void 0===process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?module.exports={nextTick:function nextTick(fn,arg1,arg2,arg3){if("function"!=typeof fn)throw new TypeError('"callback" argument must be a function');var args,i,len=arguments.length;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick((function afterTickOne(){fn.call(null,arg1)}));case 3:return process.nextTick((function afterTickTwo(){fn.call(null,arg1,arg2)}));case 4:return process.nextTick((function afterTickThree(){fn.call(null,arg1,arg2,arg3)}));default:for(args=new Array(len-1),i=0;i<args.length;)args[i++]=arguments[i];return process.nextTick((function afterTick(){fn.apply(null,args)}))}}}:module.exports=process}).call(this,__webpack_require__("8oxB"))},m0Pp:function(module,exports,__webpack_require__){var aFunction=__webpack_require__("2OiF");module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},mApr:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),define=__webpack_require__("iJR5");$export($export.S+$export.F,"Object",{define:define})},mGWK:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toIObject=__webpack_require__("aCFj"),toInteger=__webpack_require__("RYi7"),toLength=__webpack_require__("ne8i"),$native=[].lastIndexOf,NEGATIVE_ZERO=!!$native&&1/[1].lastIndexOf(1,-0)<0;$export($export.P+$export.F*(NEGATIVE_ZERO||!__webpack_require__("LyE8")($native)),"Array",{lastIndexOf:function lastIndexOf(searchElement){if(NEGATIVE_ZERO)return $native.apply(this,arguments)||0;var O=toIObject(this),length=toLength(O.length),index=length-1;for(arguments.length>1&&(index=Math.min(index,toInteger(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}})},mI1R:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),defined=__webpack_require__("vhPU"),toLength=__webpack_require__("ne8i"),isRegExp=__webpack_require__("quPj"),getFlags=__webpack_require__("C/va"),RegExpProto=RegExp.prototype,$RegExpStringIterator=function(regexp,string){this._r=regexp,this._s=string};__webpack_require__("QaDb")($RegExpStringIterator,"RegExp String",(function next(){var match=this._r.exec(this._s);return{value:match,done:null===match}})),$export($export.P,"String",{matchAll:function matchAll(regexp){if(defined(this),!isRegExp(regexp))throw TypeError(regexp+" is not a regexp!");var S=String(this),flags="flags"in RegExpProto?String(regexp.flags):getFlags.call(regexp),rx=new RegExp(regexp.source,~flags.indexOf("g")?flags:"g"+flags);return rx.lastIndex=toLength(regexp.lastIndex),new $RegExpStringIterator(rx,S)}})},mNvP:function(module,exports,__webpack_require__){(function(process,global){var Reflect;!function(Reflect){!function(factory){var root="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),exporter=makeExporter(Reflect);function makeExporter(target,previous){return function(key,value){"function"!=typeof target[key]&&Object.defineProperty(target,key,{configurable:!0,writable:!0,value:value}),previous&&previous(key,value)}}void 0===root.Reflect?root.Reflect=Reflect:exporter=makeExporter(root.Reflect,exporter),function(exporter){var hasOwn=Object.prototype.hasOwnProperty,supportsSymbol="function"==typeof Symbol,toPrimitiveSymbol=supportsSymbol&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",iteratorSymbol=supportsSymbol&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",supportsCreate="function"==typeof Object.create,supportsProto={__proto__:[]}instanceof Array,downLevel=!supportsCreate&&!supportsProto,HashMap={create:supportsCreate?function(){return MakeDictionary(Object.create(null))}:supportsProto?function(){return MakeDictionary({__proto__:null})}:function(){return MakeDictionary({})},has:downLevel?function(map,key){return hasOwn.call(map,key)}:function(map,key){return key in map},get:downLevel?function(map,key){return hasOwn.call(map,key)?map[key]:void 0}:function(map,key){return map[key]}},functionPrototype=Object.getPrototypeOf(Function),usePolyfill="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,_Map=usePolyfill||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?CreateMapPolyfill():Map,_Set=usePolyfill||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?CreateSetPolyfill():Set,Metadata=new(usePolyfill||"function"!=typeof WeakMap?CreateWeakMapPolyfill():WeakMap);function decorate(decorators,target,propertyKey,attributes){if(IsUndefined(propertyKey)){if(!IsArray(decorators))throw new TypeError;if(!IsConstructor(target))throw new TypeError;return DecorateConstructor(decorators,target)}if(!IsArray(decorators))throw new TypeError;if(!IsObject(target))throw new TypeError;if(!IsObject(attributes)&&!IsUndefined(attributes)&&!IsNull(attributes))throw new TypeError;return IsNull(attributes)&&(attributes=void 0),DecorateProperty(decorators,target,propertyKey=ToPropertyKey(propertyKey),attributes)}function metadata(metadataKey,metadataValue){function decorator(target,propertyKey){if(!IsObject(target))throw new TypeError;if(!IsUndefined(propertyKey)&&!IsPropertyKey(propertyKey))throw new TypeError;OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}return decorator}function defineMetadata(metadataKey,metadataValue,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryDefineOwnMetadata(metadataKey,metadataValue,target,propertyKey)}function hasMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasMetadata(metadataKey,target,propertyKey)}function hasOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryHasOwnMetadata(metadataKey,target,propertyKey)}function getMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetMetadata(metadataKey,target,propertyKey)}function getOwnMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryGetOwnMetadata(metadataKey,target,propertyKey)}function getMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryMetadataKeys(target,propertyKey)}function getOwnMetadataKeys(target,propertyKey){if(!IsObject(target))throw new TypeError;return IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey)),OrdinaryOwnMetadataKeys(target,propertyKey)}function deleteMetadata(metadataKey,target,propertyKey){if(!IsObject(target))throw new TypeError;IsUndefined(propertyKey)||(propertyKey=ToPropertyKey(propertyKey));var metadataMap=GetOrCreateMetadataMap(target,propertyKey,!1);if(IsUndefined(metadataMap))return!1;if(!metadataMap.delete(metadataKey))return!1;if(metadataMap.size>0)return!0;var targetMetadata=Metadata.get(target);return targetMetadata.delete(propertyKey),targetMetadata.size>0||Metadata.delete(target),!0}function DecorateConstructor(decorators,target){for(var i=decorators.length-1;i>=0;--i){var decorated=(0,decorators[i])(target);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsConstructor(decorated))throw new TypeError;target=decorated}}return target}function DecorateProperty(decorators,target,propertyKey,descriptor){for(var i=decorators.length-1;i>=0;--i){var decorated=(0,decorators[i])(target,propertyKey,descriptor);if(!IsUndefined(decorated)&&!IsNull(decorated)){if(!IsObject(decorated))throw new TypeError;descriptor=decorated}}return descriptor}function GetOrCreateMetadataMap(O,P,Create){var targetMetadata=Metadata.get(O);if(IsUndefined(targetMetadata)){if(!Create)return;targetMetadata=new _Map,Metadata.set(O,targetMetadata)}var metadataMap=targetMetadata.get(P);if(IsUndefined(metadataMap)){if(!Create)return;metadataMap=new _Map,targetMetadata.set(P,metadataMap)}return metadataMap}function OrdinaryHasMetadata(MetadataKey,O,P){if(OrdinaryHasOwnMetadata(MetadataKey,O,P))return!0;var parent=OrdinaryGetPrototypeOf(O);return!IsNull(parent)&&OrdinaryHasMetadata(MetadataKey,parent,P)}function OrdinaryHasOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);return!IsUndefined(metadataMap)&&ToBoolean(metadataMap.has(MetadataKey))}function OrdinaryGetMetadata(MetadataKey,O,P){if(OrdinaryHasOwnMetadata(MetadataKey,O,P))return OrdinaryGetOwnMetadata(MetadataKey,O,P);var parent=OrdinaryGetPrototypeOf(O);return IsNull(parent)?void 0:OrdinaryGetMetadata(MetadataKey,parent,P)}function OrdinaryGetOwnMetadata(MetadataKey,O,P){var metadataMap=GetOrCreateMetadataMap(O,P,!1);if(!IsUndefined(metadataMap))return metadataMap.get(MetadataKey)}function OrdinaryDefineOwnMetadata(MetadataKey,MetadataValue,O,P){GetOrCreateMetadataMap(O,P,!0).set(MetadataKey,MetadataValue)}function OrdinaryMetadataKeys(O,P){var ownKeys=OrdinaryOwnMetadataKeys(O,P),parent=OrdinaryGetPrototypeOf(O);if(null===parent)return ownKeys;var parentKeys=OrdinaryMetadataKeys(parent,P);if(parentKeys.length<=0)return ownKeys;if(ownKeys.length<=0)return parentKeys;for(var set=new _Set,keys=[],_i=0,ownKeys_1=ownKeys;_i<ownKeys_1.length;_i++){var key=ownKeys_1[_i];set.has(key)||(set.add(key),keys.push(key))}for(var _a=0,parentKeys_1=parentKeys;_a<parentKeys_1.length;_a++){key=parentKeys_1[_a];set.has(key)||(set.add(key),keys.push(key))}return keys}function OrdinaryOwnMetadataKeys(O,P){var keys=[],metadataMap=GetOrCreateMetadataMap(O,P,!1);if(IsUndefined(metadataMap))return keys;for(var iterator=GetIterator(metadataMap.keys()),k=0;;){var next=IteratorStep(iterator);if(!next)return keys.length=k,keys;var nextValue=IteratorValue(next);try{keys[k]=nextValue}catch(e){try{IteratorClose(iterator)}finally{throw e}}k++}}function Type(x){if(null===x)return 1;switch(typeof x){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===x?1:6;default:return 6}}function IsUndefined(x){return void 0===x}function IsNull(x){return null===x}function IsSymbol(x){return"symbol"==typeof x}function IsObject(x){return"object"==typeof x?null!==x:"function"==typeof x}function ToPrimitive(input,PreferredType){switch(Type(input)){case 0:case 1:case 2:case 3:case 4:case 5:return input}var hint=3===PreferredType?"string":5===PreferredType?"number":"default",exoticToPrim=GetMethod(input,toPrimitiveSymbol);if(void 0!==exoticToPrim){var result=exoticToPrim.call(input,hint);if(IsObject(result))throw new TypeError;return result}return OrdinaryToPrimitive(input,"default"===hint?"number":hint)}function OrdinaryToPrimitive(O,hint){if("string"===hint){var toString_1=O.toString;if(IsCallable(toString_1))if(!IsObject(result=toString_1.call(O)))return result;if(IsCallable(valueOf=O.valueOf))if(!IsObject(result=valueOf.call(O)))return result}else{var valueOf;if(IsCallable(valueOf=O.valueOf))if(!IsObject(result=valueOf.call(O)))return result;var result,toString_2=O.toString;if(IsCallable(toString_2))if(!IsObject(result=toString_2.call(O)))return result}throw new TypeError}function ToBoolean(argument){return!!argument}function ToString(argument){return""+argument}function ToPropertyKey(argument){var key=ToPrimitive(argument,3);return IsSymbol(key)?key:ToString(key)}function IsArray(argument){return Array.isArray?Array.isArray(argument):argument instanceof Object?argument instanceof Array:"[object Array]"===Object.prototype.toString.call(argument)}function IsCallable(argument){return"function"==typeof argument}function IsConstructor(argument){return"function"==typeof argument}function IsPropertyKey(argument){switch(Type(argument)){case 3:case 4:return!0;default:return!1}}function GetMethod(V,P){var func=V[P];if(null!=func){if(!IsCallable(func))throw new TypeError;return func}}function GetIterator(obj){var method=GetMethod(obj,iteratorSymbol);if(!IsCallable(method))throw new TypeError;var iterator=method.call(obj);if(!IsObject(iterator))throw new TypeError;return iterator}function IteratorValue(iterResult){return iterResult.value}function IteratorStep(iterator){var result=iterator.next();return!result.done&&result}function IteratorClose(iterator){var f=iterator.return;f&&f.call(iterator)}function OrdinaryGetPrototypeOf(O){var proto=Object.getPrototypeOf(O);if("function"!=typeof O||O===functionPrototype)return proto;if(proto!==functionPrototype)return proto;var prototype=O.prototype,prototypeProto=prototype&&Object.getPrototypeOf(prototype);if(null==prototypeProto||prototypeProto===Object.prototype)return proto;var constructor=prototypeProto.constructor;return"function"!=typeof constructor||constructor===O?proto:constructor}function CreateMapPolyfill(){var cacheSentinel={},arraySentinel=[],MapIterator=function(){function MapIterator(keys,values,selector){this._index=0,this._keys=keys,this._values=values,this._selector=selector}return MapIterator.prototype["@@iterator"]=function(){return this},MapIterator.prototype[iteratorSymbol]=function(){return this},MapIterator.prototype.next=function(){var index=this._index;if(index>=0&&index<this._keys.length){var result=this._selector(this._keys[index],this._values[index]);return index+1>=this._keys.length?(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel):this._index++,{value:result,done:!1}}return{value:void 0,done:!0}},MapIterator.prototype.throw=function(error){throw this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),error},MapIterator.prototype.return=function(value){return this._index>=0&&(this._index=-1,this._keys=arraySentinel,this._values=arraySentinel),{value:value,done:!0}},MapIterator}();return function(){function Map(){this._keys=[],this._values=[],this._cacheKey=cacheSentinel,this._cacheIndex=-2}return Object.defineProperty(Map.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Map.prototype.has=function(key){return this._find(key,!1)>=0},Map.prototype.get=function(key){var index=this._find(key,!1);return index>=0?this._values[index]:void 0},Map.prototype.set=function(key,value){var index=this._find(key,!0);return this._values[index]=value,this},Map.prototype.delete=function(key){var index=this._find(key,!1);if(index>=0){for(var size=this._keys.length,i=index+1;i<size;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,key===this._cacheKey&&(this._cacheKey=cacheSentinel,this._cacheIndex=-2),!0}return!1},Map.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=cacheSentinel,this._cacheIndex=-2},Map.prototype.keys=function(){return new MapIterator(this._keys,this._values,getKey)},Map.prototype.values=function(){return new MapIterator(this._keys,this._values,getValue)},Map.prototype.entries=function(){return new MapIterator(this._keys,this._values,getEntry)},Map.prototype["@@iterator"]=function(){return this.entries()},Map.prototype[iteratorSymbol]=function(){return this.entries()},Map.prototype._find=function(key,insert){return this._cacheKey!==key&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=key)),this._cacheIndex<0&&insert&&(this._cacheIndex=this._keys.length,this._keys.push(key),this._values.push(void 0)),this._cacheIndex},Map}();function getKey(key,_){return key}function getValue(_,value){return value}function getEntry(key,value){return[key,value]}}function CreateSetPolyfill(){return function(){function Set(){this._map=new _Map}return Object.defineProperty(Set.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),Set.prototype.has=function(value){return this._map.has(value)},Set.prototype.add=function(value){return this._map.set(value,value),this},Set.prototype.delete=function(value){return this._map.delete(value)},Set.prototype.clear=function(){this._map.clear()},Set.prototype.keys=function(){return this._map.keys()},Set.prototype.values=function(){return this._map.values()},Set.prototype.entries=function(){return this._map.entries()},Set.prototype["@@iterator"]=function(){return this.keys()},Set.prototype[iteratorSymbol]=function(){return this.keys()},Set}()}function CreateWeakMapPolyfill(){var UUID_SIZE=16,keys=HashMap.create(),rootKey=CreateUniqueKey();return function(){function WeakMap(){this._key=CreateUniqueKey()}return WeakMap.prototype.has=function(target){var table=GetOrCreateWeakMapTable(target,!1);return void 0!==table&&HashMap.has(table,this._key)},WeakMap.prototype.get=function(target){var table=GetOrCreateWeakMapTable(target,!1);return void 0!==table?HashMap.get(table,this._key):void 0},WeakMap.prototype.set=function(target,value){return GetOrCreateWeakMapTable(target,!0)[this._key]=value,this},WeakMap.prototype.delete=function(target){var table=GetOrCreateWeakMapTable(target,!1);return void 0!==table&&delete table[this._key]},WeakMap.prototype.clear=function(){this._key=CreateUniqueKey()},WeakMap}();function CreateUniqueKey(){var key;do{key="@@WeakMap@@"+CreateUUID()}while(HashMap.has(keys,key));return keys[key]=!0,key}function GetOrCreateWeakMapTable(target,create){if(!hasOwn.call(target,rootKey)){if(!create)return;Object.defineProperty(target,rootKey,{value:HashMap.create()})}return target[rootKey]}function FillRandomBytes(buffer,size){for(var i=0;i<size;++i)buffer[i]=255*Math.random()|0;return buffer}function GenRandomBytes(size){return"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(size)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(size)):FillRandomBytes(new Uint8Array(size),size):FillRandomBytes(new Array(size),size)}function CreateUUID(){var data=GenRandomBytes(UUID_SIZE);data[6]=79&data[6]|64,data[8]=191&data[8]|128;for(var result="",offset=0;offset<UUID_SIZE;++offset){var byte=data[offset];4!==offset&&6!==offset&&8!==offset||(result+="-"),byte<16&&(result+="0"),result+=byte.toString(16).toLowerCase()}return result}}function MakeDictionary(obj){return obj.__=void 0,delete obj.__,obj}exporter("decorate",decorate),exporter("metadata",metadata),exporter("defineMetadata",defineMetadata),exporter("hasMetadata",hasMetadata),exporter("hasOwnMetadata",hasOwnMetadata),exporter("getMetadata",getMetadata),exporter("getOwnMetadata",getOwnMetadata),exporter("getMetadataKeys",getMetadataKeys),exporter("getOwnMetadataKeys",getOwnMetadataKeys),exporter("deleteMetadata",deleteMetadata)}(exporter)}()}(Reflect||(Reflect={}))}).call(this,__webpack_require__("8oxB"),__webpack_require__("yLpj"))},mQtv:function(module,exports,__webpack_require__){var gOPN=__webpack_require__("kJMx"),gOPS=__webpack_require__("JiEa"),anObject=__webpack_require__("y3w9"),Reflect=__webpack_require__("dyZX").Reflect;module.exports=Reflect&&Reflect.ownKeys||function ownKeys(it){var keys=gOPN.f(anObject(it)),getSymbols=gOPS.f;return getSymbols?keys.concat(getSymbols(it)):keys}},mTPN:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"c",(function(){return decorate})),__webpack_require__.d(__webpack_exports__,"g",(function(){return metaFor})),__webpack_require__.d(__webpack_exports__,"d",(function(){return getOwnKeys})),__webpack_require__.d(__webpack_exports__,"e",(function(){return getOwnPropertyDescriptors})),__webpack_require__.d(__webpack_exports__,"b",(function(){return createDefaultSetter})),__webpack_require__.d(__webpack_exports__,"a",(function(){return bind})),__webpack_require__.d(__webpack_exports__,"h",(function(){return warn})),__webpack_require__.d(__webpack_exports__,"f",(function(){return internalDeprecation}));var _class,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("d8PM"),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};function _initDefineProp(target,property,descriptor,context){descriptor&&Object.defineProperty(target,property,{enumerable:descriptor.enumerable,configurable:descriptor.configurable,writable:descriptor.writable,value:descriptor.initializer?descriptor.initializer.call(context):void 0})}function _applyDecoratedDescriptor(target,property,decorators,descriptor,context){var desc={};return Object.keys(descriptor).forEach((function(key){desc[key]=descriptor[key]})),desc.enumerable=!!desc.enumerable,desc.configurable=!!desc.configurable,("value"in desc||desc.initializer)&&(desc.writable=!0),desc=decorators.slice().reverse().reduce((function(desc,decorator){return decorator(target,property,desc)||desc}),desc),context&&void 0!==desc.initializer&&(desc.value=desc.initializer?desc.initializer.call(context):void 0,desc.initializer=void 0),void 0===desc.initializer&&(Object.defineProperty(target,property,desc),desc=null),desc}var defineProperty=Object.defineProperty,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols;function decorate(handleDescriptor,entryArgs){return function isDescriptor(desc){if(!desc||!desc.hasOwnProperty)return!1;for(var keys=["value","initializer","get","set"],i=0,l=keys.length;i<l;i++)if(desc.hasOwnProperty(keys[i]))return!0;return!1}(entryArgs[entryArgs.length-1])?handleDescriptor.apply(void 0,function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}(entryArgs).concat([[]])):function(){return handleDescriptor.apply(void 0,Array.prototype.slice.call(arguments).concat([entryArgs]))}}var Meta=(_descriptor=_applyDecoratedDescriptor((_class=function Meta(){!function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Meta),_initDefineProp(this,"debounceTimeoutIds",_descriptor,this),_initDefineProp(this,"throttleTimeoutIds",_descriptor2,this),_initDefineProp(this,"throttlePreviousTimestamps",_descriptor3,this),_initDefineProp(this,"throttleTrailingArgs",_descriptor4,this),_initDefineProp(this,"profileLastRan",_descriptor5,this)}).prototype,"debounceTimeoutIds",[_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__.a],{enumerable:!0,initializer:function initializer(){return{}}}),_descriptor2=_applyDecoratedDescriptor(_class.prototype,"throttleTimeoutIds",[_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__.a],{enumerable:!0,initializer:function initializer(){return{}}}),_descriptor3=_applyDecoratedDescriptor(_class.prototype,"throttlePreviousTimestamps",[_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__.a],{enumerable:!0,initializer:function initializer(){return{}}}),_descriptor4=_applyDecoratedDescriptor(_class.prototype,"throttleTrailingArgs",[_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__.a],{enumerable:!0,initializer:function initializer(){return null}}),_descriptor5=_applyDecoratedDescriptor(_class.prototype,"profileLastRan",[_lazy_initialize__WEBPACK_IMPORTED_MODULE_0__.a],{enumerable:!0,initializer:function initializer(){return null}}),_class),META_KEY="function"==typeof Symbol?Symbol("__core_decorators__"):"__core_decorators__";function metaFor(obj){return!1===obj.hasOwnProperty(META_KEY)&&defineProperty(obj,META_KEY,{value:new Meta}),obj[META_KEY]}var getOwnKeys=getOwnPropertySymbols?function(object){return getOwnPropertyNames(object).concat(getOwnPropertySymbols(object))}:getOwnPropertyNames;function getOwnPropertyDescriptors(obj){var descs={};return getOwnKeys(obj).forEach((function(key){return descs[key]=getOwnPropertyDescriptor(obj,key)})),descs}function createDefaultSetter(key){return function set(newValue){return Object.defineProperty(this,key,{configurable:!0,writable:!0,enumerable:!0,value:newValue}),newValue}}function bind(fn,context){return fn.bind?fn.bind(context):function __autobind__(){return fn.apply(context,arguments)}}var warn="object"===("undefined"==typeof console?"undefined":_typeof(console))&&console&&"function"==typeof console.warn?bind(console.warn,console):function(){},seenDeprecations={};function internalDeprecation(msg){!0!==seenDeprecations[msg]&&(seenDeprecations[msg]=!0,warn("DEPRECATION: "+msg))}},mXUI:function(module,exports){},mYba:function(module,exports,__webpack_require__){var toIObject=__webpack_require__("aCFj"),$getOwnPropertyDescriptor=__webpack_require__("EemH").f;__webpack_require__("Xtr8")("getOwnPropertyDescriptor",(function(){return function getOwnPropertyDescriptor(it,key){return $getOwnPropertyDescriptor(toIObject(it),key)}}))},mcXe:function(module,exports,__webpack_require__){__webpack_require__("xqFc")("Set")},mqVA:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return autobind}));var _private_utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("mTPN");function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}var defineProperty=Object.defineProperty,getPrototypeOf=Object.getPrototypeOf,mapStore=void 0;function autobindClass(klass){for(var descs=Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.e)(klass.prototype),keys=Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.d)(descs),i=0,l=keys.length;i<l;i++){var key=keys[i],desc=descs[key];"function"==typeof desc.value&&"constructor"!==key&&defineProperty(klass.prototype,key,autobindMethod(klass.prototype,key,desc))}}function autobindMethod(target,key,_ref){var fn=_ref.value,configurable=_ref.configurable,enumerable=_ref.enumerable;if("function"!=typeof fn)throw new SyntaxError("@autobind can only be used on functions, not: "+fn);var constructor=target.constructor;return{configurable:configurable,enumerable:enumerable,get:function get(){if(this===target)return fn;if(this.constructor!==constructor&&getPrototypeOf(this).constructor===constructor)return fn;if(this.constructor!==constructor&&key in this.constructor.prototype)return function getBoundSuper(obj,fn){if("undefined"==typeof WeakMap)throw new Error("Using @autobind on "+fn.name+"() requires WeakMap support due to its use of super."+fn.name+"()\n      See https://github.com/jayphelps/core-decorators.js/issues/20");mapStore||(mapStore=new WeakMap),!1===mapStore.has(obj)&&mapStore.set(obj,new WeakMap);var superStore=mapStore.get(obj);return!1===superStore.has(fn)&&superStore.set(fn,Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.a)(fn,obj)),superStore.get(fn)}(this,fn);var boundFn=Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.a)(fn,this);return defineProperty(this,key,{configurable:!0,writable:!0,enumerable:!1,value:boundFn}),boundFn},set:Object(_private_utils__WEBPACK_IMPORTED_MODULE_0__.b)(key)}}function handle(args){return 1===args.length?autobindClass.apply(void 0,_toConsumableArray(args)):autobindMethod.apply(void 0,_toConsumableArray(args))}function autobind(){for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return 0===args.length?function(){return handle(arguments)}:handle(args)}},mura:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),meta=__webpack_require__("Z6vF").onFreeze;__webpack_require__("Xtr8")("preventExtensions",(function($preventExtensions){return function preventExtensions(it){return $preventExtensions&&isObject(it)?$preventExtensions(meta(it)):it}}))},n5s9:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("2EFT")},nBIS:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),floor=Math.floor;module.exports=function isInteger(it){return!isObject(it)&&isFinite(it)&&floor(it)===it}},nGyu:function(module,exports,__webpack_require__){var UNSCOPABLES=__webpack_require__("K0xU")("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&__webpack_require__("Mukb")(ArrayProto,UNSCOPABLES,{}),module.exports=function(key){ArrayProto[UNSCOPABLES][key]=!0}},nICZ:function(module,exports){module.exports=function(exec){try{return{e:!1,v:exec()}}catch(e){return{e:!0,v:e}}}},nIY7:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("big",(function(createHTML){return function big(){return createHTML(this,"big","","")}}))},naJ9:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("EVdn")],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function(jQuery){return function(t){"use strict";function e(){h=t(window),s={},o={},r={},t.each([s,o,r],(function(t,e){e.add=function(t){for(var i=0,n=(t=t.split(" ")).length;i<n;i++)e[t[i]]=e.ddd(t[i])}})),s.ddd=function(t){return"ddd-"+t},s.add("truncated keep"),o.ddd=function(t){return"ddd-"+t},r.ddd=function(t){return t+".ddd"},r.add("resize"),e=function(){}}var s,o,r,h,i="dotdotdot",n="3.2.2";t[i]&&t[i].version>n||(t[i]=function(t,e){this.$dot=t,this.api=["getInstance","truncate","restore","destroy","watch","unwatch"],this.opts=e;var n=this.$dot.data(i);return n&&n.destroy(),this.init(),this.truncate(),this.opts.watch&&this.watch(),this},t[i].version=n,t[i].uniqueId=0,t[i].defaults={ellipsis:"… ",callback:function(t){},truncate:"word",tolerance:0,keep:null,watch:"window",height:null},t[i].prototype={init:function(){this.watchTimeout=null,this.watchInterval=null,this.uniqueId=t[i].uniqueId++,this.originalStyle=this.$dot.attr("style")||"",this.originalContent=this._getOriginalContent(),"break-word"!==this.$dot.css("word-wrap")&&this.$dot.css("word-wrap","break-word"),"nowrap"===this.$dot.css("white-space")&&this.$dot.css("white-space","normal"),null===this.opts.height&&(this.opts.height=this._getMaxHeight()),"string"==typeof this.opts.ellipsis&&(this.opts.ellipsis=document.createTextNode(this.opts.ellipsis))},getInstance:function(){return this},truncate:function(){this.$inner=this.$dot.wrapInner("<div />").children().css({display:"block",height:"auto",width:"auto",border:"none",padding:0,margin:0}),this.$inner.empty().append(this.originalContent.clone(!0)),this.maxHeight=this._getMaxHeight();var t=!1;return this._fits()||(t=!0,this._truncateToNode(this.$inner[0])),this.$dot[t?"addClass":"removeClass"](s.truncated),this.$inner.replaceWith(this.$inner.contents()),this.$inner=null,this.opts.callback.call(this.$dot[0],t),t},restore:function(){this.unwatch(),this.$dot.empty().append(this.originalContent).attr("style",this.originalStyle).removeClass(s.truncated)},destroy:function(){this.restore(),this.$dot.data(i,null)},watch:function(){var t=this;this.unwatch();var e={};"window"==this.opts.watch?h.on(r.resize+t.uniqueId,(function(i){t.watchTimeout&&clearTimeout(t.watchTimeout),t.watchTimeout=setTimeout((function(){e=t._watchSizes(e,h,"width","height")}),100)})):this.watchInterval=setInterval((function(){e=t._watchSizes(e,t.$dot,"innerWidth","innerHeight")}),500)},unwatch:function(){h.off(r.resize+this.uniqueId),this.watchInterval&&clearInterval(this.watchInterval),this.watchTimeout&&clearTimeout(this.watchTimeout)},_api:function(){var e=this,i={};return t.each(this.api,(function(t){var n=this;i[n]=function(){var t=e[n].apply(e,arguments);return void 0===t?i:t}})),i},_truncateToNode:function(e){var i=[],n=[];if(t(e).contents().each((function(){var e=t(this);if(!e.hasClass(s.keep)){var o=document.createComment("");e.replaceWith(o),n.push(this),i.push(o)}})),n.length){for(var o=0;o<n.length;o++){t(i[o]).replaceWith(n[o]),t(n[o]).append(this.opts.ellipsis);var r=this._fits();if(t(this.opts.ellipsis,n[o]).remove(),!r){if("node"==this.opts.truncate&&o>1)return void t(n[o-2]).remove();break}}for(var h=o;h<i.length;h++)t(i[h]).remove();var a=n[Math.max(0,Math.min(o,n.length-1))];if(1==a.nodeType){var d=t("<"+a.nodeName+" />");d.append(this.opts.ellipsis),t(a).replaceWith(d),this._fits()?d.replaceWith(a):(d.remove(),a=n[Math.max(0,o-1)])}1==a.nodeType?this._truncateToNode(a):this._truncateToWord(a)}},_truncateToWord:function(t){for(var e=t,i=this,n=this.__getTextContent(e),s=-1!==n.indexOf(" ")?" ":" ",o=n.split(s),r="",h=o.length;h>=0;h--)if(r=o.slice(0,h).join(s),i.__setTextContent(e,i._addEllipsis(r)),i._fits()){"letter"==i.opts.truncate&&(i.__setTextContent(e,o.slice(0,h+1).join(s)),i._truncateToLetter(e));break}},_truncateToLetter:function(t){for(var e=this,n=this.__getTextContent(t).split(""),s="",o=n.length;o>=0&&(!(s=n.slice(0,o).join("")).length||(e.__setTextContent(t,e._addEllipsis(s)),!e._fits()));o--);},_fits:function(){return this.$inner.innerHeight()<=this.maxHeight+this.opts.tolerance},_addEllipsis:function(e){for(var i=[" "," ",",",";",".","!","?"];t.inArray(e.slice(-1),i)>-1;)e=e.slice(0,-1);return e+this.__getTextContent(this.opts.ellipsis)},_getOriginalContent:function(){var e=this;return this.$dot.find("script, style").addClass(s.keep),this.opts.keep&&this.$dot.find(this.opts.keep).addClass(s.keep),this.$dot.find("*").not("."+s.keep).add(this.$dot).contents().each((function(){var i=this,n=t(this);if(3==i.nodeType){if(""==t.trim(e.__getTextContent(i))){if(n.parent().is("table, thead, tbody, tfoot, tr, dl, ul, ol, video"))return void n.remove();if(n.prev().is("div, p, table, td, td, dt, dd, li"))return void n.remove();if(n.next().is("div, p, table, td, td, dt, dd, li"))return void n.remove();if(!n.prev().length)return void n.remove();if(!n.next().length)return void n.remove()}}else 8==i.nodeType&&n.remove()})),this.$dot.contents()},_getMaxHeight:function(){if("number"==typeof this.opts.height)return this.opts.height;for(var t=["maxHeight","height"],e=0,i=0;i<t.length;i++)if("px"==(e=window.getComputedStyle(this.$dot[0])[t[i]]).slice(-2)){e=parseFloat(e);break}switch(t=[],this.$dot.css("boxSizing")){case"border-box":t.push("borderTopWidth"),t.push("borderBottomWidth");case"padding-box":t.push("paddingTop"),t.push("paddingBottom")}for(i=0;i<t.length;i++){var n=window.getComputedStyle(this.$dot[0])[t[i]];"px"==n.slice(-2)&&(e-=parseFloat(n))}return Math.max(e,0)},_watchSizes:function(t,e,i,n){if(this.$dot.is(":visible")){var s={width:e[i](),height:e[n]()};return t.width==s.width&&t.height==s.height||this.truncate(),s}return t},__getTextContent:function(t){for(var e=["nodeValue","textContent","innerText"],i=0;i<e.length;i++)if("string"==typeof t[e[i]])return t[e[i]];return""},__setTextContent:function(t,e){for(var i=["nodeValue","textContent","innerText"],n=0;n<i.length;n++)t[i[n]]=e}},t.fn[i]=function(n){return e(),n=t.extend(!0,{},t[i].defaults,n),this.each((function(){t(this).data(i,new t[i](t(this),n)._api())}))})}(jQuery),!0})?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},nbpf:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN")},ne8i:function(module,exports,__webpack_require__){var toInteger=__webpack_require__("RYi7"),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},nh4g:function(module,exports,__webpack_require__){module.exports=!__webpack_require__("eeVq")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},nhEf:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="product-click"},nm4c:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("vn/o"),adler32=__webpack_require__("yDR0"),crc32=__webpack_require__("7tol"),inflate_fast=__webpack_require__("frGm"),inflate_table=__webpack_require__("aFNf");function zswap32(q){return(q>>>24&255)+(q>>>8&65280)+((65280&q)<<8)+((255&q)<<24)}function InflateState(){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 utils.Buf16(320),this.work=new utils.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(strm){var state;return strm&&strm.state?(state=strm.state,strm.total_in=strm.total_out=state.total=0,strm.msg="",state.wrap&&(strm.adler=1&state.wrap),state.mode=1,state.last=0,state.havedict=0,state.dmax=32768,state.head=null,state.hold=0,state.bits=0,state.lencode=state.lendyn=new utils.Buf32(852),state.distcode=state.distdyn=new utils.Buf32(592),state.sane=1,state.back=-1,0):-2}function inflateReset(strm){var state;return strm&&strm.state?((state=strm.state).wsize=0,state.whave=0,state.wnext=0,inflateResetKeep(strm)):-2}function inflateReset2(strm,windowBits){var wrap,state;return strm&&strm.state?(state=strm.state,windowBits<0?(wrap=0,windowBits=-windowBits):(wrap=1+(windowBits>>4),windowBits<48&&(windowBits&=15)),windowBits&&(windowBits<8||windowBits>15)?-2:(null!==state.window&&state.wbits!==windowBits&&(state.window=null),state.wrap=wrap,state.wbits=windowBits,inflateReset(strm))):-2}function inflateInit2(strm,windowBits){var ret,state;return strm?(state=new InflateState,strm.state=state,state.window=null,0!==(ret=inflateReset2(strm,windowBits))&&(strm.state=null),ret):-2}var lenfix,distfix,virgin=!0;function fixedtables(state){if(virgin){var sym;for(lenfix=new utils.Buf32(512),distfix=new utils.Buf32(32),sym=0;sym<144;)state.lens[sym++]=8;for(;sym<256;)state.lens[sym++]=9;for(;sym<280;)state.lens[sym++]=7;for(;sym<288;)state.lens[sym++]=8;for(inflate_table(1,state.lens,0,288,lenfix,0,state.work,{bits:9}),sym=0;sym<32;)state.lens[sym++]=5;inflate_table(2,state.lens,0,32,distfix,0,state.work,{bits:5}),virgin=!1}state.lencode=lenfix,state.lenbits=9,state.distcode=distfix,state.distbits=5}function updatewindow(strm,src,end,copy){var dist,state=strm.state;return null===state.window&&(state.wsize=1<<state.wbits,state.wnext=0,state.whave=0,state.window=new utils.Buf8(state.wsize)),copy>=state.wsize?(utils.arraySet(state.window,src,end-state.wsize,state.wsize,0),state.wnext=0,state.whave=state.wsize):((dist=state.wsize-state.wnext)>copy&&(dist=copy),utils.arraySet(state.window,src,end-copy,dist,state.wnext),(copy-=dist)?(utils.arraySet(state.window,src,end-copy,copy,0),state.wnext=copy,state.whave=state.wsize):(state.wnext+=dist,state.wnext===state.wsize&&(state.wnext=0),state.whave<state.wsize&&(state.whave+=dist))),0}exports.inflateReset=inflateReset,exports.inflateReset2=inflateReset2,exports.inflateResetKeep=inflateResetKeep,exports.inflateInit=function inflateInit(strm){return inflateInit2(strm,15)},exports.inflateInit2=inflateInit2,exports.inflate=function inflate(strm,flush){var state,input,output,next,put,have,left,hold,bits,_in,_out,copy,from,from_source,here_bits,here_op,here_val,last_bits,last_op,last_val,len,ret,opts,n,here=0,hbuf=new utils.Buf8(4),order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!strm||!strm.state||!strm.output||!strm.input&&0!==strm.avail_in)return-2;12===(state=strm.state).mode&&(state.mode=13),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,_in=have,_out=left,ret=0;inf_leave:for(;;)switch(state.mode){case 1:if(0===state.wrap){state.mode=13;break}for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(2&state.wrap&&35615===hold){state.check=0,hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0),hold=0,bits=0,state.mode=2;break}if(state.flags=0,state.head&&(state.head.done=!1),!(1&state.wrap)||(((255&hold)<<8)+(hold>>8))%31){strm.msg="incorrect header check",state.mode=30;break}if(8!=(15&hold)){strm.msg="unknown compression method",state.mode=30;break}if(bits-=4,len=8+(15&(hold>>>=4)),0===state.wbits)state.wbits=len;else if(len>state.wbits){strm.msg="invalid window size",state.mode=30;break}state.dmax=1<<len,strm.adler=state.check=1,state.mode=512&hold?10:12,hold=0,bits=0;break;case 2:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.flags=hold,8!=(255&state.flags)){strm.msg="unknown compression method",state.mode=30;break}if(57344&state.flags){strm.msg="unknown header flags set",state.mode=30;break}state.head&&(state.head.text=hold>>8&1),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=3;case 3:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.time=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,hbuf[2]=hold>>>16&255,hbuf[3]=hold>>>24&255,state.check=crc32(state.check,hbuf,4,0)),hold=0,bits=0,state.mode=4;case 4:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.xflags=255&hold,state.head.os=hold>>8),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=5;case 5:if(1024&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length=hold,state.head&&(state.head.extra_len=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0}else state.head&&(state.head.extra=null);state.mode=6;case 6:if(1024&state.flags&&((copy=state.length)>have&&(copy=have),copy&&(state.head&&(len=state.head.extra_len-state.length,state.head.extra||(state.head.extra=new Array(state.head.extra_len)),utils.arraySet(state.head.extra,input,next,copy,len)),512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,state.length-=copy),state.length))break inf_leave;state.length=0,state.mode=7;case 7:if(2048&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.name+=String.fromCharCode(len))}while(len&&copy<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.name=null);state.length=0,state.mode=8;case 8:if(4096&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.comment+=String.fromCharCode(len))}while(len&&copy<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.comment=null);state.mode=9;case 9:if(512&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(65535&state.check)){strm.msg="header crc mismatch",state.mode=30;break}hold=0,bits=0}state.head&&(state.head.hcrc=state.flags>>9&1,state.head.done=!0),strm.adler=state.check=0,state.mode=12;break;case 10:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}strm.adler=state.check=zswap32(hold),hold=0,bits=0,state.mode=11;case 11:if(0===state.havedict)return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,2;strm.adler=state.check=1,state.mode=12;case 12:if(5===flush||6===flush)break inf_leave;case 13:if(state.last){hold>>>=7&bits,bits-=7&bits,state.mode=27;break}for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}switch(state.last=1&hold,bits-=1,3&(hold>>>=1)){case 0:state.mode=14;break;case 1:if(fixedtables(state),state.mode=20,6===flush){hold>>>=2,bits-=2;break inf_leave}break;case 2:state.mode=17;break;case 3:strm.msg="invalid block type",state.mode=30}hold>>>=2,bits-=2;break;case 14:for(hold>>>=7&bits,bits-=7&bits;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if((65535&hold)!=(hold>>>16^65535)){strm.msg="invalid stored block lengths",state.mode=30;break}if(state.length=65535&hold,hold=0,bits=0,state.mode=15,6===flush)break inf_leave;case 15:state.mode=16;case 16:if(copy=state.length){if(copy>have&&(copy=have),copy>left&&(copy=left),0===copy)break inf_leave;utils.arraySet(output,input,next,copy,put),have-=copy,next+=copy,left-=copy,put+=copy,state.length-=copy;break}state.mode=12;break;case 17:for(;bits<14;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.nlen=257+(31&hold),hold>>>=5,bits-=5,state.ndist=1+(31&hold),hold>>>=5,bits-=5,state.ncode=4+(15&hold),hold>>>=4,bits-=4,state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols",state.mode=30;break}state.have=0,state.mode=18;case 18:for(;state.have<state.ncode;){for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.lens[order[state.have++]]=7&hold,hold>>>=3,bits-=3}for(;state.have<19;)state.lens[order[state.have++]]=0;if(state.lencode=state.lendyn,state.lenbits=7,opts={bits:state.lenbits},ret=inflate_table(0,state.lens,0,19,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid code lengths set",state.mode=30;break}state.have=0,state.mode=19;case 19:for(;state.have<state.nlen+state.ndist;){for(;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_val<16)hold>>>=here_bits,bits-=here_bits,state.lens[state.have++]=here_val;else{if(16===here_val){for(n=here_bits+2;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold>>>=here_bits,bits-=here_bits,0===state.have){strm.msg="invalid bit length repeat",state.mode=30;break}len=state.lens[state.have-1],copy=3+(3&hold),hold>>>=2,bits-=2}else if(17===here_val){for(n=here_bits+3;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=3+(7&(hold>>>=here_bits)),hold>>>=3,bits-=3}else{for(n=here_bits+7;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=11+(127&(hold>>>=here_bits)),hold>>>=7,bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat",state.mode=30;break}for(;copy--;)state.lens[state.have++]=len}}if(30===state.mode)break;if(0===state.lens[256]){strm.msg="invalid code -- missing end-of-block",state.mode=30;break}if(state.lenbits=9,opts={bits:state.lenbits},ret=inflate_table(1,state.lens,0,state.nlen,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid literal/lengths set",state.mode=30;break}if(state.distbits=6,state.distcode=state.distdyn,opts={bits:state.distbits},ret=inflate_table(2,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts),state.distbits=opts.bits,ret){strm.msg="invalid distances set",state.mode=30;break}if(state.mode=20,6===flush)break inf_leave;case 20:state.mode=21;case 21:if(have>=6&&left>=258){strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,inflate_fast(strm,_out),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,12===state.mode&&(state.back=-1);break}for(state.back=0;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_op&&0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.lencode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,state.length=here_val,0===here_op){state.mode=26;break}if(32&here_op){state.back=-1,state.mode=12;break}if(64&here_op){strm.msg="invalid literal/length code",state.mode=30;break}state.extra=15&here_op,state.mode=22;case 22:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}state.was=state.length,state.mode=23;case 23:for(;here_op=(here=state.distcode[hold&(1<<state.distbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.distcode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,64&here_op){strm.msg="invalid distance code",state.mode=30;break}state.offset=here_val,state.extra=15&here_op,state.mode=24;case 24:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.offset+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back",state.mode=30;break}state.mode=25;case 25:if(0===left)break inf_leave;if(copy=_out-left,state.offset>copy){if((copy=state.offset-copy)>state.whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break}copy>state.wnext?(copy-=state.wnext,from=state.wsize-copy):from=state.wnext-copy,copy>state.length&&(copy=state.length),from_source=state.window}else from_source=output,from=put-state.offset,copy=state.length;copy>left&&(copy=left),left-=copy,state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);0===state.length&&(state.mode=21);break;case 26:if(0===left)break inf_leave;output[put++]=state.length,left--,state.mode=21;break;case 27:if(state.wrap){for(;bits<32;){if(0===have)break inf_leave;have--,hold|=input[next++]<<bits,bits+=8}if(_out-=left,strm.total_out+=_out,state.total+=_out,_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,put-_out):adler32(state.check,output,_out,put-_out)),_out=left,(state.flags?hold:zswap32(hold))!==state.check){strm.msg="incorrect data check",state.mode=30;break}hold=0,bits=0}state.mode=28;case 28:if(state.wrap&&state.flags){for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(4294967295&state.total)){strm.msg="incorrect length check",state.mode=30;break}hold=0,bits=0}state.mode=29;case 29:ret=1;break inf_leave;case 30:ret=-3;break inf_leave;case 31:return-4;case 32:default:return-2}return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,(state.wsize||_out!==strm.avail_out&&state.mode<30&&(state.mode<27||4!==flush))&&updatewindow(strm,strm.output,strm.next_out,_out-strm.avail_out)?(state.mode=31,-4):(_in-=strm.avail_in,_out-=strm.avail_out,strm.total_in+=_in,strm.total_out+=_out,state.total+=_out,state.wrap&&_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,strm.next_out-_out):adler32(state.check,output,_out,strm.next_out-_out)),strm.data_type=state.bits+(state.last?64:0)+(12===state.mode?128:0)+(20===state.mode||15===state.mode?256:0),(0===_in&&0===_out||4===flush)&&0===ret&&(ret=-5),ret)},exports.inflateEnd=function inflateEnd(strm){if(!strm||!strm.state)return-2;var state=strm.state;return state.window&&(state.window=null),strm.state=null,0},exports.inflateGetHeader=function inflateGetHeader(strm,head){var state;return strm&&strm.state?0==(2&(state=strm.state).wrap)?-2:(state.head=head,head.done=!1,0):-2},exports.inflateSetDictionary=function inflateSetDictionary(strm,dictionary){var state,dictLength=dictionary.length;return strm&&strm.state?0!==(state=strm.state).wrap&&11!==state.mode?-2:11===state.mode&&adler32(1,dictionary,dictLength,0)!==state.check?-3:updatewindow(strm,dictionary,dictLength,dictLength)?(state.mode=31,-4):(state.havedict=1,0):-2},exports.inflateInfo="pako inflate (from Nodeca project)"},nmnc:function(module,exports,__webpack_require__){var Symbol=__webpack_require__("Kz5y").Symbol;module.exports=Symbol},nnpW:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("9aYe");exports.string2binary=function(str){return utils.string2binary(str)},exports.string2Uint8Array=function(str){return utils.transformTo("uint8array",str)},exports.uint8Array2String=function(array){return utils.transformTo("string",array)},exports.string2Blob=function(str){var buffer=utils.transformTo("arraybuffer",str);return utils.arrayBuffer2Blob(buffer)},exports.arrayBuffer2Blob=function(buffer){return utils.arrayBuffer2Blob(buffer)},exports.transformTo=function(outputType,input){return utils.transformTo(outputType,input)},exports.getTypeOf=function(input){return utils.getTypeOf(input)},exports.checkSupport=function(type){return utils.checkSupport(type)},exports.MAX_VALUE_16BITS=utils.MAX_VALUE_16BITS,exports.MAX_VALUE_32BITS=utils.MAX_VALUE_32BITS,exports.pretty=function(str){return utils.pretty(str)},exports.findCompression=function(compressionMethod){return utils.findCompression(compressionMethod)},exports.isRegExp=function(object){return utils.isRegExp(object)}},nsiH:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("fontsize",(function(createHTML){return function fontsize(size){return createHTML(this,"font","size",size)}}))},oDIu:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),$at=__webpack_require__("AvRE")(!1);$export($export.P,"String",{codePointAt:function codePointAt(pos){return $at(this,pos)}})},oVyQ:function(module,exports,__webpack_require__){"use strict";var printWarning=function(){},ReactPropTypesSecret=__webpack_require__("WbBG"),loggedTypeFailures={},has=Function.call.bind(Object.prototype.hasOwnProperty);function checkPropTypes(typeSpecs,values,location,componentName,getStack){for(var typeSpecName in typeSpecs)if(has(typeSpecs,typeSpecName)){var error;try{if("function"!=typeof typeSpecs[typeSpecName]){var err=Error((componentName||"React class")+": "+location+" type `"+typeSpecName+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof typeSpecs[typeSpecName]+"`.");throw err.name="Invariant Violation",err}error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(!error||error instanceof Error||printWarning((componentName||"React class")+": type specification of "+location+" `"+typeSpecName+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof error+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=!0;var stack=getStack?getStack():"";printWarning("Failed "+location+" type: "+error.message+(null!=stack?stack:""))}}}printWarning=function(text){var message="Warning: "+text;"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}},checkPropTypes.resetWarningCache=function(){loggedTypeFailures={}},module.exports=checkPropTypes},oXfm:function(module,exports,__webpack_require__){"use strict";var configuration_table,utils=__webpack_require__("vn/o"),trees=__webpack_require__("B/RK"),adler32=__webpack_require__("yDR0"),crc32=__webpack_require__("7tol"),msg=__webpack_require__("Tcbo");function err(strm,errorCode){return strm.msg=msg[errorCode],errorCode}function rank(f){return(f<<1)-(f>4?9:0)}function zero(buf){for(var len=buf.length;--len>=0;)buf[len]=0}function flush_pending(strm){var s=strm.state,len=s.pending;len>strm.avail_out&&(len=strm.avail_out),0!==len&&(utils.arraySet(strm.output,s.pending_buf,s.pending_out,len,strm.next_out),strm.next_out+=len,s.pending_out+=len,strm.total_out+=len,strm.avail_out-=len,s.pending-=len,0===s.pending&&(s.pending_out=0))}function flush_block_only(s,last){trees._tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last),s.block_start=s.strstart,flush_pending(s.strm)}function put_byte(s,b){s.pending_buf[s.pending++]=b}function putShortMSB(s,b){s.pending_buf[s.pending++]=b>>>8&255,s.pending_buf[s.pending++]=255&b}function longest_match(s,cur_match){var match,len,chain_length=s.max_chain_length,scan=s.strstart,best_len=s.prev_length,nice_match=s.nice_match,limit=s.strstart>s.w_size-262?s.strstart-(s.w_size-262):0,_win=s.window,wmask=s.w_mask,prev=s.prev,strend=s.strstart+258,scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len];s.prev_length>=s.good_match&&(chain_length>>=2),nice_match>s.lookahead&&(nice_match=s.lookahead);do{if(_win[(match=cur_match)+best_len]===scan_end&&_win[match+best_len-1]===scan_end1&&_win[match]===_win[scan]&&_win[++match]===_win[scan+1]){scan+=2,match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scan<strend);if(len=258-(strend-scan),scan=strend-258,len>best_len){if(s.match_start=cur_match,best_len=len,len>=nice_match)break;scan_end1=_win[scan+best_len-1],scan_end=_win[scan+best_len]}}}while((cur_match=prev[cur_match&wmask])>limit&&0!=--chain_length);return best_len<=s.lookahead?best_len:s.lookahead}function fill_window(s){var p,n,m,more,str,strm,buf,start,size,len,_w_size=s.w_size;do{if(more=s.window_size-s.lookahead-s.strstart,s.strstart>=_w_size+(_w_size-262)){utils.arraySet(s.window,s.window,_w_size,_w_size,0),s.match_start-=_w_size,s.strstart-=_w_size,s.block_start-=_w_size,p=n=s.hash_size;do{m=s.head[--p],s.head[p]=m>=_w_size?m-_w_size:0}while(--n);p=n=_w_size;do{m=s.prev[--p],s.prev[p]=m>=_w_size?m-_w_size:0}while(--n);more+=_w_size}if(0===s.strm.avail_in)break;if(strm=s.strm,buf=s.window,start=s.strstart+s.lookahead,size=more,len=void 0,(len=strm.avail_in)>size&&(len=size),n=0===len?0:(strm.avail_in-=len,utils.arraySet(buf,strm.input,strm.next_in,len,start),1===strm.state.wrap?strm.adler=adler32(strm.adler,buf,len,start):2===strm.state.wrap&&(strm.adler=crc32(strm.adler,buf,len,start)),strm.next_in+=len,strm.total_in+=len,len),s.lookahead+=n,s.lookahead+s.insert>=3)for(str=s.strstart-s.insert,s.ins_h=s.window[str],s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+1])&s.hash_mask;s.insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++,s.insert--,!(s.lookahead+s.insert<3)););}while(s.lookahead<262&&0!==s.strm.avail_in)}function deflate_fast(s,flush){for(var hash_head,bflush;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),0!==hash_head&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head)),s.match_length>=3)if(bflush=trees._tr_tally(s,s.strstart-s.match_start,s.match_length-3),s.lookahead-=s.match_length,s.match_length<=s.max_lazy_match&&s.lookahead>=3){s.match_length--;do{s.strstart++,s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart}while(0!=--s.match_length);s.strstart++}else s.strstart+=s.match_length,s.match_length=0,s.ins_h=s.window[s.strstart],s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+1])&s.hash_mask;else bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++;if(bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function deflate_slow(s,flush){for(var hash_head,bflush,max_insert;;){if(s.lookahead<262){if(fill_window(s),s.lookahead<262&&0===flush)return 1;if(0===s.lookahead)break}if(hash_head=0,s.lookahead>=3&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart),s.prev_length=s.match_length,s.prev_match=s.match_start,s.match_length=2,0!==hash_head&&s.prev_length<s.max_lazy_match&&s.strstart-hash_head<=s.w_size-262&&(s.match_length=longest_match(s,hash_head),s.match_length<=5&&(1===s.strategy||3===s.match_length&&s.strstart-s.match_start>4096)&&(s.match_length=2)),s.prev_length>=3&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-3,bflush=trees._tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-3),s.lookahead-=s.prev_length-1,s.prev_length-=2;do{++s.strstart<=max_insert&&(s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+3-1])&s.hash_mask,hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=s.strstart)}while(0!=--s.prev_length);if(s.match_available=0,s.match_length=2,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}else if(s.match_available){if((bflush=trees._tr_tally(s,0,s.window[s.strstart-1]))&&flush_block_only(s,!1),s.strstart++,s.lookahead--,0===s.strm.avail_out)return 1}else s.match_available=1,s.strstart++,s.lookahead--}return s.match_available&&(bflush=trees._tr_tally(s,0,s.window[s.strstart-1]),s.match_available=0),s.insert=s.strstart<2?s.strstart:2,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length,this.max_lazy=max_lazy,this.nice_length=nice_length,this.max_chain=max_chain,this.func=func}function DeflateState(){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=8,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 utils.Buf16(1146),this.dyn_dtree=new utils.Buf16(122),this.bl_tree=new utils.Buf16(78),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new utils.Buf16(16),this.heap=new utils.Buf16(573),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new utils.Buf16(573),zero(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 deflateResetKeep(strm){var s;return strm&&strm.state?(strm.total_in=strm.total_out=0,strm.data_type=2,(s=strm.state).pending=0,s.pending_out=0,s.wrap<0&&(s.wrap=-s.wrap),s.status=s.wrap?42:113,strm.adler=2===s.wrap?0:1,s.last_flush=0,trees._tr_init(s),0):err(strm,-2)}function deflateReset(strm){var ret=deflateResetKeep(strm);return 0===ret&&function lm_init(s){s.window_size=2*s.w_size,zero(s.head),s.max_lazy_match=configuration_table[s.level].max_lazy,s.good_match=configuration_table[s.level].good_length,s.nice_match=configuration_table[s.level].nice_length,s.max_chain_length=configuration_table[s.level].max_chain,s.strstart=0,s.block_start=0,s.lookahead=0,s.insert=0,s.match_length=s.prev_length=2,s.match_available=0,s.ins_h=0}(strm.state),ret}function deflateInit2(strm,level,method,windowBits,memLevel,strategy){if(!strm)return-2;var wrap=1;if(-1===level&&(level=6),windowBits<0?(wrap=0,windowBits=-windowBits):windowBits>15&&(wrap=2,windowBits-=16),memLevel<1||memLevel>9||8!==method||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>4)return err(strm,-2);8===windowBits&&(windowBits=9);var s=new DeflateState;return strm.state=s,s.strm=strm,s.wrap=wrap,s.gzhead=null,s.w_bits=windowBits,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=memLevel+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new utils.Buf8(2*s.w_size),s.head=new utils.Buf16(s.hash_size),s.prev=new utils.Buf16(s.w_size),s.lit_bufsize=1<<memLevel+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new utils.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=level,s.strategy=strategy,s.method=method,deflateReset(strm)}configuration_table=[new Config(0,0,0,0,(function deflate_stored(s,flush){var max_block_size=65535;for(max_block_size>s.pending_buf_size-5&&(max_block_size=s.pending_buf_size-5);;){if(s.lookahead<=1){if(fill_window(s),0===s.lookahead&&0===flush)return 1;if(0===s.lookahead)break}s.strstart+=s.lookahead,s.lookahead=0;var max_start=s.block_start+max_block_size;if((0===s.strstart||s.strstart>=max_start)&&(s.lookahead=s.strstart-max_start,s.strstart=max_start,flush_block_only(s,!1),0===s.strm.avail_out))return 1;if(s.strstart-s.block_start>=s.w_size-262&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):(s.strstart>s.block_start&&(flush_block_only(s,!1),s.strm.avail_out),1)})),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)],exports.deflateInit=function deflateInit(strm,level){return deflateInit2(strm,level,8,15,8,0)},exports.deflateInit2=deflateInit2,exports.deflateReset=deflateReset,exports.deflateResetKeep=deflateResetKeep,exports.deflateSetHeader=function deflateSetHeader(strm,head){return strm&&strm.state?2!==strm.state.wrap?-2:(strm.state.gzhead=head,0):-2},exports.deflate=function deflate(strm,flush){var old_flush,s,beg,val;if(!strm||!strm.state||flush>5||flush<0)return strm?err(strm,-2):-2;if(s=strm.state,!strm.output||!strm.input&&0!==strm.avail_in||666===s.status&&4!==flush)return err(strm,0===strm.avail_out?-5:-2);if(s.strm=strm,old_flush=s.last_flush,s.last_flush=flush,42===s.status)if(2===s.wrap)strm.adler=0,put_byte(s,31),put_byte(s,139),put_byte(s,8),s.gzhead?(put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),put_byte(s,255&s.gzhead.time),put_byte(s,s.gzhead.time>>8&255),put_byte(s,s.gzhead.time>>16&255),put_byte(s,s.gzhead.time>>24&255),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(put_byte(s,255&s.gzhead.extra.length),put_byte(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,0),put_byte(s,9===s.level?2:s.strategy>=2||s.level<2?4:0),put_byte(s,3),s.status=113);else{var header=8+(s.w_bits-8<<4)<<8;header|=(s.strategy>=2||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&(header|=32),header+=31-header%31,s.status=113,putShortMSB(s,header),0!==s.strstart&&(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),strm.adler=1}if(69===s.status)if(s.gzhead.extra){for(beg=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending!==s.pending_buf_size));)put_byte(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){beg=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),flush_pending(strm),beg=s.pending,s.pending===s.pending_buf_size)){val=1;break}val=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,put_byte(s,val)}while(0!==val);s.gzhead.hcrc&&s.pending>beg&&(strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)),0===val&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&flush_pending(strm),s.pending+2<=s.pending_buf_size&&(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),strm.adler=0,s.status=113)):s.status=113),0!==s.pending){if(flush_pending(strm),0===strm.avail_out)return s.last_flush=-1,0}else if(0===strm.avail_in&&rank(flush)<=rank(old_flush)&&4!==flush)return err(strm,-5);if(666===s.status&&0!==strm.avail_in)return err(strm,-5);if(0!==strm.avail_in||0!==s.lookahead||0!==flush&&666!==s.status){var bstate=2===s.strategy?function deflate_huff(s,flush){for(var bflush;;){if(0===s.lookahead&&(fill_window(s),0===s.lookahead)){if(0===flush)return 1;break}if(s.match_length=0,bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++,bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):3===s.strategy?function deflate_rle(s,flush){for(var bflush,prev,scan,strend,_win=s.window;;){if(s.lookahead<=258){if(fill_window(s),s.lookahead<=258&&0===flush)return 1;if(0===s.lookahead)break}if(s.match_length=0,s.lookahead>=3&&s.strstart>0&&(prev=_win[scan=s.strstart-1])===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]){strend=s.strstart+258;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scan<strend);s.match_length=258-(strend-scan),s.match_length>s.lookahead&&(s.match_length=s.lookahead)}if(s.match_length>=3?(bflush=trees._tr_tally(s,1,s.match_length-3),s.lookahead-=s.match_length,s.strstart+=s.match_length,s.match_length=0):(bflush=trees._tr_tally(s,0,s.window[s.strstart]),s.lookahead--,s.strstart++),bflush&&(flush_block_only(s,!1),0===s.strm.avail_out))return 1}return s.insert=0,4===flush?(flush_block_only(s,!0),0===s.strm.avail_out?3:4):s.last_lit&&(flush_block_only(s,!1),0===s.strm.avail_out)?1:2}(s,flush):configuration_table[s.level].func(s,flush);if(3!==bstate&&4!==bstate||(s.status=666),1===bstate||3===bstate)return 0===strm.avail_out&&(s.last_flush=-1),0;if(2===bstate&&(1===flush?trees._tr_align(s):5!==flush&&(trees._tr_stored_block(s,0,0,!1),3===flush&&(zero(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),flush_pending(strm),0===strm.avail_out))return s.last_flush=-1,0}return 4!==flush?0:s.wrap<=0?1:(2===s.wrap?(put_byte(s,255&strm.adler),put_byte(s,strm.adler>>8&255),put_byte(s,strm.adler>>16&255),put_byte(s,strm.adler>>24&255),put_byte(s,255&strm.total_in),put_byte(s,strm.total_in>>8&255),put_byte(s,strm.total_in>>16&255),put_byte(s,strm.total_in>>24&255)):(putShortMSB(s,strm.adler>>>16),putShortMSB(s,65535&strm.adler)),flush_pending(strm),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?0:1)},exports.deflateEnd=function deflateEnd(strm){var status;return strm&&strm.state?42!==(status=strm.state.status)&&69!==status&&73!==status&&91!==status&&103!==status&&113!==status&&666!==status?err(strm,-2):(strm.state=null,113===status?err(strm,-3):0):-2},exports.deflateSetDictionary=function deflateSetDictionary(strm,dictionary){var s,str,n,wrap,avail,next,input,tmpDict,dictLength=dictionary.length;if(!strm||!strm.state)return-2;if(2===(wrap=(s=strm.state).wrap)||1===wrap&&42!==s.status||s.lookahead)return-2;for(1===wrap&&(strm.adler=adler32(strm.adler,dictionary,dictLength,0)),s.wrap=0,dictLength>=s.w_size&&(0===wrap&&(zero(s.head),s.strstart=0,s.block_start=0,s.insert=0),tmpDict=new utils.Buf8(s.w_size),utils.arraySet(tmpDict,dictionary,dictLength-s.w_size,s.w_size,0),dictionary=tmpDict,dictLength=s.w_size),avail=strm.avail_in,next=strm.next_in,input=strm.input,strm.avail_in=dictLength,strm.next_in=0,strm.input=dictionary,fill_window(s);s.lookahead>=3;){str=s.strstart,n=s.lookahead-2;do{s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+3-1])&s.hash_mask,s.prev[str&s.w_mask]=s.head[s.ins_h],s.head[s.ins_h]=str,str++}while(--n);s.strstart=str,s.lookahead=2,fill_window(s)}return s.strstart+=s.lookahead,s.block_start=s.strstart,s.insert=s.lookahead,s.lookahead=0,s.match_length=s.prev_length=2,s.match_available=0,strm.next_in=next,strm.input=input,strm.avail_in=avail,s.wrap=wrap,0},exports.deflateInfo="pako deflate (from Nodeca project)"},ok7h:function(module,exports){},ol8x:function(module,exports,__webpack_require__){var navigator=__webpack_require__("dyZX").navigator;module.exports=navigator&&navigator.userAgent||""},p09P:function(module,exports,__webpack_require__){(function(global){(function(exports){"use strict";function getGlobal$1(){return"undefined"!=typeof globalThis&&globalThis?globalThis:"undefined"!=typeof self&&self?self:"undefined"!=typeof window&&window?window:void 0!==global&&global?global:null}function objCreateFn(obj){var func=Object.create;if(func)return func(obj);if(null==obj)return{};var type=typeof obj;if("object"!==type&&"function"!==type)throw new TypeError("Object prototype may only be an Object:"+obj);function tmpFunc(){}return tmpFunc.prototype=obj,new tmpFunc}var root,assignFn,extendsFn,__extendStaticsFn=function(d,b){return(__extendStaticsFn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])})(d,b)},globalObj=getGlobal$1()||{};assignFn=function __assignFn(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},extendsFn=function __extendsFn(d,b){function __(){this.constructor=d}__extendStaticsFn(d,b),d.prototype=null===b?objCreateFn(b):(__.prototype=b.prototype,new __)},(root=globalObj).__assign||(root.__assign=Object.assign||assignFn),root.__extends||(root.__extends=extendsFn),__assign||(__assign=globalObj.__assign),__extends||(__extends=globalObj.__extends);var LoggingSeverity,EventsDiscardedReason_InvalidEvent=2,Obj=Object,_objGetPrototypeOf$1=Obj.getPrototypeOf,_dynamicNames=0;function _hasOwnProperty(obj,prop){return obj&&Obj.prototype.hasOwnProperty.call(obj,prop)}function _isObjectOrArrayPrototype(target){return target&&(target===Obj.prototype||target===Array.prototype)}function _isObjectArrayOrFunctionPrototype(target){return _isObjectOrArrayPrototype(target)||target===Function.prototype}function _getObjProto$1(target){if(target){if(_objGetPrototypeOf$1)return _objGetPrototypeOf$1(target);var newProto=target.__proto__||target.prototype||target.constructor;if(newProto)return newProto}return null}function _forEachProp(target,func){var props=[],getOwnProps=Obj.getOwnPropertyNames;if(getOwnProps)props=getOwnProps(target);else for(var name_1 in target)"string"==typeof name_1&&_hasOwnProperty(target,name_1)&&props.push(name_1);if(props&&props.length>0)for(var lp=0;lp<props.length;lp++)func(props[lp])}function _isDynamicCandidate(target,funcName,skipOwn){return"constructor"!==funcName&&"function"==typeof target[funcName]&&(skipOwn||_hasOwnProperty(target,funcName))}function _throwTypeError(message){throw new TypeError("DynamicProto: "+message)}function _hasVisited(values,value){for(var lp=values.length-1;lp>=0;lp--)if(values[lp]===value)return!0;return!1}function _getInstFunc(target,funcName,proto,currentDynProtoProxy){var instFunc=null;if(target&&_hasOwnProperty(proto,"_dynClass")){var instFuncTable=target._dynInstFuncs||{};if((instFunc=(instFuncTable[proto._dynClass]||{})[funcName])||_throwTypeError("Missing ["+funcName+"] function"),!instFunc._dynInstChk&&!1!==instFuncTable._dynInstChk){for(var canAddInst=!_hasOwnProperty(target,funcName),objProto=_getObjProto$1(target),visited=[];canAddInst&&objProto&&!_isObjectArrayOrFunctionPrototype(objProto)&&!_hasVisited(visited,objProto);){var protoFunc=objProto[funcName];if(protoFunc){canAddInst=protoFunc===currentDynProtoProxy;break}visited.push(objProto),objProto=_getObjProto$1(objProto)}try{canAddInst&&(target[funcName]=instFunc),instFunc._dynInstChk=1}catch(e){instFuncTable._dynInstChk=!1}}}return instFunc}function _getProtoFunc(funcName,proto,currentDynProtoProxy){var protoFunc=proto[funcName];return protoFunc===currentDynProtoProxy&&(protoFunc=_getObjProto$1(proto)[funcName]),"function"!=typeof protoFunc&&_throwTypeError("["+funcName+"] is not a function"),protoFunc}function _populatePrototype(proto,className,target,baseInstFuncs,setInstanceFunc){if(!_isObjectOrArrayPrototype(proto)){var instFuncTable=target._dynInstFuncs=target._dynInstFuncs||{},instFuncs_1=instFuncTable[className]=instFuncTable[className]||{};!1!==instFuncTable._dynInstChk&&(instFuncTable._dynInstChk=!!setInstanceFunc),_forEachProp(target,(function(name){_isDynamicCandidate(target,name,!1)&&target[name]!==baseInstFuncs[name]&&(instFuncs_1[name]=target[name],delete target[name],(!_hasOwnProperty(proto,name)||proto[name]&&!proto[name]._isDynProxy)&&(proto[name]=function _createDynamicPrototype(proto,funcName){var dynProtoProxy=function(){return(_getInstFunc(this,funcName,proto,dynProtoProxy)||_getProtoFunc(funcName,proto,dynProtoProxy)).apply(this,arguments)};return dynProtoProxy._isDynProxy=1,dynProtoProxy}(proto,name)))}))}}function _getObjName(target,unknownValue){return _hasOwnProperty(target,"prototype")?target.name||unknownValue||"_unknown_":((target||{}).constructor||{}).name||unknownValue||"_unknown_"}function dynamicProto(theClass,target,delegateFunc,options){_hasOwnProperty(theClass,"prototype")||_throwTypeError("theClass is an invalid class definition.");var classProto=theClass.prototype;(function _checkPrototype(classProto,thisTarget){for(var thisProto=_getObjProto$1(thisTarget);thisProto&&!_isObjectArrayOrFunctionPrototype(thisProto);){if(thisProto===classProto)return!0;thisProto=_getObjProto$1(thisProto)}return!1})(classProto,target)||_throwTypeError("["+_getObjName(theClass)+"] is not in class hierarchy of ["+_getObjName(target)+"]");var className=null;_hasOwnProperty(classProto,"_dynClass")?className=classProto._dynClass:(className="_dynCls$"+_getObjName(theClass,"_")+"$"+_dynamicNames,_dynamicNames++,classProto._dynClass=className);var perfOptions=dynamicProto._dfOpts,useBaseInst=!!perfOptions.useBaseInst;useBaseInst&&options&&void 0!==options.useBaseInst&&(useBaseInst=!!options.useBaseInst);var instFuncs=function _getInstanceFuncs(thisTarget){var instFuncs={};return _forEachProp(thisTarget,(function(name){!instFuncs[name]&&_isDynamicCandidate(thisTarget,name,!1)&&(instFuncs[name]=thisTarget[name])})),instFuncs}(target);delegateFunc(target,function _getBaseFuncs(classProto,thisTarget,instFuncs,useBaseInst){function _instFuncProxy(target,funcHost,funcName){var theFunc=funcHost[funcName];if(theFunc._isDynProxy&&useBaseInst){var instFuncTable=target._dynInstFuncs||{};!1!==instFuncTable._dynInstChk&&(theFunc=(instFuncTable[funcHost._dynClass]||{})[funcName]||theFunc)}return function(){return theFunc.apply(target,arguments)}}var baseFuncs={};_forEachProp(instFuncs,(function(name){baseFuncs[name]=_instFuncProxy(thisTarget,instFuncs,name)}));for(var baseProto=_getObjProto$1(classProto),visited=[];baseProto&&!_isObjectArrayOrFunctionPrototype(baseProto)&&!_hasVisited(visited,baseProto);)_forEachProp(baseProto,(function(name){!baseFuncs[name]&&_isDynamicCandidate(baseProto,name,!_objGetPrototypeOf$1)&&(baseFuncs[name]=_instFuncProxy(thisTarget,baseProto,name))})),visited.push(baseProto),baseProto=_getObjProto$1(baseProto);return baseFuncs}(classProto,target,instFuncs,useBaseInst));var setInstanceFunc=!!_objGetPrototypeOf$1&&!!perfOptions.setInstFuncs;setInstanceFunc&&options&&(setInstanceFunc=!!options.setInstFuncs),_populatePrototype(classProto,className,target,instFuncs,!1!==setInstanceFunc)}dynamicProto._dfOpts={setInstFuncs:!0,useBaseInst:!0},function(LoggingSeverity){LoggingSeverity[LoggingSeverity.CRITICAL=1]="CRITICAL",LoggingSeverity[LoggingSeverity.WARNING=2]="WARNING"}(LoggingSeverity||(LoggingSeverity={}));var _InternalMessageId_BrowserDoesNotSupportLocalStorage=0,_InternalMessageId_BrowserCannotReadLocalStorage=1,_InternalMessageId_BrowserCannotReadSessionStorage=2,_InternalMessageId_BrowserCannotWriteLocalStorage=3,_InternalMessageId_BrowserCannotWriteSessionStorage=4,_InternalMessageId_BrowserFailedRemovalFromLocalStorage=5,_InternalMessageId_BrowserFailedRemovalFromSessionStorage=6,_InternalMessageId_CannotSendEmptyTelemetry=7,_InternalMessageId_ClientPerformanceMathError=8,_InternalMessageId_ErrorParsingAISessionCookie=9,_InternalMessageId_ErrorPVCalc=10,_InternalMessageId_ExceptionWhileLoggingError=11,_InternalMessageId_FailedAddingTelemetryToBuffer=12,_InternalMessageId_FailedMonitorAjaxAbort=13,_InternalMessageId_FailedMonitorAjaxDur=14,_InternalMessageId_FailedMonitorAjaxOpen=15,_InternalMessageId_FailedMonitorAjaxRSC=16,_InternalMessageId_FailedMonitorAjaxSend=17,_InternalMessageId_FailedMonitorAjaxGetCorrelationHeader=18,_InternalMessageId_FailedToAddHandlerForOnBeforeUnload=19,_InternalMessageId_FailedToSendQueuedTelemetry=20,_InternalMessageId_FlushFailed=22,_InternalMessageId_MessageLimitPerPVExceeded=23,_InternalMessageId_MissingRequiredFieldSpecification=24,_InternalMessageId_NavigationTimingNotSupported=25,_InternalMessageId_OnError=26,_InternalMessageId_SessionRenewalDateIsZero=27,_InternalMessageId_SenderNotInitialized=28,_InternalMessageId_StartTrackEventFailed=29,_InternalMessageId_StopTrackEventFailed=30,_InternalMessageId_StartTrackFailed=31,_InternalMessageId_StopTrackFailed=32,_InternalMessageId_TelemetrySampledAndNotSent=33,_InternalMessageId_TrackExceptionFailed=35,_InternalMessageId_TrackMetricFailed=36,_InternalMessageId_TrackPVFailed=37,_InternalMessageId_TrackPVFailedCalc=38,_InternalMessageId_TrackTraceFailed=39,_InternalMessageId_TransmissionFailed=40,_InternalMessageId_FailedToSetStorageBuffer=41,_InternalMessageId_FailedToRestoreStorageBuffer=42,_InternalMessageId_InvalidBackendResponse=43,_InternalMessageId_InvalidDurationValue=45,_InternalMessageId_TelemetryEnvelopeInvalid=46,_InternalMessageId_CreateEnvelopeError=47,_InternalMessageId_CannotSerializeObject=48,_InternalMessageId_CannotSerializeObjectNonSerializable=49,_InternalMessageId_CircularReferenceDetected=50,_InternalMessageId_ExceptionTruncated=52,_InternalMessageId_ItemNotInArray=54,_InternalMessageId_MaxAjaxPerPVExceeded=55,_InternalMessageId_MessageTruncated=56,_InternalMessageId_NameTooLong=57,_InternalMessageId_SampleRateOutOfRange=58,_InternalMessageId_SetAuthContextFailedAccountName=60,_InternalMessageId_StringValueTooLong=61,_InternalMessageId_StartCalledMoreThanOnce=62,_InternalMessageId_StopCalledWithoutStart=63,_InternalMessageId_TelemetryInitializerFailed=64,_InternalMessageId_UrlTooLong=66,_InternalMessageId_SessionStorageBufferFull=67,_InternalMessageId_CannotAccessCookie=68,_InternalMessageId_IdTooLong=69,_InternalMessageId_InvalidEvent=70,_InternalMessageId_FailedMonitorAjaxSetRequestHeader=71,_InternalMessageId_SendBrowserInfoOnUserInit=72,_InternalMessageId_PluginException=73,_InternalMessageId_NotificationException=74,_InternalMessageId_InvalidInstrumentationKey=100,ObjClass=Object,ObjProto=ObjClass.prototype,_objHasOwnProperty=ObjProto.hasOwnProperty,_objDefineProperty=ObjClass.defineProperty,_objAssign=ObjClass.assign;function objToString(obj){return ObjProto.toString.call(obj)}function isUndefined(value){return void 0===value||void 0===value}function isNullOrUndefined(value){return null===value||isUndefined(value)}function isNotNullOrUndefined(value){return!isNullOrUndefined(value)}function hasOwnProperty(obj,prop){return obj&&_objHasOwnProperty.call(obj,prop)}function isObject(value){return"object"==typeof value}function isFunction(value){return"function"==typeof value}function attachEvent(obj,eventNameWithoutOn,handlerRef,useCapture){void 0===useCapture&&(useCapture=!1);var result=!1;if(!isNullOrUndefined(obj))try{isNullOrUndefined(obj.addEventListener)?isNullOrUndefined(obj.attachEvent)||(obj.attachEvent("on"+eventNameWithoutOn,handlerRef),result=!0):(obj.addEventListener(eventNameWithoutOn,handlerRef,useCapture),result=!0)}catch(e){}return result}function detachEvent(obj,eventNameWithoutOn,handlerRef,useCapture){if(void 0===useCapture&&(useCapture=!1),!isNullOrUndefined(obj))try{isNullOrUndefined(obj.removeEventListener)?isNullOrUndefined(obj.detachEvent)||obj.detachEvent("on"+eventNameWithoutOn,handlerRef):obj.removeEventListener(eventNameWithoutOn,handlerRef,useCapture)}catch(e){}}function objForEachKey(target,callbackfn){if(target)for(var prop in target)_objHasOwnProperty.call(target,prop)&&callbackfn.call(target,prop,target[prop])}function strContains(value,search){return!(!value||!search)&&-1!==value.indexOf(search)}function isDate(obj){return"[object Date]"===objToString(obj)}function isArray(obj){return"[object Array]"===objToString(obj)}function isError(obj){return"[object Error]"===objToString(obj)}function isString(value){return"string"==typeof value}function isNumber(value){return"number"==typeof value}function isBoolean(value){return"boolean"==typeof value}function toISOString(date){if(isDate(date)){var pad=function(num){var r=String(num);return 1===r.length&&(r="0"+r),r};return date.getUTCFullYear()+"-"+pad(date.getUTCMonth()+1)+"-"+pad(date.getUTCDate())+"T"+pad(date.getUTCHours())+":"+pad(date.getUTCMinutes())+":"+pad(date.getUTCSeconds())+"."+String((date.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}function arrForEach(arr,callbackfn,thisArg){for(var len=arr.length,idx=0;idx<len&&(!(idx in arr)||-1!==callbackfn.call(thisArg||arr,arr[idx],idx,arr));idx++);}function arrIndexOf(arr,searchElement,fromIndex){for(var len=arr.length,from=fromIndex||0,lp=Math.max(from>=0?from:len-Math.abs(from),0);lp<len;lp++)if(lp in arr&&arr[lp]===searchElement)return lp;return-1}function arrMap(arr,callbackfn,thisArg){for(var len=arr.length,_this=thisArg||arr,results=new Array(len),lp=0;lp<len;lp++)lp in arr&&(results[lp]=callbackfn.call(_this,arr[lp],arr));return results}function arrReduce(arr,callbackfn,initialValue){var value,len=arr.length,lp=0;if(arguments.length>=3)value=arguments[2];else{for(;lp<len&&!(lp in arr);)lp++;value=arr[lp++]}for(;lp<len;)lp in arr&&(value=callbackfn(value,arr[lp],lp,arr)),lp++;return value}function strTrim(str){return"string"!=typeof str?str:str.replace(/^\s+|\s+$/g,"")}var _objKeysHasDontEnumBug=!{toString:null}.propertyIsEnumerable("toString"),_objKeysDontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function objKeys(obj){var objType=typeof obj;if("function"!==objType&&("object"!==objType||null===obj))throw new TypeError("objKeys called on non-object");var result=[];for(var prop in obj)obj&&_objHasOwnProperty.call(obj,prop)&&result.push(prop);if(_objKeysHasDontEnumBug)for(var dontEnumsLength=_objKeysDontEnums.length,lp=0;lp<dontEnumsLength;lp++)obj&&_objHasOwnProperty.call(obj,_objKeysDontEnums[lp])&&result.push(_objKeysDontEnums[lp]);return result}function objDefineAccessors(target,prop,getProp,setProp){if(_objDefineProperty)try{var descriptor={enumerable:!0,configurable:!0};return getProp&&(descriptor.get=getProp),setProp&&(descriptor.set=setProp),_objDefineProperty(target,prop,descriptor),!0}catch(e){}return!1}function dateNow(){var dt=Date;return dt.now?dt.now():(new dt).getTime()}function getExceptionName(object){return isError(object)?object.name:""}function setValue(target,field,value,valChk,srcChk){var theValue=value;return target&&((theValue=target[field])===value||srcChk&&!srcChk(theValue)||valChk&&!valChk(value)||(theValue=value,target[field]=theValue)),theValue}function getSetValue(target,field,defValue){var theValue;return target?!(theValue=target[field])&&isNullOrUndefined(theValue)&&(theValue=isUndefined(defValue)?{}:defValue,target[field]=theValue):theValue=isUndefined(defValue)?{}:defValue,theValue}function isNotTruthy(value){return!value}function isTruthy(value){return!!value}function throwError(message){throw new Error(message)}function proxyAssign(target,source,chkSet){if(target&&source&&target!==source&&isObject(target)&&isObject(source)){var _loop_1=function(field){if(isString(field)){var value=source[field];isFunction(value)?chkSet&&!chkSet(field,!0,source,target)||(target[field]=(funcName=field,function(){var originalArguments=arguments;return source[funcName].apply(source,originalArguments)})):chkSet&&!chkSet(field,!1,source,target)||(hasOwnProperty(target,field)&&delete target[field],objDefineAccessors(target,field,(function(){return source[field]}),(function(theValue){source[field]=theValue}))||(target[field]=value))}var funcName};for(var field in source)_loop_1(field)}return target}function optimizeObject(theObject){return theObject&&(theObject=ObjClass(_objAssign?_objAssign({},theObject):theObject)),theObject}var _isTrident=null,_navUserAgentCheck=null,getGlobal=getGlobal$1;function getGlobalInst(name){var gbl=getGlobal();return gbl&&gbl[name]?gbl[name]:"window"===name&&hasWindow()?window:null}function hasWindow(){return Boolean("object"==typeof window&&window)}function getWindow(){return hasWindow()?window:getGlobalInst("window")}function hasDocument(){return Boolean("object"==typeof document&&document)}function getDocument(){return hasDocument()?document:getGlobalInst("document")}function getNavigator(){return function hasNavigator(){return Boolean("object"==typeof navigator&&navigator)}()?navigator:getGlobalInst("navigator")}function getHistory(){return function hasHistory(){return Boolean("object"==typeof history&&history)}()?history:getGlobalInst("history")}function getLocation(checkForMock){return"object"==typeof location&&location?location:getGlobalInst("location")}function getPerformance(){return getGlobalInst("performance")}function hasJSON(){return Boolean("object"==typeof JSON&&JSON||null!==getGlobalInst("JSON"))}function getJSON(){return hasJSON()?JSON||getGlobalInst("JSON"):null}function isIE(){var nav=getNavigator();if(nav&&(nav.userAgent!==_navUserAgentCheck||null===_isTrident)){var userAgent=((_navUserAgentCheck=nav.userAgent)||"").toLowerCase();_isTrident=strContains(userAgent,"msie")||strContains(userAgent,"trident/")}return _isTrident}function getIEVersion(userAgentStr){void 0===userAgentStr&&(userAgentStr=null);var myNav=userAgentStr?userAgentStr.toLowerCase():"";if(!userAgentStr){var navigator_1=getNavigator()||{};myNav=navigator_1?(navigator_1.userAgent||"").toLowerCase():""}if(strContains(myNav,"msie"))return parseInt(myNav.split("msie")[1]);if(strContains(myNav,"trident/")){var tridentVer=parseInt(myNav.split("trident/")[1]);if(tridentVer)return tridentVer+4}return null}function dumpObj(object){var objectTypeDump=Object.prototype.toString.call(object),propertyValueDump="";return"[object Error]"===objectTypeDump?propertyValueDump="{ stack: '"+object.stack+"', message: '"+object.message+"', name: '"+object.name+"'":hasJSON()&&(propertyValueDump=getJSON().stringify(object)),objectTypeDump+propertyValueDump}function _sanitizeDiagnosticText(text){return text?'"'+text.replace(/\"/g,"")+'"':""}var _InternalLogMessage=function(){function _InternalLogMessage(msgId,msg,isUserAct,properties){void 0===isUserAct&&(isUserAct=!1),this.messageId=msgId,this.message=(isUserAct?"AI: ":"AI (Internal): ")+msgId;var strProps="";hasJSON()&&(strProps=getJSON().stringify(properties));var diagnosticText=(msg?" message:"+_sanitizeDiagnosticText(msg):"")+(properties?" props:"+_sanitizeDiagnosticText(strProps):"");this.message+=diagnosticText}return _InternalLogMessage.dataType="MessageData",_InternalLogMessage}();function safeGetLogger(core,config){return(core||{}).logger||new DiagnosticLogger(config)}var DiagnosticLogger=function DiagnosticLogger(config){this.identifier="DiagnosticLogger",this.queue=[];var _messageCount=0,_messageLogged={};dynamicProto(DiagnosticLogger,this,(function(_self){function _getConfigValue(name,defValue){var value=config[name];return isNullOrUndefined(value)?defValue:value}isNullOrUndefined(config)&&(config={}),_self.consoleLoggingLevel=function(){return _getConfigValue("loggingLevelConsole",0)},_self.telemetryLoggingLevel=function(){return _getConfigValue("loggingLevelTelemetry",1)},_self.maxInternalMessageLimit=function(){return _getConfigValue("maxMessageLimit",25)},_self.enableDebugExceptions=function(){return _getConfigValue("enableDebugExceptions",!1)},_self.throwInternal=function(severity,msgId,msg,properties,isUserAct){void 0===isUserAct&&(isUserAct=!1);var message=new _InternalLogMessage(msgId,msg,isUserAct,properties);if(_self.enableDebugExceptions())throw message;if(!isUndefined(message)&&message&&!isUndefined(message.message)){var logLevel=_self.consoleLoggingLevel();if(isUserAct){var messageKey=+message.messageId;!_messageLogged[messageKey]&&logLevel>=LoggingSeverity.WARNING&&(_self.warnToConsole(message.message),_messageLogged[messageKey]=!0)}else logLevel>=LoggingSeverity.WARNING&&_self.warnToConsole(message.message);_self.logInternalMessage(severity,message)}},_self.warnToConsole=function(message){var theConsole=function getConsole(){return"undefined"!=typeof console?console:getGlobalInst("console")}();if(theConsole){var logFunc="log";theConsole.warn&&(logFunc="warn"),isFunction(theConsole[logFunc])&&theConsole[logFunc](message)}},_self.resetInternalMessageCount=function(){_messageCount=0,_messageLogged={}},_self.logInternalMessage=function(severity,message){if(!function _areInternalMessagesThrottled(){return _messageCount>=_self.maxInternalMessageLimit()}()){var logMessage=!0,messageKey="AITR_"+message.messageId;if(_messageLogged[messageKey]?logMessage=!1:_messageLogged[messageKey]=!0,logMessage&&(severity<=_self.telemetryLoggingLevel()&&(_self.queue.push(message),_messageCount++),_messageCount===_self.maxInternalMessageLimit())){var throttleLimitMessage="Internal events throttle limit per PageView reached for this app.",throttleMessage=new _InternalLogMessage(_InternalMessageId_MessageLimitPerPVExceeded,throttleLimitMessage,!1);_self.queue.push(throttleMessage),_self.warnToConsole(throttleLimitMessage)}}}}))},PerfEvent=function(){function PerfEvent(name,payloadDetails,isAsync){var theDetails_1,_self=this,accessorDefined=!1;_self.start=dateNow(),_self.name=name,_self.isAsync=isAsync,_self.isChildEvt=function(){return!1},isFunction(payloadDetails)&&(accessorDefined=objDefineAccessors(_self,"payload",(function(){return!theDetails_1&&isFunction(payloadDetails)&&(theDetails_1=payloadDetails(),payloadDetails=null),theDetails_1}))),_self.getCtx=function(key){return key?key===PerfEvent.ParentContextKey||key===PerfEvent.ChildrenContextKey?_self[key]:(_self.ctx||{})[key]:null},_self.setCtx=function(key,value){key&&(key===PerfEvent.ParentContextKey?(_self[key]||(_self.isChildEvt=function(){return!0}),_self[key]=value):key===PerfEvent.ChildrenContextKey?_self[key]=value:(_self.ctx=_self.ctx||{})[key]=value)},_self.complete=function(){var childTime=0,childEvts=_self.getCtx(PerfEvent.ChildrenContextKey);if(isArray(childEvts))for(var lp=0;lp<childEvts.length;lp++){var childEvt=childEvts[lp];childEvt&&(childTime+=childEvt.time)}_self.time=dateNow()-_self.start,_self.exTime=_self.time-childTime,_self.complete=function(){},!accessorDefined&&isFunction(payloadDetails)&&(_self.payload=payloadDetails())}}return PerfEvent.ParentContextKey="parent",PerfEvent.ChildrenContextKey="childEvts",PerfEvent}(),PerfManager=function PerfManager(manager){this.ctx={},dynamicProto(PerfManager,this,(function(_self){_self.create=function(src,payloadDetails,isAsync){return new PerfEvent(src,payloadDetails,isAsync)},_self.fire=function(perfEvent){perfEvent&&(perfEvent.complete(),manager&&manager.perfEvent(perfEvent))},_self.setCtx=function(key,value){key&&((_self.ctx=_self.ctx||{})[key]=value)},_self.getCtx=function(key){return(_self.ctx||{})[key]}}))};function doPerf(mgrSource,getSource,func,details,isAsync){if(mgrSource){var perfMgr=mgrSource;if(perfMgr&&isFunction(perfMgr.getPerfMgr)&&(perfMgr=perfMgr.getPerfMgr()),perfMgr){var perfEvt=void 0,currentActive=perfMgr.getCtx("CoreUtils.doPerf");try{if(perfEvt=perfMgr.create(getSource(),details,isAsync)){if(currentActive&&perfEvt.setCtx&&(perfEvt.setCtx(PerfEvent.ParentContextKey,currentActive),currentActive.getCtx&&currentActive.setCtx)){var children=currentActive.getCtx(PerfEvent.ChildrenContextKey);children||(children=[],currentActive.setCtx(PerfEvent.ChildrenContextKey,children)),children.push(perfEvt)}return perfMgr.setCtx("CoreUtils.doPerf",perfEvt),func(perfEvt)}}catch(ex){perfEvt&&perfEvt.setCtx&&perfEvt.setCtx("exception",ex)}finally{perfEvt&&perfMgr.fire(perfEvt),perfMgr.setCtx("CoreUtils.doPerf",currentActive)}}}return func()}var TelemetryPluginChain=function TelemetryPluginChain(plugin,defItemCtx){var _self=this,_nextProxy=null,_hasProcessTelemetry=isFunction(plugin.processTelemetry),_hasSetNext=isFunction(plugin.setNextPlugin);_self._hasRun=!1,_self.getPlugin=function(){return plugin},_self.getNext=function(){return _nextProxy},_self.setNext=function(nextPlugin){_nextProxy=nextPlugin},_self.processTelemetry=function(env,itemCtx){itemCtx||(itemCtx=defItemCtx);var identifier=plugin?plugin.identifier:"TelemetryPluginChain";doPerf(itemCtx?itemCtx.core():null,(function(){return identifier+":processTelemetry"}),(function(){if(plugin&&_hasProcessTelemetry){_self._hasRun=!0;try{itemCtx.setNext(_nextProxy),_hasSetNext&&plugin.setNextPlugin(_nextProxy),_nextProxy&&(_nextProxy._hasRun=!1),plugin.processTelemetry(env,itemCtx)}catch(error){var hasRun=_nextProxy&&_nextProxy._hasRun;_nextProxy&&hasRun||itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_PluginException,"Plugin ["+plugin.identifier+"] failed during processTelemetry - "+error),_nextProxy&&!hasRun&&_nextProxy.processTelemetry(env,itemCtx)}}else _nextProxy&&(_self._hasRun=!0,_nextProxy.processTelemetry(env,itemCtx))}),(function(){return{item:env}}),!env.sync)}};function _createProxyChain(plugins,itemCtx){var proxies=[];if(plugins&&plugins.length>0)for(var lastProxy=null,idx=0;idx<plugins.length;idx++){var thePlugin=plugins[idx];if(thePlugin&&isFunction(thePlugin.processTelemetry)){var newProxy=new TelemetryPluginChain(thePlugin,itemCtx);proxies.push(newProxy),lastProxy&&lastProxy.setNext(newProxy),lastProxy=newProxy}}return proxies.length>0?proxies[0]:null}var ProcessTelemetryContext=function ProcessTelemetryContext(plugins,config,core,startAt){var _self=this,_nextProxy=null;null!==startAt&&(plugins&&isFunction(plugins.getPlugin)?_nextProxy=function _copyProxyChain(proxy,itemCtx,startAt){var plugins=[],add=!startAt;if(proxy)for(;proxy;){var thePlugin=proxy.getPlugin();(add||thePlugin===startAt)&&(add=!0,plugins.push(thePlugin)),proxy=proxy.getNext()}return add||plugins.push(startAt),_createProxyChain(plugins,itemCtx)}(plugins,_self,startAt||plugins.getPlugin()):startAt?_nextProxy=function _copyPluginChain(srcPlugins,itemCtx,startAt){var plugins=srcPlugins,add=!1;return startAt&&srcPlugins&&(plugins=[],arrForEach(srcPlugins,(function(thePlugin){(add||thePlugin===startAt)&&(add=!0,plugins.push(thePlugin))}))),startAt&&!add&&(plugins||(plugins=[]),plugins.push(startAt)),_createProxyChain(plugins,itemCtx)}(plugins,_self,startAt):isUndefined(startAt)&&(_nextProxy=_createProxyChain(plugins,_self))),_self.core=function(){return core},_self.diagLog=function(){return safeGetLogger(core,config)},_self.getCfg=function(){return config},_self.getExtCfg=function(identifier,defaultValue){var theConfig;if(void 0===defaultValue&&(defaultValue={}),config){var extConfig=config.extensionConfig;extConfig&&identifier&&(theConfig=extConfig[identifier])}return theConfig||defaultValue},_self.getConfig=function(identifier,field,defaultValue){var theValue;void 0===defaultValue&&(defaultValue=!1);var extConfig=_self.getExtCfg(identifier,null);return extConfig&&!isNullOrUndefined(extConfig[field])?theValue=extConfig[field]:config&&!isNullOrUndefined(config[field])&&(theValue=config[field]),isNullOrUndefined(theValue)?defaultValue:theValue},_self.hasNext=function(){return null!=_nextProxy},_self.getNext=function(){return _nextProxy},_self.setNext=function(nextPlugin){_nextProxy=nextPlugin},_self.processNext=function(env){var nextPlugin=_nextProxy;nextPlugin&&(_nextProxy=nextPlugin.getNext(),nextPlugin.processTelemetry(env,_self))},_self.createNew=function(plugins,startAt){return void 0===plugins&&(plugins=null),new ProcessTelemetryContext(plugins||_nextProxy,config,core,startAt)}},BaseTelemetryPlugin=function(){function BaseTelemetryPlugin(){var _self=this,_isinitialized=!1,_rootCtx=null,_nextPlugin=null;_self.core=null,_self.diagLog=function(itemCtx){return _self._getTelCtx(itemCtx).diagLog()},_self.isInitialized=function(){return _isinitialized},_self.setInitialized=function(isInitialized){_isinitialized=isInitialized},_self.setNextPlugin=function(next){_nextPlugin=next},_self.processNext=function(env,itemCtx){itemCtx?itemCtx.processNext(env):_nextPlugin&&isFunction(_nextPlugin.processTelemetry)&&_nextPlugin.processTelemetry(env,null)},_self._getTelCtx=function(currentCtx){void 0===currentCtx&&(currentCtx=null);var itemCtx=currentCtx;if(!itemCtx){var rootCtx=_rootCtx||new ProcessTelemetryContext(null,{},_self.core);itemCtx=_nextPlugin&&_nextPlugin.getPlugin?rootCtx.createNew(null,_nextPlugin.getPlugin):rootCtx.createNew(null,_nextPlugin)}return itemCtx},_self._baseTelInit=function(config,core,extensions,pluginChain){config&&setValue(config,"extensionConfig",[],null,isNullOrUndefined),!pluginChain&&core&&(pluginChain=core.getProcessTelContext().getNext());var nextPlugin=_nextPlugin;_nextPlugin&&_nextPlugin.getPlugin&&(nextPlugin=_nextPlugin.getPlugin()),_self.core=core,_rootCtx=new ProcessTelemetryContext(pluginChain,config,core,nextPlugin),_isinitialized=!0}}return BaseTelemetryPlugin.prototype.initialize=function(config,core,extensions,pluginChain){this._baseTelInit(config,core,extensions,pluginChain)},BaseTelemetryPlugin}();function initializePlugins(processContext,extensions){for(var initPlugins=[],lastPlugin=null,proxy=processContext.getNext();proxy;){var thePlugin=proxy.getPlugin();thePlugin&&(lastPlugin&&isFunction(lastPlugin.setNextPlugin)&&isFunction(thePlugin.processTelemetry)&&lastPlugin.setNextPlugin(thePlugin),isFunction(thePlugin.isInitialized)&&thePlugin.isInitialized()||initPlugins.push(thePlugin),lastPlugin=thePlugin,proxy=proxy.getNext())}arrForEach(initPlugins,(function(thePlugin){thePlugin.initialize(processContext.getCfg(),processContext.core(),extensions,processContext.getNext())}))}function sortPlugins(plugins){return plugins.sort((function(extA,extB){var result=0,bHasProcess=isFunction(extB.processTelemetry);return isFunction(extA.processTelemetry)?result=bHasProcess?extA.priority-extB.priority:1:bHasProcess&&(result=-1),result}))}var ChannelController=function(_super){function ChannelController(){var _channelQueue,_this=_super.call(this)||this;function _addChannelQueue(queue){queue&&queue.length>0&&(function _checkQueuePriority(queue){arrForEach(queue,(function(queueItem){queueItem.priority<500&&throwError("Channel has invalid priority"+queueItem.identifier)}))}(queue=queue.sort((function(a,b){return a.priority-b.priority}))),_channelQueue.push(queue))}return _this.identifier="ChannelControllerPlugin",_this.priority=500,dynamicProto(ChannelController,_this,(function(_self,_base){_self.setNextPlugin=function(next){},_self.processTelemetry=function(item,itemCtx){_channelQueue&&arrForEach(_channelQueue,(function(queues){queues.length>0&&_this._getTelCtx(itemCtx).createNew(queues).processNext(item)}))},_self.getChannelControls=function(){return _channelQueue},_self.initialize=function(config,core,extensions){_self.isInitialized()||(_base.initialize(config,core,extensions),function _createChannelQueues(channels,extensions){if(_channelQueue=[],channels&&arrForEach(channels,(function(queue){return _addChannelQueue(queue)})),extensions){var extensionQueue_1=[];arrForEach(extensions,(function(plugin){plugin.priority>500&&extensionQueue_1.push(plugin)})),_addChannelQueue(extensionQueue_1)}}((config||{}).channels,extensions),arrForEach(_channelQueue,(function(queue){return initializePlugins(new ProcessTelemetryContext(queue,config,core),extensions)})))}})),_this}var proto;return __extends(ChannelController,_super),ChannelController._staticInit=(objDefineAccessors(proto=ChannelController.prototype,"ChannelControls",proto.getChannelControls),void objDefineAccessors(proto,"channelQueue",proto.getChannelControls)),ChannelController}(BaseTelemetryPlugin),_supportsCookies=null,_allowUaSameSite=null,_parsedCookieValue=null,_doc=getDocument(),_cookieCache={},_globalCookieConfig={};function _gblCookieMgr(config,logger){var inst=createCookieMgr._ckMgr||_globalCookieConfig._ckMgr;return inst||(inst=createCookieMgr._ckMgr=createCookieMgr(config,logger),_globalCookieConfig._ckMgr=inst),inst}function _isMgrEnabled(cookieMgr){return!cookieMgr||cookieMgr.isEnabled()}function safeGetCookieMgr(core,config){var cookieMgr;if(core)cookieMgr=core.getCookieMgr();else if(config){var cookieCfg=(config||{}).cookieCfg;cookieMgr=cookieCfg._ckMgr?cookieCfg._ckMgr:createCookieMgr(config)}return cookieMgr||(cookieMgr=_gblCookieMgr(config,(core||{}).logger)),cookieMgr}function createCookieMgr(rootConfig,logger){var cookieMgrConfig=function _createCookieMgrConfig(rootConfig){var cookieMgrCfg=rootConfig.cookieCfg=rootConfig.cookieCfg||{};if(setValue(cookieMgrCfg,"domain",rootConfig.cookieDomain,isNotNullOrUndefined,isNullOrUndefined),setValue(cookieMgrCfg,"path",rootConfig.cookiePath||"/",null,isNullOrUndefined),isNullOrUndefined(cookieMgrCfg.enabled)){var cookieEnabled=void 0;isUndefined(rootConfig.isCookieUseDisabled)||(cookieEnabled=!rootConfig.isCookieUseDisabled),isUndefined(rootConfig.disableCookiesUsage)||(cookieEnabled=!rootConfig.disableCookiesUsage),cookieMgrCfg.enabled=cookieEnabled}return cookieMgrCfg}(rootConfig||_globalCookieConfig),_path=cookieMgrConfig.path||"/",_domain=cookieMgrConfig.domain,_enabled=!1!==cookieMgrConfig.enabled,cookieMgr={isEnabled:function(){var enabled=_enabled&&areCookiesSupported(logger),gblManager=_globalCookieConfig._ckMgr;return enabled&&gblManager&&cookieMgr!==gblManager&&(enabled=_isMgrEnabled(gblManager)),enabled},setEnabled:function(value){_enabled=!1!==value},set:function(name,value,maxAgeSec,domain,path){if(_isMgrEnabled(cookieMgr)){var values={},theValue=strTrim(value||""),idx=theValue.indexOf(";");if(-1!==idx&&(theValue=strTrim(value.substring(0,idx)),values=_extractParts(value.substring(idx+1))),setValue(values,"domain",domain||_domain,isTruthy,isUndefined),!isNullOrUndefined(maxAgeSec)){var _isIE=isIE();if(isUndefined(values.expires)){var expireMs=dateNow()+1e3*maxAgeSec;if(expireMs>0){var expiry=new Date;expiry.setTime(expireMs),setValue(values,"expires",_formatDate(expiry,_isIE?"toGMTString":"toUTCString")||_formatDate(expiry,_isIE?"toGMTString":"toUTCString")||"",isTruthy)}}_isIE||setValue(values,"max-age",""+maxAgeSec,null,isUndefined)}var location_1=getLocation();location_1&&"https:"===location_1.protocol&&(setValue(values,"secure",null,null,isUndefined),null===_allowUaSameSite&&(_allowUaSameSite=!uaDisallowsSameSiteNone((getNavigator()||{}).userAgent)),_allowUaSameSite&&setValue(values,"SameSite","None",null,isUndefined)),setValue(values,"path",path||_path,null,isUndefined),(cookieMgrConfig.setCookie||_setCookieValue)(name,_formatCookieValue(theValue,values))}},get:function(name){var value="";return _isMgrEnabled(cookieMgr)&&(value=(cookieMgrConfig.getCookie||_getCookieValue)(name)),value},del:function(name,path){_isMgrEnabled(cookieMgr)&&cookieMgr.purge(name,path)},purge:function(name,path){if(areCookiesSupported(logger)){var values=((_a={}).path=path||"/",_a.expires="Thu, 01 Jan 1970 00:00:01 GMT",_a);isIE()||(values["max-age"]="0"),(cookieMgrConfig.delCookie||_setCookieValue)(name,_formatCookieValue("",values))}var _a}};return cookieMgr._ckMgr=cookieMgr,cookieMgr}function areCookiesSupported(logger){if(null===_supportsCookies){_supportsCookies=!1;try{_supportsCookies=void 0!==(_doc||{}).cookie}catch(e){logger&&logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_CannotAccessCookie,"Cannot access document.cookie - "+getExceptionName(e),{exception:dumpObj(e)})}}return _supportsCookies}function _extractParts(theValue){var values={};return theValue&&theValue.length&&arrForEach(strTrim(theValue).split(";"),(function(thePart){if(thePart=strTrim(thePart||"")){var idx=thePart.indexOf("=");-1===idx?values[thePart]=null:values[strTrim(thePart.substring(0,idx))]=strTrim(thePart.substring(idx+1))}})),values}function _formatDate(theDate,func){return isFunction(theDate[func])?theDate[func]():null}function _formatCookieValue(value,values){var cookieValue=value||"";return objForEachKey(values,(function(name,theValue){cookieValue+="; "+name+(isNullOrUndefined(theValue)?"":"="+theValue)})),cookieValue}function _getCookieValue(name){var cookieValue="";if(_doc){var theCookie=_doc.cookie||"";_parsedCookieValue!==theCookie&&(_cookieCache=_extractParts(theCookie),_parsedCookieValue=theCookie),cookieValue=strTrim(_cookieCache[name]||"")}return cookieValue}function _setCookieValue(name,cookieValue){_doc&&(_doc.cookie=name+"="+cookieValue)}function uaDisallowsSameSiteNone(userAgent){return!(!isString(userAgent)||!strContains(userAgent,"CPU iPhone OS 12")&&!strContains(userAgent,"iPad; CPU OS 12")&&!(strContains(userAgent,"Macintosh; Intel Mac OS X 10_14")&&strContains(userAgent,"Version/")&&strContains(userAgent,"Safari"))&&(!strContains(userAgent,"Macintosh; Intel Mac OS X 10_14")||!function strEndsWith(value,search){if(value&&search){var searchLen=search.length,valLen=value.length;if(value===search)return!0;if(valLen>=searchLen){for(var pos=valLen-1,lp=searchLen-1;lp>=0;lp--){if(value[pos]!=search[lp])return!1;pos--}return!0}}return!1}(userAgent,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!strContains(userAgent,"Chrome/5")&&!strContains(userAgent,"Chrome/6")&&(!strContains(userAgent,"UnrealEngine")||strContains(userAgent,"Chrome"))&&!strContains(userAgent,"UCBrowser/12")&&!strContains(userAgent,"UCBrowser/11"))}var NotificationManager=function NotificationManager(config){this.listeners=[];var perfEvtsSendAll=!!(config||{}).perfEvtsSendAll;dynamicProto(NotificationManager,this,(function(_self){_self.addNotificationListener=function(listener){_self.listeners.push(listener)},_self.removeNotificationListener=function(listener){for(var index=arrIndexOf(_self.listeners,listener);index>-1;)_self.listeners.splice(index,1),index=arrIndexOf(_self.listeners,listener)},_self.eventsSent=function(events){arrForEach(_self.listeners,(function(listener){listener&&listener.eventsSent&&setTimeout((function(){return listener.eventsSent(events)}),0)}))},_self.eventsDiscarded=function(events,reason){arrForEach(_self.listeners,(function(listener){listener&&listener.eventsDiscarded&&setTimeout((function(){return listener.eventsDiscarded(events,reason)}),0)}))},_self.eventsSendRequest=function(sendReason,isAsync){arrForEach(_self.listeners,(function(listener){if(listener&&listener.eventsSendRequest)if(isAsync)setTimeout((function(){return listener.eventsSendRequest(sendReason,isAsync)}),0);else try{listener.eventsSendRequest(sendReason,isAsync)}catch(e){}}))},_self.perfEvent=function(perfEvent){perfEvent&&(!perfEvtsSendAll&&perfEvent.isChildEvt()||arrForEach(_self.listeners,(function(listener){if(listener&&listener.perfEvent)if(perfEvent.isAsync)setTimeout((function(){return listener.perfEvent(perfEvent)}),0);else try{listener.perfEvent(perfEvent)}catch(e){}})))}}))},AppInsightsCore=function(_super){function AppInsightsCore(){var _this=_super.call(this)||this;return dynamicProto(AppInsightsCore,_this,(function(_self,_base){function _notifyInvalidEvent(telemetryItem){var manager=_self.getNotifyMgr();manager&&manager.eventsDiscarded([telemetryItem],EventsDiscardedReason_InvalidEvent)}_self.initialize=function(config,extensions,logger,notificationManager){_base.initialize(config,extensions,logger||new DiagnosticLogger(config),notificationManager||new NotificationManager(config))},_self.track=function(telemetryItem){doPerf(_self.getPerfMgr(),(function(){return"AppInsightsCore:track"}),(function(){null===telemetryItem&&(_notifyInvalidEvent(telemetryItem),throwError("Invalid telemetry item")),function _validateTelemetryItem(telemetryItem){if(isNullOrUndefined(telemetryItem.name))throw _notifyInvalidEvent(telemetryItem),Error("telemetry name required")}(telemetryItem),_base.track(telemetryItem)}),(function(){return{item:telemetryItem}}),!telemetryItem.sync)},_self.addNotificationListener=function(listener){var manager=_self.getNotifyMgr();manager&&manager.addNotificationListener(listener)},_self.removeNotificationListener=function(listener){var manager=_self.getNotifyMgr();manager&&manager.removeNotificationListener(listener)},_self.pollInternalLogs=function(eventName){var interval=_self.config.diagnosticLogInterval;return interval&&interval>0||(interval=1e4),setInterval((function(){var queue=_self.logger?_self.logger.queue:[];arrForEach(queue,(function(logMessage){var item={name:eventName||"InternalMessageId: "+logMessage.messageId,iKey:_self.config.instrumentationKey,time:toISOString(new Date),baseType:_InternalLogMessage.dataType,baseData:{message:logMessage.message}};_self.track(item)})),queue.length=0}),interval)}})),_this}return __extends(AppInsightsCore,_super),AppInsightsCore}((function BaseCore(){var _eventQueue,_channelController,_notificationManager,_perfManager,_cookieManager,_isInitialized=!1;dynamicProto(BaseCore,this,(function(_self){_self._extensions=new Array,_channelController=new ChannelController,_self.logger=objCreateFn({throwInternal:function(severity,msgId,msg,properties,isUserAct){},warnToConsole:function(message){},resetInternalMessageCount:function(){}}),_eventQueue=[],_self.isInitialized=function(){return _isInitialized},_self.initialize=function(config,extensions,logger,notificationManager){_self.isInitialized()&&throwError("Core should not be initialized more than once"),config&&!isNullOrUndefined(config.instrumentationKey)||throwError("Please provide instrumentation key"),_notificationManager=notificationManager,_self._notificationManager=notificationManager,_self.config=config||{},config.extensions=isNullOrUndefined(config.extensions)?[]:config.extensions,getSetValue(config,"extensionConfig").NotificationManager=notificationManager,logger&&(_self.logger=logger);var allExtensions=[];allExtensions.push.apply(allExtensions,extensions.concat(config.extensions)),allExtensions=sortPlugins(allExtensions);var coreExtensions=[],extPriorities={};arrForEach(allExtensions,(function(ext){(isNullOrUndefined(ext)||isNullOrUndefined(ext.initialize))&&throwError("Extensions must provide callback to initialize");var extPriority=ext.priority,identifier=ext.identifier;ext&&extPriority&&(isNullOrUndefined(extPriorities[extPriority])?extPriorities[extPriority]=identifier:logger.warnToConsole("Two extensions have same priority #"+extPriority+" - "+extPriorities[extPriority]+", "+identifier)),(!extPriority||extPriority<_channelController.priority)&&coreExtensions.push(ext)})),allExtensions.push(_channelController),coreExtensions.push(_channelController),allExtensions=sortPlugins(allExtensions),_self._extensions=allExtensions,initializePlugins(new ProcessTelemetryContext([_channelController],config,_self),allExtensions),initializePlugins(new ProcessTelemetryContext(coreExtensions,config,_self),allExtensions),_self._extensions=coreExtensions,0===_self.getTransmissionControls().length&&throwError("No channels available"),_isInitialized=!0,_self.releaseQueue()},_self.getTransmissionControls=function(){return _channelController.getChannelControls()},_self.track=function(telemetryItem){setValue(telemetryItem,"iKey",_self.config.instrumentationKey,null,isNotTruthy),setValue(telemetryItem,"time",toISOString(new Date),null,isNotTruthy),setValue(telemetryItem,"ver","4.0",null,isNullOrUndefined),_self.isInitialized()?_self.getProcessTelContext().processNext(telemetryItem):_eventQueue.push(telemetryItem)},_self.getProcessTelContext=function(){var extensions=_self._extensions,thePlugins=extensions;return extensions&&0!==extensions.length||(thePlugins=[_channelController]),new ProcessTelemetryContext(thePlugins,_self.config,_self)},_self.getNotifyMgr=function(){return _notificationManager||(_notificationManager=objCreateFn({addNotificationListener:function(listener){},removeNotificationListener:function(listener){},eventsSent:function(events){},eventsDiscarded:function(events,reason){},eventsSendRequest:function(sendReason,isAsync){}}),_self._notificationManager=_notificationManager),_notificationManager},_self.getCookieMgr=function(){return _cookieManager||(_cookieManager=createCookieMgr(_self.config,_self.logger)),_cookieManager},_self.setCookieMgr=function(cookieMgr){_cookieManager=cookieMgr},_self.getPerfMgr=function(){return _perfManager||_self.config&&_self.config.enablePerfMgr&&(_perfManager=new PerfManager(_self.getNotifyMgr())),_perfManager},_self.setPerfMgr=function(perfMgr){_perfManager=perfMgr},_self.eventCnt=function(){return _eventQueue.length},_self.releaseQueue=function(){_eventQueue.length>0&&(arrForEach(_eventQueue,(function(event){_self.getProcessTelContext().processNext(event)})),_eventQueue=[])}}))})),_mwcSeeded=!1,_mwcW=123456789,_mwcZ=987654321;function _mwcSeed(seedValue){seedValue<0&&(seedValue>>>=0),_mwcW=123456789+seedValue&4294967295,_mwcZ=987654321-seedValue&4294967295,_mwcSeeded=!0}function _autoSeedMwc(){try{var now=2147483647&dateNow();_mwcSeed((4294967296*Math.random()^now)+now)}catch(e){}}function randomValue(maxValue){return maxValue>0?Math.floor(random32()/4294967295*(maxValue+1))>>>0:0}function random32(signed){var value,c=function getCrypto(){return getGlobalInst("crypto")}()||function getMsCrypto(){return getGlobalInst("msCrypto")}();return c&&c.getRandomValues?value=4294967295&c.getRandomValues(new Uint32Array(1))[0]:isIE()?(_mwcSeeded||_autoSeedMwc(),value=4294967295&mwcRandom32()):value=Math.floor(4294967296*Math.random()|0),signed||(value>>>=0),value}function mwcRandom32(signed){var value=((_mwcZ=36969*(65535&_mwcZ)+(_mwcZ>>16)&4294967295)<<16)+(65535&(_mwcW=18e3*(65535&_mwcW)+(_mwcW>>16)&4294967295))>>>0&4294967295|0;return signed||(value>>>=0),value}var _canUseCookies,_cookieMgrs=null;function addEventHandler(eventName,callback){var result=!1,w=getWindow();w&&(result=attachEvent(w,eventName,callback),result=attachEvent(w.body,eventName,callback)||result);var doc=getDocument();return doc&&(result=EventHelper.Attach(doc,eventName,callback)||result),result}function newId(maxLength){void 0===maxLength&&(maxLength=22);for(var number=random32()>>>0,chars=0,result="";result.length<maxLength;)chars++,result+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&number),number>>>=6,5===chars&&(number=(random32()<<2&4294967295|3&number)>>>0,chars=0);return result}function generateW3CId(){for(var tmp,hexValues=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],oct="",a=0;a<4;a++)oct+=hexValues[15&(tmp=random32())]+hexValues[tmp>>4&15]+hexValues[tmp>>8&15]+hexValues[tmp>>12&15]+hexValues[tmp>>16&15]+hexValues[tmp>>20&15]+hexValues[tmp>>24&15]+hexValues[tmp>>28&15];var clockSequenceHi=hexValues[8+(3&random32())|0];return oct.substr(0,8)+oct.substr(9,4)+"4"+oct.substr(13,3)+clockSequenceHi+oct.substr(16,3)+oct.substr(19,12)}var CoreUtils={_canUseCookies:void 0,isTypeof:function isTypeof(value,theType){return typeof value===theType},isUndefined:isUndefined,isNullOrUndefined:isNullOrUndefined,hasOwnProperty:hasOwnProperty,isFunction:isFunction,isObject:isObject,isDate:isDate,isArray:isArray,isError:isError,isString:isString,isNumber:isNumber,isBoolean:isBoolean,toISOString:toISOString,arrForEach:arrForEach,arrIndexOf:arrIndexOf,arrMap:arrMap,arrReduce:arrReduce,strTrim:strTrim,objCreate:objCreateFn,objKeys:objKeys,objDefineAccessors:objDefineAccessors,addEventHandler:addEventHandler,dateNow:dateNow,isIE:isIE,disableCookies:disableCookies,newGuid:function newGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(GuidRegex,(function(c){var r=0|function randomHexDigit(){return randomValue(15)}();return("x"===c?r:3&r|8).toString(16)}))},perfNow:function perfNow(){var perf=getPerformance();return perf&&perf.now?perf.now():dateNow()},newId:newId,randomValue:randomValue,random32:random32,mwcRandomSeed:function mwcRandomSeed(value){value?_mwcSeed(value):_autoSeedMwc()},mwcRandom32:mwcRandom32,generateW3CId:generateW3CId},GuidRegex=/[xy]/g,EventHelper={Attach:attachEvent,AttachEvent:attachEvent,Detach:detachEvent,DetachEvent:detachEvent};function _legacyCookieMgr(config,logger){var cookieMgr=_gblCookieMgr(config,logger),legacyCanUseCookies=CoreUtils._canUseCookies;return null===_cookieMgrs&&(_cookieMgrs=[],_canUseCookies=legacyCanUseCookies,objDefineAccessors(CoreUtils,"_canUseCookies",(function(){return _canUseCookies}),(function(value){_canUseCookies=value,arrForEach(_cookieMgrs,(function(mgr){mgr.setEnabled(value)}))}))),-1===arrIndexOf(_cookieMgrs,cookieMgr)&&_cookieMgrs.push(cookieMgr),isBoolean(legacyCanUseCookies)&&cookieMgr.setEnabled(legacyCanUseCookies),isBoolean(_canUseCookies)&&cookieMgr.setEnabled(_canUseCookies),cookieMgr}function disableCookies(){_legacyCookieMgr().setEnabled(!1)}var cbNames=["req","rsp","hkErr","fnErr"];function _arrLoop(arr,fn){if(arr)for(var lp=0;lp<arr.length&&!fn(arr[lp],lp);lp++);}function _doCallbacks(hooks,callDetails,cbArgs,hookCtx,type){type>=0&&type<=2&&_arrLoop(hooks,(function(hook,idx){var cbks=hook.cbks,cb=cbks[cbNames[type]];if(cb){callDetails.ctx=function(){return hookCtx[idx]=hookCtx[idx]||{}};try{cb.apply(callDetails.inst,cbArgs)}catch(err){var orgEx=callDetails.err;try{var hookErrorCb=cbks[cbNames[2]];hookErrorCb&&(callDetails.err=err,hookErrorCb.apply(callDetails.inst,cbArgs))}catch(e){}finally{callDetails.err=orgEx}}}}))}var _objGetPrototypeOf=Object.getPrototypeOf;function _getOwner(target,name,checkPrototype){var owner=null;return target&&(hasOwnProperty(target,name)?owner=target:checkPrototype&&(owner=_getOwner(function _getObjProto(target){if(target){if(_objGetPrototypeOf)return _objGetPrototypeOf(target);var newProto=target.__proto__||target.prototype||target.constructor;if(newProto)return newProto}return null}(target),name,!1))),owner}function InstrumentFunc(target,funcName,callbacks,checkPrototype){if(void 0===checkPrototype&&(checkPrototype=!0),target&&funcName&&callbacks){var owner=_getOwner(target,funcName,checkPrototype);if(owner){var fn=owner[funcName];if("function"==typeof fn){var aiHook_1=fn._aiHooks;if(!aiHook_1){var newFunc=function _createFunctionHook(aiHook){return function(){var funcThis=this,orgArgs=arguments,hooks=aiHook.h,funcArgs={name:aiHook.n,inst:funcThis,ctx:null,set:_replaceArg},hookCtx=[],cbArgs=_createArgs([funcArgs],orgArgs);function _createArgs(target,theArgs){return _arrLoop(theArgs,(function(arg){target.push(arg)})),target}function _replaceArg(idx,value){(orgArgs=_createArgs([],orgArgs))[idx]=value,cbArgs=_createArgs([funcArgs],orgArgs)}_doCallbacks(hooks,funcArgs,cbArgs,hookCtx,0);var theFunc=aiHook.f;try{funcArgs.rslt=theFunc.apply(funcThis,orgArgs)}catch(err){throw funcArgs.err=err,_doCallbacks(hooks,funcArgs,cbArgs,hookCtx,3),err}return _doCallbacks(hooks,funcArgs,cbArgs,hookCtx,1),funcArgs.rslt}}(aiHook_1={i:0,n:funcName,f:fn,h:[]});newFunc._aiHooks=aiHook_1,owner[funcName]=newFunc}var theHook={id:aiHook_1.i,cbks:callbacks,rm:function(){var id=this.id;_arrLoop(aiHook_1.h,(function(hook,idx){if(hook.id===id)return aiHook_1.h.splice(idx,1),1}))}};return aiHook_1.i++,aiHook_1.h.push(theHook),theHook}}}return null}var RequestHeaders={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"},DataSanitizer=function(){function DataSanitizer(){}return DataSanitizer.sanitizeKeyAndAddUniqueness=function(logger,key,map){var origLength=key.length,field=DataSanitizer.sanitizeKey(logger,key);if(field.length!==origLength){for(var i=0,uniqueField=field;void 0!==map[uniqueField];)i++,uniqueField=field.substring(0,DataSanitizer.MAX_NAME_LENGTH-3)+DataSanitizer.padNumber(i);field=uniqueField}return field},DataSanitizer.sanitizeKey=function(logger,name){var nameTrunc;return name&&(name=DataSanitizer.trim(name.toString())).length>DataSanitizer.MAX_NAME_LENGTH&&(nameTrunc=name.substring(0,DataSanitizer.MAX_NAME_LENGTH),logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_NameTooLong,"name is too long.  It has been truncated to "+DataSanitizer.MAX_NAME_LENGTH+" characters.",{name:name},!0)),nameTrunc||name},DataSanitizer.sanitizeString=function(logger,value,maxLength){var valueTrunc;return void 0===maxLength&&(maxLength=DataSanitizer.MAX_STRING_LENGTH),value&&(maxLength=maxLength||DataSanitizer.MAX_STRING_LENGTH,(value=DataSanitizer.trim(value)).toString().length>maxLength&&(valueTrunc=value.toString().substring(0,maxLength),logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_StringValueTooLong,"string value is too long. It has been truncated to "+maxLength+" characters.",{value:value},!0))),valueTrunc||value},DataSanitizer.sanitizeUrl=function(logger,url){return DataSanitizer.sanitizeInput(logger,url,DataSanitizer.MAX_URL_LENGTH,_InternalMessageId_UrlTooLong)},DataSanitizer.sanitizeMessage=function(logger,message){var messageTrunc;return message&&message.length>DataSanitizer.MAX_MESSAGE_LENGTH&&(messageTrunc=message.substring(0,DataSanitizer.MAX_MESSAGE_LENGTH),logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_MessageTruncated,"message is too long, it has been truncated to "+DataSanitizer.MAX_MESSAGE_LENGTH+" characters.",{message:message},!0)),messageTrunc||message},DataSanitizer.sanitizeException=function(logger,exception){var exceptionTrunc;return exception&&exception.length>DataSanitizer.MAX_EXCEPTION_LENGTH&&(exceptionTrunc=exception.substring(0,DataSanitizer.MAX_EXCEPTION_LENGTH),logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_ExceptionTruncated,"exception is too long, it has been truncated to "+DataSanitizer.MAX_EXCEPTION_LENGTH+" characters.",{exception:exception},!0)),exceptionTrunc||exception},DataSanitizer.sanitizeProperties=function(logger,properties){if(properties){var tempProps_1={};objForEachKey(properties,(function(prop,value){if(isObject(value)&&hasJSON())try{value=getJSON().stringify(value)}catch(e){logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:e},!0)}value=DataSanitizer.sanitizeString(logger,value,DataSanitizer.MAX_PROPERTY_LENGTH),prop=DataSanitizer.sanitizeKeyAndAddUniqueness(logger,prop,tempProps_1),tempProps_1[prop]=value})),properties=tempProps_1}return properties},DataSanitizer.sanitizeMeasurements=function(logger,measurements){if(measurements){var tempMeasurements_1={};objForEachKey(measurements,(function(measure,value){measure=DataSanitizer.sanitizeKeyAndAddUniqueness(logger,measure,tempMeasurements_1),tempMeasurements_1[measure]=value})),measurements=tempMeasurements_1}return measurements},DataSanitizer.sanitizeId=function(logger,id){return id?DataSanitizer.sanitizeInput(logger,id,DataSanitizer.MAX_ID_LENGTH,_InternalMessageId_IdTooLong).toString():id},DataSanitizer.sanitizeInput=function(logger,input,maxLength,_msgId){var inputTrunc;return input&&(input=DataSanitizer.trim(input)).length>maxLength&&(inputTrunc=input.substring(0,maxLength),logger.throwInternal(LoggingSeverity.WARNING,_msgId,"input is too long, it has been truncated to "+maxLength+" characters.",{data:input},!0)),inputTrunc||input},DataSanitizer.padNumber=function(num){var s="00"+num;return s.substr(s.length-3)},DataSanitizer.trim=function(str){return isString(str)?str.replace(/^\s+|\s+$/g,""):str},DataSanitizer.MAX_NAME_LENGTH=150,DataSanitizer.MAX_ID_LENGTH=128,DataSanitizer.MAX_PROPERTY_LENGTH=8192,DataSanitizer.MAX_STRING_LENGTH=1024,DataSanitizer.MAX_URL_LENGTH=2048,DataSanitizer.MAX_MESSAGE_LENGTH=32768,DataSanitizer.MAX_EXCEPTION_LENGTH=32768,DataSanitizer}();function createDomEvent(eventName){var event=null;if(isFunction(Event))event=new Event(eventName);else{var doc=getDocument();doc&&doc.createEvent&&(event=doc.createEvent("Event")).initEvent(eventName,!0,!0)}return event}function stringToBoolOrDefault(str,defaultValue){return void 0===defaultValue&&(defaultValue=!1),null==str?defaultValue:"true"===str.toString().toLowerCase()}function msToTimeSpan(totalms){(isNaN(totalms)||totalms<0)&&(totalms=0);var ms=""+(totalms=Math.round(totalms))%1e3,sec=""+Math.floor(totalms/1e3)%60,min=""+Math.floor(totalms/6e4)%60,hour=""+Math.floor(totalms/36e5)%24,days=Math.floor(totalms/864e5);return ms=1===ms.length?"00"+ms:2===ms.length?"0"+ms:ms,sec=sec.length<2?"0"+sec:sec,min=min.length<2?"0"+min:min,(days>0?days+".":"")+(hour=hour.length<2?"0"+hour:hour)+":"+min+":"+sec+"."+ms}function isBeaconApiSupported(){var nav=getNavigator();return"sendBeacon"in nav&&nav.sendBeacon}function getExtensionByName(extensions,identifier){var extension=null;return arrForEach(extensions,(function(value){if(value.identifier===identifier)return extension=value,-1})),extension}function isCrossOriginError(message,url,lineNumber,columnNumber,error){return!error&&isString(message)&&("Script error."===message||"Script error"===message)}var StorageType,FieldType,DistributedTracingModes,DisabledPropertyName="Microsoft_ApplicationInsights_BypassAjaxInstrumentation";!function(StorageType){StorageType[StorageType.LocalStorage=0]="LocalStorage",StorageType[StorageType.SessionStorage=1]="SessionStorage"}(StorageType||(StorageType={})),function(FieldType){FieldType[FieldType.Default=0]="Default",FieldType[FieldType.Required=1]="Required",FieldType[FieldType.Array=2]="Array",FieldType[FieldType.Hidden=4]="Hidden"}(FieldType||(FieldType={})),function(DistributedTracingModes){DistributedTracingModes[DistributedTracingModes.AI=0]="AI",DistributedTracingModes[DistributedTracingModes.AI_AND_W3C=1]="AI_AND_W3C",DistributedTracingModes[DistributedTracingModes.W3C=2]="W3C"}(DistributedTracingModes||(DistributedTracingModes={}));var _canUseLocalStorage=void 0,_canUseSessionStorage=void 0;function _getLocalStorageObject(){return utlCanUseLocalStorage()?_getVerifiedStorageObject(StorageType.LocalStorage):null}function _getVerifiedStorageObject(storageType){try{if(isNullOrUndefined(getGlobal()))return null;var uid=new Date,storage=getGlobalInst(storageType===StorageType.LocalStorage?"localStorage":"sessionStorage");storage.setItem(uid.toString(),uid.toString());var fail=storage.getItem(uid.toString())!==uid.toString();if(storage.removeItem(uid.toString()),!fail)return storage}catch(exception){}return null}function _getSessionStorageObject(){return utlCanUseSessionStorage()?_getVerifiedStorageObject(StorageType.SessionStorage):null}function utlDisableStorage(){_canUseLocalStorage=!1,_canUseSessionStorage=!1}function utlCanUseLocalStorage(){return void 0===_canUseLocalStorage&&(_canUseLocalStorage=!!_getVerifiedStorageObject(StorageType.LocalStorage)),_canUseLocalStorage}function utlGetLocalStorage(logger,name){var storage=_getLocalStorageObject();if(null!==storage)try{return storage.getItem(name)}catch(e){_canUseLocalStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+getExceptionName(e),{exception:dumpObj(e)})}return null}function utlSetLocalStorage(logger,name,data){var storage=_getLocalStorageObject();if(null!==storage)try{return storage.setItem(name,data),!0}catch(e){_canUseLocalStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+getExceptionName(e),{exception:dumpObj(e)})}return!1}function utlRemoveStorage(logger,name){var storage=_getLocalStorageObject();if(null!==storage)try{return storage.removeItem(name),!0}catch(e){_canUseLocalStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserFailedRemovalFromLocalStorage,"Browser failed removal of local storage item. "+getExceptionName(e),{exception:dumpObj(e)})}return!1}function utlCanUseSessionStorage(){return void 0===_canUseSessionStorage&&(_canUseSessionStorage=!!_getVerifiedStorageObject(StorageType.SessionStorage)),_canUseSessionStorage}function utlGetSessionStorage(logger,name){var storage=_getSessionStorageObject();if(null!==storage)try{return storage.getItem(name)}catch(e){_canUseSessionStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+getExceptionName(e),{exception:dumpObj(e)})}return null}function utlSetSessionStorage(logger,name,data){var storage=_getSessionStorageObject();if(null!==storage)try{return storage.setItem(name,data),!0}catch(e){_canUseSessionStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+getExceptionName(e),{exception:dumpObj(e)})}return!1}function utlRemoveSessionStorage(logger,name){var storage=_getSessionStorageObject();if(null!==storage)try{return storage.removeItem(name),!0}catch(e){_canUseSessionStorage=!1,logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+getExceptionName(e),{exception:dumpObj(e)})}return!1}var _document=getDocument()||{},_htmlAnchorIdx=0,_htmlAnchorElement=[null,null,null,null,null];function urlParseUrl(url){var anchorIdx=_htmlAnchorIdx,anchorCache=_htmlAnchorElement,tempAnchor=anchorCache[anchorIdx];return _document.createElement?anchorCache[anchorIdx]||(tempAnchor=anchorCache[anchorIdx]=_document.createElement("a")):tempAnchor={host:urlParseHost(url,!0)},tempAnchor.href=url,++anchorIdx>=anchorCache.length&&(anchorIdx=0),_htmlAnchorIdx=anchorIdx,tempAnchor}function urlGetAbsoluteUrl(url){var result,a=urlParseUrl(url);return a&&(result=a.href),result}function urlGetCompleteUrl(method,absoluteUrl){return method?method.toUpperCase()+" "+absoluteUrl:absoluteUrl}function urlParseHost(url,inclPort){var fullHost=urlParseFullHost(url,inclPort);if(fullHost){var match=fullHost.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=match&&match.length>3&&isString(match[2])&&match[2].length>0)return match[2]+(match[3]||"")}return fullHost}function urlParseFullHost(url,inclPort){var result=null;if(url){var match=url.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i);if(null!=match&&match.length>2&&isString(match[2])&&match[2].length>0&&(result=match[2]||"",inclPort&&match.length>2)){var protocol=(match[1]||"").toLowerCase(),port=match[3]||"";("http"===protocol&&":80"===port||"https"===protocol&&":443"===port)&&(port=""),result+=port}}return result}var _internalEndpoints=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function isInternalApplicationInsightsEndpoint(endpointUrl){return-1!==_internalEndpoints.indexOf(endpointUrl.toLowerCase())}var Util={NotSpecified:"not_specified",createDomEvent:createDomEvent,disableStorage:utlDisableStorage,isInternalApplicationInsightsEndpoint:isInternalApplicationInsightsEndpoint,canUseLocalStorage:utlCanUseLocalStorage,getStorage:utlGetLocalStorage,setStorage:utlSetLocalStorage,removeStorage:utlRemoveStorage,canUseSessionStorage:utlCanUseSessionStorage,getSessionStorageKeys:function utlGetSessionStorageKeys(){var keys=[];return utlCanUseSessionStorage()&&objForEachKey(getGlobalInst("sessionStorage"),(function(key){keys.push(key)})),keys},getSessionStorage:utlGetSessionStorage,setSessionStorage:utlSetSessionStorage,removeSessionStorage:utlRemoveSessionStorage,disableCookies:disableCookies,canUseCookies:function canUseCookies(logger){return _legacyCookieMgr(null,logger).isEnabled()},disallowsSameSiteNone:uaDisallowsSameSiteNone,setCookie:function setCookie(logger,name,value,domain){_legacyCookieMgr(null,logger).set(name,value,null,domain)},stringToBoolOrDefault:stringToBoolOrDefault,getCookie:function getCookie(logger,name){return _legacyCookieMgr(null,logger).get(name)},deleteCookie:function deleteCookie(logger,name){return _legacyCookieMgr(null,logger).del(name)},trim:strTrim,newId:newId,random32:function(){return random32(!0)},generateW3CId:generateW3CId,isArray:isArray,isError:isError,isDate:isDate,toISOStringForIE8:toISOString,getIEVersion:getIEVersion,msToTimeSpan:msToTimeSpan,isCrossOriginError:isCrossOriginError,dump:dumpObj,getExceptionName:getExceptionName,addEventHandler:attachEvent,IsBeaconApiSupported:isBeaconApiSupported,getExtension:getExtensionByName},UrlHelper={parseUrl:urlParseUrl,getAbsoluteUrl:urlGetAbsoluteUrl,getPathName:function urlGetPathName(url){var result,a=urlParseUrl(url);return a&&(result=a.pathname),result},getCompleteUrl:urlGetCompleteUrl,parseHost:urlParseHost,parseFullHost:urlParseFullHost},CorrelationIdHelper={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(config,requestUrl,currentHost){if(!requestUrl||config&&config.disableCorrelationHeaders)return!1;if(config&&config.correlationHeaderExcludePatterns)for(var i=0;i<config.correlationHeaderExcludePatterns.length;i++)if(config.correlationHeaderExcludePatterns[i].test(requestUrl))return!1;var requestHost=urlParseUrl(requestUrl).host.toLowerCase();if(!requestHost||-1===requestHost.indexOf(":443")&&-1===requestHost.indexOf(":80")||(requestHost=(urlParseFullHost(requestUrl,!0)||"").toLowerCase()),!(config&&config.enableCorsCorrelation||requestHost===currentHost))return!1;var matchExists_1,includedDomains=config&&config.correlationHeaderDomains;if(includedDomains&&(arrForEach(includedDomains,(function(domain){var regex=new RegExp(domain.toLowerCase().replace(/\./g,".").replace(/\*/g,".*"));matchExists_1=matchExists_1||regex.test(requestHost)})),!matchExists_1))return!1;var excludedDomains=config&&config.correlationHeaderExcludedDomains;if(!excludedDomains||0===excludedDomains.length)return!0;for(i=0;i<excludedDomains.length;i++)if(new RegExp(excludedDomains[i].toLowerCase().replace(/\./g,".").replace(/\*/g,".*")).test(requestHost))return!1;return requestHost&&requestHost.length>0},getCorrelationContext:function(responseHeader){if(responseHeader){var correlationId=CorrelationIdHelper.getCorrelationContextValue(responseHeader,RequestHeaders.requestContextTargetKey);if(correlationId&&correlationId!==CorrelationIdHelper.correlationIdPrefix)return correlationId}},getCorrelationContextValue:function(responseHeader,key){if(responseHeader)for(var keyValues=responseHeader.split(","),i=0;i<keyValues.length;++i){var keyValue=keyValues[i].split("=");if(2===keyValue.length&&keyValue[0]===key)return keyValue[1]}}};function dateTimeUtilsNow(){var perf=getPerformance();if(perf&&perf.now&&perf.timing){var now=perf.now()+perf.timing.navigationStart;if(now>0)return now}return dateNow()}function dateTimeUtilsDuration(start,end){var result=null;return 0===start||0===end||isNullOrUndefined(start)||isNullOrUndefined(end)||(result=end-start),result}var DateTimeUtils={Now:dateTimeUtilsNow,GetDuration:dateTimeUtilsDuration};function parseConnectionString(connectionString){if(!connectionString)return{};var result=arrReduce(connectionString.split(";"),(function(fields,kv){var kvParts=kv.split("=");if(2===kvParts.length){var key=kvParts[0].toLowerCase(),value=kvParts[1];fields[key]=value}return fields}),{});if(objKeys(result).length>0){if(result.endpointsuffix){var locationPrefix=result.location?result.location+".":"";result.ingestionendpoint=result.ingestionendpoint||"https://"+locationPrefix+"dc."+result.endpointsuffix}result.ingestionendpoint=result.ingestionendpoint||"https://dc.services.visualstudio.com"}return result}var DataPointType,ConnectionStringParser={parse:parseConnectionString},Base=function Base(){},Data$1=function(_super){function Data(){return _super.call(this)||this}return __extends(Data,_super),Data}(Base),Envelope=function(_super){function Envelope(logger,data,name){var _this=_super.call(this)||this;return _this.name=DataSanitizer.sanitizeString(logger,name)||"not_specified",_this.data=data,_this.time=toISOString(new Date),_this.aiDataContract={time:FieldType.Required,iKey:FieldType.Required,name:FieldType.Required,sampleRate:function(){return 100===_this.sampleRate?FieldType.Hidden:FieldType.Required},tags:FieldType.Required,data:FieldType.Required},_this}return __extends(Envelope,_super),Envelope}((function Envelope(){this.ver=1,this.sampleRate=100,this.tags={}})),EventData=function EventData(){this.ver=2,this.properties={},this.measurements={}},Event$1=function(_super){function Event(logger,name,properties,measurements){var _this=_super.call(this)||this;return _this.aiDataContract={ver:FieldType.Required,name:FieldType.Required,properties:FieldType.Default,measurements:FieldType.Default},_this.name=DataSanitizer.sanitizeString(logger,name)||"not_specified",_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),_this}return __extends(Event,_super),Event.envelopeType="Microsoft.ApplicationInsights.{0}.Event",Event.dataType="EventData",Event}(EventData),StackFrame=function StackFrame(){},ExceptionDetails=function ExceptionDetails(){this.hasFullStack=!0,this.parsedStack=[]},Exception=function(_super){function Exception(logger,exception,properties,measurements,severityLevel,id){var _this=_super.call(this)||this;return _this.aiDataContract={ver:FieldType.Required,exceptions:FieldType.Required,severityLevel:FieldType.Default,properties:FieldType.Default,measurements:FieldType.Default},function _isExceptionInternal(value){return"ver"in value&&"exceptions"in value&&"properties"in value}(exception)?(_this.exceptions=exception.exceptions,_this.properties=exception.properties,_this.measurements=exception.measurements,exception.severityLevel&&(_this.severityLevel=exception.severityLevel),exception.id&&(_this.id=exception.id),exception.problemGroup&&(_this.problemGroup=exception.problemGroup),_this.ver=2,isNullOrUndefined(exception.isManual)||(_this.isManual=exception.isManual)):(_this.exceptions=[new _ExceptionDetails(logger,exception)],_this.properties=DataSanitizer.sanitizeProperties(logger,properties)||{},_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),severityLevel&&(_this.severityLevel=severityLevel),id&&(_this.id=id)),_this}return __extends(Exception,_super),Exception.CreateFromInterface=function(logger,exception,properties,measurements){var exceptions=exception.exceptions&&arrMap(exception.exceptions,(function(ex){return _ExceptionDetails.CreateFromInterface(logger,ex)}));return new Exception(logger,__assign({},exception,{exceptions:exceptions}),properties,measurements)},Exception.prototype.toInterface=function(){var _a=this,exceptions=_a.exceptions,properties=_a.properties,measurements=_a.measurements,severityLevel=_a.severityLevel;_a.ver;var problemGroup=_a.problemGroup,id=_a.id,isManual=_a.isManual;return{ver:"4.0",exceptions:exceptions instanceof Array&&arrMap(exceptions,(function(exception){return exception.toInterface()}))||void 0,severityLevel:severityLevel,properties:properties,measurements:measurements,problemGroup:problemGroup,id:id,isManual:isManual}},Exception.CreateSimpleException=function(message,typeName,assembly,fileName,details,line){return{exceptions:[{hasFullStack:!0,message:message,stack:details,typeName:typeName}]}},Exception.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",Exception.dataType="ExceptionData",Exception}((function ExceptionData(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}})),_ExceptionDetails=function(_super){function _ExceptionDetails(logger,exception){var _this=_super.call(this)||this;if(_this.aiDataContract={id:FieldType.Default,outerId:FieldType.Default,typeName:FieldType.Required,message:FieldType.Required,hasFullStack:FieldType.Default,stack:FieldType.Default,parsedStack:FieldType.Array},function _isExceptionDetailsInternal(value){return"hasFullStack"in value&&"typeName"in value}(exception))_this.typeName=exception.typeName,_this.message=exception.message,_this.stack=exception.stack,_this.parsedStack=exception.parsedStack,_this.hasFullStack=exception.hasFullStack;else{var error=exception;isError(error)||(error=error.error||error.evt||error),_this.typeName=DataSanitizer.sanitizeString(logger,function _getErrorType(errorType){var typeName="";if(errorType&&!(typeName=errorType.typeName||errorType.name||""))try{var results=/function (.{1,})\(/.exec(errorType.constructor.toString());typeName=results&&results.length>1?results[1]:""}catch(e){}return typeName}(error))||"not_specified",_this.message=DataSanitizer.sanitizeMessage(logger,exception.message)||"not_specified";var stack=exception.stack;_this.parsedStack=_ExceptionDetails.parseStack(stack),_this.stack=DataSanitizer.sanitizeException(logger,stack),_this.hasFullStack=isArray(_this.parsedStack)&&_this.parsedStack.length>0}return _this}return __extends(_ExceptionDetails,_super),_ExceptionDetails.prototype.toInterface=function(){var parsedStack=this.parsedStack instanceof Array&&arrMap(this.parsedStack,(function(frame){return frame.toInterface()}));return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this.stack,parsedStack:parsedStack||void 0}},_ExceptionDetails.CreateFromInterface=function(logger,exception){var parsedStack=exception.parsedStack instanceof Array&&arrMap(exception.parsedStack,(function(frame){return _StackFrame.CreateFromInterface(frame)}))||exception.parsedStack;return new _ExceptionDetails(logger,__assign({},exception,{parsedStack:parsedStack}))},_ExceptionDetails.parseStack=function(stack){var parsedStack;if(isString(stack)){var frames_1=stack.split("\n");parsedStack=[];for(var level=0,totalSizeInBytes=0,i=0;i<=frames_1.length;i++){var frame=frames_1[i];if(_StackFrame.regex.test(frame)){var parsedFrame=new _StackFrame(frames_1[i],level++);totalSizeInBytes+=parsedFrame.sizeInBytes,parsedStack.push(parsedFrame)}}if(totalSizeInBytes>32768)for(var left=0,right=parsedStack.length-1,size=0,acceptedLeft=left,acceptedRight=right;left<right;){if((size+=parsedStack[left].sizeInBytes+parsedStack[right].sizeInBytes)>32768){var howMany=acceptedRight-acceptedLeft+1;parsedStack.splice(acceptedLeft,howMany);break}acceptedLeft=left,acceptedRight=right,left++,right--}}return parsedStack},_ExceptionDetails}(ExceptionDetails),_StackFrame=function(_super){function _StackFrame(sourceFrame,level){var _this=_super.call(this)||this;if(_this.sizeInBytes=0,_this.aiDataContract={level:FieldType.Required,method:FieldType.Required,assembly:FieldType.Default,fileName:FieldType.Default,line:FieldType.Default},"string"==typeof sourceFrame){var frame=sourceFrame;_this.level=level,_this.method="<no_method>",_this.assembly=strTrim(frame),_this.fileName="",_this.line=0;var matches=frame.match(_StackFrame.regex);matches&&matches.length>=5&&(_this.method=strTrim(matches[2])||_this.method,_this.fileName=strTrim(matches[4]),_this.line=parseInt(matches[5])||0)}else _this.level=sourceFrame.level,_this.method=sourceFrame.method,_this.assembly=sourceFrame.assembly,_this.fileName=sourceFrame.fileName,_this.line=sourceFrame.line,_this.sizeInBytes=0;return _this.sizeInBytes+=_this.method.length,_this.sizeInBytes+=_this.fileName.length,_this.sizeInBytes+=_this.assembly.length,_this.sizeInBytes+=_StackFrame.baseSize,_this.sizeInBytes+=_this.level.toString().length,_this.sizeInBytes+=_this.line.toString().length,_this}return __extends(_StackFrame,_super),_StackFrame.CreateFromInterface=function(frame){return new _StackFrame(frame,null)},_StackFrame.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},_StackFrame.regex=/^([\s]+at)?(.*?)(\@|\s\(|\s)([^\(\@\n]+):([0-9]+):([0-9]+)(\)?)$/,_StackFrame.baseSize=58,_StackFrame}(StackFrame),MetricData=function MetricData(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};!function(DataPointType){DataPointType[DataPointType.Measurement=0]="Measurement",DataPointType[DataPointType.Aggregation=1]="Aggregation"}(DataPointType||(DataPointType={}));var SeverityLevel,DataPoint=function(_super){function DataPoint(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.aiDataContract={name:FieldType.Required,kind:FieldType.Default,value:FieldType.Required,count:FieldType.Default,min:FieldType.Default,max:FieldType.Default,stdDev:FieldType.Default},_this}return __extends(DataPoint,_super),DataPoint}((function DataPoint(){this.kind=DataPointType.Measurement})),Metric=function(_super){function Metric(logger,name,value,count,min,max,properties,measurements){var _this=_super.call(this)||this;_this.aiDataContract={ver:FieldType.Required,metrics:FieldType.Required,properties:FieldType.Default};var dataPoint=new DataPoint;return dataPoint.count=count>0?count:void 0,dataPoint.max=isNaN(max)||null===max?void 0:max,dataPoint.min=isNaN(min)||null===min?void 0:min,dataPoint.name=DataSanitizer.sanitizeString(logger,name)||"not_specified",dataPoint.value=value,_this.metrics=[dataPoint],_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),_this}return __extends(Metric,_super),Metric.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",Metric.dataType="MetricData",Metric}(MetricData),PageViewData=function(_super){function PageViewData(){var _this=_super.call(this)||this;return _this.ver=2,_this.properties={},_this.measurements={},_this}return __extends(PageViewData,_super),PageViewData}(EventData),PageView=function(_super){function PageView(logger,name,url,durationMs,properties,measurements,id){var _this=_super.call(this)||this;return _this.aiDataContract={ver:FieldType.Required,name:FieldType.Default,url:FieldType.Default,duration:FieldType.Default,properties:FieldType.Default,measurements:FieldType.Default,id:FieldType.Default},_this.id=DataSanitizer.sanitizeId(logger,id),_this.url=DataSanitizer.sanitizeUrl(logger,url),_this.name=DataSanitizer.sanitizeString(logger,name)||"not_specified",isNaN(durationMs)||(_this.duration=msToTimeSpan(durationMs)),_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),_this}return __extends(PageView,_super),PageView.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",PageView.dataType="PageviewData",PageView}(PageViewData),RemoteDependencyData=function(_super){function RemoteDependencyData(logger,id,absoluteUrl,commandName,value,success,resultCode,method,requestAPI,correlationContext,properties,measurements){void 0===requestAPI&&(requestAPI="Ajax");var _this=_super.call(this)||this;_this.aiDataContract={id:FieldType.Required,ver:FieldType.Required,name:FieldType.Default,resultCode:FieldType.Default,duration:FieldType.Default,success:FieldType.Default,data:FieldType.Default,target:FieldType.Default,type:FieldType.Default,properties:FieldType.Default,measurements:FieldType.Default,kind:FieldType.Default,value:FieldType.Default,count:FieldType.Default,min:FieldType.Default,max:FieldType.Default,stdDev:FieldType.Default,dependencyKind:FieldType.Default,dependencySource:FieldType.Default,commandName:FieldType.Default,dependencyTypeName:FieldType.Default},_this.id=id,_this.duration=msToTimeSpan(value),_this.success=success,_this.resultCode=resultCode+"",_this.type=DataSanitizer.sanitizeString(logger,requestAPI);var dependencyFields=function AjaxHelperParseDependencyPath(logger,absoluteUrl,method,commandName){var target,name=commandName,data=commandName;if(absoluteUrl&&absoluteUrl.length>0){var parsedUrl=urlParseUrl(absoluteUrl);if(target=parsedUrl.host,!name)if(null!=parsedUrl.pathname){var pathName=0===parsedUrl.pathname.length?"/":parsedUrl.pathname;"/"!==pathName.charAt(0)&&(pathName="/"+pathName),data=parsedUrl.pathname,name=DataSanitizer.sanitizeString(logger,method?method+" "+pathName:pathName)}else name=DataSanitizer.sanitizeString(logger,absoluteUrl)}else target=commandName,name=commandName;return{target:target,name:name,data:data}}(logger,absoluteUrl,method,commandName);return _this.data=DataSanitizer.sanitizeUrl(logger,commandName)||dependencyFields.data,_this.target=DataSanitizer.sanitizeString(logger,dependencyFields.target),correlationContext&&(_this.target=_this.target+" | "+correlationContext),_this.name=DataSanitizer.sanitizeString(logger,dependencyFields.name),_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),_this}return __extends(RemoteDependencyData,_super),RemoteDependencyData.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",RemoteDependencyData.dataType="RemoteDependencyData",RemoteDependencyData}((function RemoteDependencyData(){this.ver=2,this.success=!0,this.properties={},this.measurements={}})),Trace=function(_super){function Trace(logger,message,severityLevel,properties,measurements){var _this=_super.call(this)||this;return _this.aiDataContract={ver:FieldType.Required,message:FieldType.Required,severityLevel:FieldType.Default,properties:FieldType.Default},message=message||"not_specified",_this.message=DataSanitizer.sanitizeMessage(logger,message),_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),severityLevel&&(_this.severityLevel=severityLevel),_this}return __extends(Trace,_super),Trace.envelopeType="Microsoft.ApplicationInsights.{0}.Message",Trace.dataType="MessageData",Trace}((function MessageData(){this.ver=2,this.properties={},this.measurements={}})),PageViewPerformance=function(_super){function PageViewPerformance(logger,name,url,unused,properties,measurements,cs4BaseData){var _this=_super.call(this)||this;return _this.aiDataContract={ver:FieldType.Required,name:FieldType.Default,url:FieldType.Default,duration:FieldType.Default,perfTotal:FieldType.Default,networkConnect:FieldType.Default,sentRequest:FieldType.Default,receivedResponse:FieldType.Default,domProcessing:FieldType.Default,properties:FieldType.Default,measurements:FieldType.Default},_this.url=DataSanitizer.sanitizeUrl(logger,url),_this.name=DataSanitizer.sanitizeString(logger,name)||"not_specified",_this.properties=DataSanitizer.sanitizeProperties(logger,properties),_this.measurements=DataSanitizer.sanitizeMeasurements(logger,measurements),cs4BaseData&&(_this.domProcessing=cs4BaseData.domProcessing,_this.duration=cs4BaseData.duration,_this.networkConnect=cs4BaseData.networkConnect,_this.perfTotal=cs4BaseData.perfTotal,_this.receivedResponse=cs4BaseData.receivedResponse,_this.sentRequest=cs4BaseData.sentRequest),_this}return __extends(PageViewPerformance,_super),PageViewPerformance.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",PageViewPerformance.dataType="PageviewPerformanceData",PageViewPerformance}(function(_super){function PageViewPerfData(){var _this=_super.call(this)||this;return _this.ver=2,_this.properties={},_this.measurements={},_this}return __extends(PageViewPerfData,_super),PageViewPerfData}(PageViewData)),Data=function(_super){function Data(baseType,data){var _this=_super.call(this)||this;return _this.aiDataContract={baseType:FieldType.Required,baseData:FieldType.Required},_this.baseType=baseType,_this.baseData=data,_this}return __extends(Data,_super),Data}(Data$1);!function(SeverityLevel){SeverityLevel[SeverityLevel.Verbose=0]="Verbose",SeverityLevel[SeverityLevel.Information=1]="Information",SeverityLevel[SeverityLevel.Warning=2]="Warning",SeverityLevel[SeverityLevel.Error=3]="Error",SeverityLevel[SeverityLevel.Critical=4]="Critical"}(SeverityLevel||(SeverityLevel={}));var ConfigurationManager=function(){function ConfigurationManager(){}return ConfigurationManager.getConfig=function(config,field,identifier,defaultValue){var configValue;return void 0===defaultValue&&(defaultValue=!1),configValue=identifier&&config.extensionConfig&&config.extensionConfig[identifier]&&!isNullOrUndefined(config.extensionConfig[identifier][field])?config.extensionConfig[identifier][field]:config[field],isNullOrUndefined(configValue)?defaultValue:configValue},ConfigurationManager}();function _aiNameFunc(baseName){var aiName="ai."+baseName+".";return function(name){return aiName+name}}var _aiApplication=_aiNameFunc("application"),_aiDevice=_aiNameFunc("device"),_aiLocation=_aiNameFunc("location"),_aiOperation=_aiNameFunc("operation"),_aiSession=_aiNameFunc("session"),_aiUser=_aiNameFunc("user"),_aiCloud=_aiNameFunc("cloud"),_aiInternal=_aiNameFunc("internal"),ContextTagKeys=function(_super){function ContextTagKeys(){return _super.call(this)||this}return __extends(ContextTagKeys,_super),ContextTagKeys}(function createClassFromInterface(defaults){return function class_1(){var _this=this;defaults&&objForEachKey(defaults,(function(field,value){_this[field]=value}))}}({applicationVersion:_aiApplication("ver"),applicationBuild:_aiApplication("build"),applicationTypeId:_aiApplication("typeId"),applicationId:_aiApplication("applicationId"),applicationLayer:_aiApplication("layer"),deviceId:_aiDevice("id"),deviceIp:_aiDevice("ip"),deviceLanguage:_aiDevice("language"),deviceLocale:_aiDevice("locale"),deviceModel:_aiDevice("model"),deviceFriendlyName:_aiDevice("friendlyName"),deviceNetwork:_aiDevice("network"),deviceNetworkName:_aiDevice("networkName"),deviceOEMName:_aiDevice("oemName"),deviceOS:_aiDevice("os"),deviceOSVersion:_aiDevice("osVersion"),deviceRoleInstance:_aiDevice("roleInstance"),deviceRoleName:_aiDevice("roleName"),deviceScreenResolution:_aiDevice("screenResolution"),deviceType:_aiDevice("type"),deviceMachineName:_aiDevice("machineName"),deviceVMName:_aiDevice("vmName"),deviceBrowser:_aiDevice("browser"),deviceBrowserVersion:_aiDevice("browserVersion"),locationIp:_aiLocation("ip"),locationCountry:_aiLocation("country"),locationProvince:_aiLocation("province"),locationCity:_aiLocation("city"),operationId:_aiOperation("id"),operationName:_aiOperation("name"),operationParentId:_aiOperation("parentId"),operationRootId:_aiOperation("rootId"),operationSyntheticSource:_aiOperation("syntheticSource"),operationCorrelationVector:_aiOperation("correlationVector"),sessionId:_aiSession("id"),sessionIsFirst:_aiSession("isFirst"),sessionIsNew:_aiSession("isNew"),userAccountAcquisitionDate:_aiUser("accountAcquisitionDate"),userAccountId:_aiUser("accountId"),userAgent:_aiUser("userAgent"),userId:_aiUser("id"),userStoreRegion:_aiUser("storeRegion"),userAuthUserId:_aiUser("authUserId"),userAnonymousUserAcquisitionDate:_aiUser("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:_aiUser("authUserAcquisitionDate"),cloudName:_aiCloud("name"),cloudRole:_aiCloud("role"),cloudRoleVer:_aiCloud("roleVer"),cloudRoleInstance:_aiCloud("roleInstance"),cloudEnvironment:_aiCloud("environment"),cloudLocation:_aiCloud("location"),cloudDeploymentUnit:_aiCloud("deploymentUnit"),internalNodeName:_aiInternal("nodeName"),internalSdkVersion:_aiInternal("sdkVersion"),internalAgentVersion:_aiInternal("agentVersion"),internalSnippet:_aiInternal("snippet"),internalSdkSrc:_aiInternal("sdkSrc")})),TelemetryItemCreator=function(){function TelemetryItemCreator(){}return TelemetryItemCreator.create=function(item,baseType,envelopeName,logger,customProperties,systemProperties){if(envelopeName=DataSanitizer.sanitizeString(logger,envelopeName)||"not_specified",isNullOrUndefined(item)||isNullOrUndefined(baseType)||isNullOrUndefined(envelopeName))throw Error("Input doesn't contain all required fields");var telemetryItem={name:envelopeName,time:toISOString(new Date),iKey:"",ext:systemProperties||{},tags:[],data:{},baseType:baseType,baseData:item};return isNullOrUndefined(customProperties)||objForEachKey(customProperties,(function(prop,value){telemetryItem.data[prop]=value})),telemetryItem},TelemetryItemCreator}(),Extensions={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},CtxTagKeys=new ContextTagKeys,_ignoreUpdateSnippetProperties$1=["snippet","getDefaultConfig","_hasLegacyInitializers","_queue","_processLegacyInitializers"],AppInsightsDeprecated=function(){function AppInsightsDeprecated(snippet,appInsightsNew){this._hasLegacyInitializers=!1,this._queue=[],this.config=AppInsightsDeprecated.getDefaultConfig(snippet.config),this.appInsightsNew=appInsightsNew,this.context={addTelemetryInitializer:this.addTelemetryInitializers.bind(this)}}return AppInsightsDeprecated.getDefaultConfig=function(config){return config||(config={}),config.endpointUrl=config.endpointUrl||"https://dc.services.visualstudio.com/v2/track",config.sessionRenewalMs=18e5,config.sessionExpirationMs=864e5,config.maxBatchSizeInBytes=config.maxBatchSizeInBytes>0?config.maxBatchSizeInBytes:102400,config.maxBatchInterval=isNaN(config.maxBatchInterval)?15e3:config.maxBatchInterval,config.enableDebug=stringToBoolOrDefault(config.enableDebug),config.disableExceptionTracking=stringToBoolOrDefault(config.disableExceptionTracking),config.disableTelemetry=stringToBoolOrDefault(config.disableTelemetry),config.verboseLogging=stringToBoolOrDefault(config.verboseLogging),config.emitLineDelimitedJson=stringToBoolOrDefault(config.emitLineDelimitedJson),config.diagnosticLogInterval=config.diagnosticLogInterval||1e4,config.autoTrackPageVisitTime=stringToBoolOrDefault(config.autoTrackPageVisitTime),(isNaN(config.samplingPercentage)||config.samplingPercentage<=0||config.samplingPercentage>=100)&&(config.samplingPercentage=100),config.disableAjaxTracking=stringToBoolOrDefault(config.disableAjaxTracking),config.maxAjaxCallsPerView=isNaN(config.maxAjaxCallsPerView)?500:config.maxAjaxCallsPerView,config.isBeaconApiDisabled=stringToBoolOrDefault(config.isBeaconApiDisabled,!0),config.disableCorrelationHeaders=stringToBoolOrDefault(config.disableCorrelationHeaders),config.correlationHeaderExcludedDomains=config.correlationHeaderExcludedDomains||["*.blob.core.windows.net","*.blob.core.chinacloudapi.cn","*.blob.core.cloudapi.de","*.blob.core.usgovcloudapi.net"],config.disableFlushOnBeforeUnload=stringToBoolOrDefault(config.disableFlushOnBeforeUnload),config.disableFlushOnUnload=stringToBoolOrDefault(config.disableFlushOnUnload,config.disableFlushOnBeforeUnload),config.enableSessionStorageBuffer=stringToBoolOrDefault(config.enableSessionStorageBuffer,!0),config.isRetryDisabled=stringToBoolOrDefault(config.isRetryDisabled),config.isCookieUseDisabled=stringToBoolOrDefault(config.isCookieUseDisabled),config.isStorageUseDisabled=stringToBoolOrDefault(config.isStorageUseDisabled),config.isBrowserLinkTrackingEnabled=stringToBoolOrDefault(config.isBrowserLinkTrackingEnabled),config.enableCorsCorrelation=stringToBoolOrDefault(config.enableCorsCorrelation),config},AppInsightsDeprecated.prototype.addTelemetryInitializers=function(callBack){var _this=this;this._hasLegacyInitializers||(this.appInsightsNew.addTelemetryInitializer((function(item){_this._processLegacyInitializers(item)})),this._hasLegacyInitializers=!0),this._queue.push(callBack)},AppInsightsDeprecated.prototype.getCookieMgr=function(){return this.appInsightsNew.getCookieMgr()},AppInsightsDeprecated.prototype.startTrackPage=function(name){this.appInsightsNew.startTrackPage(name)},AppInsightsDeprecated.prototype.stopTrackPage=function(name,url,properties,measurements){this.appInsightsNew.stopTrackPage(name,url,properties)},AppInsightsDeprecated.prototype.trackPageView=function(name,url,properties,measurements,duration){var telemetry={name:name,uri:url,properties:properties,measurements:measurements};this.appInsightsNew.trackPageView(telemetry)},AppInsightsDeprecated.prototype.trackEvent=function(name,properties,measurements){this.appInsightsNew.trackEvent({name:name})},AppInsightsDeprecated.prototype.trackDependency=function(id,method,absoluteUrl,pathName,totalTime,success,resultCode){this.appInsightsNew.trackDependencyData({id:id,target:absoluteUrl,type:pathName,duration:totalTime,properties:{HttpMethod:method},success:success,responseCode:resultCode})},AppInsightsDeprecated.prototype.trackException=function(exception,handledAt,properties,measurements,severityLevel){this.appInsightsNew.trackException({exception:exception})},AppInsightsDeprecated.prototype.trackMetric=function(name,average,sampleCount,min,max,properties){this.appInsightsNew.trackMetric({name:name,average:average,sampleCount:sampleCount,min:min,max:max})},AppInsightsDeprecated.prototype.trackTrace=function(message,properties,severityLevel){this.appInsightsNew.trackTrace({message:message,severityLevel:severityLevel})},AppInsightsDeprecated.prototype.flush=function(async){this.appInsightsNew.flush(async)},AppInsightsDeprecated.prototype.setAuthenticatedUserContext=function(authenticatedUserId,accountId,storeInCookie){this.appInsightsNew.context.user.setAuthenticatedUserContext(authenticatedUserId,accountId,storeInCookie)},AppInsightsDeprecated.prototype.clearAuthenticatedUserContext=function(){this.appInsightsNew.context.user.clearAuthenticatedUserContext()},AppInsightsDeprecated.prototype._onerror=function(message,url,lineNumber,columnNumber,error){this.appInsightsNew._onerror({message:message,url:url,lineNumber:lineNumber,columnNumber:columnNumber,error:error})},AppInsightsDeprecated.prototype.startTrackEvent=function(name){this.appInsightsNew.startTrackEvent(name)},AppInsightsDeprecated.prototype.stopTrackEvent=function(name,properties,measurements){this.appInsightsNew.stopTrackEvent(name,properties,measurements)},AppInsightsDeprecated.prototype.downloadAndSetup=function(config){throwError("downloadAndSetup not implemented in web SKU")},AppInsightsDeprecated.prototype.updateSnippetDefinitions=function(snippet){proxyAssign(snippet,this,(function(name){return name&&-1===_ignoreUpdateSnippetProperties$1.indexOf(name)}))},AppInsightsDeprecated.prototype.loadAppInsights=function(){var _this=this;if(this.config.iKey){var originalTrackPageView_1=this.trackPageView;this.trackPageView=function(pagePath,properties,measurements){originalTrackPageView_1.apply(_this,[null,pagePath,properties,measurements])}}return"function"==typeof this.snippet.logPageView&&(this.logPageView=function(pagePath,properties,measurements){_this.trackPageView(null,pagePath,properties,measurements)}),"function"==typeof this.snippet.logEvent&&(this.logEvent=function(name,props,measurements){_this.trackEvent(name,props,measurements)}),this},AppInsightsDeprecated.prototype._processLegacyInitializers=function(item){return item.tags.ProcessLegacy=this._queue,item},AppInsightsDeprecated}(),PageViewManager=function PageViewManager(appInsights,overridePageViewDuration,core,pageViewPerformanceManager){dynamicProto(PageViewManager,this,(function(_self){var _logger,intervalHandle=null,itemQueue=[],pageViewPerformanceSent=!1;function _flushChannels(){core&&arrForEach(core.getTransmissionControls(),(function(queues){arrForEach(queues,(function(q){return q.flush(!0)}))}))}core&&(_logger=core.logger),_self.trackPageView=function(pageView,customProperties){var name=pageView.name;if(isNullOrUndefined(name)||"string"!=typeof name){var doc=getDocument();name=pageView.name=doc&&doc.title||""}var uri=pageView.uri;if(isNullOrUndefined(uri)||"string"!=typeof uri){var location_1=getLocation();uri=pageView.uri=location_1&&location_1.href||""}if(!pageViewPerformanceManager.isPerformanceTimingSupported())return appInsights.sendPageViewInternal(pageView,customProperties),_flushChannels(),void _logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var customDuration,duration,pageViewSent=!1,start=pageViewPerformanceManager.getPerformanceTiming().navigationStart;start>0&&(customDuration=dateTimeUtilsDuration(start,+new Date),pageViewPerformanceManager.shouldCollectDuration(customDuration)||(customDuration=void 0)),isNullOrUndefined(customProperties)||isNullOrUndefined(customProperties.duration)||(duration=customProperties.duration),!overridePageViewDuration&&isNaN(duration)||(isNaN(duration)&&(customProperties||(customProperties={}),customProperties.duration=customDuration),appInsights.sendPageViewInternal(pageView,customProperties),_flushChannels(),pageViewSent=!0),customProperties||(customProperties={}),function _addQueue(cb){itemQueue.push(cb),intervalHandle||(intervalHandle=setInterval((function(){var allItems=itemQueue.slice(0),doFlush=!1;itemQueue=[],arrForEach(allItems,(function(item){item()?doFlush=!0:itemQueue.push(item)})),0===itemQueue.length&&(clearInterval(intervalHandle),intervalHandle=null),doFlush&&_flushChannels()}),100))}((function(){var processed=!1;try{if(pageViewPerformanceManager.isPerformanceTimingDataReady()){processed=!0;var pageViewPerformance={name:name,uri:uri};pageViewPerformanceManager.populatePageViewPerformanceEvent(pageViewPerformance),pageViewPerformance.isValid||pageViewSent?(pageViewSent||(customProperties.duration=pageViewPerformance.durationMs,appInsights.sendPageViewInternal(pageView,customProperties)),pageViewPerformanceSent||(appInsights.sendPageViewPerformanceInternal(pageViewPerformance,customProperties),pageViewPerformanceSent=!0)):(customProperties.duration=customDuration,appInsights.sendPageViewInternal(pageView,customProperties))}else start>0&&dateTimeUtilsDuration(start,+new Date)>6e4&&(processed=!0,pageViewSent||(customProperties.duration=6e4,appInsights.sendPageViewInternal(pageView,customProperties)))}catch(e){_logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TrackPVFailedCalc,"trackPageView failed on page load calculation: "+getExceptionName(e),{exception:dumpObj(e)})}return processed}))}}))},PageVisitTimeManager=function(){function PageVisitTimeManager(logger,pageVisitTimeTrackingHandler){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=pageVisitTimeTrackingHandler,this._logger=logger}return PageVisitTimeManager.prototype.trackPreviousPageVisit=function(currentPageName,currentPageUrl){try{var prevPageVisitTimeData=this.restartPageVisitTimer(currentPageName,currentPageUrl);prevPageVisitTimeData&&this.pageVisitTimeTrackingHandler(prevPageVisitTimeData.pageName,prevPageVisitTimeData.pageUrl,prevPageVisitTimeData.pageVisitTime)}catch(e){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+dumpObj(e))}},PageVisitTimeManager.prototype.restartPageVisitTimer=function(pageName,pageUrl){try{var prevPageVisitData=this.stopPageVisitTimer();return this.startPageVisitTimer(pageName,pageUrl),prevPageVisitData}catch(e){return this._logger.warnToConsole("Call to restart failed: "+dumpObj(e)),null}},PageVisitTimeManager.prototype.startPageVisitTimer=function(pageName,pageUrl){try{if(utlCanUseSessionStorage()){null!=utlGetSessionStorage(this._logger,this.prevPageVisitDataKeyName)&&throwError("Cannot call startPageVisit consecutively without first calling stopPageVisit");var currPageVisitData=new PageVisitData(pageName,pageUrl),currPageVisitDataStr=getJSON().stringify(currPageVisitData);utlSetSessionStorage(this._logger,this.prevPageVisitDataKeyName,currPageVisitDataStr)}}catch(e){this._logger.warnToConsole("Call to start failed: "+dumpObj(e))}},PageVisitTimeManager.prototype.stopPageVisitTimer=function(){try{if(utlCanUseSessionStorage()){var pageVisitEndTime=dateNow(),pageVisitDataJsonStr=utlGetSessionStorage(this._logger,this.prevPageVisitDataKeyName);if(pageVisitDataJsonStr&&hasJSON()){var prevPageVisitData=getJSON().parse(pageVisitDataJsonStr);return prevPageVisitData.pageVisitTime=pageVisitEndTime-prevPageVisitData.pageVisitStartTime,utlRemoveSessionStorage(this._logger,this.prevPageVisitDataKeyName),prevPageVisitData}return null}return null}catch(e){return this._logger.warnToConsole("Stop page visit timer failed: "+dumpObj(e)),null}},PageVisitTimeManager}(),PageVisitData=function PageVisitData(pageName,pageUrl){this.pageVisitStartTime=dateNow(),this.pageName=pageName,this.pageUrl=pageUrl},PageViewPerformanceManager=function(){function PageViewPerformanceManager(core){this.MAX_DURATION_ALLOWED=36e5,core&&(this._logger=core.logger)}return PageViewPerformanceManager.prototype.populatePageViewPerformanceEvent=function(pageViewPerformance){pageViewPerformance.isValid=!1;var navigationTiming=this.getPerformanceNavigationTiming(),timing=this.getPerformanceTiming();if(navigationTiming||timing){if(navigationTiming)var total=navigationTiming.duration,network=dateTimeUtilsDuration(navigationTiming.startTime,navigationTiming.connectEnd),request=dateTimeUtilsDuration(navigationTiming.requestStart,navigationTiming.responseStart),response=dateTimeUtilsDuration(navigationTiming.responseStart,navigationTiming.responseEnd),dom=dateTimeUtilsDuration(navigationTiming.responseEnd,navigationTiming.loadEventEnd);else total=dateTimeUtilsDuration(timing.navigationStart,timing.loadEventEnd),network=dateTimeUtilsDuration(timing.navigationStart,timing.connectEnd),request=dateTimeUtilsDuration(timing.requestStart,timing.responseStart),response=dateTimeUtilsDuration(timing.responseStart,timing.responseEnd),dom=dateTimeUtilsDuration(timing.responseEnd,timing.loadEventEnd);0===total?this._logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_ErrorPVCalc,"error calculating page view performance.",{total:total,network:network,request:request,response:response,dom:dom}):this.shouldCollectDuration(total,network,request,response,dom)?total<Math.floor(network)+Math.floor(request)+Math.floor(response)+Math.floor(dom)?this._logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_ClientPerformanceMathError,"client performance math error.",{total:total,network:network,request:request,response:response,dom:dom}):(pageViewPerformance.durationMs=total,pageViewPerformance.perfTotal=pageViewPerformance.duration=msToTimeSpan(total),pageViewPerformance.networkConnect=msToTimeSpan(network),pageViewPerformance.sentRequest=msToTimeSpan(request),pageViewPerformance.receivedResponse=msToTimeSpan(response),pageViewPerformance.domProcessing=msToTimeSpan(dom),pageViewPerformance.isValid=!0):this._logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:total,network:network,request:request,response:response,dom:dom})}},PageViewPerformanceManager.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?getPerformance().timing:null},PageViewPerformanceManager.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?getPerformance().getEntriesByType("navigation")[0]:null},PageViewPerformanceManager.prototype.isPerformanceNavigationTimingSupported=function(){var perf=getPerformance();return perf&&perf.getEntriesByType&&perf.getEntriesByType("navigation").length>0},PageViewPerformanceManager.prototype.isPerformanceTimingSupported=function(){var perf=getPerformance();return perf&&perf.timing},PageViewPerformanceManager.prototype.isPerformanceTimingDataReady=function(){var perf=getPerformance(),timing=perf?perf.timing:0;return timing&&timing.domainLookupStart>0&&timing.navigationStart>0&&timing.responseStart>0&&timing.requestStart>0&&timing.loadEventEnd>0&&timing.responseEnd>0&&timing.connectEnd>0&&timing.domLoading>0},PageViewPerformanceManager.prototype.shouldCollectDuration=function(){for(var durations=[],_i=0;_i<arguments.length;_i++)durations[_i]=arguments[_i];var _navigator=getNavigator()||{},botAgentNames=["googlebot","adsbot-google","apis-google","mediapartners-google"],userAgent=_navigator.userAgent,isGoogleBot=!1;if(userAgent)for(var i=0;i<botAgentNames.length;i++)isGoogleBot=isGoogleBot||-1!==userAgent.toLowerCase().indexOf(botAgentNames[i]);if(isGoogleBot)return!1;for(i=0;i<durations.length;i++)if(durations[i]<0||durations[i]>=this.MAX_DURATION_ALLOWED)return!1;return!0},PageViewPerformanceManager}();function _dispatchEvent(target,evnt){target&&target.dispatchEvent&&evnt&&target.dispatchEvent(evnt)}function _formatMessage(message){return message&&!isString(message)&&(message=isFunction(message.toString)?message.toString():JSON.stringify(message)),message}var ApplicationInsights=function(_super){function ApplicationInsights(){var _eventTracking,_pageTracking,_properties,_prevUri,_currUri,_this=_super.call(this)||this;return _this.identifier="ApplicationInsightsAnalytics",_this.priority=180,_this.autoRoutePVDelay=500,dynamicProto(ApplicationInsights,_this,(function(_self,_base){var location=getLocation();_prevUri=location&&location.href||"",_self.getCookieMgr=function(){return safeGetCookieMgr(_self.core)},_self.processTelemetry=function(env,itemCtx){doPerf(_self.core,(function(){return _self.identifier+":processTelemetry"}),(function(){var doNotSendItem=!1,telemetryInitializersCount=_self._telemetryInitializers.length;itemCtx=_self._getTelCtx(itemCtx);for(var i=0;i<telemetryInitializersCount;++i){var telemetryInitializer=_self._telemetryInitializers[i];if(telemetryInitializer)try{if(!1===telemetryInitializer.apply(null,[env])){doNotSendItem=!0;break}}catch(e){itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+getExceptionName(e),{exception:dumpObj(e)},!0)}}doNotSendItem||_self.processNext(env,itemCtx)}),(function(){return{item:env}}),!env.sync)},_self.trackEvent=function(event,customProperties){try{var telemetryItem=TelemetryItemCreator.create(event,Event$1.dataType,Event$1.envelopeType,_self.diagLog(),customProperties);_self.core.track(telemetryItem)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TrackTraceFailed,"trackTrace failed, trace will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.startTrackEvent=function(name){try{_eventTracking.start(name)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.stopTrackEvent=function(name,properties,measurements){try{_eventTracking.stop(name,void 0,properties)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.trackTrace=function(trace,customProperties){try{var telemetryItem=TelemetryItemCreator.create(trace,Trace.dataType,Trace.envelopeType,_self.diagLog(),customProperties);_self.core.track(telemetryItem)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TrackTraceFailed,"trackTrace failed, trace will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.trackMetric=function(metric,customProperties){try{var telemetryItem=TelemetryItemCreator.create(metric,Metric.dataType,Metric.envelopeType,_self.diagLog(),customProperties);_self.core.track(telemetryItem)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TrackMetricFailed,"trackMetric failed, metric will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.trackPageView=function(pageView,customProperties){try{var inPv=pageView||{};_self._pageViewManager.trackPageView(inPv,__assign({},inPv.properties,inPv.measurements,customProperties)),_self.config.autoTrackPageVisitTime&&_self._pageVisitTimeManager.trackPreviousPageVisit(inPv.name,inPv.uri)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TrackPVFailed,"trackPageView failed, page view will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.sendPageViewInternal=function(pageView,properties,systemProperties){var doc=getDocument();doc&&(pageView.refUri=void 0===pageView.refUri?doc.referrer:pageView.refUri);var telemetryItem=TelemetryItemCreator.create(pageView,PageView.dataType,PageView.envelopeType,_self.diagLog(),properties,systemProperties);_self.core.track(telemetryItem)},_self.sendPageViewPerformanceInternal=function(pageViewPerformance,properties,systemProperties){var telemetryItem=TelemetryItemCreator.create(pageViewPerformance,PageViewPerformance.dataType,PageViewPerformance.envelopeType,_self.diagLog(),properties,systemProperties);_self.core.track(telemetryItem)},_self.trackPageViewPerformance=function(pageViewPerformance,customProperties){try{_self._pageViewPerformanceManager.populatePageViewPerformanceEvent(pageViewPerformance),_self.sendPageViewPerformanceInternal(pageViewPerformance,customProperties)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.startTrackPage=function(name){try{if("string"!=typeof name){var doc=getDocument();name=doc&&doc.title||""}_pageTracking.start(name)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_StartTrackFailed,"startTrackPage failed, page view may not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.stopTrackPage=function(name,url,properties,measurement){try{if("string"!=typeof name){var doc=getDocument();name=doc&&doc.title||""}if("string"!=typeof url){var loc=getLocation();url=loc&&loc.href||""}_pageTracking.stop(name,url,properties,measurement),_self.config.autoTrackPageVisitTime&&_self._pageVisitTimeManager.trackPreviousPageVisit(name,url)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.sendExceptionInternal=function(exception,customProperties,systemProperties){var exceptionPartB=new Exception(_self.diagLog(),exception.exception||new Error("not_specified"),exception.properties,exception.measurements,exception.severityLevel,exception.id).toInterface(),telemetryItem=TelemetryItemCreator.create(exceptionPartB,Exception.dataType,Exception.envelopeType,_self.diagLog(),customProperties,systemProperties);_self.core.track(telemetryItem)},_self.trackException=function(exception,customProperties){try{_self.sendExceptionInternal(exception,customProperties)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TrackExceptionFailed,"trackException failed, exception will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self._onerror=function(exception){try{var properties_1={url:exception&&exception.url||(getDocument()||{}).URL,lineNumber:exception.lineNumber,columnNumber:exception.columnNumber,message:exception.message};if(isCrossOriginError(exception.message,exception.url,exception.lineNumber,exception.columnNumber,exception.error))!function _sendCORSException(url){var exception={message:"Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",url:url,lineNumber:0,columnNumber:0,error:void 0},telemetryItem=TelemetryItemCreator.create(exception,Exception.dataType,Exception.envelopeType,_self.diagLog(),{url:url});_self.core.track(telemetryItem)}(properties_1.url);else{if(!isError(exception.error)){var stack="window.onerror@"+properties_1.url+":"+exception.lineNumber+":"+(exception.columnNumber||0);exception.error=new Error(exception.message),exception.error.stack=stack}_self.trackException({exception:exception.error,severityLevel:SeverityLevel.Error},properties_1)}}catch(e){var errorString=exception.error?exception.error.name+", "+exception.error.message:"null";_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+getExceptionName(e),{exception:dumpObj(e),errorString:errorString})}},_self.addTelemetryInitializer=function(telemetryInitializer){_self._telemetryInitializers.push(telemetryInitializer)},_self.initialize=function(config,core,extensions,pluginChain){if(!_self.isInitialized()){if(isNullOrUndefined(core))throw Error("Error initializing");_base.initialize(config,core,extensions,pluginChain),_self.setInitialized(!1);var ctx=_self._getTelCtx(),identifier=_self.identifier;_self.config=ctx.getExtCfg(identifier);var defaults=ApplicationInsights.getDefaultConfig();void 0!==defaults&&objForEachKey(defaults,(function(field,value){_self.config[field]=ctx.getConfig(identifier,field,value),void 0===_self.config[field]&&(_self.config[field]=value)})),_self.config.isStorageUseDisabled&&utlDisableStorage();var configGetters={instrumentationKey:function(){return config.instrumentationKey},accountId:function(){return _self.config.accountId||config.accountId},sessionRenewalMs:function(){return _self.config.sessionRenewalMs||config.sessionRenewalMs},sessionExpirationMs:function(){return _self.config.sessionExpirationMs||config.sessionExpirationMs},sampleRate:function(){return _self.config.samplingPercentage||config.samplingPercentage},sdkExtension:function(){return _self.config.sdkExtension||config.sdkExtension},isBrowserLinkTrackingEnabled:function(){return _self.config.isBrowserLinkTrackingEnabled||config.isBrowserLinkTrackingEnabled},appId:function(){return _self.config.appId||config.appId}};_self._pageViewPerformanceManager=new PageViewPerformanceManager(_self.core),_self._pageViewManager=new PageViewManager(_this,_self.config.overridePageViewDuration,_self.core,_self._pageViewPerformanceManager),_self._pageVisitTimeManager=new PageVisitTimeManager(_self.diagLog(),(function(pageName,pageUrl,pageVisitTime){return function trackPageVisitTime(pageName,pageUrl,pageVisitTime){var properties={PageName:pageName,PageUrl:pageUrl};_self.trackMetric({name:"PageVisitTime",average:pageVisitTime,max:pageVisitTime,min:pageVisitTime,sampleCount:1},properties)}(pageName,pageUrl,pageVisitTime)})),_self._telemetryInitializers=_self._telemetryInitializers||[],function _addDefaultTelemetryInitializers(configGetters){if(!configGetters.isBrowserLinkTrackingEnabled()){var browserLinkPaths_1=["/browserLinkSignalR/","/__browserLink/"];!function _addTelemetryInitializer(telemetryInitializer){_self._telemetryInitializers.push(telemetryInitializer)}((function(envelope){if(envelope.baseType===RemoteDependencyData.dataType){var remoteData=envelope.baseData;if(remoteData)for(var i=0;i<browserLinkPaths_1.length;i++)if(remoteData.target&&remoteData.target.indexOf(browserLinkPaths_1[i])>=0)return!1}return!0}))}}(configGetters),(_eventTracking=new Timing(_self.diagLog(),"trackEvent")).action=function(name,url,duration,properties){properties||(properties={}),properties.duration=duration.toString(),_self.trackEvent({name:name,properties:properties})},(_pageTracking=new Timing(_self.diagLog(),"trackPageView")).action=function(name,url,duration,properties,measurements){isNullOrUndefined(properties)&&(properties={}),properties.duration=duration.toString();var pageViewItem={name:name,uri:url,properties:properties,measurements:measurements};_self.sendPageViewInternal(pageViewItem,properties)};var f,_window=getWindow(),_history=getHistory(),_location=getLocation(),instance=_this;if(!1===_self.config.disableExceptionTracking&&!_self.config.autoExceptionInstrumented&&_window){var originalOnError_1=_window.onerror;_window.onerror=function(message,url,lineNumber,columnNumber,error){var handled=originalOnError_1&&originalOnError_1(message,url,lineNumber,columnNumber,error);return!0!==handled&&instance._onerror({message:_formatMessage(message),url:url,lineNumber:lineNumber,columnNumber:columnNumber,error:error}),handled},_self.config.autoExceptionInstrumented=!0}if(!1===_self.config.disableExceptionTracking&&!0===_self.config.enableUnhandledPromiseRejectionTracking&&!_self.config.autoUnhandledPromiseInstrumented&&_window){var originalOnUnhandledRejection_1=_window.onunhandledrejection;_window.onunhandledrejection=function(error){var handled=originalOnUnhandledRejection_1&&originalOnUnhandledRejection_1.call(_window,error);return!0!==handled&&instance._onerror({message:error.reason.toString(),error:error.reason instanceof Error?error.reason:new Error(error.reason.toString()),url:_location?_location.href:"",lineNumber:0,columnNumber:0}),handled},_self.config.autoUnhandledPromiseInstrumented=!0}if(!0===_self.config.enableAutoRouteTracking&&_history&&isFunction(_history.pushState)&&isFunction(_history.replaceState)&&_window&&"undefined"!=typeof Event){var _self_1=_this;arrForEach(extensions,(function(extension){"AppInsightsPropertiesPlugin"===extension.identifier&&(_properties=extension)})),_history.pushState=(f=_history.pushState,function pushState(){var ret=f.apply(this,arguments);return _dispatchEvent(_window,createDomEvent(_self_1.config.namePrefix+"pushState")),_dispatchEvent(_window,createDomEvent(_self_1.config.namePrefix+"locationchange")),ret}),_history.replaceState=function(f){return function replaceState(){var ret=f.apply(this,arguments);return _dispatchEvent(_window,createDomEvent(_self_1.config.namePrefix+"replaceState")),_dispatchEvent(_window,createDomEvent(_self_1.config.namePrefix+"locationchange")),ret}}(_history.replaceState),_window.addEventListener&&(_window.addEventListener(_self_1.config.namePrefix+"popstate",(function(){_dispatchEvent(_window,createDomEvent(_self_1.config.namePrefix+"locationchange"))})),_window.addEventListener(_self_1.config.namePrefix+"locationchange",(function(){_properties&&_properties.context&&_properties.context.telemetryTrace&&(_properties.context.telemetryTrace.traceID=generateW3CId(),_properties.context.telemetryTrace.name=_location&&_location.pathname||"_unknown_"),_currUri?(_prevUri=_currUri,_currUri=_location&&_location.href||""):_currUri=_location&&_location.href||"",setTimeout(function(uri){_self_1.trackPageView({refUri:uri,properties:{duration:0}})}.bind(_this,_prevUri),_self_1.autoRoutePVDelay)})))}_self.setInitialized(!0)}}})),_this}return __extends(ApplicationInsights,_super),ApplicationInsights.getDefaultConfig=function(config){return config||(config={}),config.sessionRenewalMs=18e5,config.sessionExpirationMs=864e5,config.disableExceptionTracking=stringToBoolOrDefault(config.disableExceptionTracking),config.autoTrackPageVisitTime=stringToBoolOrDefault(config.autoTrackPageVisitTime),config.overridePageViewDuration=stringToBoolOrDefault(config.overridePageViewDuration),config.enableUnhandledPromiseRejectionTracking=stringToBoolOrDefault(config.enableUnhandledPromiseRejectionTracking),(isNaN(config.samplingPercentage)||config.samplingPercentage<=0||config.samplingPercentage>=100)&&(config.samplingPercentage=100),config.isStorageUseDisabled=stringToBoolOrDefault(config.isStorageUseDisabled),config.isBrowserLinkTrackingEnabled=stringToBoolOrDefault(config.isBrowserLinkTrackingEnabled),config.enableAutoRouteTracking=stringToBoolOrDefault(config.enableAutoRouteTracking),config.namePrefix=config.namePrefix||"",config},ApplicationInsights.Version="2.6.1",ApplicationInsights}(BaseTelemetryPlugin),Timing=function Timing(logger,name){var _self=this,_events={};_self.start=function(name){void 0!==_events[name]&&logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:name,key:name},!0),_events[name]=+new Date},_self.stop=function(name,url,properties,measurements){var start=_events[name];if(isNaN(start))logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_StopCalledWithoutStart,"stop was called without a corresponding start.",{name:name,key:name},!0);else{var duration=dateTimeUtilsDuration(start,+new Date);_self.action(name,url,duration,properties,measurements)}delete _events[name],_events[name]=void 0}},ArraySendBuffer=function ArraySendBuffer(config){var _buffer=[];dynamicProto(ArraySendBuffer,this,(function(_self){_self.enqueue=function(payload){_buffer.push(payload)},_self.count=function(){return _buffer.length},_self.clear=function(){_buffer.length=0},_self.getItems=function(){return _buffer.slice(0)},_self.batchPayloads=function(payload){return payload&&payload.length>0?config.emitLineDelimitedJson()?payload.join("\n"):"["+payload.join(",")+"]":null},_self.markAsSent=function(payload){_self.clear()},_self.clearSent=function(payload){}}))},SessionStorageSendBuffer=function(){function SessionStorageSendBuffer(logger,config){var _buffer,_bufferFullMessageSent=!1;dynamicProto(SessionStorageSendBuffer,this,(function(_self){var bufferItems=_getBuffer(SessionStorageSendBuffer.BUFFER_KEY),notDeliveredItems=_getBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY);function _removePayloadsFromBuffer(payloads,buffer){var remaining=[];return arrForEach(buffer,(function(value){isFunction(value)||-1!==arrIndexOf(payloads,value)||remaining.push(value)})),remaining}function _getBuffer(key){var prefixedKey=key;try{prefixedKey=config.namePrefix&&config.namePrefix()?config.namePrefix()+"_"+prefixedKey:prefixedKey;var bufferJson=utlGetSessionStorage(logger,prefixedKey);if(bufferJson){var buffer=getJSON().parse(bufferJson);if(isString(buffer)&&(buffer=getJSON().parse(buffer)),buffer&&isArray(buffer))return buffer}}catch(e){logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_FailedToRestoreStorageBuffer," storage key: "+prefixedKey+", "+getExceptionName(e),{exception:dumpObj(e)})}return[]}function _setBuffer(key,buffer){var prefixedKey=key;try{prefixedKey=config.namePrefix&&config.namePrefix()?config.namePrefix()+"_"+prefixedKey:prefixedKey;var bufferJson=JSON.stringify(buffer);utlSetSessionStorage(logger,prefixedKey,bufferJson)}catch(e){utlSetSessionStorage(logger,prefixedKey,JSON.stringify([])),logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_FailedToSetStorageBuffer," storage key: "+prefixedKey+", "+getExceptionName(e)+". Buffer cleared",{exception:dumpObj(e)})}}(_buffer=bufferItems.concat(notDeliveredItems)).length>SessionStorageSendBuffer.MAX_BUFFER_SIZE&&(_buffer.length=SessionStorageSendBuffer.MAX_BUFFER_SIZE),_setBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY,[]),_setBuffer(SessionStorageSendBuffer.BUFFER_KEY,_buffer),_self.enqueue=function(payload){_buffer.length>=SessionStorageSendBuffer.MAX_BUFFER_SIZE?_bufferFullMessageSent||(logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_SessionStorageBufferFull,"Maximum buffer size reached: "+_buffer.length,!0),_bufferFullMessageSent=!0):(_buffer.push(payload),_setBuffer(SessionStorageSendBuffer.BUFFER_KEY,_buffer))},_self.count=function(){return _buffer.length},_self.clear=function(){_buffer=[],_setBuffer(SessionStorageSendBuffer.BUFFER_KEY,[]),_setBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY,[]),_bufferFullMessageSent=!1},_self.getItems=function(){return _buffer.slice(0)},_self.batchPayloads=function(payload){return payload&&payload.length>0?config.emitLineDelimitedJson()?payload.join("\n"):"["+payload.join(",")+"]":null},_self.markAsSent=function(payload){_buffer=_removePayloadsFromBuffer(payload,_buffer),_setBuffer(SessionStorageSendBuffer.BUFFER_KEY,_buffer);var sentElements=_getBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY);sentElements instanceof Array&&payload instanceof Array&&((sentElements=sentElements.concat(payload)).length>SessionStorageSendBuffer.MAX_BUFFER_SIZE&&(logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_SessionStorageBufferFull,"Sent buffer reached its maximum size: "+sentElements.length,!0),sentElements.length=SessionStorageSendBuffer.MAX_BUFFER_SIZE),_setBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY,sentElements))},_self.clearSent=function(payload){var sentElements=_getBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY);sentElements=_removePayloadsFromBuffer(payload,sentElements),_setBuffer(SessionStorageSendBuffer.SENT_BUFFER_KEY,sentElements)}}))}return SessionStorageSendBuffer.BUFFER_KEY="AI_buffer",SessionStorageSendBuffer.SENT_BUFFER_KEY="AI_sentBuffer",SessionStorageSendBuffer.MAX_BUFFER_SIZE=2e3,SessionStorageSendBuffer}();function _setValueIf(target,field,value){return setValue(target,field,value,isTruthy)}var EnvelopeCreator=function(){function EnvelopeCreator(){}return EnvelopeCreator.extractPropsAndMeasurements=function(data,properties,measurements){isNullOrUndefined(data)||objForEachKey(data,(function(key,value){isNumber(value)?measurements[key]=value:isString(value)?properties[key]=value:hasJSON()&&(properties[key]=getJSON().stringify(value))}))},EnvelopeCreator.createEnvelope=function(logger,envelopeType,telemetryItem,data){var envelope=new Envelope(logger,data,envelopeType);_setValueIf(envelope,"sampleRate",telemetryItem.sampleRate),(telemetryItem.baseData||{}).startTime&&(envelope.time=toISOString(telemetryItem.baseData.startTime)),envelope.iKey=telemetryItem.iKey;var iKeyNoDashes=telemetryItem.iKey.replace(/-/g,"");return envelope.name=envelope.name.replace("{0}",iKeyNoDashes),EnvelopeCreator.extractPartAExtensions(telemetryItem,envelope),telemetryItem.tags=telemetryItem.tags||[],optimizeObject(envelope)},EnvelopeCreator.extractPartAExtensions=function(item,env){var envTags=env.tags=env.tags||{},itmExt=item.ext=item.ext||{},itmTags=item.tags=item.tags||[],extUser=itmExt.user;extUser&&(_setValueIf(envTags,CtxTagKeys.userAuthUserId,extUser.authId),_setValueIf(envTags,CtxTagKeys.userId,extUser.id||extUser.localId));var extApp=itmExt.app;extApp&&_setValueIf(envTags,CtxTagKeys.sessionId,extApp.sesId);var extDevice=itmExt.device;extDevice&&(_setValueIf(envTags,CtxTagKeys.deviceId,extDevice.id||extDevice.localId),_setValueIf(envTags,CtxTagKeys.deviceType,extDevice.deviceClass),_setValueIf(envTags,CtxTagKeys.deviceIp,extDevice.ip),_setValueIf(envTags,CtxTagKeys.deviceModel,extDevice.model),_setValueIf(envTags,CtxTagKeys.deviceType,extDevice.deviceType));var web=item.ext.web;if(web){_setValueIf(envTags,CtxTagKeys.deviceLanguage,web.browserLang),_setValueIf(envTags,CtxTagKeys.deviceBrowserVersion,web.browserVer),_setValueIf(envTags,CtxTagKeys.deviceBrowser,web.browser);var envData=env.data=env.data||{},envBaseData=envData.baseData=envData.baseData||{},envProps=envBaseData.properties=envBaseData.properties||{};_setValueIf(envProps,"domain",web.domain),_setValueIf(envProps,"isManual",web.isManual?"true":null),_setValueIf(envProps,"screenRes",web.screenRes),_setValueIf(envProps,"userConsent",web.userConsent?"true":null)}var extOs=itmExt.os;extOs&&_setValueIf(envTags,CtxTagKeys.deviceOS,extOs.name);var extTrace=itmExt.trace;extTrace&&(_setValueIf(envTags,CtxTagKeys.operationParentId,extTrace.parentID),_setValueIf(envTags,CtxTagKeys.operationName,extTrace.name),_setValueIf(envTags,CtxTagKeys.operationId,extTrace.traceID));for(var tgs={},i=itmTags.length-1;i>=0;i--)objForEachKey(itmTags[i],(function(key,value){tgs[key]=value})),itmTags.splice(i,1);objForEachKey(itmTags,(function(tg,value){tgs[tg]=value}));var theTags=__assign({},envTags,tgs);theTags[CtxTagKeys.internalSdkVersion]||(theTags[CtxTagKeys.internalSdkVersion]="javascript:"+EnvelopeCreator.Version),env.tags=optimizeObject(theTags)},EnvelopeCreator.prototype.Init=function(logger,telemetryItem){this._logger=logger,isNullOrUndefined(telemetryItem.baseData)&&this._logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TelemetryEnvelopeInvalid,"telemetryItem.baseData cannot be null.")},EnvelopeCreator.Version="2.6.1",EnvelopeCreator}(),DependencyEnvelopeCreator=function(_super){function DependencyEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(DependencyEnvelopeCreator,_super),DependencyEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var customMeasurements=telemetryItem.baseData.measurements||{},customProperties=telemetryItem.baseData.properties||{};EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,customProperties,customMeasurements);var bd=telemetryItem.baseData;if(isNullOrUndefined(bd))return logger.warnToConsole("Invalid input for dependency data"),null;var method=bd.properties&&bd.properties["http.method"]?bd.properties["http.method"]:"GET",remoteDepData=new RemoteDependencyData(logger,bd.id,bd.target,bd.name,bd.duration,bd.success,bd.responseCode,method,bd.type,bd.correlationContext,customProperties,customMeasurements),data=new Data(RemoteDependencyData.dataType,remoteDepData);return EnvelopeCreator.createEnvelope(logger,RemoteDependencyData.envelopeType,telemetryItem,data)},DependencyEnvelopeCreator.DependencyEnvelopeCreator=new DependencyEnvelopeCreator,DependencyEnvelopeCreator}(EnvelopeCreator),EventEnvelopeCreator=function(_super){function EventEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(EventEnvelopeCreator,_super),EventEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var customProperties={},customMeasurements={};telemetryItem.baseType!==Event$1.dataType&&(customProperties.baseTypeSource=telemetryItem.baseType),telemetryItem.baseType===Event$1.dataType?(customProperties=telemetryItem.baseData.properties||{},customMeasurements=telemetryItem.baseData.measurements||{}):telemetryItem.baseData&&EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.baseData,customProperties,customMeasurements),EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,customProperties,customMeasurements);var eventName=telemetryItem.baseData.name,eventData=new Event$1(logger,eventName,customProperties,customMeasurements),data=new Data(Event$1.dataType,eventData);return EnvelopeCreator.createEnvelope(logger,Event$1.envelopeType,telemetryItem,data)},EventEnvelopeCreator.EventEnvelopeCreator=new EventEnvelopeCreator,EventEnvelopeCreator}(EnvelopeCreator),ExceptionEnvelopeCreator=function(_super){function ExceptionEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ExceptionEnvelopeCreator,_super),ExceptionEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var customMeasurements=telemetryItem.baseData.measurements||{},customProperties=telemetryItem.baseData.properties||{};EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,customProperties,customMeasurements);var bd=telemetryItem.baseData,exData=Exception.CreateFromInterface(logger,bd,customProperties,customMeasurements),data=new Data(Exception.dataType,exData);return EnvelopeCreator.createEnvelope(logger,Exception.envelopeType,telemetryItem,data)},ExceptionEnvelopeCreator.ExceptionEnvelopeCreator=new ExceptionEnvelopeCreator,ExceptionEnvelopeCreator}(EnvelopeCreator),MetricEnvelopeCreator=function(_super){function MetricEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(MetricEnvelopeCreator,_super),MetricEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var baseData=telemetryItem.baseData,props=baseData.properties||{},measurements=baseData.measurements||{};EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,props,measurements);var baseMetricData=new Metric(logger,baseData.name,baseData.average,baseData.sampleCount,baseData.min,baseData.max,props,measurements),data=new Data(Metric.dataType,baseMetricData);return EnvelopeCreator.createEnvelope(logger,Metric.envelopeType,telemetryItem,data)},MetricEnvelopeCreator.MetricEnvelopeCreator=new MetricEnvelopeCreator,MetricEnvelopeCreator}(EnvelopeCreator),PageViewEnvelopeCreator=function(_super){function PageViewEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageViewEnvelopeCreator,_super),PageViewEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var duration,baseData=telemetryItem.baseData;isNullOrUndefined(baseData)||isNullOrUndefined(baseData.properties)||isNullOrUndefined(baseData.properties.duration)?isNullOrUndefined(telemetryItem.data)||isNullOrUndefined(telemetryItem.data.duration)||(duration=telemetryItem.data.duration,delete telemetryItem.data.duration):(duration=baseData.properties.duration,delete baseData.properties.duration);var currentContextId,bd=telemetryItem.baseData;((telemetryItem.ext||{}).trace||{}).traceID&&(currentContextId=telemetryItem.ext.trace.traceID);var id=bd.id||currentContextId,name=bd.name,url=bd.uri,properties=bd.properties||{},measurements=bd.measurements||{};isNullOrUndefined(bd.refUri)||(properties.refUri=bd.refUri),isNullOrUndefined(bd.pageType)||(properties.pageType=bd.pageType),isNullOrUndefined(bd.isLoggedIn)||(properties.isLoggedIn=bd.isLoggedIn.toString()),isNullOrUndefined(bd.properties)||objForEachKey(bd.properties,(function(key,value){properties[key]=value})),EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,properties,measurements);var pageViewData=new PageView(logger,name,url,duration,properties,measurements,id),data=new Data(PageView.dataType,pageViewData);return EnvelopeCreator.createEnvelope(logger,PageView.envelopeType,telemetryItem,data)},PageViewEnvelopeCreator.PageViewEnvelopeCreator=new PageViewEnvelopeCreator,PageViewEnvelopeCreator}(EnvelopeCreator),PageViewPerformanceEnvelopeCreator=function(_super){function PageViewPerformanceEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(PageViewPerformanceEnvelopeCreator,_super),PageViewPerformanceEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var bd=telemetryItem.baseData,name=bd.name,url=bd.uri||bd.url,properties=bd.properties||{},measurements=bd.measurements||{};EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,properties,measurements);var baseData=new PageViewPerformance(logger,name,url,void 0,properties,measurements,bd),data=new Data(PageViewPerformance.dataType,baseData);return EnvelopeCreator.createEnvelope(logger,PageViewPerformance.envelopeType,telemetryItem,data)},PageViewPerformanceEnvelopeCreator.PageViewPerformanceEnvelopeCreator=new PageViewPerformanceEnvelopeCreator,PageViewPerformanceEnvelopeCreator}(EnvelopeCreator),TraceEnvelopeCreator=function(_super){function TraceEnvelopeCreator(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(TraceEnvelopeCreator,_super),TraceEnvelopeCreator.prototype.Create=function(logger,telemetryItem){_super.prototype.Init.call(this,logger,telemetryItem);var message=telemetryItem.baseData.message,severityLevel=telemetryItem.baseData.severityLevel,props=telemetryItem.baseData.properties||{},measurements=telemetryItem.baseData.measurements||{};EnvelopeCreator.extractPropsAndMeasurements(telemetryItem.data,props,measurements);var baseData=new Trace(logger,message,severityLevel,props,measurements),data=new Data(Trace.dataType,baseData);return EnvelopeCreator.createEnvelope(logger,Trace.envelopeType,telemetryItem,data)},TraceEnvelopeCreator.TraceEnvelopeCreator=new TraceEnvelopeCreator,TraceEnvelopeCreator}(EnvelopeCreator),Serializer=function Serializer(logger){dynamicProto(Serializer,this,(function(_self){function _serializeObject(source,name){var output={};if(!source)return logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_CannotSerializeObject,"cannot serialize object because it is null or undefined",{name:name},!0),output;if(source.__aiCircularRefCheck)return logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_CircularReferenceDetected,"Circular reference detected while serializing object",{name:name},!0),output;if(!source.aiDataContract){if("measurements"===name)output=_serializeStringMap(source,"number",name);else if("properties"===name)output=_serializeStringMap(source,"string",name);else if("tags"===name)output=_serializeStringMap(source,"string",name);else if(isArray(source))output=_serializeArray(source,name);else{logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_CannotSerializeObjectNonSerializable,"Attempting to serialize an object which does not implement ISerializable",{name:name},!0);try{getJSON().stringify(source),output=source}catch(e){logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_CannotSerializeObject,e&&isFunction(e.toString)?e.toString():"Error serializing object",null,!0)}}return output}return source.__aiCircularRefCheck=!0,objForEachKey(source.aiDataContract,(function(field,contract){var isRequired=isFunction(contract)?contract()&FieldType.Required:contract&FieldType.Required,isHidden=isFunction(contract)?contract()&FieldType.Hidden:contract&FieldType.Hidden,isArray=contract&FieldType.Array,isPresent=void 0!==source[field],isObj=isObject(source[field])&&null!==source[field];if(!isRequired||isPresent||isArray){if(!isHidden){var value=void 0;void 0!==(value=isObj?isArray?_serializeArray(source[field],field):_serializeObject(source[field],field):source[field])&&(output[field]=value)}}else logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_MissingRequiredFieldSpecification,"Missing required field specification. The field is required but not present on source",{field:field,name:name})})),delete source.__aiCircularRefCheck,output}function _serializeArray(sources,name){var output;if(sources)if(isArray(sources)){output=[];for(var i=0;i<sources.length;i++){var item=_serializeObject(sources[i],name+"["+i+"]");output.push(item)}}else logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_ItemNotInArray,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:name},!0);return output}function _serializeStringMap(map,expectedType,name){var output;return map&&(output={},objForEachKey(map,(function(field,value){if("string"===expectedType)void 0===value?output[field]="undefined":null===value?output[field]="null":value.toString?output[field]=value.toString():output[field]="invalid field: toString() is not defined.";else if("number"===expectedType)if(void 0===value)output[field]="undefined";else if(null===value)output[field]="null";else{var num=parseFloat(value);isNaN(num)?output[field]="NaN":output[field]=num}else output[field]="invalid field: "+name+" is of unknown type.",logger.throwInternal(LoggingSeverity.CRITICAL,output[field],null,!0)}))),output}_self.serialize=function(input){var output=_serializeObject(input,"root");try{return getJSON().stringify(output)}catch(e){logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_CannotSerializeObject,e&&isFunction(e.toString)?e.toString():"Error serializing object",null,!0)}}}))},Offline=function(){function OfflineListener(){var _window=getWindow(),_document=getDocument(),isListening=!1,_onlineStatus=!0;dynamicProto(OfflineListener,this,(function(_self){try{if(_window&&EventHelper.Attach(_window,"online",_setOnline)&&(EventHelper.Attach(_window,"offline",_setOffline),isListening=!0),_document){var target=_document.body||_document;isUndefined(target.ononline)||(target.ononline=_setOnline,target.onoffline=_setOffline,isListening=!0)}}catch(e){isListening=!1}function _setOnline(){_onlineStatus=!0}function _setOffline(){_onlineStatus=!1}_self.isListening=isListening,_self.isOnline=function(){var result=!0,_navigator=getNavigator();return isListening?result=_onlineStatus:_navigator&&!isNullOrUndefined(_navigator.onLine)&&(result=_navigator.onLine),result},_self.isOffline=function(){return!_self.isOnline()}}))}return OfflineListener.Offline=new OfflineListener,OfflineListener}().Offline,HashCodeScoreGenerator=function(){function HashCodeScoreGenerator(){}return HashCodeScoreGenerator.prototype.getHashCodeScore=function(key){return this.getHashCode(key)/HashCodeScoreGenerator.INT_MAX_VALUE*100},HashCodeScoreGenerator.prototype.getHashCode=function(input){if(""===input)return 0;for(;input.length<HashCodeScoreGenerator.MIN_INPUT_LENGTH;)input=input.concat(input);for(var hash=5381,i=0;i<input.length;++i)hash=(hash<<5)+hash+input.charCodeAt(i),hash&=hash;return Math.abs(hash)},HashCodeScoreGenerator.INT_MAX_VALUE=2147483647,HashCodeScoreGenerator.MIN_INPUT_LENGTH=8,HashCodeScoreGenerator}(),SamplingScoreGenerator=function(){function SamplingScoreGenerator(){this.hashCodeGeneragor=new HashCodeScoreGenerator,this.keys=new ContextTagKeys}return SamplingScoreGenerator.prototype.getSamplingScore=function(item){return item.tags&&item.tags[this.keys.userId]?this.hashCodeGeneragor.getHashCodeScore(item.tags[this.keys.userId]):item.ext&&item.ext.user&&item.ext.user.id?this.hashCodeGeneragor.getHashCodeScore(item.ext.user.id):item.tags&&item.tags[this.keys.operationId]?this.hashCodeGeneragor.getHashCodeScore(item.tags[this.keys.operationId]):item.ext&&item.ext.telemetryTrace&&item.ext.telemetryTrace.traceID?this.hashCodeGeneragor.getHashCodeScore(item.ext.telemetryTrace.traceID):100*Math.random()},SamplingScoreGenerator}(),Sample=function(){function Sample(sampleRate,logger){this.INT_MAX_VALUE=2147483647,this._logger=logger||safeGetLogger(null),(sampleRate>100||sampleRate<0)&&(this._logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_SampleRateOutOfRange,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:sampleRate},!0),this.sampleRate=100),this.sampleRate=sampleRate,this.samplingScoreGenerator=new SamplingScoreGenerator}return Sample.prototype.isSampledIn=function(envelope){var samplingPercentage=this.sampleRate;return null==samplingPercentage||samplingPercentage>=100||envelope.baseType===Metric.dataType||this.samplingScoreGenerator.getSamplingScore(envelope)<samplingPercentage},Sample}();function _getResponseText(xhr){try{return xhr.responseText}catch(e){}return null}var Sender=function(_super){function Sender(){var _consecutiveErrors,_retryAt,_timeoutHandle,_serializer,_stamp_specific_redirects,_this=_super.call(this)||this;return _this.priority=1001,_this.identifier="AppInsightsChannelPlugin",_this._XMLHttpRequestSupported=!1,dynamicProto(Sender,_this,(function(_self,_base){function _notImplemented(){throwError("Method not implemented.")}function _checkAndUpdateEndPointUrl(xhr){var responseUrl=xhr.responseURL;return!(_stamp_specific_redirects>=10||isNullOrUndefined(responseUrl)||""===responseUrl||responseUrl===_self._senderConfig.endpointUrl()||(_self._senderConfig.endpointUrl=function(){return responseUrl},++_stamp_specific_redirects,0))}function _beaconSender(payload,isAsync){var url=_self._senderConfig.endpointUrl(),batch=_self._buffer.batchPayloads(payload),plainTextBatch=new Blob([batch],{type:"text/plain;charset=UTF-8"});getNavigator().sendBeacon(url,plainTextBatch)?(_self._buffer.markAsSent(payload),_self._onSuccess(payload,payload.length)):(_xhrSender(payload,!0),_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TransmissionFailed,". Failed to send telemetry with Beacon API, retried with xhrSender."))}function _xhrSender(payload,isAsync){var xhr=new XMLHttpRequest,endPointUrl=_self._senderConfig.endpointUrl();try{xhr[DisabledPropertyName]=!0}catch(e){}xhr.open("POST",endPointUrl,isAsync),xhr.setRequestHeader("Content-type","application/json"),isInternalApplicationInsightsEndpoint(endPointUrl)&&xhr.setRequestHeader(RequestHeaders.sdkContextHeader,RequestHeaders.sdkContextHeaderAppIdRequest),xhr.onreadystatechange=function(){return _self._xhrReadyStateChange(xhr,payload,payload.length)},xhr.onerror=function(event){return _self._onError(payload,_formatErrorMessageXhr(xhr),event)};var batch=_self._buffer.batchPayloads(payload);xhr.send(batch),_self._buffer.markAsSent(payload)}function _parseResponse(response){try{if(response&&""!==response){var result=getJSON().parse(response);if(result&&result.itemsReceived&&result.itemsReceived>=result.itemsAccepted&&result.itemsReceived-result.itemsAccepted===result.errors.length)return result}}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_InvalidBackendResponse,"Cannot parse the response. "+getExceptionName(e),{response:response})}return null}function _resendPayload(payload,linearFactor){if(void 0===linearFactor&&(linearFactor=1),payload&&0!==payload.length){_self._buffer.clearSent(payload),_consecutiveErrors++;for(var _i=0,payload_1=payload;_i<payload_1.length;_i++){var item=payload_1[_i];_self._buffer.enqueue(item)}!function _setRetryTime(linearFactor){var delayInSeconds,SlotDelayInSeconds=10;if(_consecutiveErrors<=1)delayInSeconds=SlotDelayInSeconds;else{var backOffSlot=(Math.pow(2,_consecutiveErrors)-1)/2,backOffDelay=Math.floor(Math.random()*backOffSlot*SlotDelayInSeconds)+1;backOffDelay*=linearFactor,delayInSeconds=Math.max(Math.min(backOffDelay,3600),SlotDelayInSeconds)}var retryAfterTimeSpan=dateNow()+1e3*delayInSeconds;_retryAt=retryAfterTimeSpan}(linearFactor),_setupTimer()}}function _setupTimer(){if(!_timeoutHandle){var retryInterval=_retryAt?Math.max(0,_retryAt-dateNow()):0,timerValue=Math.max(_self._senderConfig.maxBatchInterval(),retryInterval);_timeoutHandle=setTimeout((function(){_self.triggerSend(!0,null,1)}),timerValue)}}function _isRetriable(statusCode){return 408===statusCode||429===statusCode||500===statusCode||503===statusCode}function _formatErrorMessageXhr(xhr,message){return xhr?"XMLHttpRequest,Status:"+xhr.status+",Response:"+_getResponseText(xhr)||!1:message}function _xdrSender(payload,isAsync){var _window=getWindow(),xdr=new XDomainRequest;xdr.onload=function(){return _self._xdrOnLoad(xdr,payload)},xdr.onerror=function(event){return _self._onError(payload,_formatErrorMessageXdr(xdr),event)};var hostingProtocol=_window&&_window.location&&_window.location.protocol||"";if(0!==_self._senderConfig.endpointUrl().lastIndexOf(hostingProtocol,0))return _self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TransmissionFailed,". Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol."),void _self._buffer.clear();var endpointUrl=_self._senderConfig.endpointUrl().replace(/^(https?:)/,"");xdr.open("POST",endpointUrl);var batch=_self._buffer.batchPayloads(payload);xdr.send(batch),_self._buffer.markAsSent(payload)}function _formatErrorMessageXdr(xdr,message){return xdr?"XDomainRequest,Response:"+_getResponseText(xdr)||!1:message}_self.pause=_notImplemented,_self.resume=_notImplemented,_self.flush=function(){try{_self.triggerSend(!0,null,1)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_FlushFailed,"flush failed, telemetry will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.onunloadFlush=function(){if(!1!==_self._senderConfig.onunloadDisableBeacon()&&!1!==_self._senderConfig.isBeaconApiDisabled()||!isBeaconApiSupported())_self.flush();else try{_self.triggerSend(!0,_beaconSender,2)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_FailedToSendQueuedTelemetry,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+getExceptionName(e),{exception:dumpObj(e)})}},_self.teardown=_notImplemented,_self.initialize=function(config,core,extensions,pluginChain){_base.initialize(config,core,extensions,pluginChain);var ctx=_self._getTelCtx(),identifier=_self.identifier;_serializer=new Serializer(core.logger),_consecutiveErrors=0,_retryAt=null,_self._sender=null,_stamp_specific_redirects=0;var defaultConfig=Sender._getDefaultAppInsightsChannelConfig();if(_self._senderConfig=Sender._getEmptyAppInsightsChannelConfig(),objForEachKey(defaultConfig,(function(field,value){_self._senderConfig[field]=function(){return ctx.getConfig(identifier,field,value())}})),_self._buffer=_self._senderConfig.enableSessionStorageBuffer()&&utlCanUseSessionStorage()?new SessionStorageSendBuffer(_self.diagLog(),_self._senderConfig):new ArraySendBuffer(_self._senderConfig),_self._sample=new Sample(_self._senderConfig.samplingPercentage(),_self.diagLog()),function _validateInstrumentationKey(config){return!(isNullOrUndefined(config.disableInstrumentationKeyValidation)||!config.disableInstrumentationKeyValidation)||new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(config.instrumentationKey)}(config)||_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_InvalidInstrumentationKey,"Invalid Instrumentation key "+config.instrumentationKey),!_self._senderConfig.isBeaconApiDisabled()&&isBeaconApiSupported())_self._sender=_beaconSender;else if(void 0!==typeof XMLHttpRequest){var xhr=getGlobalInst("XMLHttpRequest");xhr&&("withCredentials"in new xhr?(_self._sender=_xhrSender,_self._XMLHttpRequestSupported=!0):void 0!==typeof XDomainRequest&&(_self._sender=_xdrSender))}},_self.processTelemetry=function(telemetryItem,itemCtx){itemCtx=_self._getTelCtx(itemCtx);try{if(_self._senderConfig.disableTelemetry())return;if(!telemetryItem)return void itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_CannotSendEmptyTelemetry,"Cannot send empty telemetry");if(telemetryItem.baseData&&!telemetryItem.baseType)return void itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_InvalidEvent,"Cannot send telemetry without baseData and baseType");if(telemetryItem.baseType||(telemetryItem.baseType="EventData"),!_self._sender)return void itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_SenderNotInitialized,"Sender was not initialized");if(!function _isSampledIn(envelope){return _self._sample.isSampledIn(envelope)}(telemetryItem))return void itemCtx.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TelemetrySampledAndNotSent,"Telemetry item was sampled out and not sent",{SampleRate:_self._sample.sampleRate});telemetryItem.sampleRate=_self._sample.sampleRate;var aiEnvelope_1=Sender.constructEnvelope(telemetryItem,_self._senderConfig.instrumentationKey(),itemCtx.diagLog());if(!aiEnvelope_1)return void itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_CreateEnvelopeError,"Unable to create an AppInsights envelope");var doNotSendItem_1=!1;if(telemetryItem.tags&&telemetryItem.tags.ProcessLegacy&&(arrForEach(telemetryItem.tags.ProcessLegacy,(function(callBack){try{callBack&&!1===callBack(aiEnvelope_1)&&(doNotSendItem_1=!0,itemCtx.diagLog().warnToConsole("Telemetry processor check returns false"))}catch(e){itemCtx.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+getExceptionName(e),{exception:dumpObj(e)},!0)}})),delete telemetryItem.tags.ProcessLegacy),doNotSendItem_1)return;var payload=_serializer.serialize(aiEnvelope_1),bufferPayload=_self._buffer.getItems(),batch=_self._buffer.batchPayloads(bufferPayload);batch&&batch.length+payload.length>_self._senderConfig.maxBatchSizeInBytes()&&_self.triggerSend(!0,null,10),_self._buffer.enqueue(payload),_setupTimer()}catch(e){itemCtx.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_FailedAddingTelemetryToBuffer,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+getExceptionName(e),{exception:dumpObj(e)})}_self.processNext(telemetryItem,itemCtx)},_self._xhrReadyStateChange=function(xhr,payload,countOfItemsInPayload){if(4===xhr.readyState){var response=null;if(_self._appId||(response=_parseResponse(_getResponseText(xhr)||xhr.response))&&response.appId&&(_self._appId=response.appId),(xhr.status<200||xhr.status>=300)&&0!==xhr.status){if((301==xhr.status||308==xhr.status)&&!_checkAndUpdateEndPointUrl(xhr))return void _self._onError(payload,_formatErrorMessageXhr(xhr));!_self._senderConfig.isRetryDisabled()&&_isRetriable(xhr.status)?(_resendPayload(payload),_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TransmissionFailed,". Response code "+xhr.status+". Will retry to send "+payload.length+" items.")):_self._onError(payload,_formatErrorMessageXhr(xhr))}else Offline.isOffline()?_self._senderConfig.isRetryDisabled()||(_resendPayload(payload,10),_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TransmissionFailed,". Offline - Response Code: "+xhr.status+". Offline status: "+Offline.isOffline()+". Will retry to send "+payload.length+" items.")):(_checkAndUpdateEndPointUrl(xhr),206===xhr.status?(response||(response=_parseResponse(_getResponseText(xhr)||xhr.response)),response&&!_self._senderConfig.isRetryDisabled()?_self._onPartialSuccess(payload,response):_self._onError(payload,_formatErrorMessageXhr(xhr))):(_consecutiveErrors=0,_self._onSuccess(payload,countOfItemsInPayload)))}},_self.triggerSend=function(async,forcedSender,sendReason){void 0===async&&(async=!0);try{if(_self._senderConfig.disableTelemetry())_self._buffer.clear();else{if(_self._buffer.count()>0){var payload=_self._buffer.getItems();!function _notifySendRequest(sendRequest,isAsync){var manager=function _getNotifyMgr(){var func="getNotifyMgr";return _self.core[func]?_self.core[func]():_self.core._notificationManager}();if(manager&&manager.eventsSendRequest)try{manager.eventsSendRequest(sendRequest,isAsync)}catch(e){_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_NotificationException,"send request notification failed: "+getExceptionName(e),{exception:dumpObj(e)})}}(sendReason||0,async),forcedSender?forcedSender.call(_this,payload,async):_self._sender(payload,async)}new Date}clearTimeout(_timeoutHandle),_timeoutHandle=null,_retryAt=null}catch(e){var ieVer=getIEVersion();(!ieVer||ieVer>9)&&_self.diagLog().throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_TransmissionFailed,"Telemetry transmission failed, some telemetry will be lost: "+getExceptionName(e),{exception:dumpObj(e)})}},_self._onError=function(payload,message,event){_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_OnError,"Failed to send telemetry.",{message:message}),_self._buffer.clearSent(payload)},_self._onPartialSuccess=function(payload,results){for(var failed=[],retry=[],_i=0,errors_1=results.errors.reverse();_i<errors_1.length;_i++){var error=errors_1[_i],extracted=payload.splice(error.index,1)[0];_isRetriable(error.statusCode)?retry.push(extracted):failed.push(extracted)}payload.length>0&&_self._onSuccess(payload,results.itemsAccepted),failed.length>0&&_self._onError(failed,_formatErrorMessageXhr(null,["partial success",results.itemsAccepted,"of",results.itemsReceived].join(" "))),retry.length>0&&(_resendPayload(retry),_self.diagLog().throwInternal(LoggingSeverity.WARNING,_InternalMessageId_TransmissionFailed,"Partial success. Delivered: "+payload.length+", Failed: "+failed.length+". Will retry to send "+retry.length+" our of "+results.itemsReceived+" items"))},_self._onSuccess=function(payload,countOfItemsInPayload){_self._buffer.clearSent(payload)},_self._xdrOnLoad=function(xdr,payload){var responseText=_getResponseText(xdr);if(!xdr||responseText+""!="200"&&""!==responseText){var results=_parseResponse(responseText);results&&results.itemsReceived&&results.itemsReceived>results.itemsAccepted&&!_self._senderConfig.isRetryDisabled()?_self._onPartialSuccess(payload,results):_self._onError(payload,_formatErrorMessageXdr(xdr))}else _consecutiveErrors=0,_self._onSuccess(payload,0)}})),_this}return __extends(Sender,_super),Sender.constructEnvelope=function(orig,iKey,logger){var envelope;switch((envelope=iKey===orig.iKey||isNullOrUndefined(iKey)?orig:__assign({},orig,{iKey:iKey})).baseType){case Event$1.dataType:return EventEnvelopeCreator.EventEnvelopeCreator.Create(logger,envelope);case Trace.dataType:return TraceEnvelopeCreator.TraceEnvelopeCreator.Create(logger,envelope);case PageView.dataType:return PageViewEnvelopeCreator.PageViewEnvelopeCreator.Create(logger,envelope);case PageViewPerformance.dataType:return PageViewPerformanceEnvelopeCreator.PageViewPerformanceEnvelopeCreator.Create(logger,envelope);case Exception.dataType:return ExceptionEnvelopeCreator.ExceptionEnvelopeCreator.Create(logger,envelope);case Metric.dataType:return MetricEnvelopeCreator.MetricEnvelopeCreator.Create(logger,envelope);case RemoteDependencyData.dataType:return DependencyEnvelopeCreator.DependencyEnvelopeCreator.Create(logger,envelope);default:return EventEnvelopeCreator.EventEnvelopeCreator.Create(logger,envelope)}},Sender._getDefaultAppInsightsChannelConfig=function(){return{endpointUrl:function(){return"https://dc.services.visualstudio.com/v2/track"},emitLineDelimitedJson:function(){return!1},maxBatchInterval:function(){return 15e3},maxBatchSizeInBytes:function(){return 102400},disableTelemetry:function(){return!1},enableSessionStorageBuffer:function(){return!0},isRetryDisabled:function(){return!1},isBeaconApiDisabled:function(){return!0},onunloadDisableBeacon:function(){return!1},instrumentationKey:function(){},namePrefix:function(){},samplingPercentage:function(){return 100}}},Sender._getEmptyAppInsightsChannelConfig=function(){return{endpointUrl:void 0,emitLineDelimitedJson:void 0,maxBatchInterval:void 0,maxBatchSizeInBytes:void 0,disableTelemetry:void 0,enableSessionStorageBuffer:void 0,isRetryDisabled:void 0,isBeaconApiDisabled:void 0,onunloadDisableBeacon:void 0,instrumentationKey:void 0,namePrefix:void 0,samplingPercentage:void 0}},Sender}(BaseTelemetryPlugin),Session=function Session(){},_SessionManager=function(){function _SessionManager(config,core){var _storageNamePrefix,_cookieUpdatedTimestamp,_logger=safeGetLogger(core),_cookieManager=safeGetCookieMgr(core);dynamicProto(_SessionManager,this,(function(_self){function _initializeAutomaticSessionWithData(session,sessionData){var isValid=!1,tokens=sessionData.split("|");if(tokens.length>=2)try{var acqMs=+tokens[1]||0,renewalMs=+tokens[2]||0;isNaN(acqMs)||acqMs<=0?_logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_SessionRenewalDateIsZero,"AI session acquisition date is 0, session will be reset"):isNaN(renewalMs)||renewalMs<=0?_logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_SessionRenewalDateIsZero,"AI session renewal date is 0, session will be reset"):tokens[0]&&(session.id=tokens[0],session.acquisitionDate=acqMs,session.renewalDate=renewalMs,isValid=!0)}catch(e){_logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_ErrorParsingAISessionCookie,"Error parsing ai_session value ["+(sessionData||"")+"], session will be reset - "+getExceptionName(e),{exception:dumpObj(e)})}return isValid}function _setCookie(session,nowMs){var acq=session.acquisitionDate;session.renewalDate=nowMs;var config=_self.config,renewalPeriodMs=config.sessionRenewalMs(),acqTimeLeftMs=acq+config.sessionExpirationMs()-nowMs,cookie=[session.id,acq,nowMs],maxAgeSec=0;maxAgeSec=acqTimeLeftMs<renewalPeriodMs?acqTimeLeftMs/1e3:renewalPeriodMs/1e3;var cookieDomain=config.cookieDomain?config.cookieDomain():null;_cookieManager.set(_storageNamePrefix(),cookie.join("|"),config.sessionExpirationMs()>0?maxAgeSec:null,cookieDomain),_cookieUpdatedTimestamp=nowMs}config||(config={}),isFunction(config.sessionExpirationMs)||(config.sessionExpirationMs=function(){return _SessionManager.acquisitionSpan}),isFunction(config.sessionRenewalMs)||(config.sessionRenewalMs=function(){return _SessionManager.renewalSpan}),_self.config=config,_storageNamePrefix=function(){return _self.config.namePrefix&&_self.config.namePrefix()?"ai_session"+_self.config.namePrefix():"ai_session"},_self.automaticSession=new Session,_self.update=function(){var nowMs=dateNow(),isExpired=!1,session=_self.automaticSession;session.id||(isExpired=!function _initializeAutomaticSession(session,now){var isValid=!1,cookieValue=_cookieManager.get(_storageNamePrefix());if(cookieValue&&isFunction(cookieValue.split))isValid=_initializeAutomaticSessionWithData(session,cookieValue);else{var storageValue=utlGetLocalStorage(_logger,_storageNamePrefix());storageValue&&(isValid=_initializeAutomaticSessionWithData(session,storageValue))}return isValid||!!session.id}(session));var sessionExpirationMs=_self.config.sessionExpirationMs();if(!isExpired&&sessionExpirationMs>0){var sessionRenewalMs=_self.config.sessionRenewalMs(),timeSinceAcqMs=nowMs-session.acquisitionDate,timeSinceRenewalMs=nowMs-session.renewalDate;isExpired=(isExpired=(isExpired=timeSinceAcqMs<0||timeSinceRenewalMs<0)||timeSinceAcqMs>sessionExpirationMs)||timeSinceRenewalMs>sessionRenewalMs}isExpired?function _renew(nowMs){var theConfig=_self.config||{},getNewId=(theConfig.getNewId?theConfig.getNewId():null)||newId;_self.automaticSession.id=getNewId(theConfig.idLength?theConfig.idLength():22),_self.automaticSession.acquisitionDate=nowMs,_setCookie(_self.automaticSession,nowMs),utlCanUseLocalStorage()||_logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_BrowserDoesNotSupportLocalStorage,"Browser does not support local storage. Session durations will be inaccurate.")}(nowMs):(!_cookieUpdatedTimestamp||nowMs-_cookieUpdatedTimestamp>_SessionManager.cookieUpdateInterval)&&_setCookie(session,nowMs)},_self.backup=function(){var session=_self.automaticSession;!function _setStorage(guid,acq,renewal){utlSetLocalStorage(_logger,_storageNamePrefix(),[guid,acq,renewal].join("|"))}(session.id,session.acquisitionDate,session.renewalDate)}}))}return _SessionManager.acquisitionSpan=864e5,_SessionManager.renewalSpan=18e5,_SessionManager.cookieUpdateInterval=6e4,_SessionManager}(),Application=function Application(){},Device=function Device(){this.id="browser",this.deviceClass="Browser"},Internal=function Internal(config){this.sdkVersion=(config.sdkExtension&&config.sdkExtension()?config.sdkExtension()+"_":"")+"javascript:2.6.1"};function _validateUserInput(id){return!("string"!=typeof id||!id||id.match(/,|;|=| |\|/))}var User=function(){function User(config,core){this.isNewUser=!1;var _logger=safeGetLogger(core),_cookieManager=safeGetCookieMgr(core);dynamicProto(User,this,(function(_self){var cookie=_cookieManager.get(User.userCookieName);if(cookie){_self.isNewUser=!1;var params=cookie.split(User.cookieSeparator);params.length>0&&(_self.id=params[0])}if(_self.config=config,!_self.id){var theConfig=config||{},getNewId=(theConfig.getNewId?theConfig.getNewId():null)||newId;_self.id=getNewId(theConfig.idLength?config.idLength():22);var acqStr=toISOString(new Date);_self.accountAcquisitionDate=acqStr,_self.isNewUser=!0;var newCookie=[_self.id,acqStr];_cookieManager.set(User.userCookieName,newCookie.join(User.cookieSeparator),31536e3);var name_1=config.namePrefix&&config.namePrefix()?config.namePrefix()+"ai_session":"ai_session";utlRemoveStorage(_logger,name_1)}_self.accountId=config.accountId?config.accountId():void 0;var authCookie=_cookieManager.get(User.authUserCookieName);if(authCookie){var authCookieString=(authCookie=decodeURI(authCookie)).split(User.cookieSeparator);authCookieString[0]&&(_self.authenticatedId=authCookieString[0]),authCookieString.length>1&&authCookieString[1]&&(_self.accountId=authCookieString[1])}_self.setAuthenticatedUserContext=function(authenticatedUserId,accountId,storeInCookie){if(void 0===storeInCookie&&(storeInCookie=!1),!_validateUserInput(authenticatedUserId)||accountId&&!_validateUserInput(accountId))_logger.throwInternal(LoggingSeverity.WARNING,_InternalMessageId_SetAuthContextFailedAccountName,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);else{_self.authenticatedId=authenticatedUserId;var authCookie=_self.authenticatedId;accountId&&(_self.accountId=accountId,authCookie=[_self.authenticatedId,_self.accountId].join(User.cookieSeparator)),storeInCookie&&_cookieManager.set(User.authUserCookieName,encodeURI(authCookie))}},_self.clearAuthenticatedUserContext=function(){_self.authenticatedId=null,_self.accountId=null,_cookieManager.del(User.authUserCookieName)}}))}return User.cookieSeparator="|",User.userCookieName="ai_user",User.authUserCookieName="ai_authUser",User}(),Location=function Location(){},TelemetryTrace=function TelemetryTrace(id,parentId,name,logger){this.traceID=id||generateW3CId(),this.parentID=parentId,this.name=name;var location=getLocation();!name&&location&&location.pathname&&(this.name=location.pathname),this.name=DataSanitizer.sanitizeString(logger,this.name)};function _removeEmpty(target,name){target&&target[name]&&0===objKeys(target[name]).length&&delete target[name]}var TelemetryContext=function TelemetryContext(core,defaultConfig){var _this=this,logger=core.logger;this.appId=function(){return null},dynamicProto(TelemetryContext,this,(function(_self){_self.application=new Application,_self.internal=new Internal(defaultConfig),hasWindow()&&(_self.sessionManager=new _SessionManager(defaultConfig,core),_self.device=new Device,_self.location=new Location,_self.user=new User(defaultConfig,core),_self.telemetryTrace=new TelemetryTrace(void 0,void 0,void 0,logger),_self.session=new Session),_self.applySessionContext=function(evt,itemCtx){var session=_self.session,sessionManager=_self.sessionManager;session&&isString(session.id)?setValue(getSetValue(evt.ext,Extensions.AppExt),"sesId",session.id):sessionManager&&sessionManager.automaticSession&&setValue(getSetValue(evt.ext,Extensions.AppExt),"sesId",sessionManager.automaticSession.id,isString)},_self.applyOperatingSystemContxt=function(evt,itemCtx){setValue(evt.ext,Extensions.OSExt,_self.os)},_self.applyApplicationContext=function(evt,itemCtx){var application=_self.application;if(application){var tags=getSetValue(evt,"tags");setValue(tags,CtxTagKeys.applicationVersion,application.ver,isString),setValue(tags,CtxTagKeys.applicationBuild,application.build,isString)}},_self.applyDeviceContext=function(evt,itemCtx){var device=_self.device;if(device){var extDevice=getSetValue(getSetValue(evt,"ext"),Extensions.DeviceExt);setValue(extDevice,"localId",device.id,isString),setValue(extDevice,"ip",device.ip,isString),setValue(extDevice,"model",device.model,isString),setValue(extDevice,"deviceClass",device.deviceClass,isString)}},_self.applyInternalContext=function(evt,itemCtx){var internal=_self.internal;if(internal){var tags=getSetValue(evt,"tags");setValue(tags,CtxTagKeys.internalAgentVersion,internal.agentVersion,isString),setValue(tags,CtxTagKeys.internalSdkVersion,internal.sdkVersion,isString),evt.baseType!==_InternalLogMessage.dataType&&evt.baseType!==PageView.dataType||(setValue(tags,CtxTagKeys.internalSnippet,internal.snippetVer,isString),setValue(tags,CtxTagKeys.internalSdkSrc,internal.sdkSrc,isString))}},_self.applyLocationContext=function(evt,itemCtx){var location=_this.location;location&&setValue(getSetValue(evt,"tags",[]),CtxTagKeys.locationIp,location.ip,isString)},_self.applyOperationContext=function(evt,itemCtx){var telemetryTrace=_self.telemetryTrace;if(telemetryTrace){var extTrace=getSetValue(getSetValue(evt,"ext"),Extensions.TraceExt,{traceID:void 0,parentID:void 0});setValue(extTrace,"traceID",telemetryTrace.traceID,isString),setValue(extTrace,"name",telemetryTrace.name,isString),setValue(extTrace,"parentID",telemetryTrace.parentID,isString)}},_self.applyWebContext=function(evt,itemCtx){var web=_this.web;web&&setValue(getSetValue(evt,"ext"),Extensions.WebExt,web)},_self.applyUserContext=function(evt,itemCtx){var user=_self.user;if(user){setValue(getSetValue(evt,"tags",[]),CtxTagKeys.userAccountId,user.accountId,isString);var extUser=getSetValue(getSetValue(evt,"ext"),Extensions.UserExt);setValue(extUser,"id",user.id,isString),setValue(extUser,"authId",user.authenticatedId,isString)}},_self.cleanUp=function(evt,itemCtx){var ext=evt.ext;ext&&(_removeEmpty(ext,Extensions.DeviceExt),_removeEmpty(ext,Extensions.UserExt),_removeEmpty(ext,Extensions.WebExt),_removeEmpty(ext,Extensions.OSExt),_removeEmpty(ext,Extensions.AppExt),_removeEmpty(ext,Extensions.TraceExt))}}))},PropertiesPlugin=function(_super){function PropertiesPlugin(){var _breezeChannel,_extensionConfig,_this=_super.call(this)||this;return _this.priority=110,_this.identifier="AppInsightsPropertiesPlugin",dynamicProto(PropertiesPlugin,_this,(function(_self,_base){_self.initialize=function(config,core,extensions,pluginChain){_base.initialize(config,core,extensions,pluginChain);var ctx=_self._getTelCtx(),identifier=_self.identifier,defaultConfig=PropertiesPlugin.getDefaultConfig();_extensionConfig=_extensionConfig||{},objForEachKey(defaultConfig,(function(field,value){_extensionConfig[field]=function(){return ctx.getConfig(identifier,field,value())}})),_self.context=new TelemetryContext(core,_extensionConfig),_breezeChannel=getExtensionByName(extensions,"AppInsightsChannelPlugin"),_self.context.appId=function(){return _breezeChannel?_breezeChannel._appId:null},_self._extConfig=_extensionConfig},_self.processTelemetry=function(event,itemCtx){if(isNullOrUndefined(event));else{itemCtx=_self._getTelCtx(itemCtx),event.name===PageView.envelopeType&&itemCtx.diagLog().resetInternalMessageCount();var theContext=_self.context||{};if(theContext.session&&"string"!=typeof _self.context.session.id&&theContext.sessionManager&&theContext.sessionManager.update(),function _processTelemetryInternal(evt,itemCtx){getSetValue(evt,"tags",[]),getSetValue(evt,"ext",{});var ctx=_self.context;ctx.applySessionContext(evt,itemCtx),ctx.applyApplicationContext(evt,itemCtx),ctx.applyDeviceContext(evt,itemCtx),ctx.applyOperationContext(evt,itemCtx),ctx.applyUserContext(evt,itemCtx),ctx.applyOperatingSystemContxt(evt,itemCtx),ctx.applyWebContext(evt,itemCtx),ctx.applyLocationContext(evt,itemCtx),ctx.applyInternalContext(evt,itemCtx),ctx.cleanUp(evt,itemCtx)}(event,itemCtx),theContext.user&&theContext.user.isNewUser){theContext.user.isNewUser=!1;var message=new _InternalLogMessage(_InternalMessageId_SendBrowserInfoOnUserInit,(getNavigator()||{}).userAgent||"");itemCtx.diagLog().logInternalMessage(LoggingSeverity.CRITICAL,message)}_self.processNext(event,itemCtx)}}})),_this}return __extends(PropertiesPlugin,_super),PropertiesPlugin.getDefaultConfig=function(){return{instrumentationKey:function(){},accountId:function(){return null},sessionRenewalMs:function(){return 18e5},samplingPercentage:function(){return 100},sessionExpirationMs:function(){return 864e5},cookieDomain:function(){return null},sdkExtension:function(){return null},isBrowserLinkTrackingEnabled:function(){return!1},appId:function(){return null},namePrefix:function(){},idLength:function(){return 22},getNewId:function(){return null}}},PropertiesPlugin}(BaseTelemetryPlugin);function _calcPerfDuration(resourceEntry,start,end){var result=0,from=resourceEntry[start],to=resourceEntry[end];return from&&to&&(result=dateTimeUtilsDuration(from,to)),result}function _setPerfDuration(props,name,resourceEntry,start,end){var result=0,value=_calcPerfDuration(resourceEntry,start,end);return value&&(result=_setPerfValue(props,name,msToTimeSpan(value))),result}function _setPerfValue(props,name,value){var result=0;return props&&name&&value&&((props.ajaxPerf=props.ajaxPerf||{})[name]=value,result=1),result}var XHRMonitoringState=function XHRMonitoringState(){this.openDone=!1,this.setRequestHeaderDone=!1,this.sendDone=!1,this.abortDone=!1,this.stateChangeAttached=!1},ajaxRecord=function ajaxRecord(traceID,spanID,logger){var _logger=logger;this.perfMark=null,this.completed=!1,this.requestHeadersSize=null,this.requestHeaders=null,this.responseReceivingDuration=null,this.callbackDuration=null,this.ajaxTotalDuration=null,this.aborted=0,this.pageUrl=null,this.requestUrl=null,this.requestSize=0,this.method=null,this.status=null,this.requestSentTime=null,this.responseStartedTime=null,this.responseFinishedTime=null,this.callbackFinishedTime=null,this.endTime=null,this.xhrMonitoringState=new XHRMonitoringState,this.clientFailure=0,this.traceID=traceID,this.spanID=spanID,dynamicProto(ajaxRecord,this,(function(self){self.getAbsoluteUrl=function(){return self.requestUrl?urlGetAbsoluteUrl(self.requestUrl):null},self.getPathName=function(){return self.requestUrl?DataSanitizer.sanitizeUrl(_logger,urlGetCompleteUrl(self.method,self.requestUrl)):null},self.CreateTrackItem=function(ajaxType,enableRequestHeaderTracking,getResponse){if(self.ajaxTotalDuration=Math.round(1e3*dateTimeUtilsDuration(self.requestSentTime,self.responseFinishedTime))/1e3,self.ajaxTotalDuration<0)return null;var _a,dependency=((_a={id:"|"+self.traceID+"."+self.spanID,target:self.getAbsoluteUrl(),name:self.getPathName(),type:ajaxType,startTime:null,duration:self.ajaxTotalDuration,success:+self.status>=200&&+self.status<400,responseCode:+self.status,method:self.method}).properties={HttpMethod:self.method},_a);if(self.requestSentTime&&(dependency.startTime=new Date,dependency.startTime.setTime(self.requestSentTime)),function _populatePerfData(ajaxData,dependency){var resourceEntry=ajaxData.perfTiming,props=dependency.properties||{},propsSet=0,strRedirect="redirect",strRedirectStart=strRedirect+"Start",strRedirectEnd=strRedirect="End";if(resourceEntry){propsSet|=_setPerfDuration(props,strRedirect,resourceEntry,strRedirectStart,strRedirectEnd),propsSet|=_setPerfDuration(props,"domainLookup",resourceEntry,"domainLookupStart","domainLookupEnd"),propsSet|=_setPerfDuration(props,"connect",resourceEntry,"connectStart","connectEnd"),propsSet|=_setPerfDuration(props,"request",resourceEntry,"requestStart","requestEnd"),propsSet|=_setPerfDuration(props,"response",resourceEntry,"responseStart","responseEnd"),propsSet|=_setPerfDuration(props,"networkConnect",resourceEntry,"startTime","connectEnd"),propsSet|=_setPerfDuration(props,"sentRequest",resourceEntry,"requestStart","responseEnd");var duration=resourceEntry.duration;duration||(duration=_calcPerfDuration(resourceEntry,"startTime","responseEnd")||0),propsSet|=_setPerfValue(props,"duration",duration),propsSet|=_setPerfValue(props,"perfTotal",duration);var serverTiming=resourceEntry.serverTiming;if(serverTiming){var server_1={};arrForEach(serverTiming,(function(value,idx){var name=function normalizeJsName(name){var value=name,match=/([^\w\d_$])/g;return match.test(name)&&(value=name.replace(match,"_")),value}(value.name||""+idx),newValue=server_1[name]||{};objForEachKey(value,(function(key,val){("name"!==key&&isString(val)||isNumber(val))&&(newValue[key]&&(val=newValue[key]+";"+val),!val&&isString(val)||(newValue[key]=val))})),server_1[name]=newValue})),propsSet|=_setPerfValue(props,"serverTiming",server_1)}propsSet|=_setPerfValue(props,"transferSize",resourceEntry.transferSize),propsSet|=_setPerfValue(props,"encodedBodySize",resourceEntry.encodedBodySize),propsSet|=_setPerfValue(props,"decodedBodySize",resourceEntry.decodedBodySize)}else ajaxData.perfMark&&(propsSet|=_setPerfValue(props,"missing",ajaxData.perfAttempts));propsSet&&(dependency.properties=props)}(self,dependency),enableRequestHeaderTracking&&objKeys(self.requestHeaders).length>0&&(dependency.properties=dependency.properties||{},dependency.properties.requestHeaders=self.requestHeaders),getResponse){var response=getResponse();if(response){var correlationContext=response.correlationContext;if(correlationContext&&(dependency.correlationContext=correlationContext),response.headerMap&&objKeys(response.headerMap).length>0&&(dependency.properties=dependency.properties||{},dependency.properties.responseHeaders=response.headerMap),self.status>=400){var responseType=response.type;dependency.properties=dependency.properties||{},""!==responseType&&"text"!==responseType||(dependency.properties.responseText=response.responseText?response.statusText+" - "+response.responseText:response.statusText),"json"===responseType&&(dependency.properties.responseText=response.response?response.statusText+" - "+JSON.stringify(response.response):response.statusText)}}}return dependency}}))},Traceparent=function(){function Traceparent(traceId,spanId){this.traceFlag=Traceparent.DEFAULT_TRACE_FLAG,this.version=Traceparent.DEFAULT_VERSION,traceId&&Traceparent.isValidTraceId(traceId)?this.traceId=traceId:this.traceId=generateW3CId(),spanId&&Traceparent.isValidSpanId(spanId)?this.spanId=spanId:this.spanId=generateW3CId().substr(0,16)}return Traceparent.isValidTraceId=function(id){return id.match(/^[0-9a-f]{32}$/)&&"00000000000000000000000000000000"!==id},Traceparent.isValidSpanId=function(id){return id.match(/^[0-9a-f]{16}$/)&&"0000000000000000"!==id},Traceparent.prototype.toString=function(){return this.version+"-"+this.traceId+"-"+this.spanId+"-"+this.traceFlag},Traceparent.DEFAULT_TRACE_FLAG="01",Traceparent.DEFAULT_VERSION="00",Traceparent}(),_markCount=0;function _getFailedAjaxDiagnosticsMessage(xhr){var result="";try{isNullOrUndefined(xhr)||isNullOrUndefined(xhr.ajaxData)||isNullOrUndefined(xhr.ajaxData.requestUrl)||(result+="(url: '"+xhr.ajaxData.requestUrl+"')")}catch(e){}return result}function _throwInternalCritical(ajaxMonitorInstance,msgId,message,properties,isUserAct){ajaxMonitorInstance.diagLog().throwInternal(LoggingSeverity.CRITICAL,msgId,message,properties,isUserAct)}function _throwInternalWarning(ajaxMonitorInstance,msgId,message,properties,isUserAct){ajaxMonitorInstance.diagLog().throwInternal(LoggingSeverity.WARNING,msgId,message,properties,isUserAct)}function _createErrorCallbackFunc(ajaxMonitorInstance,internalMessage,message){return function(args){_throwInternalCritical(ajaxMonitorInstance,internalMessage,message,{ajaxDiagnosticsMessage:_getFailedAjaxDiagnosticsMessage(args.inst),exception:dumpObj(args.err)})}}function _indexOf(value,match){return value&&match?value.indexOf(match):-1}var _internalSdkSrc,AjaxMonitor=function(_super){function AjaxMonitor(){var _this=_super.call(this)||this;_this.identifier=AjaxMonitor.identifier,_this.priority=120;var _context,_isUsingW3CHeaders,_isUsingAIHeaders,_markPrefix,location=getLocation(),_fetchInitialized=!1,_xhrInitialized=!1,_currentWindowHost=location&&location.host&&location.host.toLowerCase(),_config=AjaxMonitor.getEmptyConfig(),_enableRequestHeaderTracking=!1,_trackAjaxAttempts=0,_enableAjaxPerfTracking=!1,_maxAjaxCallsPerView=0,_enableResponseHeaderTracking=!1,_hooks=[],_disabledUrls={};return dynamicProto(AjaxMonitor,_this,(function(_self,base){function _hookProto(target,funcName,callbacks){_hooks.push(function InstrumentProto(target,funcName,callbacks){return target?InstrumentFunc(target.prototype,funcName,callbacks,!1):null}(target,funcName,callbacks))}function _isDisabledRequest(xhr,request,init){var isDisabled=!1,theUrl=((isString(request)?request:(request||{}).url||"")||"").toLowerCase(),idx=_indexOf(theUrl,"?"),idx2=_indexOf(theUrl,"#");return(-1===idx||-1!==idx2&&idx2<idx)&&(idx=idx2),-1!==idx&&(theUrl=theUrl.substring(0,idx)),isNullOrUndefined(xhr)?isNullOrUndefined(request)||(isDisabled="object"==typeof request&&!0===request[DisabledPropertyName]||!!init&&!0===init[DisabledPropertyName]):isDisabled=!0===xhr[DisabledPropertyName]||!0===theUrl[DisabledPropertyName],isDisabled?_disabledUrls[theUrl]||(_disabledUrls[theUrl]=1):_disabledUrls[theUrl]&&(isDisabled=!0),isDisabled}function _isMonitoredXhrInstance(xhr,excludeAjaxDataValidation){var ajaxValidation=!0,initialized=_xhrInitialized;return isNullOrUndefined(xhr)||(ajaxValidation=!0===excludeAjaxDataValidation||!isNullOrUndefined(xhr.ajaxData)),initialized&&ajaxValidation}function _getResponseText(xhr){try{var responseType=xhr.responseType;if(""===responseType||"text"===responseType)return xhr.responseText}catch(e){}return null}function _getAjaxCorrelationContext(xhr){try{var responseHeadersString=xhr.getAllResponseHeaders();if(null!==responseHeadersString&&-1!==_indexOf(responseHeadersString.toLowerCase(),RequestHeaders.requestContextHeaderLowerCase)){var responseHeader=xhr.getResponseHeader(RequestHeaders.requestContextHeader);return CorrelationIdHelper.getCorrelationContext(responseHeader)}}catch(e){_throwInternalWarning(_self,_InternalMessageId_FailedMonitorAjaxGetCorrelationHeader,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{ajaxDiagnosticsMessage:_getFailedAjaxDiagnosticsMessage(xhr),exception:dumpObj(e)})}}function _createMarkId(type,ajaxData){if(ajaxData.requestUrl&&_markPrefix&&_enableAjaxPerfTracking){var performance_1=getPerformance();if(performance_1&&isFunction(performance_1.mark)){_markCount++;var markId=_markPrefix+type+"#"+_markCount;performance_1.mark(markId);var entries=performance_1.getEntriesByName(markId);entries&&1===entries.length&&(ajaxData.perfMark=entries[0])}}}function _findPerfResourceEntry(initiatorType,ajaxData,trackCallback,reportError){var perfMark=ajaxData.perfMark,performance=getPerformance(),maxAttempts=_config.maxAjaxPerfLookupAttempts,retryDelay=_config.ajaxPerfLookupDelay,requestUrl=ajaxData.requestUrl,attempt=0;!function locateResourceTiming(){try{if(performance&&perfMark){attempt++;for(var perfTiming=null,entries=performance.getEntries(),lp=entries.length-1;lp>=0;lp--){var entry=entries[lp];if(entry){if("resource"===entry.entryType)entry.initiatorType!==initiatorType||-1===_indexOf(entry.name,requestUrl)&&-1===_indexOf(requestUrl,entry.name)||(perfTiming=entry);else if("mark"===entry.entryType&&entry.name===perfMark.name){ajaxData.perfTiming=perfTiming;break}if(entry.startTime<perfMark.startTime-1e3)break}}}!perfMark||ajaxData.perfTiming||attempt>=maxAttempts||!1===ajaxData.async?(perfMark&&isFunction(performance.clearMarks)&&performance.clearMarks(perfMark.name),ajaxData.perfAttempts=attempt,trackCallback()):setTimeout(locateResourceTiming,retryDelay)}catch(e){reportError(e)}}()}function _getFailedFetchDiagnosticsMessage(input){var result="";try{isNullOrUndefined(input)||(result+="string"==typeof input?"(url: '"+input+"')":"(url: '"+input.url+"')")}catch(e){_throwInternalCritical(_self,_InternalMessageId_FailedMonitorAjaxOpen,"Failed to grab failed fetch diagnostics message",{exception:dumpObj(e)})}return result}function _reportFetchMetrics(callDetails,status,input,ajaxData,getResponse,properties){function _reportFetchError(msgId,e,failedProps){var errorProps=failedProps||{};errorProps.fetchDiagnosticsMessage=_getFailedFetchDiagnosticsMessage(input),e&&(errorProps.exception=dumpObj(e)),_throwInternalWarning(_self,msgId,"Failed to calculate the duration of the fetch call, monitoring data for this fetch call won't be sent.",errorProps)}ajaxData&&(ajaxData.responseFinishedTime=dateTimeUtilsNow(),ajaxData.status=status,_findPerfResourceEntry("fetch",ajaxData,(function(){var dependency=ajaxData.CreateTrackItem("Fetch",_enableRequestHeaderTracking,getResponse);dependency?_self.trackDependencyDataInternal(dependency):_reportFetchError(_InternalMessageId_FailedMonitorAjaxDur,null,{requestSentTime:ajaxData.requestSentTime,responseFinishedTime:ajaxData.responseFinishedTime})}),(function(e){_reportFetchError(_InternalMessageId_FailedMonitorAjaxGetCorrelationHeader,e,null)})))}function _getFetchCorrelationContext(response){if(response&&response.headers)try{var responseHeader=response.headers.get(RequestHeaders.requestContextHeader);return CorrelationIdHelper.getCorrelationContext(responseHeader)}catch(e){_throwInternalWarning(_self,_InternalMessageId_FailedMonitorAjaxGetCorrelationHeader,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{fetchDiagnosticsMessage:_getFailedFetchDiagnosticsMessage(response),exception:dumpObj(e)})}}_self.initialize=function(config,core,extensions,pluginChain){if(!_self.isInitialized()){base.initialize(config,core,extensions,pluginChain);var ctx_1=_self._getTelCtx();objForEachKey(AjaxMonitor.getDefaultConfig(),(function(field,value){_config[field]=ctx_1.getConfig(AjaxMonitor.identifier,field,value)}));var distributedTracingMode=_config.distributedTracingMode;if(_enableRequestHeaderTracking=_config.enableRequestHeaderTracking,_enableAjaxPerfTracking=_config.enableAjaxPerfTracking,_maxAjaxCallsPerView=_config.maxAjaxCallsPerView,_enableResponseHeaderTracking=_config.enableResponseHeaderTracking,_isUsingAIHeaders=distributedTracingMode===DistributedTracingModes.AI||distributedTracingMode===DistributedTracingModes.AI_AND_W3C,_isUsingW3CHeaders=distributedTracingMode===DistributedTracingModes.AI_AND_W3C||distributedTracingMode===DistributedTracingModes.W3C,_enableAjaxPerfTracking){var iKey=config.instrumentationKey||"unkwn";_markPrefix=iKey.length>5?"ai.ajxmn."+iKey.substring(iKey.length-5)+".":"ai.ajxmn."+iKey+"."}if(!1===_config.disableAjaxTracking&&function _instrumentXhr(){(function _supportsAjaxMonitoring(ajaxMonitorInstance){var result=!1;if("undefined"!=typeof XMLHttpRequest&&!isNullOrUndefined(XMLHttpRequest)){var proto=XMLHttpRequest.prototype;result=!(isNullOrUndefined(proto)||isNullOrUndefined(proto.open)||isNullOrUndefined(proto.send)||isNullOrUndefined(proto.abort))}var ieVer=getIEVersion();if(ieVer&&ieVer<9&&(result=!1),result)try{(new XMLHttpRequest).ajaxData={};var theOpen=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=theOpen}catch(e){result=!1,_throwInternalCritical(ajaxMonitorInstance,_InternalMessageId_FailedMonitorAjaxOpen,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:dumpObj(e)})}return result})(_self)&&!_xhrInitialized&&(_hookProto(XMLHttpRequest,"open",{req:function(args,method,url,async){var xhr=args.inst,ajaxData=xhr.ajaxData;_isDisabledRequest(xhr,url)||!_isMonitoredXhrInstance(xhr,!0)||ajaxData&&ajaxData.xhrMonitoringState.openDone||function _openHandler(xhr,method,url,async){var traceID=_context&&_context.telemetryTrace&&_context.telemetryTrace.traceID||generateW3CId(),spanID=generateW3CId().substr(0,16),ajaxData=new ajaxRecord(traceID,spanID,_self.diagLog());ajaxData.method=method,ajaxData.requestUrl=url,ajaxData.xhrMonitoringState.openDone=!0,ajaxData.requestHeaders={},ajaxData.async=async,xhr.ajaxData=ajaxData,function _attachToOnReadyStateChange(xhr){xhr.ajaxData.xhrMonitoringState.stateChangeAttached=EventHelper.Attach(xhr,"readystatechange",(function(){try{xhr&&4===xhr.readyState&&_isMonitoredXhrInstance(xhr)&&function _onAjaxComplete(xhr){var ajaxData=xhr.ajaxData;function _reportXhrError(e,failedProps){var errorProps=failedProps||{};errorProps.ajaxDiagnosticsMessage=_getFailedAjaxDiagnosticsMessage(xhr),e&&(errorProps.exception=dumpObj(e)),_throwInternalWarning(_self,_InternalMessageId_FailedMonitorAjaxDur,"Failed to calculate the duration of the ajax call, monitoring data for this ajax call won't be sent.",errorProps)}ajaxData.responseFinishedTime=dateTimeUtilsNow(),ajaxData.status=xhr.status,_findPerfResourceEntry("xmlhttprequest",ajaxData,(function(){try{var dependency=ajaxData.CreateTrackItem("Ajax",_enableRequestHeaderTracking,(function(){var ajaxResponse={statusText:xhr.statusText,headerMap:null,correlationContext:_getAjaxCorrelationContext(xhr),type:xhr.responseType,responseText:_getResponseText(xhr),response:xhr.response};if(_enableResponseHeaderTracking){var headers=xhr.getAllResponseHeaders();if(headers){var arr=strTrim(headers).split(/[\r\n]+/),responseHeaderMap_2={};arrForEach(arr,(function(line){var parts=line.split(": "),header=parts.shift(),value=parts.join(": ");responseHeaderMap_2[header]=value})),ajaxResponse.headerMap=responseHeaderMap_2}}return ajaxResponse}));dependency?_self.trackDependencyDataInternal(dependency):_reportXhrError(null,{requestSentTime:ajaxData.requestSentTime,responseFinishedTime:ajaxData.responseFinishedTime})}finally{try{xhr.ajaxData=null}catch(e){}}}),(function(e){_reportXhrError(e,null)}))}(xhr)}catch(e){var exceptionText=dumpObj(e);exceptionText&&-1!==_indexOf(exceptionText.toLowerCase(),"c00c023f")||_throwInternalCritical(_self,_InternalMessageId_FailedMonitorAjaxRSC,"Failed to monitor XMLHttpRequest 'readystatechange' event handler, monitoring data for this ajax call may be incorrect.",{ajaxDiagnosticsMessage:_getFailedAjaxDiagnosticsMessage(xhr),exception:exceptionText})}}))}(xhr)}(xhr,method,url,async)},hkErr:_createErrorCallbackFunc(_self,_InternalMessageId_FailedMonitorAjaxOpen,"Failed to monitor XMLHttpRequest.open, monitoring data for this ajax call may be incorrect.")}),_hookProto(XMLHttpRequest,"send",{req:function(args,context){var xhr=args.inst,ajaxData=xhr.ajaxData;_isMonitoredXhrInstance(xhr)&&!ajaxData.xhrMonitoringState.sendDone&&(_createMarkId("xhr",ajaxData),ajaxData.requestSentTime=dateTimeUtilsNow(),xhr=_self.includeCorrelationHeaders(ajaxData,void 0,void 0,xhr),ajaxData.xhrMonitoringState.sendDone=!0)},hkErr:_createErrorCallbackFunc(_self,_InternalMessageId_FailedMonitorAjaxSend,"Failed to monitor XMLHttpRequest, monitoring data for this ajax call may be incorrect.")}),_hookProto(XMLHttpRequest,"abort",{req:function(args){var xhr=args.inst,ajaxData=xhr.ajaxData;_isMonitoredXhrInstance(xhr)&&!ajaxData.xhrMonitoringState.abortDone&&(ajaxData.aborted=1,ajaxData.xhrMonitoringState.abortDone=!0)},hkErr:_createErrorCallbackFunc(_self,_InternalMessageId_FailedMonitorAjaxAbort,"Failed to monitor XMLHttpRequest.abort, monitoring data for this ajax call may be incorrect.")}),_enableRequestHeaderTracking&&_hookProto(XMLHttpRequest,"setRequestHeader",{req:function(args,header,value){var xhr=args.inst;_isMonitoredXhrInstance(xhr)&&(xhr.ajaxData.requestHeaders[header]=value)},hkErr:_createErrorCallbackFunc(_self,_InternalMessageId_FailedMonitorAjaxSetRequestHeader,"Failed to monitor XMLHttpRequest.setRequestHeader, monitoring data for this ajax call may be incorrect.")}),_xhrInitialized=!0)}(),function _instrumentFetch(){var fetch=function _supportsFetch(){var _global=getGlobal();return!_global||isNullOrUndefined(_global.Request)||isNullOrUndefined(_global.Request.prototype)||isNullOrUndefined(_global.fetch)?null:_global.fetch}();if(fetch){var global=getGlobal(),isPolyfill=fetch.polyfill;!1===_config.disableFetchTracking?(_hooks.push(InstrumentFunc(global,"fetch",{req:function(callDetails,input,init){var fetchData;if(_fetchInitialized&&!_isDisabledRequest(null,input,init)&&(!isPolyfill||!_xhrInitialized)){var ctx=callDetails.ctx();fetchData=function _createFetchRecord(input,init){var traceID=_context&&_context.telemetryTrace&&_context.telemetryTrace.traceID||generateW3CId(),spanID=generateW3CId().substr(0,16),ajaxData=new ajaxRecord(traceID,spanID,_self.diagLog());ajaxData.requestSentTime=dateTimeUtilsNow(),input instanceof Request?ajaxData.requestUrl=input?input.url:"":ajaxData.requestUrl=input;var method="GET";init&&init.method?method=init.method:input&&input instanceof Request&&(method=input.method),ajaxData.method=method;var requestHeaders={};return _enableRequestHeaderTracking&&new Headers((init?init.headers:0)||input instanceof Request&&input.headers||{}).forEach((function(value,key){requestHeaders[key]=value})),ajaxData.requestHeaders=requestHeaders,_createMarkId("fetch",ajaxData),ajaxData}(input,init);var newInit=_self.includeCorrelationHeaders(fetchData,input,init);newInit!==init&&callDetails.set(1,newInit),ctx.data=fetchData}},rsp:function(callDetails,input){var fetchData=callDetails.ctx().data;fetchData&&(callDetails.rslt=callDetails.rslt.then((function(response){return _reportFetchMetrics(0,(response||{}).status,response,fetchData,(function(){var ajaxResponse={statusText:response.statusText,headerMap:null,correlationContext:_getFetchCorrelationContext(response)};if(_enableResponseHeaderTracking){var responseHeaderMap_1={};response.headers.forEach((function(value,name){responseHeaderMap_1[name]=value})),ajaxResponse.headerMap=responseHeaderMap_1}return ajaxResponse})),response})).catch((function(reason){throw _reportFetchMetrics(0,0,input,fetchData,null,reason.message),reason})))},hkErr:_createErrorCallbackFunc(_self,_InternalMessageId_FailedMonitorAjaxOpen,"Failed to monitor Window.fetch, monitoring data for this fetch call may be incorrect.")})),_fetchInitialized=!0):isPolyfill&&_hooks.push(InstrumentFunc(global,"fetch",{req:function(callDetails,input,init){_isDisabledRequest(null,input,init)}})),isPolyfill&&(global.fetch.polyfill=isPolyfill)}}(),extensions.length>0&&extensions){for(var propExt=void 0,extIx=0;!propExt&&extIx<extensions.length;)extensions[extIx]&&"AppInsightsPropertiesPlugin"===extensions[extIx].identifier&&(propExt=extensions[extIx]),extIx++;propExt&&(_context=propExt.context)}}},_self.teardown=function(){arrForEach(_hooks,(function(fn){fn.rm()})),_hooks=[],_fetchInitialized=!1,_xhrInitialized=!1,_self.setInitialized(!1)},_self.trackDependencyData=function(dependency,properties){_self.trackDependencyDataInternal(dependency,properties)},_self.includeCorrelationHeaders=function(ajaxData,input,init,xhr){var currentWindowHost=_self._currentWindowHost||_currentWindowHost;if(input){if(CorrelationIdHelper.canIncludeCorrelationHeader(_config,ajaxData.getAbsoluteUrl(),currentWindowHost)){if(init||(init={}),init.headers=new Headers(init.headers||input instanceof Request&&input.headers||{}),_isUsingAIHeaders){var id="|"+ajaxData.traceID+"."+ajaxData.spanID;init.headers.set(RequestHeaders.requestIdHeader,id),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.requestIdHeader]=id)}if((appId=_config.appId||_context&&_context.appId())&&(init.headers.set(RequestHeaders.requestContextHeader,RequestHeaders.requestContextAppIdFormat+appId),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.requestContextHeader]=RequestHeaders.requestContextAppIdFormat+appId)),_isUsingW3CHeaders){var traceparent=new Traceparent(ajaxData.traceID,ajaxData.spanID);init.headers.set(RequestHeaders.traceParentHeader,traceparent.toString()),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.traceParentHeader]=traceparent.toString())}}return init}if(xhr){var appId;if(CorrelationIdHelper.canIncludeCorrelationHeader(_config,ajaxData.getAbsoluteUrl(),currentWindowHost))_isUsingAIHeaders&&(id="|"+ajaxData.traceID+"."+ajaxData.spanID,xhr.setRequestHeader(RequestHeaders.requestIdHeader,id),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.requestIdHeader]=id)),(appId=_config.appId||_context&&_context.appId())&&(xhr.setRequestHeader(RequestHeaders.requestContextHeader,RequestHeaders.requestContextAppIdFormat+appId),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.requestContextHeader]=RequestHeaders.requestContextAppIdFormat+appId)),_isUsingW3CHeaders&&(traceparent=new Traceparent(ajaxData.traceID,ajaxData.spanID),xhr.setRequestHeader(RequestHeaders.traceParentHeader,traceparent.toString()),_enableRequestHeaderTracking&&(ajaxData.requestHeaders[RequestHeaders.traceParentHeader]=traceparent.toString()));return xhr}},_self.trackDependencyDataInternal=function(dependency,properties,systemProperties){if(-1===_maxAjaxCallsPerView||_trackAjaxAttempts<_maxAjaxCallsPerView){_config.distributedTracingMode!==DistributedTracingModes.W3C&&_config.distributedTracingMode!==DistributedTracingModes.AI_AND_W3C||"string"!=typeof dependency.id||"."===dependency.id[dependency.id.length-1]||(dependency.id+="."),isNullOrUndefined(dependency.startTime)&&(dependency.startTime=new Date);var item=TelemetryItemCreator.create(dependency,RemoteDependencyData.dataType,RemoteDependencyData.envelopeType,_self.diagLog(),properties,systemProperties);_self.core.track(item)}else _trackAjaxAttempts===_maxAjaxCallsPerView&&_throwInternalCritical(_self,_InternalMessageId_MaxAjaxPerPVExceeded,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++_trackAjaxAttempts}})),_this}return __extends(AjaxMonitor,_super),AjaxMonitor.getDefaultConfig=function(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!0,disableCorrelationHeaders:!1,distributedTracingMode:DistributedTracingModes.AI_AND_W3C,correlationHeaderExcludedDomains:["*.blob.core.windows.net","*.blob.core.chinacloudapi.cn","*.blob.core.cloudapi.de","*.blob.core.usgovcloudapi.net"],correlationHeaderDomains:void 0,appId:void 0,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25}},AjaxMonitor.getEmptyConfig=function(){var emptyConfig=this.getDefaultConfig();return objForEachKey(emptyConfig,(function(value){emptyConfig[value]=void 0})),emptyConfig},AjaxMonitor.prototype.processTelemetry=function(item,itemCtx){this.processNext(item,itemCtx)},AjaxMonitor.identifier="AjaxDependencyPlugin",AjaxMonitor}(BaseTelemetryPlugin),_ignoreUpdateSnippetProperties=["snippet","dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],Telemetry={__proto__:null,PropertiesPluginIdentifier:"AppInsightsPropertiesPlugin",BreezeChannelIdentifier:"AppInsightsChannelPlugin",AnalyticsPluginIdentifier:"ApplicationInsightsAnalytics",Util:Util,CorrelationIdHelper:CorrelationIdHelper,UrlHelper:UrlHelper,DateTimeUtils:DateTimeUtils,ConnectionStringParser:ConnectionStringParser,FieldType:FieldType,RequestHeaders:RequestHeaders,DisabledPropertyName:DisabledPropertyName,ProcessLegacy:"ProcessLegacy",SampleRate:"sampleRate",HttpMethod:"http.method",DEFAULT_BREEZE_ENDPOINT:"https://dc.services.visualstudio.com",AIData:Data$1,AIBase:Base,Envelope:Envelope,Event:Event$1,Exception:Exception,Metric:Metric,PageView:PageView,PageViewData:PageViewData,RemoteDependencyData:RemoteDependencyData,Trace:Trace,PageViewPerformance:PageViewPerformance,Data:Data,SeverityLevel:SeverityLevel,ConfigurationManager:ConfigurationManager,ContextTagKeys:ContextTagKeys,DataSanitizer:DataSanitizer,TelemetryItemCreator:TelemetryItemCreator,CtxTagKeys:CtxTagKeys,Extensions:Extensions,DistributedTracingModes:DistributedTracingModes},Initialization=function(){function Initialization(snippet){this._snippetVersion=""+(snippet.sv||snippet.version||""),snippet.queue=snippet.queue||[],snippet.version=snippet.version||2;var config=snippet.config||{};if(config.connectionString){var cs=parseConnectionString(config.connectionString),ingest=cs.ingestionendpoint;config.endpointUrl=ingest?ingest+"/v2/track":config.endpointUrl,config.instrumentationKey=cs.instrumentationkey||config.instrumentationKey}this.appInsights=new ApplicationInsights,this.properties=new PropertiesPlugin,this.dependencies=new AjaxMonitor,this.core=new AppInsightsCore,this.snippet=snippet,this.config=config,this.getSKUDefaults()}return Initialization.prototype.getCookieMgr=function(){return this.appInsights.getCookieMgr()},Initialization.prototype.trackEvent=function(event,customProperties){this.appInsights.trackEvent(event,customProperties)},Initialization.prototype.trackPageView=function(pageView){var inPv=pageView||{};this.appInsights.trackPageView(inPv)},Initialization.prototype.trackPageViewPerformance=function(pageViewPerformance){var inPvp=pageViewPerformance||{};this.appInsights.trackPageViewPerformance(inPvp)},Initialization.prototype.trackException=function(exception){exception&&!exception.exception&&exception.error&&(exception.exception=exception.error),this.appInsights.trackException(exception)},Initialization.prototype._onerror=function(exception){this.appInsights._onerror(exception)},Initialization.prototype.trackTrace=function(trace,customProperties){this.appInsights.trackTrace(trace,customProperties)},Initialization.prototype.trackMetric=function(metric,customProperties){this.appInsights.trackMetric(metric,customProperties)},Initialization.prototype.startTrackPage=function(name){this.appInsights.startTrackPage(name)},Initialization.prototype.stopTrackPage=function(name,url,customProperties,measurements){this.appInsights.stopTrackPage(name,url,customProperties,measurements)},Initialization.prototype.startTrackEvent=function(name){this.appInsights.startTrackEvent(name)},Initialization.prototype.stopTrackEvent=function(name,properties,measurements){this.appInsights.stopTrackEvent(name,properties,measurements)},Initialization.prototype.addTelemetryInitializer=function(telemetryInitializer){return this.appInsights.addTelemetryInitializer(telemetryInitializer)},Initialization.prototype.setAuthenticatedUserContext=function(authenticatedUserId,accountId,storeInCookie){void 0===storeInCookie&&(storeInCookie=!1),this.properties.context.user.setAuthenticatedUserContext(authenticatedUserId,accountId,storeInCookie)},Initialization.prototype.clearAuthenticatedUserContext=function(){this.properties.context.user.clearAuthenticatedUserContext()},Initialization.prototype.trackDependencyData=function(dependency){this.dependencies.trackDependencyData(dependency)},Initialization.prototype.flush=function(async){var _this=this;void 0===async&&(async=!0),doPerf(this.core,(function(){return"AISKU.flush"}),(function(){arrForEach(_this.core.getTransmissionControls(),(function(channels){arrForEach(channels,(function(channel){channel.flush(async)}))}))}),null,async)},Initialization.prototype.onunloadFlush=function(async){void 0===async&&(async=!0),arrForEach(this.core.getTransmissionControls(),(function(channels){arrForEach(channels,(function(channel){channel.onunloadFlush?channel.onunloadFlush():channel.flush(async)}))}))},Initialization.prototype.loadAppInsights=function(legacyMode,logger,notificationManager){var _this=this;void 0===legacyMode&&(legacyMode=!1);var _self=this;return legacyMode&&_self.config.extensions&&_self.config.extensions.length>0&&throwError("Extensions not allowed in legacy mode"),doPerf(_self.core,(function(){return"AISKU.loadAppInsights"}),(function(){var extensions=[],appInsightsChannel=new Sender;extensions.push(appInsightsChannel),extensions.push(_self.properties),extensions.push(_self.dependencies),extensions.push(_self.appInsights),_self.core.initialize(_self.config,extensions,logger,notificationManager),_self.context=_self.properties.context,_internalSdkSrc&&_self.context&&(_self.context.internal.sdkSrc=_internalSdkSrc),function _updateSnippetProperties(snippet){if(snippet){var snippetVer="";isNullOrUndefined(_self._snippetVersion)||(snippetVer+=_self._snippetVersion),legacyMode&&(snippetVer+=".lg"),_self.context&&_self.context.internal&&(_self.context.internal.snippetVer=snippetVer||"-"),objForEachKey(_self,(function(field,value){isString(field)&&!isFunction(value)&&field&&"_"!==field[0]&&-1===_ignoreUpdateSnippetProperties.indexOf(field)&&(snippet[field]=value)}))}}(_self.snippet),_self.emptyQueue(),_self.pollInternalLogs(),_self.addHousekeepingBeforeUnload(_this)})),_self},Initialization.prototype.updateSnippetDefinitions=function(snippet){proxyAssign(snippet,this,(function(name){return name&&-1===_ignoreUpdateSnippetProperties.indexOf(name)}))},Initialization.prototype.emptyQueue=function(){try{if(isArray(this.snippet.queue)){for(var length_1=this.snippet.queue.length,i=0;i<length_1;i++)(0,this.snippet.queue[i])();this.snippet.queue=void 0,delete this.snippet.queue}}catch(exception){exception&&isFunction(exception.toString)&&exception.toString()}},Initialization.prototype.pollInternalLogs=function(){this.core.pollInternalLogs()},Initialization.prototype.addHousekeepingBeforeUnload=function(appInsightsInstance){if(hasWindow()||hasDocument()){var performHousekeeping=function(){appInsightsInstance.onunloadFlush(!1),arrForEach(appInsightsInstance.appInsights.core._extensions,(function(ext){if("AppInsightsPropertiesPlugin"===ext.identifier)return ext&&ext.context&&ext.context._sessionManager&&ext.context._sessionManager.backup(),-1}))};if(!appInsightsInstance.appInsights.config.disableFlushOnBeforeUnload){var added=addEventHandler("beforeunload",performHousekeeping);(added=addEventHandler("pagehide",performHousekeeping)||added)||function isReactNative(){var nav=getNavigator();return!(!nav||!nav.product)&&"ReactNative"===nav.product}()||appInsightsInstance.appInsights.core.logger.throwInternal(LoggingSeverity.CRITICAL,_InternalMessageId_FailedToAddHandlerForOnBeforeUnload,"Could not add handler for beforeunload and pagehide")}appInsightsInstance.appInsights.config.disableFlushOnUnload||addEventHandler("pagehide",performHousekeeping)}},Initialization.prototype.getSKUDefaults=function(){this.config.diagnosticLogInterval=this.config.diagnosticLogInterval&&this.config.diagnosticLogInterval>0?this.config.diagnosticLogInterval:1e4},Initialization}();!function(){var sdkSrc=null,cdns=["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var scrpt=(document||{}).currentScript;scrpt&&(sdkSrc=scrpt.src)}catch(e){}if(sdkSrc)try{var url=sdkSrc.toLowerCase();if(url)for(var src="",idx=0;idx<cdns.length;idx++)if(-1!==url.indexOf(cdns[idx])){src="cdn"+(idx+1),-1===url.indexOf("/scripts/")&&(-1!==url.indexOf("/next/")?src+="-next":-1!==url.indexOf("/beta/")&&(src+="-beta")),_internalSdkSrc=src+"";break}}catch(e){}}();var ApplicationInsightsContainer=function(){function ApplicationInsightsContainer(){}return ApplicationInsightsContainer.getAppInsights=function(snippet,version){var initialization=new Initialization(snippet),legacyMode=2!==version;if(_legacyCookieMgr(),2===version)return initialization.updateSnippetDefinitions(snippet),initialization.loadAppInsights(legacyMode),initialization;var legacy=new AppInsightsDeprecated(snippet,initialization);return legacy.updateSnippetDefinitions(snippet),initialization.loadAppInsights(legacyMode),legacy},ApplicationInsightsContainer}();function _logWarn(aiName,message){var _console="undefined"!=typeof console?console:null;_console&&_console.warn&&_console.warn("Failed to initialize AppInsights JS SDK for instance "+(aiName||"<unknown>")+" - "+message)}try{var aiName;if("undefined"!=typeof window){var _window=window;if(aiName=_window.appInsightsSDK||"appInsights","undefined"!=typeof JSON){if(void 0!==_window[aiName]){var snippet=_window[aiName]||{version:2};(snippet.version>=2&&_window[aiName].initialize||void 0===snippet.version)&&ApplicationInsightsContainer.getAppInsights(snippet,snippet.version)}}else _logWarn(aiName,"Missing JSON - you must supply a JSON polyfill!")}else _logWarn(aiName,"Missing window")}catch(e){_logWarn(aiName,e.message)}exports.ApplicationInsights=Initialization,exports.Telemetry=Telemetry,function(obj,prop,descriptor){var func=Object.defineProperty;if(func)try{return func(obj,"__esModule",descriptor)}catch(e){}descriptor&&void 0!==typeof descriptor.value&&(obj.__esModule=descriptor.value)}(exports,0,{value:!0})})(exports)}).call(this,__webpack_require__("yLpj"))},p7Ro:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("kXF0"),lbase=[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],lext=[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],dbase=[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],dext=[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];module.exports=function inflate_table(type,lens,lens_index,codes,table,table_index,work,opts){var incr,fill,low,mask,next,end,here_bits,here_op,here_val,bits=opts.bits,len=0,sym=0,min=0,max=0,root=0,curr=0,drop=0,left=0,used=0,huff=0,base=null,base_index=0,count=new utils.Buf16(16),offs=new utils.Buf16(16),extra=null,extra_index=0;for(len=0;len<=15;len++)count[len]=0;for(sym=0;sym<codes;sym++)count[lens[lens_index+sym]]++;for(root=bits,max=15;max>=1&&0===count[max];max--);if(root>max&&(root=max),0===max)return table[table_index++]=20971520,table[table_index++]=20971520,opts.bits=1,0;for(min=1;min<max&&0===count[min];min++);for(root<min&&(root=min),left=1,len=1;len<=15;len++)if(left<<=1,(left-=count[len])<0)return-1;if(left>0&&(0===type||1!==max))return-1;for(offs[1]=0,len=1;len<15;len++)offs[len+1]=offs[len]+count[len];for(sym=0;sym<codes;sym++)0!==lens[lens_index+sym]&&(work[offs[lens[lens_index+sym]]++]=sym);if(0===type?(base=extra=work,end=19):1===type?(base=lbase,base_index-=257,extra=lext,extra_index-=257,end=256):(base=dbase,extra=dext,end=-1),huff=0,sym=0,len=min,next=table_index,curr=root,drop=0,low=-1,mask=(used=1<<root)-1,1===type&&used>852||2===type&&used>592)return 1;for(;;){here_bits=len-drop,work[sym]<end?(here_op=0,here_val=work[sym]):work[sym]>end?(here_op=extra[extra_index+work[sym]],here_val=base[base_index+work[sym]]):(here_op=96,here_val=0),incr=1<<len-drop,min=fill=1<<curr;do{table[next+(huff>>drop)+(fill-=incr)]=here_bits<<24|here_op<<16|here_val|0}while(0!==fill);for(incr=1<<len-1;huff&incr;)incr>>=1;if(0!==incr?(huff&=incr-1,huff+=incr):huff=0,sym++,0==--count[len]){if(len===max)break;len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){for(0===drop&&(drop=root),next+=min,left=1<<(curr=len-drop);curr+drop<max&&!((left-=count[curr+drop])<=0);)curr++,left<<=1;if(used+=1<<curr,1===type&&used>852||2===type&&used>592)return 1;table[low=huff&mask]=root<<24|curr<<16|next-table_index|0}}return 0!==huff&&(table[next+huff]=len-drop<<24|64<<16|0),opts.bits=root,0}},pIFo:function(module,exports,__webpack_require__){__webpack_require__("IU+Z")("replace",2,(function(defined,REPLACE,$replace){return[function replace(searchValue,replaceValue){"use strict";var O=defined(this),fn=null==searchValue?void 0:searchValue[REPLACE];return void 0!==fn?fn.call(searchValue,O,replaceValue):$replace.call(String(O),searchValue,replaceValue)},$replace]}))},pRfJ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="product-data-loaded"},pSRY:function(module,exports,__webpack_require__){var getMapData=__webpack_require__("QkVE");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},pVnL:function(module,exports){function _extends(){return module.exports=_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}module.exports=_extends},pbhE:function(module,exports,__webpack_require__){"use strict";var aFunction=__webpack_require__("2OiF");function PromiseCapability(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aFunction(resolve),this.reject=aFunction(reject)}module.exports.f=function(C){return new PromiseCapability(C)}},q1tI:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("ctBr")},q9eg:function(module,exports){module.exports=function(regExp,replace){var replacer=replace===Object(replace)?function(part){return replace[part]}:replace;return function(it){return String(it).replace(regExp,replacer)}}},qRkn:function(module,exports,__webpack_require__){var deburrLetter=__webpack_require__("3cYt")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});module.exports=deburrLetter},qSf1:function(module,exports,__webpack_require__){"use strict";var Uint8ArrayReader=__webpack_require__("LoQE");function NodeBufferReader(data){this.data=data,this.length=this.data.length,this.index=0}NodeBufferReader.prototype=new Uint8ArrayReader,NodeBufferReader.prototype.readData=function(size){this.checkOffset(size);var result=this.data.slice(this.index,this.index+size);return this.index+=size,result},module.exports=NodeBufferReader},qcxO:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),newPromiseCapability=__webpack_require__("pbhE"),perform=__webpack_require__("nICZ");$export($export.S,"Promise",{try:function(callbackfn){var promiseCapability=newPromiseCapability.f(this),result=perform(callbackfn);return(result.e?promiseCapability.reject:promiseCapability.resolve)(result.v),promiseCapability.promise}})},qn5L:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN"),Object.assign,Object.getPrototypeOf,Object.getOwnPropertyDescriptor},qncB:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),defined=__webpack_require__("vhPU"),fails=__webpack_require__("eeVq"),spaces=__webpack_require__("/e88"),space="["+spaces+"]",ltrim=RegExp("^"+space+space+"*"),rtrim=RegExp(space+space+"*$"),exporter=function(KEY,exec,ALIAS){var exp={},FORCE=fails((function(){return!!spaces[KEY]()||"​…"!="​…"[KEY]()})),fn=exp[KEY]=FORCE?exec(trim):spaces[KEY];ALIAS&&(exp[ALIAS]=fn),$export($export.P+$export.F*FORCE,"String",exp)},trim=exporter.trim=function(string,TYPE){return string=String(defined(string)),1&TYPE&&(string=string.replace(ltrim,"")),2&TYPE&&(string=string.replace(rtrim,"")),string};module.exports=exporter},quPj:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),cof=__webpack_require__("LZWt"),MATCH=__webpack_require__("K0xU")("match");module.exports=function(it){var isRegExp;return isObject(it)&&(void 0!==(isRegExp=it[MATCH])?!!isRegExp:"RegExp"==cof(it))}},quyA:function(module,exports){var reHasUnicode=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");module.exports=function hasUnicode(string){return reHasUnicode.test(string)}},"r+Rq":function(module,__webpack_exports__,__webpack_require__){"use strict";var MenuTypes;__webpack_require__.d(__webpack_exports__,"a",(function(){return MenuTypes})),__webpack_require__.d(__webpack_exports__,"b",(function(){return Name})),function(MenuTypes){MenuTypes.AboutMenu="about-mega-menu",MenuTypes.AccountSideMenu="account-side-menu",MenuTypes.BurgerMenu="burger-menu",MenuTypes.JoinMenu="join-mega-menu",MenuTypes.Minibag="mini-bag",MenuTypes.SearchResults="search-results",MenuTypes.FavoritesSideMenu="favorites-side-menu"}(MenuTypes||(MenuTypes={}));var Name="toggle-menu-flyout"},r5Rf:function(module,exports,__webpack_require__){__webpack_require__("XfO3"),__webpack_require__("LK8F"),__webpack_require__("HEwt"),__webpack_require__("6AQ9"),__webpack_require__("Nz9U"),__webpack_require__("I78e"),__webpack_require__("Vd3H"),__webpack_require__("8+KV"),__webpack_require__("bWfx"),__webpack_require__("0l/t"),__webpack_require__("dZ+Y"),__webpack_require__("YJVH"),__webpack_require__("DNiP"),__webpack_require__("SPin"),__webpack_require__("V+eJ"),__webpack_require__("mGWK"),__webpack_require__("dE+T"),__webpack_require__("bHtr"),__webpack_require__("dRSK"),__webpack_require__("INYr"),__webpack_require__("0E+W"),__webpack_require__("yt8O"),__webpack_require__("Z2Ku"),__webpack_require__("6VaU"),__webpack_require__("cfFb"),module.exports=__webpack_require__("g3g5").Array},rE2o:function(module,exports,__webpack_require__){__webpack_require__("OnI7")("asyncIterator")},rGqo:function(module,exports,__webpack_require__){for(var $iterators=__webpack_require__("yt8O"),getKeys=__webpack_require__("DVgA"),redefine=__webpack_require__("KroJ"),global=__webpack_require__("dyZX"),hide=__webpack_require__("Mukb"),Iterators=__webpack_require__("hPIQ"),wks=__webpack_require__("K0xU"),ITERATOR=wks("iterator"),TO_STRING_TAG=wks("toStringTag"),ArrayValues=Iterators.Array,DOMIterables={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},collections=getKeys(DOMIterables),i=0;i<collections.length;i++){var key,NAME=collections[i],explicit=DOMIterables[NAME],Collection=global[NAME],proto=Collection&&Collection.prototype;if(proto&&(proto[ITERATOR]||hide(proto,ITERATOR,ArrayValues),proto[TO_STRING_TAG]||hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=ArrayValues,explicit))for(key in $iterators)proto[key]||redefine(proto,key,$iterators[key],!0)}},rPcs:function(module,exports,__webpack_require__){module.exports="function"==typeof Promise?Promise:__webpack_require__("IZ5B")},rXFu:function(module,exports,__webpack_require__){"use strict";(function(global,process){var pna=__webpack_require__("lm0R");module.exports=Readable;var Duplex,isArray=__webpack_require__("2Nt0");Readable.ReadableState=ReadableState;__webpack_require__("+qE3").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length},Stream=__webpack_require__("QpuX"),Buffer=__webpack_require__("hwdV").Buffer,OurUint8Array=global.Uint8Array||function(){};var util=Object.create(__webpack_require__("Onz0"));util.inherits=__webpack_require__("P7XM");var debugUtil=__webpack_require__(234),debug=void 0;debug=debugUtil&&debugUtil.debuglog?debugUtil.debuglog("stream"):function(){};var StringDecoder,BufferList=__webpack_require__("Xhqo"),destroyImpl=__webpack_require__("RoFp");util.inherits(Readable,Stream);var kProxyEvents=["error","close","destroy","pause","resume"];function ReadableState(options,stream){options=options||{};var isDuplex=stream instanceof(Duplex=Duplex||__webpack_require__("sZro"));this.objectMode=!!options.objectMode,isDuplex&&(this.objectMode=this.objectMode||!!options.readableObjectMode);var hwm=options.highWaterMark,readableHwm=options.readableHighWaterMark,defaultHwm=this.objectMode?16:16384;this.highWaterMark=hwm||0===hwm?hwm:isDuplex&&(readableHwm||0===readableHwm)?readableHwm:defaultHwm,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BufferList,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=options.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,options.encoding&&(StringDecoder||(StringDecoder=__webpack_require__("fXKp").StringDecoder),this.decoder=new StringDecoder(options.encoding),this.encoding=options.encoding)}function Readable(options){if(Duplex=Duplex||__webpack_require__("sZro"),!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this),this.readable=!0,options&&("function"==typeof options.read&&(this._read=options.read),"function"==typeof options.destroy&&(this._destroy=options.destroy)),Stream.call(this)}function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){var er,state=stream._readableState;null===chunk?(state.reading=!1,function onEofChunk(stream,state){if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();chunk&&chunk.length&&(state.buffer.push(chunk),state.length+=state.objectMode?1:chunk.length)}state.ended=!0,emitReadable(stream)}(stream,state)):(skipChunkCheck||(er=function chunkInvalid(state,chunk){var er;(function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array})(chunk)||"string"==typeof chunk||void 0===chunk||state.objectMode||(er=new TypeError("Invalid non-string/buffer chunk"));return er}(state,chunk)),er?stream.emit("error",er):state.objectMode||chunk&&chunk.length>0?("string"==typeof chunk||state.objectMode||Object.getPrototypeOf(chunk)===Buffer.prototype||(chunk=function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}(chunk)),addToFront?state.endEmitted?stream.emit("error",new Error("stream.unshift() after end event")):addChunk(stream,state,chunk,!0):state.ended?stream.emit("error",new Error("stream.push() after EOF")):(state.reading=!1,state.decoder&&!encoding?(chunk=state.decoder.write(chunk),state.objectMode||0!==chunk.length?addChunk(stream,state,chunk,!1):maybeReadMore(stream,state)):addChunk(stream,state,chunk,!1))):addToFront||(state.reading=!1));return function needMoreData(state){return!state.ended&&(state.needReadable||state.length<state.highWaterMark||0===state.length)}(state)}function addChunk(stream,state,chunk,addToFront){state.flowing&&0===state.length&&!state.sync?(stream.emit("data",chunk),stream.read(0)):(state.length+=state.objectMode?1:chunk.length,addToFront?state.buffer.unshift(chunk):state.buffer.push(chunk),state.needReadable&&emitReadable(stream)),maybeReadMore(stream,state)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(value){this._readableState&&(this._readableState.destroyed=value)}}),Readable.prototype.destroy=destroyImpl.destroy,Readable.prototype._undestroy=destroyImpl.undestroy,Readable.prototype._destroy=function(err,cb){this.push(null),cb(err)},Readable.prototype.push=function(chunk,encoding){var skipChunkCheck,state=this._readableState;return state.objectMode?skipChunkCheck=!0:"string"==typeof chunk&&((encoding=encoding||state.defaultEncoding)!==state.encoding&&(chunk=Buffer.from(chunk,encoding),encoding=""),skipChunkCheck=!0),readableAddChunk(this,chunk,encoding,!1,skipChunkCheck)},Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,!0,!1)},Readable.prototype.isPaused=function(){return!1===this._readableState.flowing},Readable.prototype.setEncoding=function(enc){return StringDecoder||(StringDecoder=__webpack_require__("fXKp").StringDecoder),this._readableState.decoder=new StringDecoder(enc),this._readableState.encoding=enc,this};function howMuchToRead(n,state){return n<=0||0===state.length&&state.ended?0:state.objectMode?1:n!=n?state.flowing&&state.length?state.buffer.head.data.length:state.length:(n>state.highWaterMark&&(state.highWaterMark=function computeNewHighWaterMark(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(n)),n<=state.length?n:state.ended?state.length:(state.needReadable=!0,0))}function emitReadable(stream){var state=stream._readableState;state.needReadable=!1,state.emittedReadable||(debug("emitReadable",state.flowing),state.emittedReadable=!0,state.sync?pna.nextTick(emitReadable_,stream):emitReadable_(stream))}function emitReadable_(stream){debug("emit readable"),stream.emit("readable"),flow(stream)}function maybeReadMore(stream,state){state.readingMore||(state.readingMore=!0,pna.nextTick(maybeReadMore_,stream,state))}function maybeReadMore_(stream,state){for(var len=state.length;!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark&&(debug("maybeReadMore read 0"),stream.read(0),len!==state.length);)len=state.length;state.readingMore=!1}function nReadingNextTick(self){debug("readable nexttick read 0"),self.read(0)}function resume_(stream,state){state.reading||(debug("resume read 0"),stream.read(0)),state.resumeScheduled=!1,state.awaitDrain=0,stream.emit("resume"),flow(stream),state.flowing&&!state.reading&&stream.read(0)}function flow(stream){var state=stream._readableState;for(debug("flow",state.flowing);state.flowing&&null!==stream.read(););}function fromList(n,state){return 0===state.length?null:(state.objectMode?ret=state.buffer.shift():!n||n>=state.length?(ret=state.decoder?state.buffer.join(""):1===state.buffer.length?state.buffer.head.data:state.buffer.concat(state.length),state.buffer.clear()):ret=function fromListPartial(n,list,hasStrings){var ret;n<list.head.data.length?(ret=list.head.data.slice(0,n),list.head.data=list.head.data.slice(n)):ret=n===list.head.data.length?list.shift():hasStrings?function copyFromBufferString(n,list){var p=list.head,c=1,ret=p.data;n-=ret.length;for(;p=p.next;){var str=p.data,nb=n>str.length?str.length:n;if(nb===str.length?ret+=str:ret+=str.slice(0,n),0===(n-=nb)){nb===str.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=str.slice(nb));break}++c}return list.length-=c,ret}(n,list):function copyFromBuffer(n,list){var ret=Buffer.allocUnsafe(n),p=list.head,c=1;p.data.copy(ret),n-=p.data.length;for(;p=p.next;){var buf=p.data,nb=n>buf.length?buf.length:n;if(buf.copy(ret,ret.length-n,0,nb),0===(n-=nb)){nb===buf.length?(++c,p.next?list.head=p.next:list.head=list.tail=null):(list.head=p,p.data=buf.slice(nb));break}++c}return list.length-=c,ret}(n,list);return ret}(n,state.buffer,state.decoder),ret);var ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');state.endEmitted||(state.ended=!0,pna.nextTick(endReadableNT,state,stream))}function endReadableNT(state,stream){state.endEmitted||0!==state.length||(state.endEmitted=!0,stream.readable=!1,stream.emit("end"))}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++)if(xs[i]===x)return i;return-1}Readable.prototype.read=function(n){debug("read",n),n=parseInt(n,10);var state=this._readableState,nOrig=n;if(0!==n&&(state.emittedReadable=!1),0===n&&state.needReadable&&(state.length>=state.highWaterMark||state.ended))return debug("read: emitReadable",state.length,state.ended),0===state.length&&state.ended?endReadable(this):emitReadable(this),null;if(0===(n=howMuchToRead(n,state))&&state.ended)return 0===state.length&&endReadable(this),null;var ret,doRead=state.needReadable;return debug("need readable",doRead),(0===state.length||state.length-n<state.highWaterMark)&&debug("length less than watermark",doRead=!0),state.ended||state.reading?debug("reading or ended",doRead=!1):doRead&&(debug("do read"),state.reading=!0,state.sync=!0,0===state.length&&(state.needReadable=!0),this._read(state.highWaterMark),state.sync=!1,state.reading||(n=howMuchToRead(nOrig,state))),null===(ret=n>0?fromList(n,state):null)?(state.needReadable=!0,n=0):state.length-=n,0===state.length&&(state.ended||(state.needReadable=!0),nOrig!==n&&state.ended&&endReadable(this)),null!==ret&&this.emit("data",ret),ret},Readable.prototype._read=function(n){this.emit("error",new Error("_read() is not implemented"))},Readable.prototype.pipe=function(dest,pipeOpts){var src=this,state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest)}state.pipesCount+=1,debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var endFn=(!pipeOpts||!1!==pipeOpts.end)&&dest!==process.stdout&&dest!==process.stderr?onend:unpipe;function onunpipe(readable,unpipeInfo){debug("onunpipe"),readable===src&&unpipeInfo&&!1===unpipeInfo.hasUnpiped&&(unpipeInfo.hasUnpiped=!0,function cleanup(){debug("cleanup"),dest.removeListener("close",onclose),dest.removeListener("finish",onfinish),dest.removeListener("drain",ondrain),dest.removeListener("error",onerror),dest.removeListener("unpipe",onunpipe),src.removeListener("end",onend),src.removeListener("end",unpipe),src.removeListener("data",ondata),cleanedUp=!0,!state.awaitDrain||dest._writableState&&!dest._writableState.needDrain||ondrain()}())}function onend(){debug("onend"),dest.end()}state.endEmitted?pna.nextTick(endFn):src.once("end",endFn),dest.on("unpipe",onunpipe);var ondrain=function pipeOnDrain(src){return function(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain),state.awaitDrain&&state.awaitDrain--,0===state.awaitDrain&&EElistenerCount(src,"data")&&(state.flowing=!0,flow(src))}}(src);dest.on("drain",ondrain);var cleanedUp=!1;var increasedAwaitDrain=!1;function ondata(chunk){debug("ondata"),increasedAwaitDrain=!1,!1!==dest.write(chunk)||increasedAwaitDrain||((1===state.pipesCount&&state.pipes===dest||state.pipesCount>1&&-1!==indexOf(state.pipes,dest))&&!cleanedUp&&(debug("false write response, pause",src._readableState.awaitDrain),src._readableState.awaitDrain++,increasedAwaitDrain=!0),src.pause())}function onerror(er){debug("onerror",er),unpipe(),dest.removeListener("error",onerror),0===EElistenerCount(dest,"error")&&dest.emit("error",er)}function onclose(){dest.removeListener("finish",onfinish),unpipe()}function onfinish(){debug("onfinish"),dest.removeListener("close",onclose),unpipe()}function unpipe(){debug("unpipe"),src.unpipe(dest)}return src.on("data",ondata),function prependListener(emitter,event,fn){if("function"==typeof emitter.prependListener)return emitter.prependListener(event,fn);emitter._events&&emitter._events[event]?isArray(emitter._events[event])?emitter._events[event].unshift(fn):emitter._events[event]=[fn,emitter._events[event]]:emitter.on(event,fn)}(dest,"error",onerror),dest.once("close",onclose),dest.once("finish",onfinish),dest.emit("pipe",src),state.flowing||(debug("pipe resume"),src.resume()),dest},Readable.prototype.unpipe=function(dest){var state=this._readableState,unpipeInfo={hasUnpiped:!1};if(0===state.pipesCount)return this;if(1===state.pipesCount)return dest&&dest!==state.pipes||(dest||(dest=state.pipes),state.pipes=null,state.pipesCount=0,state.flowing=!1,dest&&dest.emit("unpipe",this,unpipeInfo)),this;if(!dest){var dests=state.pipes,len=state.pipesCount;state.pipes=null,state.pipesCount=0,state.flowing=!1;for(var i=0;i<len;i++)dests[i].emit("unpipe",this,unpipeInfo);return this}var index=indexOf(state.pipes,dest);return-1===index||(state.pipes.splice(index,1),state.pipesCount-=1,1===state.pipesCount&&(state.pipes=state.pipes[0]),dest.emit("unpipe",this,unpipeInfo)),this},Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);if("data"===ev)!1!==this._readableState.flowing&&this.resume();else if("readable"===ev){var state=this._readableState;state.endEmitted||state.readableListening||(state.readableListening=state.needReadable=!0,state.emittedReadable=!1,state.reading?state.length&&emitReadable(this):pna.nextTick(nReadingNextTick,this))}return res},Readable.prototype.addListener=Readable.prototype.on,Readable.prototype.resume=function(){var state=this._readableState;return state.flowing||(debug("resume"),state.flowing=!0,function resume(stream,state){state.resumeScheduled||(state.resumeScheduled=!0,pna.nextTick(resume_,stream,state))}(this,state)),this},Readable.prototype.pause=function(){return debug("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(debug("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Readable.prototype.wrap=function(stream){var _this=this,state=this._readableState,paused=!1;for(var i in stream.on("end",(function(){if(debug("wrapped end"),state.decoder&&!state.ended){var chunk=state.decoder.end();chunk&&chunk.length&&_this.push(chunk)}_this.push(null)})),stream.on("data",(function(chunk){(debug("wrapped data"),state.decoder&&(chunk=state.decoder.write(chunk)),state.objectMode&&null==chunk)||(state.objectMode||chunk&&chunk.length)&&(_this.push(chunk)||(paused=!0,stream.pause()))})),stream)void 0===this[i]&&"function"==typeof stream[i]&&(this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i));for(var n=0;n<kProxyEvents.length;n++)stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]));return this._read=function(n){debug("wrapped _read",n),paused&&(paused=!1,stream.resume())},this},Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Readable._fromList=fromList}).call(this,__webpack_require__("yLpj"),__webpack_require__("8oxB"))},rvZc:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toLength=__webpack_require__("ne8i"),context=__webpack_require__("0sh+"),$endsWith="".endsWith;$export($export.P+$export.F*__webpack_require__("UUeW")("endsWith"),"String",{endsWith:function endsWith(searchString){var that=context(this,searchString,"endsWith"),endPosition=arguments.length>1?arguments[1]:void 0,len=toLength(that.length),end=void 0===endPosition?len:Math.min(toLength(endPosition),len),search=String(searchString);return $endsWith?$endsWith.call(that,search,end):that.slice(end-search.length,end)===search}})},"s+lh":function(module,exports,__webpack_require__){!function(window,factory){var lazySizes=function l(window,document){"use strict";if(!document.getElementsByClassName)return;var lazysizes,lazySizesConfig,docElem=document.documentElement,Date=window.Date,supportPicture=window.HTMLPictureElement,_addEventListener="addEventListener",_getAttribute="getAttribute",addEventListener=window[_addEventListener],setTimeout=window.setTimeout,requestAnimationFrame=window.requestAnimationFrame||setTimeout,requestIdleCallback=window.requestIdleCallback,regPicture=/^picture$/i,loadEvents=["load","error","lazyincluded","_lazyloaded"],regClassCache={},forEach=Array.prototype.forEach,hasClass=function(ele,cls){return regClassCache[cls]||(regClassCache[cls]=new RegExp("(\\s|^)"+cls+"(\\s|$)")),regClassCache[cls].test(ele[_getAttribute]("class")||"")&&regClassCache[cls]},addClass=function(ele,cls){hasClass(ele,cls)||ele.setAttribute("class",(ele[_getAttribute]("class")||"").trim()+" "+cls)},removeClass=function(ele,cls){var reg;(reg=hasClass(ele,cls))&&ele.setAttribute("class",(ele[_getAttribute]("class")||"").replace(reg," "))},addRemoveLoadEvents=function(dom,fn,add){var action=add?_addEventListener:"removeEventListener";add&&addRemoveLoadEvents(dom,fn),loadEvents.forEach((function(evt){dom[action](evt,fn)}))},triggerEvent=function(elem,name,detail,noBubbles,noCancelable){var event=document.createEvent("Event");return detail||(detail={}),detail.instance=lazysizes,event.initEvent(name,!noBubbles,!noCancelable),event.detail=detail,elem.dispatchEvent(event),event},updatePolyfill=function(el,full){var polyfill;!supportPicture&&(polyfill=window.picturefill||lazySizesConfig.pf)?(full&&full.src&&!el[_getAttribute]("srcset")&&el.setAttribute("srcset",full.src),polyfill({reevaluate:!0,elements:[el]})):full&&full.src&&(el.src=full.src)},getCSS=function(elem,style){return(getComputedStyle(elem,null)||{})[style]},getWidth=function(elem,parent,width){for(width=width||elem.offsetWidth;width<lazySizesConfig.minSize&&parent&&!elem._lazysizesWidth;)width=parent.offsetWidth,parent=parent.parentNode;return width},rAF=(firstFns=[],secondFns=[],fns=firstFns,run=function(){var runFns=fns;for(fns=firstFns.length?secondFns:firstFns,running=!0,waiting=!1;runFns.length;)runFns.shift()();running=!1},rafBatch=function(fn,queue){running&&!queue?fn.apply(this,arguments):(fns.push(fn),waiting||(waiting=!0,(document.hidden?setTimeout:requestAnimationFrame)(run)))},rafBatch._lsFlush=run,rafBatch),rAFIt=function(fn,simple){return simple?function(){rAF(fn)}:function(){var that=this,args=arguments;rAF((function(){fn.apply(that,args)}))}},throttle=function(fn){var running,lastTime=0,gDelay=lazySizesConfig.throttleDelay,rICTimeout=lazySizesConfig.ricTimeout,run=function(){running=!1,lastTime=Date.now(),fn()},idleCallback=requestIdleCallback&&rICTimeout>49?function(){requestIdleCallback(run,{timeout:rICTimeout}),rICTimeout!==lazySizesConfig.ricTimeout&&(rICTimeout=lazySizesConfig.ricTimeout)}:rAFIt((function(){setTimeout(run)}),!0);return function(isPriority){var delay;(isPriority=!0===isPriority)&&(rICTimeout=33),running||(running=!0,(delay=gDelay-(Date.now()-lastTime))<0&&(delay=0),isPriority||delay<9?idleCallback():setTimeout(idleCallback,delay))}},debounce=function(func){var timeout,timestamp,wait=99,run=function(){timeout=null,func()},later=function(){var last=Date.now()-timestamp;last<wait?setTimeout(later,wait-last):(requestIdleCallback||run)(run)};return function(){timestamp=Date.now(),timeout||(timeout=setTimeout(later,wait))}};var running,waiting,firstFns,secondFns,fns,run,rafBatch;!function(){var prop,lazySizesDefaults={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(prop in lazySizesConfig=window.lazySizesConfig||window.lazysizesConfig||{},lazySizesDefaults)prop in lazySizesConfig||(lazySizesConfig[prop]=lazySizesDefaults[prop]);window.lazySizesConfig=lazySizesConfig,setTimeout((function(){lazySizesConfig.init&&init()}))}();var loader=(regImg=/^img$/i,regIframe=/^iframe$/i,supportScroll="onscroll"in window&&!/(gle|ing)bot/.test(navigator.userAgent),shrinkExpand=0,currentExpand=0,isLoading=0,lowRuns=-1,resetPreloading=function(e){isLoading--,e&&e.target&&addRemoveLoadEvents(e.target,resetPreloading),(!e||isLoading<0||!e.target)&&(isLoading=0)},isVisible=function(elem){return null==isBodyHidden&&(isBodyHidden="hidden"==getCSS(document.body,"visibility")),isBodyHidden||"hidden"!=getCSS(elem.parentNode,"visibility")&&"hidden"!=getCSS(elem,"visibility")},isNestedVisible=function(elem,elemExpand){var outerRect,parent=elem,visible=isVisible(elem);for(eLtop-=elemExpand,eLbottom+=elemExpand,eLleft-=elemExpand,eLright+=elemExpand;visible&&(parent=parent.offsetParent)&&parent!=document.body&&parent!=docElem;)(visible=(getCSS(parent,"opacity")||1)>0)&&"visible"!=getCSS(parent,"overflow")&&(outerRect=parent.getBoundingClientRect(),visible=eLright>outerRect.left&&eLleft<outerRect.right&&eLbottom>outerRect.top-1&&eLtop<outerRect.bottom+1);return visible},checkElements=function(){var eLlen,i,rect,autoLoadElem,loadedSomething,elemExpand,elemNegativeExpand,elemExpandVal,beforeExpandVal,defaultExpand,preloadExpand,hFac,lazyloadElems=lazysizes.elements;if((loadMode=lazySizesConfig.loadMode)&&isLoading<8&&(eLlen=lazyloadElems.length)){for(i=0,lowRuns++,preloadExpand=(defaultExpand=!lazySizesConfig.expand||lazySizesConfig.expand<1?docElem.clientHeight>500&&docElem.clientWidth>500?500:370:lazySizesConfig.expand)*lazySizesConfig.expFactor,hFac=lazySizesConfig.hFac,isBodyHidden=null,currentExpand<preloadExpand&&isLoading<1&&lowRuns>2&&loadMode>2&&!document.hidden?(currentExpand=preloadExpand,lowRuns=0):currentExpand=loadMode>1&&lowRuns>1&&isLoading<6?defaultExpand:shrinkExpand;i<eLlen;i++)if(lazyloadElems[i]&&!lazyloadElems[i]._lazyRace)if(supportScroll)if((elemExpandVal=lazyloadElems[i][_getAttribute]("data-expand"))&&(elemExpand=1*elemExpandVal)||(elemExpand=currentExpand),beforeExpandVal!==elemExpand&&(eLvW=innerWidth+elemExpand*hFac,elvH=innerHeight+elemExpand,elemNegativeExpand=-1*elemExpand,beforeExpandVal=elemExpand),rect=lazyloadElems[i].getBoundingClientRect(),(eLbottom=rect.bottom)>=elemNegativeExpand&&(eLtop=rect.top)<=elvH&&(eLright=rect.right)>=elemNegativeExpand*hFac&&(eLleft=rect.left)<=eLvW&&(eLbottom||eLright||eLleft||eLtop)&&(lazySizesConfig.loadHidden||isVisible(lazyloadElems[i]))&&(isCompleted&&isLoading<3&&!elemExpandVal&&(loadMode<3||lowRuns<4)||isNestedVisible(lazyloadElems[i],elemExpand))){if(unveilElement(lazyloadElems[i]),loadedSomething=!0,isLoading>9)break}else!loadedSomething&&isCompleted&&!autoLoadElem&&isLoading<4&&lowRuns<4&&loadMode>2&&(preloadElems[0]||lazySizesConfig.preloadAfterLoad)&&(preloadElems[0]||!elemExpandVal&&(eLbottom||eLright||eLleft||eLtop||"auto"!=lazyloadElems[i][_getAttribute](lazySizesConfig.sizesAttr)))&&(autoLoadElem=preloadElems[0]||lazyloadElems[i]);else unveilElement(lazyloadElems[i]);autoLoadElem&&!loadedSomething&&unveilElement(autoLoadElem)}},throttledCheckElements=throttle(checkElements),switchLoadingClass=function(e){addClass(e.target,lazySizesConfig.loadedClass),removeClass(e.target,lazySizesConfig.loadingClass),addRemoveLoadEvents(e.target,rafSwitchLoadingClass),triggerEvent(e.target,"lazyloaded")},rafedSwitchLoadingClass=rAFIt(switchLoadingClass),rafSwitchLoadingClass=function(e){rafedSwitchLoadingClass({target:e.target})},changeIframeSrc=function(elem,src){try{elem.contentWindow.location.replace(src)}catch(e){elem.src=src}},handleSources=function(source){var customMedia,sourceSrcset=source[_getAttribute](lazySizesConfig.srcsetAttr);(customMedia=lazySizesConfig.customMedia[source[_getAttribute]("data-media")||source[_getAttribute]("media")])&&source.setAttribute("media",customMedia),sourceSrcset&&source.setAttribute("srcset",sourceSrcset)},lazyUnveil=rAFIt((function(elem,detail,isAuto,sizes,isImg){var src,srcset,parent,isPicture,event,firesLoad;(event=triggerEvent(elem,"lazybeforeunveil",detail)).defaultPrevented||(sizes&&(isAuto?addClass(elem,lazySizesConfig.autosizesClass):elem.setAttribute("sizes",sizes)),srcset=elem[_getAttribute](lazySizesConfig.srcsetAttr),src=elem[_getAttribute](lazySizesConfig.srcAttr),isImg&&(isPicture=(parent=elem.parentNode)&&regPicture.test(parent.nodeName||"")),firesLoad=detail.firesLoad||"src"in elem&&(srcset||src||isPicture),event={target:elem},firesLoad&&(addRemoveLoadEvents(elem,resetPreloading,!0),clearTimeout(resetPreloadingTimer),resetPreloadingTimer=setTimeout(resetPreloading,2500),addClass(elem,lazySizesConfig.loadingClass),addRemoveLoadEvents(elem,rafSwitchLoadingClass,!0)),isPicture&&forEach.call(parent.getElementsByTagName("source"),handleSources),srcset?elem.setAttribute("srcset",srcset):src&&!isPicture&&(regIframe.test(elem.nodeName)?changeIframeSrc(elem,src):elem.src=src),isImg&&(srcset||isPicture)&&updatePolyfill(elem,{src:src})),elem._lazyRace&&delete elem._lazyRace,removeClass(elem,lazySizesConfig.lazyClass),rAF((function(){(!firesLoad||elem.complete&&elem.naturalWidth>1)&&(firesLoad?resetPreloading(event):isLoading--,switchLoadingClass(event))}),!0)})),unveilElement=function(elem){var detail,isImg=regImg.test(elem.nodeName),sizes=isImg&&(elem[_getAttribute](lazySizesConfig.sizesAttr)||elem[_getAttribute]("sizes")),isAuto="auto"==sizes;(!isAuto&&isCompleted||!isImg||!elem[_getAttribute]("src")&&!elem.srcset||elem.complete||hasClass(elem,lazySizesConfig.errorClass)||!hasClass(elem,lazySizesConfig.lazyClass))&&(detail=triggerEvent(elem,"lazyunveilread").detail,isAuto&&autoSizer.updateElem(elem,!0,elem.offsetWidth),elem._lazyRace=!0,isLoading++,lazyUnveil(elem,detail,isAuto,sizes,isImg))},onload=function(){if(!isCompleted)if(Date.now()-started<999)setTimeout(onload,999);else{var afterScroll=debounce((function(){lazySizesConfig.loadMode=3,throttledCheckElements()}));isCompleted=!0,lazySizesConfig.loadMode=3,throttledCheckElements(),addEventListener("scroll",(function(){3==lazySizesConfig.loadMode&&(lazySizesConfig.loadMode=2),afterScroll()}),!0)}},{_:function(){started=Date.now(),lazysizes.elements=document.getElementsByClassName(lazySizesConfig.lazyClass),preloadElems=document.getElementsByClassName(lazySizesConfig.lazyClass+" "+lazySizesConfig.preloadClass),addEventListener("scroll",throttledCheckElements,!0),addEventListener("resize",throttledCheckElements,!0),window.MutationObserver?new MutationObserver(throttledCheckElements).observe(docElem,{childList:!0,subtree:!0,attributes:!0}):(docElem[_addEventListener]("DOMNodeInserted",throttledCheckElements,!0),docElem[_addEventListener]("DOMAttrModified",throttledCheckElements,!0),setInterval(throttledCheckElements,999)),addEventListener("hashchange",throttledCheckElements,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(name){document[_addEventListener](name,throttledCheckElements,!0)})),/d$|^c/.test(document.readyState)?onload():(addEventListener("load",onload),document[_addEventListener]("DOMContentLoaded",throttledCheckElements),setTimeout(onload,2e4)),lazysizes.elements.length?(checkElements(),rAF._lsFlush()):throttledCheckElements()},checkElems:throttledCheckElements,unveil:unveilElement}),autoSizer=(sizeElement=rAFIt((function(elem,parent,event,width){var sources,i,len;if(elem._lazysizesWidth=width,width+="px",elem.setAttribute("sizes",width),regPicture.test(parent.nodeName||""))for(i=0,len=(sources=parent.getElementsByTagName("source")).length;i<len;i++)sources[i].setAttribute("sizes",width);event.detail.dataAttr||updatePolyfill(elem,event.detail)})),getSizeElement=function(elem,dataAttr,width){var event,parent=elem.parentNode;parent&&(width=getWidth(elem,parent,width),(event=triggerEvent(elem,"lazybeforesizes",{width:width,dataAttr:!!dataAttr})).defaultPrevented||(width=event.detail.width)&&width!==elem._lazysizesWidth&&sizeElement(elem,parent,event,width))},debouncedUpdateElementsSizes=debounce((function(){var i,len=autosizesElems.length;if(len)for(i=0;i<len;i++)getSizeElement(autosizesElems[i])})),{_:function(){autosizesElems=document.getElementsByClassName(lazySizesConfig.autosizesClass),addEventListener("resize",debouncedUpdateElementsSizes)},checkElems:debouncedUpdateElementsSizes,updateElem:getSizeElement}),init=function(){init.i||(init.i=!0,autoSizer._(),loader._())};var autosizesElems,sizeElement,getSizeElement,debouncedUpdateElementsSizes;var preloadElems,isCompleted,resetPreloadingTimer,loadMode,started,eLvW,elvH,eLtop,eLleft,eLright,eLbottom,isBodyHidden,regImg,regIframe,supportScroll,shrinkExpand,currentExpand,isLoading,lowRuns,resetPreloading,isVisible,isNestedVisible,checkElements,throttledCheckElements,switchLoadingClass,rafedSwitchLoadingClass,rafSwitchLoadingClass,changeIframeSrc,handleSources,lazyUnveil,unveilElement,onload;return lazysizes={cfg:lazySizesConfig,autoSizer:autoSizer,loader:loader,init:init,uP:updatePolyfill,aC:addClass,rC:removeClass,hC:hasClass,fire:triggerEvent,gW:getWidth,rAF:rAF}}(window,window.document);window.lazySizes=lazySizes,module.exports&&(module.exports=lazySizes)}(window)},s4NR:function(module,exports,__webpack_require__){"use strict";exports.decode=exports.parse=__webpack_require__("kd2E"),exports.encode=exports.stringify=__webpack_require__("4JlD")},s5qY:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");module.exports=function(it,TYPE){if(!isObject(it)||it._t!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required!");return it}},sHmC:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="search-suggestion-click"},sZro:function(module,exports,__webpack_require__){"use strict";var pna=__webpack_require__("lm0R"),objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj)keys.push(key);return keys};module.exports=Duplex;var util=Object.create(__webpack_require__("Onz0"));util.inherits=__webpack_require__("P7XM");var Readable=__webpack_require__("rXFu"),Writable=__webpack_require__("3BRs");util.inherits(Duplex,Readable);for(var keys=objectKeys(Writable.prototype),v=0;v<keys.length;v++){var method=keys[v];Duplex.prototype[method]||(Duplex.prototype[method]=Writable.prototype[method])}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options),Writable.call(this,options),options&&!1===options.readable&&(this.readable=!1),options&&!1===options.writable&&(this.writable=!1),this.allowHalfOpen=!0,options&&!1===options.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",onend)}function onend(){this.allowHalfOpen||this._writableState.ended||pna.nextTick(onEndNT,this)}function onEndNT(self){self.end()}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(value){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=value,this._writableState.destroyed=value)}}),Duplex.prototype._destroy=function(err,cb){this.push(null),this.end(),pna.nextTick(cb,err)}},sbF8:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU"),isInteger=__webpack_require__("nBIS"),abs=Math.abs;$export($export.S,"Number",{isSafeInteger:function isSafeInteger(number){return isInteger(number)&&abs(number)<=9007199254740991}})},sgoq:function(module,exports,__webpack_require__){var arrayReduce=__webpack_require__("asDA"),deburr=__webpack_require__("TKrE"),words=__webpack_require__("6nK8"),reApos=RegExp("['’]","g");module.exports=function createCompounder(callback){return function(string){return arrayReduce(words(deburr(string).replace(reApos,"")),callback,"")}}},t9FE:function(module,exports,__webpack_require__){(function(global){function config(name){try{if(!global.localStorage)return!1}catch(_){return!1}var val=global.localStorage[name];return null!=val&&"true"===String(val).toLowerCase()}module.exports=function deprecate(fn,msg){if(config("noDeprecation"))return fn;var warned=!1;return function deprecated(){if(!warned){if(config("throwDeprecation"))throw new Error(msg);config("traceDeprecation")?console.trace(msg):console.warn(msg),warned=!0}return fn.apply(this,arguments)}}}).call(this,__webpack_require__("yLpj"))},tMB7:function(module,exports,__webpack_require__){var assocIndexOf=__webpack_require__("y1pI");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},tUrg:function(module,exports,__webpack_require__){"use strict";__webpack_require__("OGtf")("link",(function(createHTML){return function link(url){return createHTML(this,"a","href",url)}}))},tcYT:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("9aYe"),StringWriter=function(){this.data=[]};StringWriter.prototype={append:function(input){input=utils.transformTo("string",input),this.data.push(input)},finalize:function(){return this.data.join("")}},module.exports=StringWriter},tj4k:function(module,exports){},tjlA:function(module,exports,__webpack_require__){"use strict";(function(global){var base64=__webpack_require__("H7XF"),ieee754=__webpack_require__("kVK+"),isArray=__webpack_require__("IzUq");function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(that,length){if(kMaxLength()<length)throw new RangeError("Invalid typed array length");return Buffer.TYPED_ARRAY_SUPPORT?(that=new Uint8Array(length)).__proto__=Buffer.prototype:(null===that&&(that=new Buffer(length)),that.length=length),that}function Buffer(arg,encodingOrOffset,length){if(!(Buffer.TYPED_ARRAY_SUPPORT||this instanceof Buffer))return new Buffer(arg,encodingOrOffset,length);if("number"==typeof arg){if("string"==typeof encodingOrOffset)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,arg)}return from(this,arg,encodingOrOffset,length)}function from(that,value,encodingOrOffset,length){if("number"==typeof value)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&value instanceof ArrayBuffer?function fromArrayBuffer(that,array,byteOffset,length){if(array.byteLength,byteOffset<0||array.byteLength<byteOffset)throw new RangeError("'offset' is out of bounds");if(array.byteLength<byteOffset+(length||0))throw new RangeError("'length' is out of bounds");array=void 0===byteOffset&&void 0===length?new Uint8Array(array):void 0===length?new Uint8Array(array,byteOffset):new Uint8Array(array,byteOffset,length);Buffer.TYPED_ARRAY_SUPPORT?(that=array).__proto__=Buffer.prototype:that=fromArrayLike(that,array);return that}(that,value,encodingOrOffset,length):"string"==typeof value?function fromString(that,string,encoding){"string"==typeof encoding&&""!==encoding||(encoding="utf8");if(!Buffer.isEncoding(encoding))throw new TypeError('"encoding" must be a valid string encoding');var length=0|byteLength(string,encoding),actual=(that=createBuffer(that,length)).write(string,encoding);actual!==length&&(that=that.slice(0,actual));return that}(that,value,encodingOrOffset):function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=0|checked(obj.length);return 0===(that=createBuffer(that,len)).length||obj.copy(that,0,0,len),that}if(obj){if("undefined"!=typeof ArrayBuffer&&obj.buffer instanceof ArrayBuffer||"length"in obj)return"number"!=typeof obj.length||function isnan(val){return val!=val}(obj.length)?createBuffer(that,0):fromArrayLike(that,obj);if("Buffer"===obj.type&&isArray(obj.data))return fromArrayLike(that,obj.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(that,value)}function assertSize(size){if("number"!=typeof size)throw new TypeError('"size" argument must be a number');if(size<0)throw new RangeError('"size" argument must not be negative')}function allocUnsafe(that,size){if(assertSize(size),that=createBuffer(that,size<0?0:0|checked(size)),!Buffer.TYPED_ARRAY_SUPPORT)for(var i=0;i<size;++i)that[i]=0;return that}function fromArrayLike(that,array){var length=array.length<0?0:0|checked(array.length);that=createBuffer(that,length);for(var i=0;i<length;i+=1)that[i]=255&array[i];return that}function checked(length){if(length>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|length}function byteLength(string,encoding){if(Buffer.isBuffer(string))return string.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer))return string.byteLength;"string"!=typeof string&&(string=""+string);var len=string.length;if(0===len)return 0;for(var loweredCase=!1;;)switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":case void 0:return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*len;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;encoding=(""+encoding).toLowerCase(),loweredCase=!0}}function slowToString(encoding,start,end){var loweredCase=!1;if((void 0===start||start<0)&&(start=0),start>this.length)return"";if((void 0===end||end>this.length)&&(end=this.length),end<=0)return"";if((end>>>=0)<=(start>>>=0))return"";for(encoding||(encoding="utf8");;)switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase(),loweredCase=!0}}function swap(b,n,m){var i=b[n];b[n]=b[m],b[m]=i}function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(0===buffer.length)return-1;if("string"==typeof byteOffset?(encoding=byteOffset,byteOffset=0):byteOffset>2147483647?byteOffset=2147483647:byteOffset<-2147483648&&(byteOffset=-2147483648),byteOffset=+byteOffset,isNaN(byteOffset)&&(byteOffset=dir?0:buffer.length-1),byteOffset<0&&(byteOffset=buffer.length+byteOffset),byteOffset>=buffer.length){if(dir)return-1;byteOffset=buffer.length-1}else if(byteOffset<0){if(!dir)return-1;byteOffset=0}if("string"==typeof val&&(val=Buffer.from(val,encoding)),Buffer.isBuffer(val))return 0===val.length?-1:arrayIndexOf(buffer,val,byteOffset,encoding,dir);if("number"==typeof val)return val&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?dir?Uint8Array.prototype.indexOf.call(buffer,val,byteOffset):Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset):arrayIndexOf(buffer,[val],byteOffset,encoding,dir);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var i,indexSize=1,arrLength=arr.length,valLength=val.length;if(void 0!==encoding&&("ucs2"===(encoding=String(encoding).toLowerCase())||"ucs-2"===encoding||"utf16le"===encoding||"utf-16le"===encoding)){if(arr.length<2||val.length<2)return-1;indexSize=2,arrLength/=2,valLength/=2,byteOffset/=2}function read(buf,i){return 1===indexSize?buf[i]:buf.readUInt16BE(i*indexSize)}if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++)if(read(arr,i)===read(val,-1===foundIndex?0:i-foundIndex)){if(-1===foundIndex&&(foundIndex=i),i-foundIndex+1===valLength)return foundIndex*indexSize}else-1!==foundIndex&&(i-=i-foundIndex),foundIndex=-1}else for(byteOffset+valLength>arrLength&&(byteOffset=arrLength-valLength),i=byteOffset;i>=0;i--){for(var found=!0,j=0;j<valLength;j++)if(read(arr,i+j)!==read(val,j)){found=!1;break}if(found)return i}return-1}function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;length?(length=Number(length))>remaining&&(length=remaining):length=remaining;var strLen=string.length;if(strLen%2!=0)throw new TypeError("Invalid hex string");length>strLen/2&&(length=strLen/2);for(var i=0;i<length;++i){var parsed=parseInt(string.substr(2*i,2),16);if(isNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;++i)byteArray.push(255&str.charCodeAt(i));return byteArray}(string),buf,offset,length)}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);++i)hi=(c=str.charCodeAt(i))>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}(string,buf.length-offset),buf,offset,length)}function base64Slice(buf,start,end){return 0===start&&end===buf.length?base64.fromByteArray(buf):base64.fromByteArray(buf.slice(start,end))}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);for(var res=[],i=start;i<end;){var secondByte,thirdByte,fourthByte,tempCodePoint,firstByte=buf[i],codePoint=null,bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end)switch(bytesPerSequence){case 1:firstByte<128&&(codePoint=firstByte);break;case 2:128==(192&(secondByte=buf[i+1]))&&(tempCodePoint=(31&firstByte)<<6|63&secondByte)>127&&(codePoint=tempCodePoint);break;case 3:secondByte=buf[i+1],thirdByte=buf[i+2],128==(192&secondByte)&&128==(192&thirdByte)&&(tempCodePoint=(15&firstByte)<<12|(63&secondByte)<<6|63&thirdByte)>2047&&(tempCodePoint<55296||tempCodePoint>57343)&&(codePoint=tempCodePoint);break;case 4:secondByte=buf[i+1],thirdByte=buf[i+2],fourthByte=buf[i+3],128==(192&secondByte)&&128==(192&thirdByte)&&128==(192&fourthByte)&&(tempCodePoint=(15&firstByte)<<18|(63&secondByte)<<12|(63&thirdByte)<<6|63&fourthByte)>65535&&tempCodePoint<1114112&&(codePoint=tempCodePoint)}null===codePoint?(codePoint=65533,bytesPerSequence=1):codePoint>65535&&(codePoint-=65536,res.push(codePoint>>>10&1023|55296),codePoint=56320|1023&codePoint),res.push(codePoint),i+=bytesPerSequence}return function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=4096)return String.fromCharCode.apply(String,codePoints);var res="",i=0;for(;i<len;)res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=4096));return res}(res)}exports.Buffer=Buffer,exports.SlowBuffer=function SlowBuffer(length){+length!=length&&(length=0);return Buffer.alloc(+length)},exports.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var arr=new Uint8Array(1);return arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===arr.foo()&&"function"==typeof arr.subarray&&0===arr.subarray(1,1).byteLength}catch(e){return!1}}(),exports.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(arr){return arr.__proto__=Buffer.prototype,arr},Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(size,fill,encoding){return function alloc(that,size,fill,encoding){return assertSize(size),size<=0?createBuffer(that,size):void 0!==fill?"string"==typeof encoding?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill):createBuffer(that,size)}(null,size,fill,encoding)},Buffer.allocUnsafe=function(size){return allocUnsafe(null,size)},Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size)},Buffer.isBuffer=function isBuffer(b){return!(null==b||!b._isBuffer)},Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i<len;++i)if(a[i]!==b[i]){x=a[i],y=b[i];break}return x<y?-1:y<x?1:0},Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function concat(list,length){if(!isArray(list))throw new TypeError('"list" argument must be an Array of Buffers');if(0===list.length)return Buffer.alloc(0);var i;if(void 0===length)for(length=0,i=0;i<list.length;++i)length+=list[i].length;var buffer=Buffer.allocUnsafe(length),pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf))throw new TypeError('"list" argument must be an Array of Buffers');buf.copy(buffer,pos),pos+=buf.length}return buffer},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<len;i+=2)swap(this,i,i+1);return this},Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<len;i+=4)swap(this,i,i+3),swap(this,i+1,i+2);return this},Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<len;i+=8)swap(this,i,i+7),swap(this,i+1,i+6),swap(this,i+2,i+5),swap(this,i+3,i+4);return this},Buffer.prototype.toString=function toString(){var length=0|this.length;return 0===length?"":0===arguments.length?utf8Slice(this,0,length):slowToString.apply(this,arguments)},Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===Buffer.compare(this,b)},Buffer.prototype.inspect=function inspect(){var str="",max=exports.INSPECT_MAX_BYTES;return this.length>0&&(str=this.toString("hex",0,max).match(/.{2}/g).join(" "),this.length>max&&(str+=" ... ")),"<Buffer "+str+">"},Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target))throw new TypeError("Argument must be a Buffer");if(void 0===start&&(start=0),void 0===end&&(end=target?target.length:0),void 0===thisStart&&(thisStart=0),void 0===thisEnd&&(thisEnd=this.length),start<0||end>target.length||thisStart<0||thisEnd>this.length)throw new RangeError("out of range index");if(thisStart>=thisEnd&&start>=end)return 0;if(thisStart>=thisEnd)return-1;if(start>=end)return 1;if(this===target)return 0;for(var x=(thisEnd>>>=0)-(thisStart>>>=0),y=(end>>>=0)-(start>>>=0),len=Math.min(x,y),thisCopy=this.slice(thisStart,thisEnd),targetCopy=target.slice(start,end),i=0;i<len;++i)if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i],y=targetCopy[i];break}return x<y?-1:y<x?1:0},Buffer.prototype.includes=function includes(val,byteOffset,encoding){return-1!==this.indexOf(val,byteOffset,encoding)},Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!0)},Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,!1)},Buffer.prototype.write=function write(string,offset,length,encoding){if(void 0===offset)encoding="utf8",length=this.length,offset=0;else if(void 0===length&&"string"==typeof offset)encoding=offset,length=this.length,offset=0;else{if(!isFinite(offset))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");offset|=0,isFinite(length)?(length|=0,void 0===encoding&&(encoding="utf8")):(encoding=length,length=void 0)}var remaining=this.length-offset;if((void 0===length||length>remaining)&&(length=remaining),string.length>0&&(length<0||offset<0)||offset>this.length)throw new RangeError("Attempt to write outside buffer bounds");encoding||(encoding="utf8");for(var loweredCase=!1;;)switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase(),loweredCase=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(127&buf[i]);return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||start<0)&&(start=0),(!end||end<0||end>len)&&(end=len);for(var out="",i=start;i<end;++i)out+=toHex(buf[i]);return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}function checkOffset(offset,ext,length){if(offset%1!=0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}function objectWriteUInt16(buf,value,offset,littleEndian){value<0&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}function objectWriteUInt32(buf,value,offset,littleEndian){value<0&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,0,offset,4),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,0,offset,8),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}Buffer.prototype.slice=function slice(start,end){var newBuf,len=this.length;if((start=~~start)<0?(start+=len)<0&&(start=0):start>len&&(start=len),(end=void 0===end?len:~~end)<0?(end+=len)<0&&(end=0):end>len&&(end=len),end<start&&(end=start),Buffer.TYPED_ARRAY_SUPPORT)(newBuf=this.subarray(start,end)).__proto__=Buffer.prototype;else{var sliceLen=end-start;newBuf=new Buffer(sliceLen,void 0);for(var i=0;i<sliceLen;++i)newBuf[i]=this[i+start]}return newBuf},Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return val},Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset+--byteLength],mul=1;byteLength>0&&(mul*=256);)val+=this[offset+--byteLength]*mul;return val},Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),this[offset]},Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]|this[offset+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){return noAssert||checkOffset(offset,2,this.length),this[offset]<<8|this[offset+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+16777216*this[offset+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),16777216*this[offset]+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])},Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var val=this[offset],mul=1,i=0;++i<byteLength&&(mul*=256);)val+=this[offset+i]*mul;return val>=(mul*=128)&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset|=0,byteLength|=0,noAssert||checkOffset(offset,byteLength,this.length);for(var i=byteLength,mul=1,val=this[offset+--i];i>0&&(mul*=256);)val+=this[offset+--i]*mul;return val>=(mul*=128)&&(val-=Math.pow(2,8*byteLength)),val},Buffer.prototype.readInt8=function readInt8(offset,noAssert){return noAssert||checkOffset(offset,1,this.length),128&this[offset]?-1*(255-this[offset]+1):this[offset]},Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){noAssert||checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return 32768&val?4294901760|val:val},Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]},Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){return noAssert||checkOffset(offset,4,this.length),ieee754.read(this,offset,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){return noAssert||checkOffset(offset,8,this.length),ieee754.read(this,offset,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){(value=+value,offset|=0,byteLength|=0,noAssert)||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);var mul=1,i=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){(value=+value,offset|=0,byteLength|=0,noAssert)||checkInt(this,value,offset,byteLength,Math.pow(2,8*byteLength)-1,0);var i=byteLength-1,mul=1;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)this[offset+i]=value/mul&255;return offset+byteLength},Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),this[offset]=255&value,offset+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset+3]=value>>>24,this[offset+2]=value>>>16,this[offset+1]=value>>>8,this[offset]=255&value):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){if(value=+value,offset|=0,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0,mul=1,sub=0;for(this[offset]=255&value;++i<byteLength&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i-1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){if(value=+value,offset|=0,!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1,mul=1,sub=0;for(this[offset+i]=255&value;--i>=0&&(mul*=256);)value<0&&0===sub&&0!==this[offset+i+1]&&(sub=1),this[offset+i]=(value/mul>>0)-sub&255;return offset+byteLength},Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(value=Math.floor(value)),value<0&&(value=255+value+1),this[offset]=255&value,offset+1},Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8):objectWriteUInt16(this,value,offset,!0),offset+2},Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>8,this[offset+1]=255&value):objectWriteUInt16(this,value,offset,!1),offset+2},Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=255&value,this[offset+1]=value>>>8,this[offset+2]=value>>>16,this[offset+3]=value>>>24):objectWriteUInt32(this,value,offset,!0),offset+4},Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){return value=+value,offset|=0,noAssert||checkInt(this,value,offset,4,2147483647,-2147483648),value<0&&(value=4294967295+value+1),Buffer.TYPED_ARRAY_SUPPORT?(this[offset]=value>>>24,this[offset+1]=value>>>16,this[offset+2]=value>>>8,this[offset+3]=255&value):objectWriteUInt32(this,value,offset,!1),offset+4},Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,!0,noAssert)},Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,!1,noAssert)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,!0,noAssert)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,!1,noAssert)},Buffer.prototype.copy=function copy(target,targetStart,start,end){if(start||(start=0),end||0===end||(end=this.length),targetStart>=target.length&&(targetStart=target.length),targetStart||(targetStart=0),end>0&&end<start&&(end=start),end===start)return 0;if(0===target.length||0===this.length)return 0;if(targetStart<0)throw new RangeError("targetStart out of bounds");if(start<0||start>=this.length)throw new RangeError("sourceStart out of bounds");if(end<0)throw new RangeError("sourceEnd out of bounds");end>this.length&&(end=this.length),target.length-targetStart<end-start&&(end=target.length-targetStart+start);var i,len=end-start;if(this===target&&start<targetStart&&targetStart<end)for(i=len-1;i>=0;--i)target[i+targetStart]=this[i+start];else if(len<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(i=0;i<len;++i)target[i+targetStart]=this[i+start];else Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);return len},Buffer.prototype.fill=function fill(val,start,end,encoding){if("string"==typeof val){if("string"==typeof start?(encoding=start,start=0,end=this.length):"string"==typeof end&&(encoding=end,end=this.length),1===val.length){var code=val.charCodeAt(0);code<256&&(val=code)}if(void 0!==encoding&&"string"!=typeof encoding)throw new TypeError("encoding must be a string");if("string"==typeof encoding&&!Buffer.isEncoding(encoding))throw new TypeError("Unknown encoding: "+encoding)}else"number"==typeof val&&(val&=255);if(start<0||this.length<start||this.length<end)throw new RangeError("Out of range index");if(end<=start)return this;var i;if(start>>>=0,end=void 0===end?this.length:end>>>0,val||(val=0),"number"==typeof val)for(i=start;i<end;++i)this[i]=val;else{var bytes=Buffer.isBuffer(val)?val:utf8ToBytes(new Buffer(val,encoding).toString()),len=bytes.length;for(i=0;i<end-start;++i)this[i+start]=bytes[i%len]}return this};var INVALID_BASE64_RE=/[^+\/0-9A-Za-z-_]/g;function toHex(n){return n<16?"0"+n.toString(16):n.toString(16)}function utf8ToBytes(string,units){var codePoint;units=units||1/0;for(var length=string.length,leadSurrogate=null,bytes=[],i=0;i<length;++i){if((codePoint=string.charCodeAt(i))>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=65536+(leadSurrogate-55296<<10|codePoint-56320)}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(codePoint<1114112))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function base64ToBytes(str){return base64.toByteArray(function base64clean(str){if((str=function stringtrim(str){return str.trim?str.trim():str.replace(/^\s+|\s+$/g,"")}(str).replace(INVALID_BASE64_RE,"")).length<2)return"";for(;str.length%4!=0;)str+="=";return str}(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length&&!(i+offset>=dst.length||i>=src.length);++i)dst[i+offset]=src[i];return i}}).call(this,__webpack_require__("yLpj"))},tkqm:function(module,exports,__webpack_require__){"use strict";var support=__webpack_require__("Mi3D"),utils=__webpack_require__("9aYe"),crc32=__webpack_require__("fFCC"),signature=__webpack_require__("er0w"),defaults=__webpack_require__("itLX"),base64=__webpack_require__("4bvL"),compressions=__webpack_require__("7/DV"),CompressedObject=__webpack_require__("VJTW"),nodeBuffer=__webpack_require__("z//S"),utf8=__webpack_require__("MdMo"),StringWriter=__webpack_require__("tcYT"),Uint8ArrayWriter=__webpack_require__("IpYs"),getRawData=function(file){if(file._data instanceof CompressedObject&&(file._data=file._data.getContent(),file.options.binary=!0,file.options.base64=!1,"uint8array"===utils.getTypeOf(file._data))){var copy=file._data;file._data=new Uint8Array(copy.length),0!==copy.length&&file._data.set(copy,0)}return file._data},getBinaryData=function(file){var result=getRawData(file);return"string"===utils.getTypeOf(result)?!file.options.binary&&support.nodebuffer?nodeBuffer(result,"utf-8"):file.asBinary():result},dataToString=function(asUTF8){var result=getRawData(this);return null==result?"":(this.options.base64&&(result=base64.decode(result)),result=asUTF8&&this.options.binary?out.utf8decode(result):utils.transformTo("string",result),asUTF8||this.options.binary||(result=utils.transformTo("string",out.utf8encode(result))),result)},ZipObject=function(name,data,options){this.name=name,this.dir=options.dir,this.date=options.date,this.comment=options.comment,this._data=data,this.options=options,this._initialMetadata={dir:options.dir,date:options.date}};ZipObject.prototype={asText:function(){return dataToString.call(this,!0)},asBinary:function(){return dataToString.call(this,!1)},asNodeBuffer:function(){var result=getBinaryData(this);return utils.transformTo("nodebuffer",result)},asUint8Array:function(){var result=getBinaryData(this);return utils.transformTo("uint8array",result)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var decToHex=function(dec,bytes){var i,hex="";for(i=0;i<bytes;i++)hex+=String.fromCharCode(255&dec),dec>>>=8;return hex},extend=function(){var i,attr,result={};for(i=0;i<arguments.length;i++)for(attr in arguments[i])arguments[i].hasOwnProperty(attr)&&void 0===result[attr]&&(result[attr]=arguments[i][attr]);return result},fileAdd=function(name,data,o){var parent,dataType=utils.getTypeOf(data);if((o=function(o){return!0!==(o=o||{}).base64||null!==o.binary&&void 0!==o.binary||(o.binary=!0),(o=extend(o,defaults)).date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),o}(o)).createFolders&&(parent=parentFolder(name))&&folderAdd.call(this,parent,!0),o.dir||null==data)o.base64=!1,o.binary=!1,data=null;else if("string"===dataType)o.binary&&!o.base64&&!0!==o.optimizedBinaryString&&(data=utils.string2binary(data));else{if(o.base64=!1,o.binary=!0,!(dataType||data instanceof CompressedObject))throw new Error("The data of '"+name+"' is in an unsupported format !");"arraybuffer"===dataType&&(data=utils.transformTo("uint8array",data))}var object=new ZipObject(name,data,o);return this.files[name]=object,object},parentFolder=function(path){"/"==path.slice(-1)&&(path=path.substring(0,path.length-1));var lastSlash=path.lastIndexOf("/");return lastSlash>0?path.substring(0,lastSlash):""},folderAdd=function(name,createFolders){return"/"!=name.slice(-1)&&(name+="/"),createFolders=void 0!==createFolders&&createFolders,this.files[name]||fileAdd.call(this,name,null,{dir:!0,createFolders:createFolders}),this.files[name]},generateCompressedObjectFrom=function(file,compression){var content,result=new CompressedObject;return file._data instanceof CompressedObject?(result.uncompressedSize=file._data.uncompressedSize,result.crc32=file._data.crc32,0===result.uncompressedSize||file.dir?(compression=compressions.STORE,result.compressedContent="",result.crc32=0):file._data.compressionMethod===compression.magic?result.compressedContent=file._data.getCompressedContent():(content=file._data.getContent(),result.compressedContent=compression.compress(utils.transformTo(compression.compressInputType,content)))):((content=getBinaryData(file))&&0!==content.length&&!file.dir||(compression=compressions.STORE,content=""),result.uncompressedSize=content.length,result.crc32=crc32(content),result.compressedContent=compression.compress(utils.transformTo(compression.compressInputType,content))),result.compressedSize=result.compressedContent.length,result.compressionMethod=compression.magic,result},generateZipParts=function(name,file,compressedObject,offset){compressedObject.compressedContent;var dosTime,dosDate,dir,date,utfEncodedFileName=utils.transformTo("string",utf8.utf8encode(file.name)),comment=file.comment||"",utfEncodedComment=utils.transformTo("string",utf8.utf8encode(comment)),useUTF8ForFileName=utfEncodedFileName.length!==file.name.length,useUTF8ForComment=utfEncodedComment.length!==comment.length,o=file.options,extraFields="",unicodePathExtraField="",unicodeCommentExtraField="";dir=file._initialMetadata.dir!==file.dir?file.dir:o.dir,dosTime=(date=file._initialMetadata.date!==file.date?file.date:o.date).getHours(),dosTime<<=6,dosTime|=date.getMinutes(),dosTime<<=5,dosTime|=date.getSeconds()/2,dosDate=date.getFullYear()-1980,dosDate<<=4,dosDate|=date.getMonth()+1,dosDate<<=5,dosDate|=date.getDate(),useUTF8ForFileName&&(unicodePathExtraField=decToHex(1,1)+decToHex(crc32(utfEncodedFileName),4)+utfEncodedFileName,extraFields+="up"+decToHex(unicodePathExtraField.length,2)+unicodePathExtraField),useUTF8ForComment&&(unicodeCommentExtraField=decToHex(1,1)+decToHex(this.crc32(utfEncodedComment),4)+utfEncodedComment,extraFields+="uc"+decToHex(unicodeCommentExtraField.length,2)+unicodeCommentExtraField);var header="";return header+="\n\0",header+=useUTF8ForFileName||useUTF8ForComment?"\0\b":"\0\0",header+=compressedObject.compressionMethod,header+=decToHex(dosTime,2),header+=decToHex(dosDate,2),header+=decToHex(compressedObject.crc32,4),header+=decToHex(compressedObject.compressedSize,4),header+=decToHex(compressedObject.uncompressedSize,4),header+=decToHex(utfEncodedFileName.length,2),header+=decToHex(extraFields.length,2),{fileRecord:signature.LOCAL_FILE_HEADER+header+utfEncodedFileName+extraFields,dirRecord:signature.CENTRAL_FILE_HEADER+"\0"+header+decToHex(utfEncodedComment.length,2)+"\0\0\0\0"+(!0===dir?"\0\0\0":"\0\0\0\0")+decToHex(offset,4)+utfEncodedFileName+extraFields+utfEncodedComment,compressedObject:compressedObject}},out={load:function(stream,options){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(search){var filename,relativePath,file,fileClone,result=[];for(filename in this.files)this.files.hasOwnProperty(filename)&&(file=this.files[filename],fileClone=new ZipObject(file.name,file._data,extend(file.options)),relativePath=filename.slice(this.root.length,filename.length),filename.slice(0,this.root.length)===this.root&&search(relativePath,fileClone)&&result.push(fileClone));return result},file:function(name,data,o){if(1===arguments.length){if(utils.isRegExp(name)){var regexp=name;return this.filter((function(relativePath,file){return!file.dir&&regexp.test(relativePath)}))}return this.filter((function(relativePath,file){return!file.dir&&relativePath===name}))[0]||null}return name=this.root+name,fileAdd.call(this,name,data,o),this},folder:function(arg){if(!arg)return this;if(utils.isRegExp(arg))return this.filter((function(relativePath,file){return file.dir&&arg.test(relativePath)}));var name=this.root+arg,newFolder=folderAdd.call(this,name),ret=this.clone();return ret.root=newFolder.name,ret},remove:function(name){name=this.root+name;var file=this.files[name];if(file||("/"!=name.slice(-1)&&(name+="/"),file=this.files[name]),file&&!file.dir)delete this.files[name];else for(var kids=this.filter((function(relativePath,file){return file.name.slice(0,name.length)===name})),i=0;i<kids.length;i++)delete this.files[kids[i].name];return this},generate:function(options){options=extend(options||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),utils.checkSupport(options.type);var writer,i,zipData=[],localDirLength=0,centralDirLength=0,utfEncodedComment=utils.transformTo("string",this.utf8encode(options.comment||this.comment||""));for(var name in this.files)if(this.files.hasOwnProperty(name)){var file=this.files[name],compressionName=file.options.compression||options.compression.toUpperCase(),compression=compressions[compressionName];if(!compression)throw new Error(compressionName+" is not a valid compression method !");var compressedObject=generateCompressedObjectFrom.call(this,file,compression),zipPart=generateZipParts.call(this,name,file,compressedObject,localDirLength);localDirLength+=zipPart.fileRecord.length+compressedObject.compressedSize,centralDirLength+=zipPart.dirRecord.length,zipData.push(zipPart)}var dirEnd;dirEnd=signature.CENTRAL_DIRECTORY_END+"\0\0\0\0"+decToHex(zipData.length,2)+decToHex(zipData.length,2)+decToHex(centralDirLength,4)+decToHex(localDirLength,4)+decToHex(utfEncodedComment.length,2)+utfEncodedComment;var typeName=options.type.toLowerCase();for(writer="uint8array"===typeName||"arraybuffer"===typeName||"blob"===typeName||"nodebuffer"===typeName?new Uint8ArrayWriter(localDirLength+centralDirLength+dirEnd.length):new StringWriter(localDirLength+centralDirLength+dirEnd.length),i=0;i<zipData.length;i++)writer.append(zipData[i].fileRecord),writer.append(zipData[i].compressedObject.compressedContent);for(i=0;i<zipData.length;i++)writer.append(zipData[i].dirRecord);writer.append(dirEnd);var zip=writer.finalize();switch(options.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return utils.transformTo(options.type.toLowerCase(),zip);case"blob":return utils.arrayBuffer2Blob(utils.transformTo("arraybuffer",zip));case"base64":return options.base64?base64.encode(zip):zip;default:return zip}},crc32:function(input,crc){return crc32(input,crc)},utf8encode:function(string){return utils.transformTo("string",utf8.utf8encode(string))},utf8decode:function(input){return utf8.utf8decode(input)}};module.exports=out},u6S6:function(module,exports,__webpack_require__){var capitalize=__webpack_require__("6acW"),camelCase=__webpack_require__("sgoq")((function(result,word,index){return word=word.toLowerCase(),result+(index?capitalize(word):word)}));module.exports=camelCase},u8Dt:function(module,exports,__webpack_require__){var nativeCreate=__webpack_require__("YESw"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},uDTZ:function(module,exports){module.exports=function throttle(fn,interval,callFirst){var wait=!1,callNow=!1;return function(){callNow=callFirst&&!wait;var context=this,args=arguments;if(wait||(wait=!0,setTimeout((function(){if(wait=!1,!callFirst)return fn.apply(context,args)}),interval)),callNow)return callNow=!1,fn.apply(this,arguments)}}},uaHG:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU"),toObject=__webpack_require__("S/j/"),toPrimitive=__webpack_require__("apmT"),getPrototypeOf=__webpack_require__("OP3Y"),getOwnPropertyDescriptor=__webpack_require__("EemH").f;__webpack_require__("nh4g")&&$export($export.P+__webpack_require__("xbSm"),"Object",{__lookupGetter__:function __lookupGetter__(P){var D,O=toObject(this),K=toPrimitive(P,!0);do{if(D=getOwnPropertyDescriptor(O,K))return D.get}while(O=getPrototypeOf(O))}})},uj4h:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S+$export.F,"Object",{isObject:__webpack_require__("0/R4")})},upKx:function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__("S/j/"),toAbsoluteIndex=__webpack_require__("d/Gc"),toLength=__webpack_require__("ne8i");module.exports=[].copyWithin||function copyWithin(target,start){var O=toObject(this),len=toLength(O.length),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=Math.min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from<to&&to<from+count&&(inc=-1,from+=count-1,to+=count-1);count-- >0;)from in O?O[to]=O[from]:delete O[to],to+=inc,from+=inc;return O}},vI6n:function(module,exports,__webpack_require__){"use strict";var base64=__webpack_require__("4bvL"),ZipEntries=__webpack_require__("TCJ/");module.exports=function(data,options){var files,zipEntries,i,input;for((options=options||{}).base64&&(data=base64.decode(data)),files=(zipEntries=new ZipEntries(data,options)).files,i=0;i<files.length;i++)input=files[i],this.file(input.fileName,input.decompressed,{binary:!0,optimizedBinaryString:!0,date:input.date,dir:input.dir,comment:input.fileComment.length?input.fileComment:null,createFolders:options.createFolders});return zipEntries.zipComment.length&&(this.comment=zipEntries.zipComment),this}},vKrd:function(module,exports,__webpack_require__){var anObject=__webpack_require__("y3w9"),isObject=__webpack_require__("0/R4"),newPromiseCapability=__webpack_require__("pbhE");module.exports=function(C,x){if(anObject(C),isObject(x)&&x.constructor===C)return x;var promiseCapability=newPromiseCapability.f(C);return(0,promiseCapability.resolve)(x),promiseCapability.promise}},vPNt:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN")},vWU8:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("9aYe");function DataReader(data){this.data=null,this.length=0,this.index=0}DataReader.prototype={checkOffset:function(offset){this.checkIndex(this.index+offset)},checkIndex:function(newIndex){if(this.length<newIndex||newIndex<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+newIndex+"). Corrupted zip ?")},setIndex:function(newIndex){this.checkIndex(newIndex),this.index=newIndex},skip:function(n){this.setIndex(this.index+n)},byteAt:function(i){},readInt:function(size){var i,result=0;for(this.checkOffset(size),i=this.index+size-1;i>=this.index;i--)result=(result<<8)+this.byteAt(i);return this.index+=size,result},readString:function(size){return utils.transformTo("string",this.readData(size))},readData:function(size){},lastIndexOfSignature:function(sig){},readDate:function(){var dostime=this.readInt(4);return new Date(1980+(dostime>>25&127),(dostime>>21&15)-1,dostime>>16&31,dostime>>11&31,dostime>>5&63,(31&dostime)<<1)}},module.exports=DataReader},vhPU:function(module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on  "+it);return it}},"vn/o":function(module,exports,__webpack_require__){"use strict";var TYPED_OK="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;exports.assign=function(obj){for(var sources=Array.prototype.slice.call(arguments,1);sources.length;){var source=sources.shift();if(source){if("object"!=typeof source)throw new TypeError(source+"must be non-object");for(var p in source)source.hasOwnProperty(p)&&(obj[p]=source[p])}}return obj},exports.shrinkBuf=function(buf,size){return buf.length===size?buf:buf.subarray?buf.subarray(0,size):(buf.length=size,buf)};var fnTyped={arraySet:function(dest,src,src_offs,len,dest_offs){if(src.subarray&&dest.subarray)dest.set(src.subarray(src_offs,src_offs+len),dest_offs);else for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){var i,l,len,pos,chunk,result;for(len=0,i=0,l=chunks.length;i<l;i++)len+=chunks[i].length;for(result=new Uint8Array(len),pos=0,i=0,l=chunks.length;i<l;i++)chunk=chunks[i],result.set(chunk,pos),pos+=chunk.length;return result}},fnUntyped={arraySet:function(dest,src,src_offs,len,dest_offs){for(var i=0;i<len;i++)dest[dest_offs+i]=src[src_offs+i]},flattenChunks:function(chunks){return[].concat.apply([],chunks)}};exports.setTyped=function(on){on?(exports.Buf8=Uint8Array,exports.Buf16=Uint16Array,exports.Buf32=Int32Array,exports.assign(exports,fnTyped)):(exports.Buf8=Array,exports.Buf16=Array,exports.Buf32=Array,exports.assign(exports,fnUntyped))},exports.setTyped(TYPED_OK)},vvmO:function(module,exports,__webpack_require__){var cof=__webpack_require__("LZWt");module.exports=function(it,msg){if("number"!=typeof it&&"Number"!=cof(it))throw TypeError(msg);return+it}},vxDS:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.forwardAnalyticsEvent=exports.transformToAnalyticsEvent=exports.Name=void 0,exports.Name="analytics",exports.transformToAnalyticsEvent=function(event){var detail={originalEventType:event.type,originalEventDetail:event.detail};return new CustomEvent(exports.Name,{detail:detail})},exports.forwardAnalyticsEvent=function(event){var forwardedEvent=exports.transformToAnalyticsEvent(event);window.dispatchEvent(forwardedEvent)}},w2a5:function(module,exports,__webpack_require__){var toIObject=__webpack_require__("aCFj"),toLength=__webpack_require__("ne8i"),toAbsoluteIndex=__webpack_require__("d/Gc");module.exports=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}}},wmvG:function(module,exports,__webpack_require__){"use strict";var dP=__webpack_require__("hswa").f,create=__webpack_require__("Kuth"),redefineAll=__webpack_require__("3Lyj"),ctx=__webpack_require__("m0Pp"),anInstance=__webpack_require__("9gX7"),forOf=__webpack_require__("SlkY"),$iterDefine=__webpack_require__("Afnz"),step=__webpack_require__("1TsA"),setSpecies=__webpack_require__("elZq"),DESCRIPTORS=__webpack_require__("nh4g"),fastKey=__webpack_require__("Z6vF").fastKey,validate=__webpack_require__("s5qY"),SIZE=DESCRIPTORS?"_s":"size",getEntry=function(that,key){var entry,index=fastKey(key);if("F"!==index)return that._i[index];for(entry=that._f;entry;entry=entry.n)if(entry.k==key)return entry};module.exports={getConstructor:function(wrapper,NAME,IS_MAP,ADDER){var C=wrapper((function(that,iterable){anInstance(that,C,NAME,"_i"),that._t=NAME,that._i=create(null),that._f=void 0,that._l=void 0,that[SIZE]=0,null!=iterable&&forOf(iterable,IS_MAP,that[ADDER],that)}));return redefineAll(C.prototype,{clear:function clear(){for(var that=validate(this,NAME),data=that._i,entry=that._f;entry;entry=entry.n)entry.r=!0,entry.p&&(entry.p=entry.p.n=void 0),delete data[entry.i];that._f=that._l=void 0,that[SIZE]=0},delete:function(key){var that=validate(this,NAME),entry=getEntry(that,key);if(entry){var next=entry.n,prev=entry.p;delete that._i[entry.i],entry.r=!0,prev&&(prev.n=next),next&&(next.p=prev),that._f==entry&&(that._f=next),that._l==entry&&(that._l=prev),that[SIZE]--}return!!entry},forEach:function forEach(callbackfn){validate(this,NAME);for(var entry,f=ctx(callbackfn,arguments.length>1?arguments[1]:void 0,3);entry=entry?entry.n:this._f;)for(f(entry.v,entry.k,this);entry&&entry.r;)entry=entry.p},has:function has(key){return!!getEntry(validate(this,NAME),key)}}),DESCRIPTORS&&dP(C.prototype,"size",{get:function(){return validate(this,NAME)[SIZE]}}),C},def:function(that,key,value){var prev,index,entry=getEntry(that,key);return entry?entry.v=value:(that._l=entry={i:index=fastKey(key,!0),k:key,v:value,p:prev=that._l,n:void 0,r:!1},that._f||(that._f=entry),prev&&(prev.n=entry),that[SIZE]++,"F"!==index&&(that._i[index]=entry)),that},getEntry:getEntry,setStrong:function(C,NAME,IS_MAP){$iterDefine(C,NAME,(function(iterated,kind){this._t=validate(iterated,NAME),this._k=kind,this._l=void 0}),(function(){for(var kind=this._k,entry=this._l;entry&&entry.r;)entry=entry.p;return this._t&&(this._l=entry=entry?entry.n:this._t._f)?step(0,"keys"==kind?entry.k:"values"==kind?entry.v:[entry.k,entry.v]):(this._t=void 0,step(1))}),IS_MAP?"entries":"values",!IS_MAP,!0),setSpecies(NAME)}}},wq4j:function(module,exports,__webpack_require__){module.exports=__webpack_require__("43KI").PassThrough},wtYY:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__("mTPN")},wy8a:function(module,exports,__webpack_require__){var baseSlice=__webpack_require__("KxBF");module.exports=function castSlice(array,start,end){var length=array.length;return end=void 0===end?length:end,!start&&end>=length?array:baseSlice(array,start,end)}},"x6l+":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Name}));var Name="download-file"},x8qZ:function(module,exports,__webpack_require__){__webpack_require__("OnI7")("observable")},"xF/b":function(module,exports,__webpack_require__){"use strict";var isArray=__webpack_require__("EWmC"),isObject=__webpack_require__("0/R4"),toLength=__webpack_require__("ne8i"),ctx=__webpack_require__("m0Pp"),IS_CONCAT_SPREADABLE=__webpack_require__("K0xU")("isConcatSpreadable");module.exports=function flattenIntoArray(target,original,source,sourceLen,start,depth,mapper,thisArg){for(var element,spreadable,targetIndex=start,sourceIndex=0,mapFn=!!mapper&&ctx(mapper,thisArg,3);sourceIndex<sourceLen;){if(sourceIndex in source){if(element=mapFn?mapFn(source[sourceIndex],sourceIndex,original):source[sourceIndex],spreadable=!1,isObject(element)&&(spreadable=void 0!==(spreadable=element[IS_CONCAT_SPREADABLE])?!!spreadable:isArray(element)),spreadable&&depth>0)targetIndex=flattenIntoArray(target,original,element,toLength(element.length),targetIndex,depth-1)-1;else{if(targetIndex>=9007199254740991)throw TypeError();target[targetIndex]=element}targetIndex++}sourceIndex++}return targetIndex}},xbSm:function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("LQAc")||!__webpack_require__("eeVq")((function(){var K=Math.random();__defineSetter__.call(null,K,(function(){})),delete __webpack_require__("dyZX")[K]}))},xfY5:function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__("dyZX"),has=__webpack_require__("aagx"),cof=__webpack_require__("LZWt"),inheritIfRequired=__webpack_require__("Xbzi"),toPrimitive=__webpack_require__("apmT"),fails=__webpack_require__("eeVq"),gOPN=__webpack_require__("kJMx").f,gOPD=__webpack_require__("EemH").f,dP=__webpack_require__("hswa").f,$trim=__webpack_require__("qncB").trim,$Number=global.Number,Base=$Number,proto=$Number.prototype,BROKEN_COF="Number"==cof(__webpack_require__("Kuth")(proto)),TRIM="trim"in String.prototype,toNumber=function(argument){var it=toPrimitive(argument,!1);if("string"==typeof it&&it.length>2){var third,radix,maxCode,first=(it=TRIM?it.trim():$trim(it,3)).charCodeAt(0);if(43===first||45===first){if(88===(third=it.charCodeAt(2))||120===third)return NaN}else if(48===first){switch(it.charCodeAt(1)){case 66:case 98:radix=2,maxCode=49;break;case 79:case 111:radix=8,maxCode=55;break;default:return+it}for(var code,digits=it.slice(2),i=0,l=digits.length;i<l;i++)if((code=digits.charCodeAt(i))<48||code>maxCode)return NaN;return parseInt(digits,radix)}}return+it};if(!$Number(" 0o1")||!$Number("0b1")||$Number("+0x1")){$Number=function Number(value){var it=arguments.length<1?0:value,that=this;return that instanceof $Number&&(BROKEN_COF?fails((function(){proto.valueOf.call(that)})):"Number"!=cof(that))?inheritIfRequired(new Base(toNumber(it)),that,$Number):toNumber(it)};for(var key,keys=__webpack_require__("nh4g")?gOPN(Base):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),j=0;keys.length>j;j++)has(Base,key=keys[j])&&!has($Number,key)&&dP($Number,key,gOPD(Base,key));$Number.prototype=proto,proto.constructor=$Number,__webpack_require__("KroJ")(global,"Number",$Number)}},xpql:function(module,exports,__webpack_require__){module.exports=!__webpack_require__("nh4g")&&!__webpack_require__("eeVq")((function(){return 7!=Object.defineProperty(__webpack_require__("Iw71")("div"),"a",{get:function(){return 7}}).a}))},xqFc:function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__("XKFU");module.exports=function(COLLECTION){$export($export.S,COLLECTION,{of:function of(){for(var length=arguments.length,A=new Array(length);length--;)A[length]=arguments[length];return new this(A)}})}},xxLm:function(module,exports,__webpack_require__){module.exports=function(){"use strict";var MOUSE_PROPS=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","pageX","pageY"],MOUSE_DEFAULTS=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0];function PointerEvent(inType,inDict){inDict=inDict||Object.create(null);var e=document.createEvent("Event");e.initEvent(inType,inDict.bubbles||!1,inDict.cancelable||!1);for(var p,i=2;i<MOUSE_PROPS.length;i++)e[p=MOUSE_PROPS[i]]=inDict[p]||MOUSE_DEFAULTS[i];e.buttons=inDict.buttons||0;var pressure=0;return pressure=inDict.pressure&&e.buttons?inDict.pressure:e.buttons?.5:0,e.x=e.clientX,e.y=e.clientY,e.pointerId=inDict.pointerId||0,e.width=inDict.width||0,e.height=inDict.height||0,e.pressure=pressure,e.tiltX=inDict.tiltX||0,e.tiltY=inDict.tiltY||0,e.twist=inDict.twist||0,e.tangentialPressure=inDict.tangentialPressure||0,e.pointerType=inDict.pointerType||"",e.hwTimestamp=inDict.hwTimestamp||0,e.isPrimary=inDict.isPrimary||!1,e}var PointerMap=window.Map&&window.Map.prototype.forEach?Map:SparseArrayMap;function SparseArrayMap(){this.array=[],this.size=0}SparseArrayMap.prototype={set:function(k,v){if(void 0===v)return this.delete(k);this.has(k)||this.size++,this.array[k]=v},has:function(k){return void 0!==this.array[k]},delete:function(k){this.has(k)&&(delete this.array[k],this.size--)},get:function(k){return this.array[k]},clear:function(){this.array.length=0,this.size=0},forEach:function(callback,thisArg){return this.array.forEach((function(v,k){callback.call(thisArg,v,k,this)}),this)}};var CLONE_PROPS=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","buttons","pointerId","width","height","pressure","tiltX","tiltY","pointerType","hwTimestamp","isPrimary","type","target","currentTarget","which","pageX","pageY","timeStamp"],CLONE_DEFAULTS=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0,0,0,0,0,0,"",0,!1,"",null,null,0,0,0,0],BOUNDARY_EVENTS={pointerover:1,pointerout:1,pointerenter:1,pointerleave:1},HAS_SVG_INSTANCE="undefined"!=typeof SVGElementInstance,dispatcher={pointermap:new PointerMap,eventMap:Object.create(null),captureInfo:Object.create(null),eventSources:Object.create(null),eventSourceList:[],registerSource:function(name,source){var s=source,newEvents=s.events;newEvents&&(newEvents.forEach((function(e){s[e]&&(this.eventMap[e]=s[e].bind(s))}),this),this.eventSources[name]=s,this.eventSourceList.push(s))},register:function(element){for(var es,l=this.eventSourceList.length,i=0;i<l&&(es=this.eventSourceList[i]);i++)es.register.call(es,element)},unregister:function(element){for(var es,l=this.eventSourceList.length,i=0;i<l&&(es=this.eventSourceList[i]);i++)es.unregister.call(es,element)},contains:function(container,contained){try{return container.contains(contained)}catch(ex){return!1}},down:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointerdown",inEvent)},move:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointermove",inEvent)},up:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointerup",inEvent)},enter:function(inEvent){inEvent.bubbles=!1,this.fireEvent("pointerenter",inEvent)},leave:function(inEvent){inEvent.bubbles=!1,this.fireEvent("pointerleave",inEvent)},over:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointerover",inEvent)},out:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointerout",inEvent)},cancel:function(inEvent){inEvent.bubbles=!0,this.fireEvent("pointercancel",inEvent)},leaveOut:function(event){this.out(event),this.propagate(event,this.leave,!1)},enterOver:function(event){this.over(event),this.propagate(event,this.enter,!0)},eventHandler:function(inEvent){if(!inEvent._handledByPE){var type=inEvent.type,fn=this.eventMap&&this.eventMap[type];fn&&fn(inEvent),inEvent._handledByPE=!0}},listen:function(target,events){events.forEach((function(e){this.addEvent(target,e)}),this)},unlisten:function(target,events){events.forEach((function(e){this.removeEvent(target,e)}),this)},addEvent:function(target,eventName){target.addEventListener(eventName,this.boundHandler)},removeEvent:function(target,eventName){target.removeEventListener(eventName,this.boundHandler)},makeEvent:function(inType,inEvent){this.captureInfo[inEvent.pointerId]&&(inEvent.relatedTarget=null);var e=new PointerEvent(inType,inEvent);return inEvent.preventDefault&&(e.preventDefault=inEvent.preventDefault),e._target=e._target||inEvent.target,e},fireEvent:function(inType,inEvent){var e=this.makeEvent(inType,inEvent);return this.dispatchEvent(e)},cloneEvent:function(inEvent){for(var p,eventCopy=Object.create(null),i=0;i<CLONE_PROPS.length;i++)eventCopy[p=CLONE_PROPS[i]]=inEvent[p]||CLONE_DEFAULTS[i],!HAS_SVG_INSTANCE||"target"!==p&&"relatedTarget"!==p||eventCopy[p]instanceof SVGElementInstance&&(eventCopy[p]=eventCopy[p].correspondingUseElement);return inEvent.preventDefault&&(eventCopy.preventDefault=function(){inEvent.preventDefault()}),eventCopy},getTarget:function(inEvent){var capture=this.captureInfo[inEvent.pointerId];return capture?inEvent._target!==capture&&inEvent.type in BOUNDARY_EVENTS?void 0:capture:inEvent._target},propagate:function(event,fn,propagateDown){for(var target=event.target,targets=[];target!==document&&!target.contains(event.relatedTarget);)if(targets.push(target),!(target=target.parentNode))return;propagateDown&&targets.reverse(),targets.forEach((function(target){event.target=target,fn.call(this,event)}),this)},setCapture:function(inPointerId,inTarget,skipDispatch){this.captureInfo[inPointerId]&&this.releaseCapture(inPointerId,skipDispatch),this.captureInfo[inPointerId]=inTarget,this.implicitRelease=this.releaseCapture.bind(this,inPointerId,skipDispatch),document.addEventListener("pointerup",this.implicitRelease),document.addEventListener("pointercancel",this.implicitRelease);var e=new PointerEvent("gotpointercapture");e.pointerId=inPointerId,e._target=inTarget,skipDispatch||this.asyncDispatchEvent(e)},releaseCapture:function(inPointerId,skipDispatch){var t=this.captureInfo[inPointerId];if(t){this.captureInfo[inPointerId]=void 0,document.removeEventListener("pointerup",this.implicitRelease),document.removeEventListener("pointercancel",this.implicitRelease);var e=new PointerEvent("lostpointercapture");e.pointerId=inPointerId,e._target=t,skipDispatch||this.asyncDispatchEvent(e)}},dispatchEvent:function(inEvent){var t=this.getTarget(inEvent);if(t)return t.dispatchEvent(inEvent)},asyncDispatchEvent:function(inEvent){requestAnimationFrame(this.dispatchEvent.bind(this,inEvent))}};dispatcher.boundHandler=dispatcher.eventHandler.bind(dispatcher);var targeting={shadow:function(inEl){if(inEl)return inEl.shadowRoot||inEl.webkitShadowRoot},canTarget:function(shadow){return shadow&&Boolean(shadow.elementFromPoint)},targetingShadow:function(inEl){var s=this.shadow(inEl);if(this.canTarget(s))return s},olderShadow:function(shadow){var os=shadow.olderShadowRoot;if(!os){var se=shadow.querySelector("shadow");se&&(os=se.olderShadowRoot)}return os},allShadows:function(element){for(var shadows=[],s=this.shadow(element);s;)shadows.push(s),s=this.olderShadow(s);return shadows},searchRoot:function(inRoot,x,y){if(inRoot){var st,sr,t=inRoot.elementFromPoint(x,y);for(sr=this.targetingShadow(t);sr;){if(st=sr.elementFromPoint(x,y)){var ssr=this.targetingShadow(st);return this.searchRoot(ssr,x,y)||st}sr=this.olderShadow(sr)}return t}},owner:function(element){for(var s=element;s.parentNode;)s=s.parentNode;return s.nodeType!==Node.DOCUMENT_NODE&&s.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(s=document),s},findTarget:function(inEvent){var x=inEvent.clientX,y=inEvent.clientY,s=this.owner(inEvent.target);return s.elementFromPoint(x,y)||(s=document),this.searchRoot(s,x,y)}},forEach=Array.prototype.forEach.call.bind(Array.prototype.forEach),map=Array.prototype.map.call.bind(Array.prototype.map),toArray=Array.prototype.slice.call.bind(Array.prototype.slice),filter=Array.prototype.filter.call.bind(Array.prototype.filter),MO=window.MutationObserver||window.WebKitMutationObserver,SELECTOR="[touch-action]",OBSERVER_INIT={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,attributeFilter:["touch-action"]};function Installer(add,remove,changed,binder){this.addCallback=add.bind(binder),this.removeCallback=remove.bind(binder),this.changedCallback=changed.bind(binder),MO&&(this.observer=new MO(this.mutationWatcher.bind(this)))}function shadowSelector(v){return"body /shadow-deep/ "+selector(v)}function selector(v){return'[touch-action="'+v+'"]'}function rule(v){return"{ -ms-touch-action: "+v+"; touch-action: "+v+"; }"}Installer.prototype={watchSubtree:function(target){this.observer&&targeting.canTarget(target)&&this.observer.observe(target,OBSERVER_INIT)},enableOnSubtree:function(target){this.watchSubtree(target),target===document&&"complete"!==document.readyState?this.installOnLoad():this.installNewSubtree(target)},installNewSubtree:function(target){forEach(this.findElements(target),this.addElement,this)},findElements:function(target){return target.querySelectorAll?target.querySelectorAll(SELECTOR):[]},removeElement:function(el){this.removeCallback(el)},addElement:function(el){this.addCallback(el)},elementChanged:function(el,oldValue){this.changedCallback(el,oldValue)},concatLists:function(accum,list){return accum.concat(toArray(list))},installOnLoad:function(){document.addEventListener("readystatechange",function(){"complete"===document.readyState&&this.installNewSubtree(document)}.bind(this))},isElement:function(n){return n.nodeType===Node.ELEMENT_NODE},flattenMutationTree:function(inNodes){var tree=map(inNodes,this.findElements,this);return tree.push(filter(inNodes,this.isElement)),tree.reduce(this.concatLists,[])},mutationWatcher:function(mutations){mutations.forEach(this.mutationHandler,this)},mutationHandler:function(m){"childList"===m.type?(this.flattenMutationTree(m.addedNodes).forEach(this.addElement,this),this.flattenMutationTree(m.removedNodes).forEach(this.removeElement,this)):"attributes"===m.type&&this.elementChanged(m.target,m.oldValue)}};var attrib2css=["none","auto","pan-x","pan-y",{rule:"pan-x pan-y",selectors:["pan-x pan-y","pan-y pan-x"]}],styles="",hasNativePE=window.PointerEvent||window.MSPointerEvent,hasShadowRoot=!window.ShadowDOMPolyfill&&document.head.createShadowRoot;function applyAttributeStyles(){if(hasNativePE){attrib2css.forEach((function(r){String(r)===r?(styles+=selector(r)+rule(r)+"\n",hasShadowRoot&&(styles+=shadowSelector(r)+rule(r)+"\n")):(styles+=r.selectors.map(selector)+rule(r.rule)+"\n",hasShadowRoot&&(styles+=r.selectors.map(shadowSelector)+rule(r.rule)+"\n"))}));var el=document.createElement("style");el.textContent=styles,document.head.appendChild(el)}}var pointermap=dispatcher.pointermap,DEDUP_DIST=25,BUTTON_TO_BUTTONS=[1,4,2,8,16],HAS_BUTTONS=!1;try{HAS_BUTTONS=1===new MouseEvent("test",{buttons:1}).buttons}catch(e){}var INSTALLER,mouseEvents={POINTER_ID:1,POINTER_TYPE:"mouse",events:["mousedown","mousemove","mouseup","mouseover","mouseout"],register:function(target){dispatcher.listen(target,this.events)},unregister:function(target){dispatcher.unlisten(target,this.events)},lastTouches:[],isEventSimulatedFromTouch:function(inEvent){for(var t,lts=this.lastTouches,x=inEvent.clientX,y=inEvent.clientY,i=0,l=lts.length;i<l&&(t=lts[i]);i++){var dx=Math.abs(x-t.x),dy=Math.abs(y-t.y);if(dx<=DEDUP_DIST&&dy<=DEDUP_DIST)return!0}},prepareEvent:function(inEvent){var e=dispatcher.cloneEvent(inEvent),pd=e.preventDefault;return e.preventDefault=function(){inEvent.preventDefault(),pd()},e.pointerId=this.POINTER_ID,e.isPrimary=!0,e.pointerType=this.POINTER_TYPE,e},prepareButtonsForMove:function(e,inEvent){var p=pointermap.get(this.POINTER_ID);0!==inEvent.which&&p?e.buttons=p.buttons:e.buttons=0,inEvent.buttons=e.buttons},mousedown:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var p=pointermap.get(this.POINTER_ID),e=this.prepareEvent(inEvent);HAS_BUTTONS||(e.buttons=BUTTON_TO_BUTTONS[e.button],p&&(e.buttons|=p.buttons),inEvent.buttons=e.buttons),pointermap.set(this.POINTER_ID,inEvent),p&&0!==p.buttons?dispatcher.move(e):dispatcher.down(e)}},mousemove:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);HAS_BUTTONS||this.prepareButtonsForMove(e,inEvent),e.button=-1,pointermap.set(this.POINTER_ID,inEvent),dispatcher.move(e)}},mouseup:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var p=pointermap.get(this.POINTER_ID),e=this.prepareEvent(inEvent);if(!HAS_BUTTONS){var up=BUTTON_TO_BUTTONS[e.button];e.buttons=p?p.buttons&~up:0,inEvent.buttons=e.buttons}pointermap.set(this.POINTER_ID,inEvent),e.buttons&=~BUTTON_TO_BUTTONS[e.button],0===e.buttons?dispatcher.up(e):dispatcher.move(e)}},mouseover:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);HAS_BUTTONS||this.prepareButtonsForMove(e,inEvent),e.button=-1,pointermap.set(this.POINTER_ID,inEvent),dispatcher.enterOver(e)}},mouseout:function(inEvent){if(!this.isEventSimulatedFromTouch(inEvent)){var e=this.prepareEvent(inEvent);HAS_BUTTONS||this.prepareButtonsForMove(e,inEvent),e.button=-1,dispatcher.leaveOut(e)}},cancel:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.cancel(e),this.deactivateMouse()},deactivateMouse:function(){pointermap.delete(this.POINTER_ID)}},captureInfo=dispatcher.captureInfo,findTarget=targeting.findTarget.bind(targeting),allShadows=targeting.allShadows.bind(targeting),pointermap$1=dispatcher.pointermap,DEDUP_TIMEOUT=2500,CLICK_COUNT_TIMEOUT=200,ATTRIB="touch-action",touchEvents={events:["touchstart","touchmove","touchend","touchcancel"],register:function(target){INSTALLER.enableOnSubtree(target)},unregister:function(){},elementAdded:function(el){var a=el.getAttribute(ATTRIB),st=this.touchActionToScrollType(a);st&&(el._scrollType=st,dispatcher.listen(el,this.events),allShadows(el).forEach((function(s){s._scrollType=st,dispatcher.listen(s,this.events)}),this))},elementRemoved:function(el){el._scrollType=void 0,dispatcher.unlisten(el,this.events),allShadows(el).forEach((function(s){s._scrollType=void 0,dispatcher.unlisten(s,this.events)}),this)},elementChanged:function(el,oldValue){var a=el.getAttribute(ATTRIB),st=this.touchActionToScrollType(a),oldSt=this.touchActionToScrollType(oldValue);st&&oldSt?(el._scrollType=st,allShadows(el).forEach((function(s){s._scrollType=st}),this)):oldSt?this.elementRemoved(el):st&&this.elementAdded(el)},scrollTypes:{EMITTER:"none",XSCROLLER:"pan-x",YSCROLLER:"pan-y",SCROLLER:/^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/},touchActionToScrollType:function(touchAction){var t=touchAction,st=this.scrollTypes;return"none"===t?"none":t===st.XSCROLLER?"X":t===st.YSCROLLER?"Y":st.SCROLLER.exec(t)?"XY":void 0},POINTER_TYPE:"touch",firstTouch:null,isPrimaryTouch:function(inTouch){return this.firstTouch===inTouch.identifier},setPrimaryTouch:function(inTouch){(0===pointermap$1.size||1===pointermap$1.size&&pointermap$1.has(1))&&(this.firstTouch=inTouch.identifier,this.firstXY={X:inTouch.clientX,Y:inTouch.clientY},this.scrolling=!1,this.cancelResetClickCount())},removePrimaryPointer:function(inPointer){inPointer.isPrimary&&(this.firstTouch=null,this.firstXY=null,this.resetClickCount())},clickCount:0,resetId:null,resetClickCount:function(){var fn=function(){this.clickCount=0,this.resetId=null}.bind(this);this.resetId=setTimeout(fn,CLICK_COUNT_TIMEOUT)},cancelResetClickCount:function(){this.resetId&&clearTimeout(this.resetId)},typeToButtons:function(type){var ret=0;return"touchstart"!==type&&"touchmove"!==type||(ret=1),ret},touchToPointer:function(inTouch){var cte=this.currentTouchEvent,e=dispatcher.cloneEvent(inTouch),id=e.pointerId=inTouch.identifier+2;e.target=captureInfo[id]||findTarget(e),e.bubbles=!0,e.cancelable=!0,e.detail=this.clickCount,e.button=0,e.buttons=this.typeToButtons(cte.type),e.width=2*(inTouch.radiusX||inTouch.webkitRadiusX||0),e.height=2*(inTouch.radiusY||inTouch.webkitRadiusY||0),e.pressure=inTouch.force||inTouch.webkitForce||.5,e.isPrimary=this.isPrimaryTouch(inTouch),e.pointerType=this.POINTER_TYPE,e.altKey=cte.altKey,e.ctrlKey=cte.ctrlKey,e.metaKey=cte.metaKey,e.shiftKey=cte.shiftKey;var self=this;return e.preventDefault=function(){self.scrolling=!1,self.firstXY=null,cte.preventDefault()},e},processTouches:function(inEvent,inFunction){var tl=inEvent.changedTouches;this.currentTouchEvent=inEvent;for(var t,i=0;i<tl.length;i++)t=tl[i],inFunction.call(this,this.touchToPointer(t))},shouldScroll:function(inEvent){if(this.firstXY){var ret,scrollAxis=inEvent.currentTarget._scrollType;if("none"===scrollAxis)ret=!1;else if("XY"===scrollAxis)ret=!0;else{var t=inEvent.changedTouches[0],a=scrollAxis,oa="Y"===scrollAxis?"X":"Y";ret=Math.abs(t["client"+a]-this.firstXY[a])>=Math.abs(t["client"+oa]-this.firstXY[oa])}return this.firstXY=null,ret}},findTouch:function(inTL,inId){for(var t,i=0,l=inTL.length;i<l&&(t=inTL[i]);i++)if(t.identifier===inId)return!0},vacuumTouches:function(inEvent){var tl=inEvent.touches;if(pointermap$1.size>=tl.length){var d=[];pointermap$1.forEach((function(value,key){if(1!==key&&!this.findTouch(tl,key-2)){var p=value.out;d.push(p)}}),this),d.forEach(this.cancelOut,this)}},touchstart:function(inEvent){this.vacuumTouches(inEvent),this.setPrimaryTouch(inEvent.changedTouches[0]),this.dedupSynthMouse(inEvent),this.scrolling||(this.clickCount++,this.processTouches(inEvent,this.overDown))},overDown:function(inPointer){pointermap$1.set(inPointer.pointerId,{target:inPointer.target,out:inPointer,outTarget:inPointer.target}),dispatcher.enterOver(inPointer),dispatcher.down(inPointer)},touchmove:function(inEvent){this.scrolling||(this.shouldScroll(inEvent)?(this.scrolling=!0,this.touchcancel(inEvent)):(inEvent.preventDefault(),this.processTouches(inEvent,this.moveOverOut)))},moveOverOut:function(inPointer){var event=inPointer,pointer=pointermap$1.get(event.pointerId);if(pointer){var outEvent=pointer.out,outTarget=pointer.outTarget;dispatcher.move(event),outEvent&&outTarget!==event.target&&(outEvent.relatedTarget=event.target,event.relatedTarget=outTarget,outEvent.target=outTarget,event.target?(dispatcher.leaveOut(outEvent),dispatcher.enterOver(event)):(event.target=outTarget,event.relatedTarget=null,this.cancelOut(event))),pointer.out=event,pointer.outTarget=event.target}},touchend:function(inEvent){this.dedupSynthMouse(inEvent),this.processTouches(inEvent,this.upOut)},upOut:function(inPointer){this.scrolling||(dispatcher.up(inPointer),dispatcher.leaveOut(inPointer)),this.cleanUpPointer(inPointer)},touchcancel:function(inEvent){this.processTouches(inEvent,this.cancelOut)},cancelOut:function(inPointer){dispatcher.cancel(inPointer),dispatcher.leaveOut(inPointer),this.cleanUpPointer(inPointer)},cleanUpPointer:function(inPointer){pointermap$1.delete(inPointer.pointerId),this.removePrimaryPointer(inPointer)},dedupSynthMouse:function(inEvent){var lts=mouseEvents.lastTouches,t=inEvent.changedTouches[0];if(this.isPrimaryTouch(t)){var lt={x:t.clientX,y:t.clientY};lts.push(lt);var fn=function(lts,lt){var i=lts.indexOf(lt);i>-1&&lts.splice(i,1)}.bind(null,lts,lt);setTimeout(fn,DEDUP_TIMEOUT)}}};INSTALLER=new Installer(touchEvents.elementAdded,touchEvents.elementRemoved,touchEvents.elementChanged,touchEvents);var s,r,h,pointermap$2=dispatcher.pointermap,HAS_BITMAP_TYPE=window.MSPointerEvent&&"number"==typeof window.MSPointerEvent.MSPOINTER_TYPE_MOUSE,msEvents={events:["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerOut","MSPointerOver","MSPointerCancel","MSGotPointerCapture","MSLostPointerCapture"],register:function(target){dispatcher.listen(target,this.events)},unregister:function(target){dispatcher.unlisten(target,this.events)},POINTER_TYPES:["","unavailable","touch","pen","mouse"],prepareEvent:function(inEvent){var e=inEvent;return HAS_BITMAP_TYPE&&((e=dispatcher.cloneEvent(inEvent)).pointerType=this.POINTER_TYPES[inEvent.pointerType]),e},cleanup:function(id){pointermap$2.delete(id)},MSPointerDown:function(inEvent){pointermap$2.set(inEvent.pointerId,inEvent);var e=this.prepareEvent(inEvent);dispatcher.down(e)},MSPointerMove:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.move(e)},MSPointerUp:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.up(e),this.cleanup(inEvent.pointerId)},MSPointerOut:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.leaveOut(e)},MSPointerOver:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.enterOver(e)},MSPointerCancel:function(inEvent){var e=this.prepareEvent(inEvent);dispatcher.cancel(e),this.cleanup(inEvent.pointerId)},MSLostPointerCapture:function(inEvent){var e=dispatcher.makeEvent("lostpointercapture",inEvent);dispatcher.dispatchEvent(e)},MSGotPointerCapture:function(inEvent){var e=dispatcher.makeEvent("gotpointercapture",inEvent);dispatcher.dispatchEvent(e)}};function applyPolyfill(){if(!window.PointerEvent){if(window.PointerEvent=PointerEvent,window.navigator.msPointerEnabled){var tp=window.navigator.msMaxTouchPoints;Object.defineProperty(window.navigator,"maxTouchPoints",{value:tp,enumerable:!0}),dispatcher.registerSource("ms",msEvents)}else Object.defineProperty(window.navigator,"maxTouchPoints",{value:0,enumerable:!0}),dispatcher.registerSource("mouse",mouseEvents),void 0!==window.ontouchstart&&dispatcher.registerSource("touch",touchEvents);dispatcher.register(document)}}function assertActive(id){if(!dispatcher.pointermap.has(id)){var error=new Error("InvalidPointerId");throw error.name="InvalidPointerId",error}}function assertConnected(elem){for(var parent=elem.parentNode;parent&&parent!==elem.ownerDocument;)parent=parent.parentNode;if(!parent){var error=new Error("InvalidStateError");throw error.name="InvalidStateError",error}}function inActiveButtonState(id){return 0!==dispatcher.pointermap.get(id).buttons}function applyPolyfill$1(){window.Element&&!Element.prototype.setPointerCapture&&Object.defineProperties(Element.prototype,{setPointerCapture:{value:s},releasePointerCapture:{value:r},hasPointerCapture:{value:h}})}return window.navigator.msPointerEnabled?(s=function(pointerId){assertActive(pointerId),assertConnected(this),inActiveButtonState(pointerId)&&(dispatcher.setCapture(pointerId,this,!0),this.msSetPointerCapture(pointerId))},r=function(pointerId){assertActive(pointerId),dispatcher.releaseCapture(pointerId,!0),this.msReleasePointerCapture(pointerId)}):(s=function setPointerCapture(pointerId){assertActive(pointerId),assertConnected(this),inActiveButtonState(pointerId)&&dispatcher.setCapture(pointerId,this)},r=function releasePointerCapture(pointerId){assertActive(pointerId),dispatcher.releaseCapture(pointerId)}),h=function hasPointerCapture(pointerId){return!!dispatcher.captureInfo[pointerId]},applyAttributeStyles(),applyPolyfill(),applyPolyfill$1(),{dispatcher:dispatcher,Installer:Installer,PointerEvent:PointerEvent,PointerMap:PointerMap,targetFinding:targeting}}()},y1pI:function(module,exports,__webpack_require__){var eq=__webpack_require__("ljhN");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},y3w9:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4");module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},yDR0:function(module,exports,__webpack_require__){"use strict";module.exports=function adler32(adler,buf,len,pos){for(var s1=65535&adler|0,s2=adler>>>16&65535|0,n=0;0!==len;){len-=n=len>2e3?2e3:len;do{s2=s2+(s1=s1+buf[pos++]|0)|0}while(--n);s1%=65521,s2%=65521}return s1|s2<<16|0}},yLpj:function(module,exports){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(e){"object"==typeof window&&(g=window)}module.exports=g},yOFI:function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__("kXF0"),adler32=__webpack_require__("/UGS"),crc32=__webpack_require__("MVVq"),inflate_fast=__webpack_require__("dea9"),inflate_table=__webpack_require__("p7Ro");function zswap32(q){return(q>>>24&255)+(q>>>8&65280)+((65280&q)<<8)+((255&q)<<24)}function InflateState(){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 utils.Buf16(320),this.work=new utils.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function inflateResetKeep(strm){var state;return strm&&strm.state?(state=strm.state,strm.total_in=strm.total_out=state.total=0,strm.msg="",state.wrap&&(strm.adler=1&state.wrap),state.mode=1,state.last=0,state.havedict=0,state.dmax=32768,state.head=null,state.hold=0,state.bits=0,state.lencode=state.lendyn=new utils.Buf32(852),state.distcode=state.distdyn=new utils.Buf32(592),state.sane=1,state.back=-1,0):-2}function inflateReset(strm){var state;return strm&&strm.state?((state=strm.state).wsize=0,state.whave=0,state.wnext=0,inflateResetKeep(strm)):-2}function inflateReset2(strm,windowBits){var wrap,state;return strm&&strm.state?(state=strm.state,windowBits<0?(wrap=0,windowBits=-windowBits):(wrap=1+(windowBits>>4),windowBits<48&&(windowBits&=15)),windowBits&&(windowBits<8||windowBits>15)?-2:(null!==state.window&&state.wbits!==windowBits&&(state.window=null),state.wrap=wrap,state.wbits=windowBits,inflateReset(strm))):-2}function inflateInit2(strm,windowBits){var ret,state;return strm?(state=new InflateState,strm.state=state,state.window=null,0!==(ret=inflateReset2(strm,windowBits))&&(strm.state=null),ret):-2}var lenfix,distfix,virgin=!0;function fixedtables(state){if(virgin){var sym;for(lenfix=new utils.Buf32(512),distfix=new utils.Buf32(32),sym=0;sym<144;)state.lens[sym++]=8;for(;sym<256;)state.lens[sym++]=9;for(;sym<280;)state.lens[sym++]=7;for(;sym<288;)state.lens[sym++]=8;for(inflate_table(1,state.lens,0,288,lenfix,0,state.work,{bits:9}),sym=0;sym<32;)state.lens[sym++]=5;inflate_table(2,state.lens,0,32,distfix,0,state.work,{bits:5}),virgin=!1}state.lencode=lenfix,state.lenbits=9,state.distcode=distfix,state.distbits=5}function updatewindow(strm,src,end,copy){var dist,state=strm.state;return null===state.window&&(state.wsize=1<<state.wbits,state.wnext=0,state.whave=0,state.window=new utils.Buf8(state.wsize)),copy>=state.wsize?(utils.arraySet(state.window,src,end-state.wsize,state.wsize,0),state.wnext=0,state.whave=state.wsize):((dist=state.wsize-state.wnext)>copy&&(dist=copy),utils.arraySet(state.window,src,end-copy,dist,state.wnext),(copy-=dist)?(utils.arraySet(state.window,src,end-copy,copy,0),state.wnext=copy,state.whave=state.wsize):(state.wnext+=dist,state.wnext===state.wsize&&(state.wnext=0),state.whave<state.wsize&&(state.whave+=dist))),0}exports.inflateReset=inflateReset,exports.inflateReset2=inflateReset2,exports.inflateResetKeep=inflateResetKeep,exports.inflateInit=function inflateInit(strm){return inflateInit2(strm,15)},exports.inflateInit2=inflateInit2,exports.inflate=function inflate(strm,flush){var state,input,output,next,put,have,left,hold,bits,_in,_out,copy,from,from_source,here_bits,here_op,here_val,last_bits,last_op,last_val,len,ret,opts,n,here=0,hbuf=new utils.Buf8(4),order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!strm||!strm.state||!strm.output||!strm.input&&0!==strm.avail_in)return-2;12===(state=strm.state).mode&&(state.mode=13),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,_in=have,_out=left,ret=0;inf_leave:for(;;)switch(state.mode){case 1:if(0===state.wrap){state.mode=13;break}for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(2&state.wrap&&35615===hold){state.check=0,hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0),hold=0,bits=0,state.mode=2;break}if(state.flags=0,state.head&&(state.head.done=!1),!(1&state.wrap)||(((255&hold)<<8)+(hold>>8))%31){strm.msg="incorrect header check",state.mode=30;break}if(8!=(15&hold)){strm.msg="unknown compression method",state.mode=30;break}if(bits-=4,len=8+(15&(hold>>>=4)),0===state.wbits)state.wbits=len;else if(len>state.wbits){strm.msg="invalid window size",state.mode=30;break}state.dmax=1<<len,strm.adler=state.check=1,state.mode=512&hold?10:12,hold=0,bits=0;break;case 2:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.flags=hold,8!=(255&state.flags)){strm.msg="unknown compression method",state.mode=30;break}if(57344&state.flags){strm.msg="unknown header flags set",state.mode=30;break}state.head&&(state.head.text=hold>>8&1),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=3;case 3:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.time=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,hbuf[2]=hold>>>16&255,hbuf[3]=hold>>>24&255,state.check=crc32(state.check,hbuf,4,0)),hold=0,bits=0,state.mode=4;case 4:for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.head&&(state.head.xflags=255&hold,state.head.os=hold>>8),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0,state.mode=5;case 5:if(1024&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length=hold,state.head&&(state.head.extra_len=hold),512&state.flags&&(hbuf[0]=255&hold,hbuf[1]=hold>>>8&255,state.check=crc32(state.check,hbuf,2,0)),hold=0,bits=0}else state.head&&(state.head.extra=null);state.mode=6;case 6:if(1024&state.flags&&((copy=state.length)>have&&(copy=have),copy&&(state.head&&(len=state.head.extra_len-state.length,state.head.extra||(state.head.extra=new Array(state.head.extra_len)),utils.arraySet(state.head.extra,input,next,copy,len)),512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,state.length-=copy),state.length))break inf_leave;state.length=0,state.mode=7;case 7:if(2048&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.name+=String.fromCharCode(len))}while(len&&copy<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.name=null);state.length=0,state.mode=8;case 8:if(4096&state.flags){if(0===have)break inf_leave;copy=0;do{len=input[next+copy++],state.head&&len&&state.length<65536&&(state.head.comment+=String.fromCharCode(len))}while(len&&copy<have);if(512&state.flags&&(state.check=crc32(state.check,input,copy,next)),have-=copy,next+=copy,len)break inf_leave}else state.head&&(state.head.comment=null);state.mode=9;case 9:if(512&state.flags){for(;bits<16;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(65535&state.check)){strm.msg="header crc mismatch",state.mode=30;break}hold=0,bits=0}state.head&&(state.head.hcrc=state.flags>>9&1,state.head.done=!0),strm.adler=state.check=0,state.mode=12;break;case 10:for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}strm.adler=state.check=zswap32(hold),hold=0,bits=0,state.mode=11;case 11:if(0===state.havedict)return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,2;strm.adler=state.check=1,state.mode=12;case 12:if(5===flush||6===flush)break inf_leave;case 13:if(state.last){hold>>>=7&bits,bits-=7&bits,state.mode=27;break}for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}switch(state.last=1&hold,bits-=1,3&(hold>>>=1)){case 0:state.mode=14;break;case 1:if(fixedtables(state),state.mode=20,6===flush){hold>>>=2,bits-=2;break inf_leave}break;case 2:state.mode=17;break;case 3:strm.msg="invalid block type",state.mode=30}hold>>>=2,bits-=2;break;case 14:for(hold>>>=7&bits,bits-=7&bits;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if((65535&hold)!=(hold>>>16^65535)){strm.msg="invalid stored block lengths",state.mode=30;break}if(state.length=65535&hold,hold=0,bits=0,state.mode=15,6===flush)break inf_leave;case 15:state.mode=16;case 16:if(copy=state.length){if(copy>have&&(copy=have),copy>left&&(copy=left),0===copy)break inf_leave;utils.arraySet(output,input,next,copy,put),have-=copy,next+=copy,left-=copy,put+=copy,state.length-=copy;break}state.mode=12;break;case 17:for(;bits<14;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(state.nlen=257+(31&hold),hold>>>=5,bits-=5,state.ndist=1+(31&hold),hold>>>=5,bits-=5,state.ncode=4+(15&hold),hold>>>=4,bits-=4,state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols",state.mode=30;break}state.have=0,state.mode=18;case 18:for(;state.have<state.ncode;){for(;bits<3;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.lens[order[state.have++]]=7&hold,hold>>>=3,bits-=3}for(;state.have<19;)state.lens[order[state.have++]]=0;if(state.lencode=state.lendyn,state.lenbits=7,opts={bits:state.lenbits},ret=inflate_table(0,state.lens,0,19,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid code lengths set",state.mode=30;break}state.have=0,state.mode=19;case 19:for(;state.have<state.nlen+state.ndist;){for(;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_val<16)hold>>>=here_bits,bits-=here_bits,state.lens[state.have++]=here_val;else{if(16===here_val){for(n=here_bits+2;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold>>>=here_bits,bits-=here_bits,0===state.have){strm.msg="invalid bit length repeat",state.mode=30;break}len=state.lens[state.have-1],copy=3+(3&hold),hold>>>=2,bits-=2}else if(17===here_val){for(n=here_bits+3;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=3+(7&(hold>>>=here_bits)),hold>>>=3,bits-=3}else{for(n=here_bits+7;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}bits-=here_bits,len=0,copy=11+(127&(hold>>>=here_bits)),hold>>>=7,bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat",state.mode=30;break}for(;copy--;)state.lens[state.have++]=len}}if(30===state.mode)break;if(0===state.lens[256]){strm.msg="invalid code -- missing end-of-block",state.mode=30;break}if(state.lenbits=9,opts={bits:state.lenbits},ret=inflate_table(1,state.lens,0,state.nlen,state.lencode,0,state.work,opts),state.lenbits=opts.bits,ret){strm.msg="invalid literal/lengths set",state.mode=30;break}if(state.distbits=6,state.distcode=state.distdyn,opts={bits:state.distbits},ret=inflate_table(2,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts),state.distbits=opts.bits,ret){strm.msg="invalid distances set",state.mode=30;break}if(state.mode=20,6===flush)break inf_leave;case 20:state.mode=21;case 21:if(have>=6&&left>=258){strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,inflate_fast(strm,_out),put=strm.next_out,output=strm.output,left=strm.avail_out,next=strm.next_in,input=strm.input,have=strm.avail_in,hold=state.hold,bits=state.bits,12===state.mode&&(state.back=-1);break}for(state.back=0;here_op=(here=state.lencode[hold&(1<<state.lenbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(here_op&&0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.lencode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,state.length=here_val,0===here_op){state.mode=26;break}if(32&here_op){state.back=-1,state.mode=12;break}if(64&here_op){strm.msg="invalid literal/length code",state.mode=30;break}state.extra=15&here_op,state.mode=22;case 22:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.length+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}state.was=state.length,state.mode=23;case 23:for(;here_op=(here=state.distcode[hold&(1<<state.distbits)-1])>>>16&255,here_val=65535&here,!((here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(0==(240&here_op)){for(last_bits=here_bits,last_op=here_op,last_val=here_val;here_op=(here=state.distcode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)])>>>16&255,here_val=65535&here,!(last_bits+(here_bits=here>>>24)<=bits);){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}hold>>>=last_bits,bits-=last_bits,state.back+=last_bits}if(hold>>>=here_bits,bits-=here_bits,state.back+=here_bits,64&here_op){strm.msg="invalid distance code",state.mode=30;break}state.offset=here_val,state.extra=15&here_op,state.mode=24;case 24:if(state.extra){for(n=state.extra;bits<n;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}state.offset+=hold&(1<<state.extra)-1,hold>>>=state.extra,bits-=state.extra,state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back",state.mode=30;break}state.mode=25;case 25:if(0===left)break inf_leave;if(copy=_out-left,state.offset>copy){if((copy=state.offset-copy)>state.whave&&state.sane){strm.msg="invalid distance too far back",state.mode=30;break}copy>state.wnext?(copy-=state.wnext,from=state.wsize-copy):from=state.wnext-copy,copy>state.length&&(copy=state.length),from_source=state.window}else from_source=output,from=put-state.offset,copy=state.length;copy>left&&(copy=left),left-=copy,state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);0===state.length&&(state.mode=21);break;case 26:if(0===left)break inf_leave;output[put++]=state.length,left--,state.mode=21;break;case 27:if(state.wrap){for(;bits<32;){if(0===have)break inf_leave;have--,hold|=input[next++]<<bits,bits+=8}if(_out-=left,strm.total_out+=_out,state.total+=_out,_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,put-_out):adler32(state.check,output,_out,put-_out)),_out=left,(state.flags?hold:zswap32(hold))!==state.check){strm.msg="incorrect data check",state.mode=30;break}hold=0,bits=0}state.mode=28;case 28:if(state.wrap&&state.flags){for(;bits<32;){if(0===have)break inf_leave;have--,hold+=input[next++]<<bits,bits+=8}if(hold!==(4294967295&state.total)){strm.msg="incorrect length check",state.mode=30;break}hold=0,bits=0}state.mode=29;case 29:ret=1;break inf_leave;case 30:ret=-3;break inf_leave;case 31:return-4;case 32:default:return-2}return strm.next_out=put,strm.avail_out=left,strm.next_in=next,strm.avail_in=have,state.hold=hold,state.bits=bits,(state.wsize||_out!==strm.avail_out&&state.mode<30&&(state.mode<27||4!==flush))&&updatewindow(strm,strm.output,strm.next_out,_out-strm.avail_out)?(state.mode=31,-4):(_in-=strm.avail_in,_out-=strm.avail_out,strm.total_in+=_in,strm.total_out+=_out,state.total+=_out,state.wrap&&_out&&(strm.adler=state.check=state.flags?crc32(state.check,output,_out,strm.next_out-_out):adler32(state.check,output,_out,strm.next_out-_out)),strm.data_type=state.bits+(state.last?64:0)+(12===state.mode?128:0)+(20===state.mode||15===state.mode?256:0),(0===_in&&0===_out||4===flush)&&0===ret&&(ret=-5),ret)},exports.inflateEnd=function inflateEnd(strm){if(!strm||!strm.state)return-2;var state=strm.state;return state.window&&(state.window=null),strm.state=null,0},exports.inflateGetHeader=function inflateGetHeader(strm,head){var state;return strm&&strm.state?0==(2&(state=strm.state).wrap)?-2:(state.head=head,head.done=!1,0):-2},exports.inflateSetDictionary=function inflateSetDictionary(strm,dictionary){var state,dictLength=dictionary.length;return strm&&strm.state?0!==(state=strm.state).wrap&&11!==state.mode?-2:11===state.mode&&adler32(1,dictionary,dictLength,0)!==state.check?-3:updatewindow(strm,dictionary,dictLength,dictLength)?(state.mode=31,-4):(state.havedict=1,0):-2},exports.inflateInfo="pako inflate (from Nodeca project)"},ylqs:function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},yt8O:function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__("nGyu"),step=__webpack_require__("1TsA"),Iterators=__webpack_require__("hPIQ"),toIObject=__webpack_require__("aCFj");module.exports=__webpack_require__("Afnz")(Array,"Array",(function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind}),(function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},"z//S":function(module,exports,__webpack_require__){"use strict";(function(Buffer){module.exports=function(data,encoding){return new Buffer(data,encoding)},module.exports.test=function(b){return Buffer.isBuffer(b)}}).call(this,__webpack_require__("tjlA").Buffer)},z2o2:function(module,exports,__webpack_require__){var isObject=__webpack_require__("0/R4"),meta=__webpack_require__("Z6vF").onFreeze;__webpack_require__("Xtr8")("seal",(function($seal){return function seal(it){return $seal&&isObject(it)?$seal(meta(it)):it}}))},zIlf:function(module,exports,__webpack_require__){var $export=__webpack_require__("XKFU");$export($export.S+$export.F,"Object",{classof:__webpack_require__("I8a+")})},zRwo:function(module,exports,__webpack_require__){var speciesConstructor=__webpack_require__("6FMO");module.exports=function(original,length){return new(speciesConstructor(original))(length)}},zcdl:function(module,exports,__webpack_require__){!function(scope){"use strict";var browserData,fontDetective,ClientJS=function(){var parser=new(window.UAParser||exports.UAParser);return browserData=parser.getResult(),fontDetective=new Detector,this};ClientJS.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return browserData},getFingerprint:function(){var userAgent=browserData.ua,screenPrint=this.getScreenPrint(),pluginList=this.getPlugins(),fontList=this.getFonts(),localStorage=this.isLocalStorage(),sessionStorage=this.isSessionStorage(),timeZone=this.getTimeZone(),language=this.getLanguage(),systemLanguage=this.getSystemLanguage(),cookies=this.isCookie(),canvasPrint=this.getCanvasPrint();return murmurhash3_32_gc(userAgent+"|"+screenPrint+"|"+pluginList+"|"+fontList+"|"+localStorage+"|"+sessionStorage+"|"+timeZone+"|"+language+"|"+systemLanguage+"|"+cookies+"|"+canvasPrint,256)},getCustomFingerprint:function(){for(var bar="|",key="",i=0;i<arguments.length;i++)key+=arguments[i]+bar;return murmurhash3_32_gc(key,256)},getUserAgent:function(){return browserData.ua},getUserAgentLowerCase:function(){return browserData.ua.toLowerCase()},getBrowser:function(){return browserData.browser.name},getBrowserVersion:function(){return browserData.browser.version},getBrowserMajorVersion:function(){return browserData.browser.major},isIE:function(){return/IE/i.test(browserData.browser.name)},isChrome:function(){return/Chrome/i.test(browserData.browser.name)},isFirefox:function(){return/Firefox/i.test(browserData.browser.name)},isSafari:function(){return/Safari/i.test(browserData.browser.name)},isMobileSafari:function(){return/Mobile\sSafari/i.test(browserData.browser.name)},isOpera:function(){return/Opera/i.test(browserData.browser.name)},getEngine:function(){return browserData.engine.name},getEngineVersion:function(){return browserData.engine.version},getOS:function(){return browserData.os.name},getOSVersion:function(){return browserData.os.version},isWindows:function(){return/Windows/i.test(browserData.os.name)},isMac:function(){return/Mac/i.test(browserData.os.name)},isLinux:function(){return/Linux/i.test(browserData.os.name)},isUbuntu:function(){return/Ubuntu/i.test(browserData.os.name)},isSolaris:function(){return/Solaris/i.test(browserData.os.name)},getDevice:function(){return browserData.device.model},getDeviceType:function(){return browserData.device.type},getDeviceVendor:function(){return browserData.device.vendor},getCPU:function(){return browserData.cpu.architecture},isMobile:function(){var dataString=browserData.ua||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(dataString)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(dataString.substr(0,4))},isMobileMajor:function(){return this.isMobileAndroid()||this.isMobileBlackBerry()||this.isMobileIOS()||this.isMobileOpera()||this.isMobileWindows()},isMobileAndroid:function(){return!!browserData.ua.match(/Android/i)},isMobileOpera:function(){return!!browserData.ua.match(/Opera Mini/i)},isMobileWindows:function(){return!!browserData.ua.match(/IEMobile/i)},isMobileBlackBerry:function(){return!!browserData.ua.match(/BlackBerry/i)},isMobileIOS:function(){return!!browserData.ua.match(/iPhone|iPad|iPod/i)},isIphone:function(){return!!browserData.ua.match(/iPhone/i)},isIpad:function(){return!!browserData.ua.match(/iPad/i)},isIpod:function(){return!!browserData.ua.match(/iPod/i)},getScreenPrint:function(){return"Current Resolution: "+this.getCurrentResolution()+", Available Resolution: "+this.getAvailableResolution()+", Color Depth: "+this.getColorDepth()+", Device XDPI: "+this.getDeviceXDPI()+", Device YDPI: "+this.getDeviceYDPI()},getColorDepth:function(){return screen.colorDepth},getCurrentResolution:function(){return screen.width+"x"+screen.height},getAvailableResolution:function(){return screen.availWidth+"x"+screen.availHeight},getDeviceXDPI:function(){return screen.deviceXDPI},getDeviceYDPI:function(){return screen.deviceYDPI},getPlugins:function(){for(var pluginsList="",i=0;i<navigator.plugins.length;i++)i==navigator.plugins.length-1?pluginsList+=navigator.plugins[i].name:pluginsList+=navigator.plugins[i].name+", ";return pluginsList},isJava:function(){return navigator.javaEnabled()},getJavaVersion:function(){return deployJava.getJREs().toString()},isFlash:function(){return!!navigator.plugins["Shockwave Flash"]},getFlashVersion:function(){return this.isFlash()?(objPlayerVersion=swfobject.getFlashPlayerVersion(),objPlayerVersion.major+"."+objPlayerVersion.minor+"."+objPlayerVersion.release):""},isSilverlight:function(){return!!navigator.plugins["Silverlight Plug-In"]},getSilverlightVersion:function(){return this.isSilverlight()?navigator.plugins["Silverlight Plug-In"].description:""},isMimeTypes:function(){return!!navigator.mimeTypes.length},getMimeTypes:function(){for(var mimeTypeList="",i=0;i<navigator.mimeTypes.length;i++)i==navigator.mimeTypes.length-1?mimeTypeList+=navigator.mimeTypes[i].description:mimeTypeList+=navigator.mimeTypes[i].description+", ";return mimeTypeList},isFont:function(font){return fontDetective.detect(font)},getFonts:function(){for(var fontArray=["Abadi MT Condensed Light","Adobe Fangsong Std","Adobe Hebrew","Adobe Ming Std","Agency FB","Aharoni","Andalus","Angsana New","AngsanaUPC","Aparajita","Arab","Arabic Transparent","Arabic Typesetting","Arial Baltic","Arial Black","Arial CE","Arial CYR","Arial Greek","Arial TUR","Arial","Batang","BatangChe","Bauhaus 93","Bell MT","Bitstream Vera Serif","Bodoni MT","Bookman Old Style","Braggadocio","Broadway","Browallia New","BrowalliaUPC","Calibri Light","Calibri","Californian FB","Cambria Math","Cambria","Candara","Castellar","Casual","Centaur","Century Gothic","Chalkduster","Colonna MT","Comic Sans MS","Consolas","Constantia","Copperplate Gothic Light","Corbel","Cordia New","CordiaUPC","Courier New Baltic","Courier New CE","Courier New CYR","Courier New Greek","Courier New TUR","Courier New","DFKai-SB","DaunPenh","David","DejaVu LGC Sans Mono","Desdemona","DilleniaUPC","DokChampa","Dotum","DotumChe","Ebrima","Engravers MT","Eras Bold ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Eurostile","FangSong","Forte","FrankRuehl","Franklin Gothic Heavy","Franklin Gothic Medium","FreesiaUPC","French Script MT","Gabriola","Gautami","Georgia","Gigi","Gisha","Goudy Old Style","Gulim","GulimChe","GungSeo","Gungsuh","GungsuhChe","Haettenschweiler","Harrington","Hei S","HeiT","Heisei Kaku Gothic","Hiragino Sans GB","Impact","Informal Roman","IrisUPC","Iskoola Pota","JasmineUPC","KacstOne","KaiTi","Kalinga","Kartika","Khmer UI","Kino MT","KodchiangUPC","Kokila","Kozuka Gothic Pr6N","Lao UI","Latha","Leelawadee","Levenim MT","LilyUPC","Lohit Gujarati","Loma","Lucida Bright","Lucida Console","Lucida Fax","Lucida Sans Unicode","MS Gothic","MS Mincho","MS PGothic","MS PMincho","MS Reference Sans Serif","MS UI Gothic","MV Boli","Magneto","Malgun Gothic","Mangal","Marlett","Matura MT Script Capitals","Meiryo UI","Meiryo","Menlo","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU-ExtB","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","Miriam Fixed","Miriam","Mongolian Baiti","MoolBoran","NSimSun","Narkisim","News Gothic MT","Niagara Solid","Nyala","PMingLiU","PMingLiU-ExtB","Palace Script MT","Palatino Linotype","Papyrus","Perpetua","Plantagenet Cherokee","Playbill","Prelude Bold","Prelude Condensed Bold","Prelude Condensed Medium","Prelude Medium","PreludeCompressedWGL Black","PreludeCompressedWGL Bold","PreludeCompressedWGL Light","PreludeCompressedWGL Medium","PreludeCondensedWGL Black","PreludeCondensedWGL Bold","PreludeCondensedWGL Light","PreludeCondensedWGL Medium","PreludeWGL Black","PreludeWGL Bold","PreludeWGL Light","PreludeWGL Medium","Raavi","Rachana","Rockwell","Rod","Sakkal Majalla","Sawasdee","Script MT Bold","Segoe Print","Segoe Script","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Segoe UI","Shonar Bangla","Showcard Gothic","Shruti","SimHei","SimSun","SimSun-ExtB","Simplified Arabic Fixed","Simplified Arabic","Snap ITC","Sylfaen","Symbol","Tahoma","Times New Roman Baltic","Times New Roman CE","Times New Roman CYR","Times New Roman Greek","Times New Roman TUR","Times New Roman","TlwgMono","Traditional Arabic","Trebuchet MS","Tunga","Tw Cen MT Condensed Extra Bold","Ubuntu","Umpush","Univers","Utopia","Utsaah","Vani","Verdana","Vijaya","Vladimir Script","Vrinda","Webdings","Wide Latin","Wingdings"],fontString="",i=0;i<fontArray.length;i++)fontDetective.detect(fontArray[i])&&(fontString+=i==fontArray.length-1?fontArray[i]:fontArray[i]+", ");return fontString},isLocalStorage:function(){try{return!!scope.localStorage}catch(e){return!0}},isSessionStorage:function(){try{return!!scope.sessionStorage}catch(e){return!0}},isCookie:function(){return navigator.cookieEnabled},getTimeZone:function(){var rightNow=new Date;return String(String(rightNow).split("(")[1]).split(")")[0]},getLanguage:function(){return navigator.language},getSystemLanguage:function(){return navigator.systemLanguage},isCanvas:function(){var elem=document.createElement("canvas");try{return!(!elem.getContext||!elem.getContext("2d"))}catch(e){return!1}},getCanvasPrint:function(){var ctx,canvas=document.createElement("canvas");try{ctx=canvas.getContext("2d")}catch(e){return""}var txt="ClientJS,org <canvas> 1.0";return ctx.textBaseline="top",ctx.font="14px 'Arial'",ctx.textBaseline="alphabetic",ctx.fillStyle="#f60",ctx.fillRect(125,1,62,20),ctx.fillStyle="#069",ctx.fillText(txt,2,15),ctx.fillStyle="rgba(102, 204, 0, 0.7)",ctx.fillText(txt,4,17),canvas.toDataURL()}},module.exports=ClientJS,scope.ClientJS=ClientJS}(window)},zhAb:function(module,exports,__webpack_require__){var has=__webpack_require__("aagx"),toIObject=__webpack_require__("aCFj"),arrayIndexOf=__webpack_require__("w2a5")(!1),IE_PROTO=__webpack_require__("YTvA")("IE_PROTO");module.exports=function(object,names){var key,O=toIObject(object),i=0,result=[];for(key in O)key!=IE_PROTO&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},zoYe:function(module,exports,__webpack_require__){var Symbol=__webpack_require__("nmnc"),arrayMap=__webpack_require__("eUgh"),isArray=__webpack_require__("Z0cm"),isSymbol=__webpack_require__("/9aa"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}}}]);
//# sourceMappingURL=vendors.bundle.js.ef94142e519232300c4497e839e54151.map

https://t.me/RX1948 - 2025