3d-flip-book
Version:
3D FlipBook allows to browse images, PDFs or HTMLs as a flipping book. It helps to attract user attention and make more impression on him.
1 lines • 649 kB
JavaScript
(function(e,t){"use strict";if(typeof define==="function"&&define.amd){define("pdfjs-dist/build/pdf.worker",["exports"],t)}else if(typeof exports!=="undefined"){t(exports)}else{t(e["pdfjsDistBuildPdfWorker"]={})}})(this,function(e){"use strict";var t="1.7.225";var r="17d135f";var a=typeof document!=="undefined"&&document.currentScript?document.currentScript.src:null;var i={};(function e(){(function(e,t){t(e.pdfjsCoreArithmeticDecoder={})})(this,function(e){var t=function e(){var t=[{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 r(e,t,r){this.data=e;this.bp=t;this.dataEnd=r;this.chigh=e[t];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}r.prototype={byteIn:function e(){var t=this.data;var r=this.bp;if(t[r]===255){var a=t[r+1];if(a>143){this.clow+=65280;this.ct=8}else{r++;this.clow+=t[r]<<9;this.ct=7;this.bp=r}}else{r++;this.clow+=r<this.dataEnd?t[r]<<8:65280;this.ct=8;this.bp=r}if(this.clow>65535){this.chigh+=this.clow>>16;this.clow&=65535}},readBit:function e(r,a){var i=r[a]>>1,n=r[a]&1;var s=t[i];var o=s.qe;var l;var c=this.a-o;if(this.chigh<o){if(c<o){c=o;l=n;i=s.nmps}else{c=o;l=1^n;if(s.switchFlag===1){n=l}i=s.nlps}}else{this.chigh-=o;if((c&32768)!==0){this.a=c;return n}if(c<o){l=1^n;if(s.switchFlag===1){n=l}i=s.nlps}else{l=n;i=s.nmps}}do{if(this.ct===0){this.byteIn()}c<<=1;this.chigh=this.chigh<<1&65535|this.clow>>15&1;this.clow=this.clow<<1&65535;this.ct--}while((c&32768)===0);this.a=c;r[a]=i<<1|n;return l}};return r}();e.ArithmeticDecoder=t});(function(e,t){t(e.pdfjsCoreCharsets={})})(this,function(e){var t=[".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"];var r=[".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"];var a=[".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"];e.ISOAdobeCharset=t;e.ExpertCharset=r;e.ExpertSubsetCharset=a});(function(e,t){t(e.pdfjsCoreEncodings={})})(this,function(e){var t=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var r=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];var o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];function l(e){switch(e){case"WinAnsiEncoding":return n;case"StandardEncoding":return i;case"MacRomanEncoding":return a;case"SymbolSetEncoding":return s;case"ZapfDingbatsEncoding":return o;case"ExpertEncoding":return t;case"MacExpertEncoding":return r;default:return null}}e.WinAnsiEncoding=n;e.StandardEncoding=i;e.MacRomanEncoding=a;e.SymbolSetEncoding=s;e.ZapfDingbatsEncoding=o;e.ExpertEncoding=t;e.getEncoding=l});(function(e,t){t(e.pdfjsSharedUtil={})})(this,function(e){var t=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:this;var r=[.001,0,0,.001,0,0];var a={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};var i={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};var n={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};var s={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};var o={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};var l={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};var c={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9};var h={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};var u={errors:0,warnings:1,infos:5};var f={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};var d=u.warnings;function g(e){d=e}function v(){return d}function p(e){if(d>=u.infos){console.log("Info: "+e)}}function m(e){if(d>=u.warnings){console.log("Warning: "+e)}}function b(e){console.log("Deprecated API usage: "+e)}function y(e){if(d>=u.errors){console.log("Error: "+e);console.log(k())}throw new Error(e)}function k(){try{throw new Error}catch(e){return e.stack?e.stack.split("\n").slice(2).join("\n"):""}}function w(e,t){if(!e){y(t)}}var C={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"};function x(e,t){try{var r=new URL(e);if(!r.origin||r.origin==="null"){return false}}catch(e){return false}var a=new URL(t,r);return r.origin===a.origin}function S(e){if(!e){return false}switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return true;default:return false}}function A(e,t){if(!e){return null}try{var r=t?new URL(e,t):new URL(e);if(S(r)){return r}}catch(e){}return null}function I(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:false});return r}function B(e){var t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}var R={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var T=function e(){function t(e,t){this.name="PasswordException";this.message=e;this.code=t}t.prototype=new Error;t.constructor=t;return t}();var O=function e(){function t(e,t){this.name="UnknownErrorException";this.message=e;this.details=t}t.prototype=new Error;t.constructor=t;return t}();var P=function e(){function t(e){this.name="InvalidPDFException";this.message=e}t.prototype=new Error;t.constructor=t;return t}();var E=function e(){function t(e){this.name="MissingPDFException";this.message=e}t.prototype=new Error;t.constructor=t;return t}();var M=function e(){function t(e,t){this.name="UnexpectedResponseException";this.message=e;this.status=t}t.prototype=new Error;t.constructor=t;return t}();var L=function e(){function t(e){this.message=e}t.prototype=new Error;t.prototype.name="NotImplementedException";t.constructor=t;return t}();var D=function e(){function t(e,t){this.begin=e;this.end=t;this.message="Missing data ["+e+", "+t+")"}t.prototype=new Error;t.prototype.name="MissingDataException";t.constructor=t;return t}();var F=function e(){function t(e){this.message=e}t.prototype=new Error;t.prototype.name="XRefParseException";t.constructor=t;return t}();var U=/\x00/g;function j(e){if(typeof e!=="string"){m("The argument for removeNullCharacters must be a string.");return e}return e.replace(U,"")}function q(e){w(e!==null&&typeof e==="object"&&e.length!==undefined,"Invalid argument for bytesToString");var t=e.length;var r=8192;if(t<r){return String.fromCharCode.apply(null,e)}var a=[];for(var i=0;i<t;i+=r){var n=Math.min(i+r,t);var s=e.subarray(i,n);a.push(String.fromCharCode.apply(null,s))}return a.join("")}function N(e){w(typeof e==="string","Invalid argument for stringToBytes");var t=e.length;var r=new Uint8Array(t);for(var a=0;a<t;++a){r[a]=e.charCodeAt(a)&255}return r}function _(e){if(e.length!==undefined){return e.length}w(e.byteLength!==undefined);return e.byteLength}function z(e){if(e.length===1&&e[0]instanceof Uint8Array){return e[0]}var t=0;var r,a=e.length;var i,n;for(r=0;r<a;r++){i=e[r];n=_(i);t+=n}var s=0;var o=new Uint8Array(t);for(r=0;r<a;r++){i=e[r];if(!(i instanceof Uint8Array)){if(typeof i==="string"){i=N(i)}else{i=new Uint8Array(i)}}n=i.byteLength;o.set(i,s);s+=n}return o}function H(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255)}function G(e){var t=1,r=0;while(e>t){t<<=1;r++}return r}function X(e,t){return e[t]<<24>>24}function W(e,t){return e[t]<<8|e[t+1]}function V(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function K(){var e=new Uint8Array(2);e[0]=1;var t=new Uint16Array(e.buffer);return t[0]===1}function Y(){try{new Function("");return true}catch(e){return false}}var J=function e(){function t(e,t){this.buffer=e;this.byteLength=e.length;this.length=t===undefined?this.byteLength>>2:t;i(this.length)}t.prototype=Object.create(null);var r=0;function a(e){return{get:function(){var t=this.buffer,r=e<<2;return(t[r]|t[r+1]<<8|t[r+2]<<16|t[r+3]<<24)>>>0},set:function(t){var r=this.buffer,a=e<<2;r[a]=t&255;r[a+1]=t>>8&255;r[a+2]=t>>16&255;r[a+3]=t>>>24&255}}}function i(e){while(r<e){Object.defineProperty(t.prototype,r,a(r));r++}}return t}();e.Uint32ArrayView=J;var Z=[1,0,0,1,0,0];var Q=function e(){function t(){}var r=["rgb(",0,",",0,",",0,")"];t.makeCssRgb=function e(t,a,i){r[1]=t;r[3]=a;r[5]=i;return r.join("")};t.transform=function e(t,r){return[t[0]*r[0]+t[2]*r[1],t[1]*r[0]+t[3]*r[1],t[0]*r[2]+t[2]*r[3],t[1]*r[2]+t[3]*r[3],t[0]*r[4]+t[2]*r[5]+t[4],t[1]*r[4]+t[3]*r[5]+t[5]]};t.applyTransform=function e(t,r){var a=t[0]*r[0]+t[1]*r[2]+r[4];var i=t[0]*r[1]+t[1]*r[3]+r[5];return[a,i]};t.applyInverseTransform=function e(t,r){var a=r[0]*r[3]-r[1]*r[2];var i=(t[0]*r[3]-t[1]*r[2]+r[2]*r[5]-r[4]*r[3])/a;var n=(-t[0]*r[1]+t[1]*r[0]+r[4]*r[1]-r[5]*r[0])/a;return[i,n]};t.getAxialAlignedBoundingBox=function e(r,a){var i=t.applyTransform(r,a);var n=t.applyTransform(r.slice(2,4),a);var s=t.applyTransform([r[0],r[3]],a);var o=t.applyTransform([r[2],r[1]],a);return[Math.min(i[0],n[0],s[0],o[0]),Math.min(i[1],n[1],s[1],o[1]),Math.max(i[0],n[0],s[0],o[0]),Math.max(i[1],n[1],s[1],o[1])]};t.inverseTransform=function e(t){var r=t[0]*t[3]-t[1]*t[2];return[t[3]/r,-t[1]/r,-t[2]/r,t[0]/r,(t[2]*t[5]-t[4]*t[3])/r,(t[4]*t[1]-t[5]*t[0])/r]};t.apply3dTransform=function e(t,r){return[t[0]*r[0]+t[1]*r[1]+t[2]*r[2],t[3]*r[0]+t[4]*r[1]+t[5]*r[2],t[6]*r[0]+t[7]*r[1]+t[8]*r[2]]};t.singularValueDecompose2dScale=function e(t){var r=[t[0],t[2],t[1],t[3]];var a=t[0]*r[0]+t[1]*r[2];var i=t[0]*r[1]+t[1]*r[3];var n=t[2]*r[0]+t[3]*r[2];var s=t[2]*r[1]+t[3]*r[3];var o=(a+s)/2;var l=Math.sqrt((a+s)*(a+s)-4*(a*s-n*i))/2;var c=o+l||1;var h=o-l||1;return[Math.sqrt(c),Math.sqrt(h)]};t.normalizeRect=function e(t){var r=t.slice(0);if(t[0]>t[2]){r[0]=t[2];r[2]=t[0]}if(t[1]>t[3]){r[1]=t[3];r[3]=t[1]}return r};t.intersect=function e(r,a){function i(e,t){return e-t}var n=[r[0],r[2],a[0],a[2]].sort(i),s=[r[1],r[3],a[1],a[3]].sort(i),o=[];r=t.normalizeRect(r);a=t.normalizeRect(a);if(n[0]===r[0]&&n[1]===a[0]||n[0]===a[0]&&n[1]===r[0]){o[0]=n[1];o[2]=n[2]}else{return false}if(s[0]===r[1]&&s[1]===a[1]||s[0]===a[1]&&s[1]===r[1]){o[1]=s[1];o[3]=s[2]}else{return false}return o};t.sign=function e(t){return t<0?-1:1};var a=["","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"];t.toRoman=function e(t,r){w(se(t)&&t>0,"The number should be a positive integer.");var i,n=[];while(t>=1e3){t-=1e3;n.push("M")}i=t/100|0;t%=100;n.push(a[i]);i=t/10|0;t%=10;n.push(a[10+i]);n.push(a[20+t]);var s=n.join("");return r?s.toLowerCase():s};t.appendToArray=function e(t,r){Array.prototype.push.apply(t,r)};t.prependToArray=function e(t,r){Array.prototype.unshift.apply(t,r)};t.extendObj=function e(t,r){for(var a in r){t[a]=r[a]}};t.getInheritableProperty=function e(t,r,a){while(t&&!t.has(r)){t=t.get("Parent")}if(!t){return null}return a?t.getArray(r):t.get(r)};t.inherit=function e(t,r,a){t.prototype=Object.create(r.prototype);t.prototype.constructor=t;for(var i in a){t.prototype[i]=a[i]}};t.loadScript=function e(t,r){var a=document.createElement("script");var i=false;a.setAttribute("src",t);if(r){a.onload=function(){if(!i){r()}i=true}}document.getElementsByTagName("head")[0].appendChild(a)};return t}();var $=function e(){function t(e,t,r,a,i,n){this.viewBox=e;this.scale=t;this.rotation=r;this.offsetX=a;this.offsetY=i;var s=(e[2]+e[0])/2;var o=(e[3]+e[1])/2;var l,c,h,u;r=r%360;r=r<0?r+360:r;switch(r){case 180:l=-1;c=0;h=0;u=1;break;case 90:l=0;c=1;h=1;u=0;break;case 270:l=0;c=-1;h=-1;u=0;break;default:l=1;c=0;h=0;u=-1;break}if(n){h=-h;u=-u}var f,d;var g,v;if(l===0){f=Math.abs(o-e[1])*t+a;d=Math.abs(s-e[0])*t+i;g=Math.abs(e[3]-e[1])*t;v=Math.abs(e[2]-e[0])*t}else{f=Math.abs(s-e[0])*t+a;d=Math.abs(o-e[1])*t+i;g=Math.abs(e[2]-e[0])*t;v=Math.abs(e[3]-e[1])*t}this.transform=[l*t,c*t,h*t,u*t,f-l*t*s-h*t*o,d-c*t*s-u*t*o];this.width=g;this.height=v;this.fontScale=t}t.prototype={clone:function e(r){r=r||{};var a="scale"in r?r.scale:this.scale;var i="rotation"in r?r.rotation:this.rotation;return new t(this.viewBox.slice(),a,i,this.offsetX,this.offsetY,r.dontFlip)},convertToViewportPoint:function e(t,r){return Q.applyTransform([t,r],this.transform)},convertToViewportRectangle:function e(t){var r=Q.applyTransform([t[0],t[1]],this.transform);var a=Q.applyTransform([t[2],t[3]],this.transform);return[r[0],r[1],a[0],a[1]]},convertToPdfPoint:function e(t,r){return Q.applyInverseTransform([t,r],this.transform)}};return t}();var ee=[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 te(e){var t,r=e.length,a=[];if(e[0]==="þ"&&e[1]==="ÿ"){for(t=2;t<r;t+=2){a.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)))}}else{for(t=0;t<r;++t){var i=ee[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}}return a.join("")}function re(e){return decodeURIComponent(escape(e))}function ae(e){return unescape(encodeURIComponent(e))}function ie(e){for(var t in e){return false}return true}function ne(e){return typeof e==="boolean"}function se(e){return typeof e==="number"&&(e|0)===e}function oe(e){return typeof e==="number"}function le(e){return typeof e==="string"}function ce(e){return e instanceof Array}function he(e){return typeof e==="object"&&e!==null&&e.byteLength!==undefined}function ue(e){return e===32||e===9||e===13||e===10}function fe(){var e={};e.promise=new Promise(function(t,r){e.resolve=t;e.reject=r});return e}(function e(){if(t.Promise){if(typeof t.Promise.all!=="function"){t.Promise.all=function(e){var r=0,a=[],i,n;var s=new t.Promise(function(e,t){i=e;n=t});e.forEach(function(e,t){r++;e.then(function(e){a[t]=e;r--;if(r===0){i(a)}},n)});if(r===0){i(a)}return s}}if(typeof t.Promise.resolve!=="function"){t.Promise.resolve=function(e){return new t.Promise(function(t){t(e)})}}if(typeof t.Promise.reject!=="function"){t.Promise.reject=function(e){return new t.Promise(function(t,r){r(e)})}}if(typeof t.Promise.prototype.catch!=="function"){t.Promise.prototype.catch=function(e){return t.Promise.prototype.then(undefined,e)}}return}var r=0;var a=1;var i=2;var n=500;var s={handlers:[],running:false,unhandledRejections:[],pendingRejectionCheck:false,scheduleHandlers:function e(t){if(t._status===r){return}this.handlers=this.handlers.concat(t._handlers);t._handlers=[];if(this.running){return}this.running=true;setTimeout(this.runHandlers.bind(this),0)},runHandlers:function e(){var t=1;var r=Date.now()+t;while(this.handlers.length>0){var n=this.handlers.shift();var s=n.thisPromise._status;var o=n.thisPromise._value;try{if(s===a){if(typeof n.onResolve==="function"){o=n.onResolve(o)}}else if(typeof n.onReject==="function"){o=n.onReject(o);s=a;if(n.thisPromise._unhandledRejection){this.removeUnhandeledRejection(n.thisPromise)}}}catch(e){s=i;o=e}n.nextPromise._updateStatus(s,o);if(Date.now()>=r){break}}if(this.handlers.length>0){setTimeout(this.runHandlers.bind(this),0);return}this.running=false},addUnhandledRejection:function e(t){this.unhandledRejections.push({promise:t,time:Date.now()});this.scheduleRejectionCheck()},removeUnhandeledRejection:function e(t){t._unhandledRejection=false;for(var r=0;r<this.unhandledRejections.length;r++){if(this.unhandledRejections[r].promise===t){this.unhandledRejections.splice(r);r--}}},scheduleRejectionCheck:function e(){if(this.pendingRejectionCheck){return}this.pendingRejectionCheck=true;setTimeout(function e(){this.pendingRejectionCheck=false;var t=Date.now();for(var r=0;r<this.unhandledRejections.length;r++){if(t-this.unhandledRejections[r].time>n){var a=this.unhandledRejections[r].promise._value;var i="Unhandled rejection: "+a;if(a.stack){i+="\n"+a.stack}m(i);this.unhandledRejections.splice(r);r--}}if(this.unhandledRejections.length){this.scheduleRejectionCheck()}}.bind(this),n)}};var o=function e(t){this._status=r;this._handlers=[];try{t.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(e){this._reject(e)}};o.all=function e(t){var r,a;var n=new o(function(e,t){r=e;a=t});var s=t.length;var l=[];if(s===0){r(l);return n}function c(e){if(n._status===i){return}l=[];a(e)}for(var h=0,u=t.length;h<u;++h){var f=t[h];var d=function(e){return function(t){if(n._status===i){return}l[e]=t;s--;if(s===0){r(l)}}}(h);if(o.isPromise(f)){f.then(d,c)}else{d(f)}}return n};o.isPromise=function e(t){return t&&typeof t.then==="function"};o.resolve=function e(t){return new o(function(e){e(t)})};o.reject=function e(t){return new o(function(e,r){r(t)})};o.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function e(t,r){if(this._status===a||this._status===i){return}if(t===a&&o.isPromise(r)){r.then(this._updateStatus.bind(this,a),this._updateStatus.bind(this,i));return}this._status=t;this._value=r;if(t===i&&this._handlers.length===0){this._unhandledRejection=true;s.addUnhandledRejection(this)}s.scheduleHandlers(this)},_resolve:function e(t){this._updateStatus(a,t)},_reject:function e(t){this._updateStatus(i,t)},then:function e(t,r){var a=new o(function(e,t){this.resolve=e;this.reject=t});this._handlers.push({thisPromise:this,onResolve:t,onReject:r,nextPromise:a});s.scheduleHandlers(this);return a},catch:function e(t){return this.then(undefined,t)}};t.Promise=o})();(function e(){if(t.WeakMap){return}var r=0;function a(){this.id="$weakmap"+r++}a.prototype={has:function(e){return!!Object.getOwnPropertyDescriptor(e,this.id)},get:function(e,t){return this.has(e)?e[this.id]:t},set:function(e,t){Object.defineProperty(e,this.id,{value:t,enumerable:false,configurable:true})},delete:function(e){delete e[this.id]}};t.WeakMap=a})();var de=function e(){function t(e,t,r){while(e.length<r){e+=t}return e}function r(){this.started=Object.create(null);this.times=[];this.enabled=true}r.prototype={time:function e(t){if(!this.enabled){return}if(t in this.started){m("Timer is already running for "+t)}this.started[t]=Date.now()},timeEnd:function e(t){if(!this.enabled){return}if(!(t in this.started)){m("Timer has not been started for "+t)}this.times.push({name:t,start:this.started[t],end:Date.now()});delete this.started[t]},toString:function e(){var r,a;var i=this.times;var n="";var s=0;for(r=0,a=i.length;r<a;++r){var o=i[r]["name"];if(o.length>s){s=o.length}}for(r=0,a=i.length;r<a;++r){var l=i[r];var c=l.end-l.start;n+=t(l["name"]," ",s)+" "+c+"ms\n"}return n}};return r}();var ge=function e(t,r){if(typeof Blob!=="undefined"){return new Blob([t],{type:r})}m('The "Blob" constructor is not supported.')};var ve=function e(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return function e(r,a,i){if(!i&&typeof URL!=="undefined"&&URL.createObjectURL){var n=ge(r,a);return URL.createObjectURL(n)}var s="data:"+a+";base64,";for(var o=0,l=r.length;o<l;o+=3){var c=r[o]&255;var h=r[o+1]&255;var u=r[o+2]&255;var f=c>>2,d=(c&3)<<4|h>>4;var g=o+1<l?(h&15)<<2|u>>6:64;var v=o+2<l?u&63:64;s+=t[f]+t[d]+t[g]+t[v]}return s}}();function pe(e,t,r){this.sourceName=e;this.targetName=t;this.comObj=r;this.callbackIndex=1;this.postMessageTransfers=true;var a=this.callbacksCapabilities=Object.create(null);var i=this.actionHandler=Object.create(null);this._onComObjOnMessage=function e(t){var n=t.data;if(n.targetName!==this.sourceName){return}if(n.isReply){var s=n.callbackId;if(n.callbackId in a){var o=a[s];delete a[s];if("error"in n){o.reject(n.error)}else{o.resolve(n.data)}}else{y("Cannot resolve callback "+s)}}else if(n.action in i){var l=i[n.action];if(n.callbackId){var c=this.sourceName;var h=n.sourceName;Promise.resolve().then(function(){return l[0].call(l[1],n.data)}).then(function(e){r.postMessage({sourceName:c,targetName:h,isReply:true,callbackId:n.callbackId,data:e})},function(e){if(e instanceof Error){e=e+""}r.postMessage({sourceName:c,targetName:h,isReply:true,callbackId:n.callbackId,error:e})})}else{l[0].call(l[1],n.data)}}else{y("Unknown action from worker: "+n.action)}}.bind(this);r.addEventListener("message",this._onComObjOnMessage)}pe.prototype={on:function e(t,r,a){var i=this.actionHandler;if(i[t]){y('There is already an actionName called "'+t+'"')}i[t]=[r,a]},send:function e(t,r,a){var i={sourceName:this.sourceName,targetName:this.targetName,action:t,data:r};this.postMessage(i,a)},sendWithPromise:function e(t,r,a){var i=this.callbackIndex++;var n={sourceName:this.sourceName,targetName:this.targetName,action:t,data:r,callbackId:i};var s=fe();this.callbacksCapabilities[i]=s;try{this.postMessage(n,a)}catch(e){s.reject(e)}return s.promise},postMessage:function(e,t){if(t&&this.postMessageTransfers){this.comObj.postMessage(e,t)}else{this.comObj.postMessage(e)}},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}};function me(e,t,r){var a=new Image;a.onload=function t(){r.resolve(e,a)};a.onerror=function t(){r.resolve(e,null);m("Error during JPEG image loading")};a.src=t}(function e(t){var r=false;try{if(typeof URL==="function"&&typeof URL.prototype==="object"&&"origin"in URL.prototype){var a=new URL("b","http://a");a.pathname="c%20d";r=a.href==="http://a/c%20d"}}catch(e){}if(r){return}var i=Object.create(null);i["ftp"]=21;i["file"]=0;i["gopher"]=70;i["http"]=80;i["https"]=443;i["ws"]=80;i["wss"]=443;var n=Object.create(null);n["%2e"]=".";n[".%2e"]="..";n["%2e."]="..";n["%2e%2e"]="..";function s(e){return i[e]!==undefined}function o(){v.call(this);this._isInvalid=true}function l(e){if(e===""){o.call(this)}return e.toLowerCase()}function c(e){var t=e.charCodeAt(0);if(t>32&&t<127&&[34,35,60,62,63,96].indexOf(t)===-1){return e}return encodeURIComponent(e)}function h(e){var t=e.charCodeAt(0);if(t>32&&t<127&&[34,35,60,62,96].indexOf(t)===-1){return e}return encodeURIComponent(e)}var u,f=/[a-zA-Z]/,d=/[a-zA-Z0-9\+\-\.]/;function g(e,t,r){function a(e){y.push(e)}var g=t||"scheme start",v=0,p="",m=false,b=false,y=[];e:while((e[v-1]!==u||v===0)&&!this._isInvalid){var k=e[v];switch(g){case"scheme start":if(k&&f.test(k)){p+=k.toLowerCase();g="scheme"}else if(!t){p="";g="no scheme";continue}else{a("Invalid scheme.");break e}break;case"scheme":if(k&&d.test(k)){p+=k.toLowerCase()}else if(k===":"){this._scheme=p;p="";if(t){break e}if(s(this._scheme)){this._isRelative=true}if(this._scheme==="file"){g="relative"}else if(this._isRelative&&r&&r._scheme===this._scheme){g="relative or authority"}else if(this._isRelative){g="authority first slash"}else{g="scheme data"}}else if(!t){p="";v=0;g="no scheme";continue}else if(u===k){break e}else{a("Code point not allowed in scheme: "+k);break e}break;case"scheme data":if(k==="?"){this._query="?";g="query"}else if(k==="#"){this._fragment="#";g="fragment"}else{if(u!==k&&"\t"!==k&&"\n"!==k&&"\r"!==k){this._schemeData+=c(k)}}break;case"no scheme":if(!r||!s(r._scheme)){a("Missing scheme.");o.call(this)}else{g="relative";continue}break;case"relative or authority":if(k==="/"&&e[v+1]==="/"){g="authority ignore slashes"}else{a("Expected /, got: "+k);g="relative";continue}break;case"relative":this._isRelative=true;if("file"!==this._scheme){this._scheme=r._scheme}if(u===k){this._host=r._host;this._port=r._port;this._path=r._path.slice();this._query=r._query;this._username=r._username;this._password=r._password;break e}else if(k==="/"||k==="\\"){if(k==="\\"){a("\\ is an invalid code point.")}g="relative slash"}else if(k==="?"){this._host=r._host;this._port=r._port;this._path=r._path.slice();this._query="?";this._username=r._username;this._password=r._password;g="query"}else if(k==="#"){this._host=r._host;this._port=r._port;this._path=r._path.slice();this._query=r._query;this._fragment="#";this._username=r._username;this._password=r._password;g="fragment"}else{var w=e[v+1];var C=e[v+2];if("file"!==this._scheme||!f.test(k)||w!==":"&&w!=="|"||u!==C&&"/"!==C&&"\\"!==C&&"?"!==C&&"#"!==C){this._host=r._host;this._port=r._port;this._username=r._username;this._password=r._password;this._path=r._path.slice();this._path.pop()}g="relative path";continue}break;case"relative slash":if(k==="/"||k==="\\"){if(k==="\\"){a("\\ is an invalid code point.")}if(this._scheme==="file"){g="file host"}else{g="authority ignore slashes"}}else{if("file"!==this._scheme){this._host=r._host;this._port=r._port;this._username=r._username;this._password=r._password}g="relative path";continue}break;case"authority first slash":if(k==="/"){g="authority second slash"}else{a("Expected '/', got: "+k);g="authority ignore slashes";continue}break;case"authority second slash":g="authority ignore slashes";if("/"!==k){a("Expected '/', got: "+k);continue}break;case"authority ignore slashes":if("/"!==k&&"\\"!==k){g="authority";continue}else{a("Expected authority, got: "+k)}break;case"authority":if(k==="@"){if(m){a("@ already seen.");p+="%40"}m=true;for(var x=0;x<p.length;x++){var S=p[x];if(S==="\t"||S==="\n"||S==="\r"){a("Invalid whitespace in authority.");continue}if(S===":"&&this._password===null){this._password="";continue}var A=c(S);if(null!==this._password){this._password+=A}else{this._username+=A}}p=""}else if(k===u||k==="/"||k==="\\"||k==="?"||k==="#"){v-=p.length;p="";g="host";continue}else{p+=k}break;case"file host":if(k===u||k==="/"||k==="\\"||k==="?"||k==="#"){if(p.length===2&&f.test(p[0])&&(p[1]===":"||p[1]==="|")){g="relative path"}else if(p.length===0){g="relative path start"}else{this._host=l.call(this,p);p="";g="relative path start"}continue}else if(k==="\t"||k==="\n"||k==="\r"){a("Invalid whitespace in file host.")}else{p+=k}break;case"host":case"hostname":if(k===":"&&!b){this._host=l.call(this,p);p="";g="port";if(t==="hostname"){break e}}else if(k===u||k==="/"||k==="\\"||k==="?"||k==="#"){this._host=l.call(this,p);p="";g="relative path start";if(t){break e}continue}else if("\t"!==k&&"\n"!==k&&"\r"!==k){if(k==="["){b=true}else if(k==="]"){b=false}p+=k}else{a("Invalid code point in host/hostname: "+k)}break;case"port":if(/[0-9]/.test(k)){p+=k}else if(k===u||k==="/"||k==="\\"||k==="?"||k==="#"||t){if(""!==p){var I=parseInt(p,10);if(I!==i[this._scheme]){this._port=I+""}p=""}if(t){break e}g="relative path start";continue}else if(k==="\t"||k==="\n"||k==="\r"){a("Invalid code point in port: "+k)}else{o.call(this)}break;case"relative path start":if(k==="\\"){a("'\\' not allowed in path.")}g="relative path";if("/"!==k&&"\\"!==k){continue}break;case"relative path":if(k===u||k==="/"||k==="\\"||!t&&(k==="?"||k==="#")){if(k==="\\"){a("\\ not allowed in relative path.")}var B;if(B=n[p.toLowerCase()]){p=B}if(p===".."){this._path.pop();if("/"!==k&&"\\"!==k){this._path.push("")}}else if(p==="."&&"/"!==k&&"\\"!==k){this._path.push("")}else if("."!==p){if(this._scheme==="file"&&this._path.length===0&&p.length===2&&f.test(p[0])&&p[1]==="|"){p